]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
* breakpoint.c (update_watchpoint): Do not attempt to recreate
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b800ec70
UW
12011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2
3 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
4 (skip_hw_watchpoint_tests): Likewise.
5 (skip_hw_watchpoint_multi_tests): Likewise.
6 (skip_hw_watchpoint_access_tests): Likewise.
7
8 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
9 * gdb.base/pr11022.exp: Likewise.
10 * gdb.base/watch-read.exp: Likewise.
11 * gdb.base/watch_thread_num.exp: Likewise.
12 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
13 * gdb.base/watchpoint-hw.exp: Likewise.
14 * gdb.base/watchpoint.exp: Likewise.
15 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
16 * gdb.threads/watchthreads-reorder.exp: Likewise.
17 * gdb.threads/watchthreads.exp: Likewise.
18 * gdb.threads/watchthreads2.exp: Likewise.
19
91033e37
JB
202011-02-21 Joel Brobecker <brobecker@adacore.com>
21
22 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
23 the debugger is unable to find the array bounds.
24
eeaafae2
JK
252011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
26
27 * gdb.cp/typedef-operator.exp: New file.
28 * gdb.cp/typedef-operator.cc: New file.
29
e338d953
MS
302011-02-17 Michael Snyder <msnyder@vmware.com>
31
32 * gdb.threads/thread-find.exp: Fix regular expressions.
33
e67ad678
JB
342011-02-17 Joel Brobecker <brobecker@adacore.com>
35
36 * gdb.ada/packed_array: Expand testcase to test printing of
37 unconstrained packed array.
38
93084bca
JB
392011-02-17 Joel Brobecker <brobecker@adacore.com>
40
41 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
42
a0c78a73
PA
432011-02-16 Pedro Alves <pedro@codesourcery.com>
44
f65d5553 45 * gdb.trace/collection.c (globalarr3): New global.
a0c78a73
PA
46 (main): Initialize it before collecting, and and clear it
47 afterwards.
f65d5553
PA
48 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
49 collecting with '{type} addr', where the addr expression is not an
50 rvalue.
a0c78a73 51
3dfcbbd2
KW
522011-02-16 Ken Werner <ken.werner@de.ibm.com>
53
54 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
55 a bool variable. Expect correct OpenCL names for vector types. Use the
56 uc3 variable name instead of referring to the uchar3 built-in type.
57 Escape the asterisk at the half pointer test.
58
08807d5a
PA
592011-02-16 Pedro Alves <pedro@codesourcery.com>
60
f65d5553 61 * gdb.trace/collection.c (globalarr2): New global.
08807d5a
PA
62 (main): Initialize it before collecting, and and clear it
63 afterwards.
f65d5553
PA
64 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
65 collecting overlapping memory ranges.
08807d5a 66
60f98dde
MS
672011-02-15 Michael Snyder <msnyder@vmware.com>
68
69 * gdb.base/default.exp: Add tests for thread commands.
70 * gdb.base/help.exp: Add tests for thread commands.
71 * gdb.threads/thread-find.exp: New test for thread find command.
72
648cd113
KW
732011-02-15 Ken Werner <ken.werner@de.ibm.com>
74
75 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
76
494e194e
YQ
772011-02-15 Yao Qi <yao@codesourcery.com>
78
79 PR tdep/12352
80 * gdb.arch/arm-disp-step.S : New test for str instruction.
81 * gdb.arch/arm-disp-step.exp : Likewise.
82
d9492458
TJB
832011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
84
85 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
86 "vector_register2_vr" test strings. Test the extended floating
87 point registers (F32~F63).
88 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
89 IBM XL C compiler. Make the test program use a register provided
90 by the compiler for the lxvd2x instruction.
91
8af8e3bc
PA
922011-02-14 Pedro Alves <pedro@codesourcery.com>
93
94 * gdb.trace/unavailable.cc (class Base, class Middle, class
95 Derived): New types.
96 (derived_unavail, derived_partial, derived_whole): New globals.
97 (virtual_partial): New global.
98 (virtualp): Point at virtual_partial.
99 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
100 related to unavailable vptr.
101
1b28d0b3
PA
1022011-02-14 Pedro Alves <pedro@codesourcery.com>
103
104 * gdb.trace/unavailable.cc (a, b, c): New globals.
105 (main): Set and clear them.
106 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
107 `a' and `c', and check that `b' isn't collected, although `a' and
108 `c' are.
109
ec0a52e1
PA
1102011-02-14 Pedro Alves <pedro@codesourcery.com>
111
112 * gdb.trace/unavailable.cc (struct Virtual): New.
113 (virtualp): New global pointer.
114 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
115 printing a pointer to an object whose type has a vtable, with
116 print object on.
117
24e6bcee
PA
1182011-02-14 Pedro Alves <pedro@codesourcery.com>
119
120 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
121 value repeat handles unavailableness.
122
39d37385
PA
1232011-02-14 Pedro Alves <pedro@codesourcery.com>
124
125 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
126 tests for building arrays from unavailable values, subscripting
127 non-memory rvalue unvailable arrays, and accessing fields or
128 baseclasses of non-lazy unavailable values,
129 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
130 struct types.
131 (g_smallstruct, g_smallstruct_b): New globals.
132
06d72e16
PA
1332011-02-14 Pedro Alves <pedro@codesourcery.com>
134
135 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
136
bc9a5551
JK
1372011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
138
139 Fix const/volatile qualifiers of C++ types, PR c++/12328.
140 * gdb.cp/overload-const.exp: New file.
141 * gdb.cp/overload-const.cc: New file.
142
54fcddd0
UW
1432011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
144
145 * gdb.opencl/callfuncs.cl: New file.
146 * gdb.opencl/callfuncs.exp: New test.
147 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
148
d6dafb7c
UW
1492011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
150
151 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
152 when computing result.
153 * gdb.arch/altivec-abi.exp: Update expected results.
154
a449c2d8
TJB
1552011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
156
157 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
158 * gdb.base/jit.exp: Likewise.
159 * gdb.base/pie-execl.exp: Likewise.
160 * gdb.base/solib-nodir.exp: Likewise.
161 * gdb.base/solib-overlap.exp: Likewise.
162
764880b7
PA
1632011-02-07 Pedro Alves <pedro@codesourcery.com>
164
165 * gdb.trace/collection.c (global_pieces): New.
166 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
167 New procedure.
168 (gdb_trace_collection_test): Call it.
169
505500db
SW
1702011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
171
172 * gdb.python/py-evthreads.c: New file.
173 * gdb.python/py-evthreads.exp: New file.
174 * gdb.python/py-events.py: New file.
175 * gdb.python/py-events.exp: New file.
176 * gdb.python/py-events.c: New file.
177
385203ed
DD
1782011-02-04 David Daney <ddaney@caviumnetworks.com>
179
180 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
181
9011945e
AB
1822011-02-03 Andrew Burgess <aburgess@broadcom.com>
183
184 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
185 gdb.base/disasm-end-cu.exp: New test for disassembling over the
186 boundary between two compilation units.
187
580688f3
PA
1882011-02-02 Pedro Alves <pedro@codesourcery.com>
189
190 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
191 (Virtual): New structs.
192 (virtual_o, virtual_middle_b): New globals.
193 * gdb.cp/virtbase.exp: New tests.
194
d3f0f853
PP
1952011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
196
197 * gdb.base/jit.exp: New file.
198 * gdb.base/jit-main.c: New file.
199 * gdb.base/jit-solib.c: New file.
200
b2030fb5
UW
2012011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
202
203 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
204 proceed to initial kernel entry point.
205 * gdb.opencl/datatypes.exp: Likewise.
206 * gdb.opencl/operators.exp: Likewise.
207 * gdb.opencl/vec_comps.exp: Likewise.
208
2db19d1e
SW
2092011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
210
211 * gdb.cp/nsnested.cc: New.
212 * gdb.cp/nsnested.exp: New.
213 * gdb.cp/nsnoimports.exp: New.
214 * gdb.cp/nsnoimports.cc: New.
215
6b0c4c1f
JB
2162011-01-31 Joel Brobecker <brobecker@adacore.com>
217
218 * gdb.base/interact.exp: Add extra tests that verify that
219 the value of the interactive-mode setting does not change
220 after the script is sourced.
221
80b23b6a
JK
2222011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
223
224 * gdb.cp/noparam.exp: New file.
225 * gdb.cp/noparam.cc: New file.
226
ffd5ec24
PA
2272011-01-28 Pedro Alves <pedro@codesourcery.com>
228
229 * gdb.trace/tfile.exp: Test that with no traceframe selected,
230 there's no stack or registers.
231
a81766d8
TT
2322011-01-26 Tom Tromey <tromey@redhat.com>
233
234 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
235 space before string output. Add test for "set print pretty off"
236 case.
237
585fdaa1
PA
2382011-01-25 Pedro Alves <pedro@codesourcery.com>
239
240 * gdb.base/frame-args.exp: Adjust.
241 * gdb.dwarf2/dw2-noloc.exp: Adjust.
242 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
243 * gdb.dwarf2/pieces.exp: Adjust.
244 * gdb.opt/clobbered-registers-O2.exp: Adjust.
245 * gdb.opt/inline-locals.exp: Adjust.
246 * gdb.threads/fork-child-threads.exp: Adjust.
247
d468832a
KW
2482011-01-25 Ken Werner <ken.werner@de.ibm.com>
249
250 * gdb.opencl/convs_casts.cl: Move program scope variables into the
251 OpenCL kernel function. Add a comment as marker. Add address space
252 qualifiers for the remaining program scope variables.
253 * gdb.opencl/datatypes.cl: Likewise.
254 * gdb.opencl/operators.cl: Likewise.
255 * gdb.opencl/vec_comps.cl: Likewise.
256 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
257 Add breakpoint at the marker comment.
258 * gdb.opencl/datatypes.exp: Likewise.
259 * gdb.opencl/operators.exp: Likewise.
260 * gdb.opencl/vec_comps.exp: Likewise.
261
490f124f
PA
2622011-01-24 Pedro Alves <pedro@codesourcery.com>
263
264 * gdb.base/printcmds.c (some_struct): New struct and instance.
265 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
266 procedure.
267 <global scope>: Call it.
268
6da78614
KW
2692011-01-21 Ken Werner <ken.werner@de.ibm.com>
270
271 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
272 argument to the gdb_compile_opencl_hostapp call.
273
ec64c9aa
YQ
2742011-01-19 Yao Qi <yao@codesourcery.com>
275
276 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
277 positve list.
278
810cfdbb
YQ
2792011-01-19 Yao Qi <yao@codesourcery.com>
280
281 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
282 canonical form.
283 Remove "xscale-*-*"
284 * gdb.xml/tdesc-regs.exp: Likewise.
285 * gdb.python/py-section-script.exp: Replace ARM target triplet
286 with canonical form.
287 Match arm*-*-symbianelf*.
288 * gdb.base/dup-sect.exp: Likewise.
289 * lib/dwarf.exp: New.
290 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
291 dwarf2_support.
292 * gdb.dwarf2/dup-psym.exp: Likewise.
293 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
294 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
295 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
296 * gdb.dwarf2/dw2-basic.exp: Likewise.
297 * gdb.dwarf2/dw2-compressed.exp: Likewise.
298 * gdb.dwarf2/dw2-const.exp: Likewise.
299 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
300 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
301 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
302 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
303 * gdb.dwarf2/dw2-filename.exp: Likewise.
304 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
305 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
306 * gdb.dwarf2/dw2-intercu.exp: Likewise.
307 * gdb.dwarf2/dw2-intermix.exp: Likewise.
308 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
309 * gdb.dwarf2/dw2-noloc.exp: Likewise.
310 * gdb.dwarf2/dw2-op-call.exp: Likewise.
311 * gdb.dwarf2/dw2-producer.exp: Likewise.
312 * gdb.dwarf2/dw2-ranges.exp: Likewise.
313 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
314 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
315 * gdb.dwarf2/dw2-strp.exp: Likewise.
316 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
317 * gdb.dwarf2/implptr.exp: Likewise.
318 * gdb.dwarf2/mac-fileno.exp: Likewise.
319 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
320 * gdb.dwarf2/pieces.exp: Likewise.
321 * gdb.dwarf2/pr11465.exp: Likewise.
322 * gdb.dwarf2/valop.exp: Likewise.
323 * gdb.dwarf2/watch-notconst.exp: Likewise.
324 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
325
4694da01
TT
3262011-01-19 Tom Tromey <tromey@redhat.com>
327
328 * gdb.python/py-infthread.exp: Add thread tests.
329
b075872c
JB
3302011-01-14 Joel Brobecker <brobecker@adacore.com>
331
332 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
333
2c3e6e24
JB
3342011-01-14 Joel Brobecker <brobecker@adacore.com>
335
336 * gdb.ada/widewide: New testcase.
337
de8fa76c
JB
3382011-01-13 Joel Brobecker <brobecker@adacore.com>
339
340 * gdb.base/interact.exp: New testcase.
341
1b05df00
TT
3422011-01-12 Tom Tromey <tromey@redhat.com>
343
344 * gdb.mi/gdb2549.exp: Update for error message changes.
345 * gdb.mi/mi-cli.exp: Likewise.
346 * gdb.mi/mi-disassemble.exp: Likewise.
347 * gdb.mi/mi-pthreads.exp: Likewise.
348 * gdb.mi/mi-regs.exp: Likewise.
349 * gdb.mi/mi-stack.exp: Likewise.
350 * gdb.mi/mi-var-block.exp: Likewise.
351 * gdb.mi/mi-var-cmd.exp: Likewise.
352 * gdb.mi/mi2-cli.exp: Likewise.
353 * gdb.mi/mi2-disassemble.exp: Likewise.
354 * gdb.mi/mi2-pthreads.exp: Likewise.
355 * gdb.mi/mi2-regs.exp: Likewise.
356 * gdb.mi/mi2-stack.exp: Likewise.
357 * gdb.mi/mi2-var-block.exp: Likewise.
358 * gdb.mi/mi2-var-cmd.exp: Likewise.
359
c2ff108b
JK
3602011-01-12 Andrew Burgess <aburgess@broadcom.com>
361 Jan Kratochvil <jan.kratochvil@redhat.com>
362
363 PR fortran/11104 and DWARF unbound arrays detection.
364 * gdb.fortran/multi-dim.exp: New file.
365 * gdb.fortran/multi-dim.f90: New file.
366
b716877b
AB
3672011-01-12 Andrew Burgess <aburgess@broadcom.com>
368
369 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
370 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
371 add new tests for opcode dumping.
372
6c162d5e
TT
3732011-01-11 Tom Tromey <tromey@redhat.com>
374
375 * gdb.python/py-infthread.exp: Load gdb-python.exp.
376
77b06cd7
TJB
3772010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
378
379 Convert hardware watchpoints to use breakpoint_ops.
380 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
381 type is not supported.
382 * gdb.base/foll-fork.exp: Likewise.
383 * gdb.base/foll-vfork.exp: Likewise.
384
f39a75d0
PM
3852011-01-10 Phil Muldoon <pmuldoon@redhat.com>
386
387 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
388 Use load_lib gdb-python.exp.
389 * gdb.python/python.exp: Ditto.
390 * gdb.python/py-function.exp: Ditto.
391
fc529d80
AS
3922011-01-09 Andreas Schwab <schwab@linux-m68k.org>
393
394 * gdb.threads/tls.exp ("info address me"): Fix expected output.
395
fb03cb59
JK
3962011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
397
398 * configure: Regenerate.
399
d8e22779
TT
4002011-01-06 Tom Tromey <tromey@redhat.com>
401
402 * gdb.python/py-frame.exp: Test gdb.newest_frame.
403
09050809
JB
4042011-01-06 Joel Brobecker <brobecker@adacore.com>
405
fc529d80
AS
406 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
407 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
408 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
409 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
410 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
411 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
412 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
413 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
414 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
415 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
416 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
417 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
418 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
419 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
420 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
421 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
422 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
423 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
424 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
425 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
426 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
427 gdb.ada/uninitialized_vars.exp,
428 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
429 Simplify by using clean_restart.
09050809 430
8ed5dd9e
JB
4312011-01-06 Joel Brobecker <brobecker@adacore.com>
432
433 Add marker to be used as anchor for inserting breakpoints.
434 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
435 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
436 Likewise.
437
438 Remove uses of gdb_start_cmd.
439 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
440 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
441
442 Do not run testcase if testing with GDBserver.
443 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
444 if testing with GDBserver.
445
368a124f
JB
4462011-01-06 Joel Brobecker <brobecker@adacore.com>
447
448 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
449 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
450 copyright header.
451
44944448
JB
4522011-01-05 Joel Brobecker <brobecker@adacore.com>
453
454 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
455 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
456 testsuite/gdb.fortran/complex.f,
457 testsuite/gdb.fortran/derived-type.f90,
458 testsuite/gdb.fortran/library-module-lib.f90,
459 testsuite/gdb.fortran/library-module-main.f90,
460 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
461 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
462 Copyright year update.
463
31886ea6
JB
4642011-01-05 Joel Brobecker <brobecker@adacore.com>
465
466 * gdb.base/langs1.f: Add copyright header.
467
ebedcab5
JK
4682011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
469
470 * gdb.base/morestack.exp: New file.
471 * gdb.base/morestack.c: New file.
472
de1eb2f9
JK
4732011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
474
475 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
476
9e87a409
JB
4772010-12-29 Joel Brobecker <brobecker@adacore.com>
478
479 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
480 * gdb.ada/arrayptr.exp: Add test printing that new variable.
481
720d1a40
JB
4822010-12-29 Joel Brobecker <brobecker@adacore.com>
483
484 * gdb.ada/lang_switch.exp: Correct expected parameter value.
485
a283af87
AS
4862010-12-25 Andreas Schwab <schwab@linux-m68k.org>
487
5d3d9cba
AS
488 * gdb.threads/tls.exp: Fix typo.
489
a283af87
AS
490 * gdb.threads/thread-specific.exp (get_thread_list): Update.
491 * gdb.threads/execl.exp: Update.
492
2a20745c
YQ
4932010-12-23 Yao Qi <yao@codesourcery.com>
494
495 * gdb.arch/arm-disp-step.exp: New.
496 * gdb.arch/arm-disp-step.S: New.
497
a7658b96
TT
4982010-12-21 Tom Tromey <tromey@redhat.com>
499
500 * gdb.threads/execl.exp: Update.
501 * gdb.threads/linux-dp.exp: Update.
502 * gdb.threads/manythreads.exp: Update.
503 * gdb.threads/tls.exp: Update.
504
5b79abe7
TT
5052010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
506
507 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
508 (NextOverThrowDerivates) <resumebpt>: New.
509 (resumebpt_test): New.
510 (main): Call resumebpt_test.
511 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
512
0914bcdb
SS
5132010-12-12 Stan Shebs <stan@codesourcery.com>
514
515 * gdb.trace/tsv.exp: Test print command on trace state variables.
516
305aeedc
TT
5172010-12-09 Tom Tromey <tromey@redhat.com>
518
519 * gdb.base/interp.exp: Add regression test.
520
186c406b
TT
5212010-12-09 Tom Tromey <tromey@redhat.com>
522
523 * gdb.java/jnpe.java: New file.
524 * gdb.java/jnpe.exp: New file.
525 * gdb.cp/nextoverthrow.exp: New file.
526 * gdb.cp/nextoverthrow.cc: New file.
527
aae1c79a
DE
5282010-12-07 Doug Evans <dje@google.com>
529
530 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
531 of data-directory.
532 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
533 updated.
534 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
535
60f98dde 5362010-11-29 Michael Snyder <msnyder@vmware.com>
d426f7b4
MS
537
538 * gdb.base/callfuncs.exp: Test for skip_float_tests.
539 * gdb.base/call-sc.exp: Ditto.
540 * gdb.base/finish.exp: Ditto.
541 * gdb.base/return.exp: Ditto.
542 * gdb.base/return2.exp: Ditto.
543
5fa290c1
DE
5442010-11-30 Doug Evans <dje@google.com>
545
546 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
547 (gdb_expect_list): Fix spelling errors in comments.
548 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
549 send_gdb/gdb_expect_list where applicable.
550 * gdb.base/call-ar-st.exp: Ditto.
551 * gdb.base/funcargs.exp: Ditto.
552 * gdb.base/gcore.exp: Ditto.
553 * gdb.base/page.exp: Ditto.
554 * gdb.base/sigaltstack.exp: Ditto.
555 * gdb.base/siginfo.exp: Ditto.
556 * gdb.base/sigstep.exp: Ditto.
557 * gdb.base/trace-commands.exp: Ditto.
558
4e04c971
DE
5592010-11-29 Doug Evans <dje@google.com>
560
561 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
562 printer-name;subprinter-name.
563
8cf6f0b1
TT
5642010-11-29 Tom Tromey <tromey@redhat.com>
565
566 * gdb.dwarf2/implptr.exp: New file.
567 * gdb.dwarf2/implptr.c: New file.
568 * gdb.dwarf2/implptr.S: New file.
569
94b6973e
PM
5702010-11-29 Phil Muldoon <pmuldoon@redhat.com>
571
fc529d80 572 PR python/12199
94b6973e
PM
573
574 * gdb.python/py-breakpoint.exp: Test the delete method.
575
8358c15c
JK
5762010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
577
578 Fix step_resume_breakpoint unsaved during an infcall.
579 * gdb.base/step-resume-infcall.exp: New file.
580 * gdb.base/step-resume-infcall.c: New file.
581
f6df29bc
TJB
5822010-11-24 Edjunior Machado <emachado@br.ibm.com>
583
584 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
585
f2b5a5cf
TJB
5862010-11-24 Edjunior Machado <emachado@br.ibm.com>
587
588 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
589 on ppc64's symbols; "finish" and "return" commands must accept to
590 show the caller line again as well as the line after.
591 * gdb.asm/powerpc64.inc: New file.
592
6b0ecdc2
DE
5932010-11-23 Doug Evans <dje@google.com>
594
595 * lib/gdb.exp (gdb_test_sequence): New function.
596 (gdb_expect_list): Add verbose -log call for each pattern.
597 * gdb.base/signals.exp (test_handle_all_print): Call it.
598 Reduce timeout increment from 6 minutes to 1 minute.
599 * gdb.server/ext-run.exp: Call it.
600
ea976c60
PM
6012010-11-23 Phil Muldoon <pmuldoon@redhat.com>
602
f2b5a5cf 603 PR python/12212
ea976c60
PM
604
605 * gdb.python/python.exp: Check that selected_thread raises an
606 error when no inferior is loaded.
607
c0efa795
JK
6082010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
609
610 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
611 * gdb.dwarf2/dw2-stack-boundary.S: New file.
612
ec3aa567
JK
6132010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
614
615 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
616 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
617
d8249011
DE
6182010-11-18 Doug Evans <dje@google.com>
619
620 * gdb.server/ext-run.exp: Fix intermittent failures.
621
d4eba7d1
NF
6222010-11-12 Nathan Froyd <froydnj@codesourcery.com>
623
624 * gdb.stabs/gdb11479.exp: Use runto_main.
625
b04c2f88
NF
6262010-11-12 Nathan Froyd <froydnj@codesourcery.com>
627
628 * gdb.base/break-entry.exp: Skip if using a stub.
629
ae9d7ce4
NF
6302010-11-12 Nathan Froyd <froydnj@codesourcery.com>
631
632 * gdb.python/py-inferior.exp: Pack values in target endianness.
633
621c8364
TT
6342010-11-12 Tom Tromey <tromey@redhat.com>
635
636 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
637 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
638 MemoryError.
639 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
640 type.
641 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
642 MemoryError.
643 (test_subscript_regression): Update exception type.
644
84f4c1fe
PM
6452010-11-11 Phil Muldoon <pmuldoon@redhat.com>
646
647 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
648 breakpoint tests.
649
a1442452
PA
6502010-11-09 Pedro Alves <pedro@codesourcery.com>
651
652 * gdb.base/watchpoint.exp: Test "watch -location" with an
653 innacessible location.
654
efd11a33
JK
6552010-11-09 Edjunior Machado <emachado@br.ibm.com>
656 Luis Machado <luisgpm@br.ibm.com>
657
658 * gdb.base/maint.exp: Expect "." prefix.
659 * gdb.base/nodebug.exp: Expect "." Likewise.
660 * gdb.base/sepsymtab.exp: Expect "." Likewise.
661 * gdb.base/watchpoint-cond-gone.exp: Likewise.
662 * gdb.base/watchpoint.exp: Expect a software watch to be created for
663 POWER server processors.
664
aa00efb5
JK
6652010-11-08 Edjunior Machado <emachado@br.ibm.com>
666 Luis Machado <luisgpm@br.ibm.com>
667
668 * gdb.base/break-entry.exp: convert entry point for
669 ppc64 and expect leading `.' on ppc64's symbols
670
99e7ae30
DE
6712010-11-05 Doug Evans <dje@google.com>
672
673 * gdb.base/help.exp: Update expected output.
b521dba8
DE
674 * gdb.python/py-param.exp: Delete, contents moved to ...
675 * gdb.python/py-parameter.exp: ... here. New file.
676 Add test for gdb.parameter ("directories").
99e7ae30 677
f4b8a18d
KW
6782010-11-05 Ken Werner <ken.werner@de.ibm.com>
679
680 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
681 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
682 * configure: Regenerate.
683 * gdb.opencl/Makefile.in: New File.
684 * gdb.opencl/datatypes.exp: Likewise.
685 * gdb.opencl/datatypes.cl: Likewise.
686 * gdb.opencl/operators.exp: Likewise.
687 * gdb.opencl/operators.cl: Likewise.
688 * gdb.opencl/vec_comps.exp: Likewise.
689 * gdb.opencl/vec_comps.cl: Likewise.
690 * gdb.opencl/convs_casts.exp: Likewise.
691 * gdb.opencl/convs_casts.cl: Likewise.
692 * lib/opencl.exp: Likewise.
693 * lib/opencl_hostapp.c: Likewise.
694 * lib/opencl_kernel.cl: Likewise.
695 * lib/cl_util.c: Likewise.
696 * lib/cl_util.c: Likewise.
697 * gdb.base/default.exp (set language): Add "opencl" to the list of
698 languages.
699
a9d5ef47
SW
7002010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
701
702 * gdb.cp/overload.exp: Added test for inheritance overload.
703 * gdb.cp/overload.cc: Ditto.
704 * gdb.cp/oranking.exp: Removed releveant kfails.
705
03eb1c79
JK
7062010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
707 Joel Brobecker <brobecker@adacore.com>
708
709 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
710 check test_compiler_info.
711
dbc98a8b
KW
7122010-11-03 Ken Werner <ken.werner@de.ibm.com>
713
714 * gdb.base/gnu_vector.exp: Adjust expect messages.
715
120bd360
KW
7162010-11-03 Ken Werner <ken.werner@de.ibm.com>
717
718 * gdb.base/gnu_vector.exp: Add unary operator tests.
719
c37f7098
KW
7202010-11-03 Ken Werner <ken.werner@de.ibm.com>
721
722 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
723
7b51bc51
DE
7242010-11-02 Doug Evans <dje@google.com>
725
726 * gdb.python/py-pp-maint.c: New file.
727 * gdb.python/py-pp-maint.exp: New file.
728 * gdb.python/py-pp-maint.py: New file.
729
50c97f38
TT
7302010-11-02 Tom Tromey <tromey@redhat.com>
731
732 * gdb.base/default.exp: Remove "scheme" from language list.
733
a289b8f6
JK
7342010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
735
736 Revert:
737 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
738 * gdb.threads/sigstep-threads.exp: New file.
739 * gdb.threads/sigstep-threads.c: New file.
740
cd017491
MS
7412010-10-20 Michael Snyder <msnyder@vmware.com>
742
743 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
744
8e6a5956
UW
7452010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
746
747 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
748 Skip test completely if gdb,no_hardware_watchpoints.
749
2c04da0d
UW
7502010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
751
752 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
753 strict, but do not check for any particular function name within libc.
754
79afc5ef
SW
7552010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
756
757 * gdb.cp/smartp.exp: New test.
758 * gdb.cp/smartp.cc : New test.
759
026ffab7
SW
7602010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
761
762 * gdb.cp/converts.exp: Test pointer to bool conversion.
763 Test pointer to long conversion.
764 * gdb.cp/oranking.exp: Removed relevant kfail.
765
3a772aa4
TT
7662010-10-18 Tom Tromey <tromey@redhat.com>
767
768 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
769 argument to lazy_string.
770 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
771 (pp_ls.to_string): Use it.
772 * gdb.python/py-prettyprint.c (main): Move declarations to top.
773 Add "estring2" local.
774
5fc3827b
JK
7752010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
776
777 Fix s390x compatibility.
778 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
779 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
780
8aeb23f3
JK
7812010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
782
783 * gdb.threads/sigstep-threads.exp: New file.
784 * gdb.threads/sigstep-threads.c: New file.
785
c1e56572
JK
7862010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
787
788 * gdb.base/pie-execl.exp: New file.
789 * gdb.base/pie-execl.c: New file.
790
92163a10
JK
7912010-10-13 Doug Evans <dje@google.com>
792 Jan Kratochvil <jan.kratochvil@redhat.com>
793
794 PR exp/12117
795 * gdb.cp/ptype-cv-cp.cc: New file.
796 * gdb.cp/ptype-cv-cp.exp: New file.
797
7062b0a0
SW
7982010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
799
800 * gdb.cp/converts.cc: New test program.
801 * gdb.cp/converts.exp: New test.
802 * gdb.cp/overload.exp: Added test for void* vs int*.
803 * gdb.cp/overload.exp: Ditto.
804 * gdb.cp/oranking.exp: Removed related kfail.
805
0e3509db
DE
8062010-10-13 Doug Evans <dje@google.com>
807
808 * lib/gdb-python.exp (gdb_check_python_config): New function.
809 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
810 * gdb.python/lib-types.cc: New file.
811 * gdb.python/lib-types.exp: New file.
812
8dc78533
JK
8132010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
814
815 * gdb.python/py-error.exp: New file.
816 * gdb.python/py-error.py: New file.
817
93c17e06
JK
8182010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
819
820 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
821 gdb_test_multiple.
822
d8b34041
JK
8232010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
824
825 * gdb.base/break-interp.exp: Use ldlags for linking flags.
826 * gdb.base/prelink.exp: Likewise.
827 * gdb.base/solib-nodir.exp: Likewise.
828 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
829 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
830 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
831
e0cc584e
UW
8322010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
833
834 * break-interp.exp (test_ld): Use two separate gdb_expect statements
835 for the "info files" test to avoid timeouts on slow machines.
836
cfc353b1
JK
8372010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
838
839 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
840 (main): Make openlib dummy call.
841
d3d7896d
JK
8422010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
843
844 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
845 * break-interp.exp (reach): Move the core body ...
846 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
847 (test_ld): Provide always real argument, even to the linker. Replace
848 dl_main by _dl_debug_state.
849
5e533c94
JK
8502010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
851
852 Fix results of prelinked PIEs on ppc*.
853 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
854 Accept also DISPLACEMENT "PRESENT".
855 (main): Replace "ZERO" displacements by "PRESENT".
856
33540610
SW
8572010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
858
859 * gdb.cp/oranking.exp: New test.
860 * gdb.cp/oranking.cc: New test program.
861
3bdf2bbd
KW
8622010-10-08 Ken Werner <ken.werner@de.ibm.com>
863
864 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
865 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
866
2f608a3a
KW
8672010-10-06 Ken Werner <ken.werner@de.ibm.com>
868
869 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
870 lush, lynx) New constant.
871 * gdb.base/constvars.exp: Test const array types.
872 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
873
aa2e2d8d
DE
8742010-10-06 Doug Evans <dje@google.com>
875
876 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
877 of syscall staging area.
878
2844d6b5
KW
8792010-10-06 Ken Werner <ken.werner@de.ibm.com>
880
881 * gdb.base/gnu_vector.c: Add variable c4.
882 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
883 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
884
7d8ac8bb
MR
8852010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
886
887 * gdb.arch/altivec-abi.exp: Fix a typo.
888
84a02e58
MR
8892010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
890
891 * lib/mi-support.exp (thread_selected_re): Correct pattern used
892 to match a thread ID.
893
b18e6318
JK
8942010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
895
896 Fix s390x testcase compatibility.
897 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
898
a2c09bd0
DE
8992010-10-01 Doug Evans <dje@google.com>
900
901 * lib/gdb-python.exp: New file.
902 * gdb.python/py-block.exp: Use it.
903 * gdb.python/py-breakpoint.exp: Ditto.
904 * gdb.python/py-frame.exp: Ditto.
905 * gdb.python/py-inferior.exp: Ditto.
906 * gdb.python/py-param.exp: Ditto.
907 * gdb.python/py-prettyprint.exp: Ditto.
908 * gdb.python/py-shared.exp: Ditto.
909 * gdb.python/py-symbol.exp: Ditto.
910 * gdb.python/py-symtab.exp: Ditto.
911 * gdb.python/py-type.exp: Ditto.
912 * gdb.python/py-value.exp: Ditto.
913 * gdb.python/python.exp: Ditto.
914
38f12cfc
TT
9152010-09-30 Tom Tromey <tromey@redhat.com>
916
917 * gdb.base/anon.exp: New file.
918 * gdb.base/anon.c: New file.
919
9ae8282d
TT
9202010-09-30 Tom Tromey <tromey@redhat.com>
921
922 * gdb.base/completion.exp: Test completion through anonymous
923 union.
924 * gdb.base/break1.c (struct some_struct): Add anonymous union.
925
e9e07ba6
JK
9262010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
927
928 Fix printing parameters of inlined functions.
929 * gdb.dwarf2/dw2-inline-param.exp: New file.
930 * gdb.dwarf2/dw2-inline-param-main.c: New file.
931 * gdb.dwarf2/dw2-inline-param.S: New file.
932
cd2effb2
JK
9332010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
934
935 PR corefiles/12071.
936 * gdb.base/corefile.exp (quit with a process, no question: load core)
937 (quit with a core file): New tests.
938
bceffbf3
JK
9392010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
940
941 Fix GDB crash on inferior calls with self-referencing classes.
942 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
943 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
944 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
945
1736ad11
JK
9462010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
947
948 Fix lost siginfo_t for inferior calls.
949 * gdb.base/siginfo-infcall.exp: New file.
950 * gdb.base/siginfo-infcall.c: New file.
951
a176ad92
JB
9522010-09-22 Joel Brobecker <brobecker@adacore.com>
953
954 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
955
c2b0a229
JK
9562010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
959 New test.
960 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
961
e8ae22d1
JB
9622010-09-22 Joel Brobecker <brobecker@adacore.com>
963
964 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
965 type of our const type.
966
ec322823
SW
9672010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
968
969 * gdb.cp/pr12028.cc: New.
970 * gdb.cp/pr12028.exp: New.
971
72929c62
JB
9722010-09-22 Joel Brobecker <brobecker@adacore.com>
973
974 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
975
875b4ff5 9762010-09-16 Phil Muldoon <pmuldoon@redhat.com>
fc529d80 977 Jan Kratochvil <jan.kratochvil@redhat.com>
875b4ff5
PM
978
979 PR mi/11407
980 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
981 * gdb.mi/dw2-ref-missing-frame-main.c New File.
982 * gdb.mi/dw2-ref-missing-frame.S New File.
983 * gdb.mi/dw2-ref-missing-frame.exp New File.
984
7155d578
TT
9852010-09-14 Tom Tromey <tromey@redhat.com>
986
987 PR symtab/8399:
988 * gdb.threads/tls.exp: Remove kfail. Update expected output.
989
515ed532
TT
9902010-09-14 Tom Tromey <tromey@redhat.com>
991
992 PR exp/11803:
993 * gdb.threads/tls.exp: Use C++.
994 (check_thread_local): Use K::another_thread_local.
995 * gdb.threads/tls.c (class K): New.
996 (another_thread_local): Now a member of K.
997 (spin): Update. No longer K&R C.
998
450ca57c
SW
9992010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1000
1001 * gdb.cp/koenig.cc: created class for testing member lookup.
1002 * gdb.cp/koenig.exp: Added test for member lookup.
1003
dbd492a3
JK
10042010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1005
1006 Fix false FAILs on sourcetree topdir directory containing "kill".
1007 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
1008 source line matching regexp.
1009
8d4d924b
JK
10102010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1011
1012 * gdb.python/python.exp (set height 0, collect help from uiout)
1013 (verify help to uiout): New tests.
1014
8e64f2a0
JK
10152010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1016
1017 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
1018 is_lp64_target to check 64bit target.
1019
4569eed2
JK
10202010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1021
1022 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
1023 (test_ld) <powerpc64-*>: New.
1024
5e1617b1
DJ
10252010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1026
1027 * gdb.cp/templates.exp (test_template_args): Allow "struct".
1028
c767944b
DJ
10292010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
1030
1031 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
1032 (FunctionArg::method): New function.
1033 (empty, arg): New variables.
1034 (main): Call arg.method.
1035 * gdb.cp/templates.exp (test_template_args): New function.
1036 (do_tests): Call it.
1037
27d3a3fc
UW
10382010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1039
1040 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
1041 of "next" to proceed over pthread_exit call.
1042
55b7ce7f
UW
10432010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
1044
1045 * gdb.base/maint.exp: Avoid wildcards against potentially very long
1046 "maint print statistics" output to prevent expect timeouts.
1047
809df446
JK
10482010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1049
1050 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
1051 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1052 (test_float_rejected): ... here.
1053 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
1054 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1055 (test_float_rejected): ... here.
1056 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
1057 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1058 (test_float_rejected): ... here.
1059 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
1060 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
1061 (test_float_rejected): ... here.
1062
8464be76
DJ
10632010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
1064
1065 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
1066 before disabling hardware watchpoints.
1067 (test_inaccessible_watchpoint): Check that hardware watchpoints
1068 are used. Test for watchpoints on a constant address.
1069
14dba4b4
JK
10702010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1071
1072 * gdb.base/ui-redirect.exp: New file.
1073
3f3540e1 10742010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
fc529d80 1075 Joel Brobecker <brobecker@adacore.com>
3f3540e1
JB
1076
1077 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
1078
0f254bb7
DE
10792010-08-31 Doug Evans <dje@google.com>
1080
1081 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
1082
03f17ccf
TT
10832010-08-30 Tom Tromey <tromey@redhat.com>
1084
1085 PR python/11792:
1086 * gdb.python/py-value.exp (test_subscript_regression): Add
1087 dynamic_type test.
1088
640617ad
DJ
10892010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
1090
1091 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
1092 instead of running to main. Do not test the main function.
1093 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
1094 Add new main.
1095
2ed91d1b
PA
10962010-08-26 Pedro Alves <pedro@codesourcery.com>
1097
1098 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
1099 one test.
1100
673bfd45
DE
11012010-08-24 Doug Evans <dje@google.com>
1102
1103 PR symtab/11942
1104 * gdb.dwarf2/dw4-sig-types.cc: New file.
1105 * gdb.dwarf2/dw4-sig-types.h: New file.
1106 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
1107 * gdb.dwarf2/dw4-sig-types.exp: New file.
1108
f9ffd4bb
TT
11092010-08-23 Tom Tromey <tromey@redhat.com>
1110
1111 PR python/11145:
1112 * gdb.python/py-value.c (Base, Derived): New types.
1113 (base): New global.
1114 * gdb.python/py-value.exp (test_subscript_regression): Add
1115 dynamic_cast test.
1116
d839c8a4
TT
11172010-08-23 Tom Tromey <tromey@redhat.com>
1118
1119 PR python/10676:
1120 * gdb.python/py-type.exp (test_fields): Add tests for type
1121 equality.
1122
702c2711
TT
11232010-08-23 Tom Tromey <tromey@redhat.com>
1124
1125 PR python/11915:
1126 * gdb.python/py-type.exp (test_fields): Add tests for array.
1127
832bafd3
KS
11282010-08-23 Keith Seitz <keiths@redhat.com>
1129
1130 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
1131 have any children. Create a new abbrev for it.
1132 Add missing terminal sequence to .debug_abbrev.
1133
c37bf528
KS
11342010-08-20 Keith Seitz <keiths@redhat.com>
1135
1136 PR symtab/11465:
1137 * gdb.dwarf2/pr11465.exp: New test.
1138 * gdb.dwarf2/pr11465.S: New file.
1139 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
1140 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
1141
4572cbac
TJB
11422010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
1143
1144 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
1145 registers. Update data sets with the new v2_double element in the
1146 VSX register union. Add vector_register3_vr data set for the AltiVec
1147 registers. Use gdb_test_no_output instead of send_gdb.
1148
e7fbb131
PA
11492010-08-19 Pedro Alves <pedro@codesourcery.com>
1150
1151 * gdb.python/py-shared.exp: New file, factored out from
1152 python.exp.
1153 * gdb.python/py-shared.c: New file.
1154 * gdb.python/py-shared-sl.c: New file.
1155 * gdb.python/python-1.c: New file.
1156 * gdb.python/python-sl.c: Delete.
1157 * gdb.python/python.c: Mention python-1.c.
1158 * gdb.python/python.exp: Move shared library tests to
1159 py-shared.exp.
1160 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
1161 (MISCELLANEOUS): New.
1162 (clean mostlyclean): Also remove $MISCELLANEOUS.
1163
d30f5e1f
DE
11642010-08-19 Doug Evans <dje@google.com>
1165
1166 PR exp/11926
1167 * gdb.base/printcmds.exp (test_float_accepted): New function.
1168 Move existing float tests there. Add tests for floats with suffixes.
1169 (test_float_rejected): New function.
1170 * gdb.java/jv-print.exp (test_float_accepted): New function.
1171 (test_float_rejected): New function.
1172 * gdb.objc/print.exp: New file.
1173 * gdb.pascal/print.exp: New file.
1174 * lib/objc.exp: New file.
1175
7b3fd859
PM
11762010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
1177
1178 * gdb.base/default.exp (info set): Avoid full buffer error and force
1179 reading up to final gdb prompt.
1180 (show): Likewise.
1181
c92817ce
TT
11822010-08-18 Tom Tromey <tromey@redhat.com>
1183
1184 PR symtab/11919:
1185 * gdb.base/completion.exp: Add test.
1186
f1208f9e
DE
11872010-08-18 Doug Evans <dje@google.com>
1188
1189 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
1190 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
1191 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
1192 Simplify, early exit if runto_main fails.
1193 * gdb.fortran/exprs.exp: load_lib fortran.exp.
1194 (set_lang_fortran): Moved to lib/fortran.exp.
1195 * gdb.fortran/types.exp: load_lib fortran.exp.
1196 (set_lang_fortran): Moved to lib/fortran.exp.
1197 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
1198 * gdb.java/jprint.exp (set_lang_java): Ditto.
1199 * gdb.java/jv-exp.exp: load_lib java.exp.
1200 If set_lang_java fails, issue a warning instead of failure to be
1201 consistent with other set_lang_foo uses.
1202 (set_lang_java): Moved to lib/java.exp.
1203 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
1204 If set_lang_java fails, issue a warning instead of failure to be
1205 consistent with other set_lang_foo uses.
1206 * gdb.pascal/types.exp: load_lib pascal.exp.
1207 (set_lang_pascal): Moved to lib/pascal.exp.
1208 * lib/fortran.exp: New file.
1209 * lib/java.exp (set_lang_java): New function.
1210 * lib/pascal.exp (set_lang_pascal): New function.
1211
2f06b485
YQ
12122010-08-18 Yao Qi <yao@codesourcery.com
1213
1214 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
1215 func_nofb_start and func_loopfb_start, so that address of functions
1216 is equal to these labels on Thumb.
1217
96e25403
YQ
12182010-08-18 Yao Qi <yao@codesourcery.com>
1219
1220 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
1221 to reflect latest c source file.
1222
36e6adc4
JK
12232010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1224
1225 * gdb.cp/infcall-dlopen.exp: New file.
1226 * gdb.cp/infcall-dlopen.cc: New file.
1227 * gdb.cp/infcall-dlopen-lib.cc: New file.
1228
f431efe5
PA
12292010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1230 Pedro Alves <pedro@codesourcery.com>
1231
1232 PR breakpoints/11371
1233
1234 * gdb.base/watch-cond-infcall.exp: New file.
1235 * gdb.base/watch-cond-infcall.c: New file.
1236
06a64a0b
TT
12372010-08-16 Tom Tromey <tromey@redhat.com>
1238
1239 * gdb.base/help.exp: Update.
1240 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
1241 watchpoint.
1242 (test_watch_location): New proc.
1243 (test_watchpoint_in_big_blob): Delete watchpoint.
1244 * gdb.base/watchpoint.c (func5): New function.
1245 (main): Call it.
1246
70ebf4ed
DE
12472010-08-16 Doug Evans <dje@google.com>
1248
1249 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
1250
ca5c20b6
PM
12512010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1252
1253 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
1254 tests.
1255
7346b668
KW
12562010-08-11 Ken Werner <ken.werner@de.ibm.com>
1257
1258 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
1259 * gdb.base/gnu_vector.c: New File.
1260 * gdb.base/gnu_vector.exp: Likewise.
1261
cb2e07a6
PM
12622010-08-11 Phil Muldoon <pmuldoon@redhat.com>
1263
1264 * gdb.python/python.c: New File.
1265 * gdb.python/python-sl.c: New File.
1266 * gdb.python/python.exp: Test solib_address and decode_line
1267 * functions.
1268
5da1313b
JK
12692010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1270
1271 * gdb.python/python.exp (show height, set height 10)
1272 (verify pagination beforehand, verify pagination beforehand: q)
1273 (gdb.execute does not page, verify pagination afterwards)
1274 (verify pagination afterwards: q): New.
1275
49c3ccf7
DE
12762010-08-02 Doug Evans <dje@google.com>
1277
1278 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
1279 because of an older gcc, change test2
1280 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
1281 to unsupported.
1282
42c0c4f1
KH
12832010-07-30 Kazu Hirata <kazu@codesourcery.com>
1284
1285 * gdb.base/break-always.exp: Do not expect full paths to file
1286 names.
1287 * gdb.base/commands.exp: Likewise.
1288
d3765805
DE
12892010-07-30 Doug Evans <dje@google.com>
1290
c98ee71b
DE
1291 * gdb.cp/temargs.exp: For new tests that require newer gccs,
1292 xfail them when run with older gccs.
1293
fd961404
DE
1294 * lib/gdb.exp (build_executable): Forward "c++" option to
1295 get_compiler_info.
1296
999adef4
DE
1297 * gdb.python/py-type.exp (test_template): Mark as xfail tests
1298 "python print ttype.template_argument(1)" and
1299 "python print isinstance(ttype.template_argument(1), gdb.Value)"
1300 if using gcc 4.4 or earlier.
1301
d3765805
DE
1302 * gdb.base/valgrind-db-attach.exp: Use unique test name for
1303 attach-to-debugger handling.
1304
1276c759
JK
13052010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1306
1307 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
1308 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
1309 (main): Use copyreloc.
1310 * gdb.base/prelink.exp (split debug of executable)
1311 (.dynbss vs. .bss address shift): New tests.
1312
88caa9b9
PA
13132010-07-29 Pedro Alves <pedro@codesourcery.com>
1314
1315 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
1316 in gdb_test_multiple.
1317
c6f2ac43
PA
13182010-07-29 Pedro Alves <pedro@codesourcery.com>
1319
1320 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
1321 environment.
1322
326fd672
TT
13232010-07-28 Tom Tromey <tromey@redhat.com>
1324
1325 PR python/11060:
1326 * gdb.python/py-type.c (Temargs): New template.
1327 (temvar): New variable.
1328 * gdb.python/py-type.exp (test_template): New proc.
1329
3ce3b1ba
PA
13302010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
1331
1332 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
1333 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
1334
34eaf542
TT
13352010-07-28 Tom Tromey <tromey@redhat.com>
1336
1337 PR c++/9946:
1338 * gdb.cp/temargs.exp: New file.
1339 * gdb.cp/temargs.cc: New file.
1340
d41b819e
JK
13412010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1342
1343 * gdb.base/help.exp (help disassemble): Update the content.
1344
26ab7092
JK
13452010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1346
1347 * gdb.threads/ia64-sigill.exp: New file.
1348 * gdb.threads/ia64-sigill.c: New file.
1349
5283e9e1
TT
13502010-07-27 Tom Tromey <tromey@redhat.com>
1351
1352 * gdb.opt/inline-cmds.c (ATTR): New define.
1353 (func1): Use it.
1354 (func2): Likewise.
1355 (func3): Likewise.
1356 (outer_inline1): Likewise.
1357 (outer_inline2): Likewise.
1358 * gdb.opt/inline-bt.c (ATTR): New define.
1359 (func1): Use it.
1360 (func2): Likewise.
1361 * gdb.opt/inline-locals.c (ATTR): New define.
1362 (func1): Use it.
1363 (func2): Likewise.
1364
e992ef73
TT
13652010-07-27 Tom Tromey <tromey@redhat.com>
1366
1367 * gdb.stabs/gdb11479.c (hack): New function.
1368 (test): Use it.
1369 (test2): Use it.
1370 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
1371 (int32_search_buf, int64_search_buf): No longer static.
1372 (x): Remove.
1373 * gdb.base/relocate.c (hack): New function.
1374
5374244e
PM
13752010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1376
1377 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1378 * gdb.python/py-value.c (func1): New function.
1379 (func2): Likewise.
1380
a99aee83
CV
13812010-07-26 Corinna Vinschen <vinschen@redhat.com>
1382
1383 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1384 as not to clash with .data section.
1385
a04ba985
JG
13862010-07-26 Jerome Guitton <guitton@adacore.com>
1387
1388 * gdb.base/code_elim.exp: New file.
1389 * gdb.base/code_elim1.c: New file.
1390 * gdb.base/code_elim2.c: New file.
1391
23bd0f7c
PA
13922010-07-21 Pedro Alves <pedro@codesourcery.com>
1393
1394 PR symtab/11827
1395
1396 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1397 (some_volatile_enum): New variable.
1398 * gdb.base/printcmds.exp (test_print_enums): New.
1399 <top level>: Call it.
1400
883df6dd
SW
14012010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1402
1403 * gdb.cp/fpointer.cc: New test.
1404 * gdb.cp/fpointer.exp: New test.
1405
569b05a5
JK
14062010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1407
1408 * gdb.base/solib-nodir.exp: New file.
1409 * lib/gdb.exp (runto): New case for a GDB internal error.
1410
51d7d803
JK
14112010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1412 Ulrich Weigand <uweigand@de.ibm.com>
1413 Tom Tromey <tromey@redhat.com>
1414
1415 * gdb.base/charset-malloc.c: New file.
1416 * gdb.base/charset.c (malloc_stub): New prototype.
1417 (main): Call it instead of malloc itself.
1418 * gdb.base/charset.exp: Use only prepare_for_testing.
1419 (binfile): Remove the variable.
1420
c0edd9ed
JK
14212010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1422
1423 Make core files the process_stratum.
1424 * gdb.base/corefile.exp (run: load core again)
1425 (run: sanity check we see the core file, run: with core)
1426 (run: core file is cleared, attach: load core again)
1427 (attach: sanity check we see the core file, attach: with core)
1428 (attach: core file is cleared): New tests.
1429 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1430
3cbaedff
KW
14312010-07-14 Ken Werner <ken.werner@de.ibm.com>
1432
1433 * gdb.arch/altivec-abi.exp: New tests.
1434
91158a56
TT
14352010-07-13 Tom Tromey <tromey@redhat.com>
1436
1437 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1438 (main): Use it.
1439 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1440
0f5238ed
TT
14412010-07-13 Tom Tromey <tromey@redhat.com>
1442
1443 * gdb.base/label.exp: New file.
1444 * gdb.base/label.c: New file.
1445
add265ae
L
14462010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1447 H.J. Lu <hongjiu.lu@intel.com>
1448
1449 * lib/gdb.exp (is_ilp32_target): New.
1450 (is_lp64_target): Likewise.
1451
1452 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1453 target.
1454 * gdb.arch/amd64-disp-step.exp: Likewise.
1455 * gdb.arch/amd64-dword.exp: Likewise.
1456 * gdb.arch/amd64-i386-address.exp: Likewise.
1457 * gdb.arch/amd64-word.exp: Likewise.
889bf7c5 1458
add265ae
L
1459 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1460 target.
1461 * gdb.arch/i386-bp_permanent.exp: Likewise.
1462 * gdb.arch/i386-byte.exp: Likewise.
1463 * gdb.arch/i386-disp-step.exp: Likewise.
1464 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1465 * gdb.arch/i386-prologue.exp: Likewise.
1466 * gdb.arch/i386-size-overlap.exp: Likewise.
1467 * gdb.arch/i386-size.exp: Likewise.
1468 * gdb.arch/i386-sse.exp: Likewise.
1469 * gdb.arch/i386-unwind.exp: Likewise.
1470 * gdb.arch/i386-word.exp: Likewise.
1471
1472 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1473 test only when building 64-bit executables. Do not hard-code
1474 -m64 option.
1475
2dfb8c17
DE
14762010-07-07 Doug Evans <dje@google.com>
1477
1478 * lib/gdb.exp (gdb_test_list_exact): New function.
1479 * gdb.base/default.exp (show convenience): Call it, add tests for
1480 $_sdata = void, $_thread = 0.
1481
4e5799b6
JK
14822010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1483 Joel Brobecker <brobecker@adacore.com>
1484
1485 Fix re-run of PIE executable, PR shlibs/11776.
1486 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1487 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1488 and re-"run" of the inferior.
1489
1a219cc7
JK
14902010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1491 Joel Brobecker <brobecker@adacore.com>
1492
1493 Cope with missing /usr/sbin/prelink.
1494 * lib/prelink-support.exp (prelink_no):
1495 <result == 1 && $output is "no such file or directory">: New.
1496 (prelink_yes): Likewise. Return on failed prelink_no.
1497
5e3b36f8
JK
14982010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1499 Joel Brobecker <brobecker@adacore.com>
1500
1501 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1502 build_executable by build_executable_own_libs. Replace "prelink -R"
1503 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1504 change.
1505 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1506 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1507 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1508 Replace build_executable by build_executable_own_libs's function
1509 build_executable_own_libs.
1510 (prelinkNO): Create new stub to call prelink_no.
1511 (prelinkYES): Create new stub to call prelink_yes.
1512 (test_attach): Rename calls of copy to file_copy.
1513 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1514 (copy): Move to ...
1515 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1516 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1517 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1518 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1519 special flags by gdb_compile_shlib. Replace second gdb_compile by
1520 build_executable_own_libs. Replace "prelink -R" execution by a call of
1521 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1522 a second call of prelink_yes. Replace restart commands by
1523 clean_restart.
1524 (prelink): Rename to ...
1525 (seen displacement message): ... this test. Extend its expectation
1526 strictness.
1527
86e4bafc
JK
15282010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1529
1530 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1531 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1532 displacement message exactly once.
1533
3cd07d20
JK
15342010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1535 Joel Brobecker <brobecker@adacore.com>
1536
1537 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1538 its restore after the <$relink_args != ""> loop. new comment.
1539
0a1e94c7
JK
15402010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1541 Joel Brobecker <brobecker@adacore.com>
1542
1543 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1544 code for it. New variable relink_args.
1545 (prelinkYES): Call prelinkNO.
1546 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1547 in such case. Move the core code to ...
1548 (test_attach_gdb): ... a new function. Send GDB command "file".
1549 Extend expected "Attaching to " string.
1550
2f70bcfb
TT
15512010-07-02 Tom Tromey <tromey@redhat.com>
1552
1553 * gdb.base/bitops.exp: Remove extraneous "pass".
1554
a17ac5b0
TT
15552010-07-02 Ken Werner <ken.werner@de.ibm.com>
1556
1557 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1558
dc10affe
PA
15592010-07-01 Pedro Alves <pedro@codesourcery.com>
1560
d41c0fc8
PA
1561 * gdb.base/help.exp: Adjust expected output.
1562
15632010-07-01 Pedro Alves <pedro@codesourcery.com>
1564
1565 * gdb.base/help.exp: Adjust expected output.
dc10affe 1566
0a600c36
JK
15672010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1568
1569 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1570 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1571 c++/11702.
1572
37cc8bfe
JK
15732010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1574 Doug Evans <dje@google.com>
1575
1576 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1577 add .dynamic entry'.
1578
254e6b9e
DE
15792010-06-29 Doug Evans <dje@google.com>
1580
1581 Test PR c++/11702.
1582 * gdb.cp/m-static.exp: Add testcase.
1583 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1584
595939de 15852010-06-28 Phil Muldoon <pmuldoon@redhat.com>
889bf7c5
PA
1586 Tom Tromey <tromey@redhat.com>
1587 Thiago Jung Bauermann <bauerman@br.ibm.com>
595939de
PM
1588
1589 * gdb.python/py-inferior.c: New File.
1590 * gdb.python/py-infthread.c: New File.
1591 * gdb.python/py-inferior.exp: New File.
1592 * gdb.python/py-infthread.exp: New File.
1593
98751a41
JK
15942010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1595
1596 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1597 (ptype ::C::OtherFileClass typedefs): New.
1598 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1599 (C::OtherFileClass::cOtherFileClassVar2): New.
1600 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1601 cOtherFileClassVar2.
1602 (C::cOtherFileType2, C::cOtherFileVar2): New.
1603 (C::cOtherFileVar_use): use also cOtherFileVar2.
1604 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1605
41f62f39
JK
16062010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1607
1608 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1609 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1610 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1611 (print ::C::cOtherFileVar)
1612 (whatis C::OtherFileClass::cOtherFileClassType)
1613 (whatis ::C::OtherFileClass::cOtherFileClassType)
1614 (print C::OtherFileClass::cOtherFileClassVar)
1615 (print ::cOtherFileClassVar)
1616 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1617 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1618 trailing content.
1619 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1620 (C::OtherFileClass::cOtherFileClassVar)
1621 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1622 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1623
af53d231
JK
16242010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1625
1626 Test PR c++/11703 and PR gdb/1448.
1627 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1628 gdb/1448.
1629
9655fd1a
JK
16302010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1631
1632 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1633 (main) <rtti_data>: New.
1634 * gdb.cp/virtbase.exp (print rtti_data): New.
1635
824cc8dd
JK
16362010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1637 Joel Brobecker <brobecker@adacore.com>
1638
1639 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1640
6036c742
JK
16412010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1644
de6a0421
DE
16452010-06-28 Doug Evans <dje@google.com>
1646
1647 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1648
b2dae948
DE
16492010-06-27 Doug Evans <dje@google.com>
1650
1651 * gdb.cp/m-static.exp: Update expected test output.
1652
0f3bb72e
PH
16532010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1654
889bf7c5
PA
1655 * gdb.gdb/selftest.exp: Adjust expected message for
1656 capturing start-up runtime.
0f3bb72e 1657
bc9f0842
TT
16582010-06-25 Tom Tromey <tromey@redhat.com>
1659
1660 PR python/10808:
1661 * gdb.python/python.exp: Add new tests.
1662
099ef718
SW
16632010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1664
1665 * gdb.cp/operator.cc: Created an import loop.
1666 * gdb.cp/operator.exp: Added testcase for import loop.
1667
5868a632
JK
16682010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1669
1670 Test PR python/11407.
1671 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1672 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1673 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1674 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1675 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1676 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1677 binfile. Call gdb_compile with clean_restart twice.
1678 (func_nofb print, func_nofb backtrace, func_loopfb print)
1679 (func_loopfb backtrace): New.
1680
af76db58
JK
16812010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1682
1683 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1684 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1685 by a hand made one.
1686 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1687 i?86 requirement. Remove variables srcfile and binfile. New variable
1688 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1689
f2c7657e
UW
16902010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1691
1692 * gdb.cell/dwarfaddr.exp: New file.
1693 * gdb.cell/dwarfaddr.S: New file.
1694
628fe4e4
JK
16952010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1696
1697 Test PR 9436.
1698 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1699
f1421989
HZ
17002010-06-24 Hui Zhu <teawater@gmail.com>
1701
1702 * gdb.base/eval.exp: New file.
1703
d03285ec
UW
17042010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1705
1706 * gdb.cell/fork.exp: New file.
1707 * gdb.cell/fork.c: Likewise.
1708 * gdb.cell/fork-spu.c: Likewise.
1709
41b2c92d
PM
17102010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1711
1712 * lib/gdb.exp (banned_variables_traced): New global variable.
1713 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1714 (gdb_init): Use `trace add variable' instead of obsolete
1715 `trace variable'.
1716
d5bc977f
DE
17172010-06-21 Doug Evans <dje@google.com>
1718
1719 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1720
d2ed6730
UW
17212010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1722
1723 * gdb.arch/spu-ls.exp: New file.
1724 * gdb.arch/spu-ls.c: Likewise.
1725
6aed2dbc
SS
17262010-06-18 Stan Shebs <stan@codesourcery.com>
1727
1728 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1729
e0756905
UW
17302010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1731
1732 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1733 * gdb.base/watch-cond.exp: Likewise.
1734 * gdb.python/py-breakpoint.exp: Likewise.
1735
d8053d4d
PA
17362010-06-18 Pedro Alves <pedro@codesourcery.com>
1737
1738 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1739 clean_restart, make sure every test has a distinct message, and
1740 that messages don't include the executable' full path.
1741
81ce510c
DE
17422010-06-17 Doug Evans <dje@google.com>
1743
1744 * gdb.arch/i386-size.exp: Updated expected output for
1745 DISASSEMBLY_OMIT_FNAME.
1746
65d79d4b
SDJ
17472010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1748 Sergio Durigan Junior <sergiodj@redhat.com>
1749
1750 * gdb.base/watch-notconst.c: New file.
1751 * gdb.base/watch-notconst.S: New file.
1752 * gdb.base/watch-notconst2.c: New file.
1753 * gdb.base/watch-notconst2.S: New file.
1754 * gdb.base/watch-notconst.exp: New file.
1755 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1756 (func4): Add operations on `global_ptr_ptr'.
1757 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1758 routine to test watchpoints created with a constant expression.
1759 (test_inaccessible_watchpoint): Include tests for watchpoints
1760 created with a constant expression.
1761
df0f4836
KB
17622010-06-14 Kevin Buettner <kevinb@redhat.com>
1763
1764 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1765 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1766 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1767 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1768 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1769 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1770 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1771 of `_start'.
1772
b769def5
UW
17732010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1774
1775 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1776 not supported on the target.
1777 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1778 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1779 * gdb.mi/mi-nsintrall.exp: Likewise.
1780 * gdb.mi/mi-nsmoribund.exp: Likewise.
1781 * gdb.mi/mi-nsthrexec.exp: Likewise.
1782
d914c394
SS
17832010-06-11 Stan Shebs <stan@codesourcery.com>
1784
1785 * gdb.base/permissions.exp: New file.
1786
17872010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5bbad94c
UW
1788
1789 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1790 does not support ELF executable class.
1791
f3ce5b9c
UW
17922010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1793
1794 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1795
8e46892c
JK
17962010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1797
1798 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1799 (runto): Catch "The target does not support running in non-stop mode.".
1800
6cc55c64
MS
18012010-06-11 Michael Snyder <msnyder@vmware.com>
1802
1803 * gdb.base/setshow.exp (set language asm): Don't use
1804 gdb_test_no_output, fails on some targets.
1805
caddefa4
UW
18062010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1807
1808 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1809 * gdb.cp/pr9167.exp: Likewise.
1810
468b1aa7
UW
18112010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1812
1813 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1814
5c3552dc
UW
18152010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1816
1817 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1818
02e6fe6a
UW
18192010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1820
1821 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1822
0e03807e
TT
18232010-06-11 Tom Tromey <tromey@redhat.com>
1824
1825 PR gdb/9977, PR exp/11636::
1826 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1827 (pieces_test_f6): Update expected output.
1828
2bdf28a0
JK
18292010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1830
1831 * gdb.base/moribund-step.exp: New.
1832
f6978de9
MS
18332010-06-08 Michael Snyder <msnyder@vmware.com>
1834
1835 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
889bf7c5 1836 * gdb.ada/boolean_expr.exp:
f6978de9
MS
1837 * gdb.ada/frame_args.exp: Ditto.
1838 * gdb.ada/lang_switch.exp: Ditto.
1839 * gdb.ada/ptype_arith_binop.exp: Ditto.
1840 * gdb.ada/ref_param.exp: Ditto.
1841 * gdb.ada/type_coercion.exp:Ditto.
1842
1843 * gdb.asm/asm-source.exp: Ditto.
1844
1845 * gdb.base/attach.exp: Ditto.
1846 * gdb.base/bitfields2.exp: Ditto.
1847 * gdb.base/call-signal-resume.exp: Ditto.
1848 * gdb.base/callfuncs.exp: Ditto.
1849 * gdb.base/commands.exp: Ditto.
1850 * gdb.base/dbx.exp: Ditto.
1851 * gdb.base/default.exp: Ditto.
1852 * gdb.base/dump.exp: Ditto.
1853 * gdb.base/exprs.exp: Ditto.
1854 * gdb.base/freebpcmd.exp: Ditto.
1855 * gdb.base/interrupt.exp: Ditto.
1856 * gdb.base/list.exp: Ditto.
1857 * gdb.base/long_long.exp: Ditto.
1858 * gdb.base/maint.exp: Ditto.
1859 * gdb.base/ptype.exp: Ditto.
1860 * gdb.base/return.exp: Ditto.
1861 * gdb.base/setshow.exp: Ditto.
1862 * gdb.base/sigbpt.exp: Ditto.
1863 * gdb.base/sigrepeat.exp: Ditto.
1864
1865 * gdb.cp/classes.exp: Ditto.
1866
1867 * gdb.dwarf2/dw2-restore.exp: Ditto.
1868
1869 * gdb.gdb/selftest.exp: Ditto.
1870
1871 * gdb.multi/base.exp: Ditto.
1872 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1873
1874 * gdb.python/py-block.exp: Ditto.
1875 * gdb.python/py-prettyprint.exp: Ditto.
1876 * gdb.python/py-template.exp: Ditto.
1877
1878 * gdb.server/ext-attach.exp: Ditto.
1879 * gdb.server/ext-run.exp: Ditto.
1880 * gdb.server/server-mon.exp: Ditto.
1881
1882 * gdb.threads/fork-thread-pending.exp: Ditto.
1883 * gdb.threads/hand-call-in-threads.exp: Ditto.
1884 * gdb.threads/interrupted-hand-call.exp: Ditto.
1885 * gdb.threads/linux-dp.exp: Ditto.
1886 * gdb.threads/manythreads.exp: Ditto.
1887 * gdb.threads/print-threads.exp: Ditto.
1888 * gdb.threads/pthreads.exp: Ditto.
1889 * gdb.threads/schedlock.exp: Ditto.
1890 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1891 * gdb.threads/threadapply.exp: Ditto.
1892
de7ff789
MS
18932010-06-08 Michael Snyder <msnyder@vmware.com>
1894
889bf7c5 1895 * gdb.ada/exec_changed.exp:
de7ff789
MS
1896 Use ".*" instead of "" as wildcard regexp.
1897
1898 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
1899 * gdb.base/call-ar-st.exp: Ditto.
1900 * gdb.base/checkpoint.exp: Ditto.
1901 * gdb.base/default.exp: Ditto.
1902 * gdb.base/dump.exp: Ditto.
1903 * gdb.base/ending-run.exp: Ditto.
1904 * gdb.base/fileio.exp: Ditto.
1905 * gdb.base/miscexprs.exp: Ditto.
1906 * gdb.base/pointers.exp: Ditto.
1907 * gdb.base/readline.exp: Ditto.
1908 * gdb.base/reread.exp: Ditto.
1909 * gdb.base/restore.exp: Ditto.
1910 * gdb.base/shlib-call.exp: Ditto.
1911 * gdb.base/valgrind-db-attach.exp: Ditto.
1912 * gdb.base/volatile.exp: Ditto.
1913 * gdb.base/watchpoints.exp: Ditto.
1914
1915 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1916
1917 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1918 * gdb.python/py-value.exp: Ditto.
1919
1920 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
1921 * gdb.trace/circ.exp: Ditto.
1922 * gdb.trace/collection.exp: Ditto.
1923 * gdb.trace/packetlen.exp: Ditto.
1924 * gdb.trace/passc-dyn.exp: Ditto.
1925 * gdb.trace/report.exp: Ditto.
1926 * gdb.trace/tfile.exp: Ditto.
1927 * gdb.trace/tfind.exp: Ditto.
1928 * gdb.trace/while-dyn.exp: Ditto.
1929
3bebe2f2
JK
19302010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1931
1932 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
1933
5c631832
JK
19342010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1935
1936 Test PR 10640.
1937 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
1938
4c3376c8
SW
19392010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
1940
1941 * gdb.cp/koenig.exp: Test for ADL operators.
1942 * gdb.cp/koenig.cc: Added ADL operators.
1943 * gdb.cp/operator.exp: New test.
1944 * gdb.cp/operator.cc: New test.
1945
dc226d5a
MS
19462010-06-04 Michael Snyder <msnyder@vmware.com>
1947
dfb88a23
MS
1948 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
1949 * gdb.base/pending.exp: Ditto.
f7ae76b3 1950
dc226d5a
MS
1951 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
1952
967cf477
DE
19532010-06-04 Doug Evans <dje@google.com>
1954
1955 * gdb.python/py-prettyprint.exp: Add new test for enabled and
1956 disabled printers.
1957 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
1958 (enable_lookup_function): New function.
1959
eb801841
TT
19602010-06-04 Tom Tromey <tromey@redhat.com>
1961
1962 * gdb.python/py-value.exp (test_value_hash): Don't test equality
1963 of hash and id.
1964
38979823
JK
19652010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1966
1967 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
1968 newline.
1969 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
1970 (empty verbose non-noisy clear, empty verbose noisy clear)
1971 (empty non-verbose noisy clear): Likewise.
1972
35ec993f
MS
19732010-06-03 Michael Snyder <msnyder@vmware.com>
1974
1975 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
1976 * gdb.base/display.exp: Ditto.
1977 * gdb.base/find.exp: Ditto.
1978 * gdb.base/ifelse.exp: Ditto.
1979 * gdb.base/multi-forks.exp: Ditto.
1980 * gdb.base/recurse.exp: Ditto.
1981 * gdb.base/setshow.exp: Ditto.
1982 * gdb.base/value-double-free.exp: Ditto.
1983 * gdb.base/watch-vfork.exp: Ditto.
1984 * gdb.base/watch_thread_num.exp: Ditto.
1985 * gdb.base/watchpoint-solib.exp: Ditto.
1986 * gdb.base/watchpoint.exp: Ditto.
1987 * gdb.base/watchpoints.exp: Ditto.
1988
1989 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
1990 * gdb.cp/overload.exp: Ditto.
1991 * gdb.cp/virtfunc.exp: Ditto.
1992
1993 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
1994
889bf7c5 1995 * gdb.reverse/watch-precsave.exp:
35ec993f
MS
1996 Replace gdb_test with gdb_test_no_output.
1997
889bf7c5 1998 * gdb.threads/attach-into-signal.exp:
35ec993f
MS
1999 Replace gdb_test with gdb_test_no_output.
2000 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2001 * gdb.threads/watchthreads.exp: Ditto.
2002 * gdb.threads/watchthreads2.exp: Ditto.
2003
2004 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
2005 * gdb.trace/tfind.exp: Ditto.
2006
c22decce
JB
20072010-06-03 Joel Brobecker <brobecker@adacore.com>
2008
2009 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
2010 successful test if message is the empty string.
2011
fd5700c7
JK
20122010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2013
2014 * gdb.fortran/module.exp (stopped language detection): New test.
2015
f55ee35c
JK
20162010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2017
2018 Support DW_TAG_module as separate namespaces.
2019 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
2020 gdb.fortran/library-module-lib.f90: New.
2021 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
2022 (print i): Remove.
2023 (continue to breakpoint: i-is-1, print var_i value 1)
2024 (continue to breakpoint: i-is-2, print var_i value 2)
2025 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
2026 (print var_d, print var_i value 14, ptype modmany, complete `modm)
2027 (complete `modmany, complete `modmany`, complete `modmany`var)
2028 (show language, setting breakpoint at module): New tests.
2029 * gdb.fortran/module.f90 (module mod): Remove.
2030 (module mod1, module mod2, module modmany, subroutine sub1)
2031 (subroutine sub2, program module): New.
2032
b8e8282f
JK
20332010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2034
2035 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
2036 (print value of rUC, print value of rI, print value of UI): ... here.
31e43e98
JK
2037 * gdb.cp/anon-union.exp (pass): Rename to ...
2038 (print z 2): ... here.
b8e8282f 2039
019ebafc
MS
20402010-06-02 Michael Snyder <msnyder@vmware.com>
2041
e68d8fd4
MS
2042 * gdb.trace/actions.exp: Use gdb_test_no_output.
2043 * gdb.trace/circ.exp: Ditto.
2044 * gdb.trace/packetlen.exp: Ditto.
2045 * gdb.trace/save-trace.exp: Ditto.
2046 * gdb.trace/tracecmd.exp: Ditto.
2047 * gdb.trace/tsv.exp: Ditto.
2048
12b5d08a
MS
2049 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
2050 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
2051 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
2052 * gdb.threads/manythreads.exp: Ditto.
2053 * gdb.threads/print-threads.exp: Ditto.
2054 * gdb.threads/pthreads.exp: Ditto.
2055 * gdb.threads/schedlock.exp: Ditto.
2056 * gdb.threads/staticthreads.exp: Ditto.
2057 * gdb.threads/thread-specific.exp: Ditto.
2058 * gdb.threads/thread-unwindonsignal.exp: Ditto.
2059 * gdb.threads/threadapply.exp: Ditto.
2060 * gdb.threads/watchthreads.exp: Ditto.
2061 * gdb.threads/watchthreads2.exp: Ditto.
2062
89493308
MS
2063 * gdb.python/py-block.exp: Use gdb_test_no_output.
2064 * gdb.python/py-prettyprint.exp: Ditto.
2065 * gdb.python/py-template.exp: Ditto.
2066 * gdb.python/py-value.exp: Ditto.
2067
2068 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
2069 * gdb.reverse/watch-reverse.exp: Ditto.
2070
2071 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
2072 * gdb.server/ext-run.exp: Ditto.
2073
019ebafc
MS
2074 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
2075 * gdb.dwarf2/dw2-compressed.exp: Ditto.
2076 * gdb.dwarf2/dw2-intercu.exp: Ditto.
2077 * gdb.dwarf2/dw2-intermix.exp: Ditto.
2078 * gdb.dwarf2/dw2-producer.exp: Ditto.
2079 * gdb.dwarf2/mac-fileno.exp: Ditto.
2080
2081 * gdb.gdb/observer.exp: Use gdb_test_no_output.
2082 * gdb.gdb/selftest.exp: Ditto.
2083
2084 * gdb.multi/base.exp: Use gdb_test_no_output.
2085
2086 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
2087
3e0ca3a5
JK
20882010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2089
2090 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
2091
9db70545
MS
20922010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
2093
a8d52276
MS
2094 * gdb.cp/class2.exp: Use gdb_test_no_output.
2095 * gdb.cp/classes.exp: Ditto.
2096 * gdb.cp/extern-c.exp: Ditto.
2097 * gdb.cp/inherit.exp: Ditto.
2098 * gdb.cp/maint.exp: Ditto.
2099 * gdb.cp/mb-inline.exp: Ditto.
2100 * gdb.cp/mb-templates.exp: Ditto.
2101 * gdb.cp/method2.exp: Ditto.
2102 * gdb.cp/misc.exp: Ditto.
2103 * gdb.cp/ovldbreak.exp: Ditto.
2104 * gdb.cp/punctuator.exp: Ditto.
2105 * gdb.cp/templates.exp: Ditto.
2106 * gdb.cp/virtbase.exp: Ditto.
2107
889bf7c5 2108 * gdb.threads/attach-stopped.exp:
9db70545 2109 Replace uses of send_gdb / gdb_expect.
889bf7c5 2110 * gdb.threads/attachstop-mt.exp:
9db70545 2111 Replace uses of send_gdb / gdb_expect.
889bf7c5 2112 * gdb.threads/gcore-thread.exp:
9db70545 2113 Replace uses of send_gdb / gdb_expect.
889bf7c5 2114 * gdb.threads/hand-call-in-threads.exp:
9db70545
MS
2115 Replace uses of send_gdb / gdb_expect.
2116 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 2117 * gdb.threads/print-threads.exp:
9db70545
MS
2118 Replace uses of send_gdb / gdb_expect.
2119 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
2120 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
2121 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
2122
2123 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
2124 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
2125 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
2126 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
2127 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
2128 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
2129 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
2130 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
2131 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
2132 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
2133 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
2134
359cc68c
JK
21352010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2136
2137 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
2138
7d3fe98e
SW
21392010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
2140
2141 * gdb.cp/koenig.exp: Added new test case.
2142 * gdb.cp/koenig.cc: Ditto.
2143
27d3a1a2
MS
21442010-06-01 Michael Snyder <msnyder@vmware.com>
2145
2146 * gdb.base/arithmet.exp: Use gdb_test_no_output.
2147 * gdb.base/arrayidx.exp: Ditto.
2148 * gdb.base/attach.exp: Ditto.
2149 * gdb.base/auxv.exp: Ditto.
2150 * gdb.base/bigcre.exp: Ditto.
2151 * gdb.base/break-always.exp: Ditto.
2152 * gdb.base/break-interp.exp: Ditto.
2153 * gdb.base/break.exp: Ditto.
2154 * gdb.base/breakpoint-shadow.exp: Ditto.
2155 * gdb.base/call-ar-st.exp: Ditto.
2156 * gdb.base/call-sc.exp: Ditto.
2157 * gdb.base/call-signal-resume.exp: Ditto.
2158 * gdb.base/callfuncs.exp: Ditto.
2159 * gdb.base/catch-syscall.exp: Ditto.
2160 * gdb.base/charset.exp: Ditto.
2161 * gdb.base/code-expr.exp: Ditto.
2162 * gdb.base/commands.exp: Ditto.
2163 * gdb.base/cond-expr.exp: Ditto.
2164 * gdb.base/condbreak.exp: Ditto.
2165 * gdb.base/cursal.exp: Ditto.
2166 * gdb.base/cvexpr.exp: Ditto.
2167 * gdb.base/default.exp: Ditto.
2168 * gdb.base/del.exp: Ditto.
2169 * gdb.base/detach.exp: Ditto.
2170 * gdb.base/display.exp: Ditto.
2171 * gdb.base/ena-dis-br.exp: Ditto.
2172 * gdb.base/eval-skip.exp: Ditto.
2173 * gdb.base/foll-fork.exp: Ditto.
2174 * gdb.base/foll-vfork.exp: Ditto.
2175 * gdb.base/frame-args.exp: Ditto.
2176 * gdb.base/funcargs.exp: Ditto.
2177 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2178 * gdb.base/gdbvars.exp: Ditto.
2179 * gdb.base/help.exp: Ditto.
2180 * gdb.base/ifelse.exp: Ditto.
2181 * gdb.base/included.exp: Ditto.
2182 * gdb.base/list.exp: Ditto.
2183 * gdb.base/macscp.exp: Ditto.
2184 * gdb.base/maint.exp: Ditto.
2185 * gdb.base/multi-fork.exp: Ditto.
2186 * gdb.base/overlays.exp: Ditto.
2187 * gdb.base/page.exp: Ditto.
2188 * gdb.base/pending.exp: Ditto.
2189 * gdb.base/pointers.exp: Ditto.
2190 * gdb.base/pr11022.exp: Ditto.
2191 * gdb.base/prelink.exp: Ditto.
2192 * gdb.base/printcmds.exp: Ditto.
2193 * gdb.base/psymtab.exp: Ditto.
2194 * gdb.base/randomize.exp: Ditto.
2195 * gdb.base/relational.exp: Ditto.
2196 * gdb.base/relocate.exp: Ditto.
2197 * gdb.base/remote.exp: Ditto.
2198 * gdb.base/sepdebug.exp: Ditto.
2199 * gdb.base/set-lang-auto.exp: Ditto.
2200 * gdb.base/setshow.exp: Ditto.
2201 * gdb.base/setvar.exp: Ditto.
2202 * gdb.base/signals.exp: Ditto.
2203 * gdb.base/signull.exp: Ditto.
2204 * gdb.base/sigstep.exp: Ditto.
2205 * gdb.base/sizeof.exp: Ditto.
2206 * gdb.base/solib-disc.exp: Ditto.
2207 * gdb.base/store.exp: Ditto.
2208 * gdb.base/structs.exp: Ditto.
2209 * gdb.base/structs2.exp: Ditto.
2210 * gdb.base/subst.exp: Ditto.
2211 * gdb.base/term.exp: Ditto.
2212 * gdb.base/trace-commands.exp: Ditto.
2213 * gdb.base/unwindonsignal.exp: Ditto.
2214 * gdb.base/valgrind-db-attach.exp: Ditto.
2215 * gdb.base/varargs.exp: Ditto.
2216 * gdb.base/watch-cond.exp: Ditto.
2217 * gdb.base/watch_thread_num.exp: Ditto.
2218 * gdb.base/watchpoint-cond-gone.exp: Ditto.
2219 * gdb.base/watchpoint.exp: Ditto.
2220 * gdb.base/whatis-exp.exp: Ditto.
2221
f8d3bf8f
MS
22222010-06-01 Michael Snyder <msnyder@vmware.com>
2223
2224 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
2225 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
2226 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
2227 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
2228 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
2229 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
2230 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
2231 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
2232 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
2233 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
2234 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
2235 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
2236 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
2237 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
2238 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
2239
3f9e0d32
JK
22402010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2241
2242 * gdb.base/commands.exp (begin commands on watch): Remove excessive
2243 trailing newline.
2244 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
2245 * gdb.java/jmisc.exp (p *args\n): Rename to ...
2246 (p *args): ... here and remove excessive trailing newline.
2247
f629457d
JB
22482010-05-31 Joel Brobecker <brobecker@adacore.com>
2249
2250 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
2251
09eef106
JK
22522010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2253
2254 Accept the new Linux kernel "t (tracing stop)" string.
2255 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
2256 Update comment.
2257 (state_wait) <T (tracing stop)>: New.
2258 (main): Update the state_wait expect string.
2259
94f31136
PA
22602010-05-28 Pedro Alves <pedro@codesourcery.com>
2261
2262 * limits.c, limits.exp: Delete files.
2263 * Makefile.in (clean mostlyclean): Adjust.
2264 * tracecmd.exp: Adjust.
2265
096554ab
JK
22662010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2267
2268 * gdb.base/tui-layout.exp: New.
2269
27d3a1a2 22702010-05-28 Michael Snyder <msnyder@vmware.com>
bcd2dc50 2271
889bf7c5 2272 * gdb.reverse/break-precsave.exp:
bcd2dc50 2273 Replace uses of send_gdb / gdb_expect.
889bf7c5 2274 * gdb.reverse/break-reverse.exp:
bcd2dc50 2275 Replace uses of send_gdb / gdb_expect.
889bf7c5 2276 * gdb.reverse/consecutive-precsave.exp:
bcd2dc50 2277 Replace uses of send_gdb / gdb_expect.
889bf7c5 2278 * gdb.reverse/consecutive-reverse.exp:
bcd2dc50 2279 Replace uses of send_gdb / gdb_expect.
889bf7c5 2280 * gdb.reverse/finish-precsave.exp:
bcd2dc50 2281 Replace uses of send_gdb / gdb_expect.
889bf7c5 2282 * gdb.reverse/finish-reverse.exp:
bcd2dc50 2283 Replace uses of send_gdb / gdb_expect.
889bf7c5 2284 * gdb.reverse/i386-precsave.exp:
bcd2dc50 2285 Replace uses of send_gdb / gdb_expect.
889bf7c5 2286 * gdb.reverse/i386-reverse.exp:
bcd2dc50 2287 Replace uses of send_gdb / gdb_expect.
889bf7c5 2288 * gdb.reverse/i386-sse-reverse.exp:
bcd2dc50 2289 Replace uses of send_gdb / gdb_expect.
889bf7c5 2290 * gdb.reverse/i387-env-reverse.exp:
bcd2dc50 2291 Replace uses of send_gdb / gdb_expect.
889bf7c5 2292 * gdb.reverse/i387-stack-reverse.exp:
bcd2dc50 2293 Replace uses of send_gdb / gdb_expect.
889bf7c5 2294 * gdb.reverse/machinestate-precsave.exp:
bcd2dc50 2295 Replace uses of send_gdb / gdb_expect.
889bf7c5 2296 * gdb.reverse/machinestate.exp:
bcd2dc50 2297 Replace uses of send_gdb / gdb_expect.
889bf7c5 2298 * gdb.reverse/sigall-precsave.exp:
bcd2dc50 2299 Replace uses of send_gdb / gdb_expect.
889bf7c5 2300 * gdb.reverse/sigall-reverse.exp:
bcd2dc50 2301 Replace uses of send_gdb / gdb_expect.
889bf7c5 2302 * gdb.reverse/solib-precsave.exp:
bcd2dc50 2303 Replace uses of send_gdb / gdb_expect.
889bf7c5 2304 * gdb.reverse/solib-reverse.exp:
bcd2dc50 2305 Replace uses of send_gdb / gdb_expect.
889bf7c5 2306 * gdb.reverse/step-precsave.exp:
bcd2dc50 2307 Replace uses of send_gdb / gdb_expect.
889bf7c5 2308 * gdb.reverse/step-reverse.exp:
bcd2dc50 2309 Replace uses of send_gdb / gdb_expect.
889bf7c5 2310 * gdb.reverse/until-precsave.exp:
bcd2dc50 2311 Replace uses of send_gdb / gdb_expect.
889bf7c5 2312 * gdb.reverse/until-reverse.exp:
bcd2dc50 2313 Replace uses of send_gdb / gdb_expect.
889bf7c5 2314 * gdb.reverse/watch-precsave.exp:
bcd2dc50 2315 Replace uses of send_gdb / gdb_expect.
889bf7c5 2316 * gdb.reverse/watch-reverse.exp:
bcd2dc50
MS
2317 Replace uses of send_gdb / gdb_expect.
2318
3def43e0
JK
23192010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2320
2321 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
2322 excessive newline.
2323
27d3a1a2 23242010-05-27 Michael Snyder <msnyder@vmware.com>
22454424
MS
2325
2326 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
02746bbc
MS
2327 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
2328 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
2329 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
2330 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
2331 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
2332 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
2333 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
2334 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
2335 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
2336 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
2337 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
2338 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
2339 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
2340 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
2341 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
2342 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
2343 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
2344 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
22454424 2345
27d3a1a2 23462010-05-26 Michael Snyder <msnyder@vmware.com>
ec9f1212 2347
22454424
MS
2348 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
2349 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
2350
2351 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
2352 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
2353 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
2354
889bf7c5 2355 * gdb.reverse/consecutive-reverse.exp:
22454424 2356 Replace uses of send_gdb / gdb_expect.
889bf7c5 2357 * gdb.reverse/consecutive-precsave.exp:
22454424
MS
2358 Replace uses of send_gdb / gdb_expect.
2359
2360 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
2361 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
2362 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
889bf7c5 2363 * gdb.mi/mi-ns-stale-regcache.exp:
22454424
MS
2364 Replace uses of send_gdb / gdb_expect.
2365 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
2366 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
2367 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
2368 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
2369 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
2370 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
2371 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2372 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2373 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
ec9f1212
MS
2374
23752010-05-26 Michael Snyder <msnyder@vmware.com>
6acb16a2 2376
22454424 2377 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 2378
22454424 2379 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 2380
22454424
MS
2381 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2382 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2383 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2384 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2385 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2386 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2387 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2388 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2389 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
6acb16a2 2390
6e5f2c59
TT
23912010-05-25 Tom Tromey <tromey@redhat.com>
2392
2393 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2394
bbc8b958
TT
23952010-05-25 Tom Tromey <tromey@redhat.com>
2396
2397 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2398 argument order.
2399 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2400 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2401 order.
2402 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2403 order.
2404 * gdb.base/call-sc.exp (setup_kfails): Remove.
2405 (setup_compiler_kfails): Remove.
2406 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2407 argument order.
2408 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2409 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2410 (advancei): Fix setup_kfail argument order.
2411 * gdb.base/radix.exp: Fix setup_kfail argument order.
2412 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2413 order.
2414 * gdb.base/structs.exp (setup_kfails): Remove.
2415 (setup_compiler_kfails): Fix setup_kfail argument order.
2416 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2417 order.
2418 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2419 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2420 setup_kfail argument order.
2421 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2422
83d1babf
TT
24232010-05-25 Tom Tromey <tromey@redhat.com>
2424
2425 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2426
6acb16a2
MS
24272010-05-25 Michael Snyder <msnyder@vmware.com>
2428
2429 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2430 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2431 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2432 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2433 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2434 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2435 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2436 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2437 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
ad3986f0
MS
2438 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2439 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2440 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2441 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2442 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2443 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2444 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2445 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2446 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2447 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2448 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2449 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2450 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2451 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
a76e022a
MS
2452 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2453 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2454 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2455 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2456 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2457 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2458 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2459 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2460 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2461 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2462 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2463 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2464 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2465 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2466 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2467 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2468 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2469 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2470 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
65731a6b
MS
2471 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2472 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2473 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2474 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2475 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
6acb16a2 2476 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
65731a6b
MS
2477
24782010-05-25 Doug Evans <dje@google.com>
2479
2480 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2481 gdb.string_to_argv.
ad3986f0 2482
d3b1e874
TT
24832010-05-21 Tom Tromey <tromey@redhat.com>
2484
2485 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2486 Call it.
2487 * gdb.dwarf2/pieces.S: Update.
2488 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2489
cb826367
TT
24902010-05-21 Tom Tromey <tromey@redhat.com>
2491
2492 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2493 Call it.
2494 * gdb.dwarf2/pieces.c (struct C): New.
2495 (f6): New function.
2496 * gdb.dwarf2/pieces.S: Replace.
2497
74de6778
TT
24982010-05-21 Tom Tromey <tromey@redhat.com>
2499
2500 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2501 Call it.
2502
afd74c5f
TT
25032010-05-21 Tom Tromey <tromey@redhat.com>
2504
2505 * gdb.dwarf2.pieces.exp: New file.
2506 * gdb.dwarf2.pieces.S: New file.
2507 * gdb.dwarf2.pieces.c: New file.
2508
a7b75dfd 25092010-05-20 Pedro Alves <pedro@codesourcery.com>
889bf7c5 2510 Joel Brobecker <brobecker@adacore.com>
a7b75dfd
JB
2511
2512 * lib/gdb.exp (gdb_test_no_output): New function.
2513 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2514 when testing commands that should produce no output.
2515
c81c812a
JB
25162010-05-17 Joel Brobecker <brobecker@adacore.com>
2517
2518 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2519 parameter that we want to watch being a constant.
2520
0cce5bd9
JB
25212010-05-17 Joel Brobecker <brobecker@adacore.com>
2522
2523 * gdb.ada/cond_lang: New testcase.
2524
47050449
JB
25252010-05-17 Joel Brobecker <brobecker@adacore.com>
2526
2527 * lib/gdb.exp (banned_variables): New variable/constant.
2528 (gdb_init): Add write trace on variables listed in banned_variables.
2529 (gdb_finish): Remove write traces on variables listed in
2530 banned_variables.
2531
77c01586
JB
25322010-05-17 Joel Brobecker <brobecker@adacore.com>
2533
2534 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2535 * gdb.cp/koenig.exp: Likewise.
2536
88d4aea7
PM
25372010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2538
889bf7c5 2539 PR python/11482
88d4aea7
PM
2540
2541 * gdb.python/py-value.exp (test_value_hash): New function.
2542
f5a010c0
PM
25432010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2544
2545 PR exp/11530.
2546 * gdb.base/gdb11530.c: New file.
2547 * gdb.base/gdb11530.exp: New file.
2548
8ef4892f
JK
25492010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2550
2551 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2552 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2553
7322dca9
SW
25542010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2555
2556 * gdb.cp/koenig.exp: New test.
2557 * gdb.cp/koenig.cc: New test program.
2558
02e7ea18
JB
25592010-05-05 Joel Brobecker <brobecker@adacore.com>
2560
2561 Remove the use of prms_id and bug_id throughout the testsuite.
2562
e1c34c5d
PM
25632010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2564
2565 PR exp/11349.
2566 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2567 use a reference local variable.
2568
8e1d0c49
JK
25692010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2570
2571 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2572 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2573 variable different_dir. Move debugfile into a full directory pathname
2574 under DIFFERENT_DIR.
2575 * lib/gdb.exp (separate_debug_filename): Remove.
2576 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2577 variable debug_dir and mkdir of it. Update function comments.
2578
e66408ed
PA
25792010-04-29 Pedro Alves <pedro@codesourcery.com>
2580
2581 PR gdb/11557
2582
2583 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2584 files.
2585
d7b32ed3
PM
25862010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2587
889bf7c5 2588 * gdb.python/py-param.exp: New File.
d7b32ed3 2589
6aecb9c2
JB
25902010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2591
2592 * gdb.base/default.exp: Fix "set language" test.
2593
bdf92a1c
PM
25942010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2595
2596 PR breakpoints/11531.
2597 * gdb.base/gdb11531.c: New file.
2598 * gdb.base/gdb11531.exp: New file.
2599
3f172e24
TT
26002010-04-26 Tom Tromey <tromey@redhat.com>
2601
2602 * gdb.base/completion.exp: Add tests for completion and deprecated
2603 commands.
2604
64af4c92
JK
26052010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2606
2607 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2608 (print /x char_array): Escape curly brackets.
2609
492928e4
JK
26102010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2611
2612 Fix deadlock on looped list of loaded shared objects.
2613 * gdb.base/solib-corrupted.exp: New.
2614
66d09542
DE
26152010-04-23 Doug Evans <dje@google.com>
2616
2617 * gdb.python/py-section-script.c: New file.
2618 * gdb.python/py-section-script.exp: New file.
2619 * gdb.python/py-section-script.py: New file.
2620
8bd10a10
CM
26212010-04-20 Chris Moller <cmoller@redhat.com>
2622
2623 PR 10179
2624
2625 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2626 * gdb.base/pr10179-a.c:
2627 * gdb.base/pr10179-b.c:
2628 * gdb.base/pr10179.exp: New files.
2629
c0201579
JK
26302010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2631
2632 Fix crashes on dangling display expressions.
2633 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2634 is SEP.
2635 (lib_flags): Remove the "debug" keyword.
2636 (libsepdebug): New variable for iterating new loop.
2637 (save_pf_prefix): New variable wrapping the loop.
2638 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2639 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2640
793b0ff8
PM
26412010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2642
2643 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2644
097f51f7
PM
26452010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2646
2647 PR stabs/11479.
2648 * gdb.stabs/gdb11479.exp: New file.
2649 * gdb.stabs/gdb11479.c: New file.
2650
9a22f0d0
PM
26512010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2652
2653 * gdb.base/charset.c (Strin16, String32): New variables.
2654 * gdb.base/charset.exp (gdb_test): Test correct display
2655 of 16 or 32 bit strings.
2656
26572010-04-21 Chris Moller <cmoller@redhat.com>
0b66f317
CM
2658
2659 PR 9167
2660 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2661 * gdb.cp/pr9167.cc: New file.
2662 * gdb.cp/pr9167.exp: New file.
2663
2664
6e354e5e
PM
26652010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2666
2667 PR pascal/11492.
2668 * gdb.pascal/gdb11492.pas: New file.
2669 * gdb.pascal/gdb11492.exp: New file.
2670
be942545
JB
26712010-04-20 Joel Brobecker <brobecker@adacore.com>
2672
1667e6e3 2673 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
be942545 2674
0c3acc09
JB
26752010-04-20 Joel Brobecker <brobecker@adacore.com>
2676
2677 * gdb.ada/dyn_loc: New testcase.
2678
ec31cde5
CM
26792010-04-20 Chris Moller <cmoller@redhat.com>
2680
2681 PR 10867
889bf7c5 2682
ec31cde5
CM
2683 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2684 * gdb.cp/pr10687.cc: New file.
2685 * gdb.cp/pr10687.exp: New file.
2686
2687
ce4b0682
SDJ
26882010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2689 Sergio Durigan Junior <sergiodj@redhat.com>
2690
2691 * gdb.fortran/logical.exp: New testcase.
2692 * gdb.fortran/logical.f90: New file.
2693
3436961f
DE
26942010-04-19 Doug Evans <dje@google.com>
2695
2696 * gdb.base/help.exp (help source): Update expected output.
2697
4d836c09
JK
26982010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2699
2700 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2701 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2702 gdb_exit and return.
2703 (executable): New variable.
2704 (binfile): Use it.
2705
6149aea9
PA
27062010-04-19 Pedro Alves <pedro@codesourcery.com>
2707
2708 PR breakpoints/8554.
2709
2710 * gdb.trace/save-trace.exp: Adjust.
2711
ed41462c
L
27122010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2713
2714 PR corefiles/11511
2715 * gdb.arch/system-gcore.exp: New.
2716 * gdb.arch/gcore.c: Likewise.
2717
3f7b2faa
DE
27182010-04-15 Doug Evans <dje@google.com>
2719
fa33c3cd
DE
2720 * gdb.python/py-progspace.c: New file.
2721 * gdb.python/py-progspace.exp: New file.
2722
3f7b2faa
DE
2723 * gdb.base/source.exp: Add tests for "source -s".
2724
79f283fe
PM
27252010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2726
2727 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2728 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2729 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2730 * gdb.python/py-mi.exp: New test for to_string returning None.
2731
fc8eb08a
PM
27322010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2733
2734 * gdb.python/py-breakpoint.c: Make result global.
2735
26e197f6
JK
27362010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2737
2738 Fix non-GNU make compatibility.
2739 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2740
adc36818
PM
27412010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2742
2743 * gdb.python/py-breakpoint.exp: New File.
2744 * gdb.python/py-breakpoint.C: Ditto.
2745
64e17368
SS
27462010-04-08 Stan Shebs <stan@codesourcery.com>
2747
2748 * gdb.trace/actions.exp: Clear default-collect.
2749 * gdb.trace/save-trace.exp: Clear default-collect.
2750
fff5cc64
PM
27512010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2752
2753 * gdb.python/py-value: Add null string variable.
2754 (test_lazy_string): Test zero length, NULL address lazy
2755 strings.
2756
a055a187
L
27572010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2758
2759 * gdb.arch/i386-avx.c: New.
2760 * gdb.arch/i386-avx.exp: Likewise.
2761
2762 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2763
96e39866
DE
27642010-04-06 Doug Evans <dje@google.com>
2765
2766 * gdb.base/source-test.gdb: New file.
2767 * gdb.base/source.exp: Test source -v.
2768
5984a431
UW
27692010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2770
2771 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2772
ec8a089a
PM
27732010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2774
2775 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2776 within one line, unless it is followed by a double quote.
2777 * gdb.stabs/hppa.sed: Idem.
2778 * gdb.stabs/weird.def: Add char and String constants
889bf7c5
PA
2779 * gdb.stabs/weird.exp: Check for correct parsing of
2780 char and string constants.
ec8a089a
PM
2781 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2782 in .stabs to .stabx substitution.
2783
fce3c1f0
SS
27842010-04-05 Stan Shebs <stan@codesourcery.com>
2785
2786 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2787 constant global.
2788 * gdb.trace/tfile.exp: Try to print them.
2789
d77f58be
SS
27902010-04-04 Stan Shebs <stan@codesourcery.com>
2791
2792 * gdb.base/completion.exp: Update for new "info watchpoints".
2793 * gdb.base/default.exp: Ditto.
2794 * gdb.base/help.exp: Ditto.
2795 * gdb.base/watchpoint.exp: Ditto.
2796 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
889bf7c5 2797
af54718e
SS
27982010-04-04 Stan Shebs <stan@codesourcery.com>
2799
2800 * gdb.trace/tfile.exp: Sharpen tfind test.
2801
74d1f91e
JK
28022010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2803
2804 * gdb.base/break-entry.exp: New.
2805
eb8e76db 28062010-04-02 Hui Zhu <teawater@gmail.com>
889bf7c5 2807 Michael Snyder <msnyder@vmware.com>
eb8e76db
HZ
2808
2809 * gdb.reverse/i386-sse-reverse.exp: New file.
2810 * gdb.reverse/i386-sse-reverse.c: New file.
2811
bf65cad8
PA
28122010-04-02 Pedro Alves <pedro@codesourcery.com>
2813
2814 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2815
fff87407
SS
28162010-04-01 Stan Shebs <stan@codesourcery.com>
2817
2818 * gdb.trace/actions.exp: Tweak expected output.
2819 * gdb.trace/while-stepping.exp: Tweak expected output.
2820
fe01d668
L
28212010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2822
2823 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2824
86b17b60
PA
28252010-04-01 Pedro Alves <pedro@codesourcery.com>
2826
2827 * gdb.base/commands.exp: Adjust.
2828 * gdb.cp/extern-c.exp: Adjust.
2829
2c58c0a9
PA
28302010-04-01 Pedro Alves <pedro@codesourcery.com>
2831
2832 * gdb.trace/collection.c (local_test_func): Define a local struct,
2833 and instanciate it.
2834
0db9b91c
PA
28352010-04-01 Pedro Alves <pedro@codesourcery.com>
2836
2837 * gdb.trace/collection.exp (gdb_collect_args_test)
2838 (gdb_collect_argarray_test): XFAIL the tests that assume the
2839 argarray argument's elements are collected.
2840
8072405b
JK
28412010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2842
2843 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2844 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2845
8bf6485c
SS
28462010-03-31 Stan Shebs <stan@codesourcery.com>
2847
2848 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2849 and tracepoint conditionals.
2850 (gdb_verify_tracepoints): Delete unused return.
2851
fd7f724a
KS
28522010-03-26 Keith Seitz <keiths@redhat.com>
2853
2854 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2855 appear in the output before main.
2856 Remove KFAIL for gdb/2215 aka bz 9320.
2857
8d9e7719
DE
28582010-03-30 Doug Evans <dje@google.com>
2859
0906dd0b
DE
2860 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2861 by dejagnu.
2862 * gdb.arch/amd64-dword.exp: Ditto.
2863
8d9e7719
DE
2864 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2865 match.
2866 (break printf): Ditto.
2867
1da644f0
SW
28682010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2869
2870 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2871 gcc < 4.4.
2872 * gdb.cp/shadow.exp: Ditto.
2873
a8121990
PA
28742010-03-29 Pedro Alves <pedro@codesourcery.com>
2875
2876 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2877 "tstart" is silent.
2878
6e79d367
PA
28792010-03-29 Pedro Alves <pedro@codesourcery.com>
2880
2881 * gdb.trace/collection.exp (executable): New.
2882 (binfile): Use it.
2883 (fpreg, spreg, pcreg): New.
2884 (test_register): Use gdb_test_multiple. Pass /x to print.
2885 (prepare_for_trace_test): New.
2886 (run_trace_experiment): Use "continue", not gdb_run_cmd.
2887 (gdb_collect_args_test, gdb_collect_argstruct_test)
2888 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
2889 prepare_for_trace_test.
2890 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
2891 fpreg, spreg and pcreg.
2892 (gdb_collect_expression_test, gdb_collect_globals_test): Use
2893 prepare_for_trace_test.
2894 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
2895 try to detect tracing support here. Don't set breakpoints at
2896 `begin' or `end' here.
2897 <global scope>: Use clean_restart. Run to main before checking
2898 for tracing support. Check for for tracing support here.
2899
09248348
JK
29002010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2901
2902 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2903 " as $displacement" to "seen displacement message".
2904
d350db38
PA
29052010-03-28 Pedro Alves <pedro@codesourcery.com>
2906
2907 * gdb.trace/while-dyn.exp (executable): New variable.
2908 (binfile): Use it.
2909 (test_while_stepping): New function. Move most tests here. Call
2910 it once for each of the while-stepping, stepping and ws aliases.
2911
907af001
UW
29122010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2913
2914 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
2915 that do not provide the tagless_struct type name at all.
2916 (test_print_anon_union): Do not check value of uninitialized
2917 union member. Do not use cp_test_ptype_class, so we can accept
2918 "long" as well as "long int".
2919
610197fd
PA
29202010-03-26 Pedro Alves <pedro@codesourcery.com>
2921
2922 * gdb.trace/tfile.c (tohex, bin2hex): New.
2923 (write_error_trace_file): Hexify error description.
2924
6c28cbf2
SS
29252010-03-25 Stan Shebs <stan@codesourcery.com>
2926
2927 * gdb.trace/tfile.c: Generate an additional trace file, improve
2928 portability.
2929 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
2930 files in a better way.
2931
e62b8c7e
KS
29322010-03-25 Keith Seitz <keiths@redhat.com>
2933
2934 * gdb.java/jprint.exp: XFAIL printing of static class members
2935 because of GCC debuginfo problem.
2936
82ccf5a5
JK
29372010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2938
2939 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2940
293e2f9e
DJ
29412010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2942
2943 * gdb.base/completion.exp: Allow long instead of long int.
2944 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
2945 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
2946 variable p.
2947 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
2948 * gdb.base/pointers.exp: Allow long instead of long int.
2949 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
2950 * gdb.base/step-line.exp: Allow a directory before the source file name.
2951
95a42b64
TT
29522010-03-24 Tom Tromey <tromey@redhat.com>
2953
2954 PR breakpoints/9352:
2955 * gdb.base/default.exp: Update.
2956 * gdb.base/commands.exp: Update.
2957 * gdb.cp/extern-c.exp: Test setting commands on multiple
2958 breakpoints at once.
2959
2390201f
DJ
29602010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2961
2962 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
2963 if gdb,nosignals.
2964 * gdb.base/watchpoints.c: Do not include unnecessary headers.
2965 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
2966 exited".
2967
8c9a6790
SS
29682010-03-24 Stan Shebs <stan@codesourcery.com>
2969
2970 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
2971
a6c727b2
DJ
29722010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2973
2974 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
2975 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
2976 argument. Handle "short" and "long".
2977 (Top level): Pass overprototyped output for old_fptr and xptr.
2978
4dfd5423
PA
29792010-03-23 Pedro Alves <pedro@codesourcery.com>
2980
2981 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
2982 format strings and add casts to avoid compiler warnings.
2983
29842010-03-23 Vladimir Prus <vladimir@codesourcery.com>
a7bdde9e
VP
2985
2986 * lib/trace-support.exp (gdb_trace_setactions):
2987 Don't expect whitespace after ">" prompt.
2988 * gdb.trace/actions.exp: Adjust for output changes.
2989 * gdb.trace/while-stepping.exp: Likewise.
2990
c847d045
JK
29912010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2992
2993 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
2994 and r157645).
2995
5f717f1d
JK
29962010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2997
2998 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
2999 New.
3000
7d6d51d5
DJ
30012010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
3002
3003 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
3004 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
3005
3b11a015
SS
30062010-03-19 Stan Shebs <stan@codesourcery.com>
3007
3008 * gdb.trace/ax.exp: New file.
3009
d7d158ed
DE
30102010-03-19 Doug Evans <dje@google.com>
3011
6bb85cd1
DE
3012 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
3013 output from gcc.
3014
d7d158ed
DE
3015 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
3016 named /usr/sbin/prelink<foo>.
3017
4daf5ac0
SS
30182010-03-18 Stan Shebs <stan@codesourcery.com>
3019
3020 * gdb.trace/circ.exp: Test circular-trace-buffer.
3021 * gdb.trace/tfile.exp: Update tstatus test.
3022
e8d05480
JB
30232010-03-18 Joel Brobecker <brobecker@adacore.com>
3024
3025 * gdb.dwarf2/dw2-anonymous-func.S: New file.
3026 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
3027
441b986a
UW
30282010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3029
3030 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
3031
4247603b
PA
30322010-03-18 Pedro Alves <pedro@codesourcery.com>
3033
3034 * gdb.base/default.exp: Adjust the expected output of the finish
3035 and until commands when the inferior is not being run.
3036
13387711
SW
30372010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
3038
3039 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
3040 * gdb.cp/nsusing.exp: Ditto.
3041
6e31430b
TT
30422010-03-15 Tom Tromey <tromey@redhat.com>
3043
3044 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
3045 * gdb.cp/userdef.cc (operator==): New function.
3046 (main): New locals mem1, mem2.
3047
e2d69cb5
JZ
30482010-03-15 Jie Zhang <jie@codesourcery.com>
3049
3050 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
3051 Declare and use new loadtimeout variable.
3052
f572f0a9
DJ
30532010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
3054
3055 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
3056 Use gdb_load later.
3057
51f4c0b0
PA
30582010-03-14 Pedro Alves <pedro@codesourcery.com>
3059
3060 * gdb.base/solib-disc.c (main): Make format of fprintf a string
3061 literal. Add missing endlines to prints to stderr.
3062
1c809c68
TT
30632010-03-12 Tom Tromey <tromey@redhat.com>
3064
3065 PR c++/9708:
3066 * gdb.cp/m-static.exp: Add regression test.
3067 * gdb.cp/m-static.cc (method): New method.
3068 (main): Call it.
3069
00ae8fef
SW
30702010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
3071
3072 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
3073 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
3074
759f0f0b
PA
30752010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3076
21e24d21
PA
3077 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
3078
30792010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
3080
759f0f0b
PA
3081 * lib/gdb.exp (skip_stl_tests): New.
3082 (gdb_compile): Symbian needs -ldl.
3083 (shlib_target_file): New.
3084 (shlib_symbol_file): New.
3085 (gdb_load_shlibs): Use shlib_target_file.
3086 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
3087 * gdb.cp/exception.exp: Use skip_stl_tests.
3088 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
3089 * gdb.cp/try_catch.exp: Use skip_stl_tests.
3090 * gdb.cp/mb-templates.exp: Ditto.
3091 * gdb.base/commands.exp: Relax regexes.
3092 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
3093 shlib_target_file and shlib_symbol_file.
3094 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
3095 sections.
3096 * gdb.base/ending-run.exp: Accept E32Main for symbian.
3097 * gdb.base/solib-disc.exp: Use
3098 shlib_target_file and shlib_symbol_file.
3099 * gdb.base/unload.exp: Don't skip on symbian. Use
3100 shlib_target_file and shlib_symbol_file.
3101 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
3102
6a8f2671 31032010-03-12 Pedro Alves <pedro@codesourcery.com>
889bf7c5 3104
6a8f2671
PA
3105 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
3106 * gdb.trace/report.exp: Adjust for x86 and x86_64.
3107 Issue a tfind end before looking for a tracepoint frame.
3108 * gdb.trace/tfind.exp: Adjust tstatus output.
3109 Adjust disassembly output.
3110 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
3111
ccf26247
JK
31122010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3113
3114 * gdb.base/break-interp.exp: Create new displacement parameter value
3115 for the test_ld calls.
3116 (reach): New parameter displacement, verify its content. New push of
3117 pf_prefix "reach-$func:". Import global expect_out.
3118 (test_core): New parameter displacement, verify its content. New push
3119 of pf_prefix "core:". New command "set verbose on". Import global
3120 expect_out.
3121 (test_attach): New parameter displacement, verify its content. New
3122 push of pf_prefix "attach:". New command "set verbose on". Import
3123 global expect_out.
3124 (test_ld): New parameter displacement, pass it to the reach, test_core
3125 and test_attach calls and verify its content in the "ld.so exit" test.
3126 * gdb.base/prelink.exp: Remove gdb_exit and final return.
3127 (prelink): Update expected text, use gdb_test.
3128
e469c7fb
DE
31292010-03-10 Doug Evans <dje@google.com>
3130
3131 * gdb.base/checkpoint.exp: Fix comment.
3132 Lengthen timeout while doing >600 checkpoints test.
3133 Rename duplicate "kill all one" test to keep test names unique.
3134
60e1c644
PA
31352010-03-10 Pedro Alves <pedro@codesourcery.com>
3136
3137 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
3138
cec808ec
KS
31392010-03-08 Keith Seitz <keiths@redhat.com>
3140
889bf7c5
PA
3141 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
3142 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
3143 (dm_type_long): New function.
3144 (dm_type_unsigned_short): New function.
3145 (dm_type_unsigned_long): New function.
3146 (myint): New typedef.
3147 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
3148 long, unsigned shor and long, operator char*, and typedef.
3149 (test_lookup_operator_functions): Add operator char* test.
3150 (test_paddr_operator_functions): Likewise.
3151 (test_paddr_overloaded_functions): Use probe values for
3152 short, long, and unsigned short and long.
3153 (test_paddr_hairy_functions): If the demangler probe detected
3154 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
3155 demangler.
3156 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
3157 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
3158 and "print null_pmf".
3159 Add test "ptype a.*pmf".
3160 * gdb.cp/overload.exp: Allow optional "int" to appear with
3161 "short" and "long".
3162 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
3163 long expect value for men_overload1arg.
3164 Allow "int" to appear with "short" and "long".
3165 When testing "info break", add argument for main (void).
3166 Also allow "int" to appear with "short" and "long".
3167 Ditto with "unsigned" and "long long".
cec808ec
KS
3168 * gdb.java/jmain.exp: Do not enclose methods names in single
3169 quotes.
3170 * gdb.java/jmisc.exp: Likewise.
3171 * gdb.java/jprint.exp: Likewise.
3172 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
3173
3174 From Jan Kratochvil <jan.kratochvil@redhat.com>:
3175 * gdb.cp/exception.exp (backtrace after first throw)
3176 (backtrace after second throw): Allow a namespace before __cxa_throw.
3177 (backtrace after first catch, backtrace after second catch): Allow
3178 a namespace before __cxa_begin_catch.
3179
3180 * gdb.cp/cpexprs.exp: New file.
3181 * gdb.cp/cpexprs.cc: New file.
3182
3183 From Daniel Jacobowitz <dan@codesourcery.com>
3184 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
3185 to use string_to_regexp.
3186 (ctor, dtor): New functions. Use them to match constructor
3187 and destructor function types.
3188 (Top level): Use runto_main.
3189
f870a310
TT
31902010-03-05 Tom Tromey <tromey@redhat.com>
3191
3192 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
3193 gdb.target_charset.
3194 (pp_ns.to_string): Likewise.
3195
0c199f28
KS
31962010-03-04 Keith Seitz <keiths@redhat.com>
3197
3198 * gdb.cp/overload.exp: Test that the filename portion of a linespec
3199 can be quoted. Test that both the filename and function/line
3200 portions can be quoted at the same time.
3201
c7437ca6
PA
32022010-03-04 Pedro Alves <pedro@codesourcery.com>
3203
3204 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
3205
b111b805
DE
32062010-03-03 Doug Evans <dje@google.com>
3207
24486cb7
DE
3208 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
3209 libc contains libpthread.
3210
b111b805
DE
3211 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
3212 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
3213 of gdb_compile. Add another pattern to match android backtrace.
3214
a0e0ef55
TT
32152010-03-03 Tom Tromey <tromey@redhat.com>
3216
3217 PR gdb/11345:
3218 * gdb.base/printcmds.exp (test_printf): Add test.
3219
1ba53b71
L
32202010-03-02 H.J. Lu <hongjiu.lu@intel.com>
3221
3222 * gdb.arch/amd64-byte.exp: New.
3223 * gdb.arch/amd64-dword.exp: Likewise.
3224 * gdb.arch/amd64-pseudo.c: Likewise.
3225 * gdb.arch/amd64-word.exp: Likewise.
3226 * gdb.arch/i386-byte.exp: Likewise.
3227 * gdb.arch/i386-pseudo.c: Likewise.
3228 * gdb.arch/i386-word.exp: Likewise.
3229
f5dff777
DJ
32302010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
3231
3232 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
3233 types. Add structreg, bitfields, and flags registers.
3234 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
3235 registers.
3236
90884b2b
L
32372010-03-01 H.J. Lu <hongjiu.lu@intel.com>
3238
3239 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
3240 (load_description): Set architecture if defined.
3241
dc00d89f
PM
32422010-02-28 Phil Muldoon <pmuldoon@redhat.com>
3243
3244 * gdb.python/py-frame.exp: Add read_var block tests.
3245 * gdb.python/py-frame.c (block): New function.
3246
0e095b7e
JK
32472010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3248 Daniel Jacobowitz <dan@codesourcery.com>
3249
3250 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
3251
624f1a65
DM
32522010-02-25 David S. Miller <davem@davemloft.net>
3253
3254 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
3255 fix logic for setting all_syscalls_numbers.
3256
f3e9a817
PM
32572010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3258
3259 * Makefile.in: Add py-block and py-symbol.
3260 * gdb.python/py-symbol.exp: New File.
3261 * gdb.python/py-symtab.exp: New File.
3262 * gdb.python/py-block.exp: New File.
3263 * gdb.python/py-symbol.c: New File.
3264 * gdb.python/py-block.c: New File.
3265
f6bbabf0
PM
32662010-02-24 Phil Muldoon <pmuldoon@redhat.com>
3267
3268 PR python/11314
3269 * lib/gdb.exp (skip_python_tests): New function.
3270 * gdb.python/py-cmd.exp: Use skip_python_tests.
3271 * gdb.python/py-frame.exp: Likewise.
3272 * gdb.python/py-function.exp: Likewise.
3273 * gdb.python/py-prettyprint.exp: Likewise.
3274 * gdb.python/py-template.exp: Likewise.
3275 * gdb.python/py-type.exp: Likewise.
3276 * gdb.python/py-value.exp: Likewise.
3277
85d721b8
PA
32782010-02-22 Pedro Alves <pedro@codesourcery.com>
3279
3280 PR9605
3281
3282 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
3283
48e32051
TT
32842010-02-19 Tom Tromey <tromey@redhat.com>
3285
3286 PR c++/8693, PR c++/9496:
3287 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
3288 regression tests.
3289
ac9c0048
JK
32902010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3291
3292 Fix compatibility with m68k as.
3293 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
3294 Use only /* comments */.
3295
57bb97a4
UW
32962010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3297
3298 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
3299 * configure: Regenerate.
3300
7d1bf85c
DJ
33012010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
3302
3303 * gdb.python/py-type.exp: Check for Python support.
3304
061b5285
PA
33052010-02-17 Pedro Alves <pedro@codesourcery.com>
3306
3307 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
3308 `regsub' syntax available.
3309
f8a8bc2c
PA
33102010-02-17 Pedro Alves <pedro@codesourcery.com>
3311
3312 * gdb.base/shmain.c (main): Remove printf call.
3313 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
3314 * gdb.base/unload.c (main): Make format of fprintf a string
3315 literal. Add missing endlines to prints to stderr.
3316 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
3317
6f451e5e
TT
33182010-02-17 Tom Tromey <tromey@redhat.com>
3319
3320 * gdb.java/jprint.java (jprint.props): New field.
3321 * gdb.java/jprint.exp (set_lang_java): Add regression test.
3322
12d79008
PA
33232010-02-17 Pedro Alves <pedro@codesourcery.com>
3324
ef801a0e 3325 * gdb.base/charset.exp: Don't assume new `regsub' syntax
12d79008
PA
3326 available.
3327
d252f7e5
DJ
33282010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3329
3330 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
3331 creation to support remote host testing.
3332
67bdab6c
DJ
33332010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3334
3335 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
3336 Recognize "command not found".
3337
bb391223
DJ
33382010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3339
3340 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
3341 single-stepping.
3342
70362913
DJ
33432010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3344
3345 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
3346 if arguments are not supported.
3347
493f3c00
DJ
33482010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3349
3350 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
3351 be const or non-const.
3352
8034c749
DJ
33532010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3354
3355 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
3356 mi_send_resuming_command to send -exec-continue.
3357
791dfb64
DJ
33582010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3359
3360 * gdb.base/list.exp (test_list_filename_and_function): Add test
3361 with single quotes.
3362 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
3363 matching.
3364 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
3365 Add KFAIL'd tests for PR gdb/11289.
3366
7c5fe868
DJ
33672010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3368
3369 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
3370
fdc498b8
DJ
33712010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3372
3373 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3374 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3375 a temporary directory.
3376
b519e2a6
DJ
33772010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3378
3379 * gdb.base/charset.exp: Use a single regular expression to match
3380 show host-charset and show target-charset output.
3381
74164c56
JK
33822010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3383
3384 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3385 "Illegal process-id" expect string more exact.
3386 (attach to digits-starting nonsense is prohibited): New.
3387
701ed6dc
JK
33882010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3389
3390 * gdb.base/prelink.exp (set verbose on): New.
3391
889bf7c5 33922010-02-12 Tomas Holmberg <th@virtutech.com>
fa19b4e5
MS
3393
3394 * mi-reverse.exp: New file. Test for reverse option to the
3395 following MI commands: exec-continue, exec-finish, exec-next,
3396 exec-step, exec-next-instruction, exec-step-instruction.
889bf7c5 3397
dadf0e9c
JB
33982010-02-09 Joel Brobecker <brobecker@adacore.com>
3399
3400 * gdb.ada/ptype_tagged_param: New testcase.
3401
714f19d5
TT
34022010-02-08 Tom Tromey <tromey@redhat.com>
3403
3404 PR c++/8017:
3405 * gdb.cp/overload.exp: Add tests.
3406 * gdb.cp/overload.cc (struct K): New.
3407 (namespace N): New.
3408 (main): Call new functions.
3409 (K::staticoverload): Define.
3410
889bf7c5 34112010-02-08 Chris Moller <moller@mollerware.com>
83b10087
CM
3412
3413 PR gdb/10728
3414 * gdb.cp/pr10728-x.h: New file.
3415 * gdb.cp/pr10728-x.cc: New file.
3416 * gdb.cp/pr10728-y.cc: New file.
3417 * gdb.cp/pr10728.exp: New file.
3418 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3419
889bf7c5 34202010-02-08 Chris Moller <moller@mollerware.com>
99903ae3
CM
3421
3422 PR gdb/9067
3423 * gdb.cp/pr9067.exp: New
3424 * gdb.cp/pr9067.cc: New
3425 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3426
7b356089
JB
34272010-02-08 Joel Brobecker <brobecker@adacore.com>
3428
3429 * lib/gdb.exp (gdb_test_timeout): New global variable.
3430 Set it to timeout if not already set.
3431 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3432
1be00882
DE
34332010-02-05 Doug Evans <dje@google.com>
3434
3435 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3436 user.
3437
82856980
SW
34382010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3439
3440 PR c++/7935:
3441 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3442
1a334831
TT
34432010-02-04 Tom Tromey <tromey@redhat.com>
3444
3445 * gdb.cp/virtbase.exp: Make test case names unique.
3446
9c3c02fd
TT
34472010-02-02 Tom Tromey <tromey@redhat.com>
3448
3449 * gdb.cp/virtbase.exp: Add regression tests.
3450 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3451 (main): Instantiate RHC.
3452
0cc2414c
TT
34532010-02-02 Tom Tromey <tromey@redhat.com>
3454
3455 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3456 type-printing change.
3457
edf3d5f3
TT
34582010-02-02 Tom Tromey <tromey@redhat.com>
3459
3460 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3461 * gdb.cp/virtbase.cc: New file.
3462 * gdb.cp/virtbase.exp: New file.
3463 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3464
e4b7f41c
JK
34652010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3466
3467 PR libc/11214:
3468 * gdb.threads/current-lwp-dead.c: Include features.h.
3469 (HAS_NOMMU): New.
3470 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3471
b381ea14
JK
34722010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3473
3474 * gdb.base/symbol-without-target_section.exp,
3475 gdb.base/symbol-without-target_section.c: New.
3476
c593ac0e
DJ
34772010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3478
3479 * gdb.base/bigcore.exp: Reset increased timeout.
3480 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3481
db25f29d
DJ
34822010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3483
3484 * gdb.base/gcore.exp (capture_command_output): Use
3485 gdb_test_multiple.
3486
f9d67f43
DJ
34872010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3488
3489 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3490 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3491 (Top level): Call it.
3492
177321bd
DJ
34932010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3494
3495 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3496
97f2ed50
DJ
34972010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3498
3499 * gdb.base/call-strs.exp, gdb.base/default.exp,
3500 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3501 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3502 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3503 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3504 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3505 * gdb.base/ending-run.exp: Correct restore of timeout.
3506 * gdb.base/page.exp: Remove unnecessary timeout setting.
3507
e4e2711a
JB
35082010-01-29 Joel Brobecker <brobecker@adacore.com>
3509
3510 * gdb.ada/rec_return: New testcase.
3511
ba581dc1
JB
35122010-01-29 Joel Brobecker <brobecker@adacore.com>
3513
3514 * gdb.ada/call_pn: New testcase.
3515
4ea95be9
DJ
35162010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3517
3518 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3519 (Top level): Use it to resume.
3520 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3521 the Thumb mode displaced stepping error as unsupported.
3522
df83a9bf
SW
35232010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3524
889bf7c5
PA
3525 * gdb.cp/nsusing.exp: Added more tests.
3526 * gdb.cp/nsrecurs.exp: Ditto.
3527 * gdb.cp/nsusing.cc: Added test functions.
3528 * gdb.cp/nsrecurs.cc: Ditto.
df83a9bf 3529
40b27cdc
JK
35302010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3531
3532 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3533 absolute directory pathnames in gdb.sum file.
3534
de958931
SW
35352010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3536
3537 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3538 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3539
708ead4e
TT
35402010-01-26 Tom Tromey <tromey@redhat.com>
3541
3542 PR exp/7643:
3543 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3544 setup_kfail.
3545
b14e635e
SW
35462010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3547
3548 * gdb.cp/nsrecurs.exp: New test.
3549 * gdb.cp/nsrecurs.cc: New test program.
3550 * gdb.cp/nsstress.exp: New test.
3551 * gdb.cp/nsstress.cc: New test program.
3552 * gdb.cp/nsdecl.exp: New test.
3553 * gdb.cp/nsdecl.cc: New test program.
3554
8540c487
SW
35552010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3556
3557 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3558 imported into file scope.
3559 Marked test as xfail.
3560 * gdb.cp/namespace-using.cc (marker5): New function.
3561 * gdb.cp/shadow.exp: New test.
3562 * gdb.cp/shadow.cc: New test program.
3563 * gdb.cp/nsimport.exp: New test.
3564 * gdb.cp/nsimport.cc: New test program.
3565
421d5d99
TT
35662010-01-25 Tom Tromey <tromey@redhat.com>
3567
3568 PR gdb/11049:
3569 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3570 with "set print null-stop on".
3571
691f8dc1
JK
35722010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3573
3574 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3575 Adjust it for DISASSEMBLY_OMIT_FNAME.
3576
0b92b5bb
TT
35772010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3578
3579 PR symtab/11199:
3580 * gdb.dwarf2/member-ptr-forwardref.exp,
3581 gdb.dwarf2/member-ptr-forwardref.S: New.
3582
23787403
JK
35832010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3584
3585 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3586 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3587 thread1_tid_mutex. Remove gdbstop_mutex handling.
3588 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3589 thread2_tid_mutex. Remove gdbstop_mutex handling.
3590 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3591 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3592 pthread_cond_wait conditionalizations by while loops.
3593
b966cb8a
TT
35942010-01-20 Tom Tromey <tromey@redhat.com>
3595
3596 PR backtrace/10770:
3597 * gdb.dwarf2/pr10770.exp: New file.
3598 * gdb.dwarf2/pr10770.c: New file.
3599 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3600
fcae584b
VP
36012010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3602
3603 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3604 that target was removed, and the test always runs native anyway.
3605
a0f49112
JK
36062010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3607
3608 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3609 gdb.base/watchpoint-cond-gone-stripped.c: New.
3610
ceeb3d5a
TT
36112010-01-19 Tom Tromey <tromey@redhat.com>
3612
3613 PR c++/8000:
3614 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3615 existing tests.
3616 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3617 (main): Use AAA::SomeEnum.
3618
dd322c54
JK
36192010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3620
3621 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3622 (test_ignore_count): Declare line_callme_body global.
3623 (run to breakpoint with ignore count): Use line_callme_body.
3624 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3625 (set line_main_hello, set line_main_return): Reindent.
3626 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3627 New.
3628 (continue to callee4): Use line_callee4_body.
3629 (check *stopped from CLI command): Use line_callee4_next.
3630 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3631 (set line_main_hello, set line_main_return): Reindent.
3632 (set line_callee4_head, set line_callee4_body): New.
3633 (continue to callee4): Use line_callee4_body.
3634
4e8f195d
TT
36352010-01-18 Tom Tromey <tromey@redhat.com>
3636
3637 PR c++/9680:
3638 * gdb.cp/casts.cc: Add new classes and variables.
3639 * gdb.cp/casts.exp: Test new operators.
3640
9e14a9ba
JB
36412010-01-18 Tom Tromey <tromey@redhat.com>
3642 Thiago Jung Bauermann <bauerman@br.ibm.com>
3643
3644 * gdb.python/source2.py: New file.
3645 * gdb.python/source1: New file.
3646 * gdb.python/python.exp: Test "source" command.
3647
00bf0b85
SS
36482010-01-15 Stan Shebs <stan@codesourcery.com>
3649
3650 * gdb.trace/tfile.c: New file.
3651 * gdb.trace/tfile.exp: New file.
889bf7c5 3652
55235ad7
JK
36532010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3654
3655 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3656
9f2982ff
JK
36572010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3658
3659 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3660
bbfba9ed
JK
36612010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3662
3663 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3664 (libfunc): New parameter action. Implement also selectable "sleep".
3665 * gdb.base/break-interp-main.c: Include assert.h.
3666 (libfunc): New parameter action.
3667 (main): New parameters argc and argv. Assert argc. Pass argv.
3668 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3669 (test_attach): New proc.
3670 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3671 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3672
61f0d762
JK
36732010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3674
3675 * gdb.base/break-interp.exp (test_core): New proc.
3676 (test_ld): Call it.
3677
06a6f270
JK
36782010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3679
3680 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3681 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3682 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3683 and gdb_compile_shlib. Use new -Wl compiler options.
3684 (dl bt, main bt): New tests.
3685
51bee8e9
JK
36862010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3687
3688 Support PIEs with no symfile_objfile.
3689 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3690 (test_ld): New parameter trynosym.
3691 (test_ld <$trynosym>): New block.
3692
b8040f19
JK
36932010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3694
3695 * gdb.base/break-interp.exp: New file.
3696
be759fcf
PM
36972010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3698
3699 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3700 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3701 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3702 test.
3703 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3704 * gdb.python/py-mi.exp: Add lazy string test.
3705
dc146f7c
VP
37062010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3707
3708 * lib/mi-support.exp (mi_check_thread_states): Handle
3709 core number in thread listing.
3710
b4ba55a1
JB
37112010-01-12 Joel Brobecker <brobecker@adacore.com>
3712
3713 * gdb.base/maint.exp: Adjust the expected output for the
3714 "maint print type" test. Use gdb_test_multiple instead of
3715 gdb_sent/gdb_expect.
3716
08e24bd4
DE
37172010-01-11 Doug Evans <dje@google.com>
3718
6496a609
DE
3719 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3720 from gdbserver_download. All callers updated.
3721
08e24bd4
DE
3722 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3723
b5cfddf5
JK
37242010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3725
3726 Implement binary numbers parsing.
3727 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3728 (test_integer_literals_rejected): New binary tests.
3729
3725885a
RW
37302010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3731
3732 * gdb.cell/configure: Regenerate.
3733
37aeb5df
JK
37342010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3735
3736 * gdb.base/corefile.exp: Move the core finding block out and call it as
3737 core_find, new variable $corefile, replace corefile by $corefile and
3738 [file tail $corefile] for usage vs. test names resp.
3739 * lib/gdb.exp (core_find): Move it as a new function here. New
3740 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3741 $destcore. Return "" on error.
3742
d521f563
JK
37432010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3744
3745 Workaround PR binutils/10802.
3746 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3747 (twice).
3748
28f24826
DJ
37492010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3750
3751 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3752
2de75e71
JB
37532010-01-08 Joel Brobecker <brobecker@adacore.com>
3754
3755 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3756 call, to avoid interruption.
3757
fe00719b 37582010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
d24d8548
JK
3759
3760 * gdb.stabs/weird.def (args93): New.
3761
d0ef5df8
DE
37622010-01-07 Doug Evans <dje@google.com>
3763
3764 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3765
3a08d52f
TT
37662010-01-07 Tom Tromey <tromey@redhat.com>
3767
3768 * gdb.base/source.exp: Use correct line number.
3769
7a697b8d
SS
37702010-01-05 Stan Shebs <stan@codesourcery.com>
3771
3772 * gdb.trace/tracecmd.exp: Test ftrace.
3773
7803799a
UW
37742010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3775
3776 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3777
c54eabfa
JK
37782010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3779
3780 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3781 "uint_for_mi_testing".
3782
02e7ef19
JB
37832010-01-01 Joel Brobecker <brobecker@adacore.com>
3784
3785 Test indented comment in file being sourced.
3786 * gdb.base/commands.exp: Test indented comment in file being sourced.
3787
abd775ce
JB
37882010-01-01 Joel Brobecker <brobecker@adacore.com>
3789
3790 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3791 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3792 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3793 notice.
3794
79b55b82
JB
37952010-01-01 Joel Brobecker <brobecker@adacore.com>
3796
3797 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3798 notice.
3799
8997583e
JK
38002010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3801
3802 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3803 missing $after_stopped and comma (,) expectation.
3804
6da95a67
SS
38052009-12-31 Stan Shebs <stan@codesourcery.com>
3806
3807 * gdb.trace/actions.exp: Test teval action.
889bf7c5 3808
218d2fc6
TJB
38092009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3810
3811 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3812 (top level): Call test_watchpoint_in_big_blob.
3813 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3814 watchpoints.
3815 (func3): Write to buf.
3816
236f1d4d
SS
38172009-12-29 Stan Shebs <stan@codesourcery.com>
3818
3819 * gdb.trace/actions.exp: Test default-collect.
889bf7c5 3820
f61e138d
SS
38212009-12-28 Stan Shebs <stan@codesourcery.com>
3822
3823 * gdb.trace/tsv.exp: New file.
3824 * gdb.base/completion.exp: Update ambiguous info output.
889bf7c5 3825
0219b378
DJ
38262009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3827
3828 * gdb.base/find.c (main): Reference search buffers.
3829 * gdb.base/included.c (main): Reference integer.
3830 * gdb.base/ptype.c (charfoo): Declare.
3831 (intfoo): Call charfoo.
3832 * gdb.base/scope0.c (useitp): New function.
3833 (usestatics): Use useitp.
3834 (useit): Add a type for val.
3835 * gdb.base/scope1.c (useit1): Take a pointer argument.
3836 (usestatics1): Update calls to useit1.
3837 * gdb.cp/call-c.cc: Declare foo.
3838 (main): Call foo.
3839 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3840 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3841 (main): Call C::ensureRefs and ensureOtherRefs.
3842 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3843 variables.
3844 (ensureOtherRefs): New function.
3845 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3846 * gdb.cp/templates.cc (main): Call t5i.value.
3847
3f78692f
JK
38482009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3849
3850 Fix compatibility with G++-4.5.
3851 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3852 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3853 (uncaught return): Remove.
3854
429374b8
JK
38552009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3856 Phil Muldoon <pmuldoon@redhat.com>
3857
3858 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3859 (bp_location13, bp_location14, bp_location17, bp_location18)
3860 (marker3_proto, marker4_proto): New variables.
3861 (breakpoint info): Update output.
3862 (run until breakpoint at marker3, run until breakpoint at marker4): New
3863 tests.
3864
859825b8
JK
38652009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3866
3867 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
3868 Replace the printf call of Y by provided "y-set-1" label. New block
3869 for the second shared library.
3870 * gdb.base/unload.exp: Compile also the second library, call
3871 gdb_load_shlibs also for it. Use now gdb_breakpoint.
3872 (single pending breakpoint info): Rename to ...
3873 (pending breakpoint info before run): ... this extended test.
3874 (libfile2, libname2, libsrcfile2, libsrc2)
3875 (lib_sl2): New variables.
3876 (exec_opts): Set also SHLIB_NAME2.
3877 (pending breakpoint info on first run at shrfunc1)
3878 (pending breakpoint info on second run at shrfunc1)
3879 (pending breakpoint info on second run at shrfunc2)
3880 (print y from libfile, print y from libfile2): New tests.
3881 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
3882 * gdb.base/unloadshr2.c: New.
3883
e6a386cd
HZ
38842009-12-22 Hui Zhu <teawater@gmail.com>
3885
3886 * gdb.reverse/sigall-reverse.exp: Adjust.
3887
9e19b45e
VP
38882009-12-21 Vladimir Prus <vladimir@codesourcery.com>
3889
3890 PR gdb/10884
3891
3892 * gdb.mi/var-cmd.c (do_bitfield_tests): New
3893 (main): Call do_bitfield_tests.
aacf5b1e 3894 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
9e19b45e 3895
d53a7b30
JB
38962009-12-20 Joel Brobecker <brobecker@adacore.com>
3897
3898 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
3899 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
3900 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
3901 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
3902 gdb.modula2/unbounded1.c: Update copyright header.
3903
191ca0a1
CM
39042009-12-10 Chris Moller <moller@mollerware.com>
3905
3906 PR gdb/9399
3907 * gdb.cp/virtfunc2.exp: New tests
3908 * gdb.cp/virtfunc2.cc: New tests
3909 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3910
0fa6cf1b
MS
39112009-12-10 Oza Pawandeep (paawan1982@yahoo.com
3912
3913 * gdb.reverse/i387-env-reverse.c: New file.
3914 * gdb.reverse/i387-env-reverse.exp: New file.
3915 * gdb.reverse/i387-stack-reverse.c: New file.
3916 * gdb.reverse/i387-stack-reverse.exp: New file.
3917
361ae042
PM
39182009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3919
3920 * gdb.python/py-type.exp (test_range): New test.
3921
bfd31e71
PM
39222009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3923
3924 PR python/10805
3925
3926 * gdb.python/py-type.exp: New file.
3927 * gdb.python/py-type.c: New file.
3928 * Makefile.in: Add py-type.
3929
57a1d736
TT
39302009-12-03 Tom Tromey <tromey@redhat.com>
3931
3932 * gdb.python/py-value.exp (test_parse_and_eval): New
3933 function.
3934
1f3b5d1b
PP
39352009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3936
3937 PR gdb/11022
3938
3939 * gdb.base/pr11022.exp: New test.
889bf7c5
PA
3940 * gdb.base/pr11022.c: New test.
3941
8b7dbdc9
JK
39422009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3943
3944 Fix spurious false FAILs.
3945 * gdb.base/structs.c (chartest): New.
3946 (main): Fill-in chartest.
3947 * gdb.base/structs.exp (anychar_re, first): New.
3948 (start_structs_test): Import global anychar_re and first.
3949 New gdb_test call "set print elements 300; ${testfile}"
3950 (start_structs_test <$first>): New block.
3951 (any): Import global anychar_re. New variable ac. Use ${ac}.
3952
6a53b2ec
JK
39532009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3954
3955 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
3956
d7167b4c
JK
39572009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3958
3959 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
3960 Force $srcfile file.
3961 * gdb.base/foll-fork.c (callee): Comment out the printf call.
3962
b1798462
UW
39632009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3964
3965 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
3966 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3967 * gdb.threads/watchthreads-reorder.exp: Likewise.
3968
b6199126
DJ
39692009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
3970
3971 PR gdb/8704
3972
3973 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
3974 "if", and "thread". Correct matching in the previous test.
3975
b22a0510
DJ
39762009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
3977
3978 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
3979
930636d2
MS
39802009-11-23 Michael Snyder <msnyder@vmware.com>
3981
3982 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
3983 * gdb.reverse-watch-precsave.exp: Ditto.
3984
21a0512e
PP
39852009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
3986
3987 * gdb.asm/asm-source.exp: Adjust.
3988 * gdb.base/help.exp: Adjust.
889bf7c5 3989
fc30d5e0
PA
39902009-11-22 Pedro Alves <pedro@codesourcery.com>
3991
3992 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
3993 (do_syscall_tests_without_xml): Set data-directory to
3994 /the/path/to/nowhere.
3995
f6bc2008
PA
39962009-11-21 Pedro Alves <pedro@codesourcery.com>
3997
3998 * gdb.threads/local-watch-wrong-thread.c,
3999 gdb.threads/local-watch-wrong-thread.exp: New files.
4000
8c2fb5de
PA
40012009-11-21 Pedro Alves <pedro@codesourcery.com>
4002
4003 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
4004 assume new `regsub' syntax available.
4005
ebec9a0f
PA
40062009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4007
a79d3c27
JK
4008 * gdb.base/watchpoint-hw-hit-once.exp,
4009 gdb.base/watchpoint-hw-hit-once.c: New.
4010
40112009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4012
4013 * gdb.threads/watchthreads-reorder.exp,
4014 gdb.threads/watchthreads-reorder.c: New.
ebec9a0f 4015
276a961b
MK
40162009-11-17 Nathan Sidwell <nathan@codesourcery.com>
4017
4018 * gdb.xml/tdesc-regs.exp: Use for m68k.
4019
4867c1fb
PA
40202009-11-15 Pedro Alves <pedro@codesourcery.com>
4021
4022 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
4023
f6838f81
DJ
40242009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4025
4026 * lib/gdb.exp (current_target_name): New procedure.
4027 (gdb_wrapper_target): New variable.
4028 (gdb_wrapper_init): Set gdb_wrapper_target.
4029 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
4030 wrapper.
4031
4ac4dd3f
DJ
40322009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4033
4034 * gdb.base/remote.exp: Delete the slowest load test.
4035 Do not load with fixed packet sizes.
4036
a7881759
DJ
40372009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4038
4039 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
4040
97a5b505
DJ
40412009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4042
4043 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
4044 srcfile when setting a breakpoint.
4045
d3e1fc54
DJ
40462009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
4047
4048 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
4049 macros.
4050
7cbcbded
DJ
40512009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
4052
4053 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
4054 to be in memory.
4055 * gdb.base/display.c (force_mem): New.
4056 (do_loops): Use it. Add breakpoint comments.
4057 (do_vars): Add a breakpoint comment.
4058 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
4059 line numbers.
4060
bdea3a92
NF
40612009-11-13 Nathan Froyd <froydnj@codesourcery.com>
4062
4063 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
4064 instead of a bare "run".
4065
269f82e5
PP
40662009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4067
4068 * gdb.python/py-prettyprint.exp: Adjust.
889bf7c5 4069
a69b7d9d
DJ
40702009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4071
4072 * lib/cell.exp (skip_cell_tests): Clean up test files before
4073 returning.
4074
b598bfda
DJ
40752009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4076
4077 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
4078 and the breakpoint menu. Do not call perror if a prompt is seen.
4079 Consume the following GDB prompt.
4080 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
4081 * gdb.cp/namespace.exp: Use gdb_test.
4082 * gdb.cp/templates.exp: Use gdb_test.
4083 (test_template_breakpoints): Use gdb_test_multiple.
4084
87728fa0
DJ
40852009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4086
4087 * gdb.base/break1.c (struct some_struct, values): Move earlier.
4088 (marker4): Reference values.
4089
b67c692f
DJ
40902009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4091
4092 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
4093 is missing.
4094
f0df251a
DJ
40952009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4096
4097 * gdb.base/break.c (need_malloc): New.
4098 * gdb.base/constvars.c (main): Reference crass and crisp.
4099 * gdb.base/gdb1821.c (main): Reference bar.
4100 * gdb.cp/gdb1355.cc (main): Reference s1.
4101 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
4102 (main): Call them.
4103 * gdb.cp/hang2.cc (dummy2): Define.
4104 * gdb.cp/hang3.cc (dummy3): Define.
4105 * gdb.cp/m-data.cc (main): Reference shadow.
4106
bdf7534a
NF
41072009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
4108 Nathan Froyd <froydnj@codesourcery.com>
4109
4110 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
4111 remote host.
4112
f24fce77
NF
41132009-11-12 Nathan Froyd <froydnj@codesourcery.com>
4114
4115 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
4116 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
4117 * gdb.dwarf2/dw2-compressed.exp: Likewise.
4118 * gdb.dwarf2/dw2-intercu.exp: Likewise.
4119 * gdb.dwarf2/dw2-intermix.exp: Likewise.
4120 * gdb.dwarf2/dw2-producer.exp: Likewise.
4121 * gdb.dwarf2/mac-fileno.exp: Likewise.
4122 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
4123 py-prettyprint.py to the remote host.
4124 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
4125
40f0318e
KS
41262009-11-11 Keith Seitz <keiths@redhat.com>
4127
4128 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
4129 use it instead of "Foo".
4130 * gdb.cp/classes.exp (do_tests): Add a test to access
4131 a method through a typedef'd class name.
4132
f3d9f7fb
NF
41332009-11-11 Nathan Froyd <froydnj@codesourcery.com>
4134
4135 * gdb.base/long_long.exp: Permit leading zeros on floating-point
4136 exponents.
4137 * gdb.base/pointers.exp: Likewise.
4138 * gdb.cp/ref-types.exp: Likewise.
4139
a4216f37
KS
41402009-11-11 Keith Seitz <keiths@redhat.com>
4141
4142 * gdb.cp/cplusfuncs.cc (class foo): Add operators
4143 new[] and delete[].
4144 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
4145 "void".
4146 (probe_demangler): Remove all single-quoting of
4147 method and variable names.
4148 (info_func_regexp): Remove the word "void" from any
4149 occurrence of "(void)".
4150 (print_addr_2): Remove all single-quoting of
4151 method names.
4152 (print_addr_2_kfail): Likewise.
4153 (print_addr): Single-quote C function names before
4154 passing to print_addr_2.
4155 (test_paddr_operator_functions): Remove single-quoting
4156 for method names.
4157 Add tests for operator new[] and operator delete[].
4158
9b14d7aa
JK
41592009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4160
4161 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
4162
85feb311
KS
41632009-11-09 Keith Seitz <keiths@redhat.com>
4164
4165 * gdb.cp/overload.exp: Add tests for resolving overloaded
4166 methods in expression parsing/evaluation.
4167
fa335448
DJ
41682009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
4169
4170 * lib/gdb.exp (default_gdb_version): Use --version instead of
4171 --command.
4172
ec3c07fc
NS
41732009-11-10 Nathan Sidwell <nathan@codesourcery.com>
4174
4175 * lib/gdb.exp (gdb_compile_test): New.
4176 (skip_ada_tests, skip_java_tests): New.
4177 (gdb_compile): Use gdb_compile_test for f77.
4178 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
4179 * lib/java.exp (compile_java_from_source): Remove runtests check,
4180 use gdb_compile_test to record result.
4181 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
4182 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
4183 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
4184 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
4185 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
4186 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
4187 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
4188 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
4189 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
4190 adjust gdb_compile invocations.
4191
b8b4e42b
JK
41922009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4193
4194 * Makefile.in (abs_builddir): New.
4195 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
4196 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
4197 `$(abs_builddir)/site.exp'.
4198
f8b7eaf3
DJ
41992009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
4200
4201 * config/m68k-emc.exp, lib/emc-support.exp,
4202 gdb.trace/gdb_c_test.c: Delete.
4203 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
4204 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
4205 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4206 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
4207 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4208 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
4209 casing for m68k-*-elf.
4210
c4187697
NS
42112009-11-03 Pedro Alves <pedro@codesourcery.com>
4212
4213 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
4214 * gdb.arch/i386-prologue.exp: Likewise.
4215 * gdb.arch/i386-unwind.exp: Likewise.
4216
db16b772
DJ
42172009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4218
4219 * lib/gdb.exp (gdb_expect): Fix timeout typo.
4220
bcf71277
DJ
42212009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4222
4223 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
4224
0105cee2
DJ
42252009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
4226
4227 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
4228
24ddea62
JK
42292009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4230
4231 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
4232
287ccc17
JK
42332009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4234
4235 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
4236 * gdb.base/sepdebug2.c: New file.
4237
08bca259 42382009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
bccd0dd2
SDJ
4239
4240 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
4241 the modified warnings for catch syscall. Verify if GDB was compiled
4242 with support for lib expat, and choose which tests to run depending
4243 on this.
4244
5d4e2b76
VP
42452009-10-30 Vladimir Prus <vladimir@codesourcery.com>
4246
4247 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
4248 that composite commands are parsed OK. And also test
4249 that breakpoint commands do work.
4250
240e538a
MS
42512009-10-23 Michael Snyder <msnyder@vmware.com>
4252
4253 gdb.reverse/consecutive-precsave.exp: Change expect pattern
4254 to allow for new disassembly style.
4255
9c419145
PP
42562009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
4257
4258 * gdb.asm/asm-source.exp: Adjust.
889bf7c5 4259
02506ff1
MS
42602009-10-22 Michael Snyder <msnyder@vmware.com>
4261
4262 * gdb.reverse/break-precsave.exp: New test.
4263 * gdb.reverse/consecutive-precsave.exp: Ditto.
4264 * gdb.reverse/finish-precsave.exp: Ditto.
4265 * gdb.reverse/i386-precsave.exp: Ditto.
4266 * gdb.reverse/machinestate-precsave.exp: Ditto.
4267 * gdb.reverse/sigall-precsave.exp: Ditto.
4268 * gdb.reverse/solilb-precsave.exp: Ditto.
4269 * gdb.reverse/step-precsave.exp: Ditto.
4270 * gdb.reverse/until-precsave.exp: Ditto.
4271 * gdb.reverse/watch-precsave.exp: Ditto.
4272
4cf866a3
MS
42732009-10-22 Michael Snyder <msnyder@vmware.com>
4274
4275 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
4276 for gdb_expect. Adjust one test's expect strings for the new
4277 format of disassemble.
4278 * gdb.reverse/finish-reverse.exp: Delete 'return'.
4279 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
4280 gdb_test_multiple.
4281 * gdb.reverse/step-reverse.exp: Delete 'return'.
4282 * gdb.reverse/until-reverse.exp: Delete blank lines.
4283 * gdb.reverse/watch-reverse.exp: Delete blank lines.
4284
2b28d209
PP
42852009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
4286
4287 * gdb.base/consecutive.exp: Adjust.
4288 * gdb.base/display.exp: Likewise.
4289 * gdb.base/pc-fp.exp: Likewise.
4290 * gdb.base/sigbpt.exp: Likewise.
889bf7c5 4291
33b9c32b
MS
42922009-10-19 Michael Snyder <msnyder@vmware.com>
4293
4294 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
4295 * gdb.reverse/finish-reverse.c: Ditto.
4296 * gdb.reverse/sigall-reverse.c: Ditto.
4297 * gdb.reverse/solib-reverse.c: Ditto.
4298 * gdb.reverse/step-reverse.c: Ditto.
4299 * gdb.reverse/watch-reverse.c: Ditto.
4300
6c95b8df
PA
43012009-10-19 Pedro Alves <pedro@codesourcery.com>
4302 Stan Shebs <stan@codesourcery.com>
4303
4304 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
4305 * gdb.base/foll-exec.exp: Adjust to expect a process id before
4306 "Executing new program".
4307 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
4308 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
4309 left listed after having been killed.
4310 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
4311 * gdb.base/maint.exp: Adjust test.
4312
4313 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
4314 * gdb.multi/Makefile.in: New.
4315 * gdb.multi/base.exp: New.
4316 * gdb.multi/goodbye.c: New.
4317 * gdb.multi/hangout.c: New.
4318 * gdb.multi/hello.c: New.
4319 * gdb.multi/bkpt-multi-exec.c: New.
4320 * gdb.multi/bkpt-multi-exec.exp: New.
4321 * gdb.multi/crashme.c: New.
4322
279017b7
TG
43232009-10-13 Tristan Gingold <gingold@adacore.com>
4324
4325 * gdb.base/sepdebug.exp: Check debug info are found.
4326
0413d738
PA
43272009-10-08 Pedro Alves <pedro@codesourcery.com>
4328
4329 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
4330 bits.
4331
c628eecc
JK
43322009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4333
4334 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
4335
38af1bfe
JB
43362009-10-07 Joel Brobecker <brobecker@adacore.com>
4337
4338 * gdb.base/watchpoints.c: Add copyright header. Reformat one
4339 of the comments.
4340
2b0adecd
PM
43412009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
4342
4343 * gdb.base/annota1.exp: Remove obsolete match_max increase.
4344 * gdb.base/annota3.exp: Idem.
4345 * gdb.base/maint.exp: Idem.
4346
8d417781
PM
43472009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
4348
889bf7c5 4349 * lib/gdb.exp (default_gdb_init): Set current value of match_max
8d417781
PM
4350 to default.
4351
bb61102d
PM
43522009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4353
889bf7c5 4354 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
bb61102d
PM
4355 mingw and cygwin targets.
4356
ace5c364
PM
43572009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
4358 Pedro Alves <pedro@codesourcery.com>
4359
889bf7c5 4360 * lib/gdb.exp (gdb_compile): Avoid adding
ace5c364
PM
4361 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
4362
c2d494a0
PM
43632009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4364
e1b52ce2
PM
4365 * gdb.base/shr1.c: Use %p in format string.
4366 * gdb.base/unload.c: Avoid warning in fprintf.
4367 * gdb.base/watchpoint-solib.c: Idem.
c2d494a0 4368
209f53f5
PM
43692009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
4370
4371 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4372 long type.
4373 (test_unlink): Correct printf string.
4374 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4375 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4376
8172766a
JK
43772009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4378
4379 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4380 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4381 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4382
0f73703c
UW
43832009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4384
4385 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4386 * gdb.objc/nondebug.exp: Likewise.
4387
b32306ca
UW
43882009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4389
4390 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4391 target_info setting.
4392
4393 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4394 that detect new threads during "info threads".
4395
0057022f
UW
43962009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4397
4398 * gdb.threads/manythreads.c (main): Increase thread stack size
4399 to 2*PTHREAD_STACK_MIN.
4400 * gdb.threads/multi-create.c (main): Likewise.
4401 (create_function): Likewise.
4402
f29c0325
UW
44032009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4404
4405 * gdb.base/dump.exp: Pass difference of pointer types instead
4406 of integer types as offset to restore in intarr3.srec case.
4407
fcb34849
UW
44082009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4409
4410 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4411
d5142e3b
UW
44122009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4413
4414 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4415
087b74b2 44162009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
889bf7c5 4417
087b74b2
PM
4418 New test for two watchpoints, with disabling of
4419 the first inserted.
4420 * testsuite/gdb.base/watchpoints.c: New file.
4421 * testsuite/gdb.base/watchpoints.exp: New file.
4422
96c07c5b
TT
44232009-09-25 Tom Tromey <tromey@redhat.com>
4424
4425 * gdb.base/charset.exp: Test utf-16 strings with Python.
4426
b8899f2b
TT
44272009-09-25 Tom Tromey <tromey@redhat.com>
4428
4429 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4430 UCS-4.
4431 * gdb.base/charset.c (utf_32_string): Rename.
4432 (init_utf32): Rename.
4433 (main): Update.
4434
329719ec
TT
44352009-09-22 Tom Tromey <tromey@redhat.com>
4436
4437 * gdb.python/py-function.exp: Add regression tests.
4438
11ef0d76
KS
44392009-09-21 Keith Seitz <keiths@redhat.com>
4440
4441 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4442 with invalid operator.
4443
3fe8f3b3
KS
44442009-09-21 Keith Seitz <keiths@redhat.com>
4445
4446 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4447 and destructor using typedef name of class.
4448 * gdb.cp/classes.cc (class Base1): Add a destructor.
4449 (base1): New typedef.
4450 (use_methods): Instanitate an object of type base1.
4451 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4452 (do_tests): Call test_template_typedef.
4453 * gdb.cp/templates.cc (Baz::~Baz): New method.
4454 (intBazOne): New typedef.
4455 (main): Instantiate intBazOne.
4456
7a9fe101
PM
44572009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4458
4459 PR python/10633
4460
4461 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4462 Function.
4463 (run_lang_tests): Add print elements test.
4464
2e4d963f
PM
44652009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4466
4467 * gdb.python/py-value.exp (test_subscript_regression): New
4468 function. Test for invalid subscripts.
4469 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4470 (ptr_ref): New function.
4471
ec7e75e7
PP
44722009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4473
4474 * gdb.base/default.exp: Fix "show convenience".
4475
0cc7d26f
TT
44762009-09-15 Tom Tromey <tromey@redhat.com>
4477
4478 * lib/mi-support.exp (mi_create_varobj): Update.
4479 (mi_create_floating_varobj): Likewise.
4480 (mi_create_dynamic_varobj): New proc.
4481 (mi_varobj_update): Update.
4482 (mi_varobj_update_with_type_change): Likewise.
4483 (mi_varobj_update_kv_helper): New proc.
4484 (mi_varobj_update_dynamic_helper): Rewrite.
4485 (mi_varobj_update_dynamic): New proc.
4486 (mi_list_varobj_children): Update.
4487 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4488 * gdb.python/python-prettyprint.py (pp_outer): New class.
4489 (pp_nullstr): Likewise.
4490 (lookup_function): Register new printers.
4491 * gdb.python/python-prettyprint.c (struct substruct): New type.
4492 (struct outerstruct): Likewise.
4493 (substruct_test): New function.
4494 (struct nullstr): New type.
4495 (string_1, string_2): New globals.
4496 (main): Add new tests.
4497 * gdb.python/python-mi.exp: Added regression tests.
4498 * gdb.mi/mi2-var-display.exp: Update.
4499 * gdb.mi/mi2-var-cmd.exp: Update.
4500 * gdb.mi/mi2-var-child.exp: Update.
4501 * gdb.mi/mi2-var-block.exp: Update.
4502 * gdb.mi/mi-var-invalidate.exp: Update.
4503 * gdb.mi/mi-var-display.exp: Update.
4504 * gdb.mi/mi-var-cmd.exp: Update.
4505 * gdb.mi/mi-var-child.exp: Update.
4506 * gdb.mi/mi-var-block.exp: Update.
4507 * gdb.mi/mi-break.exp: Update.
4508 * gdb.mi/gdb701.exp: Update.
4509
a96d9b2e
SDJ
45102009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4511
4512 * Makefile.in: Inclusion of catch-syscall object.
4513 * gdb.base/catch-syscall.c: New file.
4514 * gdb.base/catch-syscall.exp: New file.
4515
b43b923a
MS
45162009-09-12 Michael Snyder <msnyder@vmware.com>
4517
4518 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4519 that can support reverse debuggnig.
4520
cec03d70
TT
45212009-09-11 Tom Tromey <tromey@redhat.com>
4522
4523 * gdb.dwarf2/valop.S: New file.
4524 * gdb.dwarf2/valop.exp: New file.
4525
e23bb3fc
MK
45262009-09-11 Mark Kettenis <kettenis@gnu.org>
4527
4528 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4529
37c3696d
DE
45302009-09-10 Doug Evans <dje@google.com>
4531
4532 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4533 Add $gdb_prompt to second breakpoint regexp.
4534
5172aecb
JB
45352009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4536
4537 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4538 names, add missing ones.
4539 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4540 * gdb.python/py-frame.c: Rename from python-frame.c.
4541 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4542 testfile name.
4543 * gdb.python/py-function.exp: Rename from python-function.exp.
4544 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4545 testfile name.
4546 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4547 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4548 Adjust testfile name.
4549 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4550 * gdb.python/py-template.cc: Rename from python-template.cc.
4551 * gdb.python/py-template.exp: Rename from python-template.exp.
4552 Adjust testfile name.
4553 * gdb.python/py-value.c: Rename from python-value.c.
4554 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4555 testfile name.
4556
b554e4bd
JK
45572009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4558
4559 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4560 $bpt2address.
4561 (Second breakpoint address is valid on ia64)
4562 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4563
9a68ae16
JM
45642009-09-03 Joseph Myers <joseph@codesourcery.com>
4565
4566 * gdb.base/ending-run.exp: Restrict regular expression matching
4567 line number to require closing brace following.
4568
146b9145
DE
45692009-09-03 Doug Evans <dje@google.com>
4570
4571 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4572
787d21e1
TT
45732009-09-02 Tom Tromey <tromey@redhat.com>
4574
4575 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4576
e7802207
TT
45772009-09-02 Tom Tromey <tromey@redhat.com>
4578
4579 * gdb.dwarf2/callframecfa.exp: New file.
4580 * gdb.dwarf2/callframecfa.S: New file.
4581
817aadd2
JK
45822009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4583
4584 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4585 gdb.base/solib-overlap-main.c: New.
4586
4a76eae5
DJ
45872009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4588
4589 PR gdb/10565
4590
4591 * gdb.base/bitfields.c (struct container, container): New.
4592 (main): Initialize it and call break5.
4593 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4594
d4b96c9a
JK
45952009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4596
4597 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4598 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4599
4e22772d
JK
46002009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4601
4602 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4603
2efab443
MS
46042009-08-26 Michael Snyder <msnyder@vmware.com>
4605
4606 * gdb.base/i386-reverse.c: New file.
4607 * gdb.base/i386-reverse.exp: New file.
4608 * gdb.base/Makefile.in: Add new files to be removed.
4609
07ab73a0
JM
46102009-08-26 Joseph Myers <joseph@codesourcery.com>
4611
4612 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4613 environment-pwd for remote host.
4614 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4615
676accff
KS
46162009-08-24 Keith Seitz <keiths@redhat.com>
4617
4618 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4619 Add two new C++ completer tests which limit the output to a
889bf7c5 4620 given class.
676accff 4621
f9f7ad22
MS
46222009-08-24 Michael Snyder <msnyder@vmware.com>
4623
4624 * gdb.base/del.exp: Fix typo in comment.
4625 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4626
81ecdfbb
RW
46272009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4628
4629 * configure: Regenerate.
4630 * gdb.hp/configure: Likewise.
4631 * gdb.hp/gdb.aCC/configure: Likewise.
4632 * gdb.hp/gdb.base-hp/configure: Likewise.
4633 * gdb.hp/gdb.compat/configure: Likewise.
4634 * gdb.hp/gdb.defects/configure: Likewise.
4635 * gdb.hp/gdb.objdbg/configure: Likewise.
4636 * gdb.stabs/configure: Likewise.
4637
cab0c772
UW
46382009-08-19 Doug Evans <dje@google.com>
4639
4640 * gdb.base/gdbvars.c: New file.
4641 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4642
b8fa0bfa
PA
46432009-08-14 Pedro Alves <pedro@codesourcery.com>
4644
4645 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4646 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4647
b84aa90a
PA
46482009-08-13 Pedro Alves <pedro@codesourcery.com>
4649
4650 * gdb.base/default.exp: Adjust "set language test": it's now an
4651 enum command. Larger help string moved to "help set language".
4652 * gdb.base/help.exp: Adjust "help set language" expected output,
4653 now lists all known languages.
4654
0d8f9b2c
NF
46552009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4656
4657 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4658 all frame arguments.
4659 * gdb.arch/altivec-regs.exp: Likewise.
4660
bda180e0
TT
46612009-08-07 Tom Tromey <tromey@redhat.com>
4662
4663 * gdb.base/setshow.exp: Add tests for changes to set language, set
4664 check range, and set check type.
4665
48cb2d85
VP
46662009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4667
4668 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4669 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
889bf7c5 4670 Call it.
48cb2d85 4671
1ea34204
UW
46722009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4673
4674 * configure.ac: Run gdb.cell tests when appropriate.
4675 * configure: Regenerate.
4676 * lib/cell.exp: New file.
4677 * gdb.cell: New directory.
4678 * gdb.cell/configure.ac: New file.
4679 * gdb.cell/configure: New file.
4680 * gdb.cell/Makefile.in: New file.
4681 * gdb.cell/arch.exp: New file.
4682 * gdb.cell/break.c: New file.
4683 * gdb.cell/break.exp: New file.
4684 * gdb.cell/break-spu.c: New file.
4685 * gdb.cell/bt.c: New file.
4686 * gdb.cell/bt2-spu.c: New file.
4687 * gdb.cell/bt-spu.c: New file.
4688 * gdb.cell/bt.exp: New file.
4689 * gdb.cell/coremaker.c: New file.
4690 * gdb.cell/coremaker-spu.c: New file.
4691 * gdb.cell/core.exp: New file.
4692 * gdb.cell/gcore.exp: New file.
4693 * gdb.cell/data.c: New file.
4694 * gdb.cell/data.exp: New file.
4695 * gdb.cell/data-spu.c: New file.
4696 * gdb.cell/ea-cache.exp: New file.
4697 * gdb.cell/ea-cache.c: New file.
4698 * gdb.cell/ea-cache-spu.c: New file.
4699 * gdb.cell/ea-standalone.c: New file.
4700 * gdb.cell/ea-standalone.exp: New file.
4701 * gdb.cell/ea-test.c: New file.
4702 * gdb.cell/ea-test.exp: New file.
4703 * gdb.cell/f-regs.exp: New file.
4704 * gdb.cell/mem-access.c: New file.
4705 * gdb.cell/mem-access.exp: New file.
4706 * gdb.cell/mem-access-spu.c: New file.
4707 * gdb.cell/ptype.exp: New file.
4708 * gdb.cell/registers.exp: New file.
4709 * gdb.cell/size.c: New file.
4710 * gdb.cell/sizeof.exp: New file.
4711 * gdb.cell/size-spu.c: New file.
4712 * gdb.cell/solib.exp: New file.
4713 * gdb.cell/solib-symbol.exp: New file.
4714
85e747d2
UW
47152009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4716
4717 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4718
58d6951d
DJ
47192009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4720
4721 * gdb.base/float.exp: Handle VFP registers.
4722
6e0a4f15
MS
47232009-07-14 Michael Snyder <msnyder@vmware.com>
4724
dcd5da87
MS
4725 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4726 to bring gdb to the beginning of the calling line.
4727
6e0a4f15
MS
4728 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4729 confusing the i386 epilogue unwinder.
4730
782b2b07
SS
47312009-07-14 Stan Shebs <stan@codesourcery.com>
4732
4733 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4734
f662c3bc
MS
47352009-07-14 Michael Snyder <msnyder@vmware.com>
4736
4737 * gdb.reverse/step-reverse.exp (stepi into function call):
4738 Call instruction may not be first instruction in the line.
4739 (reverse stepi from a function call): Used wrong line number.
4740
8f313923
JK
47412009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4742
4743 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4744
4662c76e
JK
47452009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4746
4747 Fix gdb.base/macscp.exp when using custom inputrc.
4748 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4749 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4750 env(TERM) set.
4751 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4752 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4753
aa81e255
JK
47542009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4755
4756 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4757 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4758 Change the compilation target to match the testcase name.
4759 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4760 testcase name.
4761 * a2-run.exp: Use for setup prepare_for_testing. Change the
4762 compilation target to match the testcase name.
4763 * gdb.base/commands.exp: Likewise.
4764 * gdb.base/finish.exp: Likewise.
4765 * gdb.base/float.exp: Likewise.
4766 * gdb.base/info-target.exp: Likewise.
4767 * gdb.base/relational.exp: Likewise.
4768 * gdb.base/term.exp: Likewise.
4769 * gdb.base/until.exp: Likewise.
4770 * gdb.base/volatile.exp: Likewise.
4771 * gdb.base/whatis-exp.exp: Likewise.
4772
4c93b1d7
HZ
47732009-07-11 Hui Zhu <teawater@gmail.com>
4774
4775 * gdb.base/help.exp (disassemble): Update expected help text.
4776
812f7342
TT
47772009-07-09 Tom Tromey <tromey@redhat.com>
4778
4779 * lib/gdb.exp: Handle TRANSCRIPT.
4780 (remote_spawn, remote_close, send_gdb): New procs.
4781
fbb8f299
PM
47822009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4783
4784 * gdb.python/python-prettyprint.c: Add counted null string
4785 structure.
4786 * gdb.python/python-prettyprint.exp: Print null string. Test for
4787 embedded nulls.
4788 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4789 * gdb.python/python-value.exp (test_value_in_inferior): Add
4790 variable length string fetch tests.
4791 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4792
c0ac0ec7
JK
47932009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4794
4795 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4796
30b66ecc
TT
47972009-07-07 Tom Tromey <tromey@redhat.com>
4798
4799 * gdb.base/call-rt-st.exp: Update for change to escape output.
4800 * gdb.base/callfuncs.exp: Likewise.
4801 * gdb.base/charset.exp: Likewise.
4802 * gdb.base/constvars.exp: Likewise.
4803 * gdb.base/long_long.exp: Likewise.
4804 * gdb.base/pointers.exp: Likewise.
4805 * gdb.base/printcmds.exp: Likewise.
4806 * gdb.base/setvar.exp: Likewise.
4807 * gdb.base/store.exp: Likewise.
4808 * gdb.cp/ref-types.exp: Likewise.
4809 * gdb.mi/mi-var-child.exp: Likewise.
4810 * gdb.mi/mi-var-display.exp: Likewise.
4811 * gdb.mi/mi2-var-display.exp: Likewise.
4812 * gdb.base/charset.exp: Test octal escape sequence length.
4813 Update for change to escape output.
4814
187c4a2b
JK
48152009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4816
4817 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4818
d80a43f9
DJ
48192009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4820
4821 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4822
047427a8
JK
48232009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4824
4825 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4826 gdbserver increasing $portnum if "Can't bind address" has been seen.
4827
8b5a0f4f
PA
48282009-07-05 Pedro Alves <pedro@codesourcery.com>
4829
4830 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4831 mingw32ce.
4832
7d93ba58
PA
48332009-07-05 Pedro Alves <pedro@codesourcery.com>
4834
4835 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4836 VFP format.
4837
2277426b
PA
48382009-07-02 Pedro Alves <pedro@codesourcery.com>
4839
4840 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4841 linux. Adjust to use "inferior", "info inferiors", "detach
4842 inferior" and "kill inferior" instead of "restart", "info fork",
4843 "detach fork" and "delete fork".
4844 * gdb.base/ending-run.exp: Spell out "info".
4845 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4846 the "kill" command.
4847
5af949e3
UW
48482009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4849
4850 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4851 change to prefix TLS offset in hex with 0x.
4852
5d3729b5
UW
48532009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4854
4855 * gdb.base/default.exp: Update test case for "x" changes.
4856
af589bd0
TG
48572009-07-01 Tristan Gingold <gingold@adacore.com>
4858
4859 * gdb.base/bigcore.exp: Make darwin untested.
4860
40974f91
JK
48612009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4862
4863 * gdb.base/completion.exp (directory completion): Create the directory.
4864 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4865 escapeuniquesub.
4866 (directory completion 2): Expect now ${escapeuniquesub}.
4867 (Glob remaining of directory test): Remove one excessive newline.
4868 Expect the real output.
4869
59dd3af6
JK
48702009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4871
4872 Fix `make check//%' target after `make check' has been ran.
4873 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4874 a mkdir call.
4875 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4876 (%/.dir): Remove.
4877
f4e164aa
JK
48782009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4879
4880 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4881 the expected result record.
4882
69af2122
JK
48832009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4884
4885 Remove racy FAILs relying just on the timeouts.
4886 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
4887 (annotation_level 2): Remove racy FAILs.
4888
2fd481e1
PP
48892009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4890
4891 gdb/10275
889bf7c5
PA
4892 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4893
c38f313d
DJ
48942009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4895
4896 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4897
8b777f02
VP
48982009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4899
4900 * gdb.mi/mi-stack.exp: Testing symbolic options
4901 to -stack-list-locals and -stack-list-arguments.
4902
00c7eacf
JK
49032009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4904
4905 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4906
6bc80edc
TT
49072009-06-29 Tom Tromey <tromey@redhat.com>
4908
4909 * dg-extract-results.sh: New file.
4910 * Makefile.in (FORCE_PARALLEL): New variable.
4911 (CHECK_TARGET): New conditional variable.
4912 (check): Use CHECK_TARGET.
4913 (DO_RUNTEST): New variable.
4914 (check-single): New target.
4915 (TEST_DIRS): New variable.
4916 (TEST_TARGETS): Likewise.
4917 (check-parallel): New target.
4918 (check-gdb.%): New pattern.
4919 (BASE1_FILES): New variable.
4920 (BASE2_FILES): Likewise.
4921 (check-gdb.base%): New pattern.
4922 (%/.dir): New pattern.
4923 * configure: Rebuild.
4924 * aclocal.m4 (AM_CONDITIONAL): New defun.
4925 * configure.ac: Check whether user is using GNU make.
4926 (GMAKE): New conditional.
4927
794684b6
SW
49282009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
4929
4930 * gdb.cp/namespace-nested-import.cc: New test.
4931 * gdb.cp/namespace-nested-import.exp: New test.
4932
edb3359d
DJ
49332009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
4934
4935 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
4936 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
4937 * gdb.opt/Makefile.in (EXECUTABLES): Update.
4938 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
4939 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
4940 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
4941 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
4942 gdb.opt/inline-markers.c: New files.
4943 * lib/gdb.exp (skip_inline_frame_tests): New function.
4944 (skip_inline_var_tests): New function.
4945
cf657a0c
AS
49462009-06-27 Andreas Schwab <schwab@linux-m68k.org>
4947
4948 * gdb.cp/exception.exp: Don't require $hex before inner frame in
4949 backtrace.
4950
28d41a99
MS
49512009-06-27 Michael Snyder <msnyder@vmware.com>
4952
4953 * gdb.reverse: New directory.
4954 * gdb.reverse/break-reverse.c: New test.
4955 * gdb.reverse/break-reverse.exp: New test.
4956 * gdb.reverse/consecutive-reverse.c: New test.
4957 * gdb.reverse/consecutive-reverse.exp: New test.
4958 * gdb.reverse/finish-reverse.c: New test.
4959 * gdb.reverse/finish-reverse.exp: New test.
4960 * gdb.reverse/machinestate.c: New test.
4961 * gdb.reverse/ms1.c: New test.
4962 * gdb.reverse/machinestate.exp: New test.
4963 * gdb.reverse/Makefile.in: New file.
4964 * gdb.reverse/shr2.c: New test.
4965 * gdb.reverse/solib-reverse.c: New test.
4966 * gdb.reverse/solib-reverse.exp: New test.
4967 * gdb.reverse/step-reverse.c: New test.
4968 * gdb.reverse/step-reverse.exp: New test.
4969 * gdb.reverse/until-reverse.c: New test.
4970 * gdb.reverse/ur1.c: New test.
4971 * gdb.reverse/until-reverse.exp: New test.
4972 * gdb.reverse/watch-reverse.c: New test.
4973 * gdb.reverse/watch-reverse.exp: New test.
4974 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
4975 * configure: Regenerate.
4976
fe3c8b0d
DE
49772009-06-26 Doug Evans <dje@google.com>
4978
4979 * gdb.base/psymtab.exp: Turn off pending breakpoints.
4980
3a72a602
PM
49812009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
4982
4983 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
4984 windows problem for 'file delete $binfile'.
4985
27aa8d6a
SW
49862009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
4987
4988 * gdb.cp/namespace-using.exp: New test.
4989 * gdb.cp/namespace-using.cc: New test.
4990
8ac055f8
JB
49912009-05-20 Joel Brobecker <brobecker@adacore.com>
4992
4993 * gdb.ada/variant_record_packed_array: New testcase.
4994
85e306ed
TT
49952009-06-23 Tom Tromey <tromey@redhat.com>
4996
4997 * gdb.base/charset.exp (test_combination): Regression test.
4998 * gdb.base/charset.c (my_wchar_t): New typedef.
4999 (myvar): New global.
5000 (main): Set myvar.
5001
56643c5e
PM
50022009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
5003
5004 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
5005 target.
5006
1fac167a
UW
50072009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5008
5009 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
5010
7ccb0be9
UW
50112009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5012
5013 * gdb.mi/gdb680.exp: Update test for error message.
5014
568d6575
UW
50152009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5016
5017 * gdb.base/annota1.exp: Allow multiple occurrences of the
5018 frames-invalid annotation.
5019 * gdb.cp/annota2.exp: Likewise.
5020
7cd1089b
PM
50212009-06-15 Phil Muldoon <pmuldoon@redhat.com>
5022
5023 * gdb.cp/gdb2495.cc: New file.
5024 * gdb.cp/gdb2495.exp: New file.
5025
72c63395
JK
50262009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5027
5028 Report error on GDB crash during runto.
5029 * lib/gdb.exp (runto <eof>): New.
5030
3788363d
DJ
50312009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
5032
5033 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
5034 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
5035 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
5036 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
5037 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
5038 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
5039 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
5040 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
5041 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
5042 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
5043 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
5044 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
5045 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
5046 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
5047 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
5048 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
5049 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
5050 gdb.server/server-mon.exp, gdb.server/server-run.exp,
5051 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5052 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
5053 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
5054 gdb.trace/passcount.exp, gdb.trace/report.exp,
5055 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
5056 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
5057 gdb.trace/while-stepping.exp: Use a unique name for the compiled
5058 executable.
5059
17592de3
PA
50602009-06-07 Pedro Alves <pedro@codesourcery.com>
5061
5062 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
5063 defined before referencing it.
5064
701e355d
DE
50652009-06-03 Doug Evans <dje@google.com>
5066
5067 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
5068 * gdb.arch/i386-see.c: Ditto.
5069
f2292c65
PM
50702009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
5071
5072 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
5073 (check_macro): Return 1 if undefined.
5074 If first test fails, check if macro debug information is available,
5075 and report unsupported test if no macro information is found.
5076
5a437975
DE
50772009-05-29 Doug Evans <dje@google.com>
5078
5079 * gdb.threads/hand-call-in-threads.exp: New.
5080 * gdb.threads/hand-call-in-threads.c: New.
5081
c141c696
MS
50822009-05-29 Michael Snyder <msnyder@vmware.com>
5083
5084 * gdb.base/break-always.exp: Change "1" to "on".
5085 Add confirmation check.
5086
b3444185
PA
50872009-05-28 Pedro Alves <pedro@codesourcery.com>
5088
5089 * gdb.threads/threxit-hop-specific.c: New.
5090 * gdb.threads/threxit-hop-specific.exp: New.
5091 * gdb.threads/thread-execl.c: New.
5092 * gdb.threads/thread-execl.exp: New.
5093
b6313243
TT
50942009-05-27 Tom Tromey <tromey@redhat.com>
5095 Thiago Jung Bauermann <bauerman@br.ibm.com>
5096
5097 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
5098 (mi_child_regexp): Likewise.
5099 (mi_list_varobj_children_range): Likewise.
5100 (mi_get_features): Likewise.
5101 (mi_list_varobj_children): Rewrite.
5102 * gdb.python/python-mi.exp: New file.
5103
a6bac58e
TT
51042009-05-27 Tom Tromey <tromey@redhat.com>
5105 Thiago Jung Bauermann <bauerman@br.ibm.com>
5106 Phil Muldoon <pmuldoon@redhat.com>
5107 Paul Pluzhnikov <ppluzhnikov@google.com>
5108
5109 * gdb.python/python-prettyprint.exp: New file.
5110 * gdb.python/python-prettyprint.c: New file.
5111 * gdb.python/python-prettyprint.py: New file.
5112 * gdb.base/display.exp: print/r is now valid.
5113
2c74e833
TT
51142009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
5115 Tom Tromey <tromey@redhat.com>
5116 Pedro Alves <pedro@codesourcery.com>
5117 Paul Pluzhnikov <ppluzhnikov@google.com>
5118
5119 * gdb.python/python-template.exp: New file.
5120 * gdb.python/python-template.cc: New file.
5121 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5122 tests.
5123 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5124 Call it.
5125 (test_value_after_death): New proc.
5126 * gdb.python/python-value.c (PTR): New typedef.
5127 (main): New variable 'x'.
5128
89c73ade
TT
51292009-05-27 Tom Tromey <tromey@redhat.com>
5130
5131 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
5132 tests.
5133 * gdb.python/python-value.exp (py_objfile_tests): New proc.
5134 Call it.
5135
a75724bc
PA
51362009-05-27 Pedro Alves <pedro@codesourcery.com>
5137
5138 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
5139
e58b0e63
PA
51402009-05-24 Pedro Alves <pedro@codesourcery.com>
5141
5142 * gdb.threads/fork-thread-pending.c: New.
5143 * gdb.threads/fork-thread-pending.exp: New.
5144
4ac36638
JK
51452009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
5148 * gdb.dwarf2/dw2-strp.S (a_string2): New.
5149
889bf7c5 51502009-05-18 Jon Beniston <jon@beniston.com>
c28c63d8 5151
889bf7c5 5152 * gdb.asm/asm-source.exp: Add lm32 target.
c28c63d8 5153
b242c3c2
PA
51542009-05-17 Pedro Alves <pedro@codesourcery.com>
5155
5156 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
5157 `gdb_get_line_number'. Call `callee' in both parent and child.
5158 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
5159 `gdb_get_line_number' instead of hardcoding line numbers.
5160 (catch_fork_unpatch_child): New procedure to test detaching
5161 breakpoints from child fork.
5162 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
5163 hardcoding line numbers.
5164 (do_fork_tests): Run `catch_fork_unpatch_child'.
5165
ee342b23
VP
51662009-05-17 Vladimir Prus <vladimir@codesourcery.com>
5167
5168 * gdb.mi/mi-cmd-var.exp: Check that when varobj
5169 of structure type enters or leaves the scope, it
5170 is reported by -var-update.
5171
e2009e98
DE
51722009-05-11 Doug Evans <dje@sebabeach.org>
5173
5174 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
fc529d80 5175 * gdb.threads/pending-step.c (main): Fix off-by-one error.
e2009e98
DE
5176 * gdb.threads/schedlock.c (main): Fix off-by-one error.
5177
00903456
JK
51782009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5179
5180 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
5181
dc621c35
DE
51822009-04-30 Doug Evans <dje@google.com>
5183
5184 * gdb.threads/watchthreads2.exp: New testcase.
5185 * gdb.threads/watchthreads2.c: New testcase.
5186
9ab4e744
DE
51872009-04-29 Doug Evans <dje@google.com>
5188
5189 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
5190 * gdb.cp/mb-ctor.cc: Ditto.
5191 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
5192 * gdb.cp/mb-inline.h (multi_line_foo): New function.
5193 * gdb.cp/mb-inline1.cc: Call it.
5194 * gdb.cp/mb-inline2.cc: Ditto.
5195 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
5196 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
5197
484086b7
JK
51982009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5199
5200 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
5201 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
5202 Replace all uses of `decimal' by `nonzero'.
5203 (info macro FROM_COMMANDLINE): New test.
5204
379a77b5
TT
52052009-04-27 Tom Tromey <tromey@redhat.com>
5206
5207 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
5208
b92b73c2
DE
52092009-04-27 Doug Evans <dje@google.com>
5210
5211 * gdb.threads/watchthreads.c (main): Initialize args before starting
5212 the threads. Plus formatting cleanup.
5213 * gdb.threads/watchthreads.exp: Avoid errant failures due to
5214 biased scheduling of one thread.
5215
945a118d
JG
52162009-04-27 Jerome Guitton <guitton@adacore.com>
5217
5218 * gdb.cp/templates.cc (GetMax): New template.
5219 (main): Declare two instances of GetMax.
5220 * gdb.cp/templates.exp: Add new test.
5221
d389af10
JK
52222009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5223
5224 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
5225
e7f86de9
JM
52262009-04-22 Joseph Myers <joseph@codesourcery.com>
5227
5228 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
5229
334cc82d
TT
52302009-04-15 Tom Tromey <tromey@redhat.com>
5231
5232 * gdb.base/charset.exp: Add regression test.
5233
d12672cc
JB
52342009-04-14 Joel Brobecker <brobecker@adacore.com>
5235
5236 * gdb.base/exe-lock.exp: New testcase.
5237
18e8c3bc
TT
52382009-04-13 Tom Tromey <tromey@redhat.com>
5239
5240 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
5241 operator on Frame.
5242
5ecd5cbe
UW
52432009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5244
5245 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
5246 * gdb.server/ext-attach.exp: Likewise.
5247
7309f756
VP
52482009-04-03 Vladimir Prus <vladimir@codesourcery.com>
5249
5250 Eliminate some sleep usage.
5251
889bf7c5
PA
5252 * gdb.mi/basics.c (do_nothing): New.
5253 (main): Use do_nothing instead of printf, so that
5254 not to introduce race condition between output of
5255 inferiour and output of gdb. Do not use sleep as it
5256 is not generally available on embedded targets.
7309f756 5257
f4b95f6f
PA
52582009-04-02 Pedro Alves <pedro@codesourcery.com>
5259
5260 * gdb.server/ext-attach.exp: Expect an optional process id after
5261 "Detached from remote process".
5262
de40b933
JK
52632009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5264
5265 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
5266 gdb.dwarf2/dw2-unresolved.exp: New.
5267
2ae101a4
PA
52682009-04-02 Pedro Alves <pedro@codesourcery.com>
5269
5270 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
5271 mi_run_to_main.
5272
56a8e183
PA
52732009-04-02 Pedro Alves <pedro@codesourcery.com>
5274
5275 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
5276 mi_run_to_main. Skip thread exit test on remote targets.
5277 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
5278 mi_run_to_main.
5279 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
5280 mi_run_to_main.
5281 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
5282 when expecting ^connected. Detect when the target doesn't support
5283 non-stop mode.
5284 (mi_run_cmd): Detect if non-stop mode was requested by isn't
5285 supported. Return -1 on error, 0 on success.
5286 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
5287 (mi_runto): Return mi_runto_helper's result explicitly.
5288
c35fafde
PA
52892009-04-01 Pedro Alves <pedro@codesourcery.com>
5290
5291 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
5292
f8a8dce6
JB
52932009-04-01 Tom Tromey <tromey@redhat.com>
5294
5295 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
5296 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
5297 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
5298 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
5299
71c25dea
TT
53002009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
5301 Jan Kratochvil <jan.kratochvil@redhat.com>
5302
5303 PR gdb/931
5304 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
5305 output.
5306 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
5307 for gdb/931.
5308 * dw2-strp.S (DW_AT_language): Change to C++.
5309 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
5310
02d9a9ce
JB
53112009-03-31 Joel Brobecker <brobecker@adacore.com>
5312
5313 * gdb.ada/tasks: New testcase.
5314
1042e4c0
SS
53152009-03-30 Stan Shebs <stan@codesourcery.com>
5316
5317 * gdb.trace/actions.exp: Update to match new info trace format.
5318 * gdb.trace/deltrace.exp: Ditto.
5319 * gdb.trace/infotrace.exp: Ditto.
5320 * gdb.trace/passcount.exp: Ditto.
5321 * gdb.trace/save-trace.exp: Ditto.
5322 * gdb.trace/while-stepping.exp: Ditto.
5323 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
5324
f8f6f20b
TJB
53252009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
5326
5327 * gdb.python/python-frame.c: New file.
5328 * gdb.python/python-frame.exp: New file.
5329
c0c6f777
TJB
53302009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
5331
5332 * gdb.python/python-value.exp: Add tests for the address
5333 attribute.
5334
3cb51905
AS
53352009-03-29 Andreas Schwab <schwab@linux-m68k.org>
5336
5337 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
5338
88fc996f
DE
53392009-03-26 Doug Evans <dje@google.com>
5340
5341 * gdb.mi/mi-nonstop-exit.exp: New file.
5342 * gdb.mi/non-stop-exit.c: New file.
5343
56ef84b1
TT
53442009-03-26 Tom Tromey <tromey@redhat.com>
5345
5346 Update for change to prologue skipping:
5347 * gdb.mi/mi2-simplerun.exp: Update.
5348 * gdb.mi/mi2-break.exp: Update.
5349 * gdb.mi/mi-simplerun.exp: Update.
5350 * gdb.mi/mi-break.exp: Update.
5351 * gdb.base/ending-run.exp: Update.
5352
def2b000
TJB
53532009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
5354
5355 * gdb.python/python-value.exp (test_value_in_inferior): Test
5356 gdb.Value.is_optimized_out attribute.
5357
442ddf59
JK
53582009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5359
5360 * gdb.dwarf2/dw2-noloc-main.c: New file.
5361 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
5362 (.text): Remove.
5363 (.data): New.
5364 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
5365 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
5366 (DW_TAG_subprogram func_cu1, noloc): Remove.
5367 (main): New.
5368 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
5369 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
5370 (file_symbols): New procedure.
5371
a8df5de4
TT
53722009-03-25 Tom Tromey <tromey@redhat.com>
5373
5374 * gdb.base/charset.exp (valid_target_charset): New proc.
5375 Use it to skip tests on invalid charsets.
5376
cc1d7add
PM
53772009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5378
5379 * gdb.base/completion.exp: Add a test for directory completion.
5380
bcd5727b
JK
53812009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5382
5383 Fix a racy FAIL.
5384 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5385 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5386
cc924cad
TJB
53872009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5388
5389 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5390 * gdb.python/python-function.exp: Add test for function returning
5391 a GDB value.
5392
bc3b79fd
TJB
53932009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5394
5395 * gdb.python/python-function.exp: New file.
5396
6c7a06a3
TT
53972009-03-20 Tom Tromey <tromey@redhat.com>
5398
5399 * gdb.base/store.exp: Update for change to escape output.
5400 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5401 to escape output.
5402 * gdb.base/pointers.exp: Update for change to escape output.
5403 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5404 to escape output.
5405 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5406 escape output.
5407 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5408 to escape output.
5409 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5410 escape output.
5411 * gdb.base/setvar.exp: Update for change to escape output.
5412 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5413 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5414 to escape output.
5415 (test_print_string_constants): Likewise.
5416 * gdb.base/charset.exp (valid_host_charset): Check size of
5417 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5418 cases. Handle "auto"-related output.
5419 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5420 (uvar, Uvar): New globals.
5421
c31af87b
JG
54222009-03-19 Jerome Guitton <guitton@adacore.com>
5423
5424 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5425 deltas.
5426 * gdb.ada/fixed_points.exp: Ditto.
5427
51272cf2
PA
54282009-03-18 Pedro Alves <pedro@codesourcery.com>
5429
5430 * return-nodebug.c: Don't include stdio.h.
5431 (init): Delete.
5432 (func): Delete definition and provide extern declaration.
5433 (t): New.
5434 (main): Don't call printf. Call func and store its result in t.
5435 * return-nodebug1.c: New.
5436 * return-nodebug.exp: Don't expect stdio output. Instead, print
5437 the global variable t. Drop printf formatters and cast types from
5438 foreach loop. Don't use prepare_for_testing. Compile
5439 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5440 define FORMAT or CAST.
5441
d24948ac
PP
54422009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5443
5444 * gdb.base/solib-display.exp: Disable test for remote targers.
5445
61ff14c6
JK
54462009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5447
5448 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5449
cb4dce93
JK
54502009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5451
5452 Fix a racy FAIL.
5453 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5454 code from `follow parent, print pids'.
5455 (`follow child, print pids', `follow parent, print pids'): Call it.
5456 Replace `gdb_test "break..."' by gdb_breakpoint.
5457
f7c60c5e
VP
54582009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5459
5460 * gdb.mi/mi-cli.exp: Adjust for output difference in
61ff14c6 5461 sync and async modes.
f7c60c5e 5462
383ace49
JB
54632009-03-12 Joel Brobecker <brobecker@adacore.com>
5464
5465 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5466 that was checked in by mistake. Remove loading of ada.exp, since
5467 this is not necessary in this case.
5468
4ce102af
JB
54692009-03-12 Joel Brobecker <brobecker@adacore.com>
5470
5471 * gdb.ada/ptype_arith_binop.exp: New testcase.
5472
529a2aef
JB
54732009-03-12 Joel Brobecker <brobecker@adacore.com>
5474
5475 * gdb.ada/mod_from_name: New testcase.
5476
8a38181c
JB
54772009-03-12 Joel Brobecker <brobecker@adacore.com>
5478
5479 * gdb.ada/tick_last_segv: New testcase.
5480
11436dee
VP
54812009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5482
61ff14c6 5483 * gdb.mi/mi-cli.exp: Remove debug print.
11436dee 5484
1f31650a
VP
54852009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5486
61ff14c6
JK
5487 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5488 include the token in ^running and frame info in *stopped.
1f31650a 5489
a3247a22
PP
54902009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5491
5492 * solib-display.exp: New file.
5493 * solib-display-main.c: New file.
5494 * solib-display-lib.c: New file.
61ff14c6 5495
aae64587
PA
54962009-03-05 Pedro Alves <pedro@codesourcery.com>
5497
5498 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5499
44aabfbc
JK
55002009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5501
5502 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5503 (list_and_check_macro): Use more specific test name.
5504 (next to definition): Make the test names unique.
5505
c087fcd3
PM
55062009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5507
5508 * gdb.pascal/floats.exp: Accept approximate results everywhere.
3cb51905 5509
c86cf029
VP
55102009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5511
5512 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5513 notifications.
5514 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5515 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5516 * lib/mi-support.exp (library_loaded_re): New.
5517 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5518
3ea85240
VP
55192009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5520
5521 * gdb.gdb/observer.exp: Use test_notification observer, not
5522 normal_stop, everywhere.
5523 (test_normal_stop_notifications): Rename to...
5524 (test_notifications): ...this.
5525 (test_observer_normal_stop): Rename to...
5526 (test_observer): ...this.
5527
1903f0e6
DE
55282009-02-16 Doug Evans <dje@google.com>
5529
5530 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5531 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5532 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5533 (test_prefixed_syscall,test_int3): New tests.
5534 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5535 (test_prefixed_syscall,test_int3): New tests.
5536
1d33d6ba
VP
55372009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5538
3cb51905
AS
5539 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5540 (mi_expect_interrupt): Likewise.
5541 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5542 response.
1d33d6ba 5543
faafb047
PM
55442009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5545
5546 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5547 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5548 Replace calls to get_valueofx by get_hexadecimal_valueof.
5549
417e16e2
PM
55502009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5551
5552 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5553 (get_integer_valueof): New procedure.
5554 (get_sizeof): Use new get_integer_value_of.
5555 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5556 by get_integer_valueof.
5557
7065b901
TT
55582009-02-13 Tom Tromey <tromey@redhat.com>
5559
5560 * gdb.base/remote.exp (get_sizeof): Remove.
5561 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5562 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5563 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5564 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5565 (get_sizeof): Likewise.
5566
5d7cb8df
JK
55672009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5568
5569 PR fortran/9806
5570 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5571
b2febfff
PP
55722009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5573
5574 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5575
4aa995e1
PA
55762009-02-06 Pedro Alves <pedro@codesourcery.com>
5577
5578 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5579
d8906c6f
TJB
55802009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5581
5582 * gdb.python/python-cmd.exp: New file.
5583
ff4ab08d
TG
55842009-02-06 Tristan Gingold <gingold@adacore.com>
5585
5586 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5587
aacd552b
TG
55882009-02-05 Tristan Gingold <gingold@adacore.com>
5589
5590 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5591 pointer is dereferenced and use this signal name in regexp.
5592 * gdb.base/signull.exp: Ditto.
5593 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5594 * gdb.base/signull.c (main): Ditto.
5595
08c637de
TJB
55962009-02-04 Tom Tromey <tromey@redhat.com>
5597 Thiago Jung Bauermann <bauerman@br.ibm.com>
5598
5599 * gdb.python/python-value.exp: Use `gdb.history' instead of
5600 `gdb.value_from_history'.
5601 (test_value_numeric_ops): Add test for conversion of enum constant.
5602 * gdb.python/python-value.c (enum e): New type.
5603 (evalue): New global.
5604 (main): Use argv.
5605
20261af8
JG
56062009-02-04 Jerome Guitton <guitton@adacore.com>
5607
5608 * gdb.ada/uninitialized_vars: New test program.
5609 * gdb.ada/uninitialized_vars.exp: New testcase.
5610
52e44b43
TT
56112009-02-02 Tom Tromey <tromey@redhat.com>
5612
5613 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5614 * gdb.cp/pr2489.cc: Rename...
5615 * gdb.cp/pr9594.cc: ... to this.
5616
1c71341a
TT
56172009-02-02 Tom Tromey <tromey@redhat.com>
5618
5619 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5620 * gdb.cp/pr2489.cc: New file.
5621 * gdb.cp/cpcompletion.exp: New file.
5622
a4295225
TT
56232009-02-02 Tom Tromey <tromey@redhat.com>
5624
5625 PR exp/9059:
5626 * gdb.cp/call-c.exp: Add regression test.
5627 * gdb.cp/call-c.cc (FooHandle): New typedef.
5628 (main): New variable 'handle'.
5629
592375cd
VP
56302009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5631
5632 * lib/mi-support.exp (et_mi_thread_list)
5633 (check_mi_and_console_threads): Adjust for current thread in
5634 -thread-list-ids output.
5635
41447f92
VP
56362009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5637
889bf7c5
PA
5638 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5639 Call it.
41447f92 5640
35669430
DE
56412009-01-28 Doug Evans <dje@google.com>
5642
5643 * gdb.arch/amd64-disp-step.S: New file.
5644 * gdb.arch/amd64-disp-step.exp: New file.
5645 * gdb.arch/i386-disp-step.S: New file.
5646 * gdb.arch/i386-disp-step.exp: New file.
5647
09f00d9a
PM
56482009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5649
5650 * gdb.base/find.exp: Set newline variable
5651 using quotes instead of braces to fix cygwin failures.
5652
1e8fb976
PA
56532009-01-23 Pedro Alves <pedro@codesourcery.com>
5654
5655 * gdb.base/radix.exp: Add tests to ensure that that set
5656 input-radix 0 and set output-radix 0 are really rejected.
5657
da061712
PA
56582009-01-23 Pedro Alves <pedro@codesourcery.com>
5659
5660 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5661 copyright years.
5662
dd7e2d2b
PA
56632009-01-23 Pedro Alves <pedro@codesourcery.com>
5664
5665 PR gdb/9664:
5666 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5667
392452f6
PA
56682009-01-22 Pedro Alves <pedro@codesourcery.com>
5669
5670 PR c++/9631:
5671 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5672
8653e71c
PM
56732009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5674
5675 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5676 binfile definition to fix Windows OS failure.
5677
a12cc160
DJ
56782009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5679
5680 PR gdb/9346
5681 * gdb.base/interrupt.c (sigint_handler): New.
5682 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5683 on error.
5684 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5685 Test "signal SIGINT".
5686
b89667eb
DE
56872009-01-19 Doug Evans <dje@google.com>
5688
5689 * gdb.base/break.exp: Update expected gdb output.
5690 * gdb.base/sepdebug.exp: Ditto.
5691 * gdb.mi/mi-syn-frame.exp: Ditto.
5692 * gdb.mi/mi2-syn-frame.exp: Ditto.
5693 * gdb.base/call-signal-resume.exp: New file.
5694 * gdb.base/call-signals.c: New file.
5695 * gdb.base/unwindonsignal.exp: New file.
5696 * gdb.base/unwindonsignal.c: New file.
5697 * gdb.threads/interrupted-hand-call.exp: New file.
5698 * gdb.threads/interrupted-hand-call.c: New file.
5699 * gdb.threads/thread-unwindonsignal.exp: New file.
5700
adb483fe
DJ
57012009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5702
5703 * gdb.base/define.exp: Test defining and hooking prefix commands.
5704 * gdb.python/python.exp: Update test for "show user" output.
5705
60023297
JK
57062009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5707
5708 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5709 now the output exactly, using less wildcards. Expect also the output
5710 of gfortran-4.3. Update for the f-valprint.c modification from
5711 2008-04-22.
5712 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5713 Remove gdb_test test names where matching the command.
5714
ccc57cf9
PA
57152009-01-01 Pedro Alves <pedro@codesourcery.com>
5716
5717 PR breakpoints/9681:
5718 * gdb.base/watchpoint.exp: Add regression test.
5719
c7a6ca08
PA
57202008-12-31 Pedro Alves <pedro@codesourcery.com>
5721
5722 * gdb.threads/attach-into-signal.exp: Don't use
5723 gdb_suppress_entire_file.
5724 * gdb.threads/attach-stopped.exp: Ditto.
5725 * gdb.threads/attachstop-mt.exp: Ditto.
5726
3a031f65
PA
57272008-12-31 Pedro Alves <pedro@codesourcery.com>
5728
5729 PR gdb/8812:
5730 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5731
09e6485f
PA
57322008-12-29 Pedro Alves <pedro@codesourcery.com>
5733
5734 PR gdb/7536:
5735 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5736 and unsupported output radices are really rejected.
5737
0cd53049
JK
57382008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5739
5740 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5741
ba163c7e
TT
57422008-12-22 Tom Tromey <tromey@redhat.com>
5743
5744 * gdb.cp/punctuator.exp: New file.
5745
6f4de6c9
JK
57462008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5747
5748 * gdb.base/completion.exp (Completing non-existing component): New test.
5749
0f34d0b4
JK
57502008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5751
5752 Fix for PR gdb/8648.
5753 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5754 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5755 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5756 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5757
db2ad4c3
JK
57582008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5759
5760 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5761
bb5ef15e
DP
57622008-12-16 Christophe Lyon <christophe.lyon@st.com>
5763
5764 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5765 compiler actually generate code at the expected line number.
5766
90142adc
JZ
57672008-12-15 Jie Zhang <jie.zhang@analog.com>
5768
5769 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5770
fad6eecd
TT
57712008-12-12 Tom Tromey <tromey@redhat.com>
5772
5773 * gdb.base/commands.exp (redefine_hook_test): New proc.
5774 Call it.
5775
17c8aaf5
TT
57762008-12-11 Tom Tromey <tromey@redhat.com>
5777
5778 * gdb.base/macscp.exp: New regression test.
5779
7c8adf68
TT
57802008-12-11 Tom Tromey <tromey@redhat.com>
5781
5782 * gdb.base/macscp.exp: Print "address.addr".
5783 * gdb.base/macscp1.c (struct outer): New struct.
5784 (address): New global.
5785
b05dcbb7
TT
57862008-12-09 Tom Tromey <tromey@redhat.com>
5787
5788 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5789 Call it.
5790
2d476de1
DE
57912008-12-04 Doug Evans <dje@google.com>
5792
5793 * gdb.server/ext-run.exp: Relax regexp for init program.
5794
87bdc959
TG
57952008-12-03 Tristan Gingold <gingold@adacore.com>
5796
5797 * gdb.base/macscp.exp: Generate an object file during compilation
5798 to work around Darwin dsymutil limitations.
5799
e0740f77
JK
58002008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5801
5802 Test resolving external references to TLS variables.
5803 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5804 FILE2_THREAD_LOCAL.
5805 (testfile2, srcfile2): New variables.
5806 * gdb.threads/tls.c (file2_thread_local)
5807 (function_referencing_file2_thread_local): New.
5808 * gdb.threads/tls2.c: New file.
5809
67f0aac5
JB
58102008-11-28 Joel Brobecker <brobecker@adacore.com>
5811
5812 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
e0740f77
JK
5813 rather than integer, as integer might not be big enough when
5814 on 64bit targets.
67f0aac5 5815
c332165e
JG
58162008-11-27 Jerome Guitton <guitton@adacore.com>
5817
5818 * gdb.cp/formatted-ref.exp: Add equality test.
5819 * gdb.ada/formatted_ref.exp: Ditto.
5820
fc9b693c
JK
58212008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5822
5823 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5824 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5825
a9c64011
AS
58262008-11-20 Andreas Schwab <schwab@suse.de>
5827
5828 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5829 matching syscall entry point.
5830 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5831 (tcatch_vfork_then_child_follow): Likewise. Finish through
5832 vfork even if we stopped at the syscall trampoline.
5833
e2fd701e
DE
58342008-11-20 Doug Evans <dje@google.com>
5835
5836 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5837
69abc51c
TJB
58382008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5839
5840 * gdb.arch/ppc-dfp.exp: New file.
5841 * gdb.arch/ppc-dfp.c: New file.
5842
c14c28ba
PP
58432008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5844
5845 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
a9c64011 5846
2e74121d
DE
58472008-11-17 Doug Evans <dje@google.com>
5848
5849 * gdb.mi/mi-syn-frame.exp: Update expected output.
5850 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5851
66bb093b
VP
58522008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5853
5854 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
a9c64011
AS
5855 "thread N" results in =thread-selected.
5856 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5857 (mi_send_resuming_command_raw): Be prepared for
5858 =thread-selected.
5859
3d043ef6
VP
58602008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5861
a9c64011
AS
5862 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5863 * lib/mi-support.exp: Likewise.
3d043ef6 5864
808104c8
JB
58652008-11-16 Joel Brobecker <brobecker@adacore.com>
5866
5867 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5868 commands from the expected output for "help catch".
5869
00b22944
JB
58702008-11-15 Joel Brobecker <brobecker@adacore.com>
5871
5872 * gdb.ada/int_deref.exp: New testcase.
5873
59669435
TT
58742008-11-14 Nick Roberts <nickrob@snap.net.nz>
5875
5876 * gdb.mi/gdb2549.exp: New file.
5877
de04a248
DE
58782008-11-11 Doug Evans <dje@google.com>
5879
5880 * gdb.base/callexit.exp: New file.
5881 * gdb.base/callexit.c: New file.
5882
6b8ce727
DE
58832008-11-10 Doug Evans <dje@google.com>
5884
5885 * lib/gdb.exp (GDBFLAGS): Move -nx ...
5886 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
5887 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
5888 (default_gdb_start,default_gdb_exit): Ditto.
5889 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
5890 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
5891 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
5892 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
5893 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
5894 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
5895
1b14b8aa
AS
58962008-11-03 Andreas Schwab <schwab@suse.de>
5897
5898 * gdb.base/hashline2.exp: Fix typo.
5899 * gdb.base/hashline3.exp: Likewise.
5900
f3134b88
TT
59012008-10-30 Tom Tromey <tromey@redhat.com>
5902
5903 * gdb.base/pointers.exp: Add test.
5904 * gdb.base/pointers.c (k, S): New typedefs.
5905 (instance): New global.
5906
c2226152
AS
59072008-10-30 Andreas Schwab <schwab@suse.de>
5908
5909 * gdb.base/args.exp: Add tests for newlines.
5910
462f405c
JB
59112008-10-30 Joel Brobecker <brobecker@adacore.com>
5912
5913 gdb.base/foll-exec.exp: Update the expected output of a couple
5914 of "info breakpoints" tests.
5915
79a45b7d
TT
59162008-10-28 Tom Tromey <tromey@redhat.com>
5917
5918 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5919
adc13a14
PA
59202008-10-24 Pedro Alves <pedro@codesourcery.com>
5921
5922 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5923 gdb_start_cmd.
5924 Use runto_main before any test that requires execution.
5925
252fbfc8
PA
59262008-10-23 Pedro Alves <pedro@codesourcery.com>
5927
5928 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
5929 instead of SIGINT.
5930
28148e3d
JB
59312008-10-22 Joel Brobecker <brobecker@adacore.com>
5932
5933 * gdb.base/completion.exp: Update expected output following
5934 the addition of the "info tasks" command.
5935
c209f847
TT
59362008-10-22 Tom Tromey <tromey@redhat.com>
5937
5938 * gdb.base/exprs.exp (test_expr): Add test for string
5939 concatenation.
5940
f177e350
PA
59412008-10-19 Pedro Alves <pedro@codesourcery.com>
5942
5943 * configure.ac: Output gdb.python/Makefile.
5944 * configure: Regenerate.
5945 * gdb.python/Makefile.in: New.
5946
cce89356
JB
59472008-10-16 Joel Brobecker <brobecker@adacore.com>
5948
5949 * gdb.base/foll-fork.exp: Adjust the expected output to match
5950 the new description for fork/vfork catchpoints in the "info
5951 breakpoints" output.
5952
176d289d
TJB
59532008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5954
5955 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
5956
a08702d6
TJB
59572008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5958
5959 * gdb.python/python-value.c: New file.
5960 * gdb.python/python-value.exp: New file.
5961
1c5cfe86
PA
59622008-10-15 Pedro Alves <pedro@codesourcery.com>
5963
5964 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
5965
5a98ad69
DP
59662008-10-15 Denis Pilat <denis.pilat@st.com>
5967
41702f1b 5968 * gdb.cp/mb-ctor.exp: Fix a typo.
5a98ad69 5969
dcb1a1e2
TT
59702008-10-09 Tom Tromey <tromey@redhat.com>
5971
5972 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
5973 'fprintf' and 'stderr'.
5974
9124fe48
JB
59752008-10-07 Joel Brobecker <brobecker@adacore.com>
5976
5977 * gdb.ada/ref_tick_size.exp: New testcase.
5978
45452591
DE
59792008-10-06 Doug Evans <dje@google.com>
5980
5981 * gdb.dwarf2/dw2-cu-size.exp: New file.
5982 * gdb.dwarf2/dw2-cu-size.S: New file.
5983
5984 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
5985 .Ltype_int for clarity.
5986
4fc5b208
PP
59872008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5988
5989 PR gdb/2384:
5990 * gdb.cp/gdb2384.exp: Extended to test more cases.
5991 * gdb.cp/gdb2384.cc: Likewise.
5992 * gdb.cp/gdb2384-base.h: Likewise.
5993 * gdb.cp/gdb2384-base.cc: Likewise.
a9c64011 5994
d78df370
JK
59952008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5996
5997 * gdb.base/maint.exp (maint print type): Remove printing
5998 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
5999
9a044a89
TT
60002008-09-30 Tom Tromey <tromey@redhat.com>
6001
6002 * gdb.base/macscp.exp: Add completion tests.
6003 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
6004 (TWENTY_THREE): Likewise.
6005 (FORTY_EIGHT): Likewise.
6006
506800a9
TT
60072008-09-30 Tom Tromey <tromey@redhat.com>
6008
6009 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
6010 everywhere.
6011 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
6012
1a6f01b5
JK
60132008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6014
6015 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
6016 testcase is derived from. Fix racy dependency on an expected PID
6017 number. No longer support the testcase on Linux kernel 2.4.x.
6018
2fae03e8
TT
60192008-09-27 Tom Tromey <tromey@redhat.com>
6020
6021 * gdb.base/macscp.exp: Add tests for stringification, splicing,
6022 and varargs.
6023
1ad15515
PA
60242008-09-22 Pedro Alves <pedro@codesourcery.com>
6025
6026 * lib/mi-support.exp (mi_expect_interrupt): New.
6027 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
6028 from gdb.mi/mi-nonstop.exp.
6029 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
6030 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
6031 lib/mi-support.exp.
6032 Use mi_check_thread_states throughout. Avoid ".*" and do not
6033 require an anchor after -exec-run.
6034
d0b76dc6
DJ
60352008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
6036
6037 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
6038 stop is pending. Avoid ".*" when two stops are pending.
6039 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
6040 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
6041 newlines in fullnames.
6042 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
6043 (mi_expect_stop): Update comments. Only anchor in sync mode.
6044 Do not match newlines.
6045 (mi_send_resuming_command_raw): Always return status.
6046 (mi_get_stop_line): Do not match more than one line by accident.
6047 Only anchor in sync mode.
6048 (mi_run_inline_test): If -exec-next fails, give up.
6049
9990c830
UW
60502008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6051
6052 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
6053 on SPU.
6054
ebcf6f00
JB
60552008-09-10 Joel Brobecker <brobecker@adacore.com>
6056
6057 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
6058
b6db24e5
JB
60592008-09-10 Joel Brobecker <brobecker@adacore.com>
6060
6061 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
6062 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
6063 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
6064 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
6065 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
6066 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
6067 gdb.ada/interface.exp, gdb.ada/null_array.exp,
6068 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
6069 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
6070 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
6071 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
6072 Include the "= " sequence in the expected output of print tests.
6073
2bf448e0
JB
60742008-09-10 Joel Brobecker <brobecker@adacore.com>
6075
6076 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
6077 description for boolean types.
6078
d51fd4c8
PA
60792008-09-09 Pedro Alves <pedro@codesourcery.com>
6080
6081 * gdb.base/hook-stop-continue.c: New.
6082 * gdb.base/hook-stop-continue.exp: New.
6083
694182d2
DJ
60842008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
6085
6086 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
6087
3b8a7fc0
JG
60882008-09-08 Jerome Guitton <guitton@adacore.com>
6089
6090 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
6091 (stack_check_probe_2, stack_check_probe_loop_1)
6092 (stack_check_probe_loop_2): New functions.
6093 (main): Add call to these new functions.
6094 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
6095 functions, check that the breakpoint is inserted at the appropriate
6096 location.
6097 (insert_breakpoint): Slightly refine this procedure so that it can
6098 be called several times in the test.
6099
96cc0ae8
JG
61002008-09-08 Jerome Guitton <guitton@adacore.com>
6101
6102 * gdb.base/stack-checking.c: New file.
6103 * gdb.base/stack-checking.exp: New file.
6104
1f08b409
TJB
61052008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6106
6107 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
6108 * gdb.arch/altivec-regs.exp: Likewise.
6109 * gdb.arch/vsx-regs.exp: Likewise.
6110
3099e1c4
TJB
61112008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
6112
6113 * gdb.arch/ppc-fp.exp: New file.
6114 * gdb.arch/ppc-fp.c: New file.
6115
cc69bfc1
PP
61162008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6117
6118 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
6119 lest gcc-4.3.1 optimizes the whole thing away.
a9c64011 6120
b02a33db
MS
61212008-09-04 Michael Snyder <msnyder@vmware.com>
6122
6123 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
6124 as "at" (for non-debug functions such as _start).
6125
2992cbe0
UW
61262008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6127
6128 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
6129 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
6130 software watchpoints.
6131 * gdb.base/watch_thread_num.exp: Likewise.
6132
514f746b
AR
61332008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
6134
6135 * gdb.arch/i386-bp_permanent.exp: New test.
6136
876cecd0
TT
61372008-08-24 Tom Tromey <tromey@redhat.com>
6138
6139 * gdb.base/maint.exp: Update "maint print type".
6140
80f73d71
VP
61412008-08-21 Vladimir Prus <vladimir@codesourcery.com>
6142
6143 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
6144 support. Adjust the order of "*running" notifications.
6145 * gdb.mi/non-stop.c: Don't cast from int to void* and
6146 back.
6147
d9c78d7d
MK
61482008-08-20 Mark Kettenis <kettenis@gnu.org>
6149
6150 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
6151 expect to find it in the "info frame" output.
6152
97a2d1d3
DJ
61532008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
6154
6155 * gdb.base/interp.exp: Always consume both prompts.
6156
b96e2927
PA
61572008-08-20 Pedro Alves <pedro@codesourcery.com>
6158
6159 * gdb.base/pending.exp: Test pending breakpoints without symbols
6160 loaded.
6161
8cf6e61a
VP
61622008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6163
6164 * lib/mi-support.exp (mi_expect_stop): Produce
6165 more details on failures.
6166 * gdb.mi/mi-nonstop.exp: New.
6167 * gdb.mi/non-stop.c: New.
6168
c6ebd6cf
VP
61692008-08-19 Vladimir Prus <vladimir@codesourcery.com>
6170
a9c64011
AS
6171 * gdb.mi/mi-async.exp: Use 'set target-async'.
6172 * lib/mi-support.exp: Use 'set/show target-async'.
c6ebd6cf 6173
46a9b8ed
DJ
61742008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
6175
6176 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
6177
44feb3ce
TT
61782008-08-17 Tom Tromey <tromey@redhat.com>
6179
6180 * gdb.base/help.exp (help catch): Rewrite.
6181
311a4e6b
TJB
61822008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
6183
6184 * gdb.base/define.exp: Test indented command documentation.
6185 * gdb.python/python.exp: Test indented multi-line command.
6186
604c2f83
LM
61872008-08-15 Luis Machado <luisgpm@br.ibm.com>
6188
6189 * testsuite/gdb.arch/vsx-regs.c: New source file.
6190 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
6191 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
6192
886a217c
TT
61932008-08-14 Tom Tromey <tromey@redhat.com>
6194
6195 * gdb.base/macscp.exp: Add regression test for "macro define" or
6196 "macro undef" with no arguments.
6197
c814a4f3
PP
61982008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6199
6200 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
a9c64011 6201
12ab8a60
UW
62022008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6203
6204 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
6205
d57a3c85
TJB
62062008-08-06 Tom Tromey <tromey@redhat.com>
6207
6208 * gdb.python/python.exp: New file.
6209
c7b778ff
JK
62102008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6211
6212 Fix for PR gdb/1543.
6213 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
6214 $LOCATION.
6215 (location): New variable.
6216 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
6217 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
6218 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
6219 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
6220 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
6221 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
6222 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
6223 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
6224 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
6225 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
6226 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
6227 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
6228 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
6229 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
6230 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
6231 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
6232 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
6233 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
6234 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
6235 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
6236 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
6237 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
6238 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
6239 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
6240 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
6241 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
6242 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
6243 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
6244 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
6245 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
6246 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
6247 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
6248 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
6249 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
6250 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
6251 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
6252 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
6253 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
6254 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
6255 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
6256 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
6257 gdb.base/type-opaque.exp, gdb.base/until.exp,
6258 gdb.base/value-double-free.c, gdb.base/varargs.exp,
6259 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
6260 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
6261 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
6262 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
6263 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
6264 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
6265 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
6266 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6267 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
6268 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
6269 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
6270 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
6271 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
6272 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
6273 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
6274 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
6275 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
6276 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
6277 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
6278 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
6279 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
6280 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
6281 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
6282 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
6283 gdb.pascal/types.exp, gdb.stabs/weird.exp,
6284 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
6285 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
6286 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
6287 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
6288 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
6289 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
6290 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
6291 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6292 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6293 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6294 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6295 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
6296 lib/mi-support.exp, lib/trace-support.exp: Remove reference
6297 to bug-gdb@prep.ai.mit.edu .
6298
5e06a3d1
VP
62992008-07-31 Vladimir Prus <vladimir@codesourcery.com>
6300
6301 * lib/mi-support.exp (mi_load_shlibs): New.
6302 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
6303
9d81d21b
VP
63042008-07-30 Vladimir Prus <vladimir@codesourcery.com>
6305
6306 * lib/mi-support.exp (get_mi_thread_list)
6307 (check_mi_and_console_threads): New, moved from ...
6308 * gdb.mi/mi-pthread.exp: ...here.
6309 * gdb.mi/gdb669.exp (get_mi_thread_list)
6310 (check_mi_and_console_threads): Delete.
6311 * gdb.mi/mi2-pthread.exp: Likewise.
6312
bae98fe0
TT
63132008-07-28 Tom Tromey <tromey@redhat.com>
6314
6315 * Makefile.in (just-check): Remove. Move body to...
6316 (check): ... here.
6317
57380f4e
DJ
63182008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6319
6320 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
6321 Add a test for duplicated SIGINTs.
6322
e09490f1
DJ
63232008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6324
6325 * gdb.threads/schedlock.exp (get_args): Update to work for any
6326 value of NUM.
6327 (Top level): Report the number of threads that did not resume.
6328
6387b45f
DJ
63292008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6330
6331 * gdb.dwarf2/dw2-compressed.S: Also define __start.
6332
62f64ff2
DJ
63332008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
6334
6335 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
6336 non-MI prompt.
6337
fa8de41e
TT
63382008-07-26 Tom Tromey <tromey@redhat.com>
6339
6340 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
6341 (function_struct, function_struct_ptr): New globals.
6342 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
6343 function pointer in a struct.
6344
ccb3ac8a
TT
63452008-07-26 Tom Tromey <tromey@redhat.com>
6346
6347 * gdb.base/macscp.exp: Add test for macro lexing bug.
6348
d7d9f01e
TT
63492008-07-18 Tom Tromey <tromey@redhat.com>
6350
6351 * gdb.base/macscp.exp: Add macro tests.
6352
9bf07184
PP
63532008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6354
6355 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
6356
becf6477
PP
63572008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
6358
6359 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
6360
0709f7d3
PP
63612008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
6362
6363 * gdb.cp/class2.exp: fix for failure on spu-elf
a9c64011 6364
7093c834
PP
63652008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6366
6367 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
a9c64011 6368
b432ffe3
JK
63692008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6370
6371 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6372
b1a268e5
VP
63732008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6374
6375 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6376
e2995f8e
KB
63772008-07-11 Kevin Buettner <kevinb@redhat.com>
6378
6379 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6380 of regexp to account for changes made to GDB in the printing of
6381 byte vectors.
6382
14032a66
TT
63832008-07-11 Tom Tromey <tromey@redhat.com>
6384
6385 * gdb.base/completion.exp: Add 'help' completion test.
6386
981505ef
JK
63872008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6388
6389 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6390
10568435
JK
63912008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6392
6393 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6394
4487aabf
PA
63952008-07-09 Pedro Alves <pedro@codesourcery.com>
6396
6397 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6398
a4a9b1c4
PA
63992008-07-09 Pedro Alves <pedro@codesourcery.com>
6400
6401 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6402
3c3185ac
JK
64032008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6404
6405 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6406
7ebd49dc
VP
64072008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6408
6409 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6410 previous commit. Add a comment.
6411
84e46146
PA
64122008-06-28 Pedro Alves <pedro@codesourcery.com>
6413
6414 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6415
0f8d4a2f
VP
64162008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6417
6418 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6419
f747e0ce
PA
64202008-06-27 Pedro Alves <pedro@codesourcery.com>
6421
6422 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6423 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6424 compiling an executable, link in an object that forces unbuffered
6425 output.
6426 * lib/set_unbuffered_mode.c: New file.
6427
734a5c36
JK
64282008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6429
6430 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6431
a2840c35
VP
64322008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6433
a9c64011
AS
6434 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6435 mi_expect_stop.
6436 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6437 Demand that *running is output.
6438 (detect_async): Perform checking every time.
6439 (mi_send_resuming_command): Extract everything into...
6440 (mi_send_resuming_command_raw): ...this.
a2840c35
VP
6441 (mi_expect_stop): Don't accept any output before *stopped.
6442
6ae37fef
VP
64432008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6444
6445 Robustify mi-simplerun.
a9c64011
AS
6446 * gdb.mi/basics.c (main): Add a call to sleep.
6447 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6448 * gdb.mi/mi2-cli.exp: Likewise.
6449 * gdb.mi/mi-break.exp: Likewise.
6ae37fef 6450
b4aa76f0 64512008-06-11 Vladimir Prus <vladimir@codesourcery.com>
83408de7
VP
6452
6453 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6454
e1ac3328
VP
64552008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6456
a9c64011
AS
6457 * gdb.mi/mi-console.exp: Adjust.
6458 * gdb.mi/mi-syn-frame.exp: Adjust.
6459 * gdb.mi/mi2-console.exp: Adjust.
6460 * gdb.mi/mi2-syn-frame.exp: Adjust.
6461 * lib/mi-support.exp (mi_run_cmd): Adjust.
6462 (mi_send_resuming_command): Adjust.
e1ac3328 6463
f7f9a841
VP
64642008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6465
6466 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
a9c64011
AS
6467 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6468 testing of stopped.
6469 * gdb.mi/mi2-syn-frame.exp: Likewise.
6470 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6471 (async, detect_async): New.
6472 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6473 depending on if we're running in sync or async mode.
f7f9a841 6474
37cd5d19
TT
64752008-06-09 Tom Tromey <tromey@redhat.com>
6476
6477 * gdb.base/completion.exp: New tests for field name completion
6478 with spaces, and field name completion with '->'.
6479
65d12d83
TT
64802008-06-06 Tom Tromey <tromey@redhat.com>
6481
6482 * gdb.base/break1.c (struct some_struct): New struct.
6483 (values): New global.
6484 * gdb.base/completion.exp: Add field name completion test.
6485
ebfe2e3f
PP
64862008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6487
6488 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6489 to pointer.
6490 * gdb.cp/call-c.cc: Likewise.
6491
bcf6fc3a
NR
64922008-06-06 Nick Roberts <nickrob@snap.net.nz>
6493
6494 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6495 annotation.
6496
49fd4a42 64972008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
a9c64011 6498 Pedro Alves <pedro@codesourcery.com>
49fd4a42
PA
6499
6500 * gdb.threads/execl.c, gdb.threads/execl1.c,
6501 gdb.threads/execl.exp: New tests.
a9c64011 6502
8a34ac3f
AR
65032008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6504 Daniel Jacobowitz <dan@codesourcery.com>
6505
6506 * gdb.cp/exception.exp: Activate test, make it work with pending
6507 catchpoints.
6508
86ae69ef
JK
65092008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6510
6511 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6512
f7f9ae2c
VP
65132008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6514
a9c64011
AS
6515 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6516 now printed.
6517 * gdb.mi/mi2-var-cmd.exp: Likewise.
f7f9ae2c 6518
2a2d4dc3
AS
65192008-05-27 Andreas Schwab <schwab@suse.de>
6520
6521 * gdb.base/frame-args.exp: Handle arguments that are optimized
6522 out.
6523
5099e4d9
LM
65242008-05-26 Luis Machado <luisgpm@br.ibm.com>
6525
6526 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6527 quiet for ppc32 and group options into a single variable.
6528
d9c36a91
JB
65292008-05-23 Joel Brobecker <brobecker@adacore.com>
6530
6531 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6532 of zero-size elements.
6533 * gdb.ada/null_array.exp: Test printing this new array.
6534
103a8671
JK
65352008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6536
6537 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6538
07a4cc1a 65392008-05-21 Joel Brobecker <brobecker@adacore.com>
5943254b
JB
6540
6541 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6542 of the "finish" command.
6543
55f996a7
NR
65442008-05-21 Nick Roberts <nickrob@snap.net.nz>
6545
6546 * gdb.base/annota1.exp: Test for new annotation.
6547
907fc202
UW
65482008-05-16 Pedro Alves <pedro@codesourcery.com>
6549
6550 * gdb.base/fixsection.exp: New file.
6551 * gdb.base/fixsection0.c: New file.
6552 * gdb.base/fixsection1.c: New file.
6553
e8f97270
UW
65542008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6555
6556 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6557 * gdb.base/annota3.exp: Likewise.
6558
ac0bb574
NF
65592008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6560
6561 * gdb.base/watch_thread_num.exp: Don't run tests that require
6562 watchpoints if the target doesn't support them.
6563
6fadd07a
DE
65642008-05-12 Doug Evans <dje@google.com>
6565
6566 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6567
6e9a4a30
JB
65682008-05-09 Joel Brobecker <brobecker@adacore.com>
6569
6570 * gdb.ada/assign_1.exp: New testcase.
6571
08388c79
DE
65722008-05-09 Doug Evans <dje@google.com>
6573
a3c83fae
DE
6574 * gdb.base/find.exp: New file.
6575 * gdb.base/find.c: New file.
08388c79 6576
bd5ddfe8
DJ
65772008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6578
6579 * gdb.base/commands.exp (watchpoint_command_test): Handle
6580 gdb,no_hardware_watchpoints.
6581 * gdb.base/float.exp: Allow ARM targets without floating point.
6582 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6583
b5dd68e2 65842008-05-06 Jerome Guitton <guitton@adacore.com>
a9c64011 6585 Joel Brobecker <brobecker@adacore.com>
b5dd68e2
JB
6586
6587 * gdb.ada/lang_switch: New test program.
6588 * gdb.ada/lang_switch.exp: New testcase.
6589
382d13d1
DE
65902008-05-05 Doug Evans <dje@google.com>
6591
6592 * gdb.base/help.exp (disassemble): Update expected help text.
6593
9dd789d0
PA
65942008-05-04 Pedro Alves <pedro@codesourcery.com>
6595
6596 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6597
611c83ae
PA
65982008-05-04 Pedro Alves <pedro@codesourcery.com>
6599
6600 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6601 different times.
6602
ff013f42
JK
66032008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6604
6605 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6606 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6607 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6608 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6609
96dff6a2
VP
66102008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6611
6612 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6613 notification to appear.
6614
55cd6f92
DJ
66152008-05-04 Daniel Jacobowitz <dan@debian.org>
6616
6617 * gdb.base/fullname.c: New file.
6618 * gdb.base/fullname.exp: New file.
6619 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6620
d705c43c
PA
66212008-05-03 Pedro Alves <pedro@codesourcery.com>
6622
6623 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6624 expressions with macros.
6625
333222e1
JK
66262008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6627
6628 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6629
5ac01682
DJ
66302008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6631
6632 * gdb.base/completion.exp: Handle lack of other symbols beginning
6633 with "a".
6634
6635 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6636
237fc4c9
PA
66372008-05-02 Jim Blandy <jimb@codesourcery.com>
6638
6639 * gdb.asm/asmsrc1.s: Add scratch space.
6640
ed5e9466
DJ
66412008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6642 Daniel Jacobowitz <dan@codesourcery.com>
6643
6644 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6645 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6646 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6647
b39cc962
DJ
66482007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6649
6650 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6651
36d520f5
JB
66522008-05-01 Joel Brobecker <brobecker@adacore.com>
6653
6654 * gdb.base/info-target.exp: New testcase.
6655
8d4e3071
DJ
66562008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6657
6658 * gdb.cp/hang.exp: Use .cc instead of .C.
6659 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6660 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6661
6f3f3097
DJ
66622008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6663
6664 * gdb.base/gdb1250.exp: Remove perror.
6665 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6666
5550a914
PA
66672008-04-30 Pedro Alves <pedro@codesourcery.com>
6668
6669 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6670 .2byte.
6671
d848e687
DJ
66722008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6673
6674 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6675 (maybe_kfail): New.
6676
93b5768b
PA
66772008-04-25 Pedro Alves <pedro@codesourcery.com>
6678
6679 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6680
721c02de
VP
66812008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6682
a9c64011
AS
6683 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6684 * gdb.mi/mi2-syn-frame.exp: Likewise.
6685 * lib/mi-support.exp: Likewise.
721c02de 6686
74960c60
VP
66872008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6688
6689 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6690 to specify regexp for the location to stop at.
6691 * gdb.base/break-always.c: New.
6692 * gdb.base/break-always.exp: New.
6693
d24317b4
VP
66942008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6695
6696 * lib/mi-support.exp (mi_runto_helper): Adjust
6697 for the original-location field.
6698 (mi_create_breakpoint, mi_list_breakpoints): New.
6699 * gdb.mi/mi-break.exp: Adjust.
6700 * gdb.mi/mi2-break.exp: Adjust.
6701 * gdb.mi/mi-pending.exp: Adjust.
6702 * gdb.mi/mi-simplerun.exp: Adjust.
6703 * gdb.mi/mi2-simplerun.exp: Adjust.
6704 * gdb.mi/mi-syn-frame.exp: Adjust.
6705 * gdb.mi/mi2-syn-frame.exp: Adjust.
6706 * gdb.mi/mi-until.exp: Adjust.
6707 * gdb.mi/mi2-until.exp: Adjust.
6708 * gdb.mi/mi-var-display.exp: Adjust.
6709 * gdb.mi/mi2-var-display.exp: Adjust.
6710 * gdb.mi/mi-watch.exp: Adjust.
6711 * gdb.mi/mi2-watch.exp: Adjust.
6712
fdc59709 67132008-04-23 Paolo Bonzini <bonzini@gnu.org>
d24317b4 6714
a9c64011
AS
6715 * aclocal.m4: Add override.m4.
6716 * configure: Regenerate.
fdc59709 6717
8e91f023
VP
67182008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6719
6720 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6721 '-var-update --all-values' reports new value even the type
6722 of a variable object has changed.
6723
233a11ab
CS
67242008-04-18 Craig Silverstein <csilvers@google.com>
6725
6726 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6727 files.
d24317b4 6728
9c1137ad
JB
67292008-04-18 Joel Brobecker <brobecker@adacore.com>
6730
6731 * gdb.ada/atomic_enum: New test program.
6732 * gdb.ada/atomic_enum.exp: New testcase.
6733
66d0bbc7
DE
67342008-04-17 Doug Evans <dje@google.com>
6735
6736 * gdb.opt/Makefile.in: Fix whitespace.
6737
100906b0
UW
67382008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6739
6740 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6741
4584e32e
DE
67422008-04-17 Doug Evans <dje@google.com>
6743
6744 * gdb.base/hashline1.exp: New testcase.
6745 * gdb.base/hashline2.exp: New testcase.
6746 * gdb.base/hashline2.exp: New testcase.
6747
0a320680
PA
67482008-04-17 Pedro Alves <pedro@codesourcery.com>
6749
6750 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6751
18ac113b
AR
67522008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6753
6754 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6755 temporary breakpoint to match "Temporary breakpoint".
6756 * gdb.base/break.exp (delete_breakpoints): Likewise.
6757 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6758 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6759 * gdb.base/display.exp: Likewise.
6760 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6761 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6762 * gdb.base/restore.exp (restore_tests): Likewise.
6763 * gdb.base/sepdebug.exp: Likewise.
6764 * gdb.base/watchpoint.exp: Likewise.
6765 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6766 * gdb.mi/mi-pending.exp: Likewise.
6767 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6768 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6769 * gdb.mi/mi-var-cmd.exp: Likewise.
6770 * gdb.mi/mi-var-display.exp: Likewise.
6771 * gdb.mi/mi2-cli.exp: Likewise.
6772 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6773 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6774 * gdb.mi/mi2-var-display.exp: Likewise.
6775 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6776 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6777 new "disp" field.
a9c64011 6778 (mi_expect_stop): Move after_reason argument to be really after
18ac113b
AR
6779 reason. This is to support fix for PR2424.
6780
add38693
JK
67812008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6782
6783 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6784
fcacd99f
VP
67852008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6786
6787 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
a9c64011 6788 field. Add more floating varobj tests.
fcacd99f 6789 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
a9c64011
AS
6790 field.
6791 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6792 (main): Call do_at_tests.
6793 * lib/mi-support.exp (mi_create_floating_varobj)
6794 (mi_varobj_update_with_type_change): New.
fcacd99f 6795
de051565
MK
67962008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6797
6798 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6799 option of -var-evaluate-expression.
6800 * gdb.mi/mi2-var-display.exp: Likewise.
6801
dbc52822
VP
68022008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6803
6804 Introduce test setup helpers.
a9c64011
AS
6805 * lib/gdb.exp (build_executable, clean_restart)
6806 (prepare_for_testing): New.
6807 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6808 * gdb.base/return.exp: Likewise.
6809 * gdb.base/ending-run.exp: Likewise.
dbc52822 6810
473591da
NR
68112008-04-07 Nick Roberts <nickrob@snap.net.nz>
6812
6813 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6814 Interface (MI) responses.
6815
2b2d9e11
VP
68162008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6817
a9c64011
AS
6818 * gdb.cp/breakpoint.cc: New code to test conditions involving
6819 member variables.
6820 * gdb.cp/breakpoint.exp: Test condition involving member
6821 variables.
2b2d9e11 6822
bb378428
VP
68232008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6824
6825 * lib/mi-support.exp (mi_expect_stop): New.
6826 (mi_run_cmd): Change the
6827 token. Use mi_send_resuming_command, use
6828 mi_expect_stop.
6829 (mi_execute_to_helper): Rename to mi_execute_to.
6830 (mi_send_resuming_command): Add more error patterns.
6831 (mi_wait_for_stop): Renamed to...
6832 (mi_get_stop_line): ...this.
6833 (mi_run_inline_test): Adjust.
6834
6835 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6836 * gdb.mi/mi-console.exp: Likewise.
6837 * gdb.mi/mi-pending.exp: Likewise.
6838 * gdb.mi/mi-simplerun.exp: Likewise.
6839 * gdb.mi/mi-stack.exp: Likewise.
6840 * gdb.mi/mi-stepi.exp: Likewise.
6841 * gdb.mi/mi-syn-frame.exp: Add comment.
6842 * gdb.mi/mi-until.exp: Likewise.
6843 * gdb.mi/mi-var-display.exp: Likewise.
6844 * gdb.mi/mi-watch.exp: Likewise.
6845 * gdb.mi/mi2-cli.exp: Likewise.
6846 * gdb.mi/mi2-console.exp: Likewise.
6847 * gdb.mi/mi2-simplerun.exp: Likewise.
6848 * gdb.mi/mi2-stack.exp: Likewise.
6849 * gdb.mi/mi2-stepi.exp: Likewise.
6850 * gdb.mi/mi2-until.exp: Likewise.
6851 * gdb.mi/mi2-var-display.exp: Likewise.
6852 * gdb.mi/mi2-watch.exp: Likewise.
6853
62172bb9
UW
68542008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6855
6856 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6857
6858 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6859
a13e061a
PA
68602008-04-04 Pedro Alves <pedro@codesourcery.com>
6861
6862 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
6863 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
6864 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
6865 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
6866 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
6867 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
6868 expect an mi error duplicated in stderr.
6869
eae06beb
JB
68702008-04-03 Joel Brobecker <brobecker@adacore.com>
6871
6872 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
6873 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
6874 Add a couple of tests that verify the behavior when the new setting
6875 is set to "cancel" and "all".
6876 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
6877 "ask" before we start the testing.
6878
79c6ced6
AR
68792008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6880
6881 * gdb.cp/casts.cc: Add class reference variables.
6882 * gdb.cp/casts.exp: New test cases for up/down casting references.
6883
6c2d1a6b
MK
68842008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
6885
6886 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
6887 instead of beginning to make an extra test pass.
6888 * gdb.mi/mi2-var-display.exp: Likewise.
6889
55b411d9
MR
68902008-03-31 Maciej W. Rozycki <macro@mips.com>
6891
6892 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6893
c6140da2
MD
68942008-03-31 Markus Deuling <deuling@de.ibm.com>
6895 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6896
6897 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6898 value. Add xfail for older kernels.
6899
79732189
AR
69002008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
6901
6902 Bring mi-support in line with gdb.exp.
6903 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
6904 (mi_gdb_start): New function.
6905
33c3676e
MR
69062008-03-28 Maciej W. Rozycki <macro@mips.com>
6907
6908 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6909
92e28119
VP
69102008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6911
6912 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6913 * gdb.mi/mi2-var-display.exp: Likewise.
a9c64011 6914
9e8e3afe
VP
69152008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6916
6917 * lib/mi-support.exp (mi_create_varobj_checked): New.
6918 (mi_list_varobj_children): Allow to check for a
6919 value.
6920 (mi_list_array_varobj_children): New.
6921
6922 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6923 and mi_list_varobj_children, as opposed to hardcoding
6924 expected strings.
6925 * gdb.mi/gdb701.exp: Likewise.
6926 * gdb.mi/gdb792.exp: Likewise.
6927 * gdb.mi/mi-var-block.exp: Likewise.
6928 * gdb.mi/mi-var-cmd.exp: Likewise.
6929 * gdb.mi/mi-var-invalidate.exp: Likewise.
6930 * gdb.mi/mi2-var-block.exp: Likewise.
6931 * gdb.mi/mi2-var-child.exp: Likewise.
6932 * gdb.mi/mi2-var-cmd.exp: Likewise.
6933 * gdb.mi/mi2-var-display.exp: Likewise.
6934
9df50351
JK
69352008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6936
6937 Fix random false FAILs on i386.
6938 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
6939
31e5d73a
DJ
69402008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6941
6942 PR gdb/544
6943 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
6944
12f4afab
DJ
69452008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6946
6947 PR gdb/544
6948 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
6949
b562a0cb
DJ
69502008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6951
6952 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
6953 fixed PR gdb/544.
6954
17faa917
DJ
69552008-03-21 Pedro Alves <pedro@codesourcery.com>
6956
6957 * gdb.threads/fork-child-threads.exp: Test next over fork.
6958
6214f497
DJ
69592008-03-21 Chris Demetriou <cgd@google.com>
6960
6961 * gdb.base/break.exp (rbreak junk): New test for rbreak
6962 "Junk at end of arguments" issue.
6963
63092375
DJ
69642008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6965
6966 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
6967 *& to work on created array elements.
6968 (Top level): Test print $pc with a file. Test string operations
6969 without a target.
6970 * gdb.base/ptype.exp: Do not expect *& to work on created array
6971 elements.
6972
b21991b0
DJ
69732008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6974
6975 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6976 gdb.threads/staticthreads.exp: Update exit query.
6977
c4b347c7
SL
69782008-03-07 Sandra Loosemore <sandra@codesourcery.com>
6979
6980 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
6981
fa4727a6
DJ
69822008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
6983
6984 * gdb.base/watchpoint.c (global_ptr, func4): New.
6985 (main): Call func4.
6986 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
6987 (test_inaccessible_watchpoint): New.
6988
2f34202f
MR
69892008-02-29 Maciej W. Rozycki <macro@mips.com>
6990
6991 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
6992 select the largest.
6993
0d6ba1b1
DJ
69942008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6995
6996 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
6997 frames-invalid annotations.
6998
e691325a
PM
69992008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
7000
a9c64011 7001 * gdb.base/assign.exp: avoid same output for different tests.
e691325a 7002
f85b5ecc
DE
70032008-02-27 Doug Evans <dje@google.com>
7004
7005 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
7006 for bug 1738.
7007 (breakpoint_to_handler_entry): Ditto.
7008
b40e7bf3
JB
70092008-02-27 Joel Brobecker <brobecker@adacore.com>
7010
7011 * gdb.base/ending-run.exp: Use the first line of code inside
7012 function body to test breakpoints.
7013 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
7014 location where the breakpoint is inserted when using the line
7015 where a function is declared. Fix typo in the description of
7016 one of the tests.
7017 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
7018
2faca73a
PM
70192008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7020
7021 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
a9c64011 7022 tests.
2faca73a 7023
6f439c36
PM
70242008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
7025
7026 * gdb.base/args.exp: avoid same output for tests
7027 with single quotes.
7028
54e52265
VP
70292008-02-26 Vladimir Prus <vladimir@codesourcery.com>
7030
a9c64011
AS
7031 * gdb.base/annota1.exp: Adjust for 'info break'
7032 format changes.
7033 * gdb.base/annota3.exp: Likewise.
7034 * gdb.base/break.exp: Likewise.
7035 * gdb.base/condbreak.exp: Likewise.
7036 * gdb.base/pending.exp: Likewise.
7037 * gdb.base/sepdebug.exp: Likewise.
7038 * gdb.base/unload.exp: Likewise.
7039 * gdb.cp/ovldbreak.exp: Likewise.
7040 * gdb.mi/mi-pending.exp: Likewise.
54e52265 7041
897b09ca
DE
70422008-02-07 Doug Evans <dje@google.com>
7043
7044 * gdb.cp/mb-inline.exp: New.
7045 * gdb.cp/mb-inline.h: New.
7046 * gdb.cp/mb-inline1.cc: New.
7047 * gdb.cp/mb-inline2.cc: New.
7048
b1c32d35
PM
70492008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
7050
7051 * gdb.pascal/floats.pas: New test program.
7052 * gdb.pascal/floats.exp: New testcase.
7053
1a4ca44a
TJB
70542008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
7055
7056 * gdb.base/callfuncs.c (t_float_many_args): New function.
7057 (t_double_many_args): New function.
7058 * gdb.base/callfuncs.exp: Add tests for exceeding float
7059 and double parameters passed through the stack.
7060
439048e8
JB
70612008-02-05 Joel Brobecker <brobecker@adacore.com>
7062
7063 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
7064 gdb.ada/complete/foo.adb: New files.
7065 * gdb.ada/complete.exp: New testcase.
7066
81fe8080
DE
70672008-02-03 Doug Evans <dje@google.com>
7068
301f0ecf
DE
7069 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
7070
81fe8080
DE
7071 * gdb.cp/gdb2384.exp: New file.
7072 * gdb.cp/gdb2384.cc: New file.
7073 * gdb.cp/gdb2384-base.h: New file.
7074 * gdb.cp/gdb2384-base.cc: New file.
7075
4b071aec
DE
70762008-02-02 Doug Evans <dje@google.com>
7077
7078 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
7079
61137ba6
JB
70802007-02-01 Joel Brobecker <brobecker@adacore.com>
7081
7082 * gdb.ada/sym_print_name: New test program.
7083 * gdb.ada/sym_print_name.exp: New testcase.
7084
70852007-02-01 Joel Brobecker <brobecker@adacore.com>
51ba8a62
JB
7086
7087 * gdb.ada/nested/hello.adb: New file.
7088 * gdb.ada/nested.exp: New testcase.
7089 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7090
98deb0da
VP
70912008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7092
7093 * gdb.mi/basic.c (return_1): New function.
a9c64011
AS
7094 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
7095 don't cause future evaluations of function to report
7096 creation of internal breakpoints.
98deb0da 7097
723a2275
VP
70982008-02-01 Vladimir Prus <vladimir@codesourcery.com>
7099
7100 * gdb.mi/mi-break.exp (test_error): New.
7101 Call it.
7102
fb546a2f
LM
71032008-01-31 Luis Machado <luisgpm@br.ibm.com>
7104
7105 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
7106 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
7107
2d8fd90a
PM
71082008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7109
7110 * gdb.pascal/integers.pas: New test program.
7111 * gdb.pascal/integers.exp: New testcase.
7112
a7fa0ded
PM
71132008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
7114
7115 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
7116
5e1a1926
TJB
71172008-01-30 Luis Machado <luisgpm@br.ibm.com>
7118
7119 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
7120 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
7121
8d04f9f0
JB
71222008-01-30 Paul Hilfinger <hilfinger@adacore.com>
7123
7124 * gdb.ada/formatted_ref: New test program.
7125 * gdb.ada/formatted_ref.exp: New testcase.
7126
7127 * gdb.cp/formatted-ref.cc: New file.
7128 * gdb.cp/formatted-ref.exp: New testcase.
7129
ce75a98f
JB
71302008-01-30 Joel Brobecker <brobecker@adacore.com>
7131
7132 * gdb.base/ptype.exp: Add testing of "ptype $pc".
7133
e835f6bf
NR
71342008-01-30 Nick Roberts <nickrob@snap.net.nz>
7135
7136 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
7137 (test_file_list_exec_source_file): Update to new macro-info field.
7138
d118ef87
PH
71392008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
7140
7141 * gdb.ada/exprs: New test program.
7142 * gdb.ada/exprs.exp: New testcase.
7143
7d35ab09
TJB
71442008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7145
7146 * dfp-test.c (DELTA, DELTA_B): New definitions.
7147 (double_val1, double_val2, double_val3, double_val4, double_val5,
7148 double_val6, double_val7, double_val8, double_val9, double_val10,
7149 double_val11, double_val12, double_val13, double_val14, dec32_val1,
7150 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
7151 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
7152 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
7153 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
7154 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
7155 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
7156 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
7157 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
7158 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
7159 dec128_val16): New global variables.
7160 (decimal_dec128_align): New function.
7161 (decimal_mixed): Likewise.
7162 (decimal_many_args_dec32): Likewise.
7163 (decimal_many_args_dec64): Likewise.
7164 (decimal_many_args_dec128): Likewise.
7165 (decimal_many_args_mixed): Likewise.
7166 * dfp-test.exp: Add tests calling new inferior functions.
7167
2d717e4f
DJ
71682008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7169
7170 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
7171 gdb.server/ext-run.exp: New files.
7172 * lib/gdbserver-support.exp (gdbserver_download): New.
7173 (gdbserver_start): New. Update gdbserver expected
7174 output.
7175 (gdbserver_spawn): Use them.
7176 (gdbserver_start_extended): New.
7177
e85a822c
DJ
71782008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
7179
7180 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
7181 Run on GNU/Linux.
7182 (do_exec_tests): Check for systems which do not support catchpoints.
7183 Do not match START.
7184 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
7185 Run on GNU/Linux. Enable verbose output.
7186 (check_fork_catchpoints): New.
7187 (explicit_fork_child_follow, catch_fork_child_follow)
7188 (tcatch_fork_parent_follow): Update expected messages.
7189 (do_fork_tests): Use check_fork_catchpoints.
7190 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
7191 Run on GNU/Linux. Enable verbose output.
7192 (check_vfork_catchpoints): New.
7193 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
7194 expected messages.
7195 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
7196
401ea829
JB
71972008-01-29 Jim Blandy <jimb@red-bean.com>
7198
7199 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
7200 host' errors.
7201 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
7202
aceaf3ad
JB
72032008-01-29 Jim Blandy <jimb@red-bean.com>
7204
7205 * gdb.threads/sigthread.c: Use barriers to ensure that
7206 child_thread and child_thread_two are always initialized before we
7207 start to use them.
7208
a5606eee
VP
72092008-01-29 Vladimir Prus <vladimir@codesourcery.com>
7210
7211 * gdb.base/watchpoint-solib.exp: New.
a9c64011
AS
7212 * gdb.base/watchpoint-solib.c: New.
7213 * gdb.base/watchpoint-solib-shr.c: New.
a5606eee 7214
c55a82bb
PM
72152008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
7216
7217 * gdb.base/gdb1056.exp: Add unsigned integer test.
7218
0993fe05
DE
72192008-01-28 Doug Evans <dje@google.com>
7220
7221 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
7222
4fe42e7f
JB
72232008-01-27 Jim Blandy <jimb@codesourcery.com>
7224
c7a69933
JB
7225 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
7226
4fe42e7f
JB
7227 * gdb.base/expand-psymtabs.exp: Doc fix.
7228
5def8285
MK
72292008-01-26 Mark Kettenis <kettenis@gnu.org>
7230
7231 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
7232
5313c911
NR
72332008-01-24 Nick Roberts <nickrob@snap.net.nz>
7234
a9c64011 7235 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
5313c911
NR
7236 -var-set-format.
7237
93815fbf
VP
72382008-01-23 Chris Demetriou <cgd@google.com>
7239
7240 * gdb.threads/thread_events.c: New testcase source file.
7241 * gdb.threads/thread_events.exp: New testcase expect file.
7242
467a88ee
NR
72432008-01-23 Nick Roberts <nickrob@snap.net.nz>
7244
7245 * lib/gdb.exp: Add the variable octal.
a9c64011
AS
7246
7247 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
467a88ee
NR
7248 -var-set-format.
7249
d8f82aba
DJ
72502008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
7251 Vladimir Prus <vladimir@codesourcery.com>
7252
7253 * gdb.base/float.exp: Allow missing floating point for m68k and
7254 PowerPC.
7255
60c46647
VP
72562008-01-22 Vladimir Prus <vladimir@codesourcery.com>
7257
7258 * gdb.mi/basics.c: Setup for testing breakpoints
a9c64011
AS
7259 ignore count.
7260 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
7261 * gdb.mi/mi-cli.exp: Adjust.
7262 * gdb.mi/mi2-cli.exp: Adjust.
60c46647 7263
c7dd36a1
PA
72642008-01-17 Pedro Alves <pedro@codesourcery.com>
7265
7266 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
7267 and 'dummy_ptr' integer pointer. Initialize struct_declarations
7268 with dummy_ptr's address.
7269 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
7270 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
7271 all targets.
7272 * gdb.mi/mi2-var-child.exp: Likewise.
7273
39d5313e
JB
72742008-01-09 Joel Brobecker <brobecker@adacore.com>
7275
7276 * gdb.ada/null_array: New test program.
7277 * gdb.ada/null_array.exp: New testcase.
7278
0aea4bf3
LM
72792008-01-09 Luis Machado <luisgpm@br.ibm.com>
7280
7281 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
7282 with required float modifiers.
7283
0b354900
JB
72842008-01-08 Joel Brobecker <brobecker@adacore.com>
7285
7286 * gdb.ada/funcall_param: New test program.
7287 * gdb.ada/funcall_param.exp: New testcase.
7288
cdb7f5d4
JB
72892008-01-08 Joel Brobecker <brobecker@adacore.com>
7290
7291 * gdb.ada/arrayparam: New test program.
7292 * gdb.ada/arrayparam.exp: New testcase.
7293
88e2547f
JB
72942008-01-08 Joel Brobecker <brobecker@adacore.com>
7295
7296 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
7297 landed. Should also fix random failures in the test following it.
7298
f6867ce0
TJB
72992008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7300
7301 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
7302 for expressions with decimal float values.
7303 (test_dfp_conversions): New function to test casts to and from
7304 decimal float types.
7305 Call test_dfp_conversions.
7306 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
7307 elements.
7308 (main): Initialize ds.float4 and ds.double8 elements.
7309 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
7310 string to new error message.
7311 (d64_set_tests): Likewise.
7312 (d128_set_tests): Likewise.
7313 Add tests for expressions with decimal float variables. Add tests for
7314 conversions to and from decimal float types.
7315
f9c11282
JB
73162008-01-05 Joel Brobecker <brobecker@adacore.com>
7317
7318 * gdb.ada/packed_tagged/comp_bug.adb: New file.
7319 * gdb.ada/packed_tagged.exp: New testcase.
7320
0ecbca72
JB
73212008-01-04 Joel Brobecker <brobecker@adacore.com>
7322
7323 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
7324 gdb.ada/homonym/homonym_main.adb: New files.
7325 * gdb.ada/homonym.exp: New testcase.
7326
c18d3d89
JB
73272008-01-04 Joel Brobecker <brobecker@adacore.com>
7328
7329 * gdb.ada/packed_array.exp: Add testing of references to
7330 a packed array.
7331
ecc7085b
JB
73322008-01-04 Joel Brobecker <brobecker@adacore.com>
7333
7334 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
7335 New files.
7336 * gdb.ada/type_coercion.exp: New testcase.
7337
c474c922
JB
73382008-01-04 Joel Brobecker <brobecker@adacore.com>
7339
7340 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
7341 gdb.ada/tagged/foo.adb: New file.
7342 * gdb.ada/tagged.exp: New testcase.
7343
9005b927
JB
73442008-01-04 Joel Brobecker <brobecker@adacore.com>
7345
7346 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
7347 gdb.ada/ptype_field/foo.adb: New files.
7348 * gdb.ada/ptype_field.exp: New testcase.
7349
1a6aaad8
JB
73502008-01-03 Joel Brobecker <brobecker@adacore.com>
7351
7352 * gdb.ada/print_pc.exp: New testcase.
7353
0ef22f53
JB
73542008-01-03 Joel Brobecker <brobecker@adacore.com>
7355
7356 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
7357 gdb.ada/taft_type/p.adb: New files.
7358 * gdb.ada/taft_type.exp: New testcase.
7359
1689ecf8
JB
73602008-01-03 Joel Brobecker <brobecker@adacore.com>
7361
7362 * gdb.ada/array_bounds/bar.adb: New file.
7363 * gdb.ada/array_bounds.exp: New testcase.
7364
a4d0b9c3
JB
73652008-01-03 Joel Brobecker <brobecker@adacore.com>
7366
7367 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
7368 gdb.ada/arrayptr/foo.adb: New files.
7369 * gdb.ada/arrayptr.exp: New testcase.
7370
a31ace00
JB
73712008-01-03 Joel Brobecker <brobecker@adacore.com>
7372
7373 * gdb.base/set-lang-auto.exp: New testcase.
7374
a97fced3
JB
73752008-01-03 Joel Brobecker <brobecker@adacore.com>
7376
7377 * gdb.ada/fun_addr/foo.adb: New file.
7378 * gdb.ada/fun_addr.exp: New testcase.
7379
ef29ce1a
JK
73802008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7381
7382 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7383 New files
7384
0fafefe3
JB
73852008-01-02 Joel Brobecker <brobecker@adacore.com>
7386
7387 * array_subscript_addr/p.adb: New file.
a9c64011 7388 * array_subscript_addr.exp: New testcase.
0fafefe3 7389
c4359f8d
JB
73902008-01-02 Joel Brobecker <brobecker@adacore.com>
7391
a9c64011 7392 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
c4359f8d
JB
7393 New files.
7394 * gdb.ada/str_cmp_ref.exp: New testcase.
7395
1aa1b15b
JB
73962008-01-01 Joel Brobecker <brobecker@adacore.com>
7397
7398 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7399 gdb.ada/fun_in_declare/foo.adb: New files.
a9c64011 7400 * gdb.ada/fun_in_declare.exp: New testcase.
1aa1b15b 7401
81c9b2cf
JB
74022008-01-01 Joel Brobecker <brobecker@adacore.com>
7403
7404 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7405 gdb.ada/ref_param/pck.ads: New files.
7406 * gdb.ada/ref_param.exp: New testcase.
7407
319e4674
JB
74082008-01-01 Joel Brobecker <brobecker@adacore.com>
7409
7410 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7411 gdb.ada/interface/foo.adb: New files.
7412 * gdb.ada/interface.exp: New testcase.
7413
ef682c56
JB
74142007-12-31 Jim Blandy <jimb@codesourcery.com>
7415
7416 * gdb.base/multi-forks.exp: Consume all output from child
7417 processes before proceeding to next test.
7418
f6f3eb6c
JB
74192007-12-29 Jim Blandy <jimb@codesourcery.com>
7420
7421 * configure: Regenerated.
7422
f652e42f
JB
74232007-12-27 Joel Brobecker <brobecker@adacore.com>
7424
7425 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7426 gdb.ada/fixed_cmp/fixed.adb: New files.
7427 * gdb.ada/fixed_cmp.exp: New testcase.
7428
6943e596
JB
74292007-12-27 Joel Brobecker <brobecker@adacore.com>
7430
7431 * gdb.ada/boolean_expr.exp: New testcase.
7432
aad9a193
JB
74332007-12-26 Jim Blandy <jimb@codesourcery.com>
7434
7435 * gdb.base/multi-forks.exp: Doc fix.
7436
fb5f3683
JB
74372007-12-26 Joel Brobecker <brobecker@adacore.com>
7438
7439 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7440 * gdb.ada/char_param.exp: Do not compile our test program with
7441 -gnata, this is unnecessary.
7442 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7443
384e4a9c
JB
74442007-12-24 Joel Brobecker <brobecker@adacore.com>
7445
7446 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7447 gdb.ada/print_chars/foo.adb: New files.
7448 * gdb.ada/print_chars.exp: New testcase.
7449
01e044f7
JB
74502007-12-24 Joel Brobecker <brobecker@adacore.com>
7451
7452 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7453 gdb.ada/char_param/foo.adb: New files.
7454 * gdb.ada/char_param.exp: New testcase.
7455
0ce17860
JB
74562007-12-22 Jim Blandy <jimb@codesourcery.com>
7457
7458 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7459 hard-coding source line numbers into the test.
7460 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7461 gdb_get_line_number to find.
7462
919809b9
JB
74632007-12-22 Joel Brobecker <brobecker@adacore.com>
7464
7465 * gdb.base/ptype.c (highest): New struct type.
7466 (the_highest): New variable of that type.
7467 (main): Add dummy assignment to a field of variable the_highest.
7468 * gdb.base/ptype.exp: Test type printing of our new variable.
7469
abc8a88d
PM
74702007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7471
7472 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
a9c64011 7473 and record first explicitly generated thread number.
abc8a88d
PM
7474 Use that thread number for thread specific watchpoint test.
7475 Add iteration number to repetitive tests.
7476
5158f3e3
CES
74772007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7478 Jim Blandy <jimb@codesourcery.com>
7479
7480 * gdb.base/expand-psymtabs.c: New testcase
7481 source file.
7482 * gdb.base/expand-psymtabs.exp: New testcase
7483 expect file.
7484
37e4754d
LM
74852007-12-17 Luis Machado <luisgpm@br.ibm.com>
7486
7487 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7488 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7489
551e5d04
JB
74902007-12-17 Joel Brobecker <brobecker@adacore.com>
7491
7492 * gdb.ada/frame_args/foo.adb: New file.
7493 * gdb.ada/frame_args/pck.ads: New file.
7494 * gdb.ada/frame_args/pck.adb: New file.
7495 * gdb.ada/frame_args.exp: New testcase.
7496
a05ee097
JB
74972007-12-17 Joel Brobecker <brobecker@adacore.com>
7498
7499 * gdb.base/frame-args.c: New file.
7500 * gdb.base/frame-args.exp: New testcase.
7501
c162e8c9 75022007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
a9c64011 7503 Joseph Myers <joseph@codesourcery.com>
c162e8c9
JM
7504
7505 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7506
afe8ab22 75072007-12-14 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 7508
afe8ab22
VP
7509 * gdb.mi/mi-pending.exp: New.
7510 * gdb.mi/mi-pending.c: New.
7511 * gdb.mi/mi-pendshr.c: New.
7512
dfdfb3ca
JB
75132007-12-06 Jim Blandy <jimb@codesourcery.com>
7514
7515 * gdb.base/default.exp: Update expected output for 'info catch'.
7516
b7fca990
JK
75172007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7518
7519 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7520 must be set to binary.
7521
6a1afc1e
PA
75222007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7523
7524 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7525
a6b151f1
DJ
75262007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7527
7528 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7529 gdb.mi/mi-file-transfer.exp: New.
7530
43039443
JK
75312007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7532
7533 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7534
0ef2251b
MR
75352007-11-22 Maciej W. Rozycki <macro@mips.com>
7536
7537 * gdb.trace/backtrace.exp: Fix a typo.
7538 * gdb.trace/circ.exp: Likewise.
7539 * gdb.trace/collection.exp: Likewise.
7540 * gdb.trace/limits.exp: Likewise.
7541 * gdb.trace/report.exp: Likewise.
7542 * gdb.trace/tfind.exp: Likewise.
7543 * gdb.trace/while-dyn.exp: Likewise.
7544
5443631e
NR
75452007-11-21 Nick Roberts <nickrob@snap.net.nz>
7546
7547 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7548 objects of pointers that can't be dereferenced are now
7549 "noneditable".
7550
a4ce5b0d
UW
75512007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7552
7553 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7554 (target_cpu): Remove.
7555
d6e956e5
VP
75562007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7557
7558 * gdb.base/ending-run.exp: Expect the list of cleared
7559 breakpoint to come in natural order, not the reversed one.
a9c64011 7560
214270ab
VP
75612007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7562
7563 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7564 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
a9c64011 7565
1a619819
LM
75662007-11-05 Luis Machado <luisgpm@br.ibm.com>
7567
7568 * gdb.base/printcmds.exp: New function
7569 test_printf_with_dfp.
7570
5b01a6fa
DE
75712007-11-02 Doug Evans <dje@google.com>
7572
7573 * gdb.disasm/t01_mov.s: Remove carriage returns.
7574 * gdb.disasm/t02_mova.s: Ditto.
7575 * gdb.disasm/t03_add.s: Ditto.
7576 * gdb.disasm/t04_sub.s: Ditto.
7577 * gdb.disasm/t05_cmp.s: Ditto.
7578 * gdb.disasm/t06_ari2.s: Ditto.
7579 * gdb.disasm/t07_ari3.s: Ditto.
7580 * gdb.disasm/t08_or.s: Ditto.
7581 * gdb.disasm/t09_xor.s: Ditto.
7582 * gdb.disasm/t10_and.s: Ditto.
7583 * gdb.disasm/t11_logs.s: Ditto.
7584 * gdb.disasm/t12_bit.s: Ditto.
7585 * gdb.disasm/t13_otr.s: Ditto.
7586
ec33ab7f
JK
75872007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7588
7589 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7590
ae0d01ff
UW
75912007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7592
7593 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7594 provide DFP support.
7595
55eddb0f
DJ
75962007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7597
7598 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7599 Test "set powerpc vector-abi". Skip auto-detection tests for old
7600 toolchains.
7601
7020f05c
PA
76022007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7603
7604 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7605 with [string compare].
7606
84bc3db9
PA
76072007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7608
7609 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7610 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7611
5876dc88
LM
76122007-10-25 Luis Machado <luisgpm@br.ibm.com>
7613
7614 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7615 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7616 * gdb.opt/Makefile.in: New makefile.
7617 * Makefile.in: Create new directory "gdb.opt".
7618 * configure.ac: Add "gdb.opt" directory.
7619 * configure: Regenerated.
a9c64011 7620
c3ea9a14
DE
76212007-10-25 Doug Evans <dje@google.com>
7622
7623 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7624 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7625
a9c64011 76262007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
93004d61
TJB
7627 Thiago Jung Bauermann <bauerman@br.ibm.com>
7628
7629 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7630 Floating Point expressions.
7631 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7632 Floating Point variables.
7633 * gdb.base/dfp-test.c: new file containing program with Decimal
7634 Floating variables, used by gdb.base/dfp-test.exp.
7635
62a24a2b
DJ
76362007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7637
7638 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7639
e7b1eae6
UW
76402007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7641
7642 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7643 compiling test case with GCC.
7644 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7645
c641edcc
UW
76462007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7647
7648 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7649 format changes.
7650
5e5ebfe6
MS
76512007-10-18 Michael Snyder <msnyder@specifix.com>
7652
7653 * gdb.base/dbx.exp: Add missing "-re " operator.
7654
e831e7b6
GM
76552007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7656
7657 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7658 * configure.ac: Removed trailing spaces after backslash.
7659 * gdb.modula2: New directory.
7660 * gdb.modula2/Makefile.in: New file.
7661 * gdb.modula2/unbounded-array.exp: New file.
7662 * gdb.modula2/unbounded1.c: New file.
7663
7cc46491
DJ
76642007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7665
7666 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7667
76682007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
501b79c1
PM
7669
7670 * gdb.base/sigstep.c (main): Add checks for
7671 return values for setitimer call.
7672 Call setitimer again with itimer = ITIMER_REAL
7673 if first call to setitimer fails.
7674
e91528f0
KH
76752007-10-11 Kazu Hirata <kazu@codesourcery.com>
7676
7677 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7678 of $timeout.
7679
2ec9a4f8
DJ
76802007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7681
7682 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7683
76842007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
5aa7ddc2
PM
7685
7686 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7687 of gdb_expect call, to avoid interruption.
7688
64b2fa04
PA
76892007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7690
7691 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7692 (v_unsigned_long_long, v_long_long_array)
7693 (v_signed_long_long_array, v_unsigned_long_long_array)
7694 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7695 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7696 [!NO_LONG_LONG]: New.
7697 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7698 v_long_long_member.
7699
7700 (v_long_long_func, v_signed_long_long_func)
7701 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7702 (main) [!NO_LONG_LONG]: Initialize long long variants.
7703
7704 * gdb.base/whatis.exp: If board file requests no_long_long, build
7705 test with NO_LONG_LONG defined. Test long long, signed long long,
7706 and unsigned long long variants but only if board file doesn't
7707 disable it.
7708
a912286e 77092007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
a9c64011 7710 Daniel Jacobowitz <dan@codesourcery.com>
a912286e
DJ
7711
7712 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7713 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7714 * configure: Regenerated.
7715 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7716 gdb.pascal/types.exp, lib/pascal.exp: New files.
7717
471ba8c9
DJ
77182007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7719
7720 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7721 call.
7722 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7723 to return to the call.
7724 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7725 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7726 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7727 * gdb.mi/mi-until.exp (test_until): Likewise.
7728 * gdb.mi/mi2-until.exp (test_until): Likewise.
7729
fef8a650
DJ
77302007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7731
7732 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7733 two-char array.
7734 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7735
d983da9c
DJ
77362007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7737
7738 * gdb.threads/watchthreads.c (thread_function): Sleep between
7739 iterations.
7740 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7741 at once for S/390. Generate matching fails and passes.
7742
17f62551
VP
77432007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7744
7745 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7746 the 'struct_declarations' variable to zeros.
a9c64011 7747
ed0616c6
VP
77482007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7749
7750 * gdb.cp/mb-ctor.cc: New.
7751 * gdb.cp/mb-ctor.exp: New.
7752 * gdb.cp/mb-templates.cc: New.
7753 * gdb.cp/mb-templates.exp: New.
7754
41f1b697
DJ
77552007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7756
7757 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7758
3f213f78
PA
77592007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7760
7761 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7762 targets.
7763 * configure: Regenerate.
7764
0d381245 77652007-09-23 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 7766
0d381245
VP
7767 * gdb.base/annota1.exp: Adjust for 'info break'
7768 format changes.
7769 * gdb.base/annota3.exp: Likewise.
7770 * gdb.base/break.exp: Likewise.
7771 * gdb.base/condbreak.exp: Likewise.
7772 * gdb.base/pending.exp: Likewise.
7773 * gdb.base/sepdebug.exp: Likewise.
7774 * gdb.base/unload.exp: Likewise.
7775 * gdb.base/ovldbreak.exp: Likewise.
a9c64011 7776
fe3f5fa8
VP
77772007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7778
7779 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7780 messages.
7781 * gdb.base/chng-syms.exp: Likewise.
7782 * gdb.base/unload.exp: Likewise.
a9c64011 7783
a75cf6c0
DJ
77842007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7785
7786 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7787
18ecae38
DJ
77882007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7789
7790 * schedlock.c (NUM): Change to 1.
7791 (main): Use args[0] for the main thread.
7792 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7793 regardless of the number of threads.
7794
5509918f
MR
77952007-09-14 Maciej W. Rozycki <macro@mips.com>
7796
4a543daf
MR
7797 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7798 type down.
7799 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7800 test.
7801 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7802 watchpoint type down.
7803 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7804 test.
7805
78062007-09-14 Maciej W. Rozycki <macro@mips.com>
7807
5509918f
MR
7808 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7809 Move all the tests here and run them twice, once using software
7810 watchpoints and once using hardware watchpoints.
7811 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7812
40b53987
DJ
78132007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7814
7815 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7816 test.
7817
695e2681
MK
78182007-09-10 Mark Kettenis <kettenis@gnu.org>
7819
8b3fc8d8
MK
7820 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7821 build-id.
7822
695e2681
MK
7823 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7824 know about $ORIGIN. Calculate output dir from $dest instead of
7825 using ${objdir}/{$subdir}.
7826
58d69f29
MK
78272007-09-09 Mark Kettenis <kettenis@gnu.org>
7828
7829 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7830 gcore, before continuing with the test.
7831
3e347599
DJ
78322007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7833
7834 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7835 * gdb.mi/mi-watch.exp: Likewise.
7836
ea37ba09
DJ
78372007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7838 Jim Blandy <jimb@codesourcery.com>
7839
7840 * gdb.arch/i386-sse.exp: Do not expect character constants.
7841 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7842 * gdb.base/display.exp: Allow print/s.
7843 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7844 and unsigned char array changes.
7845
2025a643
DJ
78462007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7847
7848 * gdb.base/display.exp: Add tests for printf %p.
7849
26669a27
PA
78502007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7851
7852 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7853 the dll name to unicode.
7854
c8f021f8
JK
78552007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7856
7857 * gdb.base/default.exp (show version): Update the version text.
7858 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7859
4cf31eea
JK
78602007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7861
7862 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7863 New files.
7864
4935890f
JK
78652007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7866
7867 * lib/gdb.exp (build_id_debug_filename_get): New function.
7868 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
7869 Remove the generate DEBUG file for the future testcase runs.
7870 New testcase for the NT_GNU_BUILD_ID retrieval.
7871 Move the final testing step to ...
7872 (test_different_dir): ... a new function.
7873 New parameter XFAIL to XFAIL all the tests performed.
7874 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
7875 New parameter TYPE to PF_PREFIX all the tests performed.
7876
02142340
VP
78772007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7878
7879 * gdb.mi/mi-var-cp.cc (path_expression): New
7880 function.
7881 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7882
36acd84e
UW
78832007-08-27 Markus Deuling <deuling@de.ibm.com>
7884
7885 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7886 to fit into SPU Local Store memory.
7887
a896d121
JB
78882007-08-23 Joel Brobecker <brobecker@adacore.com>
7889
7890 * gdb.base/default.exp: Adjust the expected output of "info
7891 warranty" after the switch to GPLv3.
7892
7b433602
JB
78932007-08-23 Joel Brobecker <brobecker@adacore.com>
7894
7895 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7896 to 30000 (from 20000).
7897
e22f8b7c
JB
78982007-08-23 Joel Brobecker <brobecker@adacore.com>
7899
7900 Switch the license of all .exp files to GPLv3.
7901 Switch the license of all .f and .f90 files to GPLv3.
7902 Switch the license of all .s and .S files to GPLv3.
7903
5a0e3bd0
JB
79042007-08-23 Joel Brobecker <brobecker@adacore.com>
7905
7906 * configure.ac: Switch license to GPLv3.
7907
cc00619d
JB
79082007-08-23 Joel Brobecker <brobecker@adacore.com>
7909
7910 Switch the licensing to GPLv3 for all .ads and .adb files.
7911
8d26208a
DJ
79122007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7913
7914 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7915 and t_int_double.
7916 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7917
4fcb9948
JB
79182007-08-17 Joel Brobecker <brobecker@adacore.com>
7919
7920 * gdb.base/step-line.c: Switch license to GPL version 3, and
7921 update copyright year.
7922 * gdb.base/step-line.inp: Likewise.
7923
b9c34f67
JB
79242007-08-17 Joel Brobecker <brobecker@adacore.com>
7925
7926 * gdb.base/gdb1555.exp: Make expected output immune to formatting
7927 changes inside gdb1555.c.
7928 * gdb.base/pending.exp: Likewise.
7929
2cc17678
DJ
79302007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
7931
7932 * config/default.exp: New file.
7933
e48883f7
DJ
79342007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7935
7936 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
7937 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
7938
1ab80e5b
MR
79392007-07-30 Maciej W. Rozycki <macro@mips.com>
7940
7941 * gdb.base/dump.exp: Force the correct endianness for binary
7942 formats not carrying this information.
7943
aba471f5
DJ
79442007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7945
7946 * gdb.threads/staticthreads.exp: Match .*sem_post.
7947
d4e07204
DJ
79482007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7949
7950 * gdb.base/readline.exp (operate_and_get_next): Match the final
7951 prompt.
7952
2b97317d
KB
79532007-07-23 Kevin Buettner <kevinb@redhat.com>
7954
7955 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
7956 to restarting SID.
7957
44efa07a
KB
79582007-07-18 Kevin Buettner <kevinb@redhat.com>
7959
7960 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
7961 prior to `gdb_start'.
7962
7b5ebade
KB
79632007-07-18 Kevin Buettner <kevinb@redhat.com>
7964
7965 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
7966 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
7967 Remove call to gdb_unload.
7968
255e7678
DJ
79692007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
7970 Daniel Jacobowitz <dan@codesourcery.com>
7971
7972 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
7973 for __WIN32__.
7974 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
7975 * gdb.base/unload.exp: Use shared library test routines.
7976
3a40aaa0
UW
79772007-07-03 Markus Deuling <deuling@de.ibm.com>
7978
7979 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
7980 * gdb.base/solib-symbol-lib.c: Likewise.
7981 * gdb.base/solib-symbol-main.c: Likewise.
7982
b0f4b84b
DJ
79832007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
7984
7985 * config/gdbserver.exp (gdb_reconnect): New.
7986 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
7987 gdb.base/solib-disc.exp: New files.
7988 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
7989 remote debugging".
7990 (gdb_compile): Add shlib_load flag.
7991 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
7992 port.
7993 (gdbserver_reconnect): New.
7994
1b05479a
DJ
79952007-07-01 Nick Roberts <nickrob@snap.net.nz>
7996 Daniel Jacobowitz <dan@codesourcery.com>
7997
7998 * gdb.base/annota3.exp: Test for if construct.
7999
86f78eb2
DJ
80002007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
8001
8002 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
8003
6a2eb474 80042007-06-21 Chris Dearman <chris@mips.com>
a9c64011 8005 Maciej W. Rozycki <macro@mips.com>
6a2eb474
MR
8006
8007 * gdb.base/display.exp: Allow a newline after display/i.
8008 * gdb.base/pc-fp.exp: Likewise.
8009 * gdb.base/sigbpt.exp: Likewise.
8010
f8b73d13
DJ
80112007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
8012
8013 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
8014 required features to be included.
8015
4339e69e
DJ
80162007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
8017
8018 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
8019 in info threads output.
8020
23d964e7
UW
80212007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8022 Markus Deuling <deuling@de.ibm.com>
8023
8024 * gdb.arch/spu-info.exp: New testcase.
8025 * gdb.arch/spu-info.c: New file.
8026
fd20f75b
DJ
80272007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
8028
8029 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
8030 tpcs_offset. Restore lr after the call.
8031 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
8032
2226f861
DJ
80332007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
8034
8035 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
8036 (gdbserver_run): Kill any running gdbserver.
8037 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
8038
d12371a9
MR
80392007-05-17 Maciej W. Rozycki <macro@mips.com>
8040
8041 * gdb.base/sigbpt.exp: Preset segv_addr.
8042
93f02886
DJ
80432007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
8044
8045 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
8046 (gdb_compile_shlib): Likewise.
8047 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
8048 (default_gdb_init): Clear cleanfiles.
8049 (gdb_finish): Delete recorded cleanfiles.
8050 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
8051
8052 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
8053 Do not use isnative.
8054 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
8055 gdb.base/so-impl-ld.exp: Likewise.
8056 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
8057 * gdb.base/unload.exp: Likewise. Do not pass empty option to
8058 gdb_compile.
8059
b04e06d7
VP
80602007-05-15 Vladimir Prus <vladimir@codesourcery.com>
8061
8062 * config/unknown.exp: Remove.
8063
069ed931
UW
80642007-05-15 Markus Deuling <deuling@de.ibm.com>
8065
8066 * gdb.base/info-proc.exp: Check is_remote.
8067
09db0d03
UW
80682007-05-14 Markus Deuling <deuling@de.ibm.com>
8069
8070 * gdb.base/gcore.exp: Initialize variable core_supported.
8071
af2cbe8c
DJ
80722007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8073
8074 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
8075
027c0295
DJ
80762007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8077
8078 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
8079 * gdb.threads/print-threads.exp (test_all_threads): Allow
8080 negative and hexadecimal thread IDs.
8081
dc5000e7
DJ
80822007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
8083
8084 * gdb.java/jprint.java (public): Avoid invalid call to static
8085 method.
8086
2e74ed18
DP
80872007-05-14 Denis Pilat <denis.pilat@st.com>
8088
8089 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
8090 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
8091 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
8092 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
8093 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
8094
83547f02
UW
80952007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8096
8097 * gdb.base/overlays.exp: Add support for targets with only code
a9c64011 8098 overlay support, not data overlay. Support spu-*-* target in
83547f02
UW
8099 this mode.
8100 * gdb.base/ovlymgr.c: Provide stubs for spu target.
8101 * gdb.base/spu.ld: New file.
8102
b18be20d
DJ
81032007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
8104
8105 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
8106
be444858
DJ
81072007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
8108
8109 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
8110
b1d53152
DJ
81112007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8112
8113 * gdb.java/jmain.exp: Handle demangled names with and without method
8114 signatures.
8115
d084b331
DJ
81162007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
8117
8118 * gdb.mi/mi-syn-frame.c (main, foo, bar)
8119 (have_a_very_merry_interrupt): Remove calls to puts.
8120 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
8121 inferior output.
8122 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
8123 test names.
8124
db9d7fc5
DJ
81252007-04-29 Markus Deuling <deuling@de.ibm.com>
8126 Daniel Jacobowitz <dan@codesourcery.com>
8127
8128 * gdb.base/auxv.exp (core_works): Also check is_remote.
8129 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
8130
ef783a7d 81312007-04-25 Vladimir Prus <vladimir@codesourcery.com>
a9c64011 8132
ef783a7d
VP
8133 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
8134 message, not the undefined 'module' variable.
8135 * gdb.base/siginfo.exp: Likewise.
8136 * gdb.base/sigstep.exp: Likewise.
8137 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
8138 serialport.
8139 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
8140
b7b73cae
CV
81412007-04-25 Corinna Vinschen <vinschen@redhat.com>
8142
8143 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
8144 target sim fails. Return 0 otherwise.
8145 (gdb_load): Return prematurely if gdb_target_sim fails.
8146
7d90fdfa
DP
81472007-04-16 Denis Pilat <denis.pilat@st.com>
8148
8149 * gdb.base/setshow.exp: Reset height after having set it to 100.
8150
5d3e9c85
DP
81512007-04-16 Denis Pilat <denis.pilat@st.com>
8152
8153 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
8154
18e75969
DP
81552007-04-16 Denis Pilat <denis.pilat@st.com>
8156
8157 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
8158
25d5ea92
VP
81592007-04-14 Vladimir Prus <vladimir@codesourcery.com>
8160
8161 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
8162 tests. Run the frozen varobjs test.
8163 * gdb.mi/var-cmd.c (do_frozen_tests): New.
a9c64011 8164 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
25d5ea92 8165
0b49cb80
JK
81662007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8167
8168 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
8169 gdb.base/type-opaque.exp: New files.
8170
a73bafbc 81712007-04-01 Vladimir Prus <vladimir@codesourcery.com>
a9c64011
AS
8172
8173 * gdb.mi/mi-var-child.c
a73bafbc
VP
8174 (do_children_tests): User char[2] instead of
8175 char so that automatic printing of pointers to char
8176 don't give unpredicable result.
8177 * gdb.mi/var-cmd.c (do_locals_test): Initialize
8178 local variables.
8179 * gdb.mi/mi-var-child.exp: Step to right line
8180 of do_children_tests.
8181 * gdb.mi/mi2-var-child.exp: Likewise.
8182 * gdb.mi/mi-var-cmd.exp: Step to right line of
a9c64011 8183 do_locals_tests.
a73bafbc
VP
8184 (do_children_tests): User char[2] instead of
8185 char so that automatic printing of pointers to char
a9c64011 8186 don't give unpredicable result.
a73bafbc 8187 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 8188 * lib/mi-support.exp (mi_continue_to_line):
a73bafbc
VP
8189 Pass test name to mi_wait_for_stop.
8190
7ce59000
DJ
81912007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8192
8193 * gdb.asm/asm-source.exp: Remove d10v case.
8194 * lib/gdb.exp (skip_cplus_tests): Likewise.
8195 * gdb.asm/d10v.inc: Deleted.
8196
20389057
DJ
81972007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8198
8199 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
8200
8807d78b
DJ
82012007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
8202
8203 * config/netware.exp: Delete file.
8204
aa3edb8e
JB
82052007-03-29 Joel Brobecker <brobecker@adacore.com>
8206
8207 * gdb.dwarf2/dw2-noloc.S: New file.
8208 * gdb.dwarf2/dw2-noloc.exp: New file.
8209
297561ac
PA
82102007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
8211
8212 * gdb.cp/method2.cc: New test.
8213 * gdb.cp/method2.exp: New test.
8214 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
8215
1f81bd39
DJ
82162007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8217
8218 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
8219
9453113a
DJ
82202007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
8221
8222 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
8223
b741e217
DJ
82242007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
8225
8226 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
8227 (gdb_load): Delete, replace with...
8228 (gdb_reload): ...this.
8229 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
8230 * gdb.server/server-mon.exp: Likewise.
8231 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
8232 (gdb_start_cmd): New.
8233 (gdb_file_cmd): Save the last loaded file.
8234 (gdb_reload): New.
8235 (gdb_gnu_strip_debug): Use transform.
8236 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
8237 support here. Use new $last_loaded_file. Check mtime.
8238 (gdb_target_cmd): Handle ObjC failure case.
8239 (infer_host_exec): Delete.
8240 (gdbserver_load): Rename to...
8241 (gdbserver_run): ...this. Simplify.
8242 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
8243 (mi_gdb_load): Move most contents to a new function...
8244 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
8245 (mi_run_cmd): Use mi_gdb_target_load.
8246 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
8247 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
8248 Use gdb_run_cmd.
8249 * gdb.base/charsign.exp: Remove incorrect comment.
8250 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
8251 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
8252 gdb.base/start.exp: Use gdb_start_cmd.
8253
446ab585 82542007-03-23 Nigel Stephens <nigel@mips.com>
a9c64011 8255 Maciej W. Rozycki <macro@mips.com>
446ab585
MR
8256
8257 * gdb.base/sigbpt.exp: Fix the message when skipping test.
8258 * gdb.base/signull.exp: Similarly.
8259
bbb88ebf
UW
82602007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8261
8262 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
8263 messages available to test cases (like chng-sym.exp).
8264
cb8c4a99
AS
82652007-03-14 Andreas Schwab <schwab@suse.de>
8266
8267 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
8268 format changes.
8269
4e463ff5
DJ
82702007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
8271
8272 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
8273 (optimized_1): New.
8274 (main): Call optimized_1.
8275 (gdb2029): Correct typos. Call gdb2029_marker.
8276 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
8277 for gdb2029.
8278
b6db2c47
MK
82792007-03-12 Mark Kettenis <kettenis@gnu.org>
8280
8281 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
8282 as tabs. Remove redundant test pattern.
8283
70ed3737
UW
82842007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8285
8286 * gdb.base/long_long.exp: Accept optional symbol name in <...>
8287 for /a format output.
8288
47b67b60
DJ
82892007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
8290
8291 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
8292 collect output incrementally.
8293
b8953b0e
UW
82942007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8295
8296 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
8297 for -var-create lpcharacter test.
8298 * gdb.mi/mi2-var-cmd.exp: Likewise.
8299
7acd5c40
UW
83002007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8301
8302 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
8303 pass on targets where address zero is readable.
8304
9c6759c1
UW
83052007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8306
8307 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
8308 just a single architecture.
8309
a2f1aeb4
UW
83102007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8311
8312 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
8313 (fetch_all_registers): New function, uses gdb_test_multiple and
8314 exp_continue to fetch inferior output line-by-line.
8315 Replace all uses of do_get_all_registers by fetch_all_registers.
8316
46579ac2
UW
83172007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8318
8319 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
8320 in target_info.
8321
fc133f24
MS
83222007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8323
a9c64011 8324 * gdb.threads/manythreads.exp: Use $message string for
fc133f24
MS
8325 consistancy; add a default (timeout) case.
8326
7646a51d
MS
83272007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8328
8329 * gdb.base/watchpoint.exp: Fix truncated comment.
8330
dcfff61f
MS
83312007-03-02 Michael Snyder <michael.snyder@palmsource.com>
8332
8333 * Makefile.in: Remove spurious single-quotes from sed command.
8334
664e3ee9
DJ
83352007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
8336
8337 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
8338 func.
8339 * gdb.mi/mi2-var-cmd.exp: Likewise.
8340
d7cc6f2f
JB
83412007-02-27 Joel Brobecker <brobecker@adacore.com>
8342
a9c64011
AS
8343 * gdb.dwarf2/dw2-producer.S: New file.
8344 * gdb.dwarf2/dw2-producer.exp: New testcase.
d7cc6f2f
JB
8345
83462007-02-27 Nick Roberts <nickrob@snap.net.nz>
c0e3bc07
NR
8347
8348 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8349 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8350 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8351 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8352 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8353 Revert tests to use mi_gdb_test and include value field in output
8354 of -var-create.
8355
93d42b30
DJ
83562007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8357
8358 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
8359
c499ed39
DJ
83602007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
8361
8362 * gdb.base/maint.exp: Remove full paths from test names.
8363 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
8364 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
8365
9836f81b
JB
83662007-02-27 Joel Brobecker <brobecker@adacore.com>
8367
8368 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
8369
c74d0ad8
DJ
83702007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8371
8372 * gdb.server/server-mon.exp: New test.
8373
2711e456
DJ
83742007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8375
8376 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8377
ff6f572f
DJ
83782007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8379
8380 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8381 register capitalization.
8382
fada3feb
DP
83832007-02-13 Denis Pilat <denis.pilat@st.com>
8384
8385 * gdb.mi/mi-var-invalidate.exp: New file.
8386
fb1e4ffc
DJ
83872007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8388
8389 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8390
3da939d7
DJ
83912007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8392
8393 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8394
123dc839
DJ
83952007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8396
8397 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8398 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8399
877e3645 84002007-02-08 Nick Roberts <nickrob@snap.net.nz>
87604222
NR
8401
8402 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8403 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8404 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8405 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8406 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
1183581f 8407 * gdb.mi/gdb792.exp, lib/mi-support.exp:
87604222 8408 Update tests to include value field in output of -var-create.
a9c64011 8409
3c0a2960
AS
84102007-02-08 Andreas Schwab <schwab@suse.de>
8411
8412 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8413
108546a0
DJ
84142007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8415
8416 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8417 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8418
d701dcab
DP
84192007-02-02 Denis Pilat <denis.pilat@st.com>
8420
8421 * gdb.threads/threadapply.exp: check that frame is not changed by
8422 the thread apply all command.
8423
783e3e2f
AS
84242007-01-31 Andreas Schwab <schwab@suse.de>
8425
6d9c3a87
AS
8426 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8427
3c50d7b9
AS
8428 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8429 in the dwarf sections.
8430 * gdb.dwarf2/mac-fileno.S: Likewise.
8431
783e3e2f
AS
8432 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8433 bspstore register on ia64.
8434
78ff580e
AS
84352007-01-29 Andreas Schwab <schwab@suse.de>
8436
cc8e9b12
AS
8437 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8438 "frame-begin" annotation.
8439
78ff580e
AS
8440 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8441 number of "frames-invalid" annotations.
8442
704a4f78
DJ
84432007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8444
8445 * gdb.base/commands.exp: Call if_commands_test.
8446 (gdb_test_no_prompt, if_commands_test): New.
8447
e741bf94
MK
84482007-01-28 Mark Kettenis <kettenis@gnu.org>
8449
8450 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8451
474d0ad3
AS
84522007-01-27 Andreas Schwab <schwab@suse.de>
8453
8454 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8455 .short/.int/.quad in the dwarf sections.
8456 * gdb.dwarf2/dw2-intercu.S: Likewise.
8457 * gdb.dwarf2/dw2-intermix.S: Likewise.
8458
e784b426
JK
84592007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8460
8461 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
4590cfcb
MK
8462 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8463 array.
e784b426
JK
8464 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8465 * gdb.base/setvar.exp: Likewise.
8466
37f08e04
AS
84672007-01-26 Andreas Schwab <schwab@suse.de>
8468
9a01813a
AS
8469 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8470 test.
8471
37f08e04
AS
8472 * gdb.base/multi-forks.exp ("restart $i"): Also match
8473 __kernel_syscall_via_break.
8474
6e2a9270
VP
84752007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8476
8477 * lib/mi-support.exp (mi_delete_varobj): New.
8478 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8479 testcase.
8480 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8481 (main): Call the above.
8482 (reference_update_test, base_in_reference_test)
8483 (reference_to_pointer): Delete the created varobjs.
a9c64011 8484
e515b470
DJ
84852007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8486
8487 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8488 * configure: Regenerated.
8489 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8490 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8491 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8492 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8493 * lib/gdb.exp (gdb_skip_xml_test): New function.
8494
08d8bcd7
DJ
84952007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8496
8497 * gdb.base/sigrepeat.exp: Correct error message.
8498
84992007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
43a9b631
JK
8500 Daniel Jacobowitz <dan@codesourcery.com>
8501
8502 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8503 gdb.arch/i386-gnu-cfi-asm.S: New files.
8504
97c3f1f3
JK
85052007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8506
8507 * lib/gdb.exp: Abort on missing `site.exp'.
8508
cb1df416
DJ
85092007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8510 Daniel Jacobowitz <dan@codesourcery.com>
8511
8512 * gdb.base/included.c, gdb.base/included.exp,
8513 gdb.base/included.h: New files.
8514
35990120
DJ
85152007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8516
8517 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8518 (maximize_rlimit): Reduce limits on 64-bit systems.
8519
6e81a116 85202007-01-19 Mark Kettenis <kettenis@gnu.org>
2429decf
MK
8521
8522 From Marcus Deuling <deuling@de.ibm.com>:
8523 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8524 every case.
8525
6c3c41f3
NR
85262007-01-13 Nick Roberts <nickrob@snap.net.nz>
8527
8528 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8529 (test_path_specification): Use objdir instead of srcdir to always
8530 get an absolute filename.
8531
2f12c312
DJ
85322007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8533
8534 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8535
81121995
VP
85362007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8537
8538 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8539 Make sure the variable we're using is in scope.
8540 (reference_to_pointer): Likewise.
8541
4741b737
DJ
85422007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8543
8544 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8545 has no debug information.
8546
054410c3
DJ
85472007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8548
8549 * gdb.base/annota1.exp: Remove extra send_gdb.
8550
818f79f6
DJ
85512007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8554
f7a6bb70
DJ
85552007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8556
8557 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8558
57e66780
DJ
85592007-01-08 Nick Roberts <nickrob@snap.net.nz>
8560 Daniel Jacobowitz <dan@codesourcery.com>
8561
8562 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8563 lcharacter or linteger change. Correct duplicated test name.
8564 * gdb.mi/mi2-var-cmd.exp: Likewise.
8565
3d799a95
DJ
85662007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8567
8568 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8569
85702007-01-05 Joel Brobecker <brobecker@adacore.com>
51679ba9 8571
a9c64011
AS
8572 * gdb.base/nofield.c: New file.
8573 * gdb.base/nofield.exp: New testcase.
51679ba9 8574
eafb94e8
NR
85752007-01-05 Nick Roberts <nickrob@snap.net.nz>
8576
8577 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8578
8579 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8580 test.
8581
5e572bb4
DJ
85822007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8583
8584 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8585
74a44383
DJ
85862007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8587
8588 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8589 when continuing.
8590
1b572db9
DJ
85912007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8592
8593 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8594 Expect ".exe" extension.
8595
381bc39b
DJ
85962007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8597
8598 * gdb.base/charset.exp: Add explicit filename to break.
8599 * gdb.base/dbx.exp: Add explicit filename to breaks.
8600
2b70e4c6
DJ
86012007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8602
8603 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8604 * gdb.mi/mi2-file.exp: Likewise.
8605
303b6f5d
DJ
86062007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8607
8608 Implement specification of MI tests as comments
8609 in C and C++ sources.
8610 * lib/mi-support.exp (mi_autotest_data): New variable.
8611 (mi_autotest_source): New variable.
8612 (count_newlines, mi_prepare_inline_tests)
8613 (mi_get_inline_test, mi_continue_to_line)
8614 (mi_run_inline_test, mi_tbreak)
8615 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8616 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8617 Run inline tests.
8618 * gdb.mi/mi-var-cp.cc: Define tests here.
8619
23da0d94
VP
86202007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8621
8622 Simplify usage of mi_continue_to.
8623 * lib/mi-support.exp (mi_runto_helper): Renamed
8624 from mi_runto, added new parameter 'run_or_continue'.
8625 (mi_runto): Use mi_runto_helper.
8626 (mi_continue_to): Accept just function name as parameter.
8627 Use mi_runto_helper.
8628 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8629 * gdb.mi/mi2-var-cmd.exp: Likewise.
a9c64011 8630
f9e18282
JB
86312006-01-04 Joel Brobecker <brobecker@adacore.com>
8632
8633 Make this testcase a bit more realistic. The current code
8634 is too simplistic, and allows the compiler to optimize out
8635 some of the entities we need for this testcase.
8636 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8637 (Do_Nothing): Add extra parameter.
8638 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8639 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8640 by using a variable of type Void_Star.
8641
fd678c65
JB
86422006-01-04 Joel Brobecker <brobecker@adacore.com>
8643
8644 * gdb.ada/catch_ex/foo.adb: New file.
8645 * gdb.ada/catch_ex.exp: New testcase.
8646
05cfdb42
DJ
86472007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8648
8649 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8650 pass --image-base to linker.
8651
2e03ee74
DJ
86522007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8653 Daniel Jacobowitz <dan@codesourcery.com>
8654
8655 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8656 secondary prompts.
8657
0d5de010
DJ
86582007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8659
8660 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8661 output. Test the types of members and member pointers.
8662 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8663 gdb/2092.
8664 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8665 statement. Enable for GCC. Update expected output for some tests
8666 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8667 layout.
8668 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8669 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8670 (Diamond::vget_base): New.
8671 (main): Add new tests.
8672 * gdb.cp/printmethod.exp: Update expected output for member functions.
8673 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8674 print pEe->D::vg().
8675
61a771aa
DJ
86762007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8677
8678 * gdb.threads/tls.exp: Allow stops in sem_post.
8679
2fa63963
DJ
86802006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8681
8682 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8683 * gdb.base/annota3.exp: Likewise.
8684 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8685 again (instead of timing out).
8686 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8687 GCC bug 26475.
8688 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8689 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8690 test from jmisc1.exp.
8691 * gdb.java/jmisc1.exp: Delete.
8692 * gdb.java/jprint.exp: Adjust to work with method signatures including
8693 return types.
8694 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8695 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8696 * lib/java.exp (compile_java_from_source): Pass the correct type
8697 to target_compile.
8698
5eefc2b7
JB
86992006-12-31 Joel Brobecker <brobecker@adacore.com>
8700
8701 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8702 (stack_align_edx): New function.
8703 (stack_align_eax): New function.
8704 (main): Add calls to stack_align_edx and stack_align_eax.
8705 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8706 Add testing for the cases where the register used during a stack
8707 realignment is edx. Same for eax.
8708
227c54da
DJ
87092006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8710
8711 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8712 and generic PE targets.
8713
cab8ac94
JB
87142006-12-29 Joel Brobecker <brobecker@adacore.com>
8715
8716 * gdb.ada/array_return.exp: Update copyright date list.
8717
ba54f318
JB
87182006-12-27 Joel Brobecker <brobecker@adacore.com>
8719
8720 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8721 (Create_Small_Float_Vector): New function.
8722 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8723 function body.
8724 * gdb.ada/array_return/p.adb: Use new type and function from
8725 package Pck.
8726 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8727 able to print the value returned by a function returning an
8728 array of float.
8729
6b7a35dd
JB
87302006-12-20 Joel Brobecker <brobecker@adacore.com>
8731
8732 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8733 The associated tests should be PASSing.
8734
038224f6
VP
87352006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8736
8737 Test for base in references.
8738 * gdb.mi/mi-var-cp.cc: Add test code.
8739 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8740 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8741 * gdb.mi/mi2-watch.exp: Likewise.
8742 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8743 (mi_list_varobj_children): New function.
8744
b26ed50d
VP
87452006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8746
8747 * lib/mi-support.exp
8748 (mi_runto): Accept "()" after function name.
8749 (mi_create_varobj): New function.
8750 (mi_varobj_update): New function.
8751 (mi_Check_varobj_value): New function.
8752 * gdb.mi/mi-var-cp.exp: New file.
8753 * gdb.mi/mi-var-cp.cc: New file.
a9c64011 8754
08232497
DJ
87552006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8756
8757 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8758 gdb.base/weaklib2.c: New files.
8759
d394c993 87602006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8ec659a0 8761
ac6c2fba
NS
8762 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8763 info. Adjust test names.
8764
8ec659a0 8765 * gdb.base/break.c (main): Move position of malloc.
d394c993 8766 * gdb.base/break.exp: Revert mistaken checkin.
8ec659a0 8767
acd65feb
VP
87682006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8769
8770 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8771 assignement of arrays and function pointers.
8772 * gdb.mi/var-cmd.c: Add declaration necessary for above
8773 tests.
8774
f556d5e5
NS
87752006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8776
8777 * gdb.base/break.c (main): Call malloc.
fcfcc2b5
NS
8778
8779 * gdb.threads/linux-dp.exp: Read thread table before and after
8780 creating each philosopher and verify it.
8781
697bc68d
NS
87822006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8783 Paul Brook <paul@codesourcery.com>
8784 Daniel Jacobowitz <dan@codesourcery.com>
8785
8786 * gdb.base/ending-run.exp: Flatten expect script stepping out of
a9c64011 8787 main to remove duplication. Add start function of the form
697bc68d
NS
8788 '_*start[1-9]*'. Add RVDS start function.
8789
29d73ae4
DJ
87902006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8791
8792 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8793
c1d88655
UW
87942006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8795
8796 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8797 * gdb.asm/spu.inc: New file.
8798 * gdb.base/term.exp: Disable if [target_info exists noargs].
8799 * gdb.gdb/complaints.exp: Disable if ![isnative].
8800 * gdb.gdb/selftest.exp: Likewise.
8801 * gdb.gdb/observer.exp: Likewise.
8802 * gdb.gdb/xfullpath.exp: Likewise.
8803 * gdb.base/attach.exp: Disable on SPU target.
8804 * gdb.cp/bs145503.exp: Likewise.
8805 * gdb.cp/exception.exp: Likewise.
8806 * gdb.cp/userdef.exp: Likewise.
8807
32a13b1a
DJ
88082006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8809
8810 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8811
d8295fe9
VP
88122006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8813
8814 * gdb.base/completion.exp: Fix completion tests for
8815 'info' and 'info '.
8816 * gdb.base/help.exp (help_test_raw, test_class_help)
8817 (test_prefix_command_help): Move...
8818 * lib/gdb.exp: Here.
8819 * gdb.base/main.exp: Adjust.
8820 * gdb.cp/maint.exp: Adjust.
8821 * gdb.trace/tracecmd.exp: Use test_help_class.
a9c64011 8822
8c394015
VP
88232006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8824
8825 * gdb.stabs/weird.exp (print_weird_var): Use
8826 gdb_test_multiple instead of gdb_expect.
8827
027fc1bc
VP
88282006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8829
8830 * gdb.base/help.exp (help_test_raw): New.
8831 (test_class_help): New.
8832 (test_prefix_command_help): New.
8833 Adjust testcases.
8834
67609209
FR
88352006-11-09 Christophe Lyon <christophe.lyon@st.com>
8836
8837 * gdb.base/constvars.c (main): Write to crass and crips, so that
8838 they are allocated by the compiler.
8839
f73adfeb
AS
88402006-10-27 Andreas Schwab <schwab@suse.de>
8841
8842 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8843 "detach-fork".
8844
2f83a18e
DJ
88452006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8846
8847 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8848 of patterns.
8849
94277a38
DJ
88502006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8851
8852 * gdb.base/sepdebug.exp: Remove debug format test.
8853 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8854 Handle no-symtab.
8855 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8856
5bd2f6e2
DJ
88572006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8858
8859 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8860 int to pointer or pointer to int.
8861 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
8862
8c008720
DJ
88632006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8864
8865 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8866
9e35dae4
DJ
88672006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8868
8869 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8870
d9639e13
DJ
88712006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8872
8873 PR c++/2116
8874 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8875
390a1bd0
JB
88762006-10-06 Joel Brobecker <brobecker@adacore.com>
8877
8878 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8879 the corresponding bug has been fixed in GDB (PR/2018).
8880
dd920c33
JB
88812006-10-06 Joel Brobecker <brobecker@adacore.com>
8882
8883 * gdb.base/subst.exp: New testcase.
8884
53bbefe9
JB
88852006-10-06 Joel Brobecker <brobecker@adacore.com>
8886
8887 * gdb.ada/array_return/pck.ads: Add copyright notice.
8888 * gdb.ada/array_return/pck.adb: Likewise.
8889 * gdb.ada/array_return/p.adb: Likewise.
8890 * gdb.ada/exec_changed/first.adb: Likewise.
8891 * gdb.ada/exec_changed/second.adb: Likewise.
8892
09851417
JB
88932006-10-06 Joel Brobecker <brobecker@adacore.com>
8894
8895 * gdb.ada/watch_arg/watch.adb: New file.
8896 * gdb.ada/watch_arg.exp: New testcase.
8897
041bf30d
VP
88982006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8899
8900 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
a9c64011 8901 via string_to_regexp.
041bf30d 8902 * gdb.mi/mi2-basics.exp: Likewise.
a9c64011 8903
f286fbdd 89042006-09-20 Michael Snyder <michael.snyder@palmsource.com>
7b880e0b
MS
8905
8906 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8907 Remove unused / obsolete files.
8908
7c07f349
NR
89092006-09-19 Nick Roberts <nickrob@snap.net.nz>
8910
8911 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8912
cd5ff84a
VP
89132006-09-17 Vladimir Prus <vladimir@codesourcery.com>
8914
8915 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
8916 HIGH_FRAME argument to -stack-list-arguments can be larger than
a9c64011 8917 the number of frames.
cd5ff84a 8918
ae018d1a
DJ
89192006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
8920
8921 * gdb.base/args.c (main): Add breakpoint marker.
8922 * gdb.base/args.exp: Use args_test for tests. Add new tests which
8923 really test empty arguments.
8924 (args_load): Delete.
8925 (args_test): New.
8926
b399c549
NR
89272006-09-13 Nick Roberts <nickrob@snap.net.nz>
8928
8929 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
889bf7c5 8930 check for one file.
b399c549 8931
2ab1eb7a
VP
89322006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
8933
8934 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
8935 HIGH_FRAME argument to -stack-list-locals can be larger than
8936 the number of frames.
a9c64011 8937
476308bf
FF
89382006-08-18 Fred Fish <fnf@specifix.com>
8939
8940 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
8941 '$' in front of skip_vmx_tests_saved when setting that.
8942
8625200f
AS
89432006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
8944
8945 * gdb.base/trace-commands.exp: New file.
8946
089ec8f1
DJ
89472006-08-10 Joel Brobecker <brobecker@adacore.com>
8948 Daniel Jacobowitz <dan@codesourcery.com>
8949
8950 * gdb.base/step-bt.exp: Make hexadecimal address optional in
8951 expected output of the backtrace commands.
8952
b60f0898
JB
89532006-08-09 Joel Brobecker <brobecker@adacore.com>
8954
8955 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
8956 untested followed by return combination.
8957 * gdb.arch/altivec-regs.exp: Likewise.
8958 * gdb.arch/e500-abi.exp: Likewise.
8959 * gdb.arch/e500-regs.exp: Likewise.
8960 * gdb.arch/gdb1291.exp: Likewise.
8961 * gdb.arch/gdb1431.exp: Likewise.
8962 * gdb.arch/gdb1558.exp: Likewise.
8963 * gdb.arch/i386-prologue.exp: Likewise.
8964 * gdb.arch/i386-unwind.exp: Likewise.
8965 * gdb.asm/asm-source.exp: Likewise.
8966 * gdb.base/a2-run.exp: Likewise.
8967 * gdb.base/advance.exp: Likewise.
8968 * gdb.base/all-bin.exp: Likewise.
8969 * gdb.base/annota1.exp: Likewise.
8970 * gdb.base/annota3.exp: Likewise.
8971 * gdb.base/args.exp: Likewise.
8972 * gdb.base/arithmet.exp: Likewise.
8973 * gdb.base/assign.exp: Likewise.
8974 * gdb.base/async.exp: Likewise.
8975 * gdb.base/attach.exp: Likewise.
8976 * gdb.base/bang.exp: Likewise.
8977 * gdb.base/bigcore.exp: Likewise.
8978 * gdb.base/bitfields.exp: Likewise.
8979 * gdb.base/bitfields2.exp: Likewise.
8980 * gdb.base/break.exp: Likewise.
8981 * gdb.base/call-sc.exp: Likewise.
8982 * gdb.base/call-strs.exp: Likewise.
8983 * gdb.base/callfuncs.exp: Likewise.
8984 * gdb.base/checkpoint.exp: Likewise.
8985 * gdb.base/chng-syms.exp: Likewise.
8986 * gdb.base/code-expr.exp: Likewise.
8987 * gdb.base/commands.exp: Likewise.
8988 * gdb.base/completion.exp: Likewise.
8989 * gdb.base/cond-expr.exp: Likewise.
8990 * gdb.base/condbreak.exp: Likewise.
8991 * gdb.base/consecutive.exp: Likewise.
8992 * gdb.base/constvars.exp: Likewise.
8993 * gdb.base/corefile.exp: Likewise.
8994 * gdb.base/cvexpr.exp: Likewise.
8995 * gdb.base/dbx.exp: Likewise.
8996 * gdb.base/define.exp: Likewise.
8997 * gdb.base/detach.exp: Likewise.
8998 * gdb.base/display.exp: Likewise.
8999 * gdb.base/dump.exp: Likewise.
9000 * gdb.base/ena-dis-br.exp: Likewise.
9001 * gdb.base/ending-run.exp: Likewise.
9002 * gdb.base/environ.exp: Likewise.
9003 * gdb.base/eval-skip.exp: Likewise.
9004 * gdb.base/exprs.exp: Likewise.
9005 * gdb.base/fileio.exp: Likewise.
9006 * gdb.base/finish.exp: Likewise.
9007 * gdb.base/float.exp: Likewise.
9008 * gdb.base/foll-exec.exp: Likewise.
9009 * gdb.base/foll-fork.exp: Likewise.
9010 * gdb.base/foll-vfork.exp: Likewise.
9011 * gdb.base/freebpcmd.exp: Likewise.
9012 * gdb.base/funcargs.exp: Likewise.
9013 * gdb.base/gcore.exp: Likewise.
9014 * gdb.base/gdb1090.exp: Likewise.
9015 * gdb.base/gdb1250.exp: Likewise.
9016 * gdb.base/huge.exp: Likewise.
9017 * gdb.base/info-proc.exp: Likewise.
9018 * gdb.base/interrupt.exp: Likewise.
9019 * gdb.base/jump.exp: Likewise.
9020 * gdb.base/langs.exp: Likewise.
9021 * gdb.base/lineinc.exp: Likewise.
9022 * gdb.base/list.exp: Likewise.
9023 * gdb.base/logical.exp: Likewise.
9024 * gdb.base/long_long.exp: Likewise.
9025 * gdb.base/macscp.exp: Likewise.
9026 * gdb.base/maint.exp: Likewise.
9027 * gdb.base/mips_pro.exp: Likewise.
9028 * gdb.base/miscexprs.exp: Likewise.
9029 * gdb.base/multi-forks.exp: Likewise.
9030 * gdb.base/opaque.exp: Likewise.
9031 * gdb.base/overlays.exp: Likewise.
9032 * gdb.base/pc-fp.exp: Likewise.
9033 * gdb.base/pointers.exp: Likewise.
9034 * gdb.base/printcmds.exp: Likewise.
9035 * gdb.base/psymtab.exp: Likewise.
9036 * gdb.base/ptype.exp: Likewise.
9037 * gdb.base/recurse.exp: Likewise.
9038 * gdb.base/relational.exp: Likewise.
9039 * gdb.base/relocate.exp: Likewise.
9040 * gdb.base/remote.exp: Likewise.
9041 * gdb.base/reread.exp: Likewise.
9042 * gdb.base/restore.exp: Likewise.
9043 * gdb.base/return.exp: Likewise.
9044 * gdb.base/return2.exp: Likewise.
9045 * gdb.base/scope.exp: Likewise.
9046 * gdb.base/sect-cmd.exp: Likewise.
9047 * gdb.base/sep.exp: Likewise.
9048 * gdb.base/sepdebug.exp: Likewise.
9049 * gdb.base/setshow.exp: Likewise.
9050 * gdb.base/setvar.exp: Likewise.
9051 * gdb.base/sigall.exp: Likewise.
9052 * gdb.base/sigbpt.exp: Likewise.
9053 * gdb.base/signals.exp: Likewise.
9054 * gdb.base/signull.exp: Likewise.
9055 * gdb.base/sizeof.exp: Likewise.
9056 * gdb.base/solib.exp: Likewise.
9057 * gdb.base/step-line.exp: Likewise.
9058 * gdb.base/step-test.exp: Likewise.
9059 * gdb.base/structs.exp: Likewise.
9060 * gdb.base/structs2.exp: Likewise.
9061 * gdb.base/term.exp: Likewise.
9062 * gdb.base/twice.exp: Likewise.
9063 * gdb.base/until.exp: Likewise.
9064 * gdb.base/varargs.exp: Likewise.
9065 * gdb.base/volatile.exp: Likewise.
9066 * gdb.base/watchpoint.exp: Likewise.
9067 * gdb.base/whatis-exp.exp: Likewise.
9068 * gdb.base/whatis.exp: Likewise.
9069 * gdb.cp/ambiguous.exp: Likewise.
9070 * gdb.cp/annota2.exp: Likewise.
9071 * gdb.cp/annota3.exp: Likewise.
9072 * gdb.cp/bool.exp: Likewise.
9073 * gdb.cp/breakpoint.exp: Likewise.
9074 * gdb.cp/casts.exp: Likewise.
9075 * gdb.cp/class2.exp: Likewise.
9076 * gdb.cp/classes.exp: Likewise.
9077 * gdb.cp/cplusfuncs.exp: Likewise.
9078 * gdb.cp/ctti.exp: Likewise.
9079 * gdb.cp/derivation.exp: Likewise.
9080 * gdb.cp/exception.exp: Likewise.
9081 * gdb.cp/gdb1355.exp: Likewise.
9082 * gdb.cp/hang.exp: Likewise.
9083 * gdb.cp/inherit.exp: Likewise.
9084 * gdb.cp/local.exp: Likewise.
9085 * gdb.cp/m-data.exp: Likewise.
9086 * gdb.cp/m-static.exp: Likewise.
9087 * gdb.cp/member-ptr.exp: Likewise.
9088 * gdb.cp/method.exp: Likewise.
9089 * gdb.cp/misc.exp: Likewise.
9090 * gdb.cp/namespace.exp: Likewise.
9091 * gdb.cp/overload.exp: Likewise.
9092 * gdb.cp/ovldbreak.exp: Likewise.
9093 * gdb.cp/pr-1023.exp: Likewise.
9094 * gdb.cp/pr-1210.exp: Likewise.
9095 * gdb.cp/pr-574.exp: Likewise.
9096 * gdb.cp/printmethod.exp: Likewise.
9097 * gdb.cp/psmang.exp: Likewise.
9098 * gdb.cp/ref-params.exp: Likewise.
9099 * gdb.cp/ref-types.exp: Likewise.
9100 * gdb.cp/rtti.exp: Likewise.
9101 * gdb.cp/templates.exp: Likewise.
9102 * gdb.cp/try_catch.exp: Likewise.
9103 * gdb.cp/userdef.exp: Likewise.
9104 * gdb.cp/virtfunc.exp: Likewise.
9105 * gdb.disasm/am33.exp: Likewise.
9106 * gdb.disasm/h8300s.exp: Likewise.
9107 * gdb.disasm/mn10300.exp: Likewise.
9108 * gdb.disasm/sh3.exp: Likewise.
9109 * gdb.disasm/t01_mov.exp: Likewise.
9110 * gdb.disasm/t02_mova.exp: Likewise.
9111 * gdb.disasm/t03_add.exp: Likewise.
9112 * gdb.disasm/t04_sub.exp: Likewise.
9113 * gdb.disasm/t05_cmp.exp: Likewise.
9114 * gdb.disasm/t06_ari2.exp: Likewise.
9115 * gdb.disasm/t07_ari3.exp: Likewise.
9116 * gdb.disasm/t08_or.exp: Likewise.
9117 * gdb.disasm/t09_xor.exp: Likewise.
9118 * gdb.disasm/t10_and.exp: Likewise.
9119 * gdb.disasm/t11_logs.exp: Likewise.
9120 * gdb.disasm/t12_bit.exp: Likewise.
9121 * gdb.disasm/t13_otr.exp: Likewise.
9122 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
9123 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
9124 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
9125 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
9126 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
9127 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
9128 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
9129 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
9130 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
9131 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
9132 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
9133 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
9134 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
9135 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
9136 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
9137 * gdb.mi/gdb701.exp: Likewise.
9138 * gdb.mi/gdb792.exp: Likewise.
9139 * gdb.mi/mi-basics.exp: Likewise.
9140 * gdb.mi/mi-break.exp: Likewise.
9141 * gdb.mi/mi-cli.exp: Likewise.
9142 * gdb.mi/mi-console.exp: Likewise.
9143 * gdb.mi/mi-disassemble.exp: Likewise.
9144 * gdb.mi/mi-eval.exp: Likewise.
9145 * gdb.mi/mi-file.exp: Likewise.
9146 * gdb.mi/mi-read-memory.exp: Likewise.
9147 * gdb.mi/mi-regs.exp: Likewise.
9148 * gdb.mi/mi-return.exp: Likewise.
9149 * gdb.mi/mi-simplerun.exp: Likewise.
9150 * gdb.mi/mi-stack.exp: Likewise.
9151 * gdb.mi/mi-stepi.exp: Likewise.
9152 * gdb.mi/mi-syn-frame.exp: Likewise.
9153 * gdb.mi/mi-until.exp: Likewise.
9154 * gdb.mi/mi-var-block.exp: Likewise.
9155 * gdb.mi/mi-var-child.exp: Likewise.
9156 * gdb.mi/mi-var-cmd.exp: Likewise.
9157 * gdb.mi/mi-var-display.exp: Likewise.
9158 * gdb.mi/mi-watch.exp: Likewise.
9159 * gdb.mi/mi2-basics.exp: Likewise.
9160 * gdb.mi/mi2-break.exp: Likewise.
9161 * gdb.mi/mi2-cli.exp: Likewise.
9162 * gdb.mi/mi2-console.exp: Likewise.
9163 * gdb.mi/mi2-disassemble.exp: Likewise.
9164 * gdb.mi/mi2-eval.exp: Likewise.
9165 * gdb.mi/mi2-file.exp: Likewise.
9166 * gdb.mi/mi2-read-memory.exp: Likewise.
9167 * gdb.mi/mi2-regs.exp: Likewise.
9168 * gdb.mi/mi2-return.exp: Likewise.
9169 * gdb.mi/mi2-simplerun.exp: Likewise.
9170 * gdb.mi/mi2-stack.exp: Likewise.
9171 * gdb.mi/mi2-stepi.exp: Likewise.
9172 * gdb.mi/mi2-syn-frame.exp: Likewise.
9173 * gdb.mi/mi2-until.exp: Likewise.
9174 * gdb.mi/mi2-var-block.exp: Likewise.
9175 * gdb.mi/mi2-var-child.exp: Likewise.
9176 * gdb.mi/mi2-var-cmd.exp: Likewise.
9177 * gdb.mi/mi2-var-display.exp: Likewise.
9178 * gdb.mi/mi2-watch.exp: Likewise.
9179 * gdb.stabs/exclfwd.exp: Likewise.
9180 * gdb.stabs/weird.exp: Likewise.
9181 * gdb.threads/gcore-thread.exp: Likewise.
9182 * gdb.trace/actions.exp: Likewise.
9183 * gdb.trace/backtrace.exp: Likewise.
9184 * gdb.trace/circ.exp: Likewise.
9185 * gdb.trace/collection.exp: Likewise.
9186 * gdb.trace/deltrace.exp: Likewise.
9187 * gdb.trace/infotrace.exp: Likewise.
9188 * gdb.trace/limits.exp: Likewise.
9189 * gdb.trace/packetlen.exp: Likewise.
9190 * gdb.trace/passc-dyn.exp: Likewise.
9191 * gdb.trace/passcount.exp: Likewise.
9192 * gdb.trace/report.exp: Likewise.
9193 * gdb.trace/save-trace.exp: Likewise.
9194 * gdb.trace/tfind.exp: Likewise.
9195 * gdb.trace/tracecmd.exp: Likewise.
9196 * gdb.trace/while-dyn.exp: Likewise.
9197 * gdb.trace/while-stepping.exp: Likewise.
9198
f4b618d1
JB
91992006-08-08 Joel Brobecker <brobecker@adacore.com>
9200
9201 * gdb.base/step-bt.c: New file.
9202 * gdb.base/step-bt.exp: New testcase.
9203
3d00d119
DJ
92042006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
9205
9206 * config/monitor.exp (gdb_load): Remove support for obsolete
9207 download-write-size.
9208 * gdb.base/remote.exp: Likewise. Update all callers of
9209 gdb_timed_load.
9210
017b5bd4
DJ
92112006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
9212
9213 * cursal.exp: Pass binfile to gdb_load.
9214
837c599d
DJ
92152006-08-01 Nathan Sidwell <nathan@codesourcery.com>
9216
9217 * gdb.base/cursal.exp: Add "" to gdb_load call.
9218
8dd4540b
MK
92192006-07-29 Mark Kettenis <kettenis@gnu.org>
9220
9221 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
9222 NetBSD/ELF targets.
9223
ab5c9f60
DJ
92242006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
9225
9226 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
9227 operator*.
9228
4c42eaff
DJ
92292006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
9230
9231 * gdb.base/completion.exp: Update for change in "file" behavior.
9232 * gdb.stabs/weird.exp: Likewise.
9233 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
9234 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
9235
0155cc76
NS
92362006-07-24 Nathan Sidwell <nathan@codesourcery.com>
9237
9238 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
9239 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
9240
16026cd7
AS
92412006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
9242
9243 * gdb.base/default.exp: Update source command error message.
9244 * gdb.base/help.exp: Update 'help source' message.
9245
16963cb6
DJ
92462006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
9247
9248 * gdb.cp/bs15503.exp: Update comment for no longer crashing
9249 test.
9250
6d7fd486
AS
92512006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
9252
9253 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
9254
29e8a844
DJ
92552006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9256
9257 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
9258
6afcfa39
DJ
92592006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
9260
9261 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
9262
267a692b
MK
92632006-07-17 Mark Kettenis <kettenis@gnu.org>
9264
9265 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
9266 *-*-openbsd* from targets for wich we expect ARM FPA floating
9267 point format.
9268
85d2fec4
NR
92692006-07-17 Nick Roberts <nickrob@snap.net.nz>
9270
9271 * gdb.cp/annota3.exp: Expect frame-begin annotation.
9272
92732006-07-17 Mark Kettenis <kettenis@gnu.org>
9274
9275 * gdb.base/annota3.exp: Expect frame-begin annotation.
9276
85b4c6e8
JB
92772006-07-14 Joel Brobecker <brobecker@adacore.com>
9278
9279 * gdb.base/help.exp: Adjust "help unset" test to accept
9280 any list of unset commands.
9281
fb933624
DJ
92822006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
9283 Daniel Jacobowitz <dan@codesourcery.com>
9284
9285 * gdb.cp/ref-params.exp: New test.
9286 * gdb.cp/ref-params.cc: New source file.
9287 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
9288
1dff4b64
MK
92892006-07-08 Mark Kettenis <kettenis@gnu.org>
9290
9291 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
9292 spaces/tabs in regular expressions since they might not be there.
9293
40d2e0e3
AS
92942006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
9295
9296 * gdb.base/ifelse.exp: New file.
9297
f6c957d2
NS
92982006-07-04 Nathan Sidwell <nathan@codesourcery.com>
9299
9300 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
9301 line.
9302 * gdb.base/huge.exp: Loop over compilation to find a size that
9303 is acceptable.
9304 * gdb.base/remote.exp: Correct expected strings.
9305 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
9306
b9c5a23d
DJ
93072006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9308
9309 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
9310
9af2e58d
DJ
93112006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9312
9313 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
9314 native.
9315
30930ca5
DJ
93162006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9317
9318 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
9319 enable stabs testing.
9320
aa32fa1d
DJ
93212006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9322
bd4a4c80 9323 * gdb.base/auxv.exp: Intercept undefined command messages before
aa32fa1d
DJ
9324 gdb_test_multiple does.
9325
321fef15
DJ
93262006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
9327
9328 * Makefile.in (host_alias): Remove.
9329 (target_alias): Use @target_noncanonical@.
9330 (site.exp): Don't set host_alias.
9331 * aclocal.m4: Remove contents. Include acx.m4.
9332 * configure: Regenerated.
9333 * configure.ac: Use ACX_NONCANONICAL_TARGET.
9334
e1c2defa
NS
93352006-06-13 Nathan Sidwell <nathan@codesourcery.com>
9336
e63b55d1
NS
9337 * lib/gdb.exp (gdb_load_cmd): New.
9338
5600ea19
NS
9339 * gdb.base/fileio.c: Add system(NULL) test.
9340 * gdb.base/fileio.exp: Check it.
9341
e1c2defa
NS
9342 * gdb.base/break.c: Add 10a breakpoint at }
9343 * gdb.base/break.exp: Add test for breakpoint at }
9344 * gdb.cp/anon-union.cc: Add code at end of function.
9345 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
9346 * gdb.mi/var-cmd.c: Add code at end of function.
9347 * gdb.mi/mi-var-display.exp: Adjust end of next.
9348 * gdb.mi/mi2-var-display.exp: Likewise.
9349 * gdb.base/fileio.c: Add stop function and insert calls at
9350 stopping places.
9351 * gdb.base/fileio.exp: Breakpoint stop function and remove
9352 explicit line number references.
9353
6c0112ec
JB
93542006-05-19 Joel Brobecker <brobecker@adacore.com>
9355
a9c64011
AS
9356 * gdb.base/del.exp (test_delete_alias): New function.
9357 Now check that both "del" and "d" work as aliases for "delete".
6c0112ec 9358
154189a4
FF
93592006-05-18 Fred Fish <fnf@specifix.com>
9360
9361 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
9362 required. Check for spurious output after program exits normally.
9363
582e64c2
FF
93642006-05-17 Fred Fish <fnf@specifix.com>
9365
9366 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
9367 gdb_load, so it works in the simulator.
9368
8ef6493a
FF
93692006-05-11 Fred Fish <fnf@specifix.com>
9370
9371 * gdb.base/bang.exp: Ignore unexpected output between the
9372 "program exited normally" and the gdb prompt, as many other
9373 tests do.
9374
692b141c
MK
93752006-05-07 Mark Kettenis <kettenis@gnu.org>
9376
9377 * gdb.base/help.exp: Make "delete checkpoint" part option for
9378 "help d" and "help delete" tests.
9379
540b8a30
UW
93802006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9381
a9c64011 9382 * gdb.mi/mi-basics.exp: Add missing serial number to
540b8a30
UW
9383 expected output in some mi_gdb_test statements.
9384 * gdb.mi/mi2-basics.exp: Likewise.
9385
9b6462d9
JB
93862006-05-05 Joel Brobecker <brobecker@adacore.com>
9387
9388 * gdb.base/del.c: New file.
9389 * gdb.base/del.exp: New testcase.
9390
954de43b
DM
93912006-05-05 David S. Miller <davem@sunset.davemloft.net>
9392
9393 * gdb.base/break.exp: Do not assume a breakpoint on
9394 main will actually be in $srcfile when optimizing.
1303f75e
DM
9395 * gdb.base/savedregs.exp: Do not require that the dummy
9396 frame location match up to a symbol and source file location.
c3242428
DM
9397 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9398 will get printed without a mi_cmd_data_list_register_values prefix.
9399 (*-data-list-register-*): Correct regular expressions to expect the new
9400 pseudo d? floating point registers.
9401 * gdb.mi/mi2-regs.exp: Likewise.
a9c64011 9402
c7e64c9a
DJ
94032006-05-05 Christophe Lyon <christophe.lyon@st.com>
9404
9405 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9406 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9407 is allocated by the compiler.
9408 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9409 anons, e, anone to force their allocation by the compiler.
9410
94112006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
79c214e0
DJ
9412
9413 * gdb.base/help.exp: Update expected text for help d and
9414 help delete.
9415
27ce9a6d
MK
94162006-05-02 Mark Kettenis <kettenis@gnu.org>
9417
9418 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9419 NetBSD/ELF targets.
9420
8608915f
MK
94212006-04-30 Mark Kettenis <kettenis@gnu.org>
9422
9423 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9424 single-step breakpoint fails; make this a KFAIL on
9425 sparc*-*-openbsd*.
9426 * gdb.base/siginfo.exp: Likewise.
9427 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9428
b8db102d
MS
94292006-04-26 Michael Snyder <msnyder@redhat.com>
9430
9431 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9432 which may have to consume output from other forks.
9433 Add tests to make sure that "delete fork" succeeded.
9434
c702009a
MS
94352006-04-20 Michael Snyder <msnyder@redhat.com>
9436
9437 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9438 Add support for the Renesas M32C and M16C.
9439
9440 * gdb.asm/asm-source.exp: Add m32c target.
9441 * gdb.asm/m32c.inc: Support for m32c target.
9442
e28493f2
AS
94432006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9444
9445 * gdb.base/commands.exp (recursive_source_test): New test.
9446
880da185
DM
94472006-04-04 David S. Miller <davem@sunset.davemloft.net>
9448
9449 * gdb.base/float.exp: Add pattern for sparc targets.
9450
61d9b92f
DJ
94512006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9452
9453 * gdb.base/commands.exp (stray_arg0_test): New test.
9454
bd717df8
PB
94552006-03-30 Paul Brook <paul@codesourcery.com>
9456
9457 * gdb.mi/mi-until.exp: kfail broken until command.
9458 * gdb.mi/mi2-until.exp: Ditto.
9459
ec793d3c
NR
94602006-03-27 Nick Roberts <nickrob@snap.net.nz>
9461
9462 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9463
831004b7
AO
94642006-03-08 Alexandre Oliva <aoliva@redhat.com>
9465
9466 * gdb.base/prelink.exp: Anchor tested-for regular expression
9467 on gdb prompt.
9468
effe49a0
PB
94692006-03-07 Paul Brook <paul@codesourcery.com>
9470
9471 * gdb.base/assign.exp: Correct fail message.
9472
e5461016
PB
94732006-03-07 Paul Brook <paul@codesourcery.com>
9474
9475 * lib/compiler.c: Extract armcc version number.
9476 * lib/compiler.cc: Ditto.
9477
fc91c6c2
PB
94782006-03-07 Paul Brook <paul@codesourcery.com>
9479
9480 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9481 additional_flags=-w.
9482 * gdb.arch/altivec-regs.exp: Ditto.
9483 * gdb.arch/e500-abi.exp: Ditto.
9484 * gdb.arch/e500-regs.exp: Ditto.
9485 * gdb.base/all-bin.exp: Ditto.
9486 * gdb.base/annota1.exp: Ditto.
9487 * gdb.base/annota3.exp: Ditto.
9488 * gdb.base/args.exp: Ditto.
9489 * gdb.base/arithmet.exp: Ditto.
9490 * gdb.base/assign.exp: Ditto.
9491 * gdb.base/async.exp: Ditto.
9492 * gdb.base/bang.exp: Ditto.
9493 * gdb.base/break.exp: Ditto.
9494 * gdb.base/call-rt-st.exp: Ditto.
9495 * gdb.base/completion.exp: Ditto.
9496 * gdb.base/cond-expr.exp: Ditto.
9497 * gdb.base/condbreak.exp: Ditto.
9498 * gdb.base/consecutive.exp: Ditto.
9499 * gdb.base/define.exp: Ditto.
9500 * gdb.base/display.exp: Ditto.
9501 * gdb.base/ena-dis-br.exp: Ditto.
9502 * gdb.base/environ.exp: Ditto.
9503 * gdb.base/eval-skip.exp: Ditto.
9504 * gdb.base/info-proc.exp: Ditto.
9505 * gdb.base/jump.exp: Ditto.
9506 * gdb.base/logical.exp: Ditto.
9507 * gdb.base/long_long.exp: Ditto.
9508 * gdb.base/maint.exp: Ditto.
9509 * gdb.base/miscexprs.exp: Ditto.
9510 * gdb.base/pc-fp.exp: Ditto.
9511 * gdb.base/pointers.exp: Ditto.
9512 * gdb.base/relational.exp: Ditto.
9513 * gdb.base/reread.exp: Ditto.
9514 * gdb.base/sect-cmd.exp: Ditto.
9515 * gdb.base/sep.exp: Ditto.
9516 * gdb.base/sepdebug.exp: Ditto.
9517 * gdb.base/until.exp: Ditto.
9518 * gdb.base/whatis-exp.exp: Ditto.
9519 * gdb.cp/annota2.exp: Ditto.
9520 * gdb.cp/annota3.exp: Ditto.
9521 * gdb.trace/actions.exp: Ditto.
9522 * gdb.trace/backtrace.exp: Ditto.
9523 * gdb.trace/circ.exp: Ditto.
9524 * gdb.trace/collection.exp: Ditto.
9525 * gdb.trace/deltrace.exp: Ditto.
9526 * gdb.trace/infotrace.exp: Ditto.
9527 * gdb.trace/limits.exp: Ditto.
9528 * gdb.trace/packetlen.exp: Ditto.
9529 * gdb.trace/passc-dyn.exp: Ditto.
9530 * gdb.trace/passcount.exp: Ditto.
9531 * gdb.trace/report.exp: Ditto.
9532 * gdb.trace/save-trace.exp: Ditto.
9533 * gdb.trace/tfind.exp: Ditto.
9534 * gdb.trace/tracecmd.exp: Ditto.
9535 * gdb.trace/while-dyn.exp: Ditto.
9536 * gdb.trace/while-stepping.exp: Ditto.
9537 * lib/gdb.exp: Ditto.
9538 (gdb_compile): Handle nowarning option.
9539
5f4a23d9
AO
95402006-03-07 Alexandre Oliva <aoliva@redhat.com>
9541
9542 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9543 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9544 Rename executable to prelinkt. Don't re-prelink if we didn't
9545 get a core file. Test prelink -u exit status to tell whether
9546 prelinking failed. Use gdb_test_multiple.
9547
9733fc94
DJ
95482006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9549
9550 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9551 (do_tests): Call it.
9552
cc10cae3
AO
95532006-02-28 Alexandre Oliva <aoliva@redhat.com>
9554
9555 * gdb.base/prelink.exp: New test.
9556 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9557
15c46491
WZ
95582006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9559
9560 * gdb.fortran/derived-type.f90: New file.
9561 * gdb.fortran/derived-type.exp: New testcase.
9562
5c9f7ded
DJ
95632006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9564
9565 * gdb.base/default.exp: Allow ';' as a directory separator.
9566
5b96932b
AS
95672006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9568
9569 * gdb.base/help.exp (help add-symbol-file): Update.
9570
1986bccd
AS
95712006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9572
9573 * gdb.base/help.exp (help load): Update expected results.
9574
a8b7528f
FF
95752006-02-19 Fred Fish <fnf@specifix.com>
9576
9577 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9578 specifix hex value as part of results.
9579 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
a9c64011 9580
f8261448
FF
95812006-02-16 Fred Fish <fnf@specifix.com>
9582
9583 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9584 ushort_addr, and slong_addr, so the typedefs are not optimized
9585 away.
9586 * gdb.base/whatis.exp: Add tests using type name for struct type,
9587 union type, enum type, and typedef.
a9c64011 9588
31d8bdd2
MK
95892006-02-13 Mark Kettenis <kettenis@gnu.org>
9590
9591 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9592
34e41e63
JB
95932006-02-13 Jim Blandy <jimb@redhat.com>
9594
9595 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9596 case where it takes two "next" commands to skip past the init
9597 call.
9598
ac6e4f31
FF
95992006-02-12 Fred Fish <fnf@specifix.com>
9600
9601 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9602 to handle cases where it takes two "next" commands to skip
9603 past the init call.
9604
2db2d571
JB
96052006-02-07 Joel Brobecker <brobecker@adacore.com>
9606
9607 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9608 on hppa32 targets.
9609
38fcd64c
DJ
96102006-02-06 Vladimir Prus <ghost@cs.msu.su>
9611
9612 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9613 field.
9614
1315ad46
MK
96152006-01-29 Mark Kettenis <kettenis@gnu.org>
9616
9617 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9618
5625b943
DJ
96192006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9620
9621 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9622 files.
9623
80df1bbe
DJ
96242006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9625
9626 * gdb.cp/maint.exp: Set complaints to a positive value.
9627
9078e690
DJ
96282006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9629
9630 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9631 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9632 function name.
9633
9c903399
DJ
96342006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9635
9636 * gdb.base/checkpoint.c: Update copyright notice. Include
9637 <stdlib.h>.
9638
761ae4d6
JB
96392006-01-04 Jim Blandy <jimb@redhat.com>
9640
9641 * gdb.asm/asm-source.exp: Independently provide default values for
9642 asm-flags and debug-flags. Use 'string equal' to do the
9643 comparison, not the implicit expr's '==' operator. Remove
9644 now-unneeded assignments to asm-flags. In h8300 case, place
9645 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9646
099ac3dd
MS
96472006-01-04 Michael Snyder <msnyder@redhat.com>
9648
9649 * gdb.base/checkpoint.c: New file.
9650 * gdb.base/checkpoint.exp: New file.
9651 * gdb.base/multi-fork.c: New file.
9652 * gdb.base/multi-fork.exp: New file.
9653 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9654
f4d85314
FF
96552006-01-04 Fred Fish <fnf@specifix.com>
9656
9657 * gdb.base/ptype.c (foo): Add typedef.
9658 (intfoo): Add function.
9659 * gdb.base/ptype1.c: New file.
9660 * gdb.base/ptype.exp: Handle compilation and linking with two
9661 source files. Test that proper type for "foo" is found based
9662 on source context rather than first match found in symtabs.
9663
a1b06f35
MK
96642005-12-28 Mark Kettenis <kettenis@gnu.org>
9665
9666 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9667 * gdb.asm/openbsd.inc: Indent commands.
9668
d082a1e2
MK
96692005-12-26 Mark Kettenis <kettenis@gnu.org>
9670
c65016bd
MK
9671 * gdb.base/freebpcmd.exp: Increase timeout.
9672
d082a1e2
MK
9673 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9674
d3c32a0e
DJ
96752005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9676
9677 * gdb.base/default.exp: Update check for "show version".
9678
9fdb1f50
RC
96792005-12-09 Randolph Chung <tausq@debian.org>
9680
9681 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9682 * gdb.asm/pa64.inc: New file.
9683
5f2c56f7
RC
96842005-12-09 Randolph Chung <tausq@debian.org>
9685
9686 * gdb.asm/common.inc: Indent commands.
9687 * gdb.asm/asmsrc1.s: Likewise.
9688 * gdb.asm/asmsrc2.s: Likewise.
9689
8117349c
RC
96902005-12-09 Randolph Chung <tausq@debian.org>
9691
9692 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9693 (get_addr_of_sym): Remove duplicate print.
9694 (gen_core): xfail hppa*-*-hpux*, update expected output.
9695 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9696 * gdb.arch/pa64-nullify.s: New file.
9697
8f07f25a
RC
96982005-12-09 Randolph Chung <tausq@debian.org>
9699
9700 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9701
55b39184
DJ
97022005-12-07 Christophe Lyon <christophe.lyon@st.com>
9703
9704 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9705 code generation for these functions.
9706 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9707 error message.
9708
31e2b00f
AS
97092005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9710
9711 * gdb.base/help.exp (help b, help br, help bre, help brea)
9712 (help break): Update the expected message.
9713
c3d0b56e
SC
97142005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9715
9716 * gdb.asm/m68hc11.inc: Setup the data section.
9717 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9718 script for this test.
9719 (m6812-*-*): Likewise.
9720
36ae0ea9
RC
97212005-11-09 Randolph Chung <tausq@debian.org>
9722
9723 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9724
9d6f42e9
WZ
97252005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9726
9727 * gdb.base/break.exp: Fix a comment typo.
9728
e2126a14
EZ
97292005-11-03 Jim Blandy <jimb@redhat.com>
9730
a9c64011
AS
9731 Checked in by Elena Zannoni <ezannoni@redhat.com>
9732
889bf7c5 9733 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
e2126a14 9734
e0ac7199
CV
97352005-11-02 Corinna Vinschen <vinschen@redhat.com>
9736
9737 * gdb.arch/gdb1558.c: Include stdio.h.
9738
31d3fb18
MK
97392005-10-31 Mark Kettenis <kettenis@gnu.org>
9740
9741 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9742
e52b687c
MK
97432005-10-31 Mark Kettenis <kettenis@gnu.org>
9744
9745 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9746
f4711d79
PG
97472005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9748
a9c64011
AS
9749 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9750 vscr" tests to better match output.
f4711d79 9751
987a9106
JB
97522005-10-12 Jim Blandy <jimb@redhat.com>
9753
9754 * gdb.base/structs.exp (any): New function.
9755 (test_struct_returns): Don't make any assumptions at all about
9756 what value the function returns when GDB can't set the return
9757 value.
9758
2336bb58
JB
97592005-10-09 Joel Brobecker <brobecker@adacore.com>
9760
9761 * gdb.ada/arrayidx/p.adb: New file.
9762 * gdb.ada/arrayidx.exp: New testcase
9763
97642005-10-09 Joel Brobecker <brobecker@adacore.com>
1495de3f
JB
9765
9766 * gdb.ada/array_return/pck.ads: New file.
9767 * gdb.ada/array_return/pck.adb: New file.
9768 * gdb.ada/array_return/p.adb: New file.
9769 * gdb.ada/array_return.exp: New testcase.
9770
705335ea
JB
97712005-10-03 Joel Brobecker <brobecker@adacore.com>
9772
a9c64011
AS
9773 * gdb.base/arrayidx.c: New file.
9774 * gdb.base/arrayidx.exp: New testcase.
705335ea 9775
11ee9940
NR
97762005-09-29 Nick Roberts <nickrob@snap.net.nz>
9777
9778 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9779 frames-invalid and breakpoints-invalid are no longer generated
9780 with level 3 so don't expect them in the output.
9781
39fb8e9e
BR
97822005-09-27 Bob Rossi <bob@brasko.net>
9783
a9c64011 9784 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
39fb8e9e
BR
9785 from test. Escape the | in mi_gdb_test call.
9786 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9787 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9788 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9789 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9790 expected regex's in mi_gdb_test calls.
9791 * lib/mi-support.exp: Remove arbitrary .* from tests.
9792 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9793 Fully anchor GDB/MI expected results in mi_gdb_test.
9794 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9795 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9796
2af48f68
PB
97972005-09-26 Paul Brook <paul@codesourcery.com>
9798
9799 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9800
f34502bc
WZ
98012005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9802
9803 * bfp-test.c: New file.
9804 * bfp-test.exp: New testcase.
9805
ca929517
WZ
98062005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9807
9808 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9809 of subarray and substring variable.
9810 * gdb.fortran/subarray.f: New source file for the test of subarray
9811 and substring variable evaluation.
9812 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9813 of string constant.
9814
c761af65
DJ
98152005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9816
9817 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9818 copyright dates.
9819
561d7a1d
PG
98202005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9821
9822 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9823 powerpc altivec' test with an almost identical 'info vector' test.
9824
b2b64cc9
PG
98252005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9826
a9c64011
AS
9827 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9828 vscr" tests to match output.
b2b64cc9 9829
6ac4d15a
PG
98302005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9831
a9c64011
AS
9832 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9833 output.
6ac4d15a 9834
40e55bef
BR
98352005-09-11 Bob Rossi <bob@brasko.net>
9836
889bf7c5
PA
9837 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9838 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9839 commands that return an MI output command and an asyncronous MI output
9840 command.
40e55bef
BR
9841 * gdb.mi/mi-console.exp: Ditto.
9842
3c7385ec
BR
98432005-09-11 Bob Rossi <bob@brasko.net>
9844
9845 * gdb.mi/mi-var-child.c: Include <string.h>.
9846
a6cd0eb3
DJ
98472005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9848
9849 * killed.exp: Correct gdb_expect syntax.
9850
2f168eed
CV
98512005-08-09 Corinna Vinschen <vinschen@redhat.com>
9852
9853 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9854
ecd3fd0f
BR
98552005-08-02 Bob Rossi <bob@brasko.net>
9856
9857 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9858 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9859 Change tests to inferior-tty-set/show.
9860 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9861 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
9862 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
9863 inferior. Use mi_gdb_test to get GDB and Inferior output.
9864 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
9865 descriptor.
9866 (mi_inferior_tty_name): Add inferior PTY file name.
9867 (mi_gdb_start): Add INFERIOR_PTY parameter.
9868 (mi_gdb_test): Add IPATTERN parameter.
9869
f1ea48cb 98702005-08-02 Bob Rossi <bob@brasko.net>
a9c64011 9871
f1ea48cb
BR
9872 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
9873 parameter to mi_gdb_test.
9874 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
9875
6e650a67
DJ
98762005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9877
9878 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
9879 struct_declarations.
9880 * gdb.mi/mi-var-child.exp: Step over the initialization of
9881 struct_declarations.
9882
8be260b6
DJ
98832005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9884
9885 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
9886 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
9887 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
9888 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
9889 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
9890 file.
9891
4e660f07
NR
98922005-07-27 Nick Roberts <nickrob@snap.net.nz>
9893
9894 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9895 (do_children_tests): Assign values to the extra elements.
9896
9897 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
9898 them for tests for "-var-update --no-values" and
a9c64011 9899 "-var-update --all-values".
4e660f07
NR
9900 Add test for "-var-list-children --simple-values".
9901
9902 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9903
9904 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9905 "-stack-list-locals --simple-values" Improve doc strings and
9906 comments.
9907
6bdae935
MK
99082005-07-18 Mark Kettenis <kettenis@gnu.org>
9909
598b7a6f
MK
9910 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9911 *-*-openbsd*.
9912 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9913
6bdae935
MK
9914 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9915 sigaltsatck'.
9916
1323e929 99172005-07-14 Bob Rossi <bob@brasko.net>
a9c64011 9918
1323e929
BR
9919 * gdb.base/default.exp (tty): Changed output of command.
9920 * gdb.base/help.exp (help tty): Ditto.
9921
b1a9c082
MK
99222005-07-12 Mark Kettenis <kettenis@gnu.org>
9923
9924 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
9925
10a844a2
MK
99262005-07-10 Mark Kettenis <kettenis@gnu.org>
9927
9928 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
9929 -stack-select-frame without arguments.
9930 (test_stack_frame_listing): Add test for newly implemented command
9931 -stack-info-frame.
9932
3cb3b8df
BR
99332005-07-06 Bob Rossi <bob@brasko.net>
9934
9935 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
9936 command.
9937 (Copyright): Update copyright.
9938
a0c5fbcf
WZ
99392005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
9940
9941 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
9942 tests to evaluate exponentiation expression.
9943
984971d0
AS
99442005-06-29 Andreas Schwab <schwab@suse.de>
9945
9946 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
9947 main to avoid warnings.
9948
9949 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
9950
fe03833f
NR
99512005-06-20 Nick Roberts <nickrob@snap.net.nz>
9952
9953 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
9954 -stack-select-frame without arguments.
9955 (test_stack_frame_listing): Add test for newly implemented command
9956 -stack-info-frame.
a9c64011 9957
7a55f279
WZ
99582005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
9959
0ffa0ea5
DJ
9960 * gdb.fortran/array-element.f: New file.
9961 * gdb.fortran/array-element.exp: New testcase.
7a55f279 9962
26585198
DJ
99632005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9964
9965 * gdb.base/bigcore.exp: Correct checks for systems which can
9966 not dump a large core file.
9967
c1bd25fd
DJ
99682005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9969
9970 * gdb.base/relocate.c: Add a copyright notice.
9971 (dummy): Remove.
9972 * gdb.base/relocate.exp: Test printing the values of variables
9973 from a relocatable file.
9974
589e074d
DJ
99752005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9976
9977 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
9978 excess MI output after an error.
9979
0915f927
JB
99802005-05-29 Joel Brobecker <brobecker@adacore.com>
9981
9982 * gdb.arch/alpha-step.c: New file.
9983 * gdb.arch/alpha-step.exp: New testcase.
9984
76ff342d
DJ
99852005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
9986 Dennis Brueni <dennis@slickedit.com>
9987
9988 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
9989 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
9990 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
9991 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
9992 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9993 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
9994 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
9995
96b0c7ac
DJ
99962005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
9997 Wu Zhou <woodzltc@cn.ibm.com>
9998
9999 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
10000 IBM's xlc compiler.
10001 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
10002 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
10003
f21565d2
JB
100042005-05-13 Jim Blandy <jimb@redhat.com>
10005
10006 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
10007 calling gdb_suppress_entire_file.
10008 * gdb.base/charset.exp: Same.
10009 * gdb.base/call-rt-st.exp: Same.
10010
6006a3a1
BR
100112005-05-05 Bob Rossi <bob_rossi@cox.net>
10012
10013 * lib/gdb.exp (fullname_syntax): Added global regex.
10014 (fullname_syntax_POSIX): Ditto.
10015 (fullname_syntax_UNC): Ditto.
10016 (fullname_syntax_DOS_CASE): Ditto.
10017 (fullname_syntax_DOS): Ditto.
10018 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
10019 fullname_syntax variable to scope and use it.
10020 (test_file_list_exec_source_files): Ditto.
10021 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
10022
c3b69c04
DJ
100232005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
10024
10025 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
10026
3c95e6af
PG
100272004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
10028
a9c64011
AS
10029 * lib/gdb.exp (skip_altivec_tests): New function, based on
10030 check_vmx_hw_available from the GCC testsuite.
10031 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
10032 * lib/gdb.arch/altivec-regs.exp: Likewise.
3c95e6af 10033
78df6c56
JB
100342005-05-02 Jim Blandy <jimb@redhat.com>
10035
10036 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
10037 calling gdb_suppress_entire_file.
10038
1690f9cf
DJ
100392005-04-30 Randolph Chung <tausq@debian.org>
10040
10041 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
10042 Slightly relax "sem_post" name checking.
10043
5ea106f7
PG
100442005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10045
10046 * gdb.base/unload.exp: Use new shared library infrastructure.
10047
bf7234cf
PG
100482005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
10049
10050 * gdb.base/so-impl-ld.exp: Use new shared library
a9c64011 10051 infrastructure.
bf7234cf 10052
547b869a
CV
100532005-04-29 Corinna Vinschen <vinschen@redhat.com>
10054
10055 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
10056 * gdb.asm/h8300.inc: New file.
10057
f07e55f0
PG
100582005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10059
10060 * gdb.base/shlib-call.exp: Change to use new shared library
10061 infrastructure.
10062
3cbba3d1
PG
100632005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10064
a9c64011
AS
10065 * gdb.base/pending.exp: Change to use new shared library
10066 infrastructure.
3cbba3d1 10067
ed6df200
PG
100682005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
10069
a9c64011
AS
10070 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
10071 use test_compiler_info instead of gcc_compiled, and update copyright.
ed6df200 10072
8c8f4ebe
PG
100732005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
10074
a9c64011
AS
10075 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
10076 shared objects being adjusted and update copyright years.
8c8f4ebe 10077
607fbc54
DJ
100782005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
10079
10080 * ChangeLog: Correct some 2003-01-13 dates.
10081 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
10082 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
10083 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
10084 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
10085 gdb.trace/tfind.exp: Update copyright years.
10086
57bf0e56
DJ
100872005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
10088 Daniel Jacobowitz <dan@codesourcery.com>
10089
10090 * lib/gdb.exp (gdb_compile): Handle shlib=.
10091 (gdb_compile_shlib): New function.
10092
9b593790
PG
100932005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
10094
a9c64011 10095 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9b593790 10096
9494c6a5
DJ
100972005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10098
10099 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
10100 gdb.server.
10101 * configure.ac: Likewise.
10102 * configure: Regenerated.
10103 * gdb.gdbserver/Makefile.in: Moved to...
10104 * gdb.server/Makefile.in: ... here.
10105 * gdb.gdbserver/server.c: Moved to...
10106 * gdb.server/server.c: ... here.
10107 * gdb.gdbserver/server-run.exp: Moved to...
10108 * gdb.server/server-run.exp: ... here.
10109
6f8eac0e
DJ
101102005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
10111
10112 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
10113 * configure.ac: Create gdb.gdbserver/Makefile.
10114 * configure: Regenerated.
10115 * lib/gdbserver-support.exp: New file, derived from
10116 config/gdbserver.exp.
10117 * config/gdbserver.exp: Use gdbserver-support.exp.
10118 * gdb.gdbserver/Makefile.in: New file.
10119 * gdb.gdbserver/server.c: New file.
10120 * gdb.gdbserver/server-run.exp: New file.
10121
6e87504d
PG
101222005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
10123
a9c64011
AS
10124 * lib/gdb.exp (test_compiler_info): Return compiler_info
10125 if no arguments are given.
6e87504d 10126
d1779be4
PG
101272005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
10128
10129 * gdb.arch/altivec-abi.exp: Check for compiler and set
10130 use altivec' flag accordingly.
10131 * gdb.arch/altivec-regs.exp: Likewise.
10132
88750304
DJ
101332005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
10134
10135 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
10136
f3fb768d
AS
101372005-03-27 Andreas Schwab <schwab@suse.de>
10138
10139 * gdb.base/bigcore.c (main): Add missing mode argument in open
10140 call.
10141
7e813ac5
DJ
101422005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
10143
10144 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
10145 downloads.
10146 * config/gdbserver.exp (gdb_load): Likewise.
10147
8e3049aa
PB
101482005-03-14 Paul Brook <paul@codesourcery.com>
10149
10150 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
10151 targets.
10152
a9df7c44
JB
101532005-03-09 Joel Brobecker <brobecker@adacore.com>
10154
10155 * gdb.dwarf2/dup-psym.S: New file.
10156 * gdb.dwarf2/dup-psym.exp: New testcase.
10157
9f0d94e8
JB
101582005-03-09 Joel Brobecker <brobecker@adacore.com>
10159
10160 * gdb.ada/exec_changed/first.adb: New file.
10161 * gdb.ada/exec_changed/second.adb: New file.
10162 * gdb.ada/exec_changed.exp: New testcase.
10163
5f579bc5
NS
101642005-03-08 Nathan Sidwell <nathan@codesourcery.com>
10165
36e9969c
NS
10166 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
10167 (A2): New class.
10168 (main): Test operator+.
10169 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
10170 breakpoint test.
10171
5f579bc5
NS
10172 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
10173 * gdb.base/signull.exp: Disable if gdb,nosignals.
10174 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
10175 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
10176 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
10177 * gdb.mi/mi2-console.exp: Likewise.
10178 * gdb.trace/collection.exp (run_trace_experiment): Consume the
10179 continue output at start.
10180 (gdb_collect_locals_test): Robustify regexp.
10181 * gdb.trace/passc-dyn.exp: Fix comment typo.
10182 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
10183
be46087e
CV
101842005-03-08 Corinna Vinschen <vinschen@redhat.com>
10185
10186 * gdb.asm/asm-source.exp: Add iq2000 case.
10187 * gdb.asm/iq2000.inc: New file.
10188
384e1a61 101892005-03-07 Manoj Iyer <manjo@austin.ibm.com>
a9c64011 10190
384e1a61
MI
10191 * gdb.base/command.exp: Change hardcoded value to regular expression.
10192 * gdb.base/float.exp: Add powerpc to the list of targets checked.
10193
584b6e9e
DJ
101942005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
10195
10196 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
10197 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
10198 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
10199 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
10200 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
10201
ab5b5d61
MK
102022005-03-05 Mark Kettenis <kettenis@gnu.org>
10203
10204 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
10205 changes.
10206
ae051c1b
PG
102072004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
10208
a9c64011
AS
10209 * lib/compiler.c: Add test for IBM's xlc compiler.
10210 * lib/compiler.cc: Likewise.
ae051c1b 10211
3f0f6ed2
JB
102122004-02-24 Joel Brobecker <brobecker@adacore.com>
10213
10214 * gdb.ada/fixed_points.exp: Create compilation object directory
10215 before running the test.
10216 * gdb.ada/null_record.exp: Likewise.
10217 * gdb.ada/packed_array.exp: Likewise.
10218 * gdb.ada/start.exp: Likewise.
10219
724f452b
JB
102202005-02-15 Joel Brobecker <brobecker@adacore.com>
10221
10222 * gdb.ada/packed_array/pa.adb: New file.
10223 * gdb.ada/packed_array.exp: New testcase.
10224
57f5cdfb 102252005-02-10 Mark Kettenis <kettenis@gnu.org>
ebdda337 10226
1f393151
MK
10227 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
10228 files.
10229
ebdda337
MK
10230 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
10231 on *-*-openbsd*. Correctly match whitespace in regukar
10232 expressions.
10233
cf309262
DJ
102342005-02-10 Daniel Jacobowitz <dan@debian.org>
10235
10236 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
10237 PR exp/1821
10238 * gdb.base/gdb1821.c: New test file.
10239 * gdb.base/gdb1821.exp: New test file.
10240
3be49e7a
JB
102412005-02-09 Joel Brobecker <brobecker@adacore.com>
10242
10243 * gdb.base/start.c: New file.
10244 * gdb.base/start.exp: New testcase.
10245
e292e67d
JB
102462005-02-09 Joel Brobecker <brobecker@adacore.com>
10247
10248 * gdb.ada/start/dummy.adb: New file.
10249 * gdb.ada/start.exp: New testcase.
10250
dbdfa66c
CV
102512005-02-09 Corinna Vinschen <vinschen@redhat.com>
10252
10253 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
10254 for printing symbols and statistics.
10255 Add test for using relative pathnames in "maint print msymbols" test.
10256 Mark "maint info sections DATA" XFAIL on Cygwin.
10257 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
10258 tests.
10259
d7941671
AC
102602005-02-09 Andreas Schwab <schwab@suse.de>
10261
10262 Committed by Andrew Cagney <cagney@gnu.org>
10263 * gdb.base/remotetimeout.exp: New file.
10264
74e5ef44
MK
102652005-02-07 Mark Kettenis <kettenis@gnu.org>
10266
10267 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
10268
464dd14d
JB
102692005-02-03 Joel Brobecker <brobecker@adacore.com>
10270
10271 * gdb.ada/gnat_ada.gpr: New file.
10272 * gdb.ada/gnat_ada.gin: Delete, no longer used.
10273 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
10274 * configure.ac: No longer generate gnat_ada.gpr.
10275 * configure: Regenerate.
10276 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
10277 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
10278 * gdb.ada/null_record/bar.ads: Likewise.
10279 * gdb.ada/null_record/bar.adb: Likewise.
10280 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
10281 * gdb.ada/null_record.exp (testdir): New variable.
10282 (testfile): executable is now in testdir subdirectory.
10283 (srcfile): Use full path to the main compilation unit.
10284 * gdb.ada/fixed_points.exp: Same changes as above.
10285
30d756ae
NR
102862005-02-03 Nick Roberts <nickrob@snap.net.nz>
10287
10288 * gdb.base/interp.exp: New test.
10289
9d799f85
AC
102902005-01-24 Andrew Cagney <cagney@gnu.org>
10291
10292 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
10293
15656118
AC
102942005-01-19 Andrew Cagney <cagney@gnu.org>
10295
a892c31b
AC
10296 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
10297 configure.ac not configure.in.
10298
15656118
AC
10299 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
10300 of powerpc*-*-*.
10301 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
a9c64011 10302 * gdb.base/list.exp (test_list_function)
15656118
AC
10303 (test_list_filename_and_function): Ditto.
10304 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
10305
a7b01baf
AC
103062005-01-16 Andrew Cagney <cagney@gnu.org>
10307
17d92a02
AC
10308 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
10309
a7b01baf
AC
10310 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
10311
bc8332bb
AC
103122005-01-14 Andrew Cagney <cagney@gnu.org>
10313
10314 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
10315 * gdb.mi/mi2-var-cmd.exp: Ditto.
10316
4d074752
CV
103172005-01-10 Corinna Vinschen <vinschen@redhat.com>
10318
10319 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
10320
bec39cab
AC
103212005-01-07 Andrew Cagney <cagney@gnu.org>
10322
10323 * configure.ac: Rename configure.in, require autoconf 2.59.
10324 * configure: Re-generate.
10325 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
10326 * gdb.stabs/configure: Re-generate.
10327 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
10328 * gdb.hp/configure: Re-generate.
10329 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
10330 autoconf 2.59.
10331 * gdb.hp/gdb.objdbg/configure: Re-generate.
10332 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
10333 autoconf 2.59.
10334 * gdb.hp/gdb.defects/configure: Re-generate.
10335 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
10336 autoconf 2.59.
10337 * gdb.hp/gdb.compat/configure: Re-generate.
10338 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
10339 autoconf 2.59.
10340 * gdb.hp/gdb.base-hp/configure: Re-generate.
10341 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
10342 autoconf 2.59.
10343 * gdb.hp/gdb.aCC/configure: Re-generate.
10344
f10b16d4
JB
103452004-12-15 Jim Blandy <jimb@redhat.com>
10346
10347 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
10348 under NPTL when there is debugging info available for libpthread.
10349
fb6e1814
JG
103502004-12-13 Jerome Guitton <guitton@gnat.com>
10351
10352 * gdb.ada/fixed_points.c: New file.
10353 * gdb.ada/fixed_points.exp: New file.
10354
fe46cd3a
RC
103552004-12-03 Randolph Chung <tausq@debian.org>
10356
10357 * gdb.arch/pa-nullify.exp: New file.
10358 * gdb.arch/pa-nullify.s: New file.
10359
8de0841b
RC
103602004-11-30 Randolph Chung <tausq@debian.org>
10361
10362 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
10363 instead of "tbug". Fix regexp to work properly with gdb_test.
10364
c8170782
PH
103652004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
10366
10367 * gdb.base/bitfields2.exp: New test.
10368 * gdb.base/bitfields2.c: New file.
10369
954269c2
RE
103702004-11-28 Richard Earnshaw <rearnsha@arm.com>
10371
10372 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10373
0107feed
RC
103742004-11-16 Randolph Chung <tausq@debian.org>
10375
10376 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10377
f073ae8c
DJ
103782004-11-14 Daniel Jacobowitz <dan@debian.org>
10379
10380 * gdb.threads/threadapply.exp: Correct "macro details" test.
10381
19ad59e7
JJ
103822004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10383
10384 * gdb.threads/threadapply.exp: New test.
10385 * gdb.threads/threadapply.c: New file.
10386
9cf0961b
MK
103872004-11-07 Mark Kettenis <kettenis@gnu.org>
10388
10389 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10390 frames.
10391
c789492a
FL
103922004-11-05 Felix Lee <felix+log1@specifixinc.com>
10393
10394 * gdb.base/cursal.exp: New file.
10395 * gdb.base/cursal.c: New file.
10396
a1e167bb
AC
103972004-11-03 Andrew Cagney <cagney@gnu.org>
10398
10399 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10400
b7cbf173
MK
104012004-10-30 Mark Kettenis <kettenis@gnu.org>
10402
10403 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10404 NetBSD/ELF targets.
10405
88f9d34f
JB
104062004-10-29 Joel Brobecker <brobecker@gnat.com>
10407
10408 * gdb.threads/bp_in_thread.c: New file, copied from
10409 pthread_cond_wait.c.
10410 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10411 file, rather than reusing the .c file from another testcase.
10412
ca7d6a0c
JB
104132004-10-20 Joel Brobecker <brobecker@gnat.com>
10414
10415 * gdb.ada/null_record.exp: Check where we stopped after
10416 sending the start command, instead of where the associated
10417 temporary breakpoint was inserted.
10418
0d863d03
AC
104192004-10-14 Andrew Cagney <cagney@gnu.org>
10420
10421 * gdb.mi/gdb701.c (main): Return 0.
10422
d11e72cb
DJ
104232004-10-13 Daniel Jacobowitz <dan@debian.org>
10424
d40539a4 10425 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
d11e72cb 10426
e1923096
JJ
104272004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10428
10429 * gdb.threads/schedlock.c: Add comment markers to use to find
10430 line numbers.
10431 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10432 comments.
10433 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10434 breakpoint lines.
10435
ec8ba2c9
DJ
104362004-10-12 Daniel Jacobowitz <dan@debian.org>
10437
10438 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10439
0eb3658b
DJ
104402004-10-12 Daniel Jacobowitz <dan@debian.org>
10441
10442 * configure.in: Add gdb.dwarf2.
10443 * configure: Regenerated.
10444 * Makefile.in: Add gdb.dwarf2.
10445 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10446 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10447 gdb.dwarf2/file1.txt: New files.
10448
a271cc33
OF
104492004-10-11 Orjan Friberg <orjanf@axis.com>
10450
a9c64011 10451 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
a271cc33
OF
10452 of "run", since the latter doesn't work with remote targets. Adjust
10453 the breakpoint numbering accordingly.
10454 * gdb.threads/pthread_cond_wait.exp: Ditto.
10455
895ce074
MC
104562004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10457
10458 * gdb.base/overlays.exp: Update copyright years.
10459
6be3092d
KI
104602004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10461
10462 * gdb.base/overlays.exp: Disable if target is Linux.
10463
e05389b8
FL
104642004-10-06 Felix Lee <felix+log1@specifixinc.com>
10465
10466 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10467
73cb587d
KI
104682004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10469
10470 * gdb.asm/asm-source.exp: Add m32r-linux target.
10471 * gdb.asm/m32r-linux.inc: New file.
10472
3c0edcdc
AC
104732004-09-24 Andrew Cagney <cagney@redhat.com>
10474 David Anderson <anderson@redhat.com>
10475
10476 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10477 command fails, assume things will work.
10478 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10479 (_GNU_SOURCE): Define.
10480 (print_unsigned, print_hex): Change parameter to "long long".
10481 (print_byte_count): New function, use to print byte counts.
10482 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10483 O_LARGEFILE.
10484 (main): Compute an upper bound on a corefile in max_core_size.
10485 Limit memory chunk size to max_core_size. Limit total memory
10486 allocated to max_core_size.
10487
4bb3667f
AC
104882004-09-23 Andrew Cagney <cagney@gnu.org>
10489
10490 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10491 from a separate process with code that creates a corefile by
10492 making the inferior dump core.
10493
60fe1a51
MK
104942004-09-23 Mark Kettenis <kettenis@gnu.org>
10495
10496 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10497 block.
10498
8e937346
MC
104992004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10500
10501 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10502 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10503 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10504 Likewise.
10505
7213f6d6
JJ
105062004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10507
10508 * gdb.java/jprint.exp: New test case for java inferior call.
10509 * gdb.java/jprint.java: Ditto.
10510
eac69dca
JB
105112004-09-15 Joel Brobecker <brobecker@gnat.com>
10512
10513 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10514
22227696
MC
105152004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10516
10517 * gdb.threads/killed.c: Include <stdlib.h>.
10518 * gdb.threads/pthreads.c: Likewise.
10519
7dd403a4
MC
105202004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10521
10522 * gdb.threads/killed.c: Add copyright notice.
10523
33f2d567
JM
105242004-09-10 Jason Molenda (jmolenda@apple.com)
10525
a9c64011
AS
10526 * gdb.base/define.exp: Two new tests to verify zero space chars
10527 after 'if' and 'while' commands in a user-defined command is correctly
10528 parsed.
33f2d567 10529
e05b62ac
AC
105302004-09-08 Andrew Cagney <cagney@gnu.org>
10531
10532 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10533 delivery test with duplicate at end of file.
10534
9cbe82da
MK
105352004-09-06 Mark Kettenis <kettenis@jive.nl>
10536
10537 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10538
564803d9
MC
105392004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10540
10541 * config/hppro.exp: Removed.
10542
7c6807ce
MC
105432004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10544
10545 * config/sparclet.exp: Removed.
10546
bf7e26dd
MC
105472004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10548
10549 * config/udi.exp: Removed.
10550
714e341b
MC
105512004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10552
10553 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10554 of "exp_continue".
10555 (advancei): Likewise.
10556
1236e623
JJ
105572004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10558
10559 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10560
3bdcad15
MI
105612004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10562
228af206 10563 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
3bdcad15
MI
10564 to check for nodebug in executable.
10565 * gdb.gdb/observer.exp (setup_test): Likewise.
10566 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10567 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10568
c72b934c
AC
105692004-09-01 Andrew Cagney <cagney@gnu.org>
10570
10571 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10572 files.
10573
edd9b715
JJ
105742004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10575
10576 * gdb.base/unload.exp: Fix expected warning message to match
10577 latest format.
10578
fb4ce06b
CV
105792004-09-01 Corinna Vinschen <vinschen@redhat.com>
10580
10581 * gdb.base/call-rt-st.exp: Fix typos.
10582
ce78e7c3
MI
105832004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10584
10585 * gdb.threads/thread_check.exp: New testcase.
10586 * gdb.threads/thread_check.c: New testcase.
10587
2dedb159
AC
105882004-08-31 Andrew Cagney <cagney@gnu.org>
10589
10590 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10591 (skip_to_handler_entry): New procedures. Test stepping into a
10592 handler when the breakpoint is at the handler's entry point.
10593
68f53502
AC
105942004-08-30 Andrew Cagney <cagney@gnu.org>
10595
10596 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10597 gdb/1757.
10598
3e3ffd2b
MC
105992004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10600
10601 With code from Manoj Iyer <manjo@austin.ibm.com>:
10602 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10603 return value. Add an arm for "no debugging symbols found".
10604 Change a stray "error" to "perror".
10605 (gdb_run_cmd): Adapt to new return value.
10606 * gdb.base/remote.exp: Adapt to new return value.
10607 * gdb.gdb/complaints.exp: Likewise.
10608 * gdb.gdb/observer.exp: Likewise.
10609 * gdb.gdb/selftest.exp: Likewise.
10610 * gdb.gdb/xfullpath.exp: Likewise.
10611
4b6f5fd2
JB
106122004-08-27 Joel Brobecker <brobecker@gnat.com>
10613
10614 * gdb.threads/bp_in_thread.exp: New testcase.
10615
e5b25496
MC
106162004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10617
10618 Fix PR testsuite/1735.
10619 * gdb.threads/schedlock.c (thread_function): Add a cast
10620 to suppress a gcc warning.
10621 * gdb.threads/thread-specific.c (thread_function): Likewise.
10622
934353d6
MC
106232004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10624
10625 * gdb.base/unload.c: Include <stdlib.h>.
10626
f98a0aef 106272004-08-26 Michael Chastain <mec.gnu@mindspring.com>
3a77aa28 10628
f98a0aef 10629 From Paul Gilliam <pgilliam@us.ibm.com>:
3a77aa28
MC
10630 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10631 synchronized after the "return".
10632
5a2e8882
MC
106332004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10634
10635 * gdb.mi/basics.c: Include <stdio.h>.
10636 * gdb.mi/pthreads.c: Include <stdlib.h>.
10637 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10638
a9640423
MC
106392004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10640
10641 * gdb.threads/schedlock.c: Add copyright notice.
10642
b04e311d
AC
106432004-08-25 Andrew Cagney <cagney@gnu.org>
10644
10645 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10646 (skip_over_handler, breakpoint_over_hander): New test procedures.
10647 (advance, advancei): Add a proper prefix, do not use
10648 rerun_to_main.
10649 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10650
7c27f15b
MC
106512004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10652
10653 * gdb.mi/basics.c: Add copyright notice.
10654 * gdb.mi/var-cmd.c: Add copyright notice.
10655
fffc87ae
MC
106562004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10657
10658 * lib/gdb.exp: Remove signed_keyword_not_used.
10659 * lib/compiler.c: Likewise.
10660 * lib/compiler.cc: Likewise.
10661
d782e0bf
MC
106622004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10663
10664 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10665 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10666
96033e83
MC
106672004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10668
10669 * gdb.base/whatis.c: Add copyright notice.
10670
cf38c229
MK
106712004-08-20 Mark Kettenis <kettenis@gnu.org>
10672
10673 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10674 it to skip the breakpoints encoded in the inline assembly.
10675
f4b49756
MC
106762004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10677
10678 * Makefile.in: Add gdb.fortran.
10679
2f193b69
MC
106802004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10681
10682 * gdb.base/call-sc.exp (test_scalar_returns):
10683 Fix cut-and-paste glitch in "Make fun return now".
10684
89a237cb
MC
106852004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10686
10687 * configure.in: Add gdb.fortran.
10688 * configure: Regenerate.
10689 * gdb.fortran/Makefile.in: New file.
10690 * lib/gdb.exp (skip_fortran_tests): New procedure.
10691
469aff8e
MC
106922004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10693
10694 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10695 reference to bug-gnu@prep.ai.mit.edu.
10696 * gdb.mi/mi-var-child.exp: Likewise.
10697 * gdb.mi/mi-var-cmd.exp: Likewise.
10698 * gdb.mi/mi-var-display.exp: Likewise.
10699 * gdb.mi/mi2-var-block.exp: Likewise.
10700 * gdb.mi/mi2-var-child.exp: Likewise.
10701 * gdb.mi/mi2-var-cmd.exp: Likewise.
10702 * gdb.mi/mi2-var-display.exp: Likewise.
10703
00b51b9f
MK
107042004-08-15 Mark Kettenis <kettenis@gnu.org>
10705
10706 * gdb.base/unload.c (main): Make local variable msg const.
10707
45f07fef
MC
107082004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10709
10710 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10711 to bug-gnu@prep.ai.mit.edu.
10712 * gdb.mi/mi-disassemble.exp: Likewise.
10713 * gdb.mi/mi-eval.exp: Likewise.
10714 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10715 default line number.
10716 * gdb.mi/mi-return.exp: Likewise.
10717 * gdb.mi/mi-simplerun.exp: Likewise.
10718 * gdb.mi/mi-stack.exp: Likewise.
10719 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10720 number with explicit range test.
10721 * gdb.mi/mi-watch.exp: Likewise.
10722 * gdb.mi/mi2-break.exp: Likewise.
10723 * gdb.mi/mi2-cli.exp: Likewise.
10724 * gdb.mi/mi2-disassemble.exp: Likewise.
10725 * gdb.mi/mi2-eval.exp: Likewise.
10726 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10727 default line number.
10728 * gdb.mi/mi2-return.exp: Likewise.
10729 * gdb.mi/mi2-simplerun.exp: Likewise.
10730 * gdb.mi/mi2-stack.exp: Likewise.
10731 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10732 number with explicit range test.
10733 * gdb.mi/mi2-watch.exp: Likewise.
10734
dd8c8ee7
MC
107352004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10736
10737 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10738 * gdb.cp/m-static.exp: Likewise.
10739 * gdb.cp/rtti.exp: Likewise.
10740
4e838464
MK
107412004-08-14 Mark Kettenis <kettenis@gnu.org>
10742
10743 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10744
8d8cb839
EZ
107452004-08-14 Eli Zaretskii <eliz@gnu.org>
10746
10747 * ChangeLog: Prefix Local Variables with semi-colons and indent
10748 the reference to older ChangeLog files, to fix fontification in
10749 Emacs.
10750
deea8bb0
MC
107512004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10752
10753 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10754 * gdb.mi/mi2-break.exp: Likewise.
10755
c3297504
MC
107562004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10757
10758 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10759
25808999
MC
107602004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10761
10762 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10763
226a8d71
MC
107642004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10765
10766 * gdb.cp/classes.exp: Remove unused declarations. Just let
10767 test names default instead of providing special names. Remove
10768 extraneous demangler test.
10769
37fdf854
JJ
107702004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10771
10772 * gdb.base/unload.exp: New test for breakpoints in dynamically
10773 loaded libraries.
10774 * gdb.base/unload.c: Ditto.
10775 * gdb.base/unloadshr.c: Ditto.
10776
2d3a7986
MC
107772004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10778
10779 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10780 cp_test_ptype_class.
10781 (test_enums): Likewise.
10782
c72b934c
AC
107832004-08-10 Andrew Cagney <cagney@gnu.org>
10784
10785 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10786 files.
10787
cc503c8a
AC
107882004-08-10 Andrew Cagney <cagney@gnu.org>
10789
10790 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10791 init_malloc call.
10792
902f2ccb
MC
107932004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10794
10795 * ChangeLog: Add copyright notice. The notice is copied
10796 from emacs 21.3 top level ChangeLog.
10797
78c90502
MC
107982004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10799
10800 * lib/cp-support.exp: New file.
10801 * lib/cp-support.exp (cp_test_type_class): New function.
10802 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10803 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10804 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10805 cp_test_ptype_class.
10806
88e5ea78
MC
108072004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10808
10809 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10810 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10811 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10812 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10813 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10814 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10815 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10816 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10817 gdb.mi/mi2-watch.exp: Update copyright years.
10818
6a89fc9c
MK
108192004-08-09 Mark Kettenis <kettenis@gnu.org>
10820
10821 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10822
1482e0de
MC
108232004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10824
10825 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10826 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10827 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10828 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10829 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10830 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10831 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10832 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10833 gdb.mi/mi-watch.exp: Update copyright years.
10834
1a5ce3f3
DJ
108352004-08-08 Daniel Jacobowitz <dan@debian.org>
10836
10837 PR gdb/1738
10838 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10839 from a breakpoint with a pending signal.
10840
04f6ecf2
DJ
108412004-08-08 Daniel Jacobowitz <dan@debian.org>
10842
10843 PR gdb/1736
10844 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10845 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10846 the prompt.
10847 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10848
54d90d35
DJ
108492004-08-08 Daniel Jacobowitz <dan@debian.org>
10850
10851 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10852
d2f6abb0
DJ
108532004-08-08 Daniel Jacobowitz <dan@debian.org>
10854
10855 PR gdb/1736
10856 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10857 for i?86-*-linux*.
10858
5598c03d
DJ
108592004-08-08 Daniel Jacobowitz <dan@debian.org>
10860
10861 * gdb.arch/i386-prologue.exp: Compile without debug information.
10862
c6fee705
MC
108632004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10864
10865 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10866 rather than asking gdb to search.
10867
dd90efdb
MC
108682004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10869
10870 * gdb.base/gcore.c: Include <string.h>.
10871
1e84bec1
MC
108722004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10873
10874 * gdb.base/gcore.c: Add copyright notice.
10875
e425eb2b
MC
108762004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10877
10878 * gdb.base/freebpcmd.c: Include <stdio.h>.
10879 * gdb.base/long_long.c: Include <string.h>.
10880 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
10881 * gdb.base/siginfo.c: Include <string.h>.
10882 * gdb.base/sigstep.c: Include <string.h>.
10883
cb9aaed5
MC
108842004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10885
10886 * gdb.base/complex.c: Include <stdlib.h>.
10887
55944f3d
MC
108882004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10889
10890 * gdb.base/complex.c: Add copyright notice.
10891
7b2953d9
MC
108922004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10893
10894 * gdb.base/charset.c: Include <stdlib.h>.
10895
c9133d23
MC
108962004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10897
10898 * gdb.base/auxv.c: Include <stdlib.h>.
10899
0a8490ad
MC
109002004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10901
10902 * gdb.base/auxv.c: Add copyright notice.
10903
3426d5ec
MC
109042004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10905
10906 * gdb.base/coremaker.c: Add copyright notice.
10907 * gdb.base/coremaker2.c: Add copyright notice.
10908
8da195dd
AC
109092004-08-04 Andrew Cagney <cagney@gnu.org>
10910
10911 * gdb.base/store.exp: Update copyright.
10912 (check_set, up_set, check_struct, up_struct): Add a prefix to test
10913 names, do not import gdb_prompt.
10914
8d394f98
AC
109152004-08-01 Andrew Cagney <cagney@gnu.org>
10916
10917 Fix PR testsuite/1729.
10918 * gdb.base/dump.exp: Add test name to callers of capture_value, do
10919 not use capture_value with value 4.
10920 (capture_value): Add optional test name parameter.
10921 (test_reload_saved_value, test_restore_saved_value): Use $msg as
10922 the prefix, pass to capture_value.
10923
b6702b23
MK
109242004-08-01 Mark Kettenis <kettenis@gnu.org>
10925
10926 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
10927 * gdb.arch/i386-prologue.c (standard): New prototype and function.
10928 (main): Call new function.
10929
c203e0ca
MC
109302004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10931
10932 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
10933
a7995a30
MC
109342004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10935
10936 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
10937
9366563b
MC
109382004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10939
b6eeaf26 10940 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
9366563b
MC
10941 Accept more values of vtbl pointer. Remove some messages
10942 about "obsolete gcc or gdb".
10943
2fc1f950
MC
109442004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10945
10946 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10947
c724d49b
MC
109482004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10949
10950 * gdb.base/asm-source.exp: Properly convert target board
10951 debug flags from gcc format to binutils format.
10952
736b0fce
MK
109532004-07-28 Mark Kettenis <kettenis@gnu.org>
10954
10955 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
10956 gdb1718". PR backtrace/1718 partially fixed.
10957
5633ea5c
JJ
109582004-07-27 Jeff Johnston <jjohnstn@redhat.com>
10959
10960 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
10961
575eebb1
NC
109622004-07-26 Nick Clifton <nickc@redhat.com>
10963
10964 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
10965 good default value for a specific architecture is available then
10966 set it to that value. Otherwise default to the -gstabs switch.
10967 Remove the -g... switches from the asm-flags variable. Allow the
10968 target board info to override the value if it wants to. Pass the
10969 switch on the assembler command line.
10970
62104619
MK
109712004-07-23 Mark Kettenis <kettenis@gnu.org>
10972
10973 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
10974 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
10975 (main): Call new function.
10976
4a1135b8
MC
109772004-07-22 Michael Chastain <mec.gnu@mindspring.com>
10978
10979 Test for PR exp/1715.
10980 * gdb.base/radix.exp: Refactor common procedures. Make all
10981 test names unique. Change XFAIL to KFAIL.
10982
8a12c1f0
MC
109832004-07-20 Michael Chastain <mec.gnu@mindspring.com>
10984
10985 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
10986 * gdb.ada/gnat_ada.gin: ... to here.
10987 * configure.in: Use gnat_ada.gin.
10988 * configure: Regenerate.
10989
23b451cf
AC
109902004-07-20 Andrew Cagney <cagney@gnu.org>
10991
10992 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
10993 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
10994 XFAILs. Clean up test messages and comments. Check backtraces.
10995 Delete re-sync code.
10996
ab618a02
MC
109972004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10998
10999 Fix PR cli/740.
11000 * gdb.base/annota1.exp: Honor gdb,nosignals.
11001 * gdb.base/annota3.exp: Likewise.
11002
46dad340
MC
110032004-07-19 Michael Chastain <mec.gnu@mindspring.com>
11004
11005 * lib/java.exp: Update copyright notice.
11006
756d8c70
AC
110072004-07-19 Andrew Cagney <cagney@gnu.org>
11008
11009 * gdb.base/selftest.exp: Copy file from here ...
11010 * gdb.gdb/selftest.exp: ... to here.
11011
586027e6
AC
110122004-07-16 Andrew Cagney <cagney@redhat.com>
11013
11014 * lib/insight-support.exp: Delete file.
11015 * lib/java.exp (java_init): Fix copyright.
11016
029d2200
AC
110172004-07-16 Andrew Cagney <cagney@gnu.org>
11018
11019 * gdb.base/restore.c: Append "prologue" to comments marking the a
11020 function's prologue.
11021 * gdb.base/restore.exp: Update copyright, re-indent.
11022 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
11023 callerN" prefix where needed. Update patterns that match a
11024 function's prologue.
11025
653b62c5
MC
110262004-07-16 Michael Chastain <mec.gnu@mindspring.com>
11027
11028 * gdb.base/restore.c: Add copyright notice.
11029
f7d690e5
AC
110302004-07-16 Andrew Cagney <cagney@gnu.org>
11031
11032 * gdb.base/logical.exp: Update copyright.
11033 (evaluate): New procedure. Use to re-implement tests using
11034 several tables.
11035
d629a7cb
MH
110362004-07-14 Martin Hunt <hunt@redhat.com>
11037
11038 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
11039 which fixes some problems where init.tcl was not found.
11040
9c7bb332
AC
110412004-07-13 Andrew Cagney <cagney@gnu.org>
11042
6bf46641
AC
11043 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
11044 (check_sizeof, check_valueof): Do not include the output in the
11045 test name. Use gdb_test.
11046 (get_valueof): Use gdb_test_multiple.
11047
c4ffd4c0
AC
11048 * gdb.base/step-test.exp: Update copyright. Use
11049 gdb_test_multiple. Ensure that test names do not include
11050 architecture dependent output.
11051
ab89363a
AC
11052 * gdb.gdb/observer.exp: Update copyright.
11053 (setup_test): Use gdb_test_multiple.
11054 (attach_first_observer, attach_second_observer)
11055 (attach_third_observer, detach_first_observer)
11056 (detach_second_observer, detach_third_observer)
11057 (reset_counters, check_counters): Make $message a prefix.
11058 (test_normal_stop_notifications): Add "args" parameter - a list of
11059 init functions to be called. Make $message a prefix,
11060 (test_observer_normal_stop): Change the message prefixes so that
11061 they are unique, pass the attach / detach procedures to
11062 test_normal_stop_notifications.
11063
ec58997a
AC
11064 * gdb.base/signull.exp (test_segv): Prefix all tests with
11065 "${name}". Clean up test messages.
11066
b475183b
AC
11067 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
11068
9c7bb332
AC
11069 * gdb.base/ena-dis-br.exp: Update copyright.
11070 (break_at): New function. Replace send_gdb with gdb_test,
11071 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
11072 ignore count, not stopped at bpt", with KFAIL.
11073
2dd95497
CV
110742004-07-13 Corinna Vinschen <vinschen@redhat.com>
11075
11076 * gdb.base/attach.exp: Remove cleanupfile handling.
11077
419e626b
AC
110782004-07-12 Andrew Cagney <cagney@gnu.org>
11079
11080 * gdb.base/annota1.exp: Cleanup corefile test name.
11081 * gdb.base/annota3.exp: Ditto.
11082
8b1b3228
AC
110832004-07-12 Andrew Cagney <cagney@gnu.org>
11084
78650829
AC
11085 * gdb.base/signals.exp: Clean up copyright, re-indent.
11086
8b1b3228
AC
11087 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
11088 gdb_test and gdb_test_multiple.
11089
935c2760
JJ
110902004-07-08 Jeff Johnston <jjohnstn@redhat.com>
11091
11092 * gdb.java/jmain.exp: Fix expected line number for main to
a9c64011 11093 break at. Set XFAIL for break at main test since gcj does not
935c2760
JJ
11094 provide line number info for first statement in main.
11095
1544280f
AC
110962004-07-08 Andrew Cagney <cagney@gnu.org>
11097
1279f4ff
AC
11098 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
11099
1544280f
AC
11100 * gdb.base/sigbpt.exp: Make the common part of each test name a
11101 prefix instead of suffix.
11102
bcc82369
BR
111032004-07-07 Bob Rossi <bob_rossi@cox.net>
11104
11105 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
11106 test from test_tbreak_creation_and_listing to
11107 test_file_list_exec_source_file
11108 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
11109 Changed name of test from test_tbreak_creation_and_listing to
11110 test_file_list_exec_source_file
11111
23f4b0aa
JJ
111122004-07-07 Jeff Johnston <jjohnstn@redhat.com>
11113
11114 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
11115 the jmisc() constructor instead of <init>.
11116 * gdb.java/jmisc1.exp: Ditto.
11117
56401cd5
AC
111182004-07-07 Andrew Cagney <cagney@gnu.org>
11119
11120 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
11121 corrupting the PC.
11122
44ae2f6a
MC
111232004-07-06 Michael Chastain <mec.gnu@mindspring.com>
11124
11125 * gdb.cp/templates.exp: Accept whitespace change in demangler
11126 output.
11127
45a83408
AC
111282004-07-06 Andrew Cagney <cagney@gnu.org>
11129
11130 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
11131
d205ad70
MC
111322004-07-02 Michael Chastain <mec.gnu@mindspring.com>
11133
11134 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
11135 * lib/compiler.cc: Likewise.
11136
06ea1a61
MC
111372004-06-30 Michael Chastain <mec.gnu@mindspring.com>
11138
11139 * lib/compiler.cc: Work around string preprocessing problem
11140 with old hp c++ compiler.
11141 * lib/compiler.c: Likewise.
11142
daab1251
CV
111432004-06-29 Corinna Vinschen <vinschen@redhat.com>
11144
11145 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
11146 directives to conditionalize symbol prefixing.
11147 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
11148 additional_flags handling. Add underscore prefix for Cygwin.
11149 * gdb.arch/i386-unwind.c: Use preprocessor directives to
11150 conditionalize symbol prefixing.
11151 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
11152 additional_flags handling. Add underscore prefix for Cygwin.
11153
cc984116
CV
111542004-06-29 Corinna Vinschen <vinschen@redhat.com>
11155
11156 * gdb.base/bigcore.exp: Skip test on Cygwin.
11157
c279b077
MC
111582004-06-28 Michael Chastain <mec.gnu@mindspring.com>
11159
11160 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
11161 formats for "info register". Use gdb_test_multiple. Fix
11162 the "invalid register" test.
11163
0e915747
CV
111642004-06-28 Corinna Vinschen <vinschen@redhat.com>
11165
11166 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
11167 PID for Cygwin. Add Cygwin specific strings to check for in some
11168 tests.
11169 (do_attach_tests): Add a test for user interaction when attaching
11170 to a process with no matching symbol table already loaded.
11171
11422c86
AC
111722004-06-26 Andrew Cagney <cagney@gnu.org>
11173
11174 Test PR java/1567 and PR java/1565.
11175 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
11176 * gdb.java/jmisc2.exp: Delete file.
11177
cefbce26
MC
111782004-06-26 Michael Chastain <mec.gnu@mindspring.com>
11179
11180 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
11181
e19f872c
CV
111822004-06-25 Corinna Vinschen <vinschen@redhat.com>
11183
11184 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
11185 attach process.
11186
d931ba3b
MC
111872004-06-23 Michael Chastain <mec.gnu@mindspring.com>
11188
11189 * gdb.cp/pr-1553.exp: Remove.
11190
aef68c48
MC
111912004-06-22 Michael Chastain <mec.gnu@mindspring.com>
11192
11193 * gdb.cp/pr-1553.cc: Remove.
11194 * gdb.cp/pr-1553.exp: Disable this test.
11195
8d5df71a
JB
111962004-06-20 Jim Blandy <jimb@redhat.com>
11197
a9c64011 11198 Fix PR testsuite/1680.
8d5df71a
JB
11199 * gdb.arch/i386-sse.exp: Properly quote curly braces in
11200 regular expressions.
11201
4ac6f39d
MC
112022004-06-19 Michael Chastain <mec.gnu@mindspring.com>
11203
11204 Fix PR testsuite/1679.
11205 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
11206 Issue an UNSUPPORTED result instead.
11207
1b413552
JB
112082004-06-18 Jim Blandy <jimb@redhat.com>
11209
11210 * gdb.base/charset.exp: Only send a control-C if we see a new
11211 prompt and incomplete command.
11212
6daa6ebd
MC
112132004-06-18 Michael Chastain <mec.gnu@mindspring.com>
11214
11215 * gdb.cp/pr-574.cc: Add copyright notice.
11216
51fa4ae0
JB
112172004-06-17 Jim Blandy <jimb@redhat.com>
11218
11219 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
11220 cases where the regexp has no groups; this grabs random text from
11221 the previous test suite, whatever that was.
11222
8fea26c5
MC
112232004-06-17 Michael Chastain <mec.gnu@mindspring.com>
11224
11225 * gdb.cp/printmethod.cc: Add copyright notice.
11226
1e3aeb41
MC
112272004-06-16 Michael Chastain <mec.gnu@mindspring.com>
11228
11229 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
11230
9d9030bc
AC
112312004-06-16 Andrew Cagney <cagney@gnu.org>
11232
11233 * gdb.base/signull.c: Update copyright. Include <string.h>.
11234 (bowler): Replace data_pointer with data_read
11235 and data_write cases. Add code_descriptor case.
11236 (zero, desc): New array and pointer.
11237 (data, code): Change to simple pointers.
11238 * gdb.base/signull.exp: Fix probe pattern matching a function
11239 descriptor SIGSEGV. Replace data_pointer with data_read and
11240 data_write tests.
11241
acd4ad44
AC
112422004-06-16 Andrew Cagney <cagney@gnu.org>
11243
11244 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
11245
08fd625c
MC
112462004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11247
11248 * gdb.base/long_long.c: Add copyright notice.
11249
1903502c
MC
112502004-06-15 Michael Chastain <mec.gnu@mindspring.com>
11251
11252 * gdb.base/long_long.exp: Remove reference to
11253 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
11254 to gdb_breakpoint and gdb_continue_to_breakpoint.
11255
83313cb1
JB
112562004-06-14 Jim Blandy <jimb@redhat.com>
11257
11258 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
11259 endian case.
11260
1bf404ef
AC
112612004-06-14 Andrew Cagney <cagney@gnu.org>
11262
11263 * gdb.base/gcore.exp (capture_command_output): Delete the always
11264 passing tests containing inferior values.
11265 * gdb.base/ending-run.exp: Do not include the breakpoint address
11266 in the test message. Update copyright.
11267 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
11268 size in the test name, use gdb_test_multiple. Update copyright.
11269
ef220b33
MC
112702004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11271
11272 * gdb.cp/ref-types.cc: Add copyright notice.
11273
4f70a4c9
MC
112742004-06-14 Michael Chastain <mec.gnu@mindspring.com>
11275
11276 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
11277 hp_aCC_compiler.
11278 * lib/compiler.cc: Likewise.
11279 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
11280 'set' commands. Log diagnostics for other lines. Set
11281 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
11282
335928ac
MC
112832004-06-13 Michael Chastain <mec.gnu@mindspring.com>
11284
11285 * gdb.cp/try_catch.cc: Add copyright notice.
11286
2efb12e8
MC
112872004-06-12 Michael Chastain <mec.gnu@mindspring.com>
11288
11289 * gdb.cp/userdef.cc: Add copyright notice.
11290
0bbed51a
MC
112912004-06-11 Michael Chastain <mec.gnu@mindspring.com>
11292
11293 * gdb.cp/virtfunc.cc: Add copyright notice.
11294
e12a46c9
RC
112952004-06-11 Randolph Chung <tausq@debian.org>
11296
11297 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
11298 problem.
11299
338e05af
AC
113002004-06-10 Andrew Cagney <cagney@gnu.org>
11301
11302 * lib/compiler.cc, lib/compiler.c: Append either
11303 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
11304 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
11305 instead of gcc-3-3.
11306
dc3f10cb
AC
113072004-06-09 Andrew Cagney <cagney@gnu.org>
11308
b4d946af
AC
11309 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
11310 gdb/1455, bug is specific to "long long" and "double".
a9c64011 11311
dc3f10cb
AC
11312 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
11313 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
11314 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
11315 fixed.
11316
b5c0bfa2
AC
113172004-06-09 Andrew Cagney <cagney@gnu.org>
11318
11319 * gdb.base/structs.exp (test_struct_returns): Replace
11320 "return_value_unknown" and "finish_value_unknown" by
11321 "return_value_known" and "finish_value_known". Instead of
11322 "return_value_unknown" iff "finish_value_unknown", check
11323 "return_value_known" implies "finish_value_known".
11324
caeb605f
MH
113252004-06-08 Martin Hunt <hunt@redhat.com>
11326
11327 * gdb.base/float.exp: Add pattern for mips targets.
11328
c892bb64
RC
113292004-06-08 Randolph Chung <tausq@debian.org>
11330
11331 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
11332 message for unknown architectures more clear.
11333
48306d3e
JB
113342004-06-08 Joel Brobecker <brobecker@gnat.com>
11335
11336 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
11337 start the execution of the program.
11338
83ecb59f
JB
113392004-06-07 Jim Blandy <jimb@redhat.com>
11340
11341 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
11342 * gdb.arch/i386-cpuid.h: New helper file.
11343
55264cb4
RC
113442004-06-07 Randolph Chung <tausq@debian.org>
11345
11346 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
11347 has started.
11348
23cadb28
RM
113492004-06-04 Roland McGrath <roland@redhat.com>
11350
11351 Fix PR gdb/1647.
11352 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
11353 differently to be robust to output buffering differences.
11354
51d01eda
MC
113552004-06-04 Michael Chastain <mec.gnu@mindspring.com>
11356
11357 * gdb.threads/pthreads.exp: Update copyright years.
11358 (check_control_c): Change asynchronous 'after' to synchronous.
11359
f4fc3b93
RM
113602004-06-04 Roland McGrath <roland@redhat.com>
11361
11362 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
11363 next gdb prompt.
11364
4013522b
MC
113652004-06-02 Michael Chastain <mec.gnu@mindspring.com>
11366
11367 Fix PR gdb/1636.
11368 * gdb.threads/manythreads.exp: Change asynchronous 'after'
11369 calls to synchronous.
11370
7a8f1e6b
JB
113712004-05-26 Jim Blandy <jimb@redhat.com>
11372
11373 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11374
81bb3443
RC
113752004-05-24 Randolph Chung <tausq@debian.org>
11376
11377 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11378 * gdb.asm/pa.inc: New file.
11379
8f5a3103
MK
113802004-05-22 Mark Kettenis <kettenis@gnu.org>
11381
11382 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11383
734b8fe8 113842004-05-21 Joel Brobecker <brobecker@gnat.com>
a9c64011 11385 Daniel Jacobowitz <drow@mvista.com>
734b8fe8
JB
11386
11387 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11388 GDB prompt.
11389
725603e1
UW
113902004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11391
f4fc3b93 11392 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
725603e1
UW
11393 setjmp/longjmp. Use sigaction instead of signal.
11394
8b923272 113952004-05-19 J. Brobecker <brobecker@gnat.com>
a9c64011 11396 Michael Snyder <msnyder@redhat.com>
8b923272
JB
11397
11398 * gdb.threads/pthread_cond_wait.c: New file.
11399 * gdb.threads/pthread_cond_wait.exp: New testcase.
11400
8bfabb04
AC
114012004-05-13 Andrew Cagney <cagney@redhat.com>
11402
11403 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11404 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11405
42edda50
AC
114062004-05-11 Andrew Cagney <cagney@redhat.com>
11407
11408 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11409 fixed but revealed gdb/1639.
11410
d303a6c7
AC
114112004-05-10 Andrew Cagney <cagney@redhat.com>
11412
11413 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11414 func1" and "next to 2nd alarm", kernel bug avoided.
11415
bf08c2a1
DJ
114162004-05-10 Daniel Jacobowitz <dan@debian.org>
11417
11418 PR external/1568
11419 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11420 XFAIL if it is smaller than bytes_allocated.
11421 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11422 (main): Make chunks_allocated unsigned. Correct comment.
11423
c0586a34
JB
114242004-05-07 Joel Brobecker <brobecker@gnat.com>
11425
11426 * gdb.arch/powerpc-aix-prologue.c: New file.
11427 * gdb.arch/powerpc-aix-prologue.exp: New file.
11428
f2785d12
JB
114292004-05-07 Jim Blandy <jimb@redhat.com>
11430
11431 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11432 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11433
bd7f6e30
JB
114342004-05-06 Joel Brobecker <brobecker@gnat.com>
11435
11436 * gdb.base/sep.exp: No longer setup_kfail when the program was
11437 built with dwarf2.
11438
0a5e7efe
JI
114392004-05-05 Jim Ingham <jingham@apple.com>
11440
11441 * gdb.base/pending.exp: Make sure pending breakpoints
11442 preserve the ignore count.
f4fc3b93 11443
a8958849
MK
114442004-04-27 Jerome Guitton <guitton@gnat.com>
11445
11446 * i386-prologue.exp: Add testcase for jump instruction as first
11447 instruction of the real code.
11448 * i386-prologue.c (jump_at_beginning): New function.
11449
7e103f5b
MK
114502004-04-28 Mark Kettenis <kettenis@gnu.org>
11451
11452 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11453 x86_64-*-*.
11454
5d38b224
MK
114552004-04-28 Mark Kettenis <kettenis@gnu.org>
11456
11457 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11458 i*86-*-*.
11459
0ef32fd9
MK
114602004-04-25 Mark Kettenis <kettenis@gnu.org>
11461
11462 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11463 expression that checks the return type.
11464
71d7dd7c
AC
114652004-04-23 Andrew Cagney <cagney@redhat.com>
11466
11467 * gdb.base/call-sc.exp: New test of scalar call/return values.
11468 * gdb.base/call-sc.c: Ditto.
11469
1e9f977e
JJ
114702004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11471
11472 * gdb.threads/manythreads.c: Reduce thread stack size.
11473
899d9e3a
JJ
114742004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11475
11476 * gdb.threads/manythreads.c: Add copyright notice.
11477
61bcae62
AC
114782004-04-23 Andrew Cagney <cagney@redhat.com>
11479
11480 * gdb.base/siginfo.exp: Better handle step out of signal.
11481 * gdb.base/sigstep.exp: Ditto.
11482
7339a42e 114832004-04-22 Jeff Johnston <jjohnstn@redhat.com>
a9c64011 11484 Daniel Jacobowitz <drow@mvista.com>
7339a42e
JJ
11485
11486 * gdb.threads/manythreads.c: New testcase.
11487 * gdb.threads/manythreads.exp: Ditto.
11488
5c98409b
JB
114892004-04-22 Jim Blandy <jimb@redhat.com>
11490
11491 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11492 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11493
3b611f1a
MC
114942004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11495
11496 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11497
f0fd9238
AC
114982004-04-21 Andrew Cagney <cagney@redhat.com>
11499
11500 * gdb.base/sigstep.c: New file.
11501 * gdb.base/sigstep.exp: New file.
11502
90990674
JB
115032004-04-16 Joel Brobecker <brobecker@gnat.com>
11504
11505 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11506 call to observer_notify_normal_stop.
11507
78cef34b
AC
115082004-04-15 Andrew Cagney <cagney@redhat.com>
11509
11510 * gdb.base/siginfo.c: New file.
11511 * gdb.base/siginfo.exp: New file.
11512
d2343407
JB
115132004-04-12 J. Brobecker <brobecker@gnat.com>
11514
11515 * gdb.base/sep.exp: Fix typo in comment.
11516
a2dba3c8
JB
115172004-04-12 J. Brobecker <brobecker@gnat.com>
11518
11519 * gdb.base/sep.c: New file.
11520 * gdb.base/sep-proc.c: New file.
11521 * gdb.base/sep.exp: New testcase.
11522
15f7b60e
MK
115232004-04-09 Mark Kettenis <kettenis@gnu.org>
11524
11525 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11526 support.
11527
44f4de1a
AC
115282004-04-05 Andrew Cagney <cagney@redhat.com>
11529
11530 * gdb.base/sigaltstack.c: New file.
11531 * gdb.base/sigaltstack.exp: New file.
11532
ef04f396
JB
115332004-04-04 Joel Brobecker <brobecker@gnat.com>
11534
11535 * gdb.base/foll-fork.exp: Update the expected output for
11536 "help set follow-fork-mode", to match a change that was made
11537 to the help of this variable on 2004-01-13.
11538
d40d2c92
JB
115392004-04-01 Joel Brobecker <brobecker@gnat.com>
11540
11541 * lib/ada.exp: Add copyright notice.
11542 * bar.ads: Likewise.
11543 * bar.adb: Likewise.
11544 * null_record.adb: Likewise.
11545 * null_record.exp: Likewise.
11546 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11547
f86ef5a3
JB
115482004-04-01 Joel Brobecker <brobecker@gnat.com>
11549
11550 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11551 * configure: Regenerate.
11552
414e70e3
JB
115532004-04-01 Joel Brobecker <brobecker@gnat.com>
11554
11555 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11556 to build the application. Remove the message printed when in
11557 verbose mode, redundant with the UNSUPPORTED message above.
11558
f0aaee49
JB
115592004-03-31 Joel Brobecker <brobecker@gnat.com>
11560
11561 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11562 * gdb.ada (null_record.exp): New testcase.
11563
ac81cb54
JB
115642004-03-31 Joel Brobecker <brobecker@gnat.com>
11565
11566 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11567
854af2f7
JB
115682004-03-31 Joel Brobecker <brobecker@gnat.com>
11569
11570 * gdb.ada: New subdirectory.
11571 * gdb.ada/Makefile.in: New file.
11572 * gdb.ada/gnat_ada.gpr.in: New file.
11573
034cb681
JB
115742004-03-31 Joel Brobecker <brobecker@gnat.com>
11575
11576 * lib/ada.exp: New file.
11577
78a1a894
DJ
115782004-03-24 Daniel Jacobowitz <drow@mvista.com>
11579
11580 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11581 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11582
4b2b3b3e
AC
115832004-03-22 Andrew Cagney <cagney@redhat.com>
11584
11585 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11586 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11587 Problem identified by Ulrich Weigand.
11588
23c73aa3
DC
115892004-03-17 David Carlton <carlton@kealia.com>
11590
11591 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11592 PR c++/826.
11593
d63a86f8
RM
115942004-03-16 Roland McGrath <roland@redhat.com>
11595
11596 * gdb.base/auxv.exp: New file.
11597 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11598
0e02aa50
DC
115992004-03-12 David Carlton <carlton@kealia.com>
11600
11601 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11602 * gdb.cp/pr-1553.cc: Ditto.
11603 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11604 pass branch.
11605
c20b71be
MC
116062004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11607
11608 * gdb.cp/templates.exp: Accept more template types.
11609
c7414a01
MC
116102004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11611
11612 From Corinna Vinschen with modifications.
11613 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11614 local variable obj_with_enum.
11615 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11616 results with obj_with_enum.
11617
ed69573c
MC
116182004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11619
11620 * gdb.cp/classes.cc: New file, copied from misc.cc.
11621 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11622
28301461
MC
116232004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11624
11625 * gdb.cp/misc.cc: Add copyright notice.
11626
1198ecbe
DC
116272004-03-05 David Carlton <carlton@kealia.com>
11628
11629 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11630 * gdb.cp/rtti.h: Update copyright.
11631 (namespace n2::n3): New.
11632 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11633 (n2::n3::func3): New.
11634 (main): Call n2::n3::func3.
11635 * gdb.cp/rtti2.cc: Update copyright.
11636 (n2::create3): New.
11637
9e08c470
MK
116382004-03-04 Mark Kettenis <kettenis@gnu.org>
11639
11640 * gdb.asm/openbsd.inc: Fix typo.
11641
4bebc3aa
FF
116422004-03-03 Fred Fish <fnf@redhat.com>
11643
11644 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11645 "val" instead of unused "size". Update copyright year.
11646
6ea9fb37
DJ
116472004-02-29 Daniel Jacobowitz <drow@mvista.com>
11648
11649 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11650 to use unsigned char.
11651 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11652 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11653
23b23974
DJ
116542004-02-29 Daniel Jacobowitz <drow@mvista.com>
11655
11656 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11657 line of output.
11658
7574fd53
DJ
116592004-02-28 Daniel Jacobowitz <drow@mvista.com>
11660
11661 * gdb.base/relocate.c (dummy): Initialize.
11662
a195357f
DJ
116632004-02-28 Daniel Jacobowitz <drow@mvista.com>
11664
11665 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11666 a breakpoint at exit.
11667
72fd54a9
FF
116682004-02-27 Fred Fish <fnf@redhat.com>
11669
11670 * gdb.base/chng-syms.exp: Add expect condition to match failing
11671 case that isn't a timeout.
11672
b9d23137
AC
116732004-02-27 Andrew Cagney <cagney@redhat.com>
11674
11675 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11676 support.
11677
15d208f6 116782004-02-26 Fred Fish <fnf@redhat.com>
d63a86f8 11679
15d208f6
FF
11680 * gdb.arch/gdb1431.c: Remove.
11681 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11682 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11683 of "until" incorrectly.
11684
98f9cd2d
JB
116852004-02-26 J. Brobecker <brobecker@gnat.com>
11686
11687 * gdb.cp/class2.cc (empty): New class.
11688 (refer): New function.
11689 (main): Declare an object of type empty and use it.
11690 * gdb.cp/class2.exp: Print the value of an object of type empty.
11691
9b50c11b
JJ
116922004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11693
11694 * gdb.base/langs.exp: Update query string to match the
11695 new nquery format used for pending breakpoints.
11696
0dcd613f
AC
116972004-02-26 Andrew Cagney <cagney@redhat.com>
11698
11699 Fix PR i18n/1570.
11700 * gdb.base/charset.c: Update copyright notice.
11701 (main, init_string): Remove the escape character '\e' tests.
11702 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11703 * gdb.base/charset.exp (valid_host_charset): Ditto.
11704 * gdb.base/setvar.exp: Ditto.
11705
b8a56647
AC
117062004-02-24 Andrew Cagney <cagney@redhat.com>
11707
90d59e34
AC
11708 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11709 mmapped data in core file" PASS and FAIL messages consistent.
11710
b8a56647
AC
11711 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11712 setting a breakpoint. Work around PR java/1565.
11713
9f27c604
JJ
117142004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11715
11716 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11717 new nquery format.
11718 * gdb.base/pending.exp: Ditto.
11719
3224a706
MK
117202004-02-22 Mark Kettenis <kettenis@gnu.org>
11721
11722 * configure.in: Run stabs tests on *BSD.
11723 * configure: Regenerated.
11724
41e0a9ca
MK
117252004-02-21 Mark Kettenis <kettenis@gnu.org>
11726
11727 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11728
1e1b3428
FF
117292004-02-20 Fred Fish <fnf@redhat.com>
11730
11731 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11732 blank in test for "returns short", for consistency with other
11733 "returns xxx" tests. Update copyright year.
11734
f9a7572a
FF
117352004-02-19 Fred Fish <fnf@redhat.com>
11736
11737 New testcase for PR breakpoint/1558.
11738 * gdb.arch/gdb1558.exp: New file.
11739 * gdb.arch/gdb1558.c: New file.
11740
b2ce2854
EZ
117412004-02-19 Elena Zannoni <ezannoni@redhat.com>
11742
11743 * gdb.base/nodebug.exp: Fix typo.
11744
e7c9ff01
JB
117452004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11746
11747 Committed by Jim Blandy <jimb@redhat.com>.
11748
62f4b920
JB
11749 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11750
2db536a1
JB
11751 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11752
e7c9ff01
JB
11753 * gdb.base/float.exp: Support s390*-*-* targets.
11754
f3205b34
AF
117552004-02-17 Adam Fedor <fedor@gnu.org>
11756
11757 * gdb.base/gdb1555.exp: New file.
11758 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11759
9d62932d
EZ
117602004-02-17 Elena Zannoni <ezannoni@redhat.com>
11761
11762 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11763
344c9711
FF
117642004-02-16 Fred Fish <fnf@redhat.com>
11765
11766 * gdb.arch/gdb1291.c: Remove
11767 * gdb.arch/gdb1291.s: New test input file.
11768 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11769 fail. Test for correct result, known incorrect result, other
11770 failures and timeouts.
11771
2d822687
AC
117722004-02-16 Andrew Cagney <cagney@redhat.com>
11773
11774 * gdb.base/bigcore.exp: New file.
11775 * gdb.base/bigcore.c: New file.
11776
dac15b66
AC
117772004-02-13 Andrew Cagney <cagney@redhat.com>
11778
11779 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11780 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11781 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11782 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11783 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11784 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11785 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11786 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11787 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11788 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11789
6bdfc2c4
JJ
117902004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11791
11792 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11793 executed is an alloc instruction.
11794
87b3ede8
DC
117952004-02-11 David Carlton <carlton@kealia.com>
11796
11797 * gdb.cp/breakpoint.exp: New.
11798 * gdb.cp/breakpoint.cc: New.
11799
6e19e2bf
MC
118002004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11801
11802 Partial fix for PR gdb/1543.
11803 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11804 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11805 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11806 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11807 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11808 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11809 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11810 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11811 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11812 to bug-gdb@prep.ai.mit.edu .
11813 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11814 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11815 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11816 Likewise.
11817
5c5455dc
AC
118182004-02-10 Andrew Cagney <cagney@redhat.com>
11819
11820 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11821 using gdb_internal_error_resync.
11822
9cf689d7
DJ
118232004-02-09 Daniel Jacobowitz <drow@mvista.com>
11824
11825 * gdb.threads/thread-specific.exp: Stop early if no threads are
11826 found.
11827
d2dc51db
MC
118282004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11829
11830 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11831
14b1a056
DJ
118322004-02-08 Daniel Jacobowitz <drow@mvista.com>
11833
11834 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11835 breakpoints.
11836
83f66e8f
DJ
118372004-02-07 Daniel Jacobowitz <drow@mvista.com>
11838
11839 * config/sim.exp (gdb_load): Handle $arg == "".
11840 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11841 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11842
30fc0091
EZ
118432004-02-07 Elena Zannoni <ezannoni@redhat.com>
11844
a9c64011
AS
11845 * gdb.base/maint.exp: Update test to reflect
11846 obstack changes.
30fc0091 11847
4d806929
JJ
118482004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11849
11850 * gdb.base/pendshr.c (pendfunc): New function that calls
11851 pendfunc1.
11852 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11853
7bfdd688
FF
118542004-02-04 Fred Fish <fnf@redhat.com>
11855
11856 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11857 function symbols and update copyright years.
11858 * gdb.arch/gdb1291.c: Ditto.
11859
aaa08ee4
MC
118602004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11861
11862 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11863
dbad7755
MC
118642004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11865
11866 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11867
ec4646ef
MC
118682004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11869
11870 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11871
1b802196
FF
118722004-02-02 Fred Fish <fnf@redhat.com>
11873
11874 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11875 remote targets. Update copyright years.
11876
18fe2033
JJ
118772004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11878
11879 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11880 support.
11881 * gdb.base/langs.exp: Fix test which attempts to create
11882 breakpoint on non-existent function to handle new pending
11883 support.
11884 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11885 a breakpoint.
11886 * gdb.base/pending.exp: New test.
11887 * gdb.base/pending.c: New file.
11888 * gdb.base/pendshr.c: Ditto.
11889
8d577d32
DC
118902004-02-02 David Carlton <carlton@kealia.com>
11891
11892 * gdb.cp/overload.exp: Add overloadNamespace tests.
11893 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
11894 (overloadNamespace, XXX): New.
11895 (main): Call XXX::marker2.
11896
3ad13771
FF
118972004-02-01 Fred Fish <fnf@redhat.com>
11898
11899 * gdb.base/dump.exp: Use runto_main instead of "runto main".
11900 * gdb.base/finish.exp: Ditto.
11901 * gdb.base/gcore.exp: Ditto.
11902 * gdb.base/huge.exp: Ditto.
11903 * gdb.base/info-proc.exp: Ditto.
11904 * gdb.base/return2.exp: Ditto.
11905 * gdb.threads/gcore-thread.exp: Ditto.
11906
44c75849
DJ
119072004-02-01 Daniel Jacobowitz <drow@mvista.com>
11908
11909 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11910
005bc093
MK
119112004-02-01 Mark Kettenis <kettenis@gnu.org>
11912
11913 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11914 that opening the file succeeds on OpenBSD.
11915
c47cebdb
DJ
119162004-02-01 Daniel Jacobowitz <drow@mvista.com>
11917
11918 * gdb.threads/thread-specific.c: New file.
11919 * gdb.threads/threads-specific.exp: New test script.
11920 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
11921 to expect_out.
11922
5a01311c
MK
119232004-02-01 Mark Kettenis <kettenis@gnu.org>
11924
11925 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
11926 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
11927 only on the "print_small_structs from print_long_arg_list" test.
11928
ce22a4f1
DJ
119292004-02-01 Daniel Jacobowitz <drow@mvista.com>
11930
11931 * gdb.base/completion.exp: Kill a stray backslash.
11932
11933 From Jim Ingham <jingham@apple.com>:
11934 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
11935 agrees with the result from sending a tab.
11936
abbab9d3
DJ
119372004-01-31 Daniel Jacobowitz <drow@mvista.com>
11938
11939 * gdb.base/chng-syms.exp: Remove stray newline.
11940
53904d1e
MK
119412004-01-31 Mark Kettenis <kettenis@gnu.org>
11942
11943 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
11944 *-*-openbsd*.
11945 * gdb.asm/openbsd.inc: New file.
11946
3a4b3aac
MK
119472004-01-30 Mark Kettenis <kettenis@gnu.org>
11948
11949 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
11950 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
11951 *-*solaris2*. Remove commented out default settings for
11952 asm-flags. Replace gdb_compile with target_link.
11953
ebac27b4
MC
119542004-01-29 Michael Chastain <mec.gnu@mindspring.com>
11955
11956 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
11957 for all tests. Remove old hp-ux and cygnus xfail cases.
11958
d8679d84
PH
119592004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
11960
11961 * gdb.base/chng-syms.exp: New file.
11962 * gdb.base/chng-syms.c: New file.
11963
0a55bc22
MC
119642004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11965
11966 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
11967 Provide arms for current output in all my configurations.
11968
94b8e876
MC
119692004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11970
11971 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
11972 * lib/compiler.cc: Likewise.
11973 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
11974 get the right preprocessor. Eval the output directly. Remove
11975 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
11976 hp_f77_compiler and hp_f90_compiler completely.
11977 (gdb_preprocess): Delete.
11978 (get_compiler): Delete.
11979
7cf03d44
MK
119802004-01-24 Mark Kettenis <kettenis@gnu.org>
11981
11982 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
11983 <string.h>.
11984
68b6dce9
NR
119852004-01-24 Nick Roberts <nick@nick.uklinux.net>
11986
11987 * gdb.mi/mi-stack.exp: Update copyright.
11988
b368761e
DC
119892004-01-23 David Carlton <carlton@kealia.com>
11990
11991 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
11992 test for cp_lookup_transparent_type.
11993 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
11994 call them.
11995
f2061b53
DJ
119962004-01-23 Daniel Jacobowitz <drow@mvista.com>
11997
11998 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
11999 after -var-update.
12000
37fc574a
DC
120012004-01-23 David Carlton <carlton@kealia.com>
12002
12003 * gdb.cp/namespace.cc (C::ensureRefs): New.
12004 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
12005
8e94b928
NR
120062004-01-20 Nick Roberts <nick@nick.uklinux.net>
12007
12008 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
12009 case "-stack-list-locals 2".
12010 * gdb.mi/mi-var-child.exp: Test for case
12011 "-var-list-children --all-values NAME".
12012
997b0952
MC
120132004-01-18 Michael Chastain <mec.gnu@mindspring.com>
12014
12015 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
12016
52470da3
MK
120172004-01-18 Mark Kettenis <kettenis@gnu.org>
12018
7049b4b8
MK
12019 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
12020 used with gdb_test_multiple.
12021
52470da3
MK
12022 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
12023 read at address 0. This fixes PR testsuite/1504.
12024
da6012e5
DJ
120252004-01-18 Daniel Jacobowitz <drow@mvista.com>
12026
12027 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
12028 Remove downloading, guessing the host executable, the calls to
12029 gdb_file_cmd and gdb_target_cmd, and "load" support.
12030 (infer_host_exec): New function broken out from gdb_load.
12031 (gdb_load): New wrapper for gdbserver_gdb_load.
12032 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
12033 gdb_target_cmd. Use -target-select.
12034 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
12035 Download binaries to the host. Clear last_mi_remote_file when
12036 we load a new binary.
12037 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
12038 call gdbserver_gdb_load and mi_gdb_target_cmd.
12039
32c70722
MC
120402004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12041
12042 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
12043 type patterns.
12044
b0cecf36
MC
120452004-01-17 Michael Chastain <mec.gnu@mindspring.com>
12046
12047 * gdb.cp/templates.exp: Fix typo in test name of
12048 "print Foo<volatile char*>::foo".
12049
4120d7e6
MC
120502004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12051
12052 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
12053
f679e530
BE
120542004-01-16 Ben Elliston <bje@wasabisystems.com>
12055
12056 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
12057 (clean mostlyclean): Remove empty rm.
12058
091c48f6
MC
120592004-01-15 Michael Chastain <mec.gnu@mindspring.com>
12060
12061 * gdb.base/setvar.exp: Add copyright years.
12062
3e5fc8d2
DC
120632004-01-14 David Carlton <carlton@bactrian.org>
12064
12065 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
12066 PR c++/1511 and update coment.
12067 * gdb.cp/templates.exp: Update patterns to match current output.
12068 If changes involve something other than whitespace, KFAIL
12069 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
12070
63d06c5c
DC
120712004-01-14 David Carlton <carlton@kealia.com>
12072
12073 * gdb.cp/namespace.exp: Add tests involving classes defined within
12074 namespaces.
12075 * gdb.cp/namespace.cc (C::CClass): New.
12076 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
12077
a51dab88
EZ
120782004-01-14 Elena Zannoni <ezannoni@redhat.com>
12079
12080 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
12081 what debug info we have. Print a better message if something goes
12082 wrong while producing the separate debug info file.
12083
a476ccc9
MC
120842004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12085
12086 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
12087
f453692c
MC
120882004-01-14 Michael Chastain <mec.gnu@mindspring.com>
12089
12090 * gdb.base/callfuncs.c: Add copyright notice.
12091
f40063a5
MC
120922004-01-13 Michael Chastain <mec.gnu@mindspring.com>
12093
12094 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
12095 inheritance. PR gdb/1498, PR gcc/13539.
12096
19ac3974
EZ
120972004-01-13 Elena Zannoni <ezannoni@redhat.com>
12098
a9c64011
AS
12099 * gdb.threads/gcore-thread.exp: Prefix name of binary with
12100 test specific name.
12101 * gdb.mi/gdb669.exp: Ditto.
12102 * gdb.mi/mi-pthreads.exp: Ditto.
12103 * gdb.mi/mi1-pthreads.exp: Ditto.
12104 * gdb.mi/mi2-pthreads.exp: Ditto.
19ac3974 12105
56c97c6e
MC
121062004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12107
12108 * gdb.cp/member-ptr.cc: Add copyright notice.
12109
a0644324
MC
121102004-01-12 Michael Chastain <mec.gnu@mindspring.com>
12111
12112 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
12113 some patterns for recent versions of gcc and hpacc. Delete
12114 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
12115 Delete tests that access a NULL pointer-to-member-data. This
12116 script is still disabled for gcc.
12117
32fabe09
EZ
121182004-01-12 Elena Zannoni <ezannoni@redhat.com>
12119
12120 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
a9c64011 12121 escaped correctly.
32fabe09 12122
1f8a6abb
EZ
121232004-01-12 Elena Zannoni <ezannoni@redhat.com>
12124
12125 * gdb.base/sepdebug.exp: New file.
12126 * gdb.base/sepdebug.c: New file.
12127 * lib/gdb.exp (separate_debug_filename): New procedure.
12128 (gdb_gnu_strip_debug): New procedure.
12129
48efe704
AC
121302004-01-12 Andrew Cagney <cagney@redhat.com>
12131
12132 * gdb.mi/ChangeLog: Delete file. Renamed to ...
12133 * gdb.mi/ChangeLog-1999-2003: New file.
12134
a9415475
AC
121352004-01-12 Andrew Cagney <cagney@redhat.com>
12136
12137 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
12138 "Renaming a directory to a non-empty directory returns ENOTEMPTY
12139 or EEXIST", treat EBUSY as an XFAIL.
12140
83b8cf9d
MC
121412004-01-11 Michael Chastain <mec.gnu@mindspring.com>
12142
12143 * gdb.base/scope.exp: Remove obsolete setup_xfail for
12144 hp_cc_compiler.
12145
9939d2a8
MC
121462004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12147
12148 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
12149 decorations.
12150
1ff8cadf
MC
121512004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12152
12153 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
12154 and "(aCC)" decorations. Remove obsolete doco about old
12155 test results.
12156
6fa9022e
MC
121572004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12158
12159 * gdb.cp/exception.exp: Fix typo in doco.
12160
209721fe
MK
121612004-01-09 Mark Kettenis <kettenis@gnu.org>
12162
12163 * gdb.base/gdb1476.exp: Fix typo.
12164
ef11303e
MC
121652004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12166
12167 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
12168 file.
12169
041ab88c
MC
121702004-01-09 Michael Chastain <mec.gnu@mindspring.com>
12171
12172 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
12173 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
12174 Use gdb_compile. Remove restriction on gcc. Add some patterns
12175 for recent version of gdb. Delete second half, which was a copy
12176 of the first half with different build flags. This test is
12177 still disabled because it is still not ready for production.
12178
e36d075a
MC
121792004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12180
12181 * gdb.cp/exception.cc: Add copyright notice.
12182 * gdb.cp/exception.exp: Add a notice that this file is broken
12183 because of line number changes caused by addition of copyright
12184 notice.
12185
42b190ad
MC
121862004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12187
12188 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
12189 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
12190
8f25f06b
MC
121912004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12192
12193 * gdb.cp/classes.exp: Accept gnu abi 2.
12194 * gdb.cp/derivation.exp: Likewise.
12195 * gdb.cp/overload.exp: Likewise.
12196 * gdb.cp/virtfunc.exp: Likewise.
12197
06ded8b8
MC
121982004-01-08 Michael Chastain <mec.gnu@mindspring.com>
12199
12200 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
12201 semicolon after end of function.
12202
77c26ae3
MC
122032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12204
12205 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
12206 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
12207 boilerplate code for compiling and running the program under
12208 test. Add some string method tests.
12209
20757486
MC
122102004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12211
12212 * gdb.cp/bs15503.cc: Add copyright notice.
12213 * gdb.cp/bs15503.exp: Adjust line number.
12214
0fd3b503
MC
122152004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12216
12217 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
12218 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
12219
10d1bea8
MC
122202004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12221
12222 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
12223 hp_cc_compiler.
12224
2789202a
MC
122252004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12226
12227 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
12228 * gdb.cp/ctti.exp: Use the marker instead of "next".
12229 With gcc, run further before bailing.
12230
b862f14c
MC
122312004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12232
12233 * gdb.cp/cttiadd.cc: Add copyright notice.
12234 * gdb.cp/cttiadd1.cc: Likewise.
12235 * gdb.cp/cttiadd2.cc: Likewise.
12236 * gdb.cp/cttiadd3.cc: Likewise.
12237
96da2469
MC
122382004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12239
12240 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
12241 Use gdb_test, gdb_test_multiple. Use floating-point values that
12242 have exact representations in IEEE-ish formats.
12243
053248ff
MC
122442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12245
12246 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
12247 compilers. Delete duplicate call to get_compiler_info.
12248 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
12249 * gdb.base/volatile.exp: Likewise.
12250
84acecdd
MK
122512004-01-07 Mark Kettenis <kettenis@gnu.org>
12252
12253 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
12254 memory at address 0.
12255
fe11a27f
MC
122562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
12257
12258 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
12259 to test for hp-ux assembler. Fix copyright years.
12260
60ad077b
AC
122612004-01-07 Andrew Cagney <cagney@redhat.com>
12262
12263 * gdb.base/fileio.c (strerrno): Add "EBUSY".
12264
1c9b8f33
AC
122652004-01-07 Andrew Cagney <cagney@redhat.com>
12266
12267 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
12268 when creating the read-only file. From analysis by Roland McGrath
12269 and Elena Zannoni.
12270
753ccc7a
MC
122712004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12272
12273 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
12274
eca3e36b
MC
122752004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12276
12277 * gdb.base/cvexpr.c: Be type-safe with function pointers and
12278 data pointers.
12279
f8d4bac4
MC
122802004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12281
12282 * gdb.cp/m-static.exp: Compile one source file at a time.
12283 Delete unused call to get_compiler_info.
12284
9b4e0f94
MC
122852004-01-06 Michael Chastain <mec.gnu@mindspring.com>
12286
12287 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
12288 * gdb.base/call-rt-st.exp: Likewise.
12289 * gdb.base/nodebug.exp: Likewise.
12290 * gdb.base/volatile.exp: Likewise.
12291 * gdb.cp/ref-types.exp: Likewise.
12292 * gdb.cp/templates.exp: Likewise.
12293
023c1024
MK
122942004-01-05 Mark Kettenis <kettenis@gnu.org>
12295
12296 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
12297
19703c4a
MC
122982004-01-05 Michael Chastain <mec.gnu@mindspring.com>
12299
12300 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
12301 hppa*-hp-hpux*.
12302
18b67037
MK
123032004-01-04 Mark Kettenis <kettenis@gnu.org>
12304
ba6219c8
MK
12305 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12306 x86_64-*-*.
12307
18b67037
MK
12308 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
12309 sparc64-*-* and sparc*-solaris2*.
12310
1bfbbb9d
MK
123112004-01-04 Mark Kettenis <kettenis@gnu.org>
12312
12313 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
12314 return ${tests}" test. The ${tests} already mentions the
12315 filename.
12316
06846494
MC
123172004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12318
12319 * gdb.cp/local.exp: Accept gcc abi 2.
12320
3b0cb202
MC
123212004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12322
12323 * gdb.cp/templates.exp: Accept gcc abi 2.
12324
0643ec3f
MC
123252004-01-02 Michael Chastain <mec.gnu@mindspring.com>
12326
12327 * lib/compiler.cc: Remove supports_template_debugging.
12328 * gdb.cp/templates.exp: Do not test supports_template_debugging.
12329
d231d0b1
MC
123302004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12331
12332 * gdb.cp/namespace.exp: Accept gcc abi 2.
12333
44ffb27c
MC
123342004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12335
12336 * gdb.cp/method.exp: Accept gcc abi 2.
12337
184ad485
MC
123382004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12339
12340 * gdb.cp/classes.exp: Generate identical results as old version.
12341 * gdb.cp/derivation.exp: Likewise.
12342 * gdb.cp/overload.exp: Likewise.
12343 * gdb.cp/virtfunc.exp: Likewise.
12344
116f09e7
MC
123452004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12346
12347 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
12348 mysterious bug with sourceware version of expect.
12349
b1379776
MC
123502004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12351
12352 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
12353 current versions of gcc, including gcc abi 2. Remove gratuitous
12354 restart of test program. Use gdb_test_multiple and gdb_test for
12355 all tests. Add patterns to xfail missing "const" in "const char *"
12356 and kfail PR gdb/1155.
12357
6b7a4c0e
MC
123582004-01-01 Michael Chastain <mec.gnu@mindspring.com>
12359
12360 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
12361 current versions of gcc, including gcc abi 2. Remove gratuitous
12362 restart of test program. Use gdb_test_multiple and gdb_test for
12363 all tests. Add patterns to kfail PR gdb/1498.
12364
51615d72
MC
123652003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12366
12367 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
12368 current versions of gcc, including gcc abi 2. Use "breakpoint"
12369 and "continue" instead of restarting the target program. Use
12370 gdb_test_multiple and gdb_test for all tests.
12371
7b79a9d7
MK
123722004-01-01 Mark Kettenis <kettenis@gnu.org>
12373
12374 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12375 for *-*-solaris2*.
12376
1cd3489f
MC
123772003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12378
12379 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12380 current versions of gcc, including gcc abi 2. Use "breakpoint"
12381 and "continue" instead of restarting the target program several
12382 times. Use gdb_test_multiple and gdb_test for all tests.
12383
850742db
MC
123842003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12385
12386 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12387 source files.
12388
eb4bbda8
MC
123892003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12390
12391 * gdb.base/environ.exp: Handle compiling test case from multiple
12392 source files.
12393
e42c7771
MC
123942003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12395
12396 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12397
80e4b428
JB
123982003-12-17 Jim Blandy <jimb@redhat.com>
12399
5f06973a
JB
12400 * gdb.base/freebpcmd.c: Add copyright notice.
12401
80e4b428
JB
12402 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12403
0ab84fb7
MC
124042003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12405
12406 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12407
1b3bb3d0
JB
124082003-12-13 Jim Blandy <jimb@redhat.com>
12409
12410 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12411
3a4c9371
KB
124122003-12-12 Kevin Buettner <kevinb@redhat.com>
12413
12414 * gdb.asm/frv.inc: New file.
12415 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12416
a1dea79a
FF
124172003-12-09 Fred Fish <fnf@redhat.com>
12418
12419 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12420 functions to break1.c and leave prototypes behind. Add more
12421 "set breakpoint NN here" comments.
12422 * gdb.base/break1.c: New file.
12423
12424 * gdb.base/break.exp: Handle compiling test case from multiple
12425 source files and change source file references as needed.
12426 * gdb.base/completion.exp: Ditto.
12427 * gdb.base/condbreak.exp: Ditto.
12428 * gdb.base/define.exp: Ditto.
12429 * gdb.base/ena-dis-br.exp: Ditto.
12430 * gdb.base/info-proc.exp: Ditto.
12431 * gdb.base/maint.exp: Ditto.
12432 * gdb.base/until.exp: Ditto.
12433
12434 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12435 hardcoded line numbers.
12436 * gdb.base/define.exp: Ditto.
12437 * gdb.base/ena-dis-br.exp: Ditto.
12438 * gdb.base/maint.exp: Ditto.
12439 * gdb.base/until.exp: Ditto.
12440
12441 * gdb.base/completion.exp: Use "break1" for completion tests since
12442 "break" is no longer a unique prefix.
12443
5266b69c
AC
124442003-12-06 Andrew Cagney <cagney@redhat.com>
12445
12446 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12447 "return_value_unimplemented". When an unimplemented struct return
12448 architecture, report incorrect values as a KFAIL
12449
374451f0
MC
124502003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12451
12452 * gdb.cp/rtti.exp: Accept new wording of warning from
12453 cp_lookup_rtti_type.
12454
ba9b20a7
MC
124552003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12456
12457 Partial fix for PR testsuite/1456.
12458 * gdb.base/scope.exp (test_at_main): Replace references to
12459 gcc_compiled with calls to test_compiler_info.
12460 (test_at_foo): Likewise.
12461 (test_at_bar): Likewise.
12462
b74b6d0b
MC
124632003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12464
12465 Partial fix for PR testsuite/1456.
12466 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12467 to test_compiler_info.
12468
ccfa3402
MC
124692003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12470
12471 * gdb.base/so-impl-ld.exp: Update copyright notice.
12472
f6246aba
MC
124732003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12474
12475 Partial fix for PR testsuite/1456.
12476 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12477 to test_compiler_info.
12478
13ae734a
MC
124792003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12480
12481 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12482 from current versions of gdb. Clean up regular expressions.
12483 Delete redundant timeout case.
12484
d8e1cdee
MC
124852003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12486
12487 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12488 from current versions of gdb. Clean up regular expressions.
12489 Delete redundant timeout case.
12490
96457b64
MC
124912003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12492
12493 Partial fix for PR testsuite/1456.
12494 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12495 gcc_compiled with call to test_compiler_info.
12496
f35309fc
MC
124972003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12498
12499 Partial fix for PR testsuite/1456.
12500 * gdb.base/list.exp (test_list_function): Delete unused declaration
12501 of gcc_compiled.
12502
d7afdf9b
MC
125032003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12504
12505 Partial fix for PR testsuite/1456.
12506 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12507 call to test_compiler_info.
12508
71507b56
MK
125092003-11-29 Mark Kettenis <kettenis@gnu.org>
12510
12511 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12512 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12513 it to create the appropriate note.inc.
12514 * gdb.asm/asmsrc1.s: Include "note.inc".
12515 * gdb.asm/netbsd.inc: New file.
12516 * gdb.asm/empty.inc: New file.
12517
f81f93f7
MC
125182003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12519
12520 Partial fix for PR testsuite/1456.
12521 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12522 calls to test_compiler_info.
12523
9a77938e
MC
125242003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12525
12526 Partial fix for PR testsuite/1456.
12527 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12528 calls to test_compiler_info.
12529
e8367dc7
MK
125302003-11-27 Mark Kettenis <kettenis@gnu.org>
12531
12532 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12533 pattern for the KFAILs.
12534
526c61ee
AF
125352003-11-25 Adam Fedor <fedor@gnu.org>
12536
12537 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12538 * gdb.objc/objcdecode.m: New file.
12539
28f2d600
AF
125402003-11-25 Adam Fedor <fedor@gnu.org>
12541
12542 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12543 * gdb.objc/nondebug.m: New file.
12544
a3895cee
BE
125452003-11-26 Ben Elliston <bje@wasabisystems.com>
12546
12547 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12548 NetBSD as it does on FreeBSD. Modelled on a similar change by
12549 Mark Kettenis on 2003-05-30.
12550 (link-flags): Set to "--entry _start" regardless of target.
12551 Special linker flags are to be appended to $link-flags.
12552 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12553
c9f2c8a3
MC
125542003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12555
12556 * gdb.cp/method.exp: Accept output of new demangler.
12557
15a0587a 125582003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
12559
12560 * gdb/class2.exp: New file.
12561 * gdb/class2.cc: New file.
12562
3c00b570
MC
125632003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12564
12565 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12566 of new demangler.
12567
7027acc7
MK
125682003-11-23 Mark Kettenis <kettenis@gnu.org>
12569
12570 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12571 of gdb_test "run".
12572
b0e1598a
MK
125732003-11-23 Mark Kettenis <kettenis@gnu.org>
12574
12575 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12576 "continue" into "run".
12577
4d9eda44
MC
125782003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12579
12580 Partial fix for PR testsuite/1456.
12581 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12582 call to test_compiler_info.
12583 * gdb.cp/ctti.exp: Likewise.
12584 * gdb.cp/derivation.exp: Likewise.
12585 * gdb.cp/member-ptr.exp: Likewise.
12586 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12587 reference to gcc_compiled.
12588
125892003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
12590
12591 Fix PR testsuite/1463.
12592 * gdb.base/structs.exp (start_structs_test): Call
12593 get_debug_format before using the debug format.
12594
d422fe19
AC
125952003-11-22 Andrew Cagney <cagney@redhat.com>
12596
12597 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12598 * gdb.base/structs.exp: Use gdb_test_multiple.
12599
039cf96d
AC
126002003-11-20 Andrew Cagney <cagney@redhat.com>
12601
6882279b
AC
12602 * gdb.base/structs.exp: Handle and recover from internal errors.
12603 Replace "foo${n}" with "foo<n>" in test messages.
12604
e53890ae
AC
12605 * gdb.base/structs.exp: Update copyright. Rewrite.
12606 * gdb.base/structs.c: Update copyright. Rewrite.
12607
2b211c59
AC
12608 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12609 resync count exceeded.
d63a86f8 12610
039cf96d
AC
12611 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12612 from the internal error.
12613 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12614 Original from Jim Blandy.
12615 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 12616
eac98b22
AC
126172003-11-19 Andrew Cagney <cagney@redhat.com>
12618
12619 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12620 KFAIL.
12621
67455b2a
MK
126222003-11-17 Mark Kettenis <kettenis@gnu.org>
12623
12624 New testcase for PR backtrace/1435.
12625 * gdb.arch/i386-unwind.exp: New file.
12626 * gdb.arch/i386-unwind.c: New file.
12627
853d6e5b
AC
126282003-11-17 Andrew Cagney <cagney@redhat.com>
12629
12630 * lib/gdb.exp (compiler_info): New global.
12631 (test_compiler_info): New function.
12632 (get_compiler_info): Set compiler_info.
12633 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12634 "compiler_info" to gcc-<major>-<minor>.
12635
38cf6e11
MC
126362003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12637
12638 * gdb.trace/configure: Remove.
12639
a50d3602
EZ
126402003-11-13 Elena Zannoni <ezannoni@redhat.com>
12641
12642 * gdb.base/break.c: Add comments to aid finding line numbers for
d63a86f8 12643 breakpoints.
a50d3602
EZ
12644 * gdb.base/break.exp: Remove all references to explicit line
12645 numbers.
12646
d9407aaa
NC
126472003-11-11 Nick Clifton <nickc@redhat.com>
12648
12649 * gdb.base/shreloc.exp: Do not run for targets which do not
12650 support shared objects.
12651
db488fc1
CV
126522003-11-10 Corinna Vinschen <vinschen@redhat.com>
12653
12654 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12655 Don't run tests if nofileio flag is given.
12656
6a90a18e
EZ
126572003-11-07 Elena Zannoni <ezannoni@redhat.com>
12658
12659 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
a9c64011 12660 as well as 'Watchpoint'.
6a90a18e 12661
0b915e9c
EZ
126622003-11-06 Elena Zannoni <ezannoni@redhat.com>
12663
12664 Reported by Jim Ingham <jingham@apple.com>:
12665 * gdb.base/annota1.exp: Match at least one occurrence of the
12666 signal handler annotation.
12667
d7e4b55f
EZ
126682003-11-06 Elena Zannoni <ezannoni@redhat.com>
12669
a9c64011
AS
12670 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12671 as well as 'Watchpoint'.
d7e4b55f 12672
2fe4e8d0
MC
126732003-11-05 Michael Chastain <mec@shout.net>
12674
12675 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12676
6ef88553
KW
126772003-11-03 Kris Warkentin <kewarken@qnx.com>
12678
12679 * gdb.arch/gdb1291.c: New test file.
12680 * gdb.arch/gdb1291.exp: New test script.
12681 * gdb.arch/gdb1431.c: New test file.
12682 * gdb.arch/gdb1431.exp: New test script.
12683
ae7dc4d8
MC
126842003-10-22 Michael Chastain <mec@shout.net>
12685
12686 * gdb.mi/pthreads.c: Add copyright notice.
12687
c39d7427
MC
126882003-10-22 Michael Chastain <mec@shout.net>
12689
12690 * gdb.threads/pthreads.c: Add copyright notice.
12691
8b7d96c1
MC
126922003-10-20 Michael Chastain <mec@shout.net>
12693
12694 * gdb.base/gdb1056.exp: New test script.
12695
d1d69fdd
DJ
126962003-10-13 Daniel Jacobowitz <drow@mvista.com>
12697
12698 * gdb.threads/killed.exp: Use gdb_run_cmd.
12699
7d605576
DJ
127002003-10-13 Daniel Jacobowitz <drow@mvista.com>
12701
12702 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12703 create a core file.
12704 * gdb.threads/gcore-thread.exp: Likewise.
12705
618ec112
CV
127062003-10-13 Corinna Vinschen <vinschen@redhat.com>
12707
12708 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12709 type, based on char type.
12710 (struct bit_flags_short_t): New bitfield type, based on short type.
12711 (init_bit_flags_char): New fuction.
12712 (init_bit_flags_short): Ditto.
12713 (print_bit_flags_char): Ditto.
12714 (print_bit_flags_short): Ditto.
12715 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12716
9367a73c
MC
127172003-10-11 Michael Chastain <mec@shout.net>
12718
12719 * gdb.base/call-rt-st.exp: Update copyright year.
12720
1decf120
KI
127212003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12722
12723 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12724 * gdb.disasm/sh3.s: Ditto.
12725
5445b2ae
DJ
127262003-10-07 Daniel Jacobowitz <drow@mvista.com>
12727
12728 * gdb.threads/switch-threads.exp: New test.
12729 * gdb.threads/switch-threads.c: New source file.
12730
aec24853
CV
127312003-10-07 Corinna Vinschen <vinschen@redhat.com>
12732
12733 * gdb.base/ending-run.exp: Add sh specific case.
12734
adc7428d
AC
127352003-10-06 Andrew Cagney <cagney@redhat.com>
12736
12737 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12738 * gdb.disasm/mn10200.exp: Delete obsolete file.
12739
c9d37158
DJ
127402003-09-29 Daniel Jacobowitz <drow@mvista.com>
12741
12742 * ChangeLog: Correct an entry command.exp -> commands.exp.
12743 * gdb.base/commands.exp (bp_deleted_in_command_test)
12744 (temporary_breakpoint_commands): Check noargs.
12745
79c2c32d
DC
127462003-09-25 David Carlton <carlton@kealia.com>
12747
12748 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12749 of some print tests, where appropriate. Add tests for C::D::cd,
12750 E::ce, F::cXfX, G::XgX.
12751 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12752
594e6d67
RE
127532003-09-25 Richard Earnshaw <rearnsha@arm.com>
12754
12755 * lib/java.exp (java_init): Import target_alias before using it.
12756
10f0d451
DC
127572003-09-25 David Carlton <carlton@kealia.com>
12758
12759 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12760
274bcba0
EZ
127612003-09-23 Elena Zannoni <ezannoni@redhat.com>
12762
d63a86f8 12763 * gdb.base/selftest.exp: Accomodate more instruction reordering
a9c64011 12764 weirdness.
274bcba0 12765
cdbf20f7
MC
127662003-09-17 Michael Chastain <mec@shout.net>
12767
12768 * gdb.cp/gdb1355.exp: New file.
12769 * gdb.cp/gdb1355.c: New file.
12770
71e06f80
CV
127712003-09-15 Corinna Vinschen <vinschen@redhat.com>
12772
12773 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12774 * gdb.asm/sh.inc: New file.
12775
5c4e30ca
DC
127762003-09-11 David Carlton <carlton@kealia.com>
12777
bd45b7af
DC
12778 * gdb.cp/namespace.exp: Add tests for namespace types.
12779 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
12780 (test_namespace): New.
12781
1c199746
EZ
127822003-09-11 Elena Zannoni <ezannoni@redhat.com>
12783
a9c64011 12784 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 12785 * gdb.stabs/weird.exp: Ditto.
1c199746 12786
04ed252f
MC
127872003-09-08 Michael Chastain <mec@shout.net>
12788
12789 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12790
d8a2d9e7
MC
127912003-09-07 Michael Chastain <mec@shout.net>
12792
12793 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12794 'parse error'.
12795
161afb24
MK
127962003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12797
12798 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12799
49f2741a
MC
128002003-08-30 Michael Chastain <mec@shout.net>
12801
12802 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12803 * gdb.gdb/observer.exp: Ditto.
12804 * gdb.gdb/xfullpath.exp: Ditto.
12805
8afa723e
MK
128062003-08-29 Mark Kettenis <kettenis@gnu.org>
12807
12808 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12809 *-*-*bsd*.
12810
f31dfe3b
JJ
128112003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12812
12813 * gdb.base/dump.exp: Skip for ia64.
12814
4630e498
JJ
128152003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12816
12817 * gdb.asm/asm-source.exp: Add ia64 support.
12818 * gdb.asm/ia64.inc: New file.
12819
1105b7ef
MC
128202003-08-22 Michael Chastain <mec@shout.net>
12821
12822 * gdb.cp: New directory.
12823 * gdb.cp/*: Copy from gdb.c++/*.
12824 * gdb.c++/*: Remove.
12825 * Makefile.in: Change gdb.c++ to gdb.cp.
12826 * configure.in: Ditto.
12827 * configure: Regnerate.
12828
c945b932
MK
128292003-08-18 Mark Kettenis <kettenis@gnu.org>
12830
12831 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12832 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12833
2b66634b
DJ
128342003-08-17 Daniel Jacobowitz <drow@mvista.com>
12835
12836 * mi-var-display.exp (-var-list-children weird): Accept function
12837 pointers with argument types.
12838 * mi1-var-display.exp (-var-list-children weird): Likewise.
12839 * mi2-var-display.exp (-var-list-children weird): Likewise.
12840
a356f73b
DJ
128412003-08-17 Daniel Jacobowitz <drow@mvista.com>
12842
12843 * gdb.base/annota3.exp: Add missing newline.
12844
483417b8
MC
128452003-08-06 Michael Chastain <mec@shout.net>
12846
12847 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12848
c99c59c3
MS
128492003-08-12 Michael Snyder <msnyder@redhat.com>
12850
12851 * gdb.base/float.exp: Add test for SH.
12852
55ed7501
MK
128532003-08-10 Mark Kettenis <kettenis@gnu.org>
12854
12855 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12856
1a371f2e
EZ
128572003-08-07 Elena Zannoni <ezannoni@redhat.com>
12858
12859 * gdb.base/completion.exp: Remove reduntant completion test
12860 on filename.
12861
e0f353ce
EZ
128622003-08-07 Elena Zannoni <ezannoni@redhat.com>
12863
a9c64011
AS
12864 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
12865 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
12866 gdb.trace/save-trace.exp: Make sure that full pathnames are
12867 escaped correctly.
e0f353ce 12868
5710a1af 128692003-08-07 Elena Zannoni <ezannoni@redhat.com>
d63a86f8 12870
a9c64011
AS
12871 * configure.in: Don't generate config.h from config.hin.
12872 * configure: Regenerate.
12873 * config.hin: Remove file.
12874 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
12875 * gdb.threads/pthreads.c: Ditto.
5710a1af 12876
dcd81ce9
DJ
128772003-08-07 Daniel Jacobowitz <drow@mvista.com>
12878
12879 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12880 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
12881 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
12882 Replace ld24 with seth/add3.
12883
6009d884
AC
128842003-08-02 Andrew Cagney <cagney@redhat.com>
12885
12886 * gdb.base/annota3.exp: New file.
12887 * gdb.base/annota3.c: New file.
12888 * gdb.c++/annota3.exp: New file.
12889 * gdb.c++/annota3.cc: New file.
12890
51514e06
MC
128912003-07-29 Michael Chastain <mec@shout.net>
12892
12893 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12894 actually failed.
12895 (do_pass): Likewise.
12896 * gdb.threads/tls.exp: Always initialize no_of_threads.
12897
4ee6625b
DJ
128982003-07-27 Daniel Jacobowitz <drow@mvista.com>
12899
12900 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
12901 pattern.
12902 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
12903 * gdb.threads/tls.exp: Recognize one case of the host library not
12904 supporting TLS.
12905
225f2bf6
AC
129062003-07-27 Andrew Cagney <cagney@redhat.com>
12907
12908 * gdb.base/fileio.exp: Use SH when running commands using
12909 remote_exec.
12910
bcb27c9f
DJ
129112003-07-24 Daniel Jacobowitz <drow@mvista.com>
12912
12913 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12914 * gdb.base/relocate.c (dummy): New padding array.
12915
3d67be83
MS
129162003-07-22 Michael Snyder <msnyder@redhat.com>
12917
d63a86f8 12918 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
3d67be83
MS
12919
12920 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
12921 patterns to be more general, accepting old and new output.
12922 Some output chars (such as '+') also must be quoted.
d63a86f8 12923 Some addresses are displayed numerically instead of
3d67be83
MS
12924 symbolically.
12925
57ba3b85
MS
129262003-07-23 Michael Snyder <msnyder@redhat.com>
12927
686d097c
MS
12928 * gdb.base/return2.exp: Don't test long-long return.
12929
57ba3b85
MS
12930 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
12931 * gdb.disasm/t01_mov.exp: Ditto.
12932 * gdb.disasm/t02_mova.s: Ditto.
12933 * gdb.disasm/t02_mova.exp: Ditto.
12934 * gdb.disasm/t03_add.s: Ditto.
12935 * gdb.disasm/t03_add.exp: Ditto.
12936 * gdb.disasm/t04_sub.s: Ditto.
12937 * gdb.disasm/t04_sub.exp: Ditto.
12938 * gdb.disasm/t05_cmp.s: Ditto.
12939 * gdb.disasm/t05_cmp.exp: Ditto.
12940 * gdb.disasm/t06_ari2.s: Ditto.
12941 * gdb.disasm/t06_ari2.exp: Ditto.
12942 * gdb.disasm/t07_ari3.s: Ditto.
12943 * gdb.disasm/t07_ari3.exp: Ditto.
12944 * gdb.disasm/t08_or.s: Ditto.
12945 * gdb.disasm/t08_or.exp: Ditto.
12946 * gdb.disasm/t09_xor.s: Ditto.
12947 * gdb.disasm/t09_xor.exp: Ditto.
12948 * gdb.disasm/t10_and.s: Ditto.
12949 * gdb.disasm/t10_and.exp: Ditto.
12950 * gdb.disasm/t11_logs.s: Ditto.
12951 * gdb.disasm/t11_logs.exp: Ditto.
12952 * gdb.disasm/t12_bit.s: Ditto.
12953 * gdb.disasm/t12_bit.exp: Ditto.
12954 * gdb.disasm/t13_otr.s: Ditto.
12955 * gdb.disasm/t13_otr.exp: Ditto.
12956
e00759ef
EZ
129572003-07-22 Elena Zannoni <ezannoni@redhat.com>
12958
12959 * gdb.threads/tls.exp :Add kfail for 'info address' case.
12960
8bc2021f
EZ
129612003-07-22 Elena Zannoni <ezannoni@redhat.com>
12962
a9c64011
AS
12963 * gdb.threads/tls.c : New file.
12964 * gdb.threads/tls.exp : New file.
12965 * gdb.threads/tls-main.c : New file.
12966 * gdb.threads/tls-shared.c : New file.
12967 * gdb.threads/tls-shared.exp : New file.
8bc2021f 12968
89320c4c
AS
129692003-07-22 Andreas Schwab <schwab@suse.de>
12970
12971 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
12972
180dea7c
AS
129732003-07-20 Andreas Schwab <schwab@suse.de>
12974
12975 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
12976 due to insn reordering.
12977
0714963c
AC
129782003-07-15 Andrew Cagney <cagney@redhat.com>
12979
12980 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
12981
98a23b3f
MC
129822003-07-15 Michael Chastain <mec@shout.net>
12983
12984 * gdb.base/gdb1250.exp: New file.
12985 * gdb.base/gdb1250.c: New file.
12986
27e417a2
ML
129872003-07-09 Michal Ludvig <mludvig@suse.cz>
12988
12989 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
12990 expansion of size_t to 'unsigned long', not only to 'unsigned'.
12991
8bc2021f
EZ
129922003-07-09 Elena Zannoni <ezannoni@redhat.com>
12993
a9c64011
AS
12994 * gdb.threads/tls.c: New file.
12995 * gdb.threads/tls.exp: New file.
12996 * gdb.threads/tls-main.c: New file.
12997 * gdb.threads/tls-shared.c: New file.
12998 * gdb.threads/tls-shared.exp: New file.
8bc2021f 12999
d99968dc
EZ
130002003-07-09 Elena Zannoni <ezannoni@redhat.com>
13001
13002 * gdb.base/annota1.exp: Make sure that we properly escape the
13003 full path of the source file. Xfail more permissive patterns,
d63a86f8 13004 due to a compiler debug info problem.
d99968dc 13005
83876b3b
AS
130062003-07-07 Andreas Schwab <schwab@suse.de>
13007
2705e972
AS
13008 * gdb.asm/m68k.inc: New file.
13009 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
13010
83876b3b
AS
13011 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
13012 arguments"): Also match negative number.
13013
13014 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
13015
3a871b37
DJ
130162003-07-03 Daniel Jacobowitz <drow@mvista.com>
13017
13018 * gdb.base/store.c (charest): New typedef.
13019 (add_char): Rename to add_charest, update.
13020 (wack_char): Rename to wack_charest, update types. Return l + r
13021 to keep r live across the call.
13022 (wack_short, wack_int, wack_long, wack_longest, wack_float)
13023 (wack_double, wack_doublest): Return l + r to keep r live across
13024 the call.
13025 * gdb.base/store.exp: Accomodate store.c changes.
13026
b2a7f303
DC
130272003-06-30 David Carlton <carlton@kealia.com>
13028
13029 * gdb.c++/maint.exp (test_invalid_name): New.
13030 (test_first_component): Add tests for invalid names.
13031
3c6cb4a1
MC
130322003-06-29 Michael Chastain <mec@shout.net>
13033
13034 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
13035 output of '<VTT for class>' for virtual base classes.
13036
f1c2644b
DJ
130372003-06-29 Daniel Jacobowitz <drow@mvista.com>
13038
13039 * gdb.base/completion.exp: Tab-complete "complet" instead of
13040 "compl".
13041 * gdb.base/complex.exp, gdb.base/complex.c: New files.
13042
18080350
DJ
130432003-06-29 Daniel Jacobowitz <drow@mvista.com>
13044
13045 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
13046 * gdb.base/volatile.exp: Likewise.
13047
f56973f8
DJ
130482003-06-29 Daniel Jacobowitz <drow@mvista.com>
13049
13050 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
13051 gdb/1265.
13052
130532003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
13054 Daniel Jacobowitz <drow@mvista.com>
13055
13056 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
13057 initial line count of 'captured_main' from 26 to 32.
13058 (test_with_self): Allow xmalloc call to be interleaved with the
13059 preceding two lines.
13060
e766d4d6
JB
130612003-06-24 Joel Brobecker <brobecker@gnat.com>
13062
13063 * gdb.base/bang.exp: New testcase.
13064
f125c9a4
JB
130652003-06-23 Joel Brobecker <brobecker@gnat.com>
13066
13067 * gdb.base/langs.exp: Add some tests for the "minimal" language
13068 support.
13069
6e25beaf
EZ
130702003-06-23 Elena Zannoni <ezannoni@redhat.com>
13071
13072 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
13073 the testcase.
13074
2f816dda
DJ
130752003-06-22 Daniel Jacobowitz <drow@mvista.com>
13076
13077 * gdb.base/relocate.exp: Test add-symbol-file with a variable
13078 offset.
13079
db5a5748
DJ
130802003-06-22 Daniel Jacobowitz <drow@mvista.com>
13081
13082 * gdb.c++/pr-1210.cc: New file.
13083 * gdb.c++/pr-1210.exp: New file.
13084
1df0c130
DJ
130852003-06-21 Daniel Jacobowitz <drow@mvista.com>
13086
13087 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
13088 000-exec-continue.
13089
a92feac0
MK
130902003-06-15 Mark Kettenis <kettenis@gnu.org>
13091
13092 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
13093 on *-*-*bsd* instead of *-*-freebsd*.
13094
81a58f5b
AC
130952003-06-14 Andrew Cagney <cagney@redhat.com>
13096
13097 * gdb.base/store.exp: Test longest and doublest. Test all
13098 parameters. Weaken return statement match.
13099 * gdb.base/store.c: Add longest and doublest - aka long long and
13100 long double functions. Put all parameters into local register
13101 variables. Use negative values.
13102
b257a0d3
AC
131032003-06-14 Andrew Cagney <cagney@redhat.com>
13104
13105 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
13106 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
13107 exit status.
13108 * gdb.base/fileio.exp: Disable target when nointerrupts and
13109 noinferiorio, instead of limiting it to remote. Use remote_exec
13110 instead of system.
d63a86f8 13111
21c38304
JJ
131122003-06-12 Jeff Johnston <jjohnstn@redhat.com>
13113
13114 * gdb.base/float.exp: Add ia64 support.
13115
1bcdb424
CV
131162003-06-12 Corinna Vinschen <vinschen@redhat.com>
13117
13118 * gdb.base/fileio.exp: Run only on remote targets.
13119
6aeb981f
CV
131202003-06-10 Corinna Vinschen <vinschen@redhat.com>
13121
13122 * gdb.base/fileio.c: New file, testing File-I/O.
13123 * gdb.base/fileio.exp: Ditto.
13124
53df362e
RG
131252003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
13126
13127 * gdb.base/shreloc.exp: New file, check symbol values obtained from
13128 shared objects after relocation at load time (gdb PR/1132).
13129 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
a9c64011 13130 as above, part of the shared object relocation test.
53df362e 13131
ffee1b46
MK
131322003-06-08 Mark Kettenis <kettenis@gnu.org>
13133
b5ca3722
MK
13134 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
13135 fully filled history list.
13136 * gdb.base/gdb_history: New file.
13137
03ed860d
MK
13138 * gdb.base/signals.exp: XFAIL "continue to func1" on
13139 i*86-*-freebsd*.
13140
ffee1b46
MK
13141 * gdb.base/attach.exp: When trying to attach to a nonexistent
13142 process, make it possible to specify the PID based on the target,
13143 and do so for *-*-freebsd*.
13144
d80dbb52
RH
131452003-06-02 Richard Henderson <rth@redhat.com>
13146
13147 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
13148
6dd77b81
RH
131492003-06-02 Richard Henderson <rth@redhat.com>
13150
13151 * gdb.base/selftest.exp: Next over lim_at_start initialization.
13152
f6347e16
RH
131532003-06-02 Richard Henderson <rth@redhat.com>
13154
13155 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
13156
2c161407
DJ
131572003-06-01 Daniel Jacobowitz <drow@mvista.com>
13158
13159 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
13160 of globalvar.
13161
572eb746
MK
131622003-06-01 Mark Kettenis <kettenis@gnu.org>
13163
13164 * gdb.asm/asm-source.exp: Check for memory read errors in
13165 disassembler test on *BSD too.
13166
9e9617a5
RH
131672003-06-01 Richard Henderson <rth@redhat.com>
13168
13169 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
13170 for .frame.
13171 (gdbasm_call): Lose ldgp.
13172 (gdbasm_startup): Add frame information.
13173 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
13174
7b34ad4e
MK
131752003-05-31 Mark Kettenis <kettenis@gnu.org>
13176
13177 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
13178 i?86-*-*.
13179
10059fdf
MK
131802003-05-30 Mark Kettenis <kettenis@gnu.org>
13181
13182 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
13183 FreeBSD.
13184
acf4b816
RH
131852003-05-29 Richard Henderson <rth@redhat.com>
13186
13187 * gdb.asm/alpha.inc: New file.
13188 * gdb.asm/asm-source.exp: Use it.
13189
e9ecd949
JB
131902003-05-29 Jim Blandy <jimb@redhat.com>
13191
13192 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
13193 'core.PID'.
13194
e3e5a4f3
JB
131952003-05-22 Jim Blandy <jimb@redhat.com>
13196
13197 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
13198 backtrace.
d63a86f8 13199
72fe3d25
DC
132002003-05-20 David Carlton <carlton@math.stanford.edu>
13201
13202 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
13203 this time.
13204
58da2eb2
DC
132052003-05-19 David Carlton <carlton@bactrian.org>
13206
13207 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
13208 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
13209
1fcb5155
DC
132102003-05-19 David Carlton <carlton@bactrian.org>
13211
13212 * gdb.c++/namespace.exp: Add namespace scope and anonymous
13213 namespace tests.
13214 Bump copyright date.
13215 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
13216 (main): Call C::D::marker2.
13217 * gdb.c++/namespace1.cc: New file.
13218
85e85163
JJ
132192003-05-14 Jeff Johnston <jjohnstn@redhat.com>
13220
13221 Roland McGrath <roland@redhat.com>
d63a86f8 13222 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
85e85163
JJ
13223 there is no manager thread.
13224
a25fbfec
JJ
132252003-05-08 Jeff Johnston <jjohnstn@redhat.com>
13226
d63a86f8
RM
13227 * gdb.threads/schedlock.exp: Remove assumption that all threads
13228 will run in a particular small time slice. Also ensure we break
a25fbfec
JJ
13229 in one of the child threads rather than the main thread.
13230
be375bae
JB
132312003-05-07 Jim Blandy <jimb@redhat.com>
13232
09bf6082
JB
13233 Add support for assembly source testing on the s390x.
13234 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
13235 architecture.
13236 * gdb.asm/s390x.inc: New file.
13237
be375bae
JB
13238 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
13239 succession of 'if' statements.
13240
00905d52
AC
132412003-05-05 Andrew Cagney <cagney@redhat.com>
13242
13243 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
13244
b1e29e33
AC
132452003-05-05 Andrew Cagney <cagney@redhat.com>
13246
13247 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
13248 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
13249
e33d66ec
EZ
132502003-05-02 Elena Zannoni <ezannoni@redhat.com>
13251
13252 * gdb.base/charset.exp: Update based on new behavior of set/show
13253 charset commands.
13254
2b6fd0d8
AC
132552003-05-01 Andrew Cagney <cagney@redhat.com>
13256
13257 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
13258 variable do not give memory errors.
13259
130cacce
AF
132602003-04-30 Adam Fedor <fedor@gnu.org>
13261
13262 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
13263 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
13264 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
13265 gdb.objc/basicclass.m: : New files
13266
13267 * lib/gdb.exp (gdb_compile_objc): New procedure.
13268
bea71854
DJ
132692003-04-27 Daniel Jacobowitz <drow@mvista.com>
13270
13271 * gdb.base/signals.exp: Make backtrace tests more specific.
13272
0f20eeea
DC
132732003-04-23 David Carlton <carlton@bactrian.org>
13274
13275 * gdb.c++/maint.exp (test_first_component): Add tests for
13276 'operator' in more locations.
13277
c8c4d8dc
KB
132782003-04-16 Kevin Buettner <kevinb@redhat.com>
13279
13280 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
13281
3fe60e3c
EZ
132822003-04-16 Elena Zannoni <ezannoni@redhat.com>
13283
13284 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
a9c64011 13285 func marke' instead. Update test name.
3fe60e3c 13286
9219021c
DC
132872003-04-15 David Carlton <carlton@math.stanford.edu>
13288
13289 * gdb.c++/maint.exp: New file.
13290
5dd55bdd
EZ
132912003-04-14 Elena Zannoni <ezannoni@redhat.com>
13292
13293 * gdb.threads/schedlock.c: Change type of thread function argument
13294 to long, to avoid warnings on 64-bit platforms.
13295
00890572
EZ
132962003-04-14 Elena Zannoni <ezannoni@redhat.com>
13297
a9c64011
AS
13298 * gdb.base/attach.exp: Add new message from ptrace in case of
13299 attaching to nonexistent process.
d63a86f8 13300
93201743
JB
133012003-04-11 Jim Blandy <jimb@redhat.com>
13302
13303 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13304 gdb.c++/userdef.cc: Place comments on the lines to which the
13305 marker function might return.
13306 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13307 gdb.c++/userdef.exp: Look for those comments to check that we've
13308 returned to the right place, instead of checking line numbers.
13309
2a11c64d
EZ
133102003-04-11 Elena Zannoni <ezannoni@redhat.com>
13311
a9c64011
AS
13312 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
13313 match on sourcefile name, instead of directory name.
2a11c64d 13314
68ab8fc5
EZ
133152003-04-10 Elena Zannoni <ezannoni@redhat.com>
13316
d63a86f8 13317 * gdb.base/completion.exp: Use string_to_regexp to match the
68ab8fc5
EZ
13318 working directory name.
13319
5624293a
JB
133202003-04-09 Jim Blandy <jimb@redhat.com>
13321
13322 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
13323 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
13324 after an inferior function call, report the failure, but allow the
13325 test to continue.
13326
f1f02ee4
SC
133272003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13328
13329 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13330 with -DPROTOTYPES.
13331
6eb79af0
SC
133322003-04-05 Stephane Carrez <stcarrez@nerim.fr>
13333
13334 * gdb.base/break.exp: Revert last patch.
13335
8dfb4cf0
SC
133362003-04-04 Stephane Carrez <stcarrez@nerim.fr>
13337
13338 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
13339 with -DPROTOTYPES.
13340
ed4c619a
AC
133412003-04-02 Andrew Cagney <cagney@redhat.com>
13342
13343 * gdb.base/callfuncs.exp: Make "print add" messages unique.
13344 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
13345 matching directories by the name breakpoint.
13346 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
13347 Make "continue to marker1" consistent.
13348 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
13349 message consistent.
13350 * lib/gdb.exp: Put "the program is no longer running", and "the
13351 program exited" in parenthesis.
13352 * lib/mi-support.exp: Ditto.
d63a86f8 13353
4e35d5f0 133542003-04-02 Bob Rossi <bob_rossi@cox.net>
d63a86f8 13355
4e35d5f0
BR
13356 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
13357
71900fe8
AC
133582003-03-29 Andrew Cagney <cagney@redhat.com>
13359
13360 * gdb.base/sizeof.c (main): Print the value of '\377'.
13361 * gdb.base/sizeof.exp: Check the sign of '\377'.
13362
c0655a16
MC
133632003-03-27 Michael Chastain <mec@shout.net>
13364
13365 * gdb.base/gdb1090.exp: New file.
13366 * gdb.base/gdb1090.cc: New file.
13367
5b2a3989
JB
133682003-03-27 J. Brobecker <brobecker@gnat.com>
13369
13370 * gdb.gdb/observer.exp: New regression test.
13371
79876890
MC
133722003-03-27 Michael Chastain <mec@shout.net>
13373
13374 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13375 * gdb.base/ptype.exp: Likewise.
13376
6eac95e3
CV
133772003-03-27 Corinna Vinschen <vinschen@redhat.com>
13378
13379 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13380
e8c71839
MC
133812003-03-26 Michael Chastain <mec@shout.net>
13382
13383 * gdb.base/ptype.exp: Actually use some typedef'd types.
13384
71b10041
SC
133852003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13386
13387 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13388 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13389
2512cf80
CV
133902003-03-20 Corinna Vinschen <vinschen@redhat.com>
13391
13392 * gdb.base/default.exp: Fix regular expression.
13393
0d195a4f
CV
133942003-03-20 Corinna Vinschen <vinschen@redhat.com>
13395
13396 * gdb.base/args.exp: Fix regular expression.
13397
8a2dbca8
CV
133982003-03-20 Corinna Vinschen <vinschen@redhat.com>
13399
13400 * gdb.base/help.exp: Allow Win32 child process.
13401
bf028682
CV
134022003-03-20 Corinna Vinschen <vinschen@redhat.com>
13403
13404 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13405 when stepping out of main().
13406
182dbe85
CV
134072003-03-20 Corinna Vinschen <vinschen@redhat.com>
13408
13409 * gdb.base/default.exp: Check for win32 specific message when calling
13410 "run" without executable.
13411
d67a6ba5
CV
134122003-03-20 Corinna Vinschen <vinschen@redhat.com>
13413
13414 * gdb.base/args.exp: Expect .exe in output.
13415
a955b5bb
CV
134162003-03-20 Corinna Vinschen <vinschen@redhat.com>
13417
13418 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13419 Cygwin native.
13420
bf6bad4b
AC
134212003-03-17 Andrew Cagney <cagney@redhat.com>
13422
13423 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13424 vector registes.
13425 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13426 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13427
293e9a31
DC
134282003-03-17 David Carlton <carlton@math.stanford.edu>
13429
13430 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13431 test, for PR breakpoints/38.
13432 Call test_watchpoint_and_breakpoint.
13433 * gdb.base/watchpoint.c (func3): New function.
13434 (main): Call func3.
13435
5330f2db
DC
134362003-03-04 David Carlton <carlton@math.stanford.edu>
13437
13438 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13439 Garply<Garply<char> >:: garply".
13440 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13441 with respect to PR c++/1111; note also PR c++/1113.
13442 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13443 respect to PR c++/1062.
13444 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13445
6ece72da
DC
134462003-03-03 David Carlton <carlton@math.stanford.edu>
13447
13448 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13449 with respect to PR c++/57.
13450 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13451 c++/826.
13452 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13453 respect to PR c++/57.
13454
85ca1584
DC
134552003-03-03 David Carlton <carlton@math.stanford.edu>
13456
13457 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13458 respect to PR c++/33 into FAILs.
13459
98e9c5b8
MC
134602003-03-03 Michael Chastain <mec@shout.net>
13461
7bedbf27
MC
13462 * configure.in: Update copyright years.
13463
134642003-03-03 Michael Chastain <mec@shout.net>
13465
13466 * Makefile.in: Update copyright years.
98e9c5b8 13467
f683e100
DC
134682003-02-28 David Carlton <carlton@math.stanford.edu>
13469
13470 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13471 print class instead of struct and/or superfluous protection
13472 specifiers, as long as the resulting output is equivalent to the
13473 source code.
13474 Delete FIXME from end of messages on tests that don't need
13475 fixing.
13476
a9e0cf2c
DC
134772003-02-28 David Carlton <carlton@math.stanford.edu>
13478
13479 * gdb.c++/templates.exp (do_tests): Allow const in the two
13480 Foo<volatile char *>::foo tests.
13481
e8d359df
MS
134822003-02-27 Michael Snyder <msnyder@redhat.com>
13483
d63a86f8 13484 * gdb.base/restore.c (main): Return zero, so exit code
e8d359df
MS
13485 will be consistant.
13486
0b71dc91
DC
134872003-02-26 David Carlton <carlton@math.stanford.edu>
13488
13489 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13490 char *>::foo" test with respect to PR c++/33. Create a new test
13491 which is identical to that one except that it doesn't put the
13492 space between the "char" and the "*"; KFAIL it, too.
13493
dd14ab43
DC
134942003-02-26 David Carlton <carlton@math.stanford.edu>
13495
13496 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13497 template types into either PASSes or KFAILs (corresponding to PR
13498 c++/57). Tweak indentation. Update copyright.
13499
1146c7f1
SC
135002003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13501
13502 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13503
74641dfb
MC
135042003-02-13 Michael Chastain <mec@shout.net>
13505
13506 * gdb.base/exprs.exp: Remove i960 remnants.
13507 * gdb.base/funcargs.exp: Likewise.
13508 * gdb.base/list.exp: Likewise.
13509 * gdb.base/ptype.exp: Likewise.
13510
559cd2d0
DC
135112003-02-14 David Carlton <carlton@math.stanford.edu>
13512
13513 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13514 pEe->D::vg()" from XFAIL to KFAIL.
13515
c4f90d87
JM
135162003-02-13 Jason Molenda (jmolenda@apple.com)
13517
13518 * gdb.base/maint.exp: Update maint print statistics regexp to include
13519 new entries.
13520
cbc4d97c
MC
135212003-02-13 Michael Chastain <mec@shout.net>
13522
13523 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13524
40f235b7
MC
135252003-02-12 Michael Chastain <mec@shout.net>
13526
13527 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13528 * gdb.c++/inherit.exp: Likewise.
13529 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13530 * gdb.c++/templates.exp: Likewise.
13531 * gdb.c++/virtfunc.exp: Likewise.
13532
c56716b0
JM
135332003-02-06 Jason Molenda (jason-cl@molenda.com)
13534
13535 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13536 why the code is written that way.
13537
070afcf8
MC
135382003-02-05 Michael Chastain <mec@shout.net>
13539
13540 * gdb.base/dump.exp: Add missing copyright line.
13541
5d0331e5
JM
135422003-02-05 Jason Molenda (jason-cl@molenda.com)
13543
f7ae6d3e 13544 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
13545 at the beginning so the breakpoint doesn't get set on the loop.
13546
92851186
MC
135472003-02-05 Michael Chastain <mec@shout.net>
13548
13549 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13550 output for configurations with gcc 2.95.3.
13551
cbf1e085
AC
135522003-02-05 Keith Seitz <keiths@redhat.com>
13553 Andrew Cagney <ac131313@redhat.com>
13554
13555 * gdb.mi/mi-cli.exp: New file.
d63a86f8 13556
29518e1e
MC
135572003-02-04 Michael Chastain <mec@shout.net>
13558
13559 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13560 Call perror and then continue.
13561
5af1d5f3
MC
135622003-02-03 Michael Chastain <mec@shout.net>
13563
13564 * gdb.c++/pr-1023.cc: New file.
13565 * gdb.c++/pr-1023.exp: New file.
13566
6b549786
JB
135672003-02-05 Jim Blandy <jimb@redhat.com>
13568
13569 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13570 it's local to foobar. Check for it there, and check that it's not
13571 present in main.
13572 * gdb.c++/local.cc (marker2): New function.
13573 (foobar): Call marker1.
13574 (main): Call marker2 instead of marker1.
13575
67f16606
AC
135762003-02-04 Andrew Cagney <ac131313@redhat.com>
13577
13578 * gdb.disasm/mn10200.exp: Obsolete file.
13579 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13580 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13581 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13582
1c5cb38e
DC
135832003-02-04 David Carlton <carlton@math.stanford.edu>
13584
13585 * gdb.c++/overload.exp: Test intToChar(1).
13586 * gdb.c++/overload.cc (intToChar): New.
13587 (main): Call intToChar.
13588
d1fe6965
DC
135892003-02-03 David Carlton <carlton@math.stanford.edu>
13590
13591 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13592 'might_kfail' arg.
13593 KFAIL some of the continue_to_bp_overloaded calls, according to
13594 PR c++/1025.
13595
9ba61c5d
MC
135962003-02-01 Michael Chastain <mec@shout.net>
13597
13598 * gdb.base/advance.c (marker1): New marker function.
13599 * gdb.base/advance.exp: When the 'advance' command lands on the
13600 return breakpoint, it can legitimately stop on either the
13601 current line or the next line. Accommodate both outcomes.
13602 * gdb.base/until.exp: Likewise.
13603
e7494ffb
AC
136042003-02-02 Andrew Cagney <ac131313@redhat.com>
13605
13606 2002-11-10 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
13607 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13608 now a list, not a tuple.
13609 * gdb.mi/mi-var-display.exp: Ditto.
13610 * gdb.mi/gdb792.exp: Ditto.
e7494ffb 13611
075559bc
AC
136122003-02-01 Andrew Cagney <ac131313@redhat.com>
13613
13614 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
a9c64011
AS
13615 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13616 stack backtraces.
13617 * gdb.mi/mi-syn-frame.c: Part of same.
075559bc 13618
2bd4c7b1
MK
136192003-02-01 Mark Kettenis <kettenis@gnu.org>
13620
13621 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13622 gdb.mi/mi1-pthreads.exp: Return instead of calling
13623 gdb_suppress_entire_file.
13624
eabd8992
MS
136252003-02-01 Mark Salter <msalter@redhat.com>
13626
13627 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13628
71469e2f
MS
136292003-01-31 Mark Salter <msalter@redhat.com>
13630
13631 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13632 Support empty arg.
13633
38a94d44
MC
136342003-01-30 Michael Chastain <mec@shout.net>
13635
13636 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13637 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13638 has been fixed in gdb/readline on 2003-01-09.
13639
19ea9e73
MS
136402003-01-29 Michael Snyder <msnyder@redhat.com>
13641
e8d359df
MS
13642 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13643 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
13644 * gdb.base/args.exp: Skip if target does not support args passing.
13645
2307bd6a
DJ
136462003-01-22 Daniel Jacobowitz <drow@mvista.com>
13647
19ea9e73 13648 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
13649 gdb_test. Accept a list of expect arguments as the third
13650 parameter.
13651 (gdb_test): Use it.
13652
f2dd3617
EZ
136532003-01-20 Elena Zannoni <ezannoni@redhat.com>
13654
13655 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13656 allow for different test tree configurations. Update some
13657 tescases accordingly.
13658 * gdb.arch/altivec-regs.exp: Ditto.
13659 * gdb.asm/asm-source.exp: Ditto.
13660 * gdb.base/advance.exp: Ditto.
13661 * gdb.base/display.exp: Ditto.
d63a86f8 13662 * gdb.base/long_long.exp: Ditto.
f2dd3617
EZ
13663 * gdb.base/mips_pro.exp: Ditto.
13664 * gdb.base/overlays.exp: Ditto.
13665 * gdb.base/relocate.exp: Ditto.
13666 * gdb.base/setshow.exp: Ditto.
13667 * gdb.base/step-line.exp: Ditto.
13668 * gdb.base/step-test.exp: Ditto.
13669 * gdb.base/until.exp: Ditto.
13670 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13671
c71cdefd
DC
136722003-01-17 David Carlton <carlton@math.stanford.edu>
13673
13674 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13675 corresponding to PR c++/945.
13676 Update copyright.
13677
fdba05d7
DC
136782003-01-17 David Carlton <carlton@math.stanford.edu>
13679
13680 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13681 corresponding to PR c++/68.
13682
136832003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
13684
13685 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13686 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13687 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13688
c362c33a
EZ
136892003-01-15 Elena Zannoni <ezannoni@redhat.com>
13690
0fbc361c
EZ
13691 * gdb.base/break.exp: Fix change of default location, because of
13692 removal of until tests.
13693 * gdb.base/help.exp: Update test for new 'until' help message.
13694 Add test for help on 'advance'.
a9c64011 13695 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
c362c33a 13696
dabf8a35
MK
136972003-01-15 Mark Kettenis <kettenis@gnu.org>
13698
13699 * gdb.base/default.exp: Adapt "info float" test for recent changes
13700 to that command. Add test for "info vector".
13701 * gdb.base/float.exp: New file. Add test for "info float" that
13702 resembles the old test in gdb.base/default.exp.
13703
a1769aca
DC
137042003-01-15 David Carlton <carlton@math.stanford.edu>
13705
13706 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13707
82025e13
EZ
137082003-01-15 Elena Zannoni <ezannoni@redhat.com>
13709
13710 * gdb.base/break.exp: Move the tests of until command from here...
13711 * gdb.base/until.exp: ... to here. New file. Add other tests.
13712 * gdb.base/advance.c: New file.
13713 * gdb.base/advance.exp: New file.
13714
8f9ab801
EZ
137152003-01-14 Elena Zannoni <ezannoni@redhat.com>
13716
a9c64011
AS
13717 * gdb.base/args.c: New file.
13718 * gdb.base/args.exp: New file.
8f9ab801 13719
9ae66589
DJ
137202003-01-14 Daniel Jacobowitz <drow@mvista.com>
13721
13722 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13723
8d77e5c3
DJ
137242003-01-14 Daniel Jacobowitz <drow@mvista.com>
13725
13726 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13727
12d2f0a1
DJ
137282003-01-14 Daniel Jacobowitz <drow@mvista.com>
13729
13730 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13731 dates.
13732
6ca37014
DJ
137332003-01-13 Daniel Jacobowitz <drow@mvista.com>
13734
13735 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13736
b0023472
DJ
137372003-01-13 Daniel Jacobowitz <drow@mvista.com>
13738
13739 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13740 (ptype &*"foo").
13741 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13742
607fbc54 137432003-01-13 Daniel Jacobowitz <drow@mvista.com>
d6abaea5
DJ
13744
13745 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13746 * gdb.mi/mi1-console.exp: Likewise.
13747
607fbc54 137482003-01-13 Daniel Jacobowitz <drow@mvista.com>
dfd536a7
DJ
13749
13750 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13751 * gdb.mi/mi1-console.exp: Likewise.
13752
a1fb14a2
DJ
137532003-01-13 Daniel Jacobowitz <drow@mvista.com>
13754
13755 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13756
c4cf40b7
DJ
137572003-01-09 Daniel Jacobowitz <drow@mvista.com>
13758
13759 * gdb.base/detach.exp: New test.
13760
696d5a5b
DJ
137612003-01-09 Daniel Jacobowitz <drow@mvista.com>
13762
13763 * Makefile.in (ALL_SUBDIRS): New variable.
13764 (subdirs, clean, distclean): Use it.
13765 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13766 regenerating Makefile, since it is generated from the top level.
13767 * gdb.asm/Makefile.in: Likewise.
13768 * gdb.base/Makefile.in: Likewise.
13769 * gdb.c++/Makefile.in: Likewise.
13770 * gdb.disasm/Makefile.in: Likewise.
13771 * gdb.java/Makefile.in: Likewise.
13772 * gdb.mi/Makefile.in: Likewise.
13773 * gdb.threads/Makefile.in: Likewise.
13774 * gdb.trace/Makefile.in: Likewise.
13775
754533e4
DC
137762003-01-09 David Carlton <carlton@math.stanford.edu>
13777
13778 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13779 Add copyright year 2003.
13780
d8b3e9ee
MC
137812003-01-06 Michael Chastain <mec@shout.net>
13782
13783 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13784 When selecting a thread, 'line' and 'file' are optional.
13785 * gdb.mi/mi1-pthreads.exp: Likewise.
13786
8e9e0fe6
AS
137872003-01-06 Andreas Schwab <schwab@suse.de>
13788
13789 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13790 failures.
13791
b5ab8ff3
DJ
137922003-01-04 Daniel Jacobowitz <drow@mvista.com>
13793
13794 Fix PR gdb/844
13795 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13796 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13797
13798 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13799 instead of calling gdb_suppress_entire_file.
13800 * gdb.threads/print-threads.exp: Likewise.
13801 * gdb.threads/schedlock.exp: Likewise.
13802
13803 * gdb.threads/killed.exp: Return instead of calling
13804 gdb_suppress_entire_file.
13805 * gdb.threads/linux-dp.exp: Likewise.
13806 * gdb.threads/pthreads.exp: Likewise.
13807
1e698235
DJ
138082003-01-04 Daniel Jacobowitz <drow@mvista.com>
13809
13810 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13811 stabs.
13812 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13813 * gdb.base/whatis.exp: Always allow (void) after function names.
13814
147ff08c
DJ
138152003-01-04 Daniel Jacobowitz <drow@mvista.com>
13816
13817 * gdb.c++/casts.exp: Correct regexp.
13818
dc62bfc2
MK
138192003-01-04 Mark Kettenis <kettenis@gnu.org>
13820
13821 * configure.in: Call AC_CONFIG_HEADER. Don't call
13822 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13823 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13824 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13825 aforementioned directories in the AC_OUPUT call.
13826 * config.hin: New file.
13827 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13828 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13829 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13830 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13831 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13832 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13833 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13834 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13835 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13836 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13837 gdb.threads/configure.in, gdb.threads/configure,
13838 gdb.threads/config.in, gdb.trace/configure.in,
13839 gdb.trace/configure: Removed.
13840
77afa639
MC
138412003-01-03 Michael Chastain <mec@shout.net>
13842
13843 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13844 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13845
7634bb6e
DJ
138462003-01-03 Daniel Jacobowitz <drow@mvista.com>
13847
13848 * gdb.base/store.exp: Fix regular expressions.
13849
b39c905e
MK
138502002-12-28 Mark Kettenis <kettenis@gnu.org>
13851
13852 * configure.in: Rewrite.
13853 * configure: Regenerated.
13854
0a8551dd
DC
138552003-01-03 David Carlton <carlton@math.stanford.edu>
13856
13857 * gdb.base/psymtab.exp: New file.
13858 * gdb.base/psymtab1.c: Ditto.
13859 * gdb.base/psymtab2.c: Ditto.
13860
c60b7188
AF
138612002-12-23 Adam Fedor <fedor@gnu.org>
13862
13863 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13864
ee73db83
DC
138652002-12-23 David Carlton <carlton@math.stanford.edu>
13866
13867 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13868 and current_directory initialization.
13869
d6c1774e
JB
138702002-12-22 Jim Blandy <jimb@redhat.com>
13871
f0a847b8
JB
13872 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13873 rather than as part of the output file name.
13874
d6c1774e
JB
13875 * gdb.base/attach.exp: There's no need to copy the test program to
13876 /tmp; that was only ever necessary on HP/UX, and this test is
13877 entirely disabled there anyway.
13878
f0708dbb
JB
138792002-12-21 Jim Blandy <jimb@redhat.com>
13880
4c2acfea
JB
13881 * gdb.c++/psmang.exp: Doc fix.
13882
f0708dbb
JB
13883 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13884 test.
13885
9579e000
DC
138862002-12-20 David Carlton <carlton@math.stanford.edu>
13887
13888 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13889
d1810171
MC
138902002-12-18 Michael Chastain <mec@shout.net>
13891
13892 * gdb.c++/annota2.exp: Add copyright year 2002.
13893
76565097
DC
138942002-12-17 David Carlton <carlton@math.stanford.edu>
13895
13896 * gdb.c++/try_catch.cc: Add marker comments.
13897 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
13898 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
13899 * gdb.c++/m-static.cc: Ditto.
13900 * gdb.c++/m-static1.cc: Ditto.
13901 * gdb.c++/try_catch.cc: Ditto.
13902
da81390b
JJ
139032002-12-16 Jeff Johnston <jjohnstn@redhat.com>
13904
13905 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
13906 to see whether we are using the new -environment-directory
13907 command which resets via -r or the old version of the command
13908 which may prompt the user. Part of fix for gdb/741.
13909
b304d130
AC
139102002-12-13 Andrew Cagney <ac131313@redhat.com>
13911
13912 * gdb.fortran/types.exp: Update obsolete comment.
13913 * gdb.fortran/exprs.exp: Ditto.
13914 * lib/gdb.exp: Delete obsolete code.
13915 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
13916 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
13917 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
13918 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
13919 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
13920 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
13921 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
13922 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
13923 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
13924 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
13925 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
13926 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
13927 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
13928 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
13929 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
13930 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
13931 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
13932 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
13933 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
13934 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
13935 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
13936 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
13937 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
13938 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
13939 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
13940 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
13941 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
13942 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
13943 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
13944 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
13945 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
13946 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
13947 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
13948 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
13949 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
13950 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
13951 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
13952
a23b6e6a
DC
139532002-12-11 David Carlton <carlton@math.stanford.edu>
13954
13955 * gdb.c++/m-data.exp: Add test for members that shadow global
13956 variables: see PR gdb/804.
13957 * gdb.c++/m-data.cc: Ditto.
13958
6604731b
DJ
139592002-12-10 Daniel Jacobowitz <drow@mvista.com>
13960
13961 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
13962
de46ecd7
DC
139632002-12-06 David Carlton <carlton@math.stanford.edu>
13964
13965 * gdb.base/store.c: Don't declare functions static.
13966
27e829d0
AC
139672002-12-04 Andrew Cagney <ac131313@redhat.com>
13968
13969 * gdb.base/store.exp, gdb.base/store.c: New files.
13970
92806416
DJ
139712002-12-03 Daniel Jacobowitz <drow@mvista.com>
13972
13973 * gdb.base/selftest.exp: Update for current gdb.
13974
3bcbaac5
DJ
139752002-12-03 Daniel Jacobowitz <drow@mvista.com>
13976
13977 * gdb.base/maint.exp: Only dump symbols from one source file
13978 or objfile.
13979
f4f00b1f
DJ
139802002-12-03 Daniel Jacobowitz <drow@mvista.com>
13981
13982 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13983 function call.
13984
f1c8a949
JB
139852002-11-25 Jim Blandy <jimb@redhat.com>
13986
13987 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
13988 function appearing in error message.
13989
9e297a97
DJ
139902002-11-21 Daniel Jacobowitz <drow@mvista.com>
13991
13992 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
13993
1f312e79
JJ
139942002-11-08 Jeff Johnston <jjohnstn@redhat.com>
13995
d63a86f8
RM
13996 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
13997 for mi1 and current mi is in correct format. New mi startup message
1f312e79
JJ
13998 should be in mi console format. This is part of fix for PR gdb/604.
13999
83c31e7d
FN
140002002-09-18 Fernando Nasser <fnasser@redhat.com>
14001
14002 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
14003 which explicitly prints the zero offset as "+0".
14004
322b3f65
DJ
140052002-10-22 Daniel Jacobowitz <drow@mvista.com>
14006
14007 * gdb.threads/schedlock.c (args): Make unsigned.
14008
140092002-10-21 Daniel Jacobowitz <drow@mvista.com>
14010
14011 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
14012 numbers. Allow "foo2|selected stack frame".
14013 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
14014 * gdb.asm/asmsrc2.s: Likewise.
14015 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
14016 comments.
14017 * gdb.asm/mips.inc: New file.
14018
5e2fe5b8
AF
140192002-10-18 Adam Fedor <fedor@gnu.org>
14020
14021 * gdb.base/default.exp: Update expected output to include 'ObjC'.
14022 * gdb.base/help.exp: Likewise.
14023
abe1a5d0
KB
140242002-10-17 Kevin Buettner <kevinb@redhat.com>
14025
14026 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
14027 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
14028
10abb1d4
JB
140292002-10-02 Jim Blandy <jimb@redhat.com>
14030
14031 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
14032
1f609b42
AC
140332002-10-01 Andrew Cagney <ac131313@redhat.com>
14034
14035 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
14036 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
14037 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
14038 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
14039 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
14040 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
14041 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
14042
0aee02e4
AC
140432002-09-29 Andrew Cagney <ac131313@redhat.com>
14044
14045 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
14046 * mi0-disassemble.exp, mi0-eval.exp: Delete.
14047 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
14048 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
14049 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
14050 * mi0-var-block.exp, mi0-var-child.exp: Delete.
14051 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
d63a86f8 14052
6fde09ad
KB
140532002-09-27 Kevin Buettner <kevinb@redhat.com>
14054
14055 * gdb.base/annota1.exp (info break): Make directory components of
14056 path optional since not all compilers emit this debug information.
14057
889bf7c5
PA
14058 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
14059 step ends up stepping out of the function instead of stopping on
14060 the epilogue.
6fde09ad 14061
9e8aab75
KS
140622002-09-26 Keith Seitz <keiths@redhat.com>
14063
14064 * lib/insight-support.exp (gdbtk_start): Figure out where
14065 the insight executable is based on where gdb is. Use this
14066 executable to start insight instead of gdb.
14067
e36180d7
AC
140682002-09-25 Andrew Cagney <cagney@redhat.com>
14069
14070 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
14071
9dd34b2b
AC
140722002-09-24 Andrew Cagney <ac131313@redhat.com>
14073
14074 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
14075 test_isolated_complaints.
14076 (test_empty_complaint): New function.
14077 (test_empty_complaints): New function. Check no output when no
14078 complaints.
d63a86f8 14079
dea97812
KB
140802002-09-19 Jim Blandy <jimb@redhat.com>
14081
a9c64011 14082 * gdb.base/charset.exp, gdb.base/charset.c: New files.
dea97812 14083
54951bd7
AC
140842002-09-19 Andrew Cagney <ac131313@redhat.com>
14085
14086 * gdb.gdb/complaints.exp: New file.
14087
dec43320
AC
140882002-09-18 Andrew Cagney <ac131313@redhat.com>
14089
14090 * gdb.base/maint.exp: Check `help maint internal-warning'.
14091
e70d6e3f
DC
140922002-09-18 David Carlton <carlton@math.stanford.edu>
14093
14094 * gdb.c++/m-static.exp: Remove breakpoints depending on line
14095 numbers, and replace them by a single breakpoint after the
14096 constructors are all finished.
14097 Add test 4.
14098 * gdb.c++/m-static.cc: Add test 4.
14099 * gdb.c++/m-static.h: New file.
14100 * gdb.c++/m-static1.cc: New file.
14101
14102 * gdb.c++/printmethod.exp: New file.
14103 * gdb.c++/printmethod.cc: New file.
14104
14105 * gdb.c++/pr-574.exp: New file.
14106 * gdb.c++/pr-574.cc: New file.
14107
afb5c968
CV
141082002-09-18 Corinna Vinschen <vinschen@redhat.com>
14109
14110 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
14111 embedded targets which never actually exit.
14112
31e45dee
FN
141132002-09-18 Fernando Nasser <fnasser@redhat.com>
14114
14115 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
14116 "don't step after run" as unresolved or unsupported, instead of xfail.
14117
a283c5a1
CV
141182002-09-18 Corinna Vinschen <vinschen@redhat.com>
14119
14120 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
14121 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
14122 Add newline to expected string in "step out of main (status wrapper)"
14123 case.
14124
11350d2a
CV
141252002-09-18 Corinna Vinschen <vinschen@redhat.com>
14126
14127 * lib/gdb.exp (rerun_to_main): Allow restarting application.
14128 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
14129
0deec7d6
TT
141302002-09-17 Tom Tromey <tromey@redhat.com>
14131
14132 * gdb.base/printcmds.exp (test_print_string_constants): Expect
14133 \000, not \0, in double-quoted string.
14134
b2b4a1b5
CV
141352002-09-14 Corinna Vinschen <vinschen@redhat.com>
14136
c9d37158 14137 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
14138 string after running the commands execution on breakpoint tests.
14139
1c56143a
CV
141402002-09-13 Corinna Vinschen <vinschen@redhat.com>
14141
14142 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
14143
37f8da45
JB
141442002-09-12 Joel Brobecker <brobecker@gnat.com>
14145
14146 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
14147
08b468e0
KS
141482002-09-10 Keith Seitz <keiths@redhat.com>
14149
14150 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
14151 runto proc.
14152 (mi_run_to_main): Use mi_runto.
14153 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
14154
dc360f58
KS
141552002-09-10 Keith Seitz <keiths@redhat.com>
14156
14157 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
14158 regexp for stopping at main. Could have multiple event notifications.
14159 Don't assume that main was declared with no parameters.
14160 (mi_next): Use mi_step_to.
14161 (mi_step): Use mi_next_to.
14162
ce3abcfb
CV
141632002-09-09 Corinna Vinschen <vinschen@redhat.com>
14164
14165 * gdb.base/default.exp: Fix expected string in `info float' test.
14166
d1f5b980
BE
141672002-09-09 Ben Elliston <bje@redhat.com>
14168
14169 * config/mips.exp: Update comments.
14170 * config/mips-idt.exp: Likewise.
14171 * config/nind.exp: Likewise.
14172 * config/slite.exp: Likewise.
14173 * config/sparclet.exp: Likewise.
14174 * config/udi.exp: Likewise.
14175 * config/vx.exp: Likewise.
14176 * config/vxworks29k.exp: Likewise.
14177
2f71430b
JB
141782002-09-05 Jim Blandy <jimb@redhat.com>
14179
14180 * gdb.threads/killed.exp: Fix test failure message.
14181
7ddebc7e
KS
141822002-09-04 Keith Seitz <keiths@redhat.com>
14183
14184 * lib/mi-support.exp: Update copyright.
14185 (mi_gdb_test): Increase the priority of the expected pattern
14186 so that it matches gdb_test.
14187
0ae67eb3
KS
141882002-09-03 Keith Seitz <keiths@redhat.com>
14189
14190 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
14191 Use integer comparison instead of string comparison for testing
14192 whether binary was built.
14193
38fc42c8
JB
141942002-09-03 Jim Blandy <jimb@redhat.com>
14195
14196 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
14197
b6ff0e81
JB
141982002-08-29 Jim Blandy <jimb@redhat.com>
14199
14200 * gdb.threads/pthreads.exp: Move the portable thread compilation
14201 code into a function in lib/gdb.exp, and call that from here.
14202 * lib/gdb.exp (gdb_compile_pthreads): New function.
14203
07c98896
KS
142042002-08-29 Keith Seitz <keiths@redhat.com>
14205
14206 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
14207 expect_out so that callers can get at it.
14208
0312286c
DJ
142092002-08-23 Daniel Jacobowitz <drow@mvista.com>
14210
14211 * gdb.threads/print-threads.c: New file.
14212 * gdb.threads/print-threads.exp: New file.
14213 * gdb.threads/schedlock.c: New file.
14214 * gdb.threads/schedlock.exp: New file.
14215
dd039bc4
EZ
142162002-08-22 Elena Zannoni <ezannoni@redhat.com>
14217
a9c64011
AS
14218 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
14219 not altivec.c.
dd039bc4 14220
1f36144c
MK
142212002-08-17 Mark Kettenis <kettenis@gnu.org>
14222
14223 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
14224 targets. The problem should be fixed now.
14225
16057ec7 142262002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
14227
14228 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
14229 2002-07-24 change that removes final dots from error messages.
14230
3c1499ad
TT
142312002-08-13 Tom Tromey <tromey@redhat.com>
14232
14233 * gdb.base/readline.exp: New file.
14234
a20ce2c3
AC
142352002-08-01 Andrew Cagney <ac131313@redhat.com>
14236
14237 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
14238 supress message.
14239
db034ac5
AC
142402002-08-01 Andrew Cagney <cagney@redhat.com>
14241
14242 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
14243 CHILL_FOR_TARGET and CHILL_LIB.
14244 * configure.in (configdirs): Remove gdb.chill.
14245 * configure: Regenerate.
14246 * lib/gdb.exp: Obsolete references to chill.
14247 * gdb.fortran/types.exp: Ditto.
14248 * gdb.fortran/exprs.exp: Ditto.
14249
3e000b18
KB
142502002-07-30 Kevin Buettner <kevinb@redhat.com>
14251
14252 * gdb.base/shlib-call.exp (additional_flags): Conditionally
14253 set Irix-specific compile and link flags.
14254
28f4966b
KB
142552002-07-29 Kevin Buettner <kevinb@redhat.com>
14256
14257 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
14258 source files. The ``-o'' option doesn't work with the ``-E'' option
14259 when using the Irix compiler.
14260
46c0d5a6
DJ
142612002-07-19 Daniel Jacobowitz <drow@mvista.com>
14262
14263 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
14264 Improve support for reusing an exec file. Copy exec file
14265 to target, and run gdbserver on the target instead of on the host.
14266
eecf4bed
JB
142672002-07-18 Jim Blandy <jimb@redhat.com>
14268
0f815cdf
JB
14269 * gdb.base/ending-run.exp: Don't expect to see the program end in
14270 some orderly fashion when we're running on a real stand-alone
14271 board.
14272
eecf4bed
JB
14273 * gdb.base/interrupt.exp: Correct logic for skipping tests on
14274 targets that don't support interrupts.
14275
52d309e4
JB
142762002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
14277
14278 * gdb.base/attach.exp: Add patterns to match output from /proc-based
14279 systems.
14280 Move comments in expect statements to inside the actions, so that they
14281 don't get matched against.
14282
ff683d9e
MK
142832002-07-10 Mark Kettenis <kettenis@gnu.org>
14284
14285 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
14286 function when asleep" test.
14287
b5356753
AC
142882002-07-10 Andrew Cagney <ac131313@redhat.com>
14289
14290 * gdb.base/page.exp: Rewrite to handle problems with very long
14291 `info set' output. Update copyright.
14292
6aa4d13a
AC
142932002-06-26 Andrew Cagney <ac131313@redhat.com>
14294
14295 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
14296 gdb.threads-hp.
14297 * gdb.hp/configure: Regenerate.
14298 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
14299 * gdb.hp/gdb.threads-hp/configure: Delete file.
14300 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
14301
8cf8c2b8
AC
143022002-06-22 Andrew Cagney <ac131313@redhat.com>
14303
14304 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
14305 setlocale, bindtextdomain and textdomain.
14306
6827a8f8
JB
143072002-06-11 Jim Blandy <jimb@redhat.com>
14308
919d772c
JB
14309 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
14310 preprocessor macro information is present.
14311
6827a8f8
JB
14312 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
14313 tests.
14314
c15b0d21
MS
143152002-06-06 Michael Snyder <msnyder@redhat.com>
14316
c5984d70
MS
14317 * gdb.base/overlays.exp: Record addresses of overlay
14318 functions in TCL variables rather than in GDB variables,
14319 to avoid having GDB convert them to pointers (with loss
14320 of information).
14321
d63a86f8 14322 * gdb.base/d10v.ld: Merge in several years worth of
99a8512b 14323 default linker script changes.
c15b0d21
MS
14324 * gdb.base/long_long.exp: Add check for sizeof (long double).
14325
be26fe0d
ML
143262002-06-06 Michal Ludvig <mludvig@suse.cz>
14327
14328 * gdb.asm/asm-source.exp: Add x86-64 target.
14329 * gdb.asm/x86_64.inc: New.
d63a86f8 14330
258093ca 143312002-05-30 Michael Chastain <mec@shout.net>
258093ca 14332
4b3153f1 14333 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
14334 * gdb.c++/m-static.cc: New file.
14335 * gdb.c++/m-static.exp: New file.
14336
241264c6
MS
143372002-05-28 Michael Snyder <msnyder@redhat.com>
14338
14339 * gdb.base/call-ar-st.exp: Allow for reduced floating point
14340 precision.
14341
9bba8c8f 143422002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 14343
4b3153f1 14344 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
14345 * gdb.c++/m-data.cc: New file.
14346 * gdb.c++/m-data.exp: New file.
14347
143482002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 14349
4b3153f1 14350 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f 14351 * gdb.c++/try_catch.cc: New file.
d63a86f8 14352 * gdb.c++/try_catch.exp: New file.
9bba8c8f 14353
def1b996
MC
143542002-05-27 Michael Chastain <mec@shout.net>
14355
14356 * gdb.c++/local.exp: Accept more nested types in output.
14357
522ba268
MC
143582002-05-26 Michael Chastain <mec@shout.net>
14359
14360 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
14361
277254ba
MS
143622002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
14363
14364 * lib/gdb.exp (gdb_wrapper_init): Just because
14365 gdb_wrapper_file exists, this does not mean that the file
14366 should not be rebuilt. That is what gdb_wrapper_initialized
14367 is for.
14368 (default_gdb_init): Reset gdb_wrapper_initialized.
14369
b61a8733
MS
143702002-05-23 Michael Snyder <msnyder@redhat.com>
14371
d63a86f8 14372 * gdb.base/all-bin.exp: Revise previous patch by just reducing
5bdb6d01
MS
14373 the precision of the floating point test results.
14374 * gdb.base/call-rt-st.exp: Ditto.
14375
b61a8733
MS
14376 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14377 * gdb.base/call-rt-st.exp: Ditto.
14378
56f6e910
MC
143792002-05-19 Michael Chastain <mec@shout.net>
14380
14381 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14382
ad0b0016
EZ
143832002-05-19 Elena Zannoni <ezannoni@redhat.com>
14384
a9c64011
AS
14385 * configure.in (configdirs): Add gdb.arch.
14386 * configure: Regenerate.
ad0b0016 14387
f617d2b6
JB
143882002-05-17 Jim Blandy <jimb@redhat.com>
14389
14390 * gdb.base/completion.exp: Recognize the more detailed error
14391 messages produced by the macro expander's lexical analyzer.
14392
eac2a696
EZ
143932002-05-14 Elena Zannoni <ezannoni@redhat.com>
14394
a9c64011
AS
14395 * gdb.arch/altivec-abi.c: New file.
14396 * gdb.arch/altivec-abi.exp: New file.
14397 * gdb.arch/altivec-regs.c: New file.
14398 * gdb.arch/altivec-regs.exp: New file.
eac2a696 14399
2fdde8f8
DJ
144002002-05-14 Daniel Jacobowitz <drow@mvista.com>
14401
14402 * gdb.base/maint.exp (maint print type): Update for new type
14403 structure.
d63a86f8 14404
e31f1a7c
EZ
144052002-05-14 Elena Zannoni <ezannoni@redhat.com>
14406
14407 * gdb.arch: New directory.
14408 * gdb.arch/configure.in: New file.
14409 * gdb.arch/configure: New file.
14410 * gdb.arch/Makefile.in: New file.
14411
db589741
CV
144122002-05-13 Corinna Vinschen <vinschen@redhat.com>
14413
14414 * gdb.asm/asm-source.exp: Add v850 as supported target.
14415 * gdb.asm/v850.inc: New file.
14416
8ce2a7dc
DJ
144172002-05-13 Daniel Jacobowitz <drow@mvista.com>
14418
14419 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14420
df763c7f
DJ
144212002-05-12 Daniel Jacobowitz <drow@mvista.com>
14422
14423 * gdb.base/break.exp: Check 'break "marker2"'.
14424
377daeed
MS
144252002-05-10 Michael Snyder <msnyder@redhat.com>
14426
14427 * gdb.base/long_long.exp: Fix typo.
14428
c4b7bc2b
JB
144292002-05-10 Jim Blandy <jimb@redhat.com>
14430
ecac9a4e
JB
14431 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14432 a bug.
14433
c4b7bc2b
JB
14434 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14435 Recognize more detailed error message produced by the macro
14436 expander's lexical analyzer.
14437 * lib/gdb.exp (test_print_reject): Same.
14438
e71019a1
MK
144392002-05-09 Mark Kettenis <kettenis@gnu.org>
14440
14441 * gdb.c++/method.exp: Fix typo.
14442
fedfc8e6
MS
144432002-05-08 Michael Snyder <msnyder@redhat.com>
14444
166a1957
MS
14445 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14446 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 14447 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
14448 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14449 Add iftarget clause for strongarm.
d63a86f8 14450
f1c47eb2
MS
144512002-05-06 Michael Snyder <msnyder@redhat.com>
14452
cb9a9d3e
MS
14453 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14454 (gdb_continue_to_end): Accept output from status wrapper.
14455 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14456 Clean up fail messages to match pass messages.
14457
f1c47eb2
MS
14458 Enable the "needs_status_wrapper" testsuite feature.
14459 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14460 (gdb_compile): Conditionally call gdb_wrapper_init.
14461 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14462 * gdb.c++/method.exp: Recognize output from status wrapper.
14463
6079c749
BE
144642002-05-06 Ben Elliston <bje@redhat.com>
14465From Graydon Hoare <graydon@redhat.com>
14466
14467 * config/sid.exp: Include support for "rawsid" protocol.
14468
188baff3
JB
144692002-05-03 Jim Blandy <jimb@redhat.com>
14470
14471 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14472 * gdb.c++/hang3.C: New file.
14473
b9c07f0f
AC
144742002-05-04 Andrew Cagney <ac131313@redhat.com>
14475
14476 * gdb.base/default.exp: Remove obsolete code.
14477 * gdb.c++/misc.exp: Ditto. Update copyright.
14478 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14479 * gdb.base/whatis.exp: Ditto. Update copyright.
14480 * gdb.base/scope.exp: Ditto. Update copyright.
14481 * gdb.base/ptype.exp: Ditto. Update copyright.
14482 * gdb.base/printcmds.exp: Ditto. Update copyright.
14483 * gdb.base/opaque.exp: Ditto. Update copyright.
14484 * gdb.base/list.exp: Ditto.
14485 * gdb.base/funcargs.exp: Ditto. Update copyright.
14486 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14487 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14488 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14489 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14490 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14491 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14492
5c7a0397
MS
144932002-05-02 Michael Snyder <msnyder@redhat.com>
14494
d6dcc264 14495 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
14496 * gdb.base/long_long.exp: Add xscale target.
14497 * gdb.base/default.exp: Add xscale target.
14498
eb7f1c48
JB
144992002-05-01 Jim Blandy <jimb@redhat.com>
14500
14501 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14502 gdb.c++/hang.exp: New test.
14503
a6befae8
FF
145042002-05-01 Fred Fish <fnf@redhat.com>
14505
14506 * gdb.base/completion.exp: Handle completions of "./Make" for
14507 more than one completion possibility, as is the case when we
14508 build and test in the source tree.
14509
0a310277
AG
145102002-04-29 Anthony Green <green@redhat.com>
14511
14512 * gdb.java/jmisc1.exp: New file.
14513 * gdb.java/jmisc2.exp: New file.
14514
6ff9af88
DJ
145152002-04-24 Daniel Jacobowitz <drow@mvista.com>
14516
14517 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14518
96b3d632
EZ
145192002-04-23 Elena Zannoni <ezannoni@redhat.com>
14520
14521 * gdb.base/help.exp: Change 'help status' to allow for target
14522 dependent output differences.
14523
5019bb54
MC
145242002-04-22 Michael Chastain <mec@shout.net>
14525
14526 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14527
a805a116
MC
145282002-04-22 Michael Chastain <mec@shout.net>
14529
14530 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14531
a1706bfd
DM
145322002-04-17 David S. Miller <davem@redhat.com>
14533
14534 * gdb.asm/sparc64.inc: New file.
14535 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14536
a73a20a2
EZ
145372002-04-19 Elena Zannoni <ezannoni@redhat.com>
14538
14539 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14540 instruction file directly into the build tree. Clean up at end of
14541 test.
14542
ba678339
DM
145432002-04-18 David S. Miller <davem@redhat.com>
14544
14545 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14546 handle 64-bit platforms correctly.
14547 * gdb.base/maint.exp: Likewise.
14548
b03399da
KB
145492002-04-18 Kevin Buettner <kevinb@redhat.com>
14550
14551 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14552 ``-fpic'' when compiling files comprising a shared library, but
14553 it does need additional linker flags in order to find shared
14554 libraries at run time.
14555
e2004992
KB
145562002-04-18 Kevin Buettner <kevinb@redhat.com>
14557
14558 * gdb.base/cvexpr.c (use): New function.
14559 (main): Invoke use() on all global variables to prevent
14560 some linkers from deleting these otherwise unused symbols.
14561
d8937120
MC
145622002-04-17 Michael Chastain <mec@shout.net>
14563From David S. Miller <davem@redhat.com>
14564
14565 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14566 handle 64-bit platforms correctly.
14567
ffd61a58
MS
145682002-04-12 Michael Snyder <msnyder@redhat.com>
14569From Jim Blandy <jimb@redhat.com>
a9c64011 14570 * gdb.base/foo.c (foox): Remove section attribute; the linker
ffd61a58
MS
14571 script can handle this instead.
14572 * gdb.base/bar.c (barx): Same.
14573 * gdb.base/baz.c (bazx): Same.
14574 * gdb.base/grbx.c (grbxx): Same.
14575
14576 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14577 manager doesn't automatically unmap overlays unnecessarily.
14578
6b8426a6
MH
145792002-04-10 Martin M. Hunt <hunt@redhat.com>
14580
14581 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14582 stepping out of main.
14583
34af4875
MC
145842002-04-09 Michael Chastain <mec@shout.net>
14585
14586 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14587 scope so that the nested scope tests will make sense.
14588 * gdb.c++/local.exp: Write patterns that actually work with gcc
14589 (the HP patterns "were never known to work with gcc").
14590 Keep the old aCC patterns too.
14591
2d1676a0
DJ
145922002-04-09 Daniel Jacobowitz <drow@mvista.com>
14593
14594 * gdb.base/attach.exp: Correct target board test.
14595
3a63e3f9
MC
145962002-04-08 Michael Chastain <mec@shout.net>
14597
14598 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14599 in a const method. Add some xfail and fail cases for configurations
14600 that do not emit the "const ...".
14601
f18dabd2
MC
146022002-04-07 Michael Chastain <mec@shout.net>
14603
14604 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14605 Accept "A * const" and "const A * const" as type of "this".
14606 Fix spelling of getFunky throughout. Make messages uniform.
14607
0fcddd82
EZ
146082002-04-07 Elena Zannoni <ezannoni@redhat.com>
14609
a9c64011 14610 Work around for PR gdb/285:
0fcddd82
EZ
14611 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14612
16a8534a
EZ
146132002-04-07 Elena Zannoni <ezannoni@redhat.com>
14614
14615 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14616 instructions file at run time instead of configure time.
14617 Sometimes we run the test in a directory that is not the one we
14618 configured in.
14619 * gdb.asm/configure.in: Delete creation of symlink.
14620 * gdb.asm/configure: Regenerate.
14621
24181d81
JB
146222002-04-05 J. Brobecker <brobecker@gnat.com>
14623
14624 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14625 xfullpath () function.
14626
7cdb7107
DJ
146272002-04-04 Daniel Jacobowitz <drow@mvista.com>
14628
14629 * gdb.asm/Makefile.in: Correct dependencies.
14630
14631 * gdb.asm/powerpc.inc: New file.
14632 * gdb.asm/asm-source.exp: Add PowerPC.
14633 * gdb.asm/configure.in: Likewise.
14634 * gdb.asm/configure: Regenerated.
14635
a7d17088
DJ
146362002-04-04 Daniel Jacobowitz <drow@mvista.com>
14637
14638 * gdb.base/relocate.exp: New file.
14639 * gdb.base/relocate.c: New file.
14640
cd721503
FF
146412002-04-04 Fred Fish <fnf@redhat.com>
14642
14643 * gdb.base/step-test.exp: Update comment regarding stopping in
14644 memcpy/bcopy calls inserted as part of the compiler runtime.
14645
b22ad7a7
MS
146462002-04-04 Michael Snyder <msnyder@redhat.com>
14647
14648 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14649
5f279fa6
DJ
146502002-04-03 Daniel Jacobowitz <drow@mvista.com>
14651
14652 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14653 (gdb_expect): Remove $notransfer hack.
14654
dd0fd3ce
DJ
146552002-04-02 Daniel Jacobowitz <drow@mvista.com>
14656
14657 * gdb.c++/classes.exp ("calling method for small class"): Match
14658 updated register output.
14659
1e50cda1
DJ
146602002-03-30 Daniel Jacobowitz <drow@mvista.com>
14661
14662 Fix PR gdb/452
14663 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14664 when finished. Make gdb_file_cmd send "exec-file" when
14665 appropriate.
14666
24015922
DJ
146672002-03-30 Daniel Jacobowitz <drow@mvista.com>
14668
14669 * gdb.base/attach.exp: Remove extra setup_xfail.
14670
dd7dfd64
MS
146712002-03-26 Michael Snyder <msnyder@redhat.com>
14672
14673 * gdb.base/default.exp: Add tests for dump, append, and restore.
14674 * gdb.base/help.exp: Add tests for dump, append, and restore.
14675 * gdb.base/dump.exp: New file, test dump, append and restore.
14676 * gdb.base/dump.c: New file.
14677
48b2f8d7
MS
146782002-03-27 Michael Snyder <msnyder@redhat.com>
14679
d63a86f8 14680 * gdb.base/help.exp: Modify expect strings to reflect
48b2f8d7
MS
14681 clean-ups in help messages.
14682
05b4d525
FF
146832002-03-26 Fred Fish <fnf@redhat.com>
14684
14685 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14686 have debugging info for those functions and the compiler uses them
14687 internally to copy structs around.
14688
d7679631
FF
146892002-03-26 Fred Fish <fnf@redhat.com>
14690
14691 * gdb.base/list.exp: Revert the change made yesterday and add note
14692 about why we don't list the default lines for remote targets.
14693
523ac3f9
MS
146942002-03-25 Michael Snyder <msnyder@redhat.com>
14695
14696 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14697
754b2b8d
FF
146982002-03-25 Fred Fish <fnf@redhat.com>
14699
14700 * gdb.base/list.exp: This test works on remote targets so remove
14701 the short circuit for remote targets. Update copyright.
14702
33c3e192
FF
147032002-03-25 Fred Fish <fnf@redhat.com>
14704
14705 * gdb.base/attach.exp: Fix logic error that was suppressing this
14706 test for all non hppa*-*-hpux* targets, instead of the hp target.
14707 Move comments closer to the suppression point. Also now need to
14708 check that we are running natively.
14709
d43e73ee
MS
147102002-03-22 Michael Snyder <msnyder@redhat.com>
14711
882c8f02
MS
14712 * gdb.base/default.exp: Add test for gcore. Update copyright.
14713 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 14714
04c12f60
FF
147152002-03-06 Fred Fish <fnf@redhat.com>
14716
14717 * gdb.base/funcargs.c: Remove extraneous ';' character.
14718 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14719
b43df995
MC
147202002-03-04 Michael Chastain <mec@shout.net>
14721
14722 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14723 accommodate gcc v3 function signature.
14724 * gdb.mi/mi0-var-cmd-exp: Ditto.
14725
92362027
AC
147262002-02-24 Andrew Cagney <ac131313@redhat.com>
14727
14728 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14729 ``GNU/Linux'' or ``Linux kernel''
14730 * testsuite/gdb.threads/pthreads.c: Ditto.
14731
258ad32d
MC
147322002-02-24 Michael Chastain <mec@shout.net>
14733
14734 * gdb.threads/pthreads.c (thread1): Add a return statement.
14735 (thread2): Likewise.
14736 (foo): Likewise.
14737
04c3b3d4
MC
147382002-02-23 Michael Chastain <mec@shout.net>
14739
14740 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14741 to placate gcc.
14742
5a2a0a20
MC
147432002-02-23 Michael Chastain <mec@shout.net>
14744
14745 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14746 test "ptype bint". The test passes on all my stabs configurations.
14747
a640f7fc
JB
147482002-02-21 Jim Blandy <jimb@redhat.com>
14749
27924826
JB
14750 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14751 filename at a time, and watch for the ones we want to see.
14752
a640f7fc
JB
14753 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14754 types of pointers to prototyped functions.
14755
edcc8c75
AC
147562002-02-20 Andrew Cagney <ac131313@redhat.com>
14757
14758 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14759 signed, unsigned and straight char.
14760 (padding_char, padding_short, padding_int, padding_long,
14761 padding_long_long, padding_float, padding_double,
14762 padding_long_double): New global variables.
14763 (fill, fill_structs): New functions.
14764
14765 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14766 for correctly sized writes. Update copyright.
14767 (get_valueof): New procedure.
14768 (get_sizeof): Call get_valueof.
14769 (check_valueof): New procedure.
14770 (check_padding): New procedure.
14771
ac57ea44
MC
147722002-02-20 Michael Chastain <mec@shout.net>
14773
14774 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14775 to setup_xfail. Document some of the remaining calls.
14776
7a10c941
MC
147772002-02-18 Michael Chastain <mec@shout.net>
14778
14779 * gdb.c++/userdef.exp: Update copyright year.
14780
fb8acdcc
DJ
147812002-02-18 Daniel Jacobowitz <drow@mvista.com>
14782
14783 * gdb.c++/userdef.exp: Test overloaded operators properly.
14784 Remove xfails.
14785
fda6ae12
MS
147862002-02-14 Michael Snyder <msnyder@redhat.com>
14787
14788 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14789
676a0442
DJ
147902002-02-14 Daniel Jacobowitz <drow@mvista.com>
14791
14792 * gdb.base/a2-run.exp: Check for a remote target properly.
14793 * gdb.base/annota1.exp: Likewise.
14794 * gdb.base/list.exp: Likewise.
14795 * gdb.base/reread.exp: Likewise.
14796 * gdb.base/scope.exp: Likewise.
14797 * gdb.base/shlib-call.exp: Likewise.
14798 * gdb.base/term.exp: Likewise.
14799 * gdb.c++/annota2.exp: Likewise.
14800
78b4f468
RE
148012002-02-13 Richard Earnshaw <rearnsha@arm.com>
14802
14803 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14804
9a81ba51
MC
148052002-02-10 Michael Chastain <mec@shout.net>
14806
14807 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14808 (call_after_alloca): Ditto.
14809
004af6c7
DJ
148102002-02-10 Daniel Jacobowitz <drow@mvista.com>
14811
14812 * gdb.base/ending-run.exp: Guard "cont" test with
14813 gdb_skip_stdio_test.
14814
37225f62
JB
148152002-02-06 Jim Blandy <jimb@redhat.com>
14816
14817 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14818 from here...
14819 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14820 To here. Disable this test on non-HP platforms. Add big comment.
14821
fe6fdd96
MS
148222002-02-04 Michael Snyder <msnyder@redhat.com>
14823
14824 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14825 other than d10v and m32r.
14826
036fad3f
RE
148272002-02-02 Richard Earnshaw <rearnsha@arm.com>
14828
14829 * gdb.base/default.exp: Rewrite test patterns to reduce time
14830 taken to match them.
14831
7148ab62
DJ
148322002-01-30 Daniel Jacobowitz <drow@mvista.com>
14833
14834 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14835 Allow a start function above main.
14836 * gdb.threads/linux-dp.exp: Fix copyright date.
14837
396cc255
DJ
148382002-01-30 Daniel Jacobowitz <drow@mvista.com>
14839
a9c64011
AS
14840 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14841 (check_philosopher_stack): Check for manager thread before checking
14842 for a just-starting thread.
396cc255 14843
f038d31b
DJ
148442002-01-30 Daniel Jacobowitz <drow@mvista.com>
14845
14846 From Neil Booth <neil@daikokuya.demon.co.uk>:
14847 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14848 warnings.
14849
b3ff9d9a
FF
148502002-01-21 Fred Fish <fnf@redhat.com>
14851
14852 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14853 not caller.
14854
39ad761d
JB
148552002-01-21 Jim Blandy <jimb@redhat.com>
14856
14857 * gdb.base/reread.exp: Check that GDB properly re-reads the
14858 executable file when it changes while no inferior is running.
14859
aaf320fa
FF
148602002-01-21 Fred Fish <fnf@redhat.com>
14861
a9c64011
AS
14862 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14863 optionally accept the "shlib events" variation.
aaf320fa 14864
808a31f5
JB
148652002-01-21 Jim Blandy <jimb@redhat.com>
14866
14867 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
14868 call `fflush' after every `printf', so that the output is produced
14869 at predictable points, regardless of whatever buffering does (or
14870 doesn't) take place.
14871 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
14872 at different points.
14873
4420d5e2
DJ
148742002-01-20 Daniel Jacobowitz <drow@mvista.com>
14875
14876 * gdb.c++/inherit.exp: Update copyright years.
14877 * gdb.c++/method.exp: Likewise.
14878
3e36a0f4
DJ
148792002-01-20 Daniel Jacobowitz <drow@mvista.com>
14880
14881 * gdb.c++/classes.exp: Update for improved v3 support and skipping
14882 artificial methods/arguments.
14883 * gdb.c++/derivation.exp: Likewise.
14884 * gdb.c++/inherit.exp: Likewise.
14885 * gdb.c++/method.exp: Likewise.
14886 * gdb.c++/virtfunc.exp: Likewise.
14887
b4ceaee6
AC
148882002-01-18 Andrew Cagney <ac131313@redhat.com>
14889
14890 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
14891 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14892 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
14893 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
14894 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
14895 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
14896
ecace851
JB
148972002-01-17 Jim Blandy <jimb@redhat.com>
14898
14899 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14900 anchoring the pattern matching the entry point symbol's name.
14901
375fc983
AC
149022002-01-17 Andrew Cagney <ac131313@redhat.com>
14903
14904 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14905 continue/quit query. Update copyright.
14906
fe6fdd96
MS
149072002-01-14 Michael Snyder <msnyder@redhat.com>
14908
14909 * gdb.base/gcore.exp: Remove extra debugging output.
14910
e017c81f
DJ
149112002-01-13 Daniel Jacobowitz <drow@mvista.com>
14912
14913 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14914 for slightly dubious v2 mangled string.
14915
37ab3bf8
DJ
149162002-01-13 Daniel Jacobowitz <drow@mvista.com>
14917
14918 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14919
1bc05c3a 149202002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 14921
1bc05c3a 14922 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 14923
1bc05c3a
JM
14924 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
14925 constructors.
14926 * gdb.c++/derivation.exp: Likewise.
14927 * gdb.c++/templates.exp: Likewise.
14928 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 14929
1bc05c3a
JM
149302002-01-10 Michael Snyder <msnyder@redhat.com>
14931
14932 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 14933
a911c360
MS
149342002-01-08 Michael Snyder <msnyder@redhat.com>
14935
14936 * gdb.base/gcore.exp: New test for generate-core-file command.
14937 * gdb.base/gcore.c: Testcase for above.
14938 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
14939
ea2119ec
JM
149402002-01-08 Jason Merrill <jason@redhat.com>
14941
14942 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
14943
68203136
FF
149442002-01-07 Fred Fish <fnf@redhat.com>
14945
14946 * gdb.c++/overload.exp: Remove unconditional xfails for:
14947 print foo_instance1.overloadargs(1)
14948 print foo_instance1.overloadargs(1, 2)
14949 print foo_instance1.overloadargs(1, 2, 3)
14950 print foo_instance1.overloadargs(1, 2, 3, 4)
14951 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
14952 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
14953 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
14954 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
14955 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
14956 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
14957 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
14958 print foo_instance1.overload1arg()
14959 print foo_instance1.overload1arg((char)arg2)
14960 print foo_instance1.overload1arg((signed char)arg3)
14961 print foo_instance1.overload1arg((unsigned char)arg4)
14962 print foo_instance1.overload1arg((int)arg7)
14963 print foo_instance1.overload1arg((unsigned int)arg8)
14964 print foo_instance1.overload1arg((float)arg11)
14965 print foo_instance1.overload1arg((double)arg12)
d63a86f8 14966
21b9b5b1
MS
149672002-01-07 Michael Snyder <msnyder@redhat.com>
14968
14969 * gdb.base/huge.exp: New test. Print a very large target data object.
14970 (skip_huge_test): New test variable. Define if you want to skip this
14971 test. The test reads an 8 megabyte data object from the target, so it
14972 might be very time consuming on remote targets with a slow connection.
14973 * gdb.base/huge.c: New file. Test case for above.
14974
725f922e
FF
149752002-01-07 Fred Fish <fnf@redhat.com>
14976
14977 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
14978 g_instance.bfoo, and g_instance.cfoo.
14979
889bf7c5 149802002-01-07 Jeffrey A Law <law@redhat.com>
634d57ec 14981
889bf7c5
PA
14982 * gdb.base/break.c (multi_line_if_conditional): New function.
14983 (multi_ilne_while_conditional): Likewise.
14984 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
14985 IF or WHILE condition puts the breakpoint at the start of
14986 the condition.
f286b2c3 14987
634d57ec
JL
14988 * gdb.base/selftest.exp (backtrace through signal handler): Remove
14989 hppa*-*-hpux* expected failure.
14990 * gdb.base/structs.exp (do_function_calls): Similarly.
14991
14992 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
14993 watchpoints.
14994
9fbfe2dc
AC
149952002-01-06 Andrew Cagney <ac131313@redhat.com>
14996
14997 Fix PR gdb/66.
14998 * gdb.base/structs.exp: Replace skip for a29k with skip for
14999 gdb,cannot_call_functions.
15000 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
15001 * gdb.base/callfuncs.exp: Ditto.
15002 * gdb.base/call-rt-st.exp: Ditto.
15003 * gdb.base/call-strs.exp: Ditto.
15004 * gdb.base/callfwmall.exp: Ditto.
15005 * gdb.base/scope.exp: Obsolete xfail a29k.
15006 * gdb.c++/misc.exp: Ditto.
15007 * gdb.c++/cplusfuncs.exp: Ditto.
15008 * gdb.base/ptype.exp: Ditto.
15009 * gdb.base/printcmds.exp: Ditto.
15010 * gdb.base/opaque.exp: Ditto.
15011 * gdb.base/list.exp: Ditto.
15012 * gdb.base/funcargs.exp: Ditto.
15013 * gdb.base/default.exp: Ditto.
15014
8ddad156
MS
150152002-01-04 Michael Snyder <msnyder@redhat.com>
15016
ca4976a6 15017 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
15018 * gdb.base/maint.exp: Add tests for maint info sections options.
15019
1b074332
JL
15020Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
15021
15022 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
15023
7d159115
CV
150242001-12-20 Corinna Vinschen <vinschen@redhat.com>
15025
15026 * gdb.asm/arm.inc: New file.
15027 * gdb.asm/asm-source.exp: Add arm targets.
15028 * gdb.asm/configure.in: Ditto.
15029 * gdb.asm/configure: Recreated from configure.in.
15030
8fb87725
JL
15031Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
15032
afabe08c
JL
15033 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
15034 with HP's compiler.
15035 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
15036 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
15037 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
15038 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
15039
15040 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
15041 either HP's compilers or GCC.
15042
db521deb
JL
15043 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
15044 a SIGBUS or SIGSEGV.
15045
15046 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
15047
15048 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
15049 can be compiled with either HP's compiler or GCC.
15050
cfa88ab7
JL
15051 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
15052 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
15053 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
15054
ca344dff
JL
15055 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
15056 to match current gdb output. Update due to using auto-solib-limit
15057 for limiting instead of overloading auto-solib-add.
15058 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
15059 test program.
15060
3f3c6e55 15061 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
15062 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
15063 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
15064 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
15065 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
15066 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
15067 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
15068 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
15069 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
15070 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
15071 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
15072 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
15073 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 15074
8fb87725
JL
15075 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
15076 a SIGTRAP to the inferior.
15077
cf599fa7
CV
150782001-12-19 Corinna Vinschen <vinschen@redhat.com>
15079
15080 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
15081 Substitute call to target_link by call to gdb_compile.
15082
2cd045cd
JL
15083Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
15084
a9c64011
AS
15085 * gdb.base/break.exp: Fix HP specific search string when testing
15086 backtracing in a called function.
2cd045cd 15087
a9c64011
AS
15088 * gdb.base/constvars.exp: Only set lang to C++ if we're
15089 compiling the test with HP's compilers.
15090 * gdb.base/volatile.exp: Similarly.
2cd045cd 15091
99ebe9ac
JB
150922001-12-19 Jim Blandy <jimb@redhat.com>
15093
15094 * gdb.base/printcmds.exp: Expect the null character to be printed
15095 as '\0', and the '\013' to be printed as '\v'.
15096 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
15097 * gdb.base/setvar.exp: Same.
15098
b9891b29
JB
150992001-12-17 Jim Blandy <jimb@redhat.com>
15100
0eba65ab
JB
15101 * gdb.base/completion.exp: Rather than completing very long
15102 filenames, which can make the readline library produce output we
15103 don't recognize, cd to the directory first, and then complete
15104 using nice, short relative paths.
15105
6970b5b1
JB
15106 * gdb.base/completion.exp: On some systems, there is, in fact, a
15107 variable named `b' in scope, since GDB treats all static
a9c64011
AS
15108 variables as being in scope. So use `no_var_named_this'
15109 instead of `b'.
6970b5b1 15110
b9891b29 15111 * gdb.base/corefile.exp: Recognize the message saying that GDB
889bf7c5 15112 can't find the core file's registers as a failure.
b9891b29 15113
e6ccd35f
JSC
151142001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
15115
a9c64011
AS
15116 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
15117 test expect string more specific.
e6ccd35f 15118
105ba819
CV
151192001-12-13 Corinna Vinschen <vinschen@redhat.com>
15120
15121 * gdb.asm/asm-source.exp: Add support for xstormy16.
15122 * gdb.asm/configure.in: Ditto.
15123 * gdb.asm/configure: Rebuild.
15124 * gdb.asm/xstormy16.inc: New file.
15125
e9e79dd9
FF
151262001-12-10 Fred Fish <fnf@redhat.com>
15127
15128 * gdb.base/maint.exp: Update to match changes in type dumping code.
15129
347dc97d
JB
151302001-12-10 Jim Blandy <jimb@redhat.com>
15131
15132 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
889bf7c5
PA
15133 matching the entry point symbol's name at the beginning of the
15134 line.
347dc97d 15135
5178b9d6
DJ
151362001-12-07 Daniel Jacobowitz <drow@mvista.com>
15137
15138 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
15139 gdb.c++/inherit.exp, gdb.c++/method.exp,
15140 gdb.c++/namespace.exp, gdb.c++/templates.exp,
15141 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
15142 and class layout support.
15143
af890c52
DJ
151442001-12-07 Daniel Jacobowitz <drow@mvista.com>
15145
15146 * gdb.c++/classes.exp: Add test for static member function.
15147 * gdb.c++/misc.cc: Add class with static member function.
15148
7a345fb3
JB
151492001-12-07 Jim Blandy <jimb@redhat.com>
15150
f2e54a80 15151 If GDB says it can't find the struct the function returned, report
8032bf31
JB
15152 those tests as `unsupported'.
15153 * gdb.base/call-rt-st.exp (print_struct_call): New function.
15154 Rewrite subsequent tests to use it.
15155
15156 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
15157 those tests as `unsupported'.
15158 * gdb.base/structs.exp (call_struct_func): New function.
15159 (do_function_calls): Use call_struct_func to call the functions
15160 returning structs.
15161
0bc69509
JB
15162 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
15163 whether functions are prototyped or not, so we can't possibly pass
15164 arguments to t_float_values2 properly.
15165
7a345fb3
JB
15166 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
15167 value of `timeout' for targets other than the mips*tx39-*.
15168
edb6ede1
MS
151692001-12-06 Michael Snyder <msnyder@redhat.com>
15170
d63a86f8 15171 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
edb6ede1
MS
15172 and detect whether the start symbol has a leading underscore.
15173
2d842f13
JB
151742001-12-04 Jim Blandy <jimb@redhat.com>
15175
15176 * gdb.base/completion.exp: Clarify indentation.
15177
68550daf
JB
151782001-12-03 Jim Blandy <jimb@redhat.com>
15179
15180 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
15181 variables on the S/390, not `.word'.
15182
cd5195a8
JB
151832001-11-30 Jim Blandy <jimb@redhat.com>
15184
15185 Add assembly-source tests for s390-ibm-linux.
15186 * gdb.asm/s390.inc: New file.
15187 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
15188 the S/390 architecture.
a9c64011 15189 * gdb.asm/configure: Regenerated.
cd5195a8 15190
ca9efc90
MS
151912001-11-30 Michael Snyder <msnyder@redhat.com>
15192
15193 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
15194 next, info source, info sources, info line, global and static
15195 variables, and static functions.
15196 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
15197 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
15198 * gdb.asm/asmsrc1.s: Add a static function and some variables.
15199 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
15200 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
15201 (gdbasm_leave): Restore frame pointer.
15202 (gdbasm_startup): Copy stack set-up from crt0.S.
15203
d0e66976
FN
152042001-11-26 Fernando Nasser <fnasser@redhat.com>
15205
15206 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
15207 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
15208 to a local (non-static) variable. Copy tstruct.a to a static buffer
15209 and return a pointer to that buffer.
15210 * gdb.base/callfwmall.c (t_structs_a): Ditto.
15211
e2334072
MK
152122001-11-24 Mark Kettenis <kettenis@gnu.org>
15213
15214 * gdb.asm/configure.in: Fix recognition of ix86 target.
15215 * gdb.asm/configure: Regenerate.
15216
756caa3d
MS
152172001-11-21 Michael Snyder <msnyder@redhat.com>
15218
15219 * gdb.asm/sparc.inc: New file.
15220 * gdb.asm/asm-source.exp: Recognize sparc target.
15221 * gdb.asm/configure.in: Recognize sparc target.
15222 * gdb.asm/configure: Regenerate.
d63a86f8 15223
9a4d72d5
MS
152242001-11-21 Michael Snyder <msnyder@redhat.com>
15225
15226 * gdb.asm/m32r.inc: New file.
15227 * gdb.asm/asm-source.exp: Recognize m32r target.
15228 * gdb.asm/configure.in: Recognize m32r target.
15229 * gdb.asm/configure: Regenerate.
15230
a773d1cd
MS
152312001-11-20 Michael Snyder <msnyder@redhat.com>
15232
017ac23d
MS
15233 * gdb.asm/i386.inc: New file.
15234 * gdb.asm/asm-source.exp: Recognize ix86 target.
15235 * gdb.asm/configure.in: Recognize ix86 target.
15236 * gdb.asm/configure: Regenerate.
15237
a773d1cd
MS
15238 * gdb.c++/namespace.exp: Fix quotes in output messages.
15239
bb632afb
MS
152402001-11-14 Michael Snyder <msnyder@redhat.com>
15241
25d559ca 15242 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
15243 qualifier in a type cast expression, to designate an address
15244 in the instruction space (Harvard architecture).
15245
4749e309
MS
152462001-11-13 Michael Snyder <msnyder@redhat.com>
15247
15248 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
15249 Tests for expressions using 'const' and 'volatile'.
15250
25050984
CV
152512001-11-13 Corinna Vinschen <vinschen@redhat.com>
15252
15253 * gdb.asm/asm-sources.exp: Allow defining linker flags.
15254
1902c51f
DJ
152552001-11-12 Daniel Jacobowitz <drow@mvista.com>
15256
15257 * lib/mi-support.exp (mi_run_to_helper): Move comments
15258 outside of gdb_expect.
15259
dcf95b47
DJ
152602001-11-11 Daniel Jacobowitz <drow@mvista.com>
15261
15262 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
15263 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
15264 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
15265 mi0_run_to): New functions.
15266 * gdb.mi/mi-simplerun.exp: Use them.
15267 * gdb.mi/mi0-simplerun.exp: Likewise.
15268 * gdb.mi/mi-var-cmd.exp: Likewise.
15269 * gdb.mi/mi0-var-cmd.exp: Likewise.
d63a86f8 15270
45b074e1
AC
152712001-11-10 Andrew Cagney <ac131313@redhat.com>
15272
15273 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
15274 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
15275
bf50d346
AC
152762001-11-09 Andrew Cagney <ac131313@redhat.com>
15277
15278 * gdb.base/restore.exp: Include $expected value in restored test
15279 message.
15280
9383332c
AC
152812001-11-09 Andrew Cagney <ac131313@redhat.com>
15282
15283 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
15284 implemented.
15285
db62520a
MS
152862001-11-08 Michael Snyder <msnyder@redhat.com>
15287
15288 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
15289 Add pass/fail message for stop at breakpoint in call dummy function.
15290
b5703437
MS
152912001-11-07 Michael Snyder <msnyder@redhat.com>
15292
d63a86f8
RM
15293 * gdb.c++/templates.exp (test_template_breakpoints):
15294 If we get an overload menu, but it does not match what
760f6330 15295 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
15296 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
15297 making the whitespace optional. Argument for "new" may be
15298 "unsigned" as well as "unsigned int/long".
d63a86f8 15299 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
eef747c0
MS
15300 making the whitespace optional. Also replace "(void) with
15301 "((void|)), making the keyword "void" optional.
d63a86f8 15302 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
63f50499
MS
15303 making the whitespace optional. Also replace "(void) with
15304 "((void|)), making the keyword "void" optional.
3bf40917
MS
15305 * gdb.base/callfuncs.c (t_float_values): This function must
15306 _not_ be prototyped, and the following function (t_float_values2)
d63a86f8 15307 must be prototyped (if the compiler supports it), so that GDB
3bf40917
MS
15308 can be tested against both cases. Usually one case involves
15309 promotion of float to double, while the other does not.
15310 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
15311 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
15312 includes a stack frame for "start".
15313
c8ab4e6d
JB
153142001-11-05 Jim Blandy <jimb@redhat.com>
15315
15316 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
15317 pointers are 32 bits long, and that offsets of relocs are always
15318 stored in the data (REL-style), and not in the reloc entry itself
15319 (RELA-style).
15320 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
15321 stabs.
15322
3f08ced9
MS
153232001-11-01 Michael Snyder <msnyder@redhat.com>
15324
15325 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
15326 and regular expression operators by using quoting.
15327
cbfa24cd
MS
153282001-10-31 Michael Snyder <msnyder@redhat.com>
15329
15330 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
15331 depending on what the symbol table contains.
15332 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
15333 the output of the ptype command. Similarly, accept both "const &"
15334 and "const&".
15335
aaa68313
CV
153362001-10-31 Corinna Vinschen <vinschen@redhat.com>
15337
15338 * gdb.base/miscexprs.c (main): Add usage of preprocessor
15339 symbol `STORAGE' to allow to choose the storage class of
15340 the local datastructures.
15341 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
15342 compiler directive.
15343
91740388
MS
153442001-10-30 Michael Snyder <msnyder@redhat.com>
15345
15346 * gdb.base/jump.exp: Allow it to run for all targets.
15347
1b7c05e7
CV
153482001-10-29 Corinna Vinschen <vinschen@redhat.com>
15349
15350 * gdb.base/call-ar-st.c (print_double_array): Match for loop
15351 with new double_array size.
15352 (main): Change storage class of all local variables to static.
15353 Reduce size of double_array to 9.
15354 * gdb.base/call-ar-st.exp: Increase timeout value.
15355 Change expected output for double array to match new size in
15356 call-ar-st.c.
15357
36a22261
CV
153582001-10-29 Corinna Vinschen <vinschen@redhat.com>
15359
15360 * gdb.base/ending-run.exp: Create identical output when passing
15361 `step to end of run' case. Add regular expression branch satisfying
d63a86f8 15362 Stormy16 target.
36a22261 15363
92b8ae91
MK
153642001-10-28 Mark Kettenis <kettenis@gnu.org>
15365
15366 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
15367 that we catch the expected failure under Linux/x86.
15368
cb135b83
OF
153692001-10-29 Orjan Friberg <orjanf@axis.com>
15370
15371 * gdb.base/setvar.exp: Escape curly braces.
15372 * gdb.stabs/weird.exp: Ditto.
15373
6884aa54
DJ
153742001-10-27 Daniel Jacobowitz <drow@mvista.com>
15375
15376 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15377 * gdm.mi/mi0-hack-cli.exp: Likewise.
15378
0398c9aa
AC
153792001-10-25 Andrew Cagney <ac131313@redhat.com>
15380
15381 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15382 messages.
15383
d20bf2e8
AC
153842001-10-21 Andrew Cagney <ac131313@redhat.com>
15385
15386 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15387 checking MI enabled.
15388
03dd63aa
CV
153892001-10-09 Corinna Vinschen <vinschen@redhat.com>
15390
15391 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15392
1d9d99f3
FCE
153932001-10-04 Frank Ch. Eigler <fche@redhat.com>
15394
15395 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15396 if gdb child process crashes, just signal an error.
15397
838ae6c4
JB
153982001-10-02 Jim Blandy <jimb@redhat.com>
15399
15400 * lib/gdb.exp (test_xfail_format): Simplify.
15401
15402 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15403 front of the variable name `format'. Simplify `if'.
15404
8f0cbc1c
DJ
154052001-10-01 Daniel Jacobowitz <drow@mvista.com>
15406
15407 * gdb.threads/pthreads.exp: Wait for output and delay
15408 before sending ^C.
15409
1f08dafd
DJ
154102001-10-01 Daniel Jacobowitz <drow@mvista.com>
15411
15412 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15413 some incorrect output instead of timing out.
15414 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15415
674f90ff
CV
154162001-09-28 Corinna Vinschen <vinschen@redhat.com>
15417
15418 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15419 check to allow additional `int'.
15420
9b284272
DJ
154212001-09-27 Daniel Jacobowitz <drow@mvista.com>
15422
15423 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15424 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15425
b55a4771
MS
154262001-09-27 Michael Snyder <msnyder@redhat.com>
15427
15428 * lib/gdb.exp (test_debug_format): New proc.
15429 (setup_xfail_format): Use new proc test_debug_format.
15430 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15431 proc; use new service proc test_debug_format.
15432 Replace all other "gcc_compiled" tests with this test.
15433 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15434 proc; use new service proc test_debug_format.
15435 Replace all other "gcc_compiled" tests with this test.
15436
154372001-09-27 Michael Snyder <msnyder@redhat.com>
15438
15439 * gdb.base/cvexpr.exp: New file.
15440 * gdb.base/cvexpr.c: New file
15441 Test for expressions using const and volatile keywords.
15442
4e6667ac
CV
154432001-09-26 Corinna Vinschen <vinschen@redhat.com>
15444
15445 * gdb.base/constvars.exp: Check for different orders of keywords
15446 and additional "int" strings in output.
15447
4f337972
AC
154482001-09-22 Andrew Cagney <ac131313@redhat.com>
15449
15450 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15451 responses from "help maint".
15452
2015650d
FCE
154532001-09-19 Frank Ch. Eigler <fche@redhat.com>
15454
15455 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15456 to localhost:NNN instead of :NNN, in case Xvfb is listening
15457 only on TCP.
15458
f3bcedc1
CV
154592001-09-19 Corinna Vinschen <vinschen@redhat.com>
15460
15461 * gdb.base/recurse.exp: When checking leaving the watchpoint
15462 scope, recognize when gdb is in function's epilogue and pass.
15463
6b819c92
KS
154642001-09-18 Keith Seitz <keiths@redhat.com>
15465
15466 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15467 support for running tests against sid targets.
15468 (gdbtk_done): Ditto.
15469
a10c9419
CV
154702001-09-18 Corinna Vinschen <vinschen@redhat.com>
15471
15472 * gdb.base/ending-run.c (main): Set stdout buffersize
15473 to the same reasonable value for any target.
15474 * gdb.base/ending-run.exp: Add a regular expression
15475 to make testsuite happy on Sanyo Stormy16 target.
15476
739d0d99
CV
154772001-09-17 Corinna Vinschen <vinschen@redhat.com>
15478
15479 * gdb.base/display.c (do_loops): Add float variable `f'.
15480 Increment f in loop.
15481 * gdb.base/display.exp: Increment timeout by 60 seconds.
15482 Change float display test to use variable `f'.
15483
1b8947f0
JB
154842001-09-17 Jim Blandy <jimb@redhat.com>
15485
15486 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15487 overflowing the limited breakpoint tables on some ROM monitors
15488 (like the ROM68K).
15489
9890ac81
FCE
154902001-09-15 Frank Ch. Eigler <fche@redhat.com>
15491
15492 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15493 the "-ac" (disable access control) flag.
15494
6db765ea
JH
154952001-08-30 Jeff Holcomb <jeffh@redhat.com>
15496
15497 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15498 ints.
15499
4c32cc04
KS
155002001-08-30 Keith Seitz <keiths@redhat.com>
15501
15502 * lib/gdb.exp: Move all insight-related functionality into
15503 separate file.
15504 * lib/insight-support.exp: New file.
15505
8d6e6f81
FCE
155062001-08-29 Frank Ch. Eigler <fche@redhat.com>
15507
15508 * config/sid.exp (sid_start): Never set sid verbosity; disable
15509 expect_background {} that consumed its stdout; tolerate </dev/null.
15510 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15511
6a90e1d0
AC
155122001-08-18 Andrew Cagney <ac131313@redhat.com>
15513
15514 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15515 CLI jump command to start it.
15516 (mi_run_to_main): Fail immediatly when unexpected output.
15517
1759b3c3
AC
155182001-08-18 Andrew Cagney <ac131313@redhat.com>
15519
15520 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15521 beginning of function. Fix PR gdb/191.
15522
61d11d80
FCE
155232001-08-16 Frank Ch. Eigler <fche@redhat.com>
15524
15525 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15526 what to force sid endianness to.
15527
942a4df2
KS
155282001-08-15 Keith Seitz <keiths@redhat.com>
15529
15530 * lib/gdb.exp (gdbtk_start): Don't set environment
15531 variables for TCL_LIBRARY and friends. Insight will
15532 now figure these out for itself.
15533
0521c418
MS
155342001-08-02 Michael Snyder <msnyder@redhat.com>
15535
15536 * gdb.base/completion.exp: Remove the symbol "a64l" from
15537 the expect string; this is target-specific, and not related
15538 to what is being tested.
15539
74a9a58a
DB
155402001-08-02 Dave Brolley <brolley@redhat.com>
15541
15542 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15543
c70819fa
MS
155442001-07-25 Michael Snyder <msnyder@redhat.com>
15545
c2b8fa57
MS
15546 * gdb.base/consecutive.exp: New file. Test stepping over
15547 breakpoints on consecutive instructions.
15548 * gdb.base/consecutive.c: New file.
15549
c70819fa
MS
15550 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15551 curly braces in regular expressions.
15552
2b1a1355
MS
155532001-07-25 Michael Snyder <msnyder@redhat.com>
15554
15555 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15556 legitimate output from stepping out of main.
15557
413eca6f
KS
155582001-07-22 Keith Seitz <keiths@redhat.com>
15559
15560 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15561 the empty string, do not run the tests.
15562
7e5a9322
SC
155632001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15564
15565 * gdb.base/long_long.exp: Detect size of pointer. Take into
15566 account 2-byte pointers when testing for p/a results.
15567
de58f10f
SC
155682001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15569
d63a86f8 15570 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
de58f10f
SC
15571 and defined to 1K for m68hc11.
15572 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15573 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15574 (sizeof_random_data): New variable to tell the size of the data table;
15575 don't test past this size; always run to main.
15576
d6f5fea1
SC
155772001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15578
15579 * gdb.base/return2.exp: return of long long and double fails for
15580 68HC11; don't execute these tests on that platform.
15581 * gdb.base/return.exp: Return of a double fails for 68hc11.
15582
c477543d
SC
155832001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15584
15585 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15586 tests that print a float.
15587 * call-rt-st.exp: Likewise.
15588
63cf1c79
MK
155892001-07-12 Mark Kettenis <kettenis@gnu.org>
15590
15591 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15592 running this test on Linux.
15593
112f9ab5
MC
155942001-06-24 Michael Chastain <chastain@redhat.com>
15595
15596 * gdb.base/arithmet.exp: Remove some tests to make all test names
15597 unique.
15598
4970cb0f
MS
155992001-07-03 Michael Snyder <msnyder@redhat.com>
15600
15601 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15602 the output of the ptype command.
15603
d85da69f
MS
156042001-07-02 Michael Snyder <msnyder@redhat.com>
15605
4c8a82de
MS
15606 * gdb.base/completion.exp: Don't assume that break.c is the only
15607 source file that may contain functions named "marker".
d85da69f
MS
15608 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15609
8afc772b
AC
156102001-06-28 Andrew Cagney <ac131313@redhat.com>
15611
15612 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15613 of files to delete.
15614
15615 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15616 * gdb.disasm/h8300s.exp: New file.
15617 gdb.disasm/h8300s.s: Likewise.
15618
cff22675
AC
156192001-06-27 Andrew Cagney <ac131313@redhat.com>
15620
15621 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15622 empty breakpoint tables.
15623
68c81b54
AC
156242001-06-25 Andrew Cagney <ac131313@redhat.com>
15625
15626 * lib/mi-support.exp: Update args=... part of stop-reason
15627 patterns. Accept either a list or a tuple.
15628
2dd62704
AC
156292001-06-23 Andrew Cagney <ac131313@redhat.com>
15630
15631 * lib/mi-support.exp: Remove local emacs variable defining
15632 change-log-default-name.
15633
b4127474
MC
156342001-06-22 Michael Chastain <chastain@redhat.com>
15635
15636 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15637 This is operationally compatible with the previous version.
15638
8dbfb380
JB
156392001-06-13 Jim Blandy <jimb@redhat.com>
15640
15641 * lib/gdb.exp (gdb_test): Doc fix.
15642
f2d8c86d
MC
156432001-06-10 Michael Chastain <chastain@redhat.com>
15644
15645 * gdb.base/exprs.exp: Remove a duplicate test.
15646
81564d34
JB
156472001-06-06 Jim Blandy <jimb@redhat.com>
15648
15649 * gdb.base/return2.exp (main): Use values to test float and double
15650 returns that are not NaN's, to avoid being confused by IEEE
15651 comparison rules.
15652
da55addb
MS
156532001-06-04 Michael Snyder <msnyder@redhat.com>
15654
15655 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
d63a86f8 15656 non-zero if control_c fails. Terminate the test on failure,
da55addb
MS
15657 rather than wait for 12 more tests to time out.
15658
42c65987
JB
156592001-06-06 Jim Blandy <jimb@redhat.com>
15660
b18bced9 15661 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
d63a86f8 15662 Don't forget to match the GDB prompt.
b18bced9 15663
42c65987
JB
15664 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15665
5b41e5f0
JB
156662001-06-04 Jim Blandy <jimb@redhat.com>
15667
15668 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15669 command.
15670
015e046f
KB
156712001-05-31 Kevin Buettner <kevinb@redhat.com>
15672
15673 * gdb.base/annota1.exp (info break): Match four or more spaces
15674 after "Address".
15675
fb1ffbbe
MC
156762001-05-31 Michael Chastain <chastain@redhat.com>
15677
15678 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15679 (dm_type_int_star): Likewise.
15680 (dm_type_long_star): Likewise.
15681 (dm_type_void_star): Likewise.
15682
5ea2a32c
KB
156832001-05-29 Kevin Buettner <kevinb@redhat.com>
15684
15685 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15686 to a known value in order to get consistent results regardless
15687 of the setting of INPUTRC or the presence or contents of .inputrc.
15688
ae23c492
MS
156892001-05-24 Michael Snyder <msnyder@redhat.com>
15690
ac55707e
MS
15691 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15692 Don't require that the main thread and the manager thread are the
15693 first in the list.
15694
ae23c492
MS
15695 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15696 debugging. If test fails, issue an "unsupported" not a "fail".
15697
400071f1
JB
156982001-05-24 Jim Blandy <jimb@redhat.com>
15699
15700 Don't assume that short is shorter than int.
15701 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15702 assume that shorts are smaller than ints. On a 16-bit machine,
d63a86f8 15703 this isn't true.
400071f1
JB
15704 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15705 an int, is not equal to ~0 stored in an unsigned char. This tests
15706 the same thing that the previous test meant to, but works on
15707 16-bit machines, too.
15708 ("print unsigned char != (~0)"): Same test, complemented.
15709
0816a3e5
MS
157102001-05-24 Michael Snyder <msnyder@redhat.com>
15711
15712 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
d63a86f8 15713 test for (full_coverage == 0). This makes the test run faster,
0816a3e5
MS
15714 and prevents dejagnu getting out of step.
15715
f6dc23a9
KB
157162001-05-23 Kevin Buettner <kevinb@redhat.com>
15717
15718 * gdb.base/finish.exp (finish_void): Revise pattern for
15719 stopping on the call statement to not permit stopping at
15720 the start of the instructions comprising the call sequence.
15721
7dbd117d
MC
157222001-05-19 Michael Chastain <chastain@redhat.com>
15723
15724 * gdb.base/callfuncs.exp: Make all test names unique.
15725 * gdb.base/commands.exp: Make all test names unique.
15726 * gdb.base/condbreak.exp: Make all test names unique.
15727 * gdb.base/dbx.exp: Make all test names unique.
15728 * gdb.base/default.exp: Make all test names unique.
15729 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15730 and TIMEOUT messages to their corresponding PASS message.
15731 * gdb.base/ending-run.exp: Make all test names unique.
15732 * gdb.base/long_long.exp: Remove duplicate test.
15733
6b0b0a9e
KB
157342001-05-21 Kevin Buettner <kevinb@redhat.com>
15735
15736 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15737 stop on the call statement as well as the statement after the
15738 call.
15739
2caa35cb
MS
157402001-05-21 Michael Snyder <msnyder@redhat.com>
15741
15742 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15743
40713331
EZ
157442001-05-10 Elena Zannoni <ezannoni@redhat.com>
15745
a9c64011
AS
15746 * gdb.base/completion.exp: Revamp test. Make it execute on all
15747 platforms.
40713331 15748
c2c1be8d
EZ
157492001-05-10 Elena Zannoni <ezannoni@redhat.com>
15750
a9c64011
AS
15751 * config/gdbserver.exp (gdb_load): Handle the case
15752 in which the arguments to gdbserver are given in the
15753 baseboard configuration file.
15754 Also handle the case in which the server needs to do a
15755 load.
2c9cd303 15756
9671de48
KS
157572001-05-07 Keith Seitz <keiths@cygnus.com>
15758
a9c64011
AS
15759 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15760 set up the display for testing.
15761 (gdbtk_start): Convert all paths to paths that tcl will like.
15762 Export target information to environment.
15763 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15764 necessary.
15765 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15766 (to_tcl_path): New proc to convert a given pathname into
15767 a path acceptible as an argument to a tcl command.
15768 (_gdbtk_export_target_info): New proc to export target info
15769 into the environment for gdbtk testing.
15770 (gdbtk_done): New proc to signal end-of-test.
9671de48 15771
5a360f47
JB
157722001-05-06 Jim Blandy <jimb@redhat.com>
15773
15774 * restore.c: Make the code of caller0 correspond to its comment.
15775
66c756c6
MS
157762001-05-03 Michael Snyder <msnyder@redhat.com>
15777
15778 * config/sid.exp (gdb_target_sid): Check for error messages.
15779 On error or timeout, don't make expect exit (which will terminate
15780 all subsequent tests); instead just make gdb exit.
d63a86f8 15781 (gdb_load): Check for error messages. On error or timeout,
66c756c6
MS
15782 return a negative value.
15783
a966fde5
JB
157842001-04-24 Jim Blandy <jimb@redhat.com>
15785
851c18e0
JB
15786 * gdb.c++/templates.exp: If we see the prompt for the overload
15787 list, but we haven't recognized any of the longer patterns,
15788 arrange for this test to fail, not hang.
15789
a966fde5
JB
15790 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15791 variations.
15792
db144853
MC
157932001-04-22 Michael Chastain <chastain@redhat.com>
15794
15795 * gdb.c++/local.exp: Use the 'runto' library function.
15796 * gdb.c++/namespace.exp: Likewise.
15797 * gdb.c++/overload.exp: Likewise.
15798
3207ec21
KB
157992001-03-26 Kevin Buettner <kevinb@redhat.com>
15800
15801 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15802 * gdb.base/step-line.exp: New file. Test step/next in presence of
15803 #line directives.
15804 * gdb.base/step-line.c: New file. Test program for the above.
15805 * gdb.base/step-line.inp: New file. We pretend that this file has
15806 been transformed by some other tool into step-line.c.
15807
13b57657
JB
158082001-03-21 Jim Blandy <jimb@redhat.com>
15809
15810 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15811 unmangled operator names.
15812
754cbe1c
JB
158132001-03-20 Jim Blandy <jimb@redhat.com>
15814
15815 * gdb.threads/linux-dp.exp: Recognize an additional message
15816 generated by GDB when it doesn't understand how to debug threads
15817 on the target system.
15818
177495c9
AC
158192001-03-19 Andrew Cagney <ac131313@redhat.com>
15820
15821 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15822
f266096b
MC
158232001-03-12 Michael Chastain <chastain@redhat.com>
15824
15825 * gdb.c++/derivation.exp: Use the 'runto' library function.
15826
cac3c2ff
MC
158272001-03-12 Michael Chastain <chastain@redhat.com>
15828
15829 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15830
b6c11a24
MC
158312001-02-24 Michael Chastain <chastain@redhat.com>
15832
15833 * gdb.c++/ref-types.exp: Change handwritten code to library
15834 function 'runto'.
15835
6bae5bce
OF
158362001-03-16 Orjan Friberg <orjanf@axis.com>
15837
15838 * gdb.base/signals.exp: Set count to 0 explicitly.
15839
0015fd9a
MS
158402001-03-15 Mark Salter <msalter@redhat.com>
15841
15842 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15843 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
15844 (gdb_load): Add support for additional target_info: gdb_download_size
15845 and gdb_load_timeout.
0015fd9a 15846
fc33412a
DT
15847Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15848
15849 * gdb.base/annota1.exp: Move test of isnative to earlier in the
889bf7c5
PA
15850 file -- to prevent failing when the compile fails but we have no
15851 intention of running the tests anyway.
fc33412a
DT
15852
15853 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15854 tests if set.
15855
15856 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
889bf7c5 15857 integers.
fc33412a
DT
15858
15859 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15860 * gdb.c++/namespace.exp: Ditto.
15861
115f06de
OF
158622001-03-07 Orjan Friberg <orjanf@axis.com>
15863
15864 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15865 * gdb.base/pointers.exp: Relax pattern match of decimals.
15866
b6ba6518
KB
158672001-03-06 Kevin Buettner <kevinb@redhat.com>
15868
15869 * Makefile.in, config/abug.exp, config/cfdbug.exp,
15870 config/cpu32bug.exp, config/dve.exp, config/est.exp,
15871 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
15872 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
15873 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
15874 config/sh.exp, config/sid.exp, config/slite.exp,
15875 config/sparclet.exp, config/udi.exp, config/unknown.exp,
15876 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
15877 config/vxworks.exp, config/vxworks29k.exp,
15878 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
15879 gdb.base/all-bin.exp, gdb.base/annota1.exp,
15880 gdb.base/arithmet.exp, gdb.base/assign.exp,
15881 gdb.base/async.exp, gdb.base/attach.exp,
15882 gdb.base/bitfields.exp, gdb.base/bitops.exp,
15883 gdb.base/break.exp, gdb.base/call-ar-st.exp,
15884 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
15885 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
15886 gdb.base/commands.exp, gdb.base/completion.exp,
15887 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15888 gdb.base/constvars.exp, gdb.base/corefile.exp,
15889 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
15890 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
15891 gdb.base/ending-run.exp, gdb.base/environ.exp,
15892 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15893 gdb.base/finish.exp, gdb.base/foll-exec.exp,
15894 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
15895 gdb.base/funcargs.exp, gdb.base/help.exp,
15896 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
15897 gdb.base/logical.exp, gdb.base/long_long.exp,
15898 gdb.base/maint.exp, gdb.base/mips_pro.exp,
15899 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
15900 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
15901 gdb.base/pointers.exp, gdb.base/printcmds.exp,
15902 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
15903 gdb.base/regs.exp, gdb.base/relational.exp,
15904 gdb.base/remote.exp, gdb.base/reread.exp,
15905 gdb.base/restore.exp, gdb.base/return2.exp,
15906 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
15907 gdb.base/selftest.exp, gdb.base/setshow.exp,
15908 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
15909 gdb.base/sigall.exp, gdb.base/signals.exp,
15910 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
15911 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15912 gdb.base/step-test.exp, gdb.base/structs.c,
15913 gdb.base/structs.exp, gdb.base/structs2.exp,
15914 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
15915 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
15916 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
15917 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15918 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
15919 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
15920 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
15921 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
15922 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
15923 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
15924 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
15925 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
15926 gdb.fortran/types.exp, gdb.java/jmisc.exp,
15927 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15928 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
15929 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15930 gdb.trace/circ.exp, gdb.trace/collection.exp,
15931 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15932 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15933 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
15934 gdb.trace/report.exp, gdb.trace/save-trace.exp,
15935 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15936 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15937 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
15938 notices.
15939
dc96c6c7 159402001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
15941
15942 * gdb.base/varargs.c (find_max_double): Fix printf format string:
15943 first arg is int not float.
15944
dc96c6c7 159452001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
15946
15947 * gdb.base/reread.exp: Unsupported for non-native targets;
15948 doesn't work for remote debugging.
15949
9b0c4aeb
FN
159502001-02-19 Fernando Nasser <fnasser@redhat.com>
15951
15952 From Drew Moseley <dmoseley@redhat.com>
a9c64011
AS
15953 * gdb.base/ending-run.exp: Properly handle the BSP state when
15954 stepping past the end of main.
9b0c4aeb 15955
02aa71d5
MC
159562001-02-19 John Moore <jmoore@redhat.com>
15957
15958 * gdb.base/commands.exp (infrun_breakpoint_command_test):
15959 Converted HPUX fix for non-expected items following multiple
15960 step commands into general solution for all platforms.
15961
1fa449a4
MC
159622001-02-18 Michael Chastain <chastain@redhat.com>
15963
15964 * gdb.c++/classes.exp (do_tests): Change runto statements
15965 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15966 statements demangler agnostic.
15967 * gdb.c++/virtfunc.exp (do_tests): Likewise.
15968 (gdb_virtfunc_restart): Likewise.
15969
b2f9ec70
MC
159702001-02-14 Michael Chastain <chastain@redhat.com>
15971
15972 * gdb.c++/inherit.exp (do_tests): Change runto statements
15973 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15974 statements demangler agnostic.
15975
cf74b8ca
AC
15976Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
15977
15978 * gdb.threads/pthreads.exp: Unify pass/fail messages for
889bf7c5
PA
15979 ``continue to bkpt at common_routine in thread 2'' and ``stopped
15980 before calling common_routine 15 times'' tests.
cf74b8ca 15981
99f78f56
MC
159822001-02-11 Michael Chastain <chastain@redhat.com>
15983
15984 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
15985 Helps the test script figure out which demangler is in use.
15986 (dm_type_foo_ref): Ditto.
15987 (dm_type_int_star): Ditto.
15988 (dm_type_long_star): Ditto.
15989 (dm_type_unsigned_int): Ditto.
15990 (dm_type_void): Ditto.
15991 (dm_type_void_star): Ditto.
99707966 15992 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
15993 Probe the gdb demangler and set variables to accommodate
15994 formatting differences.
15995 (info_func_regexp): New function. Same as info_func, but
15996 matches against a regexp.
15997 (info_func): Match against a literal string.
15998 (print_addr_2): New function. Match against a literal string,
15999 which can be different from the input to gdb.
16000 (print_addr): Simply call print_addr_2 with the same argument twice.
16001 (test_lookup_operator_functions): Use demangler formatting variables.
16002 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
16003 the tests in the same order as the C++ class declaration.
16004 (test_paddr_operator_functions): Ditto.
16005 (test_paddr_overloaded_functions): Ditto.
16006 (test_paddr_hairy_functions): Use demangler formatting variables.
16007 Add reference to gdb/19 for related tests.
16008 (do_tests): Call probe_demangler.
16009
1de8f023
KB
160102001-01-30 Kevin Buettner <kevinb@redhat.com>
16011
16012 * gdb.c++/templates.cc (printf): Remove unused function definition.
16013
ca3f91ed
MS
160142001-01-26 Felix Lee <flee@redhat.com>
16015
16016 * sid.exp (sid_exit): Pass host, not target, to remote_close.
16017
160182001-01-25 matthew green <mrg@redhat.com>
16019
16020 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
16021 up sid.
16022 (sid_exit): Call `remote_pop_conn' after GDB is gone.
16023
160242001-01-25 matthew green <mrg@redhat.com>
16025
16026 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
d63a86f8 16027 Deprecate $sid_spawn_id.
ca3f91ed
MS
16028 (sid_exit): Remove code necessary only for `spawn.'
16029
160302001-01-25 matthew green <mrg@redhat.com>
16031
16032 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
16033
fb18ec4a
MC
160342001-01-28 Michael Chastain <chastain@redhat.com>
16035
16036 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
16037 to call when tests fail. It takes gdb out of the overloaded
16038 function choice menu back to the main prompt, so that the test
16039 program stays synchronized.
16040 (set_bp_overloaded): New proc to collect all the common
16041 code for setting a breakpoint on an overloaded name. Calls
16042 take_gdb_out_of_choice_menu when needed.
16043 (menu_overload1arg): New variable to collect the repeated
16044 instances of the expected menu for an overloaded name. Change
16045 the regular expression to handle changes in g++ type encoding:
16046 "void" can be either "void" or "", and "unsigned int" can be
16047 either "unsigned int" or "unsigned".
16048 (continue_to_bp_overloaded): Change regular expressions to handle
16049 changes in g++ type encoding.
16050 (no proc): Call take_gdb_out_of_choice_menu when needed.
16051 Remove redundant calls to "info break". Accept either "canceled"
16052 or "cancelled". Change regular expressions in "info break"
16053 calls to handle changes in g++ type encoding. Give all tests
16054 unique strings.
16055
9c646a6e
BE
160562001-01-17 Ben Elliston <bje@redhat.com>
16057
16058 * config/sid.exp: New file.
16059
9549d9c1
AC
16060Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
16061
16062 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
16063
dc96c6c7 160642000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
16065
16066 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
16067 Add a RE to accept a non-ascii char if one is ever presented.
16068
b4df4f68
FN
160692000-12-20 Fernando Nasser <fnasser@redhat.com>
16070
297dd0fd 16071 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 16072
dc96c6c7 160732000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc 16074
d63a86f8 16075 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
49c890fc
MS
16076 in regexp. One '\' does not suffice on Linux.
16077
4a7bddb6
MC
160782000-12-09 Michael Chastain <chastain@redhat.com>
16079
16080 * gdb.base/break.exp (test_clear_command): Use a marker function
16081 rather than 'main' for the test function. Also move this
16082 test to an execution point where the marker function names are
16083 guaranteed to be bound to functions. (Executing tests after a
16084 'finish' from main runs into name conflicts with local names
16085 in __libc_start_main).
16086
dc96c6c7 160872000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
16088
16089 * gdb.base/finish.exp: New test for gdb's "finish" command.
16090 * gdb.base/return2.exp: New test for gdb's "return" command.
16091 * gdb.base/return2.c: New source file for above.
16092
dc96c6c7 160932000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
16094
16095 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
16096 * gdb.base/miscexprs.exp: Ditto.
16097 * gdb.base/pointers.exp: Ditto.
16098 * gdb.c++/derivation.exp: Ditto.
16099 * gdb.c++/local.exp: Ditto.
16100 * gdb.c++/namespace.exp: Ditto.
16101 * gdb.c++/overload.exp: Ditto.
16102 * gdb.c++/ref-types.exp: Ditto.
16103
dc96c6c7 161042000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
16105
16106 * gdb.base/constvars.exp: Test result of "up" command.
16107 * gdb.base/miscexprs.exp: Ditto.
16108 * gdb.base/pointers.exp: Ditto.
16109 * gdb.base/scope.exp: Ditto.
16110 * gdb.c++/derivation.exp: Ditto.
16111 * gdb.c++/local.exp: Ditto.
16112 * gdb.c++/namespace.exp: Ditto.
16113 * gdb.c++/overload.exp: Ditto.
16114 * gdb.c++/ref-types.exp: Ditto.
16115
44097287
FN
161162000-11-22 Michael Chastain <chastain@redhat.com>
16117
16118 * mips_pro.exp: Accept either "middle -> top -> main" or
16119 "middle -> main" in the backtrace, because gcc can optimize
16120 tail calls to jumps. Remove setup_xfail for the hppa case.
16121 Add a comment with the original warning messages from PR 3016,
16122 which was filed in 1993, to preserve them for posterity.
16123
9d2e1bab
ND
161242000-11-17 Nick Duffek <nsd@redhat.com>
16125
16126 * lib/gdb.exp (gdb_test): Override timeout with board info.
16127
1aca8eb7
ND
161282000-11-17 Nick Duffek <nsd@redhat.com>
16129
16130 * gdb.base/display.exp: Don't kill running stub. Add "again" to
16131 the second kill and detach messages.
16132
93076499
ND
161332000-11-17 Nick Duffek <nsd@redhat.com>
16134
16135 * configure.in: Add AC_EXEEXT.
16136 * configure: Regenerate.
16137 * Makefile.in (just-check): Export EXEEXT.
16138 * lib/gdb.exp ($EXEEXT): Import from environment.
16139 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
16140 expect "maint dump-me" on Cygwin.
16141 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
16142 $EXEEXT.
16143
30e87cd3
ND
161442000-11-17 Nick Duffek <nsd@redhat.com>
16145
16146 * gdb.base/break.exp: Test backtrace and finish from called
16147 function on all platforms, not just HP-UX.
16148
dc96c6c7 161492000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
16150
16151 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
16152 code from gdb_target_monitor, so it can be used independantly
16153 for gdbserver. Also comment out an unnecessary PUTS.
d63a86f8 16154
dc96c6c7 161552000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
16156
16157 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
16158 * gdb.base/corefile.exp: Expect the message "Program is being
16159 debugged already" when we send the "corefile" command, since
16160 the preceeding gdb_load may have connected gdb to a remote target.
16161 * gdb.base/display.exp: Disable hardware watchpoints if new
16162 board info variable "no_hardware_watchpoints" is true.
16163 Replace single-letter commands with more readable ones.
16164 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
16165 if new board info variable "no_hardware_watchpoints" is true.
16166 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
16167 to see if stdio (printf) testing is possible.
16168 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
16169 board info variable "no_hardware_watchpoints" is true. Use new
16170 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
16171
39124dea
FN
161722000-11-13 Fernando Nasser <fnasser@redhat.com>
16173
16174 From Orjan Friberg <orjanf@axis.com>:
16175 * gdb.base/printcmds.exp: Escape curly braces followed by a number
16176 in array print pattern match.
16177
a9e2e984
FN
161782000-11-09 Fernando Nasser <fnasser@redhat.com>
16179
16180 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
16181 spelling "cancelled" to U.S. spelling "canceled" to match changes
16182 made to gdb.
16183 * gdb.c++/ovldbreak.exp: Ditto.
16184
c7db355b
PS
161852000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
16186
16187 * gdb.base/callfuncs.c (main): Moved to end of file, call
16188 t_double_values to initialize the FPU before inferior calls are made.
16189 * gdb.base/callfuncs.exp: Test for register preservation after calling
16190 inferior functions. Add tests for continuining, finishing and
16191 returning from a stop in a call dummy.
16192
dc96c6c7 161932000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
16194
16195 * gdb.base/commands.exp: Break up long lines, and re-indent.
16196
dc96c6c7 161972000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
16198
16199 * config/gdbserver.exp: Rewritten from the ground up, to make it
16200 compatible with the current dejagnu tree, and to make it work with
16201 the new "gdbserver" in libremote.
16202
dc96c6c7 162032000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
16204
16205 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
16206 * gdb.base/varargs.exp: Skip entire test if no printf support.
16207 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
16208 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
16209
dc96c6c7 162102000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
16211
16212 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
16213 no floating point support.
16214 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
16215 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
16216 * gdb.base/call-rt-st.exp: Ditto.
16217 * gdb.base/call-strs.exp: Ditto.
16218
bac5fc66
JG
162192000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
16220
16221 * gdb.base/sizeof.c: include <stdio.h>.
16222
16223 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
a9c64011
AS
16224 'finish', otherwise uncaptured gdb_prompt would potentially
16225 throw remaining test points out of sync.
bac5fc66 16226
b22a6027
SB
162272000-07-26 Scott Bambrough <scottb@netwinder.org>
16228
16229 * gdb.base/recurse.exp: Run tests for all targets.
16230 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
16231 gnu-oldld case on ARM.
16232 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
16233 for ARM targets.
d63a86f8 16234
d8231941
AG
16235Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
16236
16237 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
16238 * gdb.java/configure: Rebuild.
16239
8caabe69
AG
16240Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
16241
16242 * gdb.java/jv-exp.exp: New file.
16243
9d273ca3
AG
16244Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
16245
16246 * configure: Rebuilt.
16247 * configure.in (configdirs): Add gdb.java.
16248 * gdb.java/jmisc.java: New file.
16249 * gdb.java/jmisc.exp: New file.
16250 * gdb.java/Makefile.in: New file.
16251 * gdb.java/configure: Rebuilt.
16252 * gdb.java/configure.in: New file.
16253 * lib/java.exp: New file.
16254
4f823a66
AC
16255Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
16256
16257 * gdb.base/exprs.exp: Test casts to a pointer including over and
889bf7c5 16258 underflow.
4f823a66 16259
2391e11d
AC
16260Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
16261
16262 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
889bf7c5 16263 and the compilers sizes.
2391e11d 16264
54602222
ND
162652000-07-09 Nick Duffek <nsd@redhat.com>
16266
16267 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
16268 (use_methods): New function.
16269 (main): Call use_methods().
16270 * gdb.c++/classes.exp (test_method_param_class): New procedure.
16271 (do_tests): Call test_method_param_class.
16272
2bec0572
ND
162732000-07-09 Nick Duffek <nsd@redhat.com>
16274
16275 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
16276 spelling.
16277 (test_enums): New procedure. Move enum tests from end of script
16278 to here. Set breakpoint on function name instead of line number.
16279 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
16280 (enums2): New marker function.
16281 (enums1): New function.
16282 (main): Call enums1(). Move enum tests to enums1().
16283
78492fde
AC
16284Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
16285
16286 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
889bf7c5 16287 compile/link program. Update line numbers.
78492fde
AC
16288 * gdb.asm/d10v.inc: Define ``startup''.
16289 * gdb.asm/asmsrc1.s: Add definition of _start.
d63a86f8 16290
49a2cef8
AC
16291Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
16292
16293 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
16294
3e6c8688
EZ
162952000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16296
16297 * gdb.base/maint.exp: Add 'maint print architecture' item to output
889bf7c5 16298 of 'help maint print' command.
3e6c8688 16299
9ff5cbe9
AC
16300Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
16301
16302 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
889bf7c5 16303 they use gdb_expect_list.
9ff5cbe9 16304
17c579bd
AC
16305Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
16306
16307 * gdb.base/commands.exp: Use ``set remote
889bf7c5
PA
16308 memory-read-packet-size'' instead of ``set endian big'' to test
16309 long commands.
17c579bd 16310
e6d71bf3
DB
163112000-06-03 Daniel Berlin <dan@cgsoftware.com>
16312
16313 * gdb.c++/templates.exp (do_tests): Make all of these work under
d63a86f8 16314 g++, and stop skipping them.
e6d71bf3
DB
16315
16316 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
16317 work under g++.
16318
d63a86f8 16319 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
e5f9ba7b
MS
16320 initialization.
16321
dc96c6c7 163222000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
16323
16324 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
16325 the regular expression: accept an (almost) arbitrary sequence of
16326 "frames-invalid" and "breakpoints-invalid" messages both before
16327 and after the "starting" message.
16328
dc96c6c7 163292000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
16330
16331 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 16332
dc96c6c7 163332000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
16334
16335 * gdb.base/annota1.exp (annotate-signal-handler-caller):
16336 Relax the regular expression a little, make it pass on Solaris 8.
16337
8216cda9
KB
163382000-05-12 Kevin Buettner <kevinb@redhat.com>
16339
16340 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
d63a86f8 16341 a call, do not require that gdb stop on the line after the call.
8216cda9
KB
16342 Instead, it is permissible for gdb to stop on the line of the
16343 call itself.
16344
1a570b2f
MS
163452000-05-12 Michael Snyder <msnyder@.cygnus.com>
16346
16347 * gdb.base/break.exp (bp on small function, optimized file):
16348 Add a second pass pattern. The behavior differs here between stabs
16349 and dwarf for one-line functions. Stabs preserves two line symbols
16350 (one before the prologue and one after) with the same line number,
16351 but dwarf regards these as duplicates and discards one of them.
16352 Therefore the address after the prologue (where the breakpoint is)
16353 has no exactly matching line symbol, and GDB reports the breakpoint
16354 as if it were in the middle of a line rather than at the beginning.
16355
dc96c6c7 163562000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2 16357
d63a86f8 16358 * gdb.base/interrupt.exp: Make "pass" message say "send"
89cb06a2
MS
16359 rather than "send_gdb" (for consistancy).
16360
7d418785
AC
16361Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
16362
16363 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
16364 * gdb.c++/templates.cc: Properly check for GCC version number.
16365 * lib/compiler.cc: Likewise
16366
dc96c6c7 163672000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79 16368
d63a86f8 16369 * gdb.base/break.exp: When compiled with -O2 optimization,
e919ea79
MS
16370 gdb may not stop at the first line of main, due to code motion.
16371
dc96c6c7 163722000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
16373
16374 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16375 This test depends on parsing the printf output from the target.
16376 Since the sparclet stub doesn't do stdio, this will never work.
16377 * gdb.base/call-rt-st.exp: ditto.
16378 * gdb.base/call-strs: ditto.
16379
dc96c6c7 163802000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
16381
16382 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16383
16384 * gdb.base/ending-run.exp: After connecting to a remote target,
16385 but before running, the target will appear to be in a random
16386 location. Specify both a file and a line for breakpoints.
16387 Also, the function that calls main may be called 'init'
16388 rather than 'start'.
16389
a5a51225
EZ
163902000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16391
16392 * gdb.base/help.exp: Update output for add-symbol-file command.
16393
7930cc7c
FN
163942000-04-10 Fernando Nasser <fnasser@cygnus.com>
16395
16396 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16397 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16398
23e37ab1
C
163992000-04-07 J.T. Conklin <jtc@redback.com>
16400
e93c542c
C
16401 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16402
23e37ab1
C
16403 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16404
591b8fa3
PDM
16405Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16406
16407 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
889bf7c5 16408 values that can be represented exactly.
591b8fa3
PDM
16409 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16410 above change, and to not check against the directory part of the source
16411 file name.
16412 (step into print_long_arg_list): Likewise.
16413 (print print_small_structs from print_long_arg_list): Likewise.
16414 (print print_long_arg_list): Likewise.
16415
7a495180
EZ
164162000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16417
30b53638 16418 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 16419
beb998c6
AC
16420Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16421
16422 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16423
1c689132
DB
164242000-03-25 Daniel Berlin <dan@cgsoftware.com>
16425
16426 * gdb.base/commands.exp (deprecated_command_test): Add test for
16427 deprecate with no arguments.
16428
c1790a9d
JL
164292000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16430
16431 * gdb.base/break.exp: Add new test for setting breakpoints on
16432 optimized code so we can test breakpoints work even when function
16433 prologues may be optimized away
16434
003ba290
FN
164352000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16436
16437 From David Whedon <dwhedon@gordian.com>
a9c64011 16438 * gdb.base/commands.exp : Added command deprecator tests.
003ba290 16439
6837a0a2
DB
164402000-03-22 Daniel Berlin <dan@cgsoftware.com>
16441
16442 * gdb.base/help.exp: Added test for new apropos command.
16443
b9593231
KB
164442000-03-21 Kevin Buettner <kevinb@redhat.com>
16445
16446 * gdb.base/pointers.c (usevar): New function.
16447 (main): Make sure that global variables v_int_pointer2, rptr,
16448 and y are all referenced someplace in the program by calling
16449 usevar() on them. [Some linkers delete symbols which are
16450 never referenced. The space remains, but there's no way to
16451 get a (symbolic) handle on the variable from the debugger.]
16452
751a959b
EZ
164532000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16454
16455 * gdb.base/printcmds.c: Add typedeffed arrays.
16456
16457 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
889bf7c5 16458 procedure to test arrays that are typedef'd.
751a959b 16459
73a93a32
JI
164602000-03-13 James Ingham <jingham@leda.cygnus.com>
16461
16462 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
d63a86f8 16463 the library directories.
73a93a32 16464
fb40c209
AC
16465Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16466
16467 * configure.in (configdirs): Add sub directory gdb.mi.
16468 * configure: Re-generate.
16469
16470 * gdb.mi: New directory.
d63a86f8 16471
ee4dd2c9
AC
164722000-02-25 Scott Bambrough <scottb@netwinder.org>
16473
16474 * gdb.base/long_long.exp: Correct test suite failure when printing
889bf7c5 16475 a long long value as a double on ARM platforms.
ee4dd2c9 16476
70f0cc22
JB
164772000-02-16 Jim Blandy <jimb@redhat.com>
16478
16479 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16480 default source file is set properly before running this test.
16481
853819b8
EZ
164822000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16483
16484 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
889bf7c5 16485 gdbtk/library directory, not in gdbtcl2.
853819b8 16486
dfcd3bfb
JM
164872000-02-04 Jim Blandy <jimb@redhat.com>
16488
16489 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16490 backslash from regexp pattern.
16491
16492 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16493 procedure. Use it to run all the "continue to bp overloaded"
16494 tests. Note that this changes the names of the tests slightly.
16495 If the breakpoint hit message includes a hex PC value, because
16496 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16497 from the real source code, still consider that a pass.
16498
16499 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16500 XFAIL here if the breakpoint message contains a hex address. Note
16501 similar change on 1999-11-02.
16502
16503 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16504
16505 * gdb.base/ptype.exp: Establish a default source file before
16506 calling get_debug_format.
16507
165082000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16509
16510 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16511
8b93c638
JM
165122000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16513
16514 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16515 of successive stepi commands -- while in the prologue we should see
16516 the function entry bracket.
16517
165182000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16519
16520 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16521 reach __change_mode() when stepping through the end of main().
16522
c5394b80
JM
165232000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16524
16525 * gdb.base/default.exp: Fix expected pattern.
16526 * gdb.base/help.exp: Same.
16527
0d06e24b
JM
165282000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16529
16530 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
889bf7c5 16531 Don't use xfail's because that affects only the following test.
d63a86f8 16532
0d06e24b 16533 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
889bf7c5 16534 solaris or linux.
0d06e24b
JM
16535
16536 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16537
dc96c6c7 165382000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 16539
d63a86f8 16540 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
16541 "A syntax error" rather than "A parse error". Accept both.
16542
165432000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16544
16545 * gdb.base/default.exp: Remove OS dependent string from "target
16546 remote" test.
16547 * gdb.base/help.exp: Same for "help target remote" test.
16548
c3f6f71d
JM
165492000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16550
16551 From Jim Kingdon <kingdon@redhat.com>:
16552
16553 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
889bf7c5
PA
16554 prompt (cleanup rather than necessity, but still might keep output
16555 from spilling to next test).
c3f6f71d
JM
16556
165572000-01-02 Fred Fish <fnf@cygnus.com>
16558
16559 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16560 AIX, which defines them in <sys/types.h>.
16561
ed9a39eb 165621999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 16563
ed9a39eb 16564 * gdb.base/default.exp: Match arm* etc instead of arm in "info
889bf7c5 16565 float" test.
ed9a39eb
JM
16566
165671999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 16568
ed9a39eb 16569 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
16570
16571 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16572 outermost frame disallowed".
16573
165741999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16575
16576 * gdb.base/setvar.exp: New tests for setting the value of a struct
16577 with a constant list.
16578
165791999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16580
16581 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16582 require the user to type a cast before setting the value of a struct.
16583
de57eccd
JM
165841999-12-06 Jim Blandy <jimb@cygnus.com>
16585
16586 * gdb.base/default.exp: Expect the new 'info float' command on
16587 all i386 platforms.
16588
16589 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16590 LinuxThreads libraries that don't support debugging.
16591
c2d11a7d
JM
16592Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16593
16594 * gdb.base/remote.c: Fill the buffer with truely random data.
889bf7c5
PA
16595 Change the buffer type to ``unsigned char'' to simplify size
16596 arithmetic.
c2d11a7d
JM
16597
16598 * gdb.base/remote.exp: Reduce download numbers by one. Typical
889bf7c5
PA
16599 stub only handles 400-1 byte packets. Verify that the download
16600 worked.
c2d11a7d
JM
16601
166021999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16603
16604 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16605 tests, using UNRESOLVED for the untested cases. Also, does not wait
16606 for a timeout if the prompt was received before a recognizable pattern.
16607
166081999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16609
16610 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16611
166121999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16613
16614 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
889bf7c5 16615 watchpoints.
c2d11a7d
JM
16616
166171999-11-24 Jason Merrill <jason@casey.cygnus.com>
16618
16619 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16620
16621 * gdb.c++/local.exp: Be more flexible in recognizing local class
16622 name mangling. Don't allow horribly truncated method names.
16623 * gdb.c++/derivation.exp: Expect protected inheritance.
16624 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16625 * gdb.c++/virtfunc.exp: Likewise.
16626 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16627 when printing a nested enum.
16628
166291999-11-22 Jim Blandy <jimb@cygnus.com>
16630
16631 * gdb.base/step-test.exp: Properly await GDB's response to setting
16632 a breakpoint on the call to large_struct_by_value.
16633
16634 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16635 just because we have debug info for the `start' function.
16636
166371999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16638
16639 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16640 "Unknown signal" messages, which indicate (on LinuxThreads) that
16641 GDB doesn't know how to debug threads on this system. This is
16642 better than hanging while philosopher 0 dumps chatter into gdb.log.
16643
166441999-11-18 Tom Tromey <tromey@cygnus.com>
16645
16646 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16647
166481999-11-18 Fred Fish <fnf@cygnus.com>
16649
16650 * gdb.base/coremaker2.c: Add sample program for generating
16651 cores that is more self contained than coremaker.c. Eventually
16652 I'll add more code to this and tie it into the testsuite.
16653
4ce44c66
JM
166541999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16655
16656 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16657
166581999-11-10 Jimmy Guo <guo@cup.hp.com>
16659
16660 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
889bf7c5 16661 from $srcdir/lib/.
4ce44c66 16662 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
889bf7c5 16663 and gdb.c++/.
4ce44c66
JM
16664
16665 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16666
d63a86f8 16667 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
16668 'continue with watch' test point.
16669
166701999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16671
16672 Merged from p2linux-990323-branch:
d63a86f8 16673
4ce44c66
JM
16674 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16675
11cf8741
JM
16676Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16677
16678 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
889bf7c5 16679 {limit,fixed}''. Test ``set download-write-size''.
11cf8741
JM
16680
16681Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16682
16683 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
889bf7c5 16684 gdb_expect_list.
11cf8741
JM
16685
16686Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16687
16688 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16689
166901999-11-03 Mark Salter <msalter@cygnus.com>
16691
16692 * gdb.base/break.exp: Fix "stub continue" pattern.
16693
166941999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16695
16696 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16697
166981999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16699
16700 * gdb.base/display.exp ("finish"): Add timeout clause.
16701
16702 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16703 plain prompt clause, so this doesn't have to time out in order to
16704 fail.
16705
16706 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
889bf7c5 16707 breakpoint hit messages include an address.
11cf8741
JM
16708
16709 * gdb.base/display.exp: Don't forget to escape parens in regular
16710 expressions. Unix regexp notatation sucks.
16711
167121999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16713
16714 * gdb.base/annota1.exp: Test for annotate-signalled: change output
889bf7c5 16715 order for 'signalled' message.
11cf8741 16716
5c44784c
JM
167171999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16718
16719 From Jimmy Guo <guo@cup.hp.com>:
16720 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16721 * gdb.base/annota1.c: Add code for tests to work with.
16722
167231999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16724
16725 * gdb.base/remote.exp: New test for remote downloading settings.
16726 * gdb.base/remote.c: New file with large .data.
16727
917317f4
JM
167281999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16729
16730 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16731 for LinuxThreads support, merged from the Code Fusion branch.
16732
16733Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16734
16735 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
889bf7c5
PA
16736 containing exp_continue into a while within an expect. Don't
16737 attempt a start more than three times. Check return value from
16738 gdb_load.
d63a86f8 16739
2df3850c
JM
16740Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16741
16742 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
889bf7c5 16743 a pass case.
2df3850c 16744
2acceee2
JM
167451999-10-01 Kevin Buettner <kevinb@cygnus.com>
16746
16747 * gdb.base/break.c (main): Added a statement that we can step
16748 off of.
16749 * gdb.base/break.exp: Added tests for setting a breakpoint
16750 at an offset and stepping onto a breakpoint.
16751
167521999-10-01 Fred Fish <fnf@cygnus.com>
16753
d63a86f8 16754 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
16755 gdb output.
16756
c2c6d25f
JM
167571999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16758
16759 * gdb.base/break.exp: Code locations are in hex, don't forget!
16760 (For HP-UX.)
16761
167621999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16763
16764 * condbreak.exp: Use break.c as test program.
16765 * condbreak.c: Remove, redundant with break.c.
16766
167671999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16768
16769 * config/monitor.exp (gdb_target_monitor): Disable X- and
889bf7c5 16770 Z-packets if the target needs it.
c2c6d25f
JM
16771
167721999-09-13 James Ingham <jingham@leda.cygnus.com>
16773
16774 * gdb.c++/overload.exp: Added tests for listing overloaded
16775 functions with function pointers in the arg, explicitly calling
16776 out the version you want.
16777
cff3e48b
JM
167781999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16779
16780 * long_long.exp: Add variations of test cases that work for
16781 targets with 16-bit ints and 32-bit doubles.
16782
d4f3574e
SS
167831999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16784
16785 * break.c (main): Compare a possibly-uninitialized argc with an
16786 unlikely value that fits in 16 bits.
16787
167881999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16789
16790 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16791 0xfeeb, don't want negative numbers if ints are 16 bits.
16792
16793 * lib/gdb.exp (skip_cplus_tests): New proc.
16794 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
889bf7c5
PA
16795 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16796 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16797 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16798 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16799 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16800 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16801 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
d4f3574e
SS
16802
16803 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16804
16805Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16806
16807 * gdb.base/corefile.exp (up): Allow a parameter to appear
16808 in the frame that we're going up to.
16809
16810 From Jim Blandy <jimb@cygnus.com>:
16811
16812 * gdb.base/default.exp (info float): Expect some output now.
16813
16814 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16815 returning floating-point values to fail on the x86.
16816 * gdb.base/callfwmall.exp (do_function_calls): Same.
16817
16818 * gdb.base/list.exp (test_listsize): Correct expectations for
16819 listing line 1 with listsize 2. Also, listing a single line
16820 works now, as does listing three lines. [Kevin's note: There
16821 were a number of other cases fixed too where the expectations
16822 differed...]
16823
168241999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16825
16826 * gdb.base/selftest.exp: Add case for when version prints as
16827 constant string instead of char pointer.
16828
104c1213
JM
168291999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16830
16831 * gdb.base/ending-run.exp: Add Solaris case for what happens when
889bf7c5 16832 stepping out of main.
104c1213
JM
16833
16834 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16835 G++ used.
16836
16837 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
889bf7c5 16838 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
104c1213
JM
16839
16840 * gdb.c++/ovldbreak.exp: Update match string in test that
16841 includes a warning of multiple breakpoints.
16842
168431999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16844
16845 * gdb.base/display.exp: Improve precision of step-after-finish
16846 added yesterday.
16847
16848 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
889bf7c5 16849 test.
104c1213
JM
16850
16851 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16852 configs when using G++, not just hppa*.
16853
168541999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16855
16856 * gdb.base/async.c: New file.
16857 * gdb.base/async.exp: New file.
16858
16859Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16860
16861 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16862 PA64.
16863
53a5351d
JM
16864Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
16865
104c1213
JM
16866 * gdb.base/display.exp: "finish" can leave us mid-line on many
16867 targets, deal with it. Add a small constant to main, instead of
16868 1000 since main+1000 may not be a valid address in the target.
16869
53a5351d
JM
16870 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16871 on hpux11.
16872
16873 * gdb.base/attach.exp: Handle another hpux11 error message variant
16874 when attaching to a process that does not exist.
16875
168761999-08-19 J.T. Conklin <jtc@redback.com>
16877
16878 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
889bf7c5 16879 characters in 'continue to 1241' test.
53a5351d
JM
16880
168811999-08-17 Stan Shebs <shebs@andros.cygnus.com>
16882
16883 * gdb.base/call-ar-st.exp: Add a shorter match case for the
16884 stop in print_long_arg_list, define and use a whitespace
16885 variable in print_small_structs test, add an XFAIL for Solaris.
16886 * gdb.base/dbx.exp: XFAIL func commands until somebody is
16887 interested enough to fix.
16888
7be570e7
JM
168891999-08-13 Keith Seitz <keiths@cygnus.com>
16890
16891 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
16892 (dbx_gdb_load): Remove. Use gdb_load instead, since that
16893 proc knows about targets other than the natives.
16894 (test_assign): Use "gdb_run_cmd" to "run" the target.
16895 Check that we've actually hit the breakpoint at main.
16896 When we attempt to assign a value to a local variable, check
16897 that the variable is in the current scope, i.e., don't use
16898 a test with an empty result.
16899
16900Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16901
16902 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
889bf7c5 16903 command.
7be570e7
JM
16904
169051999-08-09 Stan Shebs <shebs@andros.cygnus.com>
16906
16907 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16908 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
16909 gdb.compat, gdb.threads-hp.
16910 gdb.hp/configure, gdb.hp/configure.in: New files.
16911 gdb.hp/Makefile.in: Recurse into new subdirs.
16912 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
16913 gdb.hp/gdb.objdbg: New directory, tests for debugging info
16914 in object files.
16915 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16916
96baa820
JM
169171999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16918
16919 * gdb.base/display.exp: Help expect by putting a newline in the
889bf7c5 16920 funky printf, remove a bogus p/a test.
96baa820
JM
16921
169221999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16923
16924 * gdb.base/display.exp: Make sure that when we say 'run', we are
889bf7c5
PA
16925 connected to the target. This is necessary when running not
16926 natively.
96baa820
JM
16927
169281999-08-03 Stan Shebs <shebs@andros.cygnus.com>
16929
16930 * gdb.base/step-test.exp: Removed some extraneous messages.
16931
16932 * gdb.base/long_long.exp: Don't run memory examination tests
16933 on little-endian targets (they will need a different set of
16934 results to match).
16935
169361999-08-02 Stan Shebs <shebs@andros.cygnus.com>
16937
16938 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
16939 until somebody decides to fix GDB.
16940
16941 * gdb.base/long_long.c: Stop compiler complaint by specifying long
889bf7c5 16942 constant as "ULL".
96baa820
JM
16943 * gdb.base/long_long.exp: Loosen x/c test, add partial result
16944 matches for a couple x/2 commands.
16945
a0b3c4fd
JM
169461999-07-30 Stan Shebs <shebs@andros.cygnus.com>
16947
16948 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
16949 by merging in ref-types2 tests.
16950 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
16951
16952 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16953 * gdb.c++/Makefile.in: Add standard actions.
16954 (EXECUTABLES): Rename from PROGS, update list.
16955 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
16956 from gdb.hp.
16957 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
16958 foo and bar locals.
16959 * gdb.c++/anon-union.exp: Fix tests to match.
16960 * gdb.c++/classes.exp: Run if HP compiler used, add extra
16961 expect matches to handle output variations.
16962 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
16963 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
889bf7c5 16964 output, add HP alternatives for new and delete prints.
a0b3c4fd 16965 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
889bf7c5 16966 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
a0b3c4fd
JM
16967 * gdb.c++/demangle.exp: Use $style when reporting failure.
16968 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
16969 * gdb.c++/inherit.exp: Run if HP compiler used, add some
16970 match alternatives.
16971 * gdb.c++/local.exp: Add match alternatives or xfails for HP
889bf7c5 16972 compilers.
a0b3c4fd
JM
16973 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
16974 * gdb.c++/method.exp: Add match alternatives.
16975 * gdb.c++/misc.cc: Add bool types.
16976 * gdb.c++/misc.exp: Add tests for bool types.
16977 * gdb.c++/overload.exp: Add xfails.
16978 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
16979 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
16980 add some more template parameter tests (only for HP currently).
16981 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
16982 * gdb.c++/virtfunc.cc: Add return type and value for main.
16983 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
16984 match alternatives.
d63a86f8 16985
a0b3c4fd
JM
169861999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16987
16988 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
16989
169901999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
16991
16992 * gdb.base/signals.exp: Don't expect getting a backtrace from
16993 within a signal handler to fail on Linux.
16994
169951999-07-29 Stan Shebs <shebs@andros.cygnus.com>
16996
16997 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16998 * lib/gdb.exp: Remove some gratuitious semicolons.
16999 (delete_breakpoints): Increase timeout.
17000 (gdb_expect): Add -notransfer option.
17001 (gdb_test): Use -notransfer option.
17002 (get_compiler_info): Add f77 case.
17003 (get_compiler): New proc, split out from gdb_preprocess, add f77
889bf7c5 17004 case.
a0b3c4fd
JM
17005 (gdb_preprocess): Call get_compiler.
17006
17007 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
17008 * gdb.base/attach.exp, gdb.base/display.exp,
889bf7c5
PA
17009 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
17010 gdb.base/long_long.exp, gdb.base/printcmds.exp,
17011 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
17012 third arg to gdb_test.
a0b3c4fd
JM
17013 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
17014 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
889bf7c5 17015 HP-UX xfails, add others.
a0b3c4fd
JM
17016 * gdb.base/completion.exp: Reflect name change of self-test.
17017 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
889bf7c5
PA
17018 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
17019 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
17020 HP failure number.
a0b3c4fd
JM
17021 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
17022 useless HP-UX 10.30 references.
17023 * gdb.base/maint.exp: Loosen matches.
17024 * gdb.base/pointers.c (main): Declare more_code.
17025 * gdb.base/pointers.exp: Match on output of a `next'.
17026 * gdb.base/structs.c: Add prototypes.
17027 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
17028 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
17029
170301999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17031
17032 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
889bf7c5 17033 command.
a0b3c4fd
JM
17034
170351999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17036
17037 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
17038 Fix run to main failures. Watchpoint can be hardware watchpoint.
d63a86f8
RM
17039
17040 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
17041 debug info. Deal with lack of signal hanlder info in stack.
17042
a9c64011 17043 From Jim Kingdon <kingdon@redhat.com>:
a0b3c4fd
JM
17044 * gdb.base/annota1.exp: If printf has debug info, deal with it.
17045
5a2468f5
JM
170461999-07-19 Stan Shebs <shebs@andros.cygnus.com>
17047
17048 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
889bf7c5 17049 gdb.base/foll-vfork.exp: Don't run for crosses.
5a2468f5 17050
adf40b2e
JM
17051Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
17052
17053 * gdb.base/configure.in: Check for gdbvars.exp instead of
889bf7c5 17054 a1-selftest.exp.
adf40b2e
JM
17055 * gdb.base/configure: Re-generate.
17056
170571999-07-12 Stan Shebs <shebs@andros.cygnus.com>
17058
17059 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
17060 in trying to run first and name is too long.
17061
17062 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
17063 pointers2.c and pointers2.exp, respectively.
17064 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
17065 doschk happier.
17066
43e526b9
JM
170671999-07-08 Stan Shebs <shebs@andros.cygnus.com>
17068
17069 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
17070 callfuncs2.c and callfuncs2.exp.
17071
17072 * gdb.base/list.exp: Remove mistaken xfails.
17073 * gdb.base/list0.h: Add optional prototypes.
17074
9846de1b
JM
17075Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
17076
a9c64011 17077 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
889bf7c5 17078 calling malloc.
a9c64011
AS
17079 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
17080 * ptype.exp: Move test for get_debug_format to before its first
889bf7c5 17081 use.
9846de1b
JM
17082
170831999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17084
17085 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
17086 * gdb.base/annota2.cc, annota2.exp: Move from here.
17087 * gdb.c++/annota2.cc, annota2.exp: To here.
17088 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
17089
43ff13b4
JM
17090Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
17091
17092 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
889bf7c5 17093 a consistent format.
43ff13b4 17094
085dd6e6
JM
170951999-06-25 Stan Shebs <shebs@andros.cygnus.com>
17096
17097 From Jimmy Guo <guo@cup.hp.com> and others at HP:
17098 * lib/gdb.exp (get_compiler_info): Add detection for assorted
17099 HP compilers, also set the globals $true and $false.
17100
17101 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
889bf7c5
PA
17102 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
17103 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
17104 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
17105 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
17106 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
17107 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
17108 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
17109 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
17110 whatis.c} Add C++ compatible function definitions and return
17111 types, add includes for library functions.
085dd6e6
JM
17112 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
17113 * gdb.base/step-test.c (myglob): Rename from glob.
17114 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
889bf7c5
PA
17115 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
17116 files, move here from gdb.hp.
085dd6e6 17117 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
889bf7c5
PA
17118 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
17119 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
17120 Adjust line numbers in regexps.
085dd6e6
JM
17121
17122 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
17123 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
17124 instead of 0/1.
17125
17126 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
17127 foll-vfork.exp: New files, move here from gdb.hp.
17128 * gdb.base/page.exp: New file, test of pagination command.
17129
17130 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
17131 recursion test.
17132 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
17133
17134 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
889bf7c5 17135 gdb.base/solib.exp: Fix compiler invocation process.
085dd6e6
JM
17136
17137 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
889bf7c5 17138 HP-UX 11, turn off overload resolution explicitly.
085dd6e6 17139 * gdb.base/commands.exp: Set argument list explicitly, add
889bf7c5 17140 watchpoint test.
085dd6e6
JM
17141 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
17142 them work.
17143 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
17144 expressions properly.
17145 * gdb.base/corefile.exp: Loosen the match slightly.
17146 * gdb.base/default.exp: Allow "Error accessing memory" message
17147 also.
17148 * gdb.base/display.exp: Skip over x/0 j if PA64.
17149 * gdb.base/funcargs.exp: Add xfails for HP-UX.
17150 * gdb.base/interrupt.exp: Ditto.
17151 * gdb.base/langs.exp: Add symbolic matches governed by compiler
17152 in use.
17153 * gdb.base/list.exp: Add xfails for HP-UX.
17154 * gdb.base/long_long.exp: Refine some of the numeric matches.
17155 * gdb.base/mips_pro.exp: Xfail on HP-UX.
17156 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
17157 * gdb.base/nodebug.exp: Succeed on more varieties of output.
17158 * gdb.base/opaque.exp: Remove some HP-UX xfails.
17159 * gdb.base/ptype.exp: Succeed on more varieties of output.
17160 * gdb.base/scope.exp: Add xfails for HP-UX.
17161 * gdb.base/sect-cmd.exp: Add more cases.
17162 * gdb.base/setvar.exp: Add xfails for HP-UX.
17163 * gdb.base/shlib-call.exp: Loosen some matches slightly.
17164 * gdb.base/signals.exp: Match on void symbolically.
17165 * gdb.base/step-test.exp: Add case for PA64.
17166 * gdb.base/term.exp: Add exit and restart.
17167 * gdb.base/twice.exp: Clean up after self.
17168 * gdb.base/varargs.exp: Disable overload resolution explicitly.
17169 * gdb.base/whatis.exp: Allow more ways to pass tests.
17170
17171 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
889bf7c5 17172 no longer useful.
085dd6e6
JM
17173
17174Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
17175
17176 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
889bf7c5 17177 list of patterns.
085dd6e6 17178 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
889bf7c5
PA
17179 print_double_array(double_array)", "continuing to breakpoint
17180 1018", "print print_double_array(array_d)" and "continuing to
17181 1034" tests.
d63a86f8 17182
085dd6e6
JM
171831999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
17184
a9c64011 17185 * Makefile.in: Add empty html and install-html targets.
085dd6e6
JM
17186
171871999-06-24 Stan Shebs <shebs@andros.cygnus.com>
17188
17189 * config/mt-*: Remove, these haven't been used since 1996.
17190
171911999-06-22 Stan Shebs <shebs@andros.cygnus.com>
17192
17193 * gdb.base/call-strs.c, gdb.base/ending-run.c,
889bf7c5 17194 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
085dd6e6
JM
17195 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
17196
9e0b60a8
JM
171971999-06-18 Stan Shebs <shebs@andros.cygnus.com>
17198
17199 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
17200 simpler match case for the ptype of the big class.
17201
172021999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17203
17204 * gdb.exp: Fix test for gdb_prompt existence.
17205
172061999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17207
17208 * gdb.exp (gdb_test): Add fail after calls to perror.
17209
172101999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17211
17212 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
17213
172141999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
17215
17216 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
17217
0f71a2f6
JM
17218Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
17219
17220 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
889bf7c5 17221 malloc() is linked in.
0f71a2f6
JM
17222
172231999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
17224
17225 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
17226 step at end.
17227
17228 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
17229
172301999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
17231
17232 * gdb.java/jv-print.exp: New file. (Our first Java test!)
17233
cce74817
JM
17234Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
17235
17236 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
17237 * gdb.base/mips_pro.exp: Likewise.
17238
172391999-06-02 Keith Seitz <keiths@cygnus.com>
17240
17241 * gdb.c++/templates.cc: Change all "new" operators to throw
17242 an exception.
17243 * gdb.c++/cplusfuncs.cc: Likewise.
17244
17245 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
17246
17247Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
17248
17249 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
a9c64011
AS
17250 * gdb.base/ending-run.exp: When stepping out of main, accept a
17251 step into an arbitrary assembler file.
cce74817 17252
392a587b
JM
172531999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17254
d63a86f8 17255 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 17256 "breakpoint-invalid" to be printed.
d63a86f8 17257 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
17258 number of "frames-invalid" and "breakpoint-invalid" to be printed.
17259 * gdb.base/annota2.cc: Initialize a.x to 0.
17260
9e086581
JM
172611999-05-17 Keith Seitz <keiths@cygnus.com>
17262
17263 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
17264 when "skip_float_tests" set.
17265 Ditto for "print print_double_array(array_d)", "print print_small_structs",
17266 "print print_ten_doubles", and "step into print_long_arg_list".
17267 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
17268 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
17269 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
17270 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
17271 "skip_float_tests" is set.
17272 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
17273 when "skip_float_tests" set.
d63a86f8 17274
cd0fc7c3
SS
172751999-05-06 Keith Seitz <keiths@cygnus.com>
17276
17277 * gdb.base/annota2.cc: Include stdio.h.
17278
17279Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
17280
17281 * gdb.base/crossload.exp: Remove, this has been disabled ever
17282 since BFD stopped including all targets, and cross-GDB gets
17283 plenty of testing anyway.
17284 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
889bf7c5
PA
17285 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
17286 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
cd0fc7c3
SS
17287 * gdb.base/README: Remove, was doc for this.
17288 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
889bf7c5 17289 needed.
cd0fc7c3 17290
b83266a0
SS
172911999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17292
17293 * gdb.base/call-ar-st.exp: Fix one regular expression in test
17294 output.
17295
17296 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
17297 * gdb.base/annota2.exp: New file. More annotation tests.
17298 * gdb.base/annota1.c: New file. Source file for annota1.exp.
17299 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
17300
173011999-04-23 Angela Marie Thomas <angela@cygnus.com>
17302
17303 * config/cfdbug.exp: New file.
17304
7a292a7a
SS
173051999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
17306
17307 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
17308 Marcus Daniel's and Dale Hawkins's demangler crashes.
17309
17310 * gdb.c++/demangle.exp (test_gnu_style_demangling,
889bf7c5
PA
17311 test_lucid_style_demangling, test_arm_style_demangling,
17312 test_hp_style_demangling): Try Tom Tromey's core-dumping
17313 identifier under each demangling style.
7a292a7a
SS
17314
173151999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
17316
17317 * gdb.c++/demangle.exp: Include the current demangling style
17318 in all test names.
17319 (current_demangling_style): New global variable.
17320 (set_demangling_style, test_demangling_core, test_demangling,
17321 test_demangling_exact): New functions.
17322 (test_gnu_style_demangling, test_lucid_style_demangling,
17323 test_arm_style_demangling, test_hp_style_demangling): Use those,
17324 instead of calling gdb_test and gdb_test_exact directly.
17325 (catch_demangling_errors): New function, which reports errors
17326 signalled by the demangling test functions in an orderly way.
17327 (do_tests): Use catch_demangling_errors.
17328
173291999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
17330
17331 * gdb.base/signals.exp (test_handle_all_print): Use () for
889bf7c5 17332 grouping in expressions, not {}.
7a292a7a
SS
17333
17334 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
889bf7c5 17335 initialized yet.
7a292a7a
SS
17336
173371999-04-01 Stan Shebs <shebs@andros.cygnus.com>
17338
17339 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
17340 are listed.
17341
173421999-03-26 Stan Shebs <shebs@andros.cygnus.com>
17343
17344 * gdb.stabs/weird.exp: Test for CC being defined before
17345 looking at its value.
17346
173471999-03-25 Stan Shebs <shebs@andros.cygnus.com>
17348
17349 * gdb.base/call-ar-st.exp: Remove stray '#'.
17350 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
17351 "short int" and "long int".
17352 * gdb.c++/overload.cc: Cast the string added in the previous
889bf7c5 17353 change, to mollify finicky HP compiler.
7a292a7a
SS
17354 * gdb.hp/reg-test.exp (testfile): Fix file name.
17355 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
d63a86f8 17356
7a292a7a
SS
17357 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
17358 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
17359 alternate form of enum ptype.
17360
c906108c
SS
173611999-03-23 Stan Shebs <shebs@andros.cygnus.com>
17362
7a292a7a
SS
17363 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
17364 * gdb.hp/*.exp: Change all to run compiler probe only after
889bf7c5
PA
17365 passing skip_hp_tests, so as not to waste time on guaranteed
17366 failure.
7a292a7a 17367
c906108c
SS
17368 * gdb.c++/overload.cc: Pass string instead of char addr, always
17369 init ccpfoo.
17370 * gdb.c++/templates.cc: Fix syntax error.
17371
7a292a7a
SS
17372Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17373
17374 * gdb.base/commands.exp: Add test for correct position of '>'
d63a86f8 17375 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
17376 command.
17377
173781999-03-18 James Ingham <jingham@cygnus.com>
17379
17380 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17381
17382 * gdb.c++/method.exp: It was testing an uninitialized int on the
17383 stack and assuming it was positive.
17384
17385 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17386
17387 * gdb.base/step-test.exp: Catch a case where finish is broken and
d63a86f8 17388 keep it from killing the rest of the tests.
7a292a7a
SS
17389 Use gdb_continue_to_end.
17390
17391 * gdb.base/sigall.exp: use gdb_continue_to_end.
17392
17393 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17394
17395 * gdb.base/display.exp: use runto_main, not run.
17396
d63a86f8
RM
17397 * gdb.base/default.exp: Check for the current error message in the
17398 r abbreviation test.
7a292a7a
SS
17399 Add strongarm to the targets that know info float.
17400
d63a86f8 17401 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
17402 run which doesn't work with monitors.
17403
17404 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17405
17406 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17407
17408 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
d63a86f8
RM
17409 program. Traps the case (in Cygmon) when the program never really
17410 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
17411 more places, so I used my name. Sorry Mark...
17412
17413 * config/monitor.exp (gdb_target_monitor): added another
17414 target_info parameter: remotebinarydownload. This will set the
17415 remotebinarydownload flag if this is causing some boards trouble.
17416
174171999-03-18 Mark Salter <msalter@cygnus.com>
17418
17419 * lib/gdb.exp (continue_to_exit): New function.
17420
17421 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17422 * gdb.base/ending-run.exp: Ditto.
17423 * gdb.base/step-test.exp: Ditto.
17424
174251999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17426
17427 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17428 (suggested by Art Haas <ahaas@neosoft.com>).
17429
174301999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17431
889bf7c5 17432 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
7a292a7a
SS
17433
17434Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17435
17436 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
889bf7c5 17437 descriptions of types (short unsigned int vs unsigned short, etc).
7a292a7a
SS
17438
174391999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17440
17441 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17442 a call to strlen; sometimes we do have sources.
17443
174441999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
17445
17446 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
889bf7c5 17447 character, so GDB won't print garbage after its end.
d63a86f8 17448
c906108c
SS
17449 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17450 breakpoint there instead. Sometimes GCC emits memcpy to handle
17451 the large structures being passed by value, so we step into that
17452 instead of sum_array_print, which obscures what we're really testing.
17453 * gdb.base/step-test.exp: However, we do want a test that notices
889bf7c5
PA
17454 the bizarre steps into memcpy, so do that here. Add check for
17455 stepping into function calls that pass large structures by value.
17456 ("Is that a noun clause, or are you just happy to see me?")
c906108c
SS
17457 Remove all references to specific line numbers.
17458 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17459 New type and function.
17460 (main): Call large_struct_by_value, passing it a large struct by value.
17461 * lib/gdb.exp (gdb_get_line_number): New function.
17462
17463 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17464 more portable.
17465
7a292a7a
SS
174661999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17467
c906108c
SS
17468 * lib/gdb.exp: Doc fixes.
17469
7a292a7a
SS
174701999-03-05 Nick Clifton <nickc@cygnus.com>
17471
d63a86f8 17472 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
17473
174741999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17475
c906108c 17476 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
889bf7c5
PA
17477 commands. They're not germane to this test, and they don't work
17478 that way on remote targets.
c906108c 17479
3fc11d3e
JM
174801999-03-01 James Ingham <jingham@cygnus.com>
17481
17482 * Changelog entries merged over from gdb development branch.
17483
3fc11d3e
JM
17484 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17485
17486 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17487 for outputting results of test run.
17488
2d4a1622 17489 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
17490
17491 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 17492
7a292a7a
SS
174931999-02-25 Felix Lee <flee@cygnus.com>
17494
17495 * lib/gdb.exp (debug_format): initialize
17496
c906108c
SS
174971999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17498
17499 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17500 * gdb.base/call-rt-st.c: Ditto.
17501
c906108c
SS
175021999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17503
17504 * gdb.threads/pthreads.exp (horiz): New variable.
17505 (test_startup): Fix regexps that capture thread numbers.
17506
175071999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17508
17509 * gdb.base/smoke.exp: Disambiguate two test case names (both
17510 called ``print'').
17511
17512Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17513
17514 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
889bf7c5 17515 compilation.
c906108c
SS
17516
175171999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17518
17519 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17520 actual output formatting.
17521 * gdb.base/smoke.exp: GDB removes leading 0's.
17522 * gdb.base/volatile.exp: Don't check type of remuneration;
17523 that variable is no longer defined in constvars.c.
17524 * gdb.base/step-test.c (main): Exit with explicit exit code.
17525 * gdb.base/step-test.exp: Remove two nexti checks--they are
17526 not portable.
17527
175281999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17529
17530 * gdb.base/help.exp ("help delete display"): Fix test to match
17531 gdb's output.
17532
17533 * gdb.base/long_long.c (known_types): Initialize values to zero.
17534 * gdb.base/long_long.exp: Step one more line
17535 so 'dec' is initialized in "get to known place". GDB removes
a9c64011
AS
17536 leading zeros. Explicitly ask for hex formatting. Use
17537 unique test case names.
c906108c
SS
17538
17539Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17540
d63a86f8 17541 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
17542
17543 * gdb.c++/method.exp: Add missing close brace.
17544
175451999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17546
17547 * gdb.base/maint.exp: Use 'set height 0' to disable page
17548 prompting, not 'set height 400'.
17549
17550 Fix a bunch of timeouts.
17551 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17552 four separate tests, so expect doesn't take forever to match a ton
17553 of text against a regexp with lots of .* forms.
17554 ("maint print psymbols", "maint print symbols"): Make some of
17555 these greps more selective, so that expect doesn't try to wade
17556 through huge piles of output and time out.
17557
17558 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17559
17560 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
889bf7c5
PA
17561 tests: one which doesn't expect shlib events to be reported, and
17562 another which does, but is XFAIL for all platforms other than
17563 HP/UX.
c906108c
SS
17564
17565 * gdb.base/break.exp: Teach the test suite that the `catch
17566 fork', `catch vfork', and `catch exec' commands produce error
17567 messages on platforms that don't provide these features.
17568
17569Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17570
17571 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
889bf7c5
PA
17572 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17573 (shortening names from solib_threshold.exp etc), won't run on
17574 anything but HP-UX for the foreseeable future.
c906108c 17575 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
889bf7c5 17576 reflect move.
c906108c
SS
17577
17578Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17579
17580 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
889bf7c5 17581 gdb.trace/Makefile.in (clean): Remove all test executables.
c906108c
SS
17582
17583Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17584
17585 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17586 successfully re-sets breakpoints in shared libraries.
17587 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17588
17589Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17590
d63a86f8
RM
17591 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17592 and compiled w/o GCC.
c906108c
SS
17593
17594 * gdb.hp/watch-cmd.exp: ditto.
17595
17596 * gdb.hp/watch-hp.exp: ditto.
17597
17598 * gdb.hp/xdb1.exp: ditto.
17599
17600 * gdb.hp/xdb2.exp: ditto.
17601
17602 * gdb.hp/dbx.exp: ditto.
17603
17604Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17605
17606 * constvars.c: Remove C++-isms.
17607 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
889bf7c5 17608 with GCC.
c906108c
SS
17609
17610Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17611
17612 The following changes are part of the HP merge.
17613
17614 * gdb.base/break.exp: new tests to verify that catchpoints for
17615 fork, vfork, and exec don't trigger inappropriately.
17616
17617 * gdb.base/opaque.exp: compile one file at a time, then link.
17618
17619 * gdb.base/signals.exp: be more restrictive about which hppa
17620 systems receive a setup_xfail. new tests.
17621
17622 * gdb.base/solib_threshold.build: new file.
17623 * gdb.base/solib_threshold.exp: new file.
17624 * gdb.base/solib_threshold.link_opts: new file.
17625 * gdb.base/solib_threshold.mk: new file.
17626 * gdb.base/gen_solib_threshold.c: new file.
17627
17628 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17629 tests. New tests for enums inside classes.
17630
17631 * gdb.c++/compiler.cc: indicate support of template debugging.
17632
17633 * gdb.c++/demangle.exp: run hp style demangling tests.
17634
17635 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17636 tests.
17637
17638 * gdb.c++/misc.cc: changes to support new tests.
17639
17640 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17641 to support new tests.
17642
17643 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17644 gcc, then skip these tests.
17645
17646Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17647
17648 The following files are part of the HP merge; some had longer
17649 names at HP, but have been renamed to be no more than 14
17650 characters in length.
17651
17652 * gdb.hp/ambiguous.cc: new file.
17653 * gdb.hp/ambiguous.exp: new file.
17654 * gdb.hp/attach.exp: new file.
17655 * gdb.hp/attach2.exp: new file.
17656 * gdb.hp/classes-hp.exp: new file.
17657 * gdb.hp/ctti.exp: new file.
17658 * gdb.hp/ctti-add.cc: new file.
17659 * gdb.hp/ctti-add1.cc: new file.
17660 * gdb.hp/ctti-add2.cc: new file.
17661 * gdb.hp/ctti-add3.cc: new file.
17662 * gdb.hp/dbx.exp: new file.
17663 * gdb.hp/exception.cc: new file.
17664 * gdb.hp/exception.exp: new file.
17665 * gdb.hp/foll-exec.c: new file.
17666 * gdb.hp/foll-exec.exp: new file.
17667 * gdb.hp/foll-fork.c: new file.
17668 * gdb.hp/foll-fork.exp: new file.
17669 * gdb.hp/foll-vfork.c: new file.
17670 * gdb.hp/foll-vfork.exp: new file.
17671 * gdb.hp/inherit-hp.exp: new file.
17672 * gdb.hp/more-steps.exp: new file.
17673 * gdb.hp/namespace.cc: new file.
17674 * gdb.hp/namespace.exp: new file.
17675 * gdb.hp/optimize.exp: new file.
17676 * gdb.hp/pxdb.c: new file.
17677 * gdb.hp/pxdb.exp: new file.
17678 * gdb.hp/quicksort.exp: new file.
17679 * gdb.hp/reg-test.exp: new file.
17680 * gdb.hp/reg-test.s: new file.
17681 * gdb.hp/sized-enum.c: new file.
17682 * gdb.hp/sized-enum.exp: new file.
17683 * gdb.hp/start-stop.exp: new file.
17684 * gdb.hp/templ-hp.cc: new file.
17685 * gdb.hp/templ-hp.exp: new file.
17686 * gdb.hp/thr-lib.c: new file.
17687 * gdb.hp/thr-lib.exp: new file.
17688 * gdb.hp/thr-lib.h: new file.
17689 * gdb.hp/thr-liblib.c: new file.
17690 * gdb.hp/virtfun-hp.c: new file.
17691 * gdb.hp/virtfun-hp.exp: new file.
17692 * gdb.hp/watch-cmd.exp: new file.
17693 * gdb.hp/watch-hp.exp: new file.
17694 * gdb.hp/xdb1.exp: new file.
17695 * gdb.hp/xdb2.exp: new file.
17696 * gdb.hp/xdb3.exp: new file.
17697
17698Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17699
17700 The following files are part of the HP merge; some had longer
17701 names at HP, but have been renamed to be no more than 14
17702 characters in length.
17703
17704 * gdb.base/ss.h: new file.
17705 * gdb.base/call-ar-st.c: new file.
17706 * gdb.base/call-ar-st.exp: new file.
17707 * gdb.base/call-rt-st.c: new file.
17708 * gdb.base/call-rt-st-exp: new file.
17709 * gdb.base/call-strs.exp: new file.
17710 * gdb.base/ena-dis-br.exp: new file.
17711 * gdb.base/environ.exp: new file.
17712 * gdb.base/long_long.exp: new file.
17713 * gdb.base/sect-cmd.exp: new file.
17714 * gdb.base/shlib-cl2.exp: new file.
17715 * gdb.base/smoke.exp: new file.
17716 * gdb.base/so-impl-ld.c: new file.
17717 * gdb.base/so-impl-ld.exp: new file.
17718 * gdb.base/so-indr-cl.c: new file.
17719 * gdb.base/so-indr-cl.exp: new file.
17720 * gdb.base/varargs.exp: new file.
17721 * gdb.base/volatile.exp: new file.
17722 * gdb.base/whatis-exp.exp: new file.
7a292a7a 17723 * gdb.base/display.exp: new file.
c906108c
SS
17724 * gdb.c++/derivation.exp: new file.
17725 * gdb.c++/local.exp: new file.
17726 * gdb.c++/member-ptr.exp: new file.
17727 * gdb.c++/overload.exp: new file.
17728 * gdb.c++/ovldbreak.exp: new file.
17729 * gdb.c++/ref-types.exp: new file.
17730 * gdb.c++/ref-types2.exp: new file.
17731 * gdb.c++/userdef.exp: new file.
d63a86f8 17732
c906108c
SS
17733Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17734
17735 * gdb.base/default.exp: Reflect wording change in remote.c.
17736
dc96c6c7 17737Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17738
17739 * gdb.base/help.exp: Update to reflect current text.
17740
17741Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17742
17743 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17744 they're stack variables and contain garbage.
17745 * gdb.c++/anon-union.exp: new file.
17746
17747 The following changes were made by David Taylor
889bf7c5
PA
17748 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17749 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17750 in changes by HP.
c906108c
SS
17751
17752 * gdb.base/bitops.exp: new file.
17753 * gdb.base/default.exp: change expected messages for catch and
17754 info catch tests to reflect HP merge changes.
17755 * gdb.base/enable-disable-break.exp
17756 * gdb.base/ending-run.c: new file.
17757 * gdb.base/long_long.c: new file.
17758 * gdb.base/maint.exp: new file.
17759 * gdb.base/pointers2.exp: new file.
17760 * gdb.base/shlib-call2.exp: new file.
17761 * gdb.base/solib.exp: new file.
17762 * gdb.base/step-test.c: new file.
17763 * gdb.c++/anon-union.cc: new file.
17764 * gdb.c++/local.cc: new file.
17765 * gdb.c++/member-pointer.cc: new file.
17766 * gdb.c++/method.cc: new file.
17767 * gdb.c++/ref-types.cc: new file.
17768 * gdb.c++/ref-types2.cc: new file.
17769 * gdb.c++/userdef.cc: new file.
d63a86f8 17770
c906108c
SS
17771 * gdb.base/scope.exp: compile one file at a time, then link.
17772 * gdb.base/langs.exp: ditto.
17773 * gdb.base/list.exp: ditto.
d63a86f8 17774
c906108c
SS
17775Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17776
17777 The following changes were made by David Taylor
889bf7c5
PA
17778 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17779 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17780 in changes by HP.
d63a86f8 17781
c906108c
SS
17782 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17783 skip tests. When compiling pass c++ flag to gdb_compile.
17784 * gdb.c++/
d63a86f8 17785
c906108c
SS
17786 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17787 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17788 (skip_hp_tests): new function.
17789 (gdb_preprocess): new function.
17790
17791 * configure.in (hpdir): decide whether to configure gdb.hp.
17792 * configure: regenerated.
17793
17794 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17795 to delete on clean.
17796 (EXECUTABLES): update to reflect new additions.
17797 * gdb.base/commands.exp: update message expected.
17798 * gdb.base/default.exp: add copyright notice.
17799 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17800 * gdb.base/help.exp: update messages to reflect current text.
17801 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17802 targets for recurse tests.
17803 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17804 skip this file.
17805
17806 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17807 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17808 compilation.
17809 * gdb.c++/misc.exp: ditto.
17810 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17811 run the tests. tell gdb_compile that it's a c++ compilation.
17812
17813 * gdb.threads/pthreads.exp: fix typo in message.
d63a86f8 17814
c906108c
SS
17815 * gdb.base/all-bin.exp: new file.
17816 * gdb.base/arithmet.exp: new file.
17817 * gdb.base/assign.exp: new file.
17818 * gdb.base/completion.exp: new file.
17819 * gdb.base/cond-expr.exp: new file.
17820 * gdb.base/condbreak.exp: new file.
17821 * gdb.base/define.exp: new file.
17822 * gdb.base/dollar.exp: new file.
17823 * gdb.base/environment.exp: new file.
17824 * gdb.base/eval-skip.exp: new file.
17825 * gdb.base/jump.exp: new file.
17826 * gdb.base/logical.exp: new file.
17827 * gdb.base/pointers.exp: new file.
17828 * gdb.base/relational.exp: new file.
17829 * gdb.base/section_command.exp: new file.
17830 * gdb.base/whatis-expr.exp: new file.
17831
17832 * gdb.base/all-types.c: new file.
17833 * gdb.base/call-array-struct.c: new file.
17834 * gdb.base/call-return-struct.c: new file.
17835 * gdb.base/call-strings.c: new file.
17836 * gdb.base/callfuncs2.c: new file.
17837 * gdb.base/condbreak.c: new file.
17838 * gdb.base/constvars.c: new file.
17839 * gdb.base/display.c: new file.
17840 * gdb.base/int-type.c: new file.
17841 * gdb.base/jump.c: new file.
17842 * gdb.base/miscexprs.c: new file.
17843 * gdb.base/pointers.c: new file.
17844 * gdb.base/pointers2.c: new file.
17845 * gdb.base/shmain.c: new file.
17846 * gdb.base/shr1.c: new file.
17847 * gdb.base/shr2.c: new file.
17848 * gdb.base/solib.c: new file.
17849 * gdb.base/solib1.c: new file.
17850 * gdb.base/solib2.c: new file.
17851 * gdb.base/varargs.c: new file.
17852 * gdb.c++/derivation.cc: new file.
17853 * gdb.c++/overload.cc: new file.
17854 * gdb.c++/ovldbreak.cc: new file.
17855 * gdb.hp/attach.c: new file.
17856 * gdb.hp/attach2.c: new file.
17857 * gdb.hp/average.c: new file.
17858 * gdb.hp/compiler.c: new file.
17859 * gdb.hp/compiler.cc: new file.
17860 * gdb.hp/execd-program.c: new file.
17861 * gdb.hp/follow-exec.c: new file.
17862 * gdb.hp/follow-fork.c: new file.
17863 * gdb.hp/follow-vfork-and-exec.c: new file.
17864 * gdb.hp/misc-hp.cc: new file.
17865 * gdb.hp/more-steps.c: new file.
17866 * gdb.hp/optimize.c: new file.
17867 * gdb.hp/quicksort.c: new file.
17868 * gdb.hp/run-hp.c: new file.
17869 * gdb.hp/start-stop.c: new file.
17870 * gdb.hp/sum.c: new file.
17871 * gdb.hp/templates-hp.cc: new file.
17872 * gdb.hp/thread-local-in-lib.c: new file.
17873 * gdb.hp/thread-local-in-lib.h: new file.
17874 * gdb.hp/thread-local-in-lib.lib.c: new file.
17875 * gdb.hp/vforked-program.c: new file.
17876 * gdb.hp/virtfunc-hp.cc: new file.
17877 * gdb.hp/watchpoint-hp.c: new file.
17878 * gdb.hp/xdb.c: new file.
17879 * gdb.hp/xdb0.c: new file.
17880 * gdb.hp/xdb0.h: new file.
17881 * gdb.hp/xdb1.c: new file.
17882
17883Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
17884
17885 The following change was made by Edith Epstein
889bf7c5
PA
17886 <eepstein@cygnus.com> as part of a project to merge in changes
17887 originally made by HP; HP did not create ChangeLog entries.
c906108c
SS
17888
17889 * gdb.c++/demangle.exp: changed the expected output for some
17890 ARM-style mangling -- removed second reference to datatype.
889bf7c5 17891 For example, maint demangle __dt__11T1__pt__2_cFv
a9c64011 17892 T1<char>::~T1<char>(void)
c906108c 17893 becomes,
a9c64011
AS
17894 maint demangle __dt__11T1__pt__2_cFv
17895 T1<char>::~T1(void)
c906108c 17896
889bf7c5 17897 (test_hp_style_demangling): new hp specific demangling test cases.
d63a86f8 17898
c906108c
SS
17899Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
17900
17901 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
17902 * gdb.trace/backtrace.exp: Likewise.
17903 * gdb.trace/circ.exp: Likewise.
17904 * gdb.trace/collection.exp: Likewise.
17905 * gdb.trace/deltrace.exp: Likewise.
17906 * gdb.trace/infotrace.exp: Likewise.
17907 * gdb.trace/limits.exp: Likewise.
17908 * gdb.trace/packetlen.exp: Likewise.
17909 * gdb.trace/passc-dyn.exp: Likewise.
17910 * gdb.trace/passcount.exp: Likewise.
17911 * gdb.trace/report.exp: Likewise.
17912 * gdb.trace/save-trace.exp: Likewise.
17913 * gdb.trace/tfind.exp: Likewise.
17914 * gdb.trace/tracecmd.exp: Likewise.
17915 * gdb.trace/while-dyn.exp: Likewise.
17916 * gdb.trace/while-stepping.exp: Likewise.
17917
179181998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17919
17920 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17921
17922Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17923
17924 From Brendan Kehoe:
17925 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
17926 int return types.
17927
17928Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
17929
17930 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
889bf7c5 17931 remote dos host testing right.
c906108c
SS
17932
17933Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
17934
17935 * gdb.base/corefile.exp: remove some xfails.
17936
17937Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
17938
17939 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
889bf7c5 17940 have different timestamps.
c906108c
SS
17941
17942Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
17943
17944 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
889bf7c5 17945 gdb.base/default.exp: Replace "exec" with "executable".
c906108c
SS
17946
17947Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
17948
17949 * gdb.base/default.exp: Change else if to elseif from previous
889bf7c5 17950 delta.
c906108c
SS
17951
17952Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
17953
17954 * gdb.base/default.exp: Add brace missing from previous delta.
17955
17956Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
17957
17958 * gdb.base/default.exp: Support test for info float for all
17959 varieties of arm toolchain.
17960
dc96c6c7 17961Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17962
17963 * gdb.trace/*.exp: remove "remote_download" command.
17964
dc96c6c7 17965Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17966
17967 * gdb.trace/*.exp: remove -gdwarf from compile.
17968
17969Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
17970
17971 * gdb.trace/configure.in(AC_INIT): typo
17972 * gdb.trace/configure: regenerated
17973
dc96c6c7 17974Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17975
17976 * config/m68k-emc.exp: New file.
17977 * lib/<emc-support.exp trace-support.exp}: New files.
17978 * configure.in: add new test directory gdb.trace.
17979 * gdb.trace/{configure configure.in Makefile.in}: New files.
17980 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
17981 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
17982 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
17983 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
17984 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
17985 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
17986 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
d63a86f8 17987
dc96c6c7 17988Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
17989
17990 * gdb.c++/classes.exp: Change all regular expressions to match
17991 arbitrary combinations of newline/carriage-return, so that they
17992 will work equally well on Unix and Windows.
17993 * gdb.c++/inherit.exp: ditto.
17994 * gdb.c++/virtfunc.exp: ditto.
17995
179961998-08-11 Dawn Perchik <dawn@cygnus.com>
17997
17998 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
17999
c2d11a7d
JM
18000Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
18001
18002 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
18003 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
18004 to use a0-a3/d0-d3 as needed.
18005
18006Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
18007
18008 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
18009 * gdb.disasm/am33.exp: Corresponding changes.
18010
c906108c
SS
180111998-07-11 Felix Lee <flee@cygnus.com>
18012
18013 * gdb.base/callfuncs.exp: add cmp10 test.
18014 * gdb.base/callfuncs.c (cmp10): new function.
18015
18016Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
18017
d63a86f8 18018 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
18019 into two parts to get around a synchronization problem in expect.
18020
3fc11d3e
JM
18021Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
18022
18023 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
18024
18025 * configure.in: Add options for gdbtk testsuite.
18026
18027 * configure: Regenerate.
18028
18029 * gdb.gdbtk: New directory to hold gdbtk tests.
18030
c906108c
SS
18031Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18032
18033 * gdb.fortran/types.exp: Escape brackets in expect patterns
18034 for test_float_literal_types_accepted tests.
18035 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
18036 before run test.
18037
c2d11a7d
JM
18038Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
18039
18040 * am33.exp: Just compile, do not link the testcase.
18041 * am33.s: Add ".am33" pseudoop to force am33 mode.
18042
c906108c
SS
180431998-06-25 Felix Lee <flee@cygnus.com>
18044
18045 * gdb.base/setshow.exp: make sure $pc is sane.
18046
18047 * gdb.stabs/weird.exp: split expect patterns properly.
18048
c2d11a7d
JM
18049Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
18050
18051 * gdb.disasm/am33.s: New disassembler testfile for the am33.
18052 * gdb.disasm/am33.exp: Run it.
18053
dc96c6c7 18054Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18055
18056 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
18057 match processing (and eliminate spurious timeouts when running).
18058
dc96c6c7 18059Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18060
18061 * gdb.base/signals.exp (test_handle_all_print): put back Mach
18062 exception test, but conditionalize it on target [mach | gnu].
18063
dc96c6c7 18064Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18065
18066 * gdb.base/overlays.exp: fixup compile line for linker script.
18067
18068Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
18069
18070 * gdb.fortran/types.exp: don't guess at float size.
18071
18072Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
18073
18074 * gdb.base/exprs.exp: delete test that depends on int size.
18075
18076Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
18077
18078 * config/sim.exp: Removed checks for target triplets.
18079 (gdb_target_sim): Use gdb,target_sim_options.
18080
18081Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
18082
18083 * gdb.base/reread.exp: New file.
18084 * gdb.base/reread1.c: New file.
18085 * gdb.base/reread2.c: New file.
18086
18087Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
18088
18089 * config/sim.exp: Use 'target sim -sparclite' when running
18090 SPARClite programs.
18091
18092Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
18093
18094 * gdb.base/structs2.exp: New file.
18095 * gdb.base/structs2.c: New file.
18096
18097Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
18098
18099 * gdb.asm/common.inc: New file.
18100 * gdb.asm/d10v.inc: New file.
18101 * asm-source.exp: Pass -I's to gas to find .inc files.
18102 Update line numbers in expected output.
18103 * asmsrc1.s: Rewrite.
18104 * asmsrc2.s: Rewrite.
18105 * configure.in: Create arch.inc symlink.
18106 * configure: Regenerate.
18107 * Makefile.in (distclean): Delete arch.inc.
18108
18109Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
18110
18111 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
889bf7c5
PA
18112 (t_enum_value2): ditto
18113 (t_enum_value3): ditto
18114 (main): ditto
c906108c
SS
18115Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18116
18117 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
18118 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
18119 change.
18120 Use gdb_test instead of send_gdb/gdb_expect sequences.
18121
18122Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
18123
18124 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
18125 not void.
18126
18127Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
18128
18129 * gdb.base/branches.c: Code with lots of loops and
889bf7c5
PA
18130 subroutines. Used to test gdbs ability to single step through PC
18131 changes, especially to test mips-tdep.c:mips_next_pc
c906108c
SS
18132
18133Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
18134
18135 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
18136 more rigorous EGCS C++ error checking.
18137
18138Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18139
a9c64011
AS
18140 * gdb.base/help.exp: Clean up `help set args' and `help show args'
18141 tests.
18142 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
18143 function when asleep.
18144 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
18145 for i*86 Linux and SVR4 signal handling problems.
18146 Remove linux xfail for `next to handler in signals_tests_1', fixed
18147 by recent infrun.c change.
18148 Limit backtrace to 10 frames to avoid timeout problems with infinite
18149 stack backtraces.
18150 Adjust expect pattern in `handle all print' test to match Apr 28 1997
18151 target.[ch] change.
c906108c
SS
18152
18153Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
18154
18155 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
18156 for a newline from gdb before continuing.
18157 (default_gdb_exit): Just look for y or n.
18158 (gdb_test): Detect abnormal exit from GDB running on DOS; if
18159 it does, fail the rests of the tests in the file.
18160
18161Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
18162
18163 * config/cygmon.exp: New file.
18164
18165Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
18166
18167 * gdb.base/list.exp: Fix problem with "list default lines around
889bf7c5 18168 main" test on remote targets.
c906108c
SS
18169
18170 * gdb.base/scope.exp: Fix problem with filelocal_bss before
18171 run test on remote targets.
18172
18173Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
18174
18175 * gdb.asm: New directory.
18176 * configure.in: Configure it.
18177 * configure: Regenerate.
18178 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
18179 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
18180
18181Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
18182
18183 * config/mn10300-eval.exp: New file to support MN10300 eval board.
18184
dc96c6c7 18185Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 18186
a9c64011
AS
18187 * gdb.base/overlays (several files): Merge the two overlay
18188 managers into one. Change variables (foox, barx, bazx, grbxx)
18189 back into ints but force them to load in their proper sections.
c906108c
SS
18190
18191Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
18192
18193 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
889bf7c5 18194 on-chip insn memory and IMAP1 to upper 128k.
c906108c
SS
18195 (D10VCopy): Handle memory regions crossing 16k boundaries.
18196 (D10VCopy): Transfer data in 32 bit chunks.
18197
18198Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
18199
18200 * gdb.base/overlays.c (main): Exit normally when result is
889bf7c5 18201 correct.
c906108c
SS
18202
18203 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
889bf7c5 18204 map. Include space for printf in .text segment.
c906108c
SS
18205
18206 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
889bf7c5 18207 updated d10v memory VMA/LMA map.
c906108c 18208 (D10VCopy): Call D10VTranslate.
d63a86f8 18209
c906108c
SS
18210Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
18211
18212 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
18213
18214 * gdb.base/bar.c (barx, bar): Change variable to small array so
889bf7c5
PA
18215 that it won't be put into the .sdata - small data -
18216 section. Update reference.
c906108c
SS
18217 * gdb.base/baz.c (bazx, baz): Ditto.
18218 * gdb.base/foo.c (foox, foo): Ditto.
18219 * gdb.base/grbx.c (grbxx, grbx): Ditto.
18220
18221 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
889bf7c5 18222 to be arrays.
d63a86f8 18223
dc96c6c7 18224Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
d63a86f8 18225
a9c64011
AS
18226 * gdb.base/overlays.exp: fix up and get working again.
18227 Add tests for backtraces from an overlay function.
d63a86f8 18228
c906108c
SS
18229Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
18230
18231 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
18232 "calling function with watchpoint enabled".
18233
18234Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
18235
18236 * gdb.base/break.exp (test_next_with_recursion): Remove
889bf7c5 18237 gdb_suppress_tests for d10v-*-*.
c906108c
SS
18238 * lib/gdb.exp (gdb_suppress_tests): Disable this function
18239 pending review of whether it is useful or not.
18240
18241Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
18242
18243 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
18244
18245Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
18246
18247 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
18248 * config/dve.exp: New file to support Densan boards.
18249
18250Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
18251
18252 * gdb.base/interrupt.exp: Document problem of simulators, signals,
889bf7c5 18253 reads and BSD.
c906108c
SS
18254
18255Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
18256
18257 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
18258 response.
18259
18260 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
18261
18262Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
18263
18264 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
889bf7c5 18265 test.
c906108c
SS
18266
18267 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
889bf7c5 18268 target_sizeof_long and target_bigendian_p.
c906108c 18269 (structs_by_value, structs_by_reference): Check values according
889bf7c5 18270 to targets word size and endianess.
d63a86f8 18271
c906108c
SS
18272Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
18273
18274 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
889bf7c5 18275 output.
c906108c
SS
18276
18277Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
18278
18279 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
889bf7c5 18280 Update test of set args help to match source change.
c906108c
SS
18281
18282Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
18283
18284 * gdb.base/default.exp: Expect help system output to be in
18285 alphabetical order.
18286 * gdb.base/help.exp: Ditto.
18287
18288Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
18289
18290 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
18291 "i*86-pc-linux-gnu*".
18292 * gdb.base/interrupt.exp: Ditto.
18293 * gdb.base/corefile.exp: Ditto.
18294
18295 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
889bf7c5 18296 define vxworks when building the testcase.
c906108c
SS
18297
18298 * gdb.base/ptype.exp: Fix testnames to be unique.
18299 * gdb.base/radix.exp: Ditto.
18300 * gdb.base/term.exp: Ditto.
18301 * gdb.base/whatis.exp: Ditto.
18302 * gdb.c++/classes.exp: Ditto.
18303
18304Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
18305
18306 * gdb.base/callfuncs.exp: Fix indentation.
18307
18308 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
18309 suppress_flag has been set.
18310 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
18311 target feature.
18312
18313Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
18314
18315 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
18316 the testcase.
18317
18318 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
889bf7c5 18319 set_debug_traps() and breakpoint().
c906108c
SS
18320 * gdb.c++/misc.cc (main): Ditto.
18321 * gdb.c++/templates.cc (main): Ditto.
18322 * gdb.c++/virtfunc.cc (main): Ditto.
18323
18324Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
18325
18326 * lib/gdb.exp(gdb_step_for_stub): New function.
18327 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
18328 exists, reload the executable and do a "continue" instead of
18329 doing a jump.
18330 (runto_main): Use gdb_step_for_stub.
d63a86f8 18331
c906108c 18332 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
889bf7c5 18333 tests to have unique names.
c906108c
SS
18334 * gdb.base/callfuncs.exp: Ditto.
18335 * gdb.base/commands.exp: Ditto.
18336 * gdb.base/default.exp: Ditto.
18337 * gdb.base/help.exp: Ditto.
18338 * gdb.base/list.exp: Ditto.
18339 * gdb.base/opaque.exp: Ditto.
18340 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
18341 similar tests.
d63a86f8 18342
c906108c
SS
18343 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
18344 * gdb.c++/cplusfuncs.cc: Ditto.
18345 * gdb.c++/virtfunc.cc: Ditto.
18346
18347 * config/monitor.exp: Keep track of the last file we saw, rather
18348 than trying to get the info from gdb.
18349
18350 * gdb.fortran/types.exp: Move comment to previous line.
18351
18352Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
18353
18354 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
889bf7c5 18355 target mode.
c906108c
SS
18356
18357Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
18358
18359 From Bob Manson:
18360 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
889bf7c5 18361 string from GDB when it connects.
c906108c
SS
18362
18363 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
18364
18365Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
18366
18367 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
889bf7c5
PA
18368 if we can't get a debug format from GDB (we may be testing an
18369 older GDB). Use a 10 second timeout when checking for the format.
c906108c
SS
18370
18371 * gdb.stabs/weird.exp: Fix quoting.
18372
18373 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18374
18375Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18376
18377 * config/arm-ice.exp: New file.
18378
18379Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18380
18381 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
889bf7c5 18382 until it has been modified to work with the new testsuite.
c906108c 18383
99707966 18384 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
889bf7c5
PA
18385 testcase won't compile, cause all of the testcases in the file to
18386 fail instead.
c906108c
SS
18387
18388 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18389 (gdb_clear_suppressed): New procedure.
18390 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18391 it contains a positive value.
18392
18393Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18394
18395 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18396
18397 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18398
18399Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18400
18401 * lib/gdb.exp (setup_xfail_format): New function.
18402 (get_debug_format): New function to get debug format.
18403 (debug_format): New global variable to hold last value set
18404 by get_debug_format.
18405 * gdb.base/list.exp: Call get_debug_format and expect some
889bf7c5 18406 tests to fail for DWARF 1 and COFF formats.
c906108c
SS
18407 * gdb.c++/ptype.exp: Ditto.
18408 * gdb.c++/classes.exp: Ditto.
18409 * gdb.c++/cplusfuncs.exp: Ditto.
18410 * gdb.c++/inherit.exp: Ditto.
18411 * gdb.c++/templates.exp: Ditto.
18412 * gdb.c++/virtfunc.exp: Ditto.
d63a86f8 18413
c906108c
SS
18414Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18415
18416 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18417 host doesn't have a currently-open connection.
18418
18419 * config/sparclet.exp: Cleanups and fixes to make it generic for
889bf7c5
PA
18420 any gdb stub target. Handle cases where gdb doesn't respond when
18421 interrupted in a sane fashion.
c906108c
SS
18422
18423 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
889bf7c5 18424 same thing in a totally different way.
c906108c
SS
18425
18426 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
889bf7c5 18427 setting "timeout".
c906108c 18428 (gdb_start): We set the global gdb_prompt variable in
889bf7c5 18429 default_gdb_init now.
c906108c
SS
18430
18431Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18432
18433 * gdb.base/printcmds.exp: Fix "check for floating addition"
18434 regexp to accept results within approx +/- .01 of exact value.
18435 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18436
18437Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18438
18439 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
889bf7c5 18440 properly.
c906108c
SS
18441 (gdb_expect): Add optional timeout parameter, and add timeout
18442 value to various calls.
18443 (gdb_suppress_tests): Only give one warning message per group.
18444
18445Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18446
18447 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
889bf7c5
PA
18448 global variables. Handle getting a value for $timeout more
18449 gracefully.
c906108c
SS
18450
18451Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18452
18453 * lib/gdb.exp: Close connection to remote host if gdb doesn't
889bf7c5 18454 initialize.
c906108c 18455 (default_gdb_init): New procedure; allow gdb_init to be overridden
889bf7c5 18456 by a target configuration file.
c906108c
SS
18457 (gdb_expect): Pass the timeout to remote_expect.
18458
18459 * config/monitor.exp(gdb_load): Fix typo in regexp.
18460
18461Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18462
18463 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18464
18465Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18466
18467 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
889bf7c5
PA
18468 here. Call gdb_target_exec before rebooting the target, to make
18469 sure the connection to the target is closed.
c906108c
SS
18470 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18471 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18472 Also detect "Timeout reading from remote" error.
18473
18474 * config/gdbserver.exp: Pass the executable being loaded to
889bf7c5
PA
18475 gdb_target_monitor. Don't call gdb_file_cmd here; let
18476 gdb_target_monitor do it.
c906108c
SS
18477
18478 * gdb.disasm/hppa.exp: Don't use exec_output.
18479
18480Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18481
18482 * gdb.base/list.exp: If we're debugging a non-native target,
18483 try to set the pc register to point to the start of the
18484 program before doing the first list command.
18485
18486 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
889bf7c5 18487 test_calls after restarting.
c906108c
SS
18488
18489 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
889bf7c5 18490 reloading.
c906108c
SS
18491
18492 * gdb.base/watchpoint.exp: Fix typo.
18493
18494 * gdb.base/setshow.exp: Check for use_gdb_stub.
18495
18496 * gdb.base/break.exp: Fix continue until exit test for the gdb
889bf7c5 18497 stub case.
c906108c
SS
18498 * gdb.base/langs.exp: Ditto.
18499
18500 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
889bf7c5
PA
18501 gdb_load_offset. If we weren't given a file to load, figure out
18502 what the current file is and use it.
c906108c
SS
18503
18504 * config/i386-bozo.exp: New file.
18505
18506Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18507
18508 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18509 feature.
18510
18511 * config/proelf.exp: New entry.
18512
18513Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18514
18515 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18516 of regexps.
18517
18518 * gdb.base/watchpoint.exp: Don't run the test_stepping
18519 tests if gdb can't call functions on the target.
18520
18521 * gdb.base/setshow.exp: Don't run the set prompt tests if
18522 the board has gdb_prompt set.
18523
18524Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18525
18526 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18527 * gdb.base/commands.exp: Likewise.
18528 * gdb.base/setshow.exp: Likewise.
18529
18530Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18531
18532 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18533 feature.
18534
18535 * config/i960.exp: New file.
18536
18537Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18538
18539 * gdb.base/funcargs.exp: Check for gdb,short_int target
18540 feature instead of looking for explicit target triplets.
18541
dc96c6c7 18542Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 18543
d63a86f8 18544 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
18545 "p 123DEADBEEF", to check parse_number.
18546 * top.c: change "to enable to enable" to "to enable" in a couple
18547 of help strings.
18548
18549Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18550
18551 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18552 on the mn10300.
d63a86f8 18553
c906108c
SS
18554Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18555
18556 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18557 where the test executable is run with explicit args.
18558 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18559
18560Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18561
18562 * gdb.base/run.c: Use FAKEARGV to build test executable that
18563 does not require a command line arg, since most simulators
18564 don't currently support passing such an arg into the simulated
18565 program.
18566 * gdb.base/commands.exp: Change tests to insert the proper
18567 value as the arg to the first recursive factorial call. Change
18568 compilation line to define FAKEARGV at compile time.
18569
18570Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18571
18572 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18573 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18574 function with watchpoint enabled" test.
18575
18576Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18577
18578 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
889bf7c5 18579 Don't call gdb_test when the command doesn't return to a gdb prompt.
c906108c
SS
18580
18581 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
889bf7c5 18582 "Tests restarted" messages.
c906108c
SS
18583
18584Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18585
18586 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18587
dc96c6c7 18588Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
18589
18590 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18591 for INFO SYMBOL; add help tests for OVERLAY commands.
18592 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18593 add tests for OVERLAY commands
18594 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18595 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18596 * gdb.base/sigall.c: add usestubs code frag
18597 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
d63a86f8 18598
c906108c
SS
18599Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18600
18601 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18602 failures.
18603 (gdb_stop_suppressing_tests): Note that tests have restarted.
18604
18605Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18606
18607 * config/h8300.exp: New file.
18608
18609Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18610
18611 * gdb.base/setshow.exp: Check for the existence of a
18612 feature, not its value.
18613
18614Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18615
18616 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18617
18618 * gdb.base/scope.exp: It's now init0(), not init().
18619
18620 * gdb.base/scope0.c: For now, change init() to be init0().
18621
18622 * config/monitor.exp: Use gdb_serial in preference to serial
18623 or netport.
18624
18625 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
889bf7c5 18626 and it's not already set.
c906108c
SS
18627
18628Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18629
18630 * gdb.base/setshow.exp: Only test the run command if the target
889bf7c5 18631 isn't using a stub and if it supports argument passing.
c906108c
SS
18632
18633Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18634
18635 * config/udi.exp(gdb_start): Make sure UDICONF is set
18636 properly before starting gdb.
18637
18638Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18639
18640 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18641 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18642 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18643
18644Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18645
18646 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
889bf7c5 18647 specialized code to reboot the board, use remote_reboot instead.
c906108c
SS
18648
18649 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18650
18651 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18652
18653 * config/monitor.exp: Make sure we disconnect from the target.
18654 Also, try a reboot/reload cycle instead of failing if the
18655 load fails.
18656
18657Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18658
18659 * gdb.base/default.exp: Don't set match_max.
18660 * gdb.base/help.exp: Ditto.
18661 * gdb.base/list.exp: Ditto.
18662 * gdb.base/signals.exp: Ditto.
18663
18664 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18665 set, use remote_ld to download the testcase instead of
18666 the GDB loader.
18667
18668Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18669
18670 * config/vr5000.exp: New file.
18671
18672 * config/monitor.exp(gdb_target_monitor): Add pattern for
18673 "Ending remote" to detect errors in connecting.
18674
18675 * gdb.base/setshow.exp: Add .* within auto language test.
18676
18677 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18678 target feature.
18679
18680 * config/monitor.exp(gdb_load): Check for a failure when loading,
889bf7c5 18681 and reboot the board if necessary.
c906108c
SS
18682
18683 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18684 a set of tests. Remove print.* from the patterns being checked.
18685
18686Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18687
18688 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18689 refer to gdb_spawn_id.
18690
18691 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18692 longer used.
18693 * config/sparclet.exp: Ditto.
18694 * config/sparclet-old.exp: Ditto.
18695 * config/slite.exp: Ditto.
18696 * config/sim.exp: Ditto.
18697 * gdb.base/funcargs.exp: Ditto.
18698
18699 * lib/gdb.exp:Remove references to gdb_spawn_id.
18700 (gdb_expect): Move to remote.exp.
18701
18702Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18703
18704 * config/monitor.exp: Detect the "Couldn't establish connection"
18705 message from GDB.
18706
18707Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18708
18709 * gdb.base/bitfields.exp: Use runto instead of explicit
18710 gdb_run_cmd/gdb_expect sequences.
18711
18712 * gdb.base/break.exp(text_next_with_recursion): Add match for
18713 gdb_expect call.
18714
18715 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18716 We also need to handle the "A program is being debugged already"
18717 prompt from gdb. Use gdb_test to set the baud rate.
18718
18719 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18720 to 20000. Really. I mean it.
18721
18722Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18723
18724 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
889bf7c5
PA
18725 fails. If suppress_flag is set, skip perror message about not
18726 being able to send to GDB.
c906108c 18727 (send_gdb): If suppress_flag is set, don't try to send commands to
889bf7c5 18728 GDB.
c906108c
SS
18729 (gdb_expect): If suppress_flag is set, always fail immediately.
18730 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18731 (gdb_init): Call gdb_stop_suppressing_tests.
18732 (default_gdb_exit): Ditto.
18733 (default_gdb_start): Ditto.
18734
18735 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
889bf7c5 18736 gdb_stop_suppressing_tests as appropriate.
c906108c 18737 * gdb.base/break.exp: Ditto.
889bf7c5 18738 * gdb.base/callfuncs.exp: Ditto.
c906108c
SS
18739 * gdb.base/commands.exp: Ditto.
18740 * gdb.base/exprs.exp: Ditto.
889bf7c5 18741 * gdb.base/funcargs.exp: Ditto.
c906108c
SS
18742 * gdb.base/list.exp: Ditto.
18743 * gdb.base/recurse.exp: Ditto.
889bf7c5 18744 * gdb.base/scope.exp: Ditto.
c906108c
SS
18745 * gdb.base/structs.exp: Ditto.
18746 * gdb.c++/inherit.exp: Ditto.
18747
18748Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18749
18750 * config/vr4300.exp: New file.
18751
99707966 18752 * gdb.*/*.exp: Call gdb_expect instead of expect.
d63a86f8 18753
99707966 18754 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
18755
18756Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18757
18758 * lib/gdb.exp(gdb_init): New function.
18759
18760 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
889bf7c5 18761 for each individual variable set.
c906108c
SS
18762
18763 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18764 name.
18765
18766 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18767
18768 * gdb.base/scope.exp: Use gdb_test.
18769
18770 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18771 aborting; the testsuite driver will do that for us (see
18772 gdb_finish). Also, use gdb_test in a few more places.
18773
18774Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18775
18776 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18777
18778Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18779
18780 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18781 and "add_tests" are not at the same address.
18782
18783Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18784
18785 * gdb.base/ptype.exp: Use gdb_test.
18786
18787Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18788
18789 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18790 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18791 left in. No longer expect them to fail.
18792
18793 * gdb.stabs/*.mt; Deleted, no longer used.
18794 * gdb.stabs/configure.in: Remove references to target makefile
18795 frags.
18796 * gdb.stabs/configure: Rebuilt.
18797
18798 * gdb.disasm/*.mt: Deleted, no longer used.
18799 * gdb.disasm/configure.in: Remove references to target makefile
18800 frags. Use "sh3.s" as the unique filename for this directory.
18801 * gdb.disasm/configure: Rebuilt.
18802
18803 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18804 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18805 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18806
18807Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18808
18809 * config/udi.exp: Use mondfe,name instead of remote_host.
18810
18811Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18812
18813 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18814 a function with a watchpoint enabled on the mn10200.
18815
18816 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18817 before trying to create it!
18818
18819Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18820
18821 * config/vx.exp: Use hostname instead of netport.
18822
18823 * config/vxworks.exp: New file.
18824
18825 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18826
18827 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
889bf7c5 18828 gdb before assuming everything worked. Send a ^C if a timeout
c906108c
SS
18829 occurs.
18830
18831 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18832 $gdb_spawn_id directly.
18833 (gdb_run_cmd): Try _start as well as start. Use the target feature
18834 gdb,start_symbol as the symbol to start from when jumping.
18835
18836Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18837
18838 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18839 redundant) test.
18840
18841 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18842 it doesn't lose for 16bit integer systems.
18843
18844Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18845
18846 * gdb.fortran/types.exp: If the target doesn't support "double"
18847 data types, then expect "real" types to only be 4 bytes.
18848
18849 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18850 call tests if the target doesn't support inferior function calls.
18851
18852 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18853 in printf tests.
18854
18855Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18856
18857 * gdb.base/help.exp: Disable "help set", "help show", and
18858 "help support". Simplify regexp for "help stack".
18859
18860 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18861 to 60 seconds. Temporarily set match_max to 15000 around the
18862 "info copying" test.
18863
18864 * gdb.base/nodebug.exp: Don't try to do an inferior function
18865 call if the target doesn't support them.
18866 * gdb.base/printcmds.exp: Likewise.
18867 * gdb.base/setvar.exp: Likewise.
18868 * gdb.base/structs.exp: Likewise.
18869 * gdb.c++/templates.exp: Likewise.
18870 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
18871
18872 * gdb.base/recurse.exp: Enable for the mn10200.
18873
18874 * configure.in: Do configure gdb.stabs directory for *-*-elf
18875 targets.
18876 * configure: Rebuilt.
18877
18878 * gdb.base/break.exp: Check for gdb,noresults before testing
18879 exit status and/or results from the target.
18880 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
18881 * lib/gdb.exp: Remove old (now bogus) initialization of
18882 noinferior, noargs, noresults and nosignals.
18883
18884Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18885
18886 * config/sh.exp: New file.
18887
18888 * config/slite.exp: Try to connect multiple times to the board
18889 before rebooting. Only send a "monitor run" if need_monitor_run
18890 is set.
18891
18892 * gdb.base/break.exp: Don't do the "stub continue" test if
18893 the target has gdb_stub set.
18894
18895 * gdb.base/callfuncs.exp: Increase the timeout.
18896
18897 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18898 if the target has gdb,noinferiorio set.
18899
18900 * gdb.base/list.exp: Increase match_max to 10000 characters.
18901
18902 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18903
18904 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18905 target.
18906
18907 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18908
18909Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
18910
18911 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
889bf7c5
PA
18912 trying to delete the copy of gdb. Catch the file delete so we
18913 don't die if the delete fails; also, the file should be copied to
18914 the host, not to the build.
c906108c
SS
18915
18916Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18917
18918 * lib/gdb.exp(gdb_test): Surround the result pattern with
889bf7c5 18919 parenthesis in case it contains multiple regexps separated
c906108c
SS
18920 with |.
18921
18922 * gdb.base/watchpoint.exp: Use gdb_test.
18923 * gdb.base/default.exp: Ditto.
18924
18925Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
18926
99707966 18927 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
d63a86f8 18928
c906108c
SS
18929 * gdb.base/scope.exp: Use gdb_test.
18930 * gdb.c++/classes.exp: Ditto.
18931 * gdb.c++/inherit.exp: Ditto.
18932
18933Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
18934
18935 * gdb.base/crossload.exp: Don't use execute_anywhere, use
18936 remote_exec instead.
18937 * gdb.base/corefile.exp: Don't be ridiculous.
18938 * gdb.base/*.c: Add missing stub invocations.
18939
18940Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
18941
18942 * config/slite.exp: Miscellaneous fixes.
18943
18944 * lib/gdb.exp: Fix runto.
18945
18946 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
18947 the target.
18948
18949 * gdb.base/watchpoint.exp: Fix regexp.
18950
18951 * lib/gdb.exp(default_gdb_exit): Add a catch to the
18952 close and wait commands, as the descriptor may now be
18953 invalid. Always call "remote_close host".
18954
18955Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
18956
18957 Major rewrite for testsuite revision.
d63a86f8 18958
c906108c
SS
18959 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
18960 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
18961 instead of relying on spawn_id to always contain a valid
18962 spawn id.
18963 (get_compiler_info): New procedure to build the ${binfile}.ci
18964 file, instead of replicating this in N different places.
18965 (gdb_compile): New procedure.
d63a86f8 18966
c906108c 18967 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
889bf7c5
PA
18968 appropriate arguments) instead of compile. Use gdb_test in a lot
18969 more places. Use send_gdb instead of send. Always run gdb_start
c906108c
SS
18970 at the start of a testcase, as this is no longer done magically.
18971
18972 config/*-gdb.exp: Rename without the -gdb suffix.
18973
18974 config/mips.exp: Use remote_close instead of exit_remote_shell.
18975 config/monitor.exp: Use target_info instead of looking at
18976 baud, timeout, etc.
18977 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
18978
18979Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18980
18981 * gdb.c++/templates.exp (test_ptype_of_templates),
18982 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
18983 Update expect patterns for destructors and assignment operators
18984 to match corresponding c-typeprint.c changes.
18985 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
18986 to destructor breakpoint test, GDB should be able to set the
18987 destructor breakpoint without specifying arguments.
18988
18989Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
18990
18991 * gdb.threads/pthreads.exp: Change result for failure to compile due
18992 to lack of pthreads runtime support from an error to simply an
18993 unsupported test, per dejagnu standards.
18994
18995Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18996
18997 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
18998 where GDB exits to reduce pattern match time.
18999 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
19000
19001 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
19002
dc96c6c7 19003Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19004
19005 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
19006 * gdb.base/default.exp: ditto.
19007 * gdb.base/nodebug.exp: ditto.
19008 * gdb.base/printcmds.exp: ditto.
19009 * gdb.base/ptype.exp: ditto.
19010 * gdb.base/setvar.exp: ditto.
19011 * gdb.base/structs.exp: ditto.
19012 * gdb.base/setshow.c: Guard against uninitialized values of argc.
19013
19014Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
19015
19016 * configure, */configure: Rebuild with autoconf 2.12.
19017
19018Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
19019
19020 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
19021 use new i*86-pc-linux*-gnu quads.
19022 * gdb.base/corefile.exp: Ditto.
19023 * gdb.base/signals.exp: Ditto.
19024 * gdb.base/sigall.exp: Ditto.
19025 * gdb.base/interrupt.exp: Ditto.
19026
19027 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
19028 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
19029 RedHat 4.0.
d63a86f8 19030
c906108c 19031 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
889bf7c5
PA
19032 linux. This allows the test case to at least compile on latest
19033 linux, but still not run due to missing the threads runtime library.
c906108c
SS
19034
19035Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19036
19037 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
19038 directory to search gdb directory. Accept and step over conditional
19039 stack alignment code. Consume $prompt in failure cases.
19040 Reset timeout to $oldtimeout instead of some arbitrary value.
19041 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
19042 timeout problems with infinite stack backtraces.
19043 * gdb.base/ptype.exp (ptype struct link, union tu_link):
19044 Accept function parameters for linkfunc member.
19045
19046Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
19047
19048 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
19049 (CXXFLAGS): Remove, unreferenced.
19050 (B_OPTIONS): Add for -B options and add code to initialize with
889bf7c5
PA
19051 previous -B options and also add -B option to pick up cross compiled
19052 runtime.
c906108c
SS
19053 (TARGET_INCLUDES): Add for -I options and add code to initialize when
19054 doing cross compiles.
19055 (target_alias): Declare global.
19056 (xgcc): Set variable to full path of gcc in build tree. Use findfile
19057 to verify that gcc exists in build tree, and if so set CC to that
19058 gcc and to use B_OPTIONS and TARGET_INCLUDES.
d63a86f8 19059
c906108c
SS
19060Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
19061
19062 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
19063 ptype test for anonymous union. Fixup testcase to match
19064 current gcc debug output.
19065
19066Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
19067
19068 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
19069 force argument to an unsigned long type.
19070
19071Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
19072
19073 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
889bf7c5 19074 tests and anonymous union print/ptype tests.
c906108c
SS
19075 * gdb.base/list.exp (test_forward-search): Increase timeout by
19076 5 minutes for the "search extremely long line" case.
19077 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
19078 completely optional and that the pass/fail messages use the command as
19079 the message if that third arg is a null string.
19080 (gdb_test_exact): Arrange that a null string pattern means match a
19081 null string output rather than any output, which might include random
889bf7c5 19082 errors.
c906108c
SS
19083 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
19084 backtrace test.
19085 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
19086 always failing and failure is now exposed by gdb.exp changes.
19087
19088Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
19089
19090 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
19091 weren't being noted.
19092
19093Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19094
19095 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
19096 * gdb.stabs/weird.exp: Remove v_comb xfails.
19097
dc96c6c7 19098Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19099
19100 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
a9c64011 19101 list.exp scope.exp watchpoint.exp]
c906108c 19102 Make all timeout error msgs explicitly say "(timeout)".
d63a86f8 19103
dc96c6c7 19104Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19105
19106 * config/monitor.exp: Increase download timeout to 1000 seconds.
19107
dc96c6c7 19108Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19109
19110 * config/m32r.exp: Increase timeout to 120 seconds.
19111
19112Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
19113
19114 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
19115 and accept older ordering as obsolescent gcc or gdb.
19116 * gdb.c++/templates.exp: Ditto.
19117 * gdb.c++/virtfunc.exp: Ditto.
19118
19119Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
19120
19121 * gdb.base/coremaker.c: Add code to mmap some data so we
19122 can check that it ends up in the core file.
19123 * gdb.base/corefile.exp: Add test to read mmapped data
19124 from core file.
19125
dc96c6c7 19126Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19127
19128 * config/m32r.exp: New file.
19129
19130Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
19131
19132 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
19133 that cflags can contains -gstabs, and work correctly for other tests.
19134
dc96c6c7 19135Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
19136
19137 * gdb.base/setshow.exp: New file, tests show and set.
19138 * gdb.base/setshow.c: New file, tests show and set.
19139 * gdb.base/help.exp: Add test for help set|show annotate.
19140 * gdb.base/default.exp: Add test for set|show annotate.
19141
19142Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
19143
19144 * testsuite/gdb.base/break.exp: Make backtrace from factorial
19145 errors unique.
19146 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
19147 explicitly.
19148
19149Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
19150
19151 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
19152 and width commands. This is done elsewhere.
19153 * (gdb_start): Don't call gdb_start_sim here. That's already
19154 done in gdb_load. This fixes lots of failures in default.exp.
19155
19156Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
19157
19158 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
19159 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
19160 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
19161 in the same we we treat other failures (since it may be an expected
889bf7c5 19162 condition), rather than as an error.
c906108c
SS
19163 * gdb.base/signals.exp (test_handle_all_print): Revert back to
19164 old test format.
19165
19166Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
19167
19168 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
19169 (distclean maintainer-clean realclean): No need to remove files
889bf7c5 19170 twice. Nuke the duplicates.
c906108c 19171 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
d63a86f8 19172 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
19173 Remove config.h along with other config files.
19174
19175Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
19176
19177 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
19178 "p func1 ()" and note that rests of tests are skipped.
19179 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 19180 setup_xfails for "print func2::coremaker_local".
c906108c
SS
19181 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
19182 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
19183 affected by the previous run test.
19184 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
19185 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
19186 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
19187 "pass int powerset tuple" and "pass modeless int powerset tuple".
19188 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
19189 "real write 4" and "real write 8".
19190 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
889bf7c5 19191 setup_xfails for "print vs1 after tuple assign 2",
c906108c
SS
19192 "print \$i after tuple assign 2", and
19193 "print vs2 after tuple assign 2".
19194 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
19195 meaningful error message and return -1 so the caller can
19196 suppress further tests and avoid a cascade of errors.
d63a86f8 19197
c906108c
SS
19198Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
19199
19200 * gdb.base/a1-selftest.exp: Tweak tests to account for new
19201 format for printing version.
19202 * gdb.base/default.exp: Ditto.
19203 * gdb.base/interrupt.exp: Fix problem with cascade of
19204 errors if child process dies while calling a function.
d63a86f8 19205
c906108c
SS
19206Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
19207
19208 * Makefile.in (VPATH): Add
19209 * Makefile.in (Makefile, config.status): Fix rules so things get
19210 remade when necessary.
19211
19212Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
19213
19214 * Makefile.in (just-check): Add path to sibling expect dir
19215 to environment variable specified by RPATH_ENVVAR.
19216
19217Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
19218
19219 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
19220 (just-check): Add shared library paths for libstdc++, tk,
19221 tcl, bfd, and opcodes to the environment variable specified
19222 in RPATH_ENVVAR.
19223 * configure.in: Add support to recognize --enable-shared flag
19224 and generate correct value for RPATH_ENVVAR.
19225 * configure: Regenerated with autoconf.
19226
19227Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
19228
19229 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
889bf7c5 19230 include all osf versions.
c906108c
SS
19231 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
19232 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
19233 when target is linux. When failing to build pthreads test
19234 executable, give more meaningful message.
19235 * gdb.threads/pthreads.c: Hpux also uses old definition of second
19236 arg for pthread_create.
d63a86f8 19237
c906108c
SS
19238Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
19239
19240 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
889bf7c5 19241 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
c906108c 19242 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
889bf7c5 19243 and -lpthreads (everybody else).
c906108c
SS
19244 (test_startup): Fail gracefully if threads are not supported.
19245 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
19246 "p/c array_index("abcdef",2)" when not gcc compiled.
19247 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
19248 "print func2::coremaker_local" when not gcc compiled.
19249 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
19250 "ptype on opaque struct tagname (statically)",
19251 "ptype on opaque struct tagname (dynamically) 1", and
19252 "ptype on opaque struct tagname (dynamically) 2"
19253 for not compiled with gcc.
19254 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
19255 backtrace when compiled with gcc.
d63a86f8 19256 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
19257 than always return success.
19258
19259Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
19260
19261 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
19262
19263Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
19264
19265 * gdb.base/structs.exp: Undo last change.
19266
19267Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
19268
19269 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
19270 encapsulate all the steps/nexts done during self test, starting
19271 at main, and makes them less sensitive to optimization issues.
19272 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
19273 signal handler" test.
19274 * gdb.threads/pthreads.exp: Only run this for native configs.
19275 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
19276 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
19277 tests.
19278 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
19279 for "runto test_calls(void)" test.
d63a86f8 19280
c906108c
SS
19281Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
19282
19283 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
19284 and don't expect address info in breakpoint confirmations.
19285
19286Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
19287
19288 * gdb.base/list.exp (test_forward_search): Increase timeout
19289 temporarily by 60 seconds for searching extremely long line,
889bf7c5 19290 and then reset to old value when done. Increase expect input
c906108c
SS
19291 buffer to 10000.
19292
19293Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
19294
19295 * gdb.base/list.exp (test_forward_search): Fix to handle very
19296 long source line without overflowing expect's input buffer.
19297
19298Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
19299
19300 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
19301 "buffer_full".
19302
19303 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
19304 "buffer_full".
19305
19306 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
19307 "buffer_full".
19308
19309 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
19310 "buffer_full".
19311
19312Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
19313
19314 * configure.in (configdirs): Add gdb.threads.
19315 * configure: Regenerated with autoconf.
19316 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
19317 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
19318 * gdb.threads/configure: New, generated with autoconf.
d63a86f8 19319
c906108c
SS
19320Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
19321
19322 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
19323
19324Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
19325
19326 * gdb.base/signals.exp (test_handle_all_print): Test separately for
19327 each signal's status in the output of "handle all print".
19328 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
19329 the \r\n sequence that immediately precedes the gdb prompt.
19330 * gdb.base/a1-selftest.exp: Save original timeout and restore
19331 after test.
19332
19333Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
19334
19335 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
19336 symbol.
19337
19338Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
19339
19340 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
19341
19342Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
19343
19344 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
19345 timeout by 60 seconds.
19346
19347Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
19348
19349 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
19350 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
19351 error return.
19352
19353Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
19354
19355 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
19356 gdb initialization, also report how long dejagnu waited. Restore
19357 old timeout before doing error return. Temporarily increase timeout
889bf7c5 19358 by 3 minutes to allow for slow startups over heavy NFS use.
c906108c
SS
19359
19360Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
19361
19362 * lib/gdb.exp: Report timeout value for verbosity level 2.
19363 * config/gdbserver.exp: Ditto.
19364 * config/hppro.exp: Ditto.
19365 * config/mips-gdb.exp: Ditto.
19366 * config/monitor.exp: Ditto.
19367 * config/netware.exp: Ditto.
19368 * config/sim-gdb.exp: Ditto.
19369 * config/slite-gdb.exp: Ditto.
19370 * config/udi-gdb.exp: Ditto.
19371 * config/unix-gdb.exp: Ditto.
19372 * config/vx-gdb.exp: Ditto.
19373 * gdb.base/a1-selftest.exp: Ditto.
19374 * gdb.base/a2-run.exp: Ditto.
19375 * gdb.base/break.exp: Ditto.
19376 * gdb.base/corefile.exp: Ditto.
19377 * gdb.base/list.exp: Ditto.
19378 * gdb.base/recurse.exp: Ditto.
19379 * gdb.base/scope.exp: Ditto.
19380 * gdb.base/signals.exp: Ditto.
19381
19382Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19383
19384 * gdb.threads/Makefile.in (docdir): Removed.
19385
19386Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19387
19388 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
d63a86f8 19389 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 19390 @srcdir@.
d63a86f8 19391 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
19392 autoconf 2.5 or higher.
19393 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19394
19395Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19396
19397 * configure: Regenerated.
19398 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19399 avoid name clashes with SunOS headers.
19400
19401Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19402
19403 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19404
19405Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19406
19407 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19408 prototype information ends up in the compiler info file.
19409
19410Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19411
19412 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19413 attempting to regenerate it. Eliminate use of a temporary file
19414 and just generate the info file directly. Source it immediately,
19415 for consistency of use.
19416 * gdb.base/corefile.exp: Ditto
19417 * gdb.base/exprs.exp: Ditto.
19418 * gdb.base/funcargs.exp: Ditto.
19419 * gdb.base/langs.exp: Ditto.
19420 * gdb.base/list.exp: Ditto.
19421 * gdb.base/mips_pro.exp: Ditto.
19422 * gdb.base/nodebug.exp: Ditto.
19423 * gdb.base/opaque.exp: Ditto.
19424 * gdb.base/ptype.exp: Ditto.
19425 * gdb.base/scope.exp: Ditto.
19426 * gdb.base/setvar.exp: Ditto.
19427 * gdb.base/signals.exp: Ditto.
19428 * gdb.base/whatis.exp: Ditto.
19429 * gdb.c++/templates.exp: Ditto.
19430 * gdb.c++/virtfunc.exp: Ditto.
19431 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
889bf7c5 19432 whether or not to add -lstdc++ to the compile command line args.
c906108c
SS
19433
19434Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19435
19436 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19437 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19438 Increase timeout, a lot of single stepping might be needed if the
19439 target has no hardware watchpoints.
19440
19441Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19442
19443 * gdb.base/break.exp: Ignore compiler warnings when compiling
19444 break.c.
19445 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19446 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19447 from remote-sim.
19448 * gdb.base/exprs.exp: Add h8300 xfails.
19449 * gdb.base/funcargs.exp: Likewise.
19450 * gdb.base/nodebug.exp: Likewise.
19451 * gdb.base/printcmds.exp: Likewise.
19452 * gdb.base/ptype.exp: Likewise.
19453 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19454 h8300 xfails.
d63a86f8 19455 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
19456 on the h8300.
19457 * gdb.base/funcargs.c: Explicitly make last constant argument to
19458 call_after_alloca_subr an unsigned long type.
19459 * gdb.base/return.c: Include stdio.h.
19460
19461Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19462
19463 * config/abug.exp: New file for the older Motorola Bug monitor
19464 that runs on the mvme13x series VME boards.
19465 * config/monitor.exp: Use the new config array for target settings
19466 if they exist.
19467
19468Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19469
19470 * sim-gdb.exp: Make the SH simulator allocate less space when
19471 it is targeted.
19472
19473Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19474
19475 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19476 test.
19477
19478Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19479
19480 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19481 "rs6000-*-*" for "list function in include file" when gcc compiled.
19482 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19483 for "p ctable1[120]".
19484 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19485 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19486 Remove setup_xfail for "rs6000-*-*" for
19487 "print 'scope0.c'::filelocal before run".
19488 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19489 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19490 since some compilers don't allow both options to be given
19491 on the same command line. Create object file and move it.
d63a86f8 19492
c906108c
SS
19493Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19494
19495 * gdb.base/corefile.exp: Always regenerate the core file, since
19496 we always regenerate the coremaker program. Detect special case
19497 where registers cannot be read from core file.
d63a86f8 19498
c906108c
SS
19499Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19500
19501 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19502 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19503 * gdb.c++/templates.exp: Only match on basename of file since
19504 some formats like xcoff don't encode directory information.
19505 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19506 and rs6000 AIX xcoff targets.
19507 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19508 * configure: Regenerate.
19509 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19510 here, rather than in distclean.
d63a86f8 19511
c906108c
SS
19512Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19513
19514 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19515 defined, and use it to compile the test case with -O2. The
19516 native compilation still uses no optimization.
19517 * gdb.base/mips_pro.c: Remove inline assembly code since
19518 it is compiled PIC by default, which results in assembler
19519 warnings that make the testsuite think the compilation
19520 was unsuccessful.
19521
19522Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19523
19524 * gdb.c++/misc.exp: Add note to message for
19525 "print s.a for foo struct" that this is a known gcc 2.7.2
19526 and earlier bug.
19527
19528Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19529
19530 * gdb.base/break.exp: Fix pattern for matching "Delete all
19531 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19532 setup_xfail for deleting all breakpoints test. Fix various
19533 timeout messages to include "(timeout)".
19534 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19535 for "p t_float_values2(3.14159,float_val2)".
19536 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19537 for "continue to call2g" when gcc compiled.
19538 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19539 "up to foo in langs.exp", "show language at foo in langs.exp",
19540 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19541 and "show language at fsub in langs.exp".
19542 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19543 "list line 1 in include file", "list message for lines past EOF",
19544 "list function in include file", "list list0.h:foo", and
19545 "list filename:function; nonexistant function".
19546 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19547 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19548 and "ptype t_char_array" to be for native cc only.
d63a86f8 19549
c906108c
SS
19550Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19551
d63a86f8 19552 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c 19553 setup_xfail for "print coremaker_bss", "print coremaker_ro",
889bf7c5 19554 "print func2::coremaker_local", and "backtrace in corefile.exp".
c906108c
SS
19555
19556Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19557
19558 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19559 "bt in signals.exp". This problem only appears when running
19560 the testsuite, and then only intermittently.
19561
19562Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19563
19564 * gdb.base/return.exp (return_tests): Differentiate between
19565 two tests of continuing.
19566
19567Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19568
19569 * */Makefile.in (maintainer-clean): Remove config.log.
19570 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19571 * gdb.c++/Makefile.in (PROGS): Add inherit.
19572 (clean): Remove *.ci.
19573
19574Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19575
19576 * gdb.c++/misc.cc: Add test code from Mike Stump.
19577 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19578
19579Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19580
19581 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19582 to "alpha-*-osf2*" and add comment.
19583 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
889bf7c5
PA
19584 setup_xfail for "step over execarg initialization" and
19585 "step over corearg initialization".
c906108c
SS
19586 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19587 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19588 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
889bf7c5 19589 gcc compiled for "print coremaker_bss", "print coremaker_ro",
c906108c
SS
19590 "print func2::coremaker_local", and "backtrace in corefile.exp".
19591 * gdb.base/signals.exp: Build and source signals.ci.
19592 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19593 to be for gcc only.
19594 * lib/gdb.exp: Move verbose statements outside conditionals.
d63a86f8 19595
c906108c
SS
19596Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19597
19598 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19599 Feb 3 procfs.c change.
19600
19601Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19602
19603 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19604
19605Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19606
19607 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19608 from dejagnu's apparent default of 10 seconds, which gives random
19609 results when running the tests over NFS on moderately loaded systems.
19610 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19611
19612Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19613
19614 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19615 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
889bf7c5 19616 result reports.
c906108c
SS
19617
19618Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19619
19620 * configure.in (CY_AC_PATH_TCLH): Remove.
19621 * configure: Regenerate.
19622
19623Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19624
19625 * gdb.c++/Makefile.in (clean): Add missing '{'.
19626
19627Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19628
19629 * lib/gdb.exp: Provide a default value for noinferior.
19630
19631 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19632 Load libgloss.exp.
19633
19634Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19635
19636 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19637 the executable, not the .o to run the tests from.
19638
19639Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19640
19641 * gdb.base/break.exp: Don't test for program exit or exit status
19642 if $noresults if nonzero.
19643 * gdb.base/langs.exp: Likewise.
19644 * gdb.base/watchpoint.exp: Likewise.
19645
19646 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19647 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19648 trying to compile the testcase.
19649
19650Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19651
19652 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19653 * gdb.base/signals.exp (continue to handler): Likewise.
19654
19655Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19656
19657 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19658
19659 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19660
19661Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19662
19663 * gdb.base/corefile.exp: Recognize "not found" as failure
19664 when trying to determine if a core file was generated.
19665 If no core file was generate the first time, try again without
19666 the ulimit -c to work around braindamaged shells.
19667
19668Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19669
19670 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19671 [] tests with "test" and enclose string in quotes.
19672 * gdb.stabs/configure: Rebuild
d63a86f8 19673
c906108c
SS
19674Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19675
19676 Changes in sync with expect:
19677 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19678 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19679 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19680 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19681 argument to AC_REQUIRE.
19682 * configure: Regenerated.
19683
19684Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19685
19686 * gdb.base/corefile.exp: When generating a core, discard any
19687 error messages about ulimit not found and the "core dumped"
19688 message from the shell that runs the coredumper.
19689
19690Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19691
19692 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19693
19694 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19695 which sed script to run. Expect failure for v_comb test
19696 on PA targets too.
d63a86f8 19697
c906108c
SS
19698Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19699
19700 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
889bf7c5 19701 "print func2::coremaker_local" and for "backtrace in corefile.exp"
c906108c
SS
19702
19703Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19704
19705 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19706 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
889bf7c5 19707 "sparc-sun-solaris*" xfails for "p v_comb".
c906108c
SS
19708 * lib/gdb.exp (default_gdb_start): Fix typo.
19709 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19710 messages to not include the full program name that caused
19711 the core dump since some systems (such as solaris) apparently
19712 truncate this path to about 80 characters.
19713 When generating a core file first try increasing the core file
19714 size limit to unlimited since some systems may default it to
19715 zero, and it is harmless to try it. Move the test for failing
19716 to generate a core file to where it will actually get executed.
19717 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19718 new gdb result from g++ debug info improvements and make old
19719 pattern obsolescent. Also account for size_t differences
19720 (may be int or long).
19721 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19722 initialization before function call is placed in the delay slot
19723 and thus appears to be skipped over by commands such as "next".
19724
19725Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19726
19727 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19728
19729Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19730
19731 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19732 input source file; fix code to compile test to deal with this
19733 convention.
19734 * gdb.c++/*.exp: Likewise.
19735
19736Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19737
19738 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19739 "bt in signals.exp".
19740
19741Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19742
19743 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19744 "step over execarg initialization" and
889bf7c5 19745 "step over corearg initialization".
c906108c
SS
19746
19747Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19748
19749 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19750 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19751
19752Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19753
19754 From Rob Savoye (rob@poseidon.cygnus.com)
19755 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19756 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
889bf7c5
PA
19757 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19758 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19759 configure.in}: Major reworking for autoconfig.
c906108c
SS
19760 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19761 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
889bf7c5 19762 New files.
c906108c
SS
19763 * config/unix-gdb.exp: Make GDB global.
19764 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
889bf7c5
PA
19765 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19766 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19767 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19768 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19769 term.exp, twice.exp, watchpoint.exp, whatis.exp},
c906108c 19770 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
889bf7c5
PA
19771 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19772 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19773 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19774 pr-8136.exp, result.exp, string.exp, tuples.exp},
c906108c 19775 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
889bf7c5
PA
19776 to returns as necessary, arrange for test to compile own testcase
19777 executable.
c906108c 19778 * lib/gdb.exp: Changes for testsuite to compile own test cases.
d63a86f8 19779
c906108c
SS
19780Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19781
19782 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
889bf7c5 19783 clear_xfail at end of test which might not call either pass or fail.
c906108c
SS
19784 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19785 "backtrace through signal handler".
19786
19787Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19788
19789 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19790 continuing from a job control stop signal.
19791 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19792
19793Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19794
19795 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19796 * gdb.base/corefile.exp: Likewise.
19797 * gdb.base/funcargs.exp: Likewise.
19798
19799Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19800
19801 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19802 * config/monitor.exp: Add support for setting baud rate.
19803
19804Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19805
19806 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19807 i*86-*-linux* xfails for "backtrace through signal handler".
19808 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19809 "print func2::coremaker_local".
19810 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
889bf7c5 19811 alpha-dec-osf2* xfail for
c906108c
SS
19812 "delete all breakpoints when none".
19813
19814Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19815
19816 * gdb.base/break.exp: Change test that deletes all breakpoints
19817 when no user breakpoints are installed. A post 4.15 change
19818 causes gdb to no longer prompt in this case.
19819
19820Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19821
19822 * gdb.base/return.exp (return_tests): Change xfail for test
19823 "correct value returned double test" to stop xfailing at
19824 Solaris 2.5. Apparently the bug has been fixed.
19825
19826Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19827
19828 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19829 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19830
19831Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19832
19833 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19834 * gdb.disasm/hppa.s: Corresponding changes.
19835
19836Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19837
19838 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19839 makefile fragment.
19840 * config/mt-hpux: Deleted.
19841
19842Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19843
d63a86f8 19844 * Many files: When warning about suppressed tests due to a
c906108c
SS
19845 nonexistant test binary, avoid incrementing the warning count.
19846
19847Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19848
19849 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
d63a86f8 19850
c906108c
SS
19851Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19852
19853 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19854 "sparc-*-solaris2*".
19855
19856Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19857
19858 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19859 Add global and local variables and initialize them.
19860 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19861 by printing variables. Remove rs6000 and powerpc xfails, BFD now
19862 extracts the file name and terminating signal from the core file.
19863 * TODO: Remove note about tests for correct mapping of corefile.
19864 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
19865 from optimizing it away.
19866 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
19867 handles common blocks.
19868
19869Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19870
19871 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19872 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19873
19874Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19875
19876 * Makefile.in (maintainer-clean): New target, synonym for
19877 realclean.
19878 * gdb.base/Makefile.in (maintainer-clean): Likewise.
19879 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
19880 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
19881 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
19882 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
19883 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
19884
19885Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
19886
19887 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
19888 xfails when not gcc compiled for "print foo::funclocal".
19889 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
19890 "print foo::funclocal at foo",
19891 "print 'scope1.c'::foo::funclocal at foo",
19892 "print foo::funclocal_bss at foo",
19893 "print 'scope1.c'::foo::funclocal_bss at foo",
19894 "print foo::funclocal_ro at foo",
19895 "print 'scope1.c'::foo::funclocal_ro at foo",
19896 "print bar::funclocal at foo" and
19897 "print 'scope1.c'::bar::funclocal at foo".
19898 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
19899 gcc compiled for "print foo::funclocal at bar".
19900 Expand all messages to ensure that they identify that
19901 the test is at bar().
19902 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
19903 gcc compiled for:
19904 "ptype on opaque struct pointer (statically)",
19905 "ptype on opaque struct tagname (statically)",
19906 "ptype on opaque struct pointer (dynamically) 1",
19907 "ptype on opaque struct tagname (dynamically) 1",
19908 "ptype on opaque struct pointer (dynamically) 2" and
19909 "ptype on opaque struct tagname (dynamically) 2
19910 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
19911 gcc compiled for:
19912 "p datalocal"
19913 "whatis datalocal",
19914 "ptype datalocal",
19915 "p bsslocal",
19916 "whatis bsslocal", and
19917 "ptype bsslocal".
19918 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
19919 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
19920 when not gcc compiled.
19921 * gdb.base/funcargs.exp (float_and_integral_args): Add
19922 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
19923 compiled.
19924 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
19925 "backtrace from call6a" when not gcc compiled.
19926 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
19927 "backtrace from call7a" when not gcc compiled.
19928 * gdb.base/callfuncs.exp (do_function_calls):
19929 Add "hppa*-*-hpux*" xfail when not gcc compiled for
19930 "p t_char_array_values(char_array_val2,char_array_val1)",
19931 "p t_char_array_values(char_array_val1,char_array_val2)",
19932 "p t_char_array_values("carray 1","carray 2")",
19933 "p t_char_array_values("carray 1",char_array_val2)",
19934 "p t_char_array_values(char_array_val1,"carray 2")",
19935 "p sum_args(1,{2})",
19936 "p sum_args(2,{2,3})",
19937 "p sum_args(3,{2,3,4})",
19938 "p sum_args(4,{2,3,4,5})"
19939 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
19940 "backtrace in corefile.exp" when not gcc compiled.
19941
19942Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19943
19944 * gdb.base/signals.exp: Rewrite `handle all print' test as
19945 a procedure. Accept blanks or TABs as whitespace, increase
19946 timeout and expect input buffer size for the large output
19947 from the command. Remove "i*86-*-bsdi2.0" xfail.
19948
19949Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19950
19951 * gdb.base/setvar.exp: Add new testcases for truncation when
19952 assigning invalid values to bitfields.
19953
19954Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
19955
d63a86f8 19956 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
19957 mips-sgi-irix* xfail for
19958 "call inferior func with struct - returns char *"
19959 and fix test so that an optional (unsigned char *) cast is
889bf7c5 19960 accepted in the result.
c906108c
SS
19961
19962Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
19963
19964 * gdb.base/funcargs.exp (float_and_integral_args): Remove
19965 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19966 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
19967 * gdb.base/signals.exp: Remove duplicate "handle all print" test
19968 that accidentally got checked in.
19969
19970Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
19971
d63a86f8 19972 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
19973 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
19974 compiled test.
19975 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
19976 Add mips-sgi-irix5* xfail for not gcc compiled.
19977 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
19978 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
19979 "p top", "whatis top", "p middle", and "whatis middle".
19980 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
19981 "whatis signed char" for not gcc compiled.
19982 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
19983 "set variable signed char=-1 (-1)" and
19984 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
19985 * gdb.base/funcargs.exp (float_and_integral_args):
19986 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
19987 Add mips-sgi-irix* xfail when not gcc compiled for
19988 "continue to call2b".
19989 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
19990 "continue to call2g".
19991 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
19992 "backtrace from call6a"
19993 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
19994 "backtrace from call7k".
19995 Add mips-sgi-irix5* xfail when not gcc compiled for
19996 "backtrace from call7a".
19997 (localvars_after_alloca): Fix gdb_test cmds for
19998 "print * after runto ...".
19999 Remove rs6000-*-* xfails for
20000 "print i after runto localvars_after_alloca" and
20001 "print l after runto localvars_after_alloca"
20002 for all compilers.
20003 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
889bf7c5 20004 when not compiled with gcc, for:
c906108c
SS
20005 "print signed char == (minus)",
20006 "print signed char != (minus)",
20007 "print signed char < (minus)",
20008 "print signed char > (minus)".
20009 * gdb.base/callfuncs.exp (do_function_calls):
20010 Add mips-sgi-irix* xfail, when compiled with native compiler, for
20011 "call inferior func with struct - returns char *".
d63a86f8 20012 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
20013 "correct value returned double test" to include Solaris 2.4.
20014 * gdb.base/funcargs.exp (float_and_integral_args):
20015 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
d63a86f8 20016
c906108c
SS
20017Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20018
20019 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
20020 enumeration bitfields if compiling with GNU C.
20021 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
20022 to empty' prompt.
20023
20024Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
20025
20026 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
20027 test for PRO targets.
20028
20029 * gdb.base/funcargs.exp: Avoid ever setting more than 8
20030 breakpoints in the inferior at any given time by making
20031 two groups of breakpoints for call2*, call6* and call7*
20032 tests.
20033
20034Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20035
20036 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
20037 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
20038 from optimizing it away.
20039 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
20040 "call inferior func with struct".
20041
20042Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
20043
20044 * configure.in: Only configure gdb.chill for particular targets.
20045
20046Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
20047
20048 * gdb.base/Makefile.in: Add action to .c.o transformation
20049 rule that generates a .ci file for each .o file and remove
20050 explicit .c.o rules except for callfuncs.o.
20051 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
20052 generates a .ci file for each .o file and remove explicit
20053 .cc.o rules.
20054 (clean): Remove *.tmp *.ci files.
20055 (EXECUTABLES): Remove templ-info.exp.
20056 * gdb.base/compiler.c: New file.
20057 * gdb.c++/compiler.cc: New file
20058 * gdb.base/scope.exp: Source gdb.base/scope.ci.
20059 Change rs6000-*-* xfail for
20060 "print 'scope0.c'::filelocal_ro" and
20061 "print 'scope1.c'::filelocal" and
20062 "print 'scope1.c'::filelocal_bss" and
20063 "print 'scope1.c'::filelocal_ro" and
20064 "print 'scope1.c'::foo::funclocal" and
20065 "print 'scope1.c'::foo::funclocal_ro" and
20066 "print 'scope1.c'::bar::funclocal" and
20067 "print 'scope0.c'::filelocal_ro" and
20068 "print 'scope1.c'::filelocal at foo" and
20069 "print 'scope1.c'::filelocal_bss at foo" and
20070 "print 'scope1.c'::filelocal_ro at foo" and
20071 "print 'scope1.c'::foo::funclocal at foo" and
20072 "print 'scope1.c'::foo::funclocal_bss at foo" and
20073 "print 'scope1.c'::foo::funclocal_ro at foo" and
20074 "print 'scope1.c'::bar::funclocal at foo" and
20075 "print 'scope0.c'::filelocal_ro" and
20076 "print 'scope1.c'::filelocal" and
20077 "print 'scope1.c'::filelocal_bss" and
20078 "print 'scope1.c'::filelocal_ro" and
20079 "print 'scope1.c'::foo::funclocal" and
20080 "print 'scope1.c'::foo::funclocal_bss" and
20081 "print 'scope1.c'::foo::funclocal_ro" and
20082 "print 'scope1.c'::bar::funclocal" and
20083 "print 'scope1.c'::bar::funclocal_bss"
20084 to only be xfail'd when not compiled with gcc.
d63a86f8 20085 Add rs6000-*-* xfail for
c906108c
SS
20086 "print 'scope0.c'::filelocal_bss before run"
20087 when compiled with gcc.
20088 (test_at_main): Add rs6000-*-* xfail for
20089 "print filelocal_ro in test_at_main"
20090 when compiled with gcc.
20091 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
889bf7c5 20092 Add rs6000-*-aix* xfail for
c906108c
SS
20093 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
20094 "ptype t_char_array", not compiled with gcc.
20095 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
20096 xfail for "list foo (in include file)" when gcc compiled.
20097 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
889bf7c5 20098 (integral_args): Add rs6000-*-* xfail for
c906108c
SS
20099 "run to call0a" if not compiled with gcc.
20100 (unsigned_integral_args): Add rs6000-*-* xfail for
20101 "run to call1a" if not compiled with gcc.
20102 (float_and_integral_args): Add rs6000-*-* xfail for
20103 "run to call2a" if not compiled with gcc and for
20104 "continue to call2b" for any compiler.
20105 Add rs6000-*-* xfail to
20106 "print f1 after run to call2a" for gcc compiled.
20107 (discard_and_shuffle): Add rs6000-*-* xfail for
20108 "run to call6a".
20109 (shuffle_round_robin): Add rs6000-*-* xfail for
20110 "backtrace from call7a" if not compiled with gcc.
20111 Add rs6000-*-* xfail for
20112 "backtrace from call7b" if compiled with gcc.
20113 (call_after_alloca): Add rs6000-*-* xfail for
20114 "print c in call_after_alloca" and
20115 "print s in call_after_alloca" and
20116 "backtrace from call_after_alloca_subr"
20117 if not compiled with gcc.
20118 (localvars_in_indirect_call): Add rs6000-*-* xfail for
20119 "print c in localvars_in_indirect_call" and
20120 "print c in localvars_in_indirect_call" and
20121 "backtrace in indirectly called function" and
20122 "stepping into indirectly called function"
20123 if not compiled with gcc.
20124 (localvars_after_alloca): Add rs6000-*-* xfail for
20125 "print c after runto localvars_after_alloca" and
20126 "print s after runto localvars_after_alloca" and
20127 "print i after runto localvars_after_alloca" and
20128 "print l after runto localvars_after_alloca"
20129 for all compilers.
20130 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
20131 than whatis-info.exp.
20132 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
20133 than opaque-info.exp.
20134 Setup rs6000-*-* xfail for
d63a86f8 20135 "ptype on opaque struct pointer (statically)" and
c906108c
SS
20136 "ptype on opaque struct pointer (dynamically)" when
20137 not compiled with gcc.
20138 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
20139 rather than callf-info.exp.
20140 (do_function_calls): Add clear_xfail for rs6000-*-* for
20141 "p t_float_values2(3.14159,float_val2)". Seems to work
20142 fine there, both with xlc and gcc. Need to find out what
20143 it is doing right and fix other platforms.
20144 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
20145 "call inferior func with struct - returns int",
20146 "call inferior func with struct - returns long",
20147 "call inferior func with struct - returns float",
20148 "call inferior func with struct - returns double",
20149 "call inferior func with struct - returns char *",
20150 but only if not gcc compiled (presumes xlc compiled).
20151 Change rs6000-*-* xfails for
20152 "call inferior func with struct - returns char" and
20153 " call inferior func with struct - returns short" to only
20154 xfail if not using gcc.
20155 (clean mostlyclean): Remove *.ci and *.tmp files.
20156 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
20157 than templ-info.exp.
20158 * gdb.base/langs.exp: Source gdb.base/langs.ci.
20159 Add rs6000-*-* xfail for "up to foo in langs.exp"
20160 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
889bf7c5 20161 when not gcc compiled.
d63a86f8 20162
c906108c
SS
20163Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20164
20165 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
20166 * gdb.base/corefile.exp: Likewise.
20167 * gdb.base/list.exp: Likewise.
20168 * gdb.base/scope.exp: Likewise.
20169 * gdb.base/siganls.exp: Likewise.
20170
20171 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
20172 compiler output.
20173 * gdb.base/whatis.exp: Likewise.
20174
20175Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
20176
20177 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
20178 failure (opcode table has been fixed to match reality).
20179
20180Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
20181
20182 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
20183 "call inferior func with struct - returns char",
20184 "call inferior func with struct - returns short"
20185
20186 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
20187 "print 'scope0.c'::filelocal at main",
20188 "print 'scope0.c'::filelocal_bss in test_at_main",
20189 "print 'scope0.c'::filelocal at foo",
20190 "print 'scope0.c'::filelocal_bss in test_at_foo",
20191 "print 'scope0.c'::filelocal at bar",
20192 "print 'scope0.c'::filelocal_bss in test_at_bar"
d63a86f8 20193
c906108c
SS
20194 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
20195 in source file 1". This bug seems to have been fixed with both
20196 gcc and native cc (was native assembler bug?).
20197
20198Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
20199
20200 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
20201 "backtrace through signal handler" to "i*86-*-sysv4*".
20202 * gdb.base/signals.exp: Add xfail for "'next' behaved as
20203 continue" case. Add "known SVR4 bug" to fail message.
20204 Add "i*86-*-bsdi2.0" xfail for "handle all print".
20205 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
20206 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
20207 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
20208 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
20209 "up to foo in langs.exp", "show language at foo in
20210 langs.exp", "up to cppsub_ in langs.exp", "show
20211 language at cppsub_ in langs.exp", "up to fsub in
20212 langs.exp", and "show language at fsub in langs.exp".
20213 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
20214 "bactrace in corefile.exp".
20215 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
20216 "call inferior function with struct - returns float" and
20217 "call inferior function with struct - returns double".
d63a86f8 20218
c906108c
SS
20219Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
20220
20221 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
20222 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
20223 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
20224 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
20225
20226Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
20227
20228 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
20229 (or overriden) "CHILL" macro rather then bare "gcc".
20230 Also look for ../../gcc/xgcc since that is what we will
20231 actually need, not "Makefile". Remove following assignment
20232 of CHILL to CHILL_FOR_TARGET because that results in
20233 recursive definition.
20234
20235Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
20236
20237 * gdb.base/corefile.exp: Change xfail for backtrace in
20238 corefile.exp from linuxaout to all linux.
20239 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
20240 cases where we miss the breakpoint at the signal handler
20241 for some reason. Setup xfail for linuxoldld/linuxaout and
20242 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
20243 hitting SIGURG breakpoint.
20244 * gdb.base/signals.exp: Setup xfail for "next" acting like
20245 continue to add linuxoldld. Setup xfail for all linux for
20246 "next to handler in signals_tests_1", "backtrace in
20247 signals_tests_1", "continue to func1", "pass SIGUSR1",
20248 and continue to handler".
20249
20250Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
20251
20252 * Update all FSF addresses except those in COPYING* files.
20253
20254Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
20255
20256 * gdb.base/a2-run.exp: Change messages to be more explicit about
20257 the status of args, and quote binfile in results.
20258
20259Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
20260
20261 * gdb.base/callfuncs.exp: Add tests for passing structs to
20262 inferior functions and return various types.
20263 * gdb.base/callfuncs.c: Add functions to receive a struct
20264 and return a member of the struct, in various types.
20265
20266Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20267
20268 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
20269
20270Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
20271
20272 * config/vxworks29k.exp: New file, sources vxworks.exp.
20273
20274Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20275
20276 * config/gdbremote.exp: New file. Testing framework using
20277 gdbserver.
20278
20279Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
20280
20281 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
20282 "call function when asleep" and "send end of file".
20283 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
20284 for "backtrace in corefile.exp".
20285 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
20286 for "backtrace through signal handler".
20287 * gdb.base/corefile.exp: Make sure we actually generate a core file
20288 before trying the core tests. Some systems allow the user to suppress
20289 generation of core files and default to that (linux for example).
20290 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
20291 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
20292
20293Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20294
20295 * gdb.threads: New directory with some crude multi-threaded
20296 gdb tests (step.exp and step2.exp).
20297 * config/mt-lynx (STEP_EXECUTABLE): Define.
20298 (THREADFLAGS): Define.
20299
20300Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
20301
20302 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
20303
20304 * gdb.base/signals.exp: Disable whole file for lynx until
20305 further notice.
20306
20307 * gdb.base/signals.exp: xfail test where "next" acts like
20308 "continue" for lynx.
20309
20310 * gdb.base/interrupt.exp: xfail test for calling function while
20311 inferior is asleep for lynx.
20312
20313 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
20314 than one cr-lf after each command.
20315
20316Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20317
20318 * configure.in: Reinstate setting of stabsdirs variable, fix
20319 typo in setting up configdirs for native builds.
20320
20321 * gdb.base/return.exp: Fix typo in return double test.
20322 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
20323 compiler from optimizing them away.
20324
20325Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
20326
20327 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
20328 sequences to be echo'd by gdb when using gdb_test.
20329 * gdb.chill/chexp.exp: Likewise.
20330 * gdb.fortran/exprs.exp: Likewise
20331
20332Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
20333
20334 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
20335 after the inferior gdb has started.
20336
20337 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
20338 after each command.
20339 * gdb.base/funcargs.exp: Likewise.
20340 * gdb.base/gdbvars.exp: Likewise.
20341 * gdb.base/interrupt.exp: Likewise.
20342 * gdb.base/list.exp: Likewise.
20343 * gdb.base/watchpoint.exp: Likewise.
20344 * gdb.c++/demangle.exp: Likewise.
20345 * gdb.c++/inherit.exp: Likewise.
20346 * gdb.chill/chexp.exp: Likewise.
20347 * gdb.fortran/exprs.exp: Likewise.
20348
20349 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
20350 test if we can't handle IO to/from the inferior.
20351
20352 * gdb.c++/misc.exp: Always check for a program already being
20353 started after sending a "run" command to gdb.
20354
20355 * gdb.base/twice.exp: Start with a fresh gdb.
20356
20357 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
20358 only depend on gdb's expression code, not the chill runtime.
20359
20360 * gdb.base/return.c: Put return values into variables so we
20361 can have gdb print them rather than depending on the program
20362 to print them.
20363 * gdb.base/return.exp: Corresponding changes.
20364
20365 * lib/gdb.exp: Provide default value for noinferiorio.
20366 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
20367 the inferior.
20368
20369 * gdb.base/break.exp: Always check for a program already being
20370 started after sending a "run" command to gdb.
20371 (text_next_with_recursion): Don't check the output from the
20372 program's printf statement. Instead just make sure the program
20373 exited.
20374
20375 * gdb.base/commands.exp: Protect tests which need arguments with
20376 $noargs conditionals.
20377
20378Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20379
20380 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20381 of structure member arrays to match gdb/valops.c:value_addr change.
20382
20383Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20384
20385 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20386 cases.
20387
20388Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20389
20390 * configure.in (configdirs): Remove gdb.chill from default list
20391 of subdirs and then add it back in only if doing a native build.
20392 The current chill compiler does not yet work in any cross build.
20393 * Revert all signal changes from Jul 6.
20394 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20395 for sh-hms targets, allowing these tests to link, with no other
20396 changes. Testing is suppressed by setting "nosignals" in site.exp.
20397
20398Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20399
20400 * configure.in (signaldirs): Define and add to configdirs for all
20401 targets except some specific ones that are known to not support signals.
20402 Also clean up formatting.
20403 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20404 (signals, sigall): Remove rules to build.
20405 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20406 Moved to new gdb.signals directory.
20407 * gdb.signals: New test directory.
20408 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20409 signals.c signals.exp}: New or moved files.
20410
20411Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20412
20413 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20414
20415Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20416
20417 * gdb.base/return.exp: Xfail `return double' test failure
20418 on at least Solaris 2.3 and handle future/past versions on
20419 a case by case basis as appropriate. Also update message
20420 to include i*86 failures.
20421
20422Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20423
20424 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20425
20426 * lib/gdb.exp: Fix comment which erroneously identified
20427 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20428 gdb_file_cmd not gdb_load).
20429 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20430
20431 * gdb.base/setvar.exp: Make test names consistent between pass and
20432 fail cases. Use gdb_test more.
20433
20434Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20435
20436 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20437
20438Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20439
20440 * gdb.base/help.exp: Fix expected help string for `show commands'.
20441
20442Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20443
20444 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20445
20446 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20447 of a text section.
20448
20449Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20450
20451 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20452 that loop eventually terminates. Fix Connection refused logic so
20453 that testsuite will expire nicely.
20454
20455Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20456
20457 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20458 config/rom68k.exp: New tcl glue for the appropriate monitors.
20459 These all just end up calling monitor.exp.
20460 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20461 refused' by retrying. Cleanup some timeout issues.
20462 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20463 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20464 callers don't have to set/restore global timeout variable.
20465
20466 * The following set of changes centralizes management of the global
20467 timeout variable. This way, it can be set in one target dependent
20468 place instead of dozens of places scattered throughout the test suite.
20469 If you need to lengthen a timeout, then you should either set timeout
20470 in one of the config/{target}.exp files, or multiply it by a factor.
20471 Setting it to an absolute value is always going to lose for some
20472 targets.
20473 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20474 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20475 * gdb.base/funcargs.exp: Don't set timeout.
20476 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20477 * gdb.base/printcmds.exp (test_print_string_constants
20478 test_print_array_constants): Don't set timeout.
20479 * gdb.base/ptype.exp: Don't set timeout.
20480 * gdb.base/recurse.exp: Don't set timeout.
20481 * gdb.base/return.exp: Don't set timeout.
20482 * gdb.base/watchpoint.exp: Don't set timeout.
20483 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20484 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20485
20486Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20487
20488 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20489
20490Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20491
20492 * lib/gdb.exp: Disable chill tests for irix5.
20493
20494Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20495
20496 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20497 each test pass or fail.
20498
20499Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20500
20501 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20502 xlc not gcc.
20503
20504Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20505
20506 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20507
20508Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20509
20510 * config/est.exp: Fix copyright and comments. Remove dead code.
20511 Use targetname, serialport and baud variables instead of fixed
20512 constants.
20513 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20514 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20515
20516Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20517
20518 * gdb.base/watchpoint.exp: Don't run
20519 test_watchpoint_triggered_in_syscall for sunos.
20520
20521Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20522
20523 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20524 they don't seem to exist. Do include stdio.h.
20525
20526Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20527
20528 * gdb.base/a1-selftest.exp: Add alpha xfail.
20529
20530Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20531
20532 * gdb.base/watchpoint.c (main): Prompt before calling read().
20533 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20534 Revise accordingly. Remove cruft about sending "123" several
20535 times, until it gets noticed. Clean up the "print buf[0]" stuff
20536 so that it passes or fails, and waits for prompts in the usual way.
20537
20538Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20539
20540 * gdb.base/recurse.exp: Fix comment.
20541
20542 * TODO: Remove item about printing variables in nodebug.exp. Add
20543 item about enabling tests which are only run on some targets.
20544
20545 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20546 fail, make test names unique, use new gdb_test convention
20547 regarding pattern, use gdb_test more, etc.).
20548
20549 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20550 fail, make test names unique, etc.).
20551
20552Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20553
20554 * gdb.base/nodebug.c: Change return type of top and middle to
20555 short.
20556 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20557 are fixed by the recent mdebugread.c changes. Allow `short ()'
20558 as type for top and middle.
20559
20560Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20561
20562 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20563 nearly as I can tell, the whole thing was an accident in Stu's
20564 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20565 to replace a send/expect pair with gdb_test, but ended up only
20566 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20567 of 30 Mar 1995 took care of it, but left this vestigial comment
20568 which I am now nuking.
20569
20570Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20571
20572 * gdb.base/break.exp: Look for different line number for
20573 breakpoint at main depending on usestubs.
20574
20575Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20576
20577 * gdb.base/list.exp: Adjust some alternate expect patterns to
20578 match recent list0.c change. Add alternate expect pattern for
20579 output from `list default lines around main' for optimizing
20580 compilers.
20581
20582Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20583
20584 * lib/gdb.exp: If nosignals is not set, set it to 0.
20585
20586Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20587
20588 * config/slite-gdb.exp: Responds to load symbol table prompt.
20589 * gdb.base/break.exp: Adjust line number, fix rerun.
20590 * gdb.base/langs0.c: Add #ifdef usestubs.
20591
20592Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20593
20594 * gdb.base/list.exp: Adjust line contents after adding new lines in
20595 list0.c. Also fix a syntax error.
20596
20597 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20598 * gdb.base/break.exp: ditto.
20599 * gdb.base/list.exp: ditto.
20600 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20601 * gdb.base/run.c: ditto.
20602 * gdb.base/list0.c: ditto.
20603 * gdb.base/funcargs.c: ditto.
20604
20605Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20606
20607 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20608 $targetname, $serialport and $baud instead of hardwired variables.
20609 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20610 target doesn't support signals.
20611
20612Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20613
20614 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20615
20616Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20617
20618 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20619 Don't rely on the value of an auto variable before it has been
20620 initialized. Use gdb_test more.
20621
20622Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20623
20624 * lib/gdb.exp (default_gdb_version): A version number must start
20625 with a digit, but other than that contains all characters up to
20626 the first whitespace character.
20627
20628Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20629
20630 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20631
20632Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20633
20634 * gdb.c++/*.exp: Warn if executable does not exist. The original
20635 reason for skipping the warning was that configure.in sometimes
20636 intentionally skipped building the executables but the tcl code
20637 had no way of knowing. That (a) was always bogus with respect to
20638 error handling, (b) is no longer true (right now there is no way
20639 to skip C++ tests).
20640
20641 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20642
20643Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20644
20645 * gdb.base/list.exp: Add expect patterns for output from
20646 SunPRO compiled executables.
20647 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20648 types.
20649
20650Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20651
20652 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20653 number (we are already testing that the correct source line text
20654 gets printed).
20655
20656 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20657 that is what is intended, but something needed to be done to get
20658 sunos4 native working again.
20659
20660 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20661
20662 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20663 apparently went with a (very) old xfail.
20664
20665Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20666
20667 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20668 runto_main is a proc in gdb.exp that will do 'step' for target use
20669 stubs.
20670 * gdb.base/exprs.exp: ditto.
20671 * gdb.base/interrupt.exp: ditto.
20672 * gdb.base/opaque.exp: ditto.
20673 * gdb.base/printcmds.exp: ditto.
20674 * gdb.base/ptype.exp: ditto.
20675 * gdb.base/scope.exp: ditto.
20676 * gdb.base/setvar.exp: ditto.
20677 * gdb.base/signals.exp: ditto.
20678 * gdb.base/twice.exp: ditto.
20679 * gdb.c++/classes.exp: ditto.
20680 * gdb.c++/inherit.exp: ditto.
20681 * gdb.c++/templates.exp: ditto.
20682 * gdb.base/break.exp: no run and hit main for stubs. Change line
20683 numbers for breakpoints and info breakpoint.
20684 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20685 breakpoint().
20686 * gdb.base/callfuncs.c: ditto.
20687 * gdb.base/exprs: ditto.
20688 * gdb.base/interrupt.c: ditto.
20689 * gdb.base/opaque0.c: ditto.
20690 * gdb.base/printcmds.c: ditto.
20691 * gdb.base/ptype.c: ditto.
20692 * gdb.base/scope0.c: ditto.
20693 * gdb.base/setvar.c: ditto.
20694 * gdb.base/signals.c: ditto.
20695 * gdb.base/twice.c: ditto.
20696 * gdb.c++/misc.cc: ditto.
20697 * gdb.c++/templates.cc: ditto.
20698
20699Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20700
20701 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20702
20703 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20704 somewhere between `read' and `main.c'. I'm pretty sure the
20705 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20706 and it isn't particularly useful.
20707
20708 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20709
20710Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20711
20712 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20713
20714Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20715
20716 * config/mt-slite: add LIBS and -nostdlib.
20717 * config/slite-gdb.exp: add this new file to support sparclite target.
20718
20719Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20720
20721 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20722
20723 * gdb.base/a2-run.exp: Change argument to istarget from
20724 "*-*-vxworks" to "*-*-vxworks*".
20725 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20726
20727Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20728
20729 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20730 will not runto main but do a 'step' to step out of breakpoint().
20731 * config/mt-slite: add -Dusestubs.
20732
20733Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20734
20735 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20736 instead of just @.
20737
20738 * gdb.base/signals.exp: Add test for "handle all print".
20739 * TODO: Remove "handle all print". Also remove item about
20740 checking copyright date (I don't like the idea of a spurious FAIL
20741 based on when we run the tests).
20742
20743 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20744 for SunOS4 (reason for failure not investigated). Remove
20745 redundant test for $binfile.
20746
20747 * gdb.base/nodebug.c (array_index): Call malloc.
20748
20749 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20750
20751Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20752
20753 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20754 conventions and slightly simplify the matching regexp.
20755
20756Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20757
20758 * gdb.base/break.exp: Update gdb_test invocation to use new
20759 convention.
20760
20761 * lib/gdb.exp: If noargs is not set, set it to 0.
20762
20763 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20764 tests unique.
20765
20766 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20767
20768Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20769
20770 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20771 one argument of type "<non-float parameter>".
20772
20773Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20774
20775 * config/rom68k.exp: New file to support Motorola IDP board.
20776 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20777 * gdb.base/break.c: Change things around so that this program
20778 doesn't depend upon args. This is necessary to make remote
20779 targets work (in general, they can't take args).
20780 * gdb.base/break.exp: Don't try to send args to program. Don't
20781 expect output. Also, replace lots of code with gdb_test.
20782
20783Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20784
20785 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20786 printing of '\'' (which is what the comment says we are testing,
20787 even though we were not), not '''.
20788 (test_integer_literals_rejected): Test that printing ''' is an error.
20789
20790 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20791 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20792 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20793 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20794 Use gdb_test not test_print_accept.
20795 * lib/gdb.exp: Remove test_print_accept.
20796
20797 * gdb.base/signals.exp (signal_tests_1): Make pass message
20798 consistent with fail message.
20799
20800 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20801 unsigned char; the bug (PR 1821) is fixed.
20802
20803 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20804
20805 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20806 successful tests--makes xfailing them work right.
20807
20808Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20809
20810 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20811 only \r\n, not .*. The test can pass .* as the last thing in
20812 $pattern if that is what it wants. In addition to providing this
20813 flexibility, this change should speed up pattern matching in cases
20814 where the pattern already ended with .* (there were a number of
20815 them). This change also helps catch bad patterns--in the old
20816 scheme the typo "char \*" instead of "char \\*" would pass. Now
20817 it is caught.
20818 * Many .exp files: Update callers.
20819
20820 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20821 clearer and does not spuriously match multiple ('s. Likewise for
20822 ) and *.
20823
20824 * gdb.base/nodebug.exp: Test ability to call a function and pass
20825 it a string (even with no debugging info).
20826
20827 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20828 "p '\'", which is the same as "p ''" once tcl gets done with
20829 quoting, to "p '\\'", which I suspect is what is intended (one
20830 backslash gets sent to GDB).
20831
20832 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20833
20834Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20835
20836 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20837 1817) was fixed literally years ago.
20838
20839Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20840
20841 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20842 test, it causes stepping out of call_after_alloca_subr with
20843 optimizing compilers.
20844 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20845 fails.
20846
20847 * gdb.c++/templates.exp: Source templ-info.exp only if
20848 the templates executable exists.
20849
20850 * gdb.c++/misc.cc (class Contains_static_instance,
20851 class Contains_nested_static_instance),
20852 gdb.c++/classes.exp (test_static_members): Test printing of
20853 a class that contains a static instance of the class.
20854
20855Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20856
20857 * gdb.base/langs2.c (cppsub_): Don't prototype.
20858 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20859 only, I believe).
20860
20861Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20862
20863 * lib/gdb.exp (skip_chill_tests): New procedure.
20864
20865 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20866
20867Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20868
20869 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20870 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20871
20872Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20873
20874 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20875
20876 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20877 disassemble 8, not 16, instructions for part 4.
20878
20879 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20880 support the latter anymore.
20881
20882 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
20883 -DNO_PROTOTYPES.
20884 * gdb.base/callfuncs.c: Control use of prototypes based on
20885 NO_PROTOTYPES, not __STDC__.
20886 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
20887 t_float_values2 tests if prototypes in use.
20888
20889 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
20890 t_double_values): When checking differences against DELTA, check
20891 that difference is within the range (-DELTA,DELTA), not just
20892 (-infinity,DELTA).
20893
20894Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
20895
20896 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
20897 'file' command firts, then 'target', then 'load', this is due to gdb
20898 target set up.
20899 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20900
20901Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
20902
20903 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
20904 FP load/store variants.
20905 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
20906
20907Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20908
20909 * gdb.base/term.exp: Do not give a warning if not native, it is
20910 not an abnormal condition.
20911
20912Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20913
20914 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20915 t_char_array".
20916
20917Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20918
20919 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20920 are getting the version number.
20921
20922 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20923 if not native, it is not an abnormal condition.
20924
20925Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20926
20927 * lib/gdb.exp: Just use "file exists", rather than undocumented
20928 dejagnu procedure "findfile".
20929
20930Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20931
20932 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
20933 (LDFLAGS): Set to -Xlinker -Ur.
20934
20935 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
20936 Removed, these values are set by lib/gdb.exp.
20937
20938 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
20939
20940Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20941
20942 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
20943 of replicating gdb startup code.
20944
20945 * config/mt-vxworks (LDFLAGS): Set to -r.
20946 (CFLAGS_FOR_TARGET): Removed.
20947
20948 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
20949 (gdb) and gdb for vxworks uses (vxgdb).
20950
20951 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
20952 executable is not in the tree and host != target, use sed and
20953 program_transform_name to determine the gdb name used by the
20954 target.
20955
20956 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
20957 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
20958
20959Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20960
20961 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
20962 floats, chars, and shorts where there are ANSI-style function
20963 definitions.
20964
20965 * gdb.base/langs.exp, gdb.base/langs*: New test.
20966 * gdb.base/Makefile.in: Build it.
20967 * TODO: Remove item about checking that C names don't get C++
20968 demangling applied; this test tests it.
20969
20970Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20971
20972 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
20973 went with the const70 xfail. The xfail went away a year ago.
20974
20975 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
20976
20977 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
20978 for hp300.
20979
20980 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
20981
20982 * gdb.base/a1-selftest.exp: Don't run on hp300.
20983
20984Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20985
20986 * Makefile.in (site.exp): Set host_alias and target_alias as well
20987 as host_triplet and target_triplet.
20988
20989Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20990
20991 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
20992
20993 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
20994 places as other ecoff systems).
20995
20996 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
20997 ultrix.
20998
20999Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21000
21001 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
21002 remove them.
21003 * gdb.base/nodebug.exp: Accept "function" in addition to "text
21004 variable and "variable" in addition to "data variable".
21005 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
21006
21007 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
21008 2.
21009 * gdb.base/list1.c (long_line): Add additional statement at start
21010 of function.
21011 * gdb.base/list.exp (test_forward_search): Update line number to
21012 reflect new statement.
21013
21014Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21015
21016 * gdb.base/signals.exp: Reinitialize searched source directories
21017 after gdb_start call.
21018
21019Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
21020
21021 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
21022 * gdb.stabs/Makefile.in: Likewise.
21023
21024 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
21025 change. Instead split the tests into smaller pieces.
21026 * gdb.disasm/hppa.s: Corresponding changes.
21027
21028Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21029
21030 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21031 Quote ^C when passing it to stty. For some shells ^ is a pipe.
21032
21033 * gdb.base/funcargs.exp: Modify many tests so that every test
21034 either passes or fails. Make some test names unique.
21035
21036Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21037
21038 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
21039 Call stty to set interrupt character.
21040
21041 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
21042 for HP assembler versus GNU assembler based on actual behavior of
21043 $(CC), rather than assuming that $(AS) is always the GNU assembler.
21044
21045 * TODO: Suggest a few more stepping tests.
21046
21047Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
21048
21049 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
21050 restart GDB for h8300 after a continue.
21051 (return): Add pattern to match a29k-udi behavior.
21052 * gdb.base/nodebug.exp: Remove obsolete comment.
21053 * gdb.base/regs.exp: New file, testing of register displays.
21054 * gdb.base/return.exp: Fix typo in reference to $objdir.
21055 * gdb.base/whatis.exp: Always start with a fresh GDB.
21056
21057Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21058
21059 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
21060 higher, these tests generate a lot of output.
21061
21062Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21063
21064 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
21065 code following the catch silently ignored some errors; without the
21066 catch they should be thrown like any other tcl error. Also, the
21067 catch used "" instead of {} which meant all the callers who wanted
21068 to include one of the characters "[]$ had to quote it an extra time.
21069 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
21070 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
21071 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
21072 Remove extra quoting.
21073
21074Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
21075
21076 * gdb.base/commands.exp: Make test names unique; every test either
21077 passes or fails. Update some comments.
21078
21079 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
21080
21081Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21082
21083 The following fixes a FAIL caused by the fact that the alpha stabs
21084 configuration didn't use the ".if alpha" code in weird.def.
21085 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
21086 bit pointer, so the 32 bit version works even on the alpha.
21087 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
21088 Remove the stuff which allowed us to have separate versions for
21089 alpha and everything else.
21090
21091 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
21092 regexp which "info func operator\[\](" is supposed to match. Fix
21093 string to send to GDB. Note that GDB still doesn't work right. Add a
21094 new test for "info func .perator\[\](" which GDB does handle correctly.
21095
21096 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
21097
21098Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21099
21100 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
21101 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
21102 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
21103 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
21104 it makes the tests harder to understand and confuses test-o-matic.
21105 The preferred style is that each test provides a PASS or a FAIL,
21106 and has a unique message (e.g. "continue #54" not just "continue")
21107 which is the same for the pass and the fail.
21108 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
21109 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
21110 to lib/gdb.exp.
21111 * gdb.base/printcmds.exp: Use test_print_accept. Remove
21112 prt_accept which was basically the same thing. Likewise for
21113 test_print_reject and prt_reject.
21114 * lib/gdb.exp (test_print_reject): Add some more error message
21115 patterns to match from the former printcmds.exp (prt_reject).
21116 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
21117 One defect of the passcount stuff is that some of it failed to
21118 report XPASS where appropriate.
21119 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
21120 stuff before and after arg in expected pattern.
21121 (test_paddr_operator_functions): Re-do test without print_addr_of;
21122 this is the only test which seems to want extra stuff there.
21123
21124Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21125
21126 * gdb.base/nodebug.exp: Update new tests to reflect improved
21127 wording of gdb output.
21128
21129 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
21130 and "ptype" work on variables in files compiled without -g.
21131 Replaces commented out "maint print msymbol" tests.
21132
21133Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21134
21135 * gdb.base/setvar.c (dummy): Call malloc.
21136
21137 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
21138 losing with the irix4 sed.
21139
21140 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
21141 ALRM" on irix4.
21142
21143Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21144
21145 * TODO: Remove items about corefile.exp testing new exec-file and
21146 backtrace; both are now done. Add items about printing enums.
21147
21148Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21149
21150 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
21151 "get signal $thissig" test fails.
21152
21153 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
21154
21155Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21156
21157 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
21158 compiler warning with dec alpha compiler.
21159
21160 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
21161 extra \n from gdb_test call (this explains why the prompt test
21162 that I removed yesterday was there).
21163 (user_defined_command_test): Remove extra \n and prompt test.
21164
21165 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
21166 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
21167 doesn't exist.
21168 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
21169 Also remove alpha workaround, which turns out to be because
21170 SIGABRT == SIGLOST.
21171
21172 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
21173
21174 * gdb.base/help.exp: Don't test "help show".
21175
21176Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21177
21178 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
21179 "set print address" is on.
21180 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
21181 pass prompt to gdb_test; gdb_test already looks for the prompt.
21182
21183 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
21184
21185 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
21186 was a vestige of the manual TESTSTRATEGY, and the purpose of it
21187 was to make sure that gdb can read a core file. But (a) the "read
21188 the corefile" part didn't make it to a1-selftest.exp, we just
21189 delete the corefile after creating it, and (b) we test reading
21190 corefiles in corefile.exp anyway. Also, this test left around a
21191 xgdb process on Solaris.
21192
21193 * gdb.base/corefile.exp: Also test backtrace.
21194
21195Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
21196
21197 * gdb.base/commands.exp: Test a simple user defined command with
21198 arguments and if/while statements; verify the full user command is
21199 printed by "show user".
21200
21201 * gdb.base/commands.exp: Test if/while commands as part of a
21202 breakpoint command list; verify they appear in breakpoint
21203 information.
21204
21205Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21206
21207 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
21208 than by dividing by zero.
21209
21210Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
21211
21212 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
21213 performing an inferior call with watchpoints enabled.
21214 * gdb.base/watchpoint.c (main): Delete second unnecessary read
21215 call.
21216
21217Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21218
21219 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
21220 of "file" command.
21221
21222 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
21223 Add additional pattern for when "int operator int(void);" appears
21224 in a different order.
21225
21226Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
21227
21228 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
21229
21230 * gdb.base/help.exp: Replace most of docstrings for "info signals"
21231 and "signal" with ".*".
21232
21233Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
21234
21235 * TODO: Add note about "handle all nostop".
21236
21237 * gdb.base/{sigall.c, sigall.exp}: New test.
21238 * gdb.base/Makefile.in: Add it.
21239
21240Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
21241
21242 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
21243 when invoking GDB, suppresses any windowing interface.
21244
21245Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
21246
21247 * config/sim-gdb: New file, simulator testing support.
21248
21249Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
21250
21251 * gdb.base/interrupt.exp: Test calling func1 twice.
21252
21253Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
21254
21255 * gdb.base/list.exp (test_forward_search): Set timeout higher
21256 when we'll be getting lots of output from gdb.
21257
21258 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
21259 "init_malloc" to after the expect statement. Run it if that
21260 regexp is taken, but also for two others which happen if source
21261 cannot be found.
21262
21263Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21264
21265 * gdb.base/printcmds.exp: New test, for printing register before
21266 program is running.
21267
21268Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21269
21270 * gdb.base/list.exp: Correct some alternate expect patterns
21271 to reflect changes in list1.c.
21272
21273Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21274
21275 * TODO: Add item regarding large frames.
21276
21277 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
21278
21279 * TODO: Remove item about enabling return.exp; it
21280 is enabled. Suggest a few more "return" tests.
21281
21282Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21283
21284 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
21285 anonymous unions.
21286
21287Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21288
21289 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
21290 and pr-5646.o, so "make" is the same as "make all", not "make
21291 pr-4975.o".
21292
21293Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
21294
21295 * gdb.base/list.exp: Adjust expectations to reflect changes in
21296 list1.c.
21297 (test_forward_search): New test proc.
21298 * gdb.base/list1.c (long_line): New function, has long source line.
21299
21300Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
21301
21302 * gdb.base/a1-selftest.exp: Change initial stepping to know about
21303 additional line of code that was added.
21304
21305Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
21306
21307 * gdb.disasm/hppa.s: Break the large branching tests into smaller
21308 tests so as not to overflow expect's input buffers.
21309 * gdb.disasm/hppa.exp: Corresponding changes.
21310
21311Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21312
21313 Beginnings of template debugging tests.
21314 * gdb.c++/templ-info.cc: New file to test for template
21315 debugging capability of the compiler.
21316 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
21317 templ-info.cc.
21318 * gdb.c++/templates.cc: Add explicit template instantiations
21319 to enable compiling with -fno-implicit-templates. Add destructor
21320 and 'value' method to T5 class for template tests.
21321 * gdb.c++/templates.exp: Add testcases for printing of template
21322 types, setting breakpoints on template methods and calling a
d63a86f8 21323 template method.
c906108c
SS
21324
21325Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
21326
21327 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
21328 branch target since some assemblers (gas-2.5) may emit a
21329 relocation for the branch instead of resolving it in the
21330 assembler.
21331
21332Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21333
21334 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
21335 through signal handler.
21336
21337Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21338
21339 * configure.in (*-*-netware): Use config/mt-netware.
21340
21341 * config/mt-netware: New file.
21342 * config/mt-i386-netware: Removed, separate configs for different
21343 netware architectures are no longer needed now that we have
21344 --with-headers.
21345
21346Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21347
21348 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
21349 by the recent changes to use ANSI C arithmetic conversions.
21350
21351Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21352
21353 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
21354 bug involving using inferior_pid to figure out whether to select a
21355 frame.
21356
21357Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
21358
21359 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
21360 match the current disassembler output.
21361
21362Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
21363
21364 * gdb.fortran/exprs.exp: Expect VOID instead of void.
21365 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
21366 types, expect "int" as type of integer values (for now).
21367
21368Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
21369
21370 * gdb.base/commands.exp: New tests for if/while commands.
21371
21372Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21373
21374 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21375 by .*, since hex values have different syntax in Chill mode.
21376
21377Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21378
21379 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21380 linefeed from expect pattern for repeated types with indices > 9.
21381
21382Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21383
21384 First part of Fortran test suite.
21385 * gdb.fortran: New directory.
21386 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21387
21388Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21389
21390 * gdb.base/default.exp: Update expect pattern for load command
21391 without arguments.
21392
21393Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21394
21395 * configure.in: Change i386 to i[345]86.
21396 * gdb.base/configure.in: Likewise.
21397 * gdb.c++/configure.in: Likewise.
21398 * gdb.chill/configure.in: Likewise.
21399
21400Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21401
21402 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21403 patterns, since that is not a valid context for comments.
21404
21405Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21406
21407 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21408 repeated types and repeated types with indices > 9.
21409
21410Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21411
21412 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21413 2417; old bug has been fixed.
21414
21415Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21416
21417 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21418 send the newline ourselves instead of assuming gdb_test will do
21419 so when passed an empty input string.
21420
21421 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21422 stabs testcode.
21423
21424Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21425
21426 * lib/gdb.exp (gdb_test): Don't send anything if the first
21427 argument is an empty string. This makes cases where we want to
21428 match output that is already in expect's buffers (for example,
21429 matching a breakpoint after gdb_run_cmd has been called) work
21430 reliably.
21431
21432Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21433
21434 * config/netware.exp: New file.
21435
21436Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21437
21438 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21439 the -B and -L prefixes so we can find the debugging stub.
21440
21441 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21442 there and we are using the gcc from the tree.
21443
21444 * gdb.base/types.c: Removed.
21445
21446 * gdb.base/configure.in: Look for makefile fragments in ../config.
21447 Recognize i386-*-netware.
21448 * gdb.c++/configure.in: Likewise.
21449
21450Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21451
21452 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21453 the correct TCL syntax.
21454
21455Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21456
21457 * gdb.base/opaque.exp: use runto instead of messing around with
21458 breakpoints. Simplify by using gdb_test.
21459
21460 * gdb.base/bitfields.exp: restart between tests on netware targets
21461 because breakpoints aren't relocated after target death. Run
21462 processes to completion.
21463
21464 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21465
21466Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21467
21468 * Makefile.in: Remove extra tabs that confuse some versions
21469 of "make". Use the newly built gdb to test with by default,
21470 rather than the first one in the tester's search path.
21471
21472Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21473
21474 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21475
21476 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21477 condition help.
21478
21479Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21480
21481 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21482
21483 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21484 running.
21485 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21486 * gdb.base/funcargs.exp: Likewise.
21487
21488 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21489 * gdb.base/funcargs.exp: Likewise.
21490
21491 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21492 message is "".
21493
21494Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21495
21496 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21497 return,signals,twice}.exp: Handle non-existant binaries
21498 consistantly.
21499
21500 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21501 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21502 might testing a cross development system.
21503
21504Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21505
21506 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21507 runtest script is relative to ${srcdir}, not ${rootdir}.
21508
21509Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21510
21511 * gdb.base/signals.exp: Allow for optionality of breakpoint
21512 address.
21513
21514Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21515
21516 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21517
21518Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21519
21520 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21521 for size_t definition.
21522 * gdb.c++/templates.cc: Likewise
21523
21524 * config/mt-i386-netware: New file.
21525
21526 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21527 defined.
21528
21529 * gdb.base/Makefile.in: Added support for systems that name core
21530 files by appending "core" to the program name.
21531 * gdb.base/a1-selftest.exp: Likewise.
21532
21533Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21534
21535 * gdb.base/return.exp: Add comment and message for `return double'
21536 test failure on Sparc Solaris.
21537
21538Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21539
21540 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21541
21542Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21543
21544 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21545 from optimizing them away.
21546 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21547 patterns to include default constructors and assignment operators,
21548 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21549 character in the output of the virtual base pointer.
21550
21551Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21552
21553 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21554 expression match in print_addr_of to avoid unintented matches.
21555 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21556 versions up to 2.5.8.
21557
21558Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21559
21560 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21561 included file to run under newer versions of expect.
21562 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21563 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21564 Remove xfail for the virtual table of BDDHookV.
21565
21566Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21567
21568 * lib/gdb.exp (string_to_regexp): Set a default result.
21569 (default_gdb_start): Fix misleading message.
21570
21571Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21572
21573 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21574 Remove all CC, etc definitions.
21575 * config/mt-hpux: New file.
21576 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21577 (CFLAGS, LDFLAGS): Define.
21578 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21579
21580 * Makefile.in (site.exp): Don't insert host_os, etc.
21581 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21582 (distclean): Check existence of subdir.
21583 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21584 * gdb.base/Makefile.in: General cleanup and simplification.
21585 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21586 to build executables. Use default rule to build .o files.
21587 (EXPECT, RUNTEST, CC): Fix relative pathname.
21588 (site.exp): Don't insert host_os, etc.
21589 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21590 and/or SIGUSR1 defined.
21591 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21592 * gdb.c++/Makefile.in: General cleanup and simplification.
21593 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21594 (CFLAGS): Remove.
21595 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21596
21597Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21598
21599 * gdb.base/recurse.exp: Misc changes to get tests running again
21600 after Kung's changes to the watchpoint code.
21601 * gdb.base/watchpoint.exp: Likewise.
21602
21603Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21604
21605 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21606
21607Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21608
21609 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21610 * lib/gdb.exp (default_gdb_start): Define.
21611 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21612 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21613 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21614 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21615 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21616 Don't call gdb_target_udi in between tests.
21617
21618Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21619
21620 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21621 (which was basically just a local version of the same thing). In
21622 addition to avoiding duplication, gdb_test_exact is faster.
21623 * lib/gdb.exp (gdb_test_exact): Fix typo.
21624
21625 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21626 don't give an error.
21627
21628 * gdb.base/term.exp: Call delete_breakpoints before starting.
21629
21630 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21631 (t10): Add comment.
21632
21633Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21634
21635 Reorganization of the GDB Test Suite.
21636
21637 * gdb.base: New directory, contains all the basic tests.
21638 * gdb.c++: New directory, tests specific to C++.
21639 * gdb.chill: New directory, tests specific to Chill.
21640 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21641 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21642 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21643 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21644 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21645 t30-31 to chill).
21646 * */gdbme.*: Rename to match appropriate expect scripts.
21647 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21648 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21649 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21650 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21651 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21652 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21653 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21654 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21655 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21656 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21657 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21658 gdb.c++/virtfunc.cc: New names of C++ files.
21659 * gdb.chill/chillvars.ch: New name of Chill file.
21660 * gdb.base/configure.in, gdb.c++/configure.in,
21661 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21662 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21663 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21664 * configure.in (configdirs): Update to reflect directory changes.
21665 (target_abbrev): No longer define for any configuration.
21666 * Makefile.in: Cosmetic improvements to header comments.
21667
21668Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21669
21670 Various changes to gdb.t31:
21671
21672 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21673 * gdbme.ch: Make all key-words and predefineds be upper-case.
21674 * chillvars.exp: Expect key-words and predefinds in upper-case.
21675
21676 * chillvars.exp: Use gdb_test_exact many places.
21677 Change expected output for arrays (which now includes index labels).
21678
21679 * pr-5020.exp, gdme.ch (module PR_5020):
21680 New test, for PR-5020.
21681
21682Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21683
21684 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21685 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21686
21687Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21688
21689 * Makefile.in: Fix bit-rot in definitions of CHILL,
21690 CHILL_FOR_TARGET and Chill_LIB.
21691 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21692 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21693 CHILL, and CHILL_LIB.
21694
21695Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21696
21697 * Revert the previous changes. Please see Rob's directory
21698 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21699
21700Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21701
21702 * Makefile.in, configure.in, config/mips-gdb.exp,
a9c64011
AS
21703 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21704 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21705 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
c906108c
SS
21706 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21707 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21708 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21709 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21710 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21711 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21712 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21713 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21714 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21715 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21716 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21717 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21718 changes from 94Q1.
21719
21720Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21721
21722 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21723 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21724 Rob's new testing fragments.
21725
21726Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21727
21728 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
a9c64011 21729 lib/gdb.exp: Replace error proc calls with perror.
c906108c
SS
21730
21731Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21732
21733 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21734 version also, match on casted version strings, and match on
21735 gdb startup case where the line numbers might be messed up.
21736
21737Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21738
21739 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
a9c64011 21740 (CFLAGS): Delete it from here.
c906108c
SS
21741
21742Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21743
21744 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21745
21746Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21747
21748 * Makefile.in (RUNTEST): Default to just "runtest".
21749
21750Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21751
21752 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21753 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21754 the code has been restructured.
21755
21756Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21757
21758 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21759 \n, not just one of each.
21760
21761 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21762 /bin/cc gives a warning if you do.
21763
21764Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21765
d63a86f8 21766 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
21767 __t10ListS_link1ZUiRCUiPT0
21768
21769Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21770
21771 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21772 on local variables in recursive functions.
21773
21774 * gdb.t07/Makefile.in: Build the new test.
21775
21776Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21777
21778 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21779 directly. Instead compare the return values from actual calls.
21780
21781Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21782
21783 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21784
21785Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21786
21787 * From Peter Schauer with minor modifications.
a9c64011
AS
21788 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21789 stops in mid-line in the caller. Add xfail for returning a float
21790 value on X86 targets.
c906108c
SS
21791
21792Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21793
21794 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21795 to avoid expect lossage.
21796 (fmem_LRbug_tests): Likewise.
21797 * gdb.disasm/hppa.s: Corresponding changes.
21798
21799 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21800 conditions to work with latest dejagnu/expect.
21801
21802 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21803 expected to fail on the PA.
21804 (backtrace in call with trampolines): Explicitly require main
21805 to be frame #1 (no trampolines should show up in backtrace).
21806
21807 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21808 "continue -expect".
21809 * gdb.t06/break.exp: Likewise.
21810 * gdb.t07/watchpoint.exp: Likewise.
21811 * gdb.t13/bitfields.exp: Likewise.
21812 * gdb.t15/{funcargs,return}.exp: Likewise.
21813 * gdb.stabs/weird.exp: Likewise.
21814 * config/{mips,udi}-gdb.exp: Likewise.
21815
21816 * hppa.sed: Enclose comments within a sed command to avoid
21817 losing with the old OSF1 sed.
21818
21819Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21820
21821 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21822 sequent dynix.
21823 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21824 * gdb.t15/funcargs.exp: Conditionally step again to really
21825 finish from marker_call_with_trampolines. Handle the case where
21826 the first step from within call_with_trampolines already steps
21827 us back to main.
21828 * gdb.t15/gdbme.c: Add comment to closing brace of
21829 call_with_trampolines for funcargs.exp.
21830
21831Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21832
d63a86f8 21833 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
21834 Fix typo(s).
21835
21836Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21837
21838 * gdb.t07/gdbme.c: More code for watchpoint testing.
21839
21840 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21841 "Hardware watchpoint" throughout file.
21842 (test_watchpoint_triggered_in_syscall): New test.
21843 (test_complex_watchpoint): New test.
21844
21845Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21846
21847 * gdbme.c (call_with_trampolines): New function to try and step
21848 into. Tests trampoline problems on the PA.
21849
21850 * funcargs.exp (localvars_in_indirect_call): No longer expect
21851 stepping into indirect call to fail on PAs.
21852 (test_stepping_over_trampolines): New test.
21853
21854Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21855
21856 * TODO: Add suggestions for static member function tests, and
21857 completion tests.
21858
21859Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21860
21861 * TODO: Add suggestions for "p/a" tests.
21862
21863 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
21864 (default_gdb_exit): Replace all the hair with sending "quit" to
21865 the process with a simple close.
21866
21867Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21868
21869 * TODO: Add suggestions for shared library tests.
21870
21871Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21872
21873 * TODO: Add suggestions for x/s tests.
21874
21875Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21876
21877 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21878 "enable once", and "enable breakpoints once" with ".*".
21879
21880Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21881
21882 * TODO: Add suggestions about structure passing tests.
21883
21884Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21885
21886 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
21887 the primary1 test, use work around if __GNUC__ < 2.
21888 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
21889 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
21890 Test for bad output rather than waiting for timeout. Issue
21891 second continue only if first continue failed.
21892
21893Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21894
21895 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
21896 operator[] test with gdb_test because the old code didn't seem to
21897 be getting the quoting right with the new dejagnu.
21898
21899Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21900
21901 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21902 one from the path.
21903 * Makefile.in: Use a fresh expect if there is one, use runtest
21904 from the src tree if there is one.
d63a86f8 21905
c906108c
SS
21906Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21907
21908 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
21909 next over recursive call. Revise the tests from that point on
21910 (which had been skipped) to match GDB's actual (correct) output.
21911
21912 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21913 with next over a breakpoint whose condition is false.
21914
21915 * gdb.t00/help.exp: Comment out "help set print" tests just like
21916 (and for same reason as) "help set" test.
21917
21918Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21919
21920 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21921 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21922
21923Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21924
21925 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
21926 necessary gdb_target_udi.
21927
21928 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
21929
21930 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
21931 1838 and 2417; they are fixed.
21932
21933 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
21934 gdb.t03/ptype.exp (ptype structure, ptype union):
21935 Remove xfails; the test is looser than when the xfails were added.
21936
21937 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
21938 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
21939
21940 * gdb.t01/run.exp: Only run shell test if isnative.
21941
21942 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
21943 since "run" automatically loads if necessary. Call gdb_target_udi
21944 after the "file" since "file" kills any execution target.
21945
21946 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
21947 GDB. GDB doesn't work that way (not anymore at least) on UDI.
21948 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
21949 argument for UDI.
21950
21951Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21952
21953 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
21954
21955 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
21956
21957Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21958
21959 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
21960 properly quoting regexps. This makes the second argument to
21961 demangle a fixed string, which matches the callers, instead of a
21962 shell-style pattern which is what the previous implementation
21963 used. Update some of the callers.
21964
21965Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21966
21967 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
21968 (comib_nullified_tests): Fix typo.
21969 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
21970 strings. No longer expected to fail.
21971
21972 * gdb.disasm/hppa.s (addib_tests): Fix typo.
21973 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
21974 strings. No longer expected to fail.
21975
21976 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
21977 string. No longer expected to fail.
21978
21979Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21980
21981 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
21982 No longer expected to fail.
21983
21984 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
21985 string. No longer expected to fail.
21986
21987Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21988
21989 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
21990 only in the names (I probably got most of them). I was even
21991 generous with some which differed in underscores in names, and
21992 probably missed a few, and I *still* was able to remove almost a
21993 third of the file with almost no impact on testsuite coverage.
21994
21995Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21996
21997 * gdb.t00/default.exp: Match udi_attach error message as well as
21998 the one from child_attach.
21999
22000 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
22001
22002 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
22003
22004 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
22005 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
22006
22007 * Move test with enums and partial symbols back to
22008 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
22009 Reverts the change of 26 May 93. Per today's change to
22010 stabs.texinfo, the behavior that weird.exp was expecting was
22011 unreasonable; what is important is that the compiler+gdb get
22012 things right, which happens with a recent gcc. Also fix the test
22013 to deal with native compilers which put out the stab gdb can't
22014 deal with.
22015
22016Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22017
22018 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
22019 in the names. The main thing these accomplish is to slow things down.
22020 Many more such duplicates surely remain.
22021
22022 * gdb.t00/help.exp: Comment out "help support" test just like
22023 (and for same reason as) "help set" test.
22024
22025Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
22026
22027 * gdb.t06/break.exp: Remove setup_xfails for
22028 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
22029 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
22030 about known bug in gcc to include up through 2.5.8.
22031 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
22032 well as "_vb$".
22033 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
22034 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
22035 with latest gcc and gdb.
22036 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
22037 well as "_vb$".
22038
22039Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22040
22041 * configure.in (hppa*-*-*): Also configure and build stabs-only
22042 tests.
22043
22044Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22045
22046 * gdb.t10/hppa.mt: A makefile fragment for the PA.
22047 * gdb.t10/configure.in (hppa*-*-*): Use it.
22048
22049Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22050
22051 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
22052
22053Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22054
22055 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
22056 versions prior to 1.13.5.
22057
22058Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22059
22060 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
22061 the prompt is at the start of a line.
22062
22063Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
22064
22065 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
22066 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
22067 in the copr tests now.
22068 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
22069 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
22070 expected to fail.
22071
22072Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
22073
22074 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
22075 gdb.t31/chillvars.exp, lib/gdb.exp:
22076 Tweak to run under either version of expect.
22077 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
22078 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
22079 * gdb.t11/list.exp: Remove extraneous whitespace.
22080
22081Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22082
22083 * gdb.t16/printcmds.exp (test_print_strings): Accept
22084 "(unsigned char *) " before the string.
22085
22086 * TODO: Add notes about printing of fancy types and GDB expressions.
22087
22088Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
22089
22090 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
22091 * gdb.t06/configure.in: Don't try to compile signals test program
d63a86f8 22092 if doing mips-idt-ecoff.
c906108c
SS
22093
22094Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
22095
22096 * Most .exp files: Tweak to run under either version of expect.
22097
22098Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22099
22100 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
22101 xfails; I'm not sure why they are failing, but not because of PR 1806.
22102
22103Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
22104
22105 * config/unix-gdb.exp: Remove gdb_unload cause it's already
22106 defined in lib/gdb.exp.
22107
22108Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22109
22110 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
22111 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
22112 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
22113 have to be typeless.
22114
22115Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
22116
22117 * TODO: Add suggestion for copyright year test.
22118
22119Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
22120
22121 * configure.in (*-*-lynxos*): Add stabs tests.
22122
22123Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22124
22125 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
22126 so insert a tab before any assembler directive in column zero.
22127
22128 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
22129 stores.
22130 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
22131 stores.
22132 (fpu_short_memory_tests): Likewise.
22133
22134Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22135
22136 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
22137 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
22138 .stabs directives in comments.
22139
22140Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22141
22142 * TODO: New file, describing tests we could write.
22143 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
22144
22145Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22146
22147 * gdb.t06/signals.exp: Add kludge to force re-sync.
22148
22149 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
22150 to xgdb instead of gdb, get out of gdb.
22151
22152Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
22153
22154 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
22155 for info.
22156
22157Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
22158
22159 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
22160 * gdb.stabs/configure.in (hppa*-*-*): Use it.
22161 * gdb.stabs/hppa.sed: New sed script for the PA.
22162
22163Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22164
22165 * gdb.stabs: Re-write weird.def and configuration to use sed
22166 instead of cpp. sed is portable and POSIX; cpp is neither.
22167
22168Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22169
22170 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
22171
22172Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22173
22174 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
22175
22176Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22177
22178 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
22179 "_vb$".
22180 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
22181 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
22182
22183Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * lib/gdb.exp: Comment out code which depends on non-existent
22186 `transform' procedure.
22187
22188Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
22189
22190 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
22191 * lib/gdb.exp: Transform tool name.
22192 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
22193 1.1's new error handling system.
22194
22195Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22196
22197 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
22198
22199Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22200
22201 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
22202 They made pattern matching so slow that timeouts happened on
22203 heavily loaded systems. Now any output from "show print" which
22204 gets us back to the GDB prompt is a PASS.
22205
22206Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
22207
22208 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
22209
22210Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22211
22212 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
22213
22214 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
22215 It is not from PR 3220.
22216
22217Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22218
22219 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
22220 just started failing because they depended on the order the
22221 subcommands are presented, or exact docstring text. This kind of
22222 test is a pain and has minimal benefit.
22223
22224Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22225
22226 * gdb.t09/corefile.exp: At end of test, use "core" command with
22227 no arguments.
22228
22229Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
22230
22231 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
22232 17}/Makefile.in: Make it possible to run the testsuite with Sun
22233 make and CC = cross gcc by adding explicit build rules for .o
22234 files.
22235
22236Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22237
22238 * gdb.t15/funcargs.exp: Don't put comments on same line as
22239 setup_xfail (@#$*%& tcl braindamage!).
d63a86f8 22240
c906108c
SS
22241Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22242
22243 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
22244
22245Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
22246
22247 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
22248 * gdb.t20/inherit.exp: remove three dumplicate entries.
22249
22250Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22251
22252 * gdb.t06/break.exp: For "next over recursive call", fail on any
22253 incorrect output, not just on "factorial (value=2)".
22254
22255Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22256
22257 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
22258 working now. Add an xfail if accesing a bss variable causes
22259 a memory error if the target is not yet run.
22260
22261Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22262
22263 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
22264 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
22265 name of __st* demangling (2 strings). Did Kung really get the
22266 more than 95 others right without testing them?
22267
22268Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
22269
22270 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
22271
22272Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
22273
22274 * configure.in (configdirs): Add gdb.disasm
22275 * gdb.disasm: New directory for GDB disassembler tests.
22276 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
22277
22278Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22279
22280 * gdb.t00/help.exp: Don't test "help set".
22281
22282 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
22283 from within expect statements. None of these happen anymore and
22284 they cause regressions to be silently unnoticed.
22285
22286 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
22287 messages) about known failures with gcc cygnus-2.4.5-930417.
22288
22289 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
22290 comp-info.exp so it gets built if it doesn't exist.
22291
22292 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
22293 it is no longer used.
22294 * gdb.t13/comp-info.c: Removed.
22295
22296Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22297
22298 * gdb.t06/signals.exp: Add xfail for sun3.
22299
22300Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22301
22302 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
22303 relevant because ^C doesn't get sent but failure can be reproduced
22304 interactively).
22305
22306Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22307
22308 * gdb.stabs/alpha.mt: New configuration file for alpha.
22309 * gdb.stabs/configure.in: Use it.
22310 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
22311 sharing with alpha.mt, redefine long to word via preprocessor.
22312 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
22313 for alpha.
22314 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
22315 native cc.
22316 * gdb.t00/teststrategy.exp: Change expect string so that we
22317 consume the `(xgdb)' from the command echo and from the gdb prompt.
22318 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
22319 gdb currently compares all values as long, so this failure probably
22320 applies to any configuration where LONGEST is bigger than a target int.
22321 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
22322 with gcc.
22323 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
22324 to handle opaque pointers, gcc is.
22325 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
22326 as first argument. Include <sys/types.h> and change all operator
22327 new definitions to use size_t.
22328 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
22329 now that we use size_t.
22330
22331Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22332
a9c64011 22333 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
c906108c 22334 a long or float array cast all array members to the same type.
a9c64011 22335 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
c906108c 22336 with 64 bit longs.
a9c64011 22337 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
c906108c 22338 on alpha.
a9c64011 22339 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
c906108c
SS
22340
22341Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22342
22343 * gdb.t24 (demangle.exp): Constructors of templates have names like
22344 vector<int>::vector(int) not vector<int>::vector<int>(int). See
22345 section 14.6 of the ARM.
22346
22347 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
22348 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
22349 accomplish little and slow down the testsuite.
22350
22351 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
22352 Accept spaces various places.
22353
22354Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22355
22356 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
22357 with watchpoint enabled.
22358
22359 * Makefile.in: Remove definition of CC and remove the second
22360 definition of CXX (the "CXX = gcc" one remains). These definitions
22361 were causing backquotes to be expanded within backquotes, which
22362 doesn't work.
22363
22364Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
22365
22366 * gdb.t17/callfuncs.exp: Add "return 0" to end.
22367
22368Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22369
a9c64011
AS
22370 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
22371 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
c906108c
SS
22372 by mips cc and contains no stabs entries.
22373
22374Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22375
22376 * config/vx-gdb.exp: Use fake device to load files rather than
22377 NFS.
22378 * lib/gdb.exp: New proc to do "file" command.
22379 * config/unix-gdb.exp: Use new "file" proc.
22380
22381Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22382
22383 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22384 Rework board rebooting slightly.
22385 (gdb_exit): Don't exit from the remote shell; there isn't one.
22386 * gdb.stabs/weird.exp: If a program is being debugged already,
22387 kill it.
22388 * gdb.t04/setvar.exp: Stop and restart gdb.
22389 * gdb.t05/expr.exp: Likewise.
22390 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22391 restart gdb and reload the program.
22392 * gdb.t08/opaque.exp: Likewise.
22393 * gdb.t12/scope.exp: Likewise.
22394 * gdb.t13/bitfields.exp: Likewise.
22395 * gdb.t15/funcargs.exp: Likewise.
22396 * gdb.t20/classes.exp: Likewise.
22397 * gdb.t03/ptype.exp: Increase timeout.
22398 * gdb.t16/printcmds.exp (test_print_string_constants,
22399 test_print_array_constants): Likewise.
22400 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22401 * gdb.t20/classes.exp (do_tests): Likewise.
22402 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22403
22404Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22405
22406 * gdb.stabs: Renamed *wierd* to *weird*.
22407
22408Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22409
22410 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22411 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22412
22413Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22414
22415 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22416 (do_tests): Remove xfail for whatis on one_var and two_var.
22417
22418Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22419
22420 * Makefile.in: Made cross building work better by adding
22421 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22422
22423Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22424
22425 * gdb.t15/{return.c,return.exp,Makefile.in}:
22426 New test, currently commented out.
22427
22428Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22429
22430 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22431 still running and removes the leftover named socket so GDb can do
22432 clean restarts.
22433
22434Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22435
22436 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22437 console, not GDB.
22438 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22439 cross testing works better with "make check"
22440 * config/unix-gdb: Use default procedures for exit and version.
22441 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22442 with the newest VxWorks.
22443
22444Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22445
22446 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22447 old form.
22448
22449 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22450 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22451
22452 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22453
22454 * config/unix-gdb.exp: Remove this version of gdb_exit
22455 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22456 Rob says he'll look at it when he gets back to testing boards.
22457
22458Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22459
22460 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22461 an expected fail for certain ptype commands.
22462
22463 * gdb.t20/classes.exp: Update expected results of "ptype class
22464 Base1" to account for the constructor that now appears in the type.
22465
22466Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22467
22468 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22469 disappeared from list.
22470 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22471 "alldone" proc with call to cleanup and exit.
22472 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22473 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22474 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22475 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22476 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22477 "alldone" proc with simple returns that suppress remaining
22478 tests. The alldone proc went away many months ago.
22479
22480Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22481
22482 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22483
22484 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22485
22486Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22487
22488 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22489 as vax gdb will display them.
22490
22491Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22492
22493 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22494 optimizers.
22495
22496 * scope.exp: Change "bad value for localval" messages so each one
22497 is unique.
22498
22499 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22500 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22501
22502 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22503
22504Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22505
22506 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22507 doesn't exist (due to optimization).
22508
22509Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22510
22511 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22512 contains \r because the filename is long.
22513
22514 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22515 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22516
22517Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22518
22519 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22520 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22521 Ultrix.
22522 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22523 int tests.
22524 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22525
22526Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22527
22528 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22529
22530 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
d63a86f8 22531 to match does not match the passing case but still matches the
c906108c
SS
22532 failing case.
22533
22534Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22535
22536 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22537
22538Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22539
22540 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22541 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22542 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22543 Remove various versions of gdb_exit.
22544 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22545 gdb_exit.
22546 * config/unix-gdb.exp: gdb_exit remains here, and should override
22547 the generic version, since it's doing a lot of wierd stuff that
22548 the other versions aren't. FIXME, fold it in, or abandon this
22549 version.
22550
22551Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22552
22553 * gdb.t24/demangle.exp: Add tests for PR 3220.
22554
22555Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22556
22557 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22558
22559Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22560
22561 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22562 "i386-*-*". Works for i486 as well.
22563
22564 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22565 bug, and expand domain of xfail to all SVR4 systems, since the
22566 actual problem is likely to be in generic SVR4 /proc support.
22567
22568Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22569
22570 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22571
22572Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22573
22574 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22575 xfails for other systems. Match a missing 'Continuing.' as an
22576 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22577
22578 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22579 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22580 Only issue warning for missing executables if -all option is used.
22581
22582 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22583 file if -all option is used. It's like an unpredictable XFAIL.
22584
22585Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22586
22587 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22588 for dynamically linked binaries.
22589
22590 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22591
22592Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22593
22594 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22595 to state that this is a known bug in old versions of g++.
22596
22597Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22598
22599 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22600 while waiting for `Continuing'.
22601
22602Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22603
22604 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22605 in text, data, and bss.
22606 * gdb.t10/nodebug.c: Add local and global test variables for
22607 initialized and uninitialized data.
22608
22609Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22610
22611 * config/unix-gdb.exp (gdb_exit): Add "wait".
22612
22613Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22614
22615 * gdb.t06/signals.exp: xfail the continue from the handler for all
22616 targets.
22617
22618 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22619 function with watchpoints enabled, the i386 call dummy starts with
22620 a call.
22621
22622 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22623 386 bsd names its corefiles.
22624
22625Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22626
22627 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22628 compilers don't grok it.
22629 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22630 with small octal ints rather than character constants, which
22631 are signed and might not fit if first promoted to int.
22632
22633Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22634
22635 * gdb.t09/Makefile.in (clean): Remove corefile.
22636
22637Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22638
22639 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22640
22641Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22642 and Jim Kingdon (kingdon@cygnus.com)
22643
22644 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22645 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22646 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22647
22648Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22649
22650 * gdb.t17/interrupt.exp: Add xfail for hppa.
22651
22652Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22653
22654 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22655 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22656 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22657 to determine signed-ness of bitfields and use the result to setup
22658 the xfail.
22659 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22660 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22661 call line is reached if necessary.
22662
22663Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22664
22665 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22666
22667Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22668
22669 * gdb.t06/break.exp: Also test `clear' command.
22670
22671Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22672
22673 * gdb.t00/teststrategy.exp: Remove extra quote.
22674
22675 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22676 watchpoint enabled to be for all non-68k machines.
22677
22678 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22679
22680Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22681
22682 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22683 targets use aout.mt instead of ecoff.mt as gas understands
22684 standard aout format.
22685
22686Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22687
22688 * lib/gdb.exp (runto): Don't insist that function we are running to
22689 was compiled with -g.
22690
22691 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22692
22693 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22694 to get back into the read system call.
22695 Accept leading newline in case where we woke it up.
22696
22697Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22698
22699 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22700 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22701 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22702 enable ecoff configuration.
22703
22704Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22705
22706 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22707
22708Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22709
22710 * gdb.t16/printcmds.exp: Add another printf test.
22711
22712Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22713
22714 * configure.in: If configured -with-stabs on any target, add
22715 stabsdirs to configdirs.
22716
22717Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22718
22719 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22720 fun" so pattern does not match the command itself.
22721
22722Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22723
22724 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22725
22726Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22727
22728 * gdb.t17/interrupt.exp: Test for more things.
22729
22730Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22731
22732 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22733 compiler arranges the code and line numbers.
22734
22735 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22736
22737Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22738
22739 * gdb.t00/help.exp: Increase expect input buffer size.
22740
22741Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22742
22743 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22744
22745 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22746
22747 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22748
22749 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22750 [0-9]*, not just [0-9].
22751
22752Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22753
22754 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22755
22756 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22757
22758Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22759
22760 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22761
22762Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22763
22764 * gdb.t06/signals.c: Add xfails for sun3.
22765
22766 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22767
22768 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22769 test_stepping tests.
22770
22771Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22772
22773 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22774
22775 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22776
22777 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22778 rather than actually putting it through cpp twice.
22779
22780 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22781
22782Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22783
22784 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22785 no longer needed.
22786
22787Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22788
22789 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22790
22791 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22792 C++ features prints as "struct", make it a pass, not an xfail.
22793
22794Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22795
22796 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22797 Don't require VA to print as "class" rather than "struct".
22798
22799Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22800
22801 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22802
22803Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22804
22805 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22806
22807Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22808
22809 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22810 order.
22811
22812Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22813
22814 * gdb.t16/printcmds.exp: Add printf tests.
22815
22816 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22817
22818 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22819
22820Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22821
22822 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22823 pass counts, to counteract any existing or future setup_xfails.
22824
22825Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22826
22827 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22828 {BEGIN,END}_COMMON for common block instead of STAB.
22829 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22830
22831 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22832 intp_var should be N_GSYM not N_LSYM.
22833 wierd-aout.S: Use a label for the value of the N_SO.
22834 wierd.def: Remove all backslashes.
22835 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22836
22837Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22838
22839 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22840 get the expected next to inheritance3.
22841
22842Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22843
22844 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22845 now that gcc-2.4 gets it right.
22846
22847Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22848
22849 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22850
22851 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22852 generating comp-info.exp which works for cross-compilation.
22853
22854Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22855
22856 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22857 "*-*-sysv4.*".
22858
22859Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22860
22861 * gdb.t01/run.exp: Start with a fresh gdb.
22862 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22863 SVR4.x.
22864
22865Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
22866
22867 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22868 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
22869 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
22870 Makefile.in (distclean, realclean): Remove gdbme.c from list of
22871 things to remove.
22872
22873Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22874
22875 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22876 test cases from bug reports.
22877
22878Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
22879
22880 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
22881 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
22882 avoid spurious xfails.
22883 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
22884 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
22885 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
22886
22887Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
22888
22889 * gdb.t00/teststrategy.exp: Rework to provide more useful
22890 description of each test, fix problem with systems that define
22891 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
22892 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
22893 results for "next over recursive call" so timeouts aren't taken
22894 by error.
22895
22896Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22897
22898 * gdb.t12/scope.exp: Test printing of variables before run.
22899
22900 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22901 printed in wrong order due to sorting.
22902
22903Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22904
22905 * gdb.t00/teststrategy.exp: Fix expected results for printing
22906 user entered string constant. Is array of char, prints with no
22907 address.
22908
22909 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
22910 commands.
22911 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
22912 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
22913 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
22914 of struct of char arrays.
22915 * gdb.t00/radix.exp: New tests for radix commands.
22916
22917Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22918
22919 * gdb.t16/printcmd.exp: Print a variable before running program
22920 (with xfail for AIX).
22921
22922Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22923
22924 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
22925
22926 * gdb.t16/printcmd.exp: Don't print variables before running program.
22927
22928 * gdb.t06/break.exp: Don't require envp argument to main.
22929
22930 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
22931
22932 * gdb.t02/whatis.exp, gdb.t11/list.exp:
22933 Add xfails for rs6000.
22934
22935 * gdb.t02/whatis.exp: Change other tests not to re-test something
22936 we already tested.
22937
22938 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
22939 each type used has a variable of that type.
22940
22941Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
22942
22943 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
22944
22945Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
22946
22947 * configure.in: change srctrigger to be a file, not a directory
22948
22949Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
22950
22951 * configure.in (mips-idt-ecoff*): Added trailing '*'.
22952
22953 * gdb.t11/list.exp: Fixed a couple of typos.
22954
22955Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
22956
22957 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
22958 is fixed and PR is closed.
22959 * gdb.t16 (gdbme.c): Add simple test string variable.
22960 * gdb.t16 (printcmds.exp): Add tests with simple test string
22961 variable, primarily for boundaries on "set print elements".
22962
22963Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
22964
22965 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
22966 Make leading 0's optional and don't expect a tab in the middle
22967 of the number.
22968
22969 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
22970
22971 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
22972 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
22973 don't end command passed to gdb_test with newline.
22974
22975 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
22976 signed keyword away, don't expect signed bitfields to be signed.
22977
22978 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
22979 printing with only as many 1's as are in the field as well as printing
22980 with 32 1's (see comment).
22981
22982Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
22983
22984 * gdb.t00/default.exp: Start with a fresh gdb.
22985 * configure.in (configdirs): Remove gdb.t31 until the chill
22986 compiler works again. It no longer is able to find chillrt0
22987 since it isn't in libchill.a anymore.
22988 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
22989 wierd.o, make more modular.
22990 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
22991 spurious newlines that caused problems.
22992
22993Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22994
22995 * Move test with enums and partial symbols from gdb.t03/ptype.exp
22996 to gdb.stabs/wierd.exp since GCC has worked around the bug.
22997 gdb.stabs/wierd.{exp,def}: Many new tests.
22998
22999 * gdb.t00/default.exp: update info line for new message.
23000
23001 * gdb.t02/{whatis.exp,gdbme.c}:
23002 Test that "char *" doesn't print as "caddr_t".
23003
23004Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23005
23006 * gdb.t00/help.exp: Use .* in place of some help messages which
23007 just changed.
23008 gdb.t00/default.exp: Update "info frame" test for new message.
23009 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
23010 Remove some xfails
23011
23012Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23013
23014 * gdb.t03/{gdbme.c,ptype.exp}:
23015 Add tests for typedef'd struct and union without tags.
23016 Also check "whatis" on a variable of a typedef'd enum without a tag.
23017
23018 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23019 PRMS 1823; the bug still exists but isn't reproduced by this test
23020 anymore), and remove rs6000 XFAIL (the bug is fixed).
23021
23022 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
23023 duplicated from whatis.exp. For those that are left, accept
23024 "long", "long int", or "int" for long variables (whatis.exp already
23025 has an XFAIL for "int", so no need to fail it here).
23026
23027 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
23028 Deal with GCC's names for types now that GDB uses the compiler's names.
23029
23030 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
23031 setup_xfail's for sunos4. If we #defined the signed keyword away,
23032 don't expect GDB to know that char it is signed.
23033
23034 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
23035
23036Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
23037
23038 * configure.in (configdirs): Add gdb.t24 for C++ tests that
23039 should work on any system, regardless of debugging format.
23040 * gdb.t21/demangle.exp: Move to gdb.t24.
23041 * gdb.t24/demangle.exp: Move from gdb.t21.
23042 * gdb.t24/{Makefile.in, configure.in}: New files.
23043
23044Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23045
23046 * configure.in: Do gdb.stabs and C++ tests only for stabs.
23047 * gdb.stabs: New directory.
23048
23049Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
23050
23051 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
23052 not just "Quit anyway?".
23053
23054Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
23055
23056 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
23057 that all setup_xfails are immediately followed by clear_xfails.
23058
23059Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
23060
23061 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
23062 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
23063 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
23064 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
23065 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
23066 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23067 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23068 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
23069 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
23070 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
23071 gdb.t31/chillvars.exp, lib/gdb.exp:
23072 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
23073 bug-gdb@prep.ai.mit.edu.
23074
23075Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
23076
23077 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
23078 with 0.0, not integer 0.
23079
23080Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
23081
23082 * gdb.t06/break.exp: Update for "Kill the program" message change.
23083
23084Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
23085
23086 * Makefile.in (GDBFLAGS): Set to -nx.
23087 * Makefile.in (site.exp): Use GDBFLAGS.
23088
23089Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23090
23091 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
23092 Makefiles.
23093 (check): depend on just-check.
23094 (just-check): added so that tests can be run without a noop
23095 build pass.
23096
23097Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
23098
23099 Switch to using configure's configdirs.
23100 * Makefile.in (Makefile): add configure.in dependency.
23101 (SUBDIRS): removed redundant assignment.
23102 * configure.in: switch subdirs assignment to configdirs.
23103 * gdb.t*/configure.in: new files.
23104
23105Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
23106
23107 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
23108 works.
23109
23110Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
23111
23112 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
23113 in explicit rules. Apparently this is not supported by some makes.
23114
23115Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
23116
23117 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
23118
23119Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23120
23121 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
23122 disappeared.
23123
23124Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
23125
23126 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
23127
23128Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
23129
23130 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
23131 watchpoint problem that is now fixed.
23132 * gdb.t30/chexp.exp: Remove setup_xfail for printing
23133 uninitialized convenience variables.
23134 * gdb.t31/chillvars.exp: Fix expected patterns for printing
23135 structures.
23136
23137Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23138
23139 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
23140 which causes expect to get out of sync with gdb on long output
23141 from help set.
23142 * gdb.t09/corefile.exp: Make expected pattern for core file
23143 failing signal and frame output format less sun specific.
23144
23145Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
23146
23147 * gdb.t31/chillvars.exp: Add and remove initial dummy
23148 breakpoint, so that symbol table is forced in.
23149 (Needed at least on Sunos4, though it seems not SVR4.)
23150 * gdb.t31/chillvars.exp: Update for changed output format.
23151
23152Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
23153
a9c64011 23154 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
c906108c
SS
23155
23156Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
23157
23158 * Makefile.in: Added --srcdir when invoking runtest, removed the
23159 need for a local config file. (optional now)
23160
23161Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
23162
23163 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
23164 failure count used to force early termination. Add some more
23165 expected failures for gnu style demangling.
23166
23167Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23168
23169 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
23170 pmi variable from gdb.t20/gdbme to get optimized away.
23171 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
23172 Check for written corefile upon timeout _and_ eof.
23173
23174Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23175
23176 * config/unix-gdb.exp: Add missing return 0.
23177
23178Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23179
23180 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
23181 test termination.
23182
23183Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
23184
23185 * configure.in (subdirs): Put back gdb.t17 which mysteriously
23186 disappeared.
23187
23188Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
23189
23190 * gdb.t10/crossload.exp: Disable the i860-elf test until such
23191 time as i860 support works.
23192
d63a86f8 23193 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
23194 "backtrace 100\r" rather than just "backtrace\r", to match last
23195 change.
23196
23197Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
23198
23199 * config/udi-gdb.exp (gdb_exit): Remove close command.
23200 (gdb_target_udi): New procedure to set the UDI target.
23201 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
23202 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
23203 Added waits for prompts after several question responses. Added
23204 some more responses used by a29k-amd-udi-gdb.
23205 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
23206 pass different arguments, restart UDI connection after program
23207 completion.
23208 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
23209 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
23210 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
23211 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
23212 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
23213 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
23214 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
23215 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
23216 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
23217 after program completion.
23218 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
23219 compiled with a SELECT_VECS setting.
23220 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
23221 infinite recursion.
23222
23223 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
23224 Added checks for COFF results, and made them expected failures for
23225 all targets. It would be better to make them expected failures
23226 for COFF targets only.
23227
23228Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
23229
23230 * Makefile.in: add null dvi target, don't bother to recurse
23231 through test directories for info and install-info; rename
23232 $(datadir) to be dejagnu instead of deja-gnu
23233
23234Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
23235
23236 * gdb.t31/gdbme.ch: Re-enable code that previously caused
23237 compiler to coredump.
23238 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
23239 code.
23240
23241Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
23242
23243 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
23244 coredump.
23245 * gdb.t31/chillvars.exp: Comment out tests that depend on that
23246 code.
23247
23248Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
23249
23250 * gdb.t03/ptype.exp: tests for return code from gdb_test.
23251 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
23252 which in a shell. Deletes xgdb when done.
23253 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
23254 Tests the return from the "set height" or "set width" commands.
23255 Added a few return codes where needed.
23256
23257Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
23258
23259 * Makefile.in (SUBDIRS): Add gdb.t17.
23260 * configure.in (subdirs): Add gdb.t17.
23261 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
23262 files to test gdb's calling of functions in the inferior with
23263 the correct arguments and gdb's ability to retrieve any
23264 result returned.
23265
23266Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
23267
23268 * config/unix-gdb.exp (gdb_exit): Remove close commands that
23269 may be called after gdb goes away. Previous versions of expect
23270 needed these to avoid file descriptor leaks, but they cause
23271 errors with the current revision of expect.
23272 * gdb.t00/gdbvars.exp: Use -re on expected output after
23273 setting sevenbit-strings.
23274 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
23275 to set sevenbit-strings consistent across tests.
23276 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
23277 set sevenbit-strings consistent across tests.
23278
23279Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
23280
23281 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
23282 expected output to match current "expect" expectations.
23283
23284Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
23285
23286 * gdb.t00/default.exp: Change expected output for default "source"
23287 command, to match new gdb behavior which requires a filename to
23288 source.
23289
23290Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
23291
23292 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
23293 expected fail for i486-*-* that misses the marker2 function.
23294 * gdb.t10/crossload.exp (bfddefault): Allow successful
23295 recognition of a format to pass even if no symbols are found.
23296 Explicitly catch failures where the format is not recognized
23297 or is ambiguous, and add the reason to the fail message.
23298 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
23299 the cause is and invalid target and add reason to failure message.
23300 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
23301 elf32-i386, elf32-sparc, and elf32-i860.
23302 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
23303 Set up expected failure for 'filename'::variable scope resolution,
23304 which is now apparently broken on all targets.
23305 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
23306 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
23307 gdb.t23/templates.exp: Change failure for missing binfile into
23308 just a warning.
23309 gdb.t21/demangle.exp: Change all cfront references to 'arm'
23310 references.
23311
23312Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
23313
23314 * gdb.t00/default.exp: Add expected output for default "source"
23315 command, to match new gdb behavior.
23316 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
23317
23318Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
23319
23320 * config/*-gdb.exp: returns an error, rather than exiting on
23321 internal errors.
23322
23323Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
23324
23325 * gdb.t03/gdbme.c: Add pointer to struct variable.
23326 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
23327 referencing struct members.
23328
23329Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
23330
23331 * configure.in (mips-idt-ecoff): New target.
23332 * config/mips-gdb.exp: New file for remote board using MIPS remote
23333 debugging protocol.
23334
23335 * Redid configuration scheme. Removed gdb.t*/configure.in.
23336 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
23337 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
23338 distclean targets. Built executables via .o files. Adjusted
23339 tests to account for source files in $(srcdir) rather than
23340 $(objdir).
23341 * lib/gdb.exp (runto): Don't expect () after the function name,
23342 because it may have arguments.
23343
23344Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
23345
23346 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
23347 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
23348 expected failures for mips-idt-* and mips-sgi-*.
23349 * gdb.t00/default.exp (attach): Kill process if requested.
23350 * gdb.t00/help.exp (help target core, help target): Accept a gdb
23351 that does not read core files.
23352 * gdb.t01/run.exp: Removed checks for exit status code.
23353 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
23354 it is linked in.
23355 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
23356 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
23357 appropriate, rather than doing it by hand.
23358 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
23359 execution.
23360 * gdb.t10/crossload.exp: Kill existing program if needed.
23361 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
23362 appropriate, rather than doing it by hand. Always increase
23363 timeout for this test, not just for VxWorks.
23364
23365Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
23366
23367 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
23368 of Chill STRUCT types and STRUCT values.
23369 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
23370 than "char".
23371 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
d63a86f8 23372 struct2): New struct definitions and initializations to test
c906108c
SS
23373 simple Chill STRUCT types.
23374
23375Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23376
23377 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23378 the null byte at the end of strings.
23379 * gdb.t00/default.exp: Make show version insensitive to copyright
23380 date.
23381 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23382 to avoid dependencies on target char signedness.
23383 * gdb.t16/printcmds.exp: Update expected results for explicitly
23384 unsigned char.
23385 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23386 now work.
23387 * gdb.t21/demangle.exp: Add many more patterns for template
23388 demangling, most of them being expected failures.
23389 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23390 string we are matching for, to match on the whole string.
23391 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23392 and fix a whole bunch that had incorrect expected output but were
23393 passing anyway because of the bug in "proc demangle".
23394 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23395 type.
23396 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23397
23398Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23399
a9c64011
AS
23400 * gdb/testsuite: made modifications to testcases, etc., to allow
23401 them to work properly given the reorganization of deja-gnu and the
23402 relocation of the testcases from deja-gnu to a "tool" subdirectory.
c906108c
SS
23403
23404Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23405
23406 * gdb/testsuite: Initial creation of gdb/testsuite.
23407 Migrated dejagnu testcases and support files for testing nm to
23408 gdb/testsuite from deja-gnu. These files were moved "as is"
23409 with no modifications. This migration is part of a major overhaul
23410 of dejagnu. The modifications to these testcases, etc., which
23411 will allow them to work with the new version of dejagnu will be
23412 made in a future update.
48efe704 23413
8d8cb839 23414 For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c 23415\f
8d8cb839
EZ
23416;; Local Variables:
23417;; mode: change-log
23418;; left-margin: 8
23419;; fill-column: 74
23420;; version-control: never
23421;; End:
902f2ccb
MC
23422
23423 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
ed6df200 23424 2003, 2004, 2005 Free Software Foundation, Inc.
902f2ccb
MC
23425 Copying and distribution of this file, with or without modification,
23426 are permitted provided the copyright notice and this notice are preserved.