* gdb.python/py-infthread.exp: Load gdb-python.exp.
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2011-01-11 Tom Tromey <tromey@redhat.com>
2
3 * gdb.python/py-infthread.exp: Load gdb-python.exp.
4
5 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
6
7 Convert hardware watchpoints to use breakpoint_ops.
8 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
9 type is not supported.
10 * gdb.base/foll-fork.exp: Likewise.
11 * gdb.base/foll-vfork.exp: Likewise.
12
13 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
14
15 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
16 Use load_lib gdb-python.exp.
17 * gdb.python/python.exp: Ditto.
18 * gdb.python/py-function.exp: Ditto.
19
20 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
21
22 * gdb.threads/tls.exp ("info address me"): Fix expected output.
23
24 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
25
26 * configure: Regenerate.
27
28 2011-01-06 Tom Tromey <tromey@redhat.com>
29
30 * gdb.python/py-frame.exp: Test gdb.newest_frame.
31
32 2011-01-06 Joel Brobecker <brobecker@adacore.com>
33
34 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
35 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
36 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
37 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
38 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
39 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
40 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
41 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
42 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
43 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
44 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
45 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
46 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
47 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
48 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
49 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
50 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
51 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
52 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
53 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
54 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
55 gdb.ada/uninitialized_vars.exp,
56 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
57 Simplify by using clean_restart.
58
59 2011-01-06 Joel Brobecker <brobecker@adacore.com>
60
61 Add marker to be used as anchor for inserting breakpoints.
62 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
63 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
64 Likewise.
65
66 Remove uses of gdb_start_cmd.
67 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
68 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
69
70 Do not run testcase if testing with GDBserver.
71 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
72 if testing with GDBserver.
73
74 2011-01-06 Joel Brobecker <brobecker@adacore.com>
75
76 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
77 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
78 copyright header.
79
80 2011-01-05 Joel Brobecker <brobecker@adacore.com>
81
82 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
83 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
84 testsuite/gdb.fortran/complex.f,
85 testsuite/gdb.fortran/derived-type.f90,
86 testsuite/gdb.fortran/library-module-lib.f90,
87 testsuite/gdb.fortran/library-module-main.f90,
88 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
89 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
90 Copyright year update.
91
92 2011-01-05 Joel Brobecker <brobecker@adacore.com>
93
94 * gdb.base/langs1.f: Add copyright header.
95
96 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
97
98 * gdb.base/morestack.exp: New file.
99 * gdb.base/morestack.c: New file.
100
101 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
102
103 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
104
105 2010-12-29 Joel Brobecker <brobecker@adacore.com>
106
107 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
108 * gdb.ada/arrayptr.exp: Add test printing that new variable.
109
110 2010-12-29 Joel Brobecker <brobecker@adacore.com>
111
112 * gdb.ada/lang_switch.exp: Correct expected parameter value.
113
114 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
115
116 * gdb.threads/tls.exp: Fix typo.
117
118 * gdb.threads/thread-specific.exp (get_thread_list): Update.
119 * gdb.threads/execl.exp: Update.
120
121 2010-12-23 Yao Qi <yao@codesourcery.com>
122
123 * gdb.arch/arm-disp-step.exp: New.
124 * gdb.arch/arm-disp-step.S: New.
125
126 2010-12-21 Tom Tromey <tromey@redhat.com>
127
128 * gdb.threads/execl.exp: Update.
129 * gdb.threads/linux-dp.exp: Update.
130 * gdb.threads/manythreads.exp: Update.
131 * gdb.threads/tls.exp: Update.
132
133 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
134
135 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
136 (NextOverThrowDerivates) <resumebpt>: New.
137 (resumebpt_test): New.
138 (main): Call resumebpt_test.
139 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
140
141 2010-12-12 Stan Shebs <stan@codesourcery.com>
142
143 * gdb.trace/tsv.exp: Test print command on trace state variables.
144
145 2010-12-09 Tom Tromey <tromey@redhat.com>
146
147 * gdb.base/interp.exp: Add regression test.
148
149 2010-12-09 Tom Tromey <tromey@redhat.com>
150
151 * gdb.java/jnpe.java: New file.
152 * gdb.java/jnpe.exp: New file.
153 * gdb.cp/nextoverthrow.exp: New file.
154 * gdb.cp/nextoverthrow.cc: New file.
155
156 2010-12-07 Doug Evans <dje@google.com>
157
158 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
159 of data-directory.
160 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
161 updated.
162 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
163
164 2010-11-29 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
165
166 * gdb.base/callfuncs.exp: Test for skip_float_tests.
167 * gdb.base/call-sc.exp: Ditto.
168 * gdb.base/finish.exp: Ditto.
169 * gdb.base/return.exp: Ditto.
170 * gdb.base/return2.exp: Ditto.
171
172 2010-11-30 Doug Evans <dje@google.com>
173
174 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
175 (gdb_expect_list): Fix spelling errors in comments.
176 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
177 send_gdb/gdb_expect_list where applicable.
178 * gdb.base/call-ar-st.exp: Ditto.
179 * gdb.base/funcargs.exp: Ditto.
180 * gdb.base/gcore.exp: Ditto.
181 * gdb.base/page.exp: Ditto.
182 * gdb.base/sigaltstack.exp: Ditto.
183 * gdb.base/siginfo.exp: Ditto.
184 * gdb.base/sigstep.exp: Ditto.
185 * gdb.base/trace-commands.exp: Ditto.
186
187 2010-11-29 Doug Evans <dje@google.com>
188
189 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
190 printer-name;subprinter-name.
191
192 2010-11-29 Tom Tromey <tromey@redhat.com>
193
194 * gdb.dwarf2/implptr.exp: New file.
195 * gdb.dwarf2/implptr.c: New file.
196 * gdb.dwarf2/implptr.S: New file.
197
198 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
199
200 PR python/12199
201
202 * gdb.python/py-breakpoint.exp: Test the delete method.
203
204 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
205
206 Fix step_resume_breakpoint unsaved during an infcall.
207 * gdb.base/step-resume-infcall.exp: New file.
208 * gdb.base/step-resume-infcall.c: New file.
209
210 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
211
212 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
213
214 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
215
216 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
217 on ppc64's symbols; "finish" and "return" commands must accept to
218 show the caller line again as well as the line after.
219 * gdb.asm/powerpc64.inc: New file.
220
221 2010-11-23 Doug Evans <dje@google.com>
222
223 * lib/gdb.exp (gdb_test_sequence): New function.
224 (gdb_expect_list): Add verbose -log call for each pattern.
225 * gdb.base/signals.exp (test_handle_all_print): Call it.
226 Reduce timeout increment from 6 minutes to 1 minute.
227 * gdb.server/ext-run.exp: Call it.
228
229 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
230
231 PR python/12212
232
233 * gdb.python/python.exp: Check that selected_thread raises an
234 error when no inferior is loaded.
235
236 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
237
238 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
239 * gdb.dwarf2/dw2-stack-boundary.S: New file.
240
241 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
242
243 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
244 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
245
246 2010-11-18 Doug Evans <dje@google.com>
247
248 * gdb.server/ext-run.exp: Fix intermittent failures.
249
250 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
251
252 * gdb.stabs/gdb11479.exp: Use runto_main.
253
254 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
255
256 * gdb.base/break-entry.exp: Skip if using a stub.
257
258 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
259
260 * gdb.python/py-inferior.exp: Pack values in target endianness.
261
262 2010-11-12 Tom Tromey <tromey@redhat.com>
263
264 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
265 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
266 MemoryError.
267 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
268 type.
269 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
270 MemoryError.
271 (test_subscript_regression): Update exception type.
272
273 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
274
275 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
276 breakpoint tests.
277
278 2010-11-09 Pedro Alves <pedro@codesourcery.com>
279
280 * gdb.base/watchpoint.exp: Test "watch -location" with an
281 innacessible location.
282
283 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
284 Luis Machado <luisgpm@br.ibm.com>
285
286 * gdb.base/maint.exp: Expect "." prefix.
287 * gdb.base/nodebug.exp: Expect "." Likewise.
288 * gdb.base/sepsymtab.exp: Expect "." Likewise.
289 * gdb.base/watchpoint-cond-gone.exp: Likewise.
290 * gdb.base/watchpoint.exp: Expect a software watch to be created for
291 POWER server processors.
292
293 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
294 Luis Machado <luisgpm@br.ibm.com>
295
296 * gdb.base/break-entry.exp: convert entry point for
297 ppc64 and expect leading `.' on ppc64's symbols
298
299 2010-11-05 Doug Evans <dje@google.com>
300
301 * gdb.base/help.exp: Update expected output.
302 * gdb.python/py-param.exp: Delete, contents moved to ...
303 * gdb.python/py-parameter.exp: ... here. New file.
304 Add test for gdb.parameter ("directories").
305
306 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
307
308 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
309 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
310 * configure: Regenerate.
311 * gdb.opencl/Makefile.in: New File.
312 * gdb.opencl/datatypes.exp: Likewise.
313 * gdb.opencl/datatypes.cl: Likewise.
314 * gdb.opencl/operators.exp: Likewise.
315 * gdb.opencl/operators.cl: Likewise.
316 * gdb.opencl/vec_comps.exp: Likewise.
317 * gdb.opencl/vec_comps.cl: Likewise.
318 * gdb.opencl/convs_casts.exp: Likewise.
319 * gdb.opencl/convs_casts.cl: Likewise.
320 * lib/opencl.exp: Likewise.
321 * lib/opencl_hostapp.c: Likewise.
322 * lib/opencl_kernel.cl: Likewise.
323 * lib/cl_util.c: Likewise.
324 * lib/cl_util.c: Likewise.
325 * gdb.base/default.exp (set language): Add "opencl" to the list of
326 languages.
327
328 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
329
330 * gdb.cp/overload.exp: Added test for inheritance overload.
331 * gdb.cp/overload.cc: Ditto.
332 * gdb.cp/oranking.exp: Removed releveant kfails.
333
334 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
335 Joel Brobecker <brobecker@adacore.com>
336
337 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
338 check test_compiler_info.
339
340 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
341
342 * gdb.base/gnu_vector.exp: Adjust expect messages.
343
344 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
345
346 * gdb.base/gnu_vector.exp: Add unary operator tests.
347
348 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
349
350 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
351
352 2010-11-02 Doug Evans <dje@google.com>
353
354 * gdb.python/py-pp-maint.c: New file.
355 * gdb.python/py-pp-maint.exp: New file.
356 * gdb.python/py-pp-maint.py: New file.
357
358 2010-11-02 Tom Tromey <tromey@redhat.com>
359
360 * gdb.base/default.exp: Remove "scheme" from language list.
361
362 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
363
364 Revert:
365 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
366 * gdb.threads/sigstep-threads.exp: New file.
367 * gdb.threads/sigstep-threads.c: New file.
368
369 2010-10-20 Michael Snyder <msnyder@vmware.com>
370
371 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
372
373 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
374
375 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
376 Skip test completely if gdb,no_hardware_watchpoints.
377
378 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
379
380 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
381 strict, but do not check for any particular function name within libc.
382
383 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
384
385 * gdb.cp/smartp.exp: New test.
386 * gdb.cp/smartp.cc : New test.
387
388 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
389
390 * gdb.cp/converts.exp: Test pointer to bool conversion.
391 Test pointer to long conversion.
392 * gdb.cp/oranking.exp: Removed relevant kfail.
393
394 2010-10-18 Tom Tromey <tromey@redhat.com>
395
396 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
397 argument to lazy_string.
398 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
399 (pp_ls.to_string): Use it.
400 * gdb.python/py-prettyprint.c (main): Move declarations to top.
401 Add "estring2" local.
402
403 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
404
405 Fix s390x compatibility.
406 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
407 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
408
409 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
410
411 * gdb.threads/sigstep-threads.exp: New file.
412 * gdb.threads/sigstep-threads.c: New file.
413
414 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
415
416 * gdb.base/pie-execl.exp: New file.
417 * gdb.base/pie-execl.c: New file.
418
419 2010-10-13 Doug Evans <dje@google.com>
420 Jan Kratochvil <jan.kratochvil@redhat.com>
421
422 PR exp/12117
423 * gdb.cp/ptype-cv-cp.cc: New file.
424 * gdb.cp/ptype-cv-cp.exp: New file.
425
426 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
427
428 * gdb.cp/converts.cc: New test program.
429 * gdb.cp/converts.exp: New test.
430 * gdb.cp/overload.exp: Added test for void* vs int*.
431 * gdb.cp/overload.exp: Ditto.
432 * gdb.cp/oranking.exp: Removed related kfail.
433
434 2010-10-13 Doug Evans <dje@google.com>
435
436 * lib/gdb-python.exp (gdb_check_python_config): New function.
437 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
438 * gdb.python/lib-types.cc: New file.
439 * gdb.python/lib-types.exp: New file.
440
441 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
442
443 * gdb.python/py-error.exp: New file.
444 * gdb.python/py-error.py: New file.
445
446 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
447
448 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
449 gdb_test_multiple.
450
451 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
452
453 * gdb.base/break-interp.exp: Use ldlags for linking flags.
454 * gdb.base/prelink.exp: Likewise.
455 * gdb.base/solib-nodir.exp: Likewise.
456 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
457 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
458 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
459
460 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
461
462 * break-interp.exp (test_ld): Use two separate gdb_expect statements
463 for the "info files" test to avoid timeouts on slow machines.
464
465 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
466
467 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
468 (main): Make openlib dummy call.
469
470 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
471
472 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
473 * break-interp.exp (reach): Move the core body ...
474 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
475 (test_ld): Provide always real argument, even to the linker. Replace
476 dl_main by _dl_debug_state.
477
478 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
479
480 Fix results of prelinked PIEs on ppc*.
481 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
482 Accept also DISPLACEMENT "PRESENT".
483 (main): Replace "ZERO" displacements by "PRESENT".
484
485 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
486
487 * gdb.cp/oranking.exp: New test.
488 * gdb.cp/oranking.cc: New test program.
489
490 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
491
492 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
493 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
494
495 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
496
497 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
498 lush, lynx) New constant.
499 * gdb.base/constvars.exp: Test const array types.
500 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
501
502 2010-10-06 Doug Evans <dje@google.com>
503
504 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
505 of syscall staging area.
506
507 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
508
509 * gdb.base/gnu_vector.c: Add variable c4.
510 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
511 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
512
513 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
514
515 * gdb.arch/altivec-abi.exp: Fix a typo.
516
517 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
518
519 * lib/mi-support.exp (thread_selected_re): Correct pattern used
520 to match a thread ID.
521
522 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
523
524 Fix s390x testcase compatibility.
525 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
526
527 2010-10-01 Doug Evans <dje@google.com>
528
529 * lib/gdb-python.exp: New file.
530 * gdb.python/py-block.exp: Use it.
531 * gdb.python/py-breakpoint.exp: Ditto.
532 * gdb.python/py-frame.exp: Ditto.
533 * gdb.python/py-inferior.exp: Ditto.
534 * gdb.python/py-param.exp: Ditto.
535 * gdb.python/py-prettyprint.exp: Ditto.
536 * gdb.python/py-shared.exp: Ditto.
537 * gdb.python/py-symbol.exp: Ditto.
538 * gdb.python/py-symtab.exp: Ditto.
539 * gdb.python/py-type.exp: Ditto.
540 * gdb.python/py-value.exp: Ditto.
541 * gdb.python/python.exp: Ditto.
542
543 2010-09-30 Tom Tromey <tromey@redhat.com>
544
545 * gdb.base/anon.exp: New file.
546 * gdb.base/anon.c: New file.
547
548 2010-09-30 Tom Tromey <tromey@redhat.com>
549
550 * gdb.base/completion.exp: Test completion through anonymous
551 union.
552 * gdb.base/break1.c (struct some_struct): Add anonymous union.
553
554 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
555
556 Fix printing parameters of inlined functions.
557 * gdb.dwarf2/dw2-inline-param.exp: New file.
558 * gdb.dwarf2/dw2-inline-param-main.c: New file.
559 * gdb.dwarf2/dw2-inline-param.S: New file.
560
561 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
562
563 PR corefiles/12071.
564 * gdb.base/corefile.exp (quit with a process, no question: load core)
565 (quit with a core file): New tests.
566
567 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
568
569 Fix GDB crash on inferior calls with self-referencing classes.
570 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
571 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
572 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
573
574 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
575
576 Fix lost siginfo_t for inferior calls.
577 * gdb.base/siginfo-infcall.exp: New file.
578 * gdb.base/siginfo-infcall.c: New file.
579
580 2010-09-22 Joel Brobecker <brobecker@adacore.com>
581
582 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
583
584 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
585
586 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
587 New test.
588 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
589
590 2010-09-22 Joel Brobecker <brobecker@adacore.com>
591
592 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
593 type of our const type.
594
595 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
596
597 * gdb.cp/pr12028.cc: New.
598 * gdb.cp/pr12028.exp: New.
599
600 2010-09-22 Joel Brobecker <brobecker@adacore.com>
601
602 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
603
604 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
605 Jan Kratochvil <jan.kratochvil@redhat.com>
606
607 PR mi/11407
608 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
609 * gdb.mi/dw2-ref-missing-frame-main.c New File.
610 * gdb.mi/dw2-ref-missing-frame.S New File.
611 * gdb.mi/dw2-ref-missing-frame.exp New File.
612
613 2010-09-14 Tom Tromey <tromey@redhat.com>
614
615 PR symtab/8399:
616 * gdb.threads/tls.exp: Remove kfail. Update expected output.
617
618 2010-09-14 Tom Tromey <tromey@redhat.com>
619
620 PR exp/11803:
621 * gdb.threads/tls.exp: Use C++.
622 (check_thread_local): Use K::another_thread_local.
623 * gdb.threads/tls.c (class K): New.
624 (another_thread_local): Now a member of K.
625 (spin): Update. No longer K&R C.
626
627 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
628
629 * gdb.cp/koenig.cc: created class for testing member lookup.
630 * gdb.cp/koenig.exp: Added test for member lookup.
631
632 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
633
634 Fix false FAILs on sourcetree topdir directory containing "kill".
635 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
636 source line matching regexp.
637
638 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
639
640 * gdb.python/python.exp (set height 0, collect help from uiout)
641 (verify help to uiout): New tests.
642
643 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
644
645 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
646 is_lp64_target to check 64bit target.
647
648 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
649
650 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
651 (test_ld) <powerpc64-*>: New.
652
653 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
654
655 * gdb.cp/templates.exp (test_template_args): Allow "struct".
656
657 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
658
659 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
660 (FunctionArg::method): New function.
661 (empty, arg): New variables.
662 (main): Call arg.method.
663 * gdb.cp/templates.exp (test_template_args): New function.
664 (do_tests): Call it.
665
666 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
667
668 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
669 of "next" to proceed over pthread_exit call.
670
671 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
672
673 * gdb.base/maint.exp: Avoid wildcards against potentially very long
674 "maint print statistics" output to prevent expect timeouts.
675
676 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
677
678 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
679 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
680 (test_float_rejected): ... here.
681 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
682 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
683 (test_float_rejected): ... here.
684 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
685 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
686 (test_float_rejected): ... here.
687 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
688 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
689 (test_float_rejected): ... here.
690
691 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
692
693 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
694 before disabling hardware watchpoints.
695 (test_inaccessible_watchpoint): Check that hardware watchpoints
696 are used. Test for watchpoints on a constant address.
697
698 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
699
700 * gdb.base/ui-redirect.exp: New file.
701
702 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
703 Joel Brobecker <brobecker@adacore.com>
704
705 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
706
707 2010-08-31 Doug Evans <dje@google.com>
708
709 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
710
711 2010-08-30 Tom Tromey <tromey@redhat.com>
712
713 PR python/11792:
714 * gdb.python/py-value.exp (test_subscript_regression): Add
715 dynamic_type test.
716
717 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
718
719 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
720 instead of running to main. Do not test the main function.
721 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
722 Add new main.
723
724 2010-08-26 Pedro Alves <pedro@codesourcery.com>
725
726 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
727 one test.
728
729 2010-08-24 Doug Evans <dje@google.com>
730
731 PR symtab/11942
732 * gdb.dwarf2/dw4-sig-types.cc: New file.
733 * gdb.dwarf2/dw4-sig-types.h: New file.
734 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
735 * gdb.dwarf2/dw4-sig-types.exp: New file.
736
737 2010-08-23 Tom Tromey <tromey@redhat.com>
738
739 PR python/11145:
740 * gdb.python/py-value.c (Base, Derived): New types.
741 (base): New global.
742 * gdb.python/py-value.exp (test_subscript_regression): Add
743 dynamic_cast test.
744
745 2010-08-23 Tom Tromey <tromey@redhat.com>
746
747 PR python/10676:
748 * gdb.python/py-type.exp (test_fields): Add tests for type
749 equality.
750
751 2010-08-23 Tom Tromey <tromey@redhat.com>
752
753 PR python/11915:
754 * gdb.python/py-type.exp (test_fields): Add tests for array.
755
756 2010-08-23 Keith Seitz <keiths@redhat.com>
757
758 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
759 have any children. Create a new abbrev for it.
760 Add missing terminal sequence to .debug_abbrev.
761
762 2010-08-20 Keith Seitz <keiths@redhat.com>
763
764 PR symtab/11465:
765 * gdb.dwarf2/pr11465.exp: New test.
766 * gdb.dwarf2/pr11465.S: New file.
767 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
768 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
769
770 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
771
772 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
773 registers. Update data sets with the new v2_double element in the
774 VSX register union. Add vector_register3_vr data set for the AltiVec
775 registers. Use gdb_test_no_output instead of send_gdb.
776
777 2010-08-19 Pedro Alves <pedro@codesourcery.com>
778
779 * gdb.python/py-shared.exp: New file, factored out from
780 python.exp.
781 * gdb.python/py-shared.c: New file.
782 * gdb.python/py-shared-sl.c: New file.
783 * gdb.python/python-1.c: New file.
784 * gdb.python/python-sl.c: Delete.
785 * gdb.python/python.c: Mention python-1.c.
786 * gdb.python/python.exp: Move shared library tests to
787 py-shared.exp.
788 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
789 (MISCELLANEOUS): New.
790 (clean mostlyclean): Also remove $MISCELLANEOUS.
791
792 2010-08-19 Doug Evans <dje@google.com>
793
794 PR exp/11926
795 * gdb.base/printcmds.exp (test_float_accepted): New function.
796 Move existing float tests there. Add tests for floats with suffixes.
797 (test_float_rejected): New function.
798 * gdb.java/jv-print.exp (test_float_accepted): New function.
799 (test_float_rejected): New function.
800 * gdb.objc/print.exp: New file.
801 * gdb.pascal/print.exp: New file.
802 * lib/objc.exp: New file.
803
804 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
805
806 * gdb.base/default.exp (info set): Avoid full buffer error and force
807 reading up to final gdb prompt.
808 (show): Likewise.
809
810 2010-08-18 Tom Tromey <tromey@redhat.com>
811
812 PR symtab/11919:
813 * gdb.base/completion.exp: Add test.
814
815 2010-08-18 Doug Evans <dje@google.com>
816
817 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
818 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
819 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
820 Simplify, early exit if runto_main fails.
821 * gdb.fortran/exprs.exp: load_lib fortran.exp.
822 (set_lang_fortran): Moved to lib/fortran.exp.
823 * gdb.fortran/types.exp: load_lib fortran.exp.
824 (set_lang_fortran): Moved to lib/fortran.exp.
825 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
826 * gdb.java/jprint.exp (set_lang_java): Ditto.
827 * gdb.java/jv-exp.exp: load_lib java.exp.
828 If set_lang_java fails, issue a warning instead of failure to be
829 consistent with other set_lang_foo uses.
830 (set_lang_java): Moved to lib/java.exp.
831 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
832 If set_lang_java fails, issue a warning instead of failure to be
833 consistent with other set_lang_foo uses.
834 * gdb.pascal/types.exp: load_lib pascal.exp.
835 (set_lang_pascal): Moved to lib/pascal.exp.
836 * lib/fortran.exp: New file.
837 * lib/java.exp (set_lang_java): New function.
838 * lib/pascal.exp (set_lang_pascal): New function.
839
840 2010-08-18 Yao Qi <yao@codesourcery.com
841
842 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
843 func_nofb_start and func_loopfb_start, so that address of functions
844 is equal to these labels on Thumb.
845
846 2010-08-18 Yao Qi <yao@codesourcery.com>
847
848 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
849 to reflect latest c source file.
850
851 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
852
853 * gdb.cp/infcall-dlopen.exp: New file.
854 * gdb.cp/infcall-dlopen.cc: New file.
855 * gdb.cp/infcall-dlopen-lib.cc: New file.
856
857 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
858 Pedro Alves <pedro@codesourcery.com>
859
860 PR breakpoints/11371
861
862 * gdb.base/watch-cond-infcall.exp: New file.
863 * gdb.base/watch-cond-infcall.c: New file.
864
865 2010-08-16 Tom Tromey <tromey@redhat.com>
866
867 * gdb.base/help.exp: Update.
868 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
869 watchpoint.
870 (test_watch_location): New proc.
871 (test_watchpoint_in_big_blob): Delete watchpoint.
872 * gdb.base/watchpoint.c (func5): New function.
873 (main): Call it.
874
875 2010-08-16 Doug Evans <dje@google.com>
876
877 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
878
879 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
880
881 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
882 tests.
883
884 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
885
886 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
887 * gdb.base/gnu_vector.c: New File.
888 * gdb.base/gnu_vector.exp: Likewise.
889
890 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
891
892 * gdb.python/python.c: New File.
893 * gdb.python/python-sl.c: New File.
894 * gdb.python/python.exp: Test solib_address and decode_line
895 * functions.
896
897 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
898
899 * gdb.python/python.exp (show height, set height 10)
900 (verify pagination beforehand, verify pagination beforehand: q)
901 (gdb.execute does not page, verify pagination afterwards)
902 (verify pagination afterwards: q): New.
903
904 2010-08-02 Doug Evans <dje@google.com>
905
906 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
907 because of an older gcc, change test2
908 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
909 to unsupported.
910
911 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
912
913 * gdb.base/break-always.exp: Do not expect full paths to file
914 names.
915 * gdb.base/commands.exp: Likewise.
916
917 2010-07-30 Doug Evans <dje@google.com>
918
919 * gdb.cp/temargs.exp: For new tests that require newer gccs,
920 xfail them when run with older gccs.
921
922 * lib/gdb.exp (build_executable): Forward "c++" option to
923 get_compiler_info.
924
925 * gdb.python/py-type.exp (test_template): Mark as xfail tests
926 "python print ttype.template_argument(1)" and
927 "python print isinstance(ttype.template_argument(1), gdb.Value)"
928 if using gcc 4.4 or earlier.
929
930 * gdb.base/valgrind-db-attach.exp: Use unique test name for
931 attach-to-debugger handling.
932
933 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
934
935 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
936 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
937 (main): Use copyreloc.
938 * gdb.base/prelink.exp (split debug of executable)
939 (.dynbss vs. .bss address shift): New tests.
940
941 2010-07-29 Pedro Alves <pedro@codesourcery.com>
942
943 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
944 in gdb_test_multiple.
945
946 2010-07-29 Pedro Alves <pedro@codesourcery.com>
947
948 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
949 environment.
950
951 2010-07-28 Tom Tromey <tromey@redhat.com>
952
953 PR python/11060:
954 * gdb.python/py-type.c (Temargs): New template.
955 (temvar): New variable.
956 * gdb.python/py-type.exp (test_template): New proc.
957
958 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
959
960 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
961 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
962
963 2010-07-28 Tom Tromey <tromey@redhat.com>
964
965 PR c++/9946:
966 * gdb.cp/temargs.exp: New file.
967 * gdb.cp/temargs.cc: New file.
968
969 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
970
971 * gdb.base/help.exp (help disassemble): Update the content.
972
973 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
974
975 * gdb.threads/ia64-sigill.exp: New file.
976 * gdb.threads/ia64-sigill.c: New file.
977
978 2010-07-27 Tom Tromey <tromey@redhat.com>
979
980 * gdb.opt/inline-cmds.c (ATTR): New define.
981 (func1): Use it.
982 (func2): Likewise.
983 (func3): Likewise.
984 (outer_inline1): Likewise.
985 (outer_inline2): Likewise.
986 * gdb.opt/inline-bt.c (ATTR): New define.
987 (func1): Use it.
988 (func2): Likewise.
989 * gdb.opt/inline-locals.c (ATTR): New define.
990 (func1): Use it.
991 (func2): Likewise.
992
993 2010-07-27 Tom Tromey <tromey@redhat.com>
994
995 * gdb.stabs/gdb11479.c (hack): New function.
996 (test): Use it.
997 (test2): Use it.
998 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
999 (int32_search_buf, int64_search_buf): No longer static.
1000 (x): Remove.
1001 * gdb.base/relocate.c (hack): New function.
1002
1003 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1004
1005 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1006 * gdb.python/py-value.c (func1): New function.
1007 (func2): Likewise.
1008
1009 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1010
1011 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1012 as not to clash with .data section.
1013
1014 2010-07-26 Jerome Guitton <guitton@adacore.com>
1015
1016 * gdb.base/code_elim.exp: New file.
1017 * gdb.base/code_elim1.c: New file.
1018 * gdb.base/code_elim2.c: New file.
1019
1020 2010-07-21 Pedro Alves <pedro@codesourcery.com>
1021
1022 PR symtab/11827
1023
1024 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
1025 (some_volatile_enum): New variable.
1026 * gdb.base/printcmds.exp (test_print_enums): New.
1027 <top level>: Call it.
1028
1029 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1030
1031 * gdb.cp/fpointer.cc: New test.
1032 * gdb.cp/fpointer.exp: New test.
1033
1034 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1035
1036 * gdb.base/solib-nodir.exp: New file.
1037 * lib/gdb.exp (runto): New case for a GDB internal error.
1038
1039 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1040 Ulrich Weigand <uweigand@de.ibm.com>
1041 Tom Tromey <tromey@redhat.com>
1042
1043 * gdb.base/charset-malloc.c: New file.
1044 * gdb.base/charset.c (malloc_stub): New prototype.
1045 (main): Call it instead of malloc itself.
1046 * gdb.base/charset.exp: Use only prepare_for_testing.
1047 (binfile): Remove the variable.
1048
1049 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1050
1051 Make core files the process_stratum.
1052 * gdb.base/corefile.exp (run: load core again)
1053 (run: sanity check we see the core file, run: with core)
1054 (run: core file is cleared, attach: load core again)
1055 (attach: sanity check we see the core file, attach: with core)
1056 (attach: core file is cleared): New tests.
1057 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
1058
1059 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1060
1061 * gdb.arch/altivec-abi.exp: New tests.
1062
1063 2010-07-13 Tom Tromey <tromey@redhat.com>
1064
1065 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1066 (main): Use it.
1067 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1068
1069 2010-07-13 Tom Tromey <tromey@redhat.com>
1070
1071 * gdb.base/label.exp: New file.
1072 * gdb.base/label.c: New file.
1073
1074 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1075 H.J. Lu <hongjiu.lu@intel.com>
1076
1077 * lib/gdb.exp (is_ilp32_target): New.
1078 (is_lp64_target): Likewise.
1079
1080 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
1081 target.
1082 * gdb.arch/amd64-disp-step.exp: Likewise.
1083 * gdb.arch/amd64-dword.exp: Likewise.
1084 * gdb.arch/amd64-i386-address.exp: Likewise.
1085 * gdb.arch/amd64-word.exp: Likewise.
1086
1087 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
1088 target.
1089 * gdb.arch/i386-bp_permanent.exp: Likewise.
1090 * gdb.arch/i386-byte.exp: Likewise.
1091 * gdb.arch/i386-disp-step.exp: Likewise.
1092 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1093 * gdb.arch/i386-prologue.exp: Likewise.
1094 * gdb.arch/i386-size-overlap.exp: Likewise.
1095 * gdb.arch/i386-size.exp: Likewise.
1096 * gdb.arch/i386-sse.exp: Likewise.
1097 * gdb.arch/i386-unwind.exp: Likewise.
1098 * gdb.arch/i386-word.exp: Likewise.
1099
1100 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
1101 test only when building 64-bit executables. Do not hard-code
1102 -m64 option.
1103
1104 2010-07-07 Doug Evans <dje@google.com>
1105
1106 * lib/gdb.exp (gdb_test_list_exact): New function.
1107 * gdb.base/default.exp (show convenience): Call it, add tests for
1108 $_sdata = void, $_thread = 0.
1109
1110 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1111 Joel Brobecker <brobecker@adacore.com>
1112
1113 Fix re-run of PIE executable, PR shlibs/11776.
1114 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
1115 Remove $displacement_main to match the solib-svr4.c change. New "kill"
1116 and re-"run" of the inferior.
1117
1118 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1119 Joel Brobecker <brobecker@adacore.com>
1120
1121 Cope with missing /usr/sbin/prelink.
1122 * lib/prelink-support.exp (prelink_no):
1123 <result == 1 && $output is "no such file or directory">: New.
1124 (prelink_yes): Likewise. Return on failed prelink_no.
1125
1126 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1127 Joel Brobecker <brobecker@adacore.com>
1128
1129 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
1130 build_executable by build_executable_own_libs. Replace "prelink -R"
1131 execution by a call of prelink_yes. Comment why "prelink -r" needs no
1132 change.
1133 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
1134 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
1135 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
1136 Replace build_executable by build_executable_own_libs's function
1137 build_executable_own_libs.
1138 (prelinkNO): Create new stub to call prelink_no.
1139 (prelinkYES): Create new stub to call prelink_yes.
1140 (test_attach): Rename calls of copy to file_copy.
1141 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
1142 (copy): Move to ...
1143 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
1144 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
1145 * gdb.base/prelink.exp: Disable testcase also for is_remote and
1146 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
1147 special flags by gdb_compile_shlib. Replace second gdb_compile by
1148 build_executable_own_libs. Replace "prelink -R" execution by a call of
1149 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
1150 a second call of prelink_yes. Replace restart commands by
1151 clean_restart.
1152 (prelink): Rename to ...
1153 (seen displacement message): ... this test. Extend its expectation
1154 strictness.
1155
1156 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1157
1158 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
1159 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
1160 displacement message exactly once.
1161
1162 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1163 Joel Brobecker <brobecker@adacore.com>
1164
1165 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1166 its restore after the <$relink_args != ""> loop. new comment.
1167
1168 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1169 Joel Brobecker <brobecker@adacore.com>
1170
1171 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
1172 code for it. New variable relink_args.
1173 (prelinkYES): Call prelinkNO.
1174 (test_attach): Accept new parameter relink_args. Re-prelink the binary
1175 in such case. Move the core code to ...
1176 (test_attach_gdb): ... a new function. Send GDB command "file".
1177 Extend expected "Attaching to " string.
1178
1179 2010-07-02 Tom Tromey <tromey@redhat.com>
1180
1181 * gdb.base/bitops.exp: Remove extraneous "pass".
1182
1183 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1184
1185 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1186
1187 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1188
1189 * gdb.base/help.exp: Adjust expected output.
1190
1191 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1192
1193 * gdb.base/help.exp: Adjust expected output.
1194
1195 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1196
1197 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1198 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1199 c++/11702.
1200
1201 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1202 Doug Evans <dje@google.com>
1203
1204 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1205 add .dynamic entry'.
1206
1207 2010-06-29 Doug Evans <dje@google.com>
1208
1209 Test PR c++/11702.
1210 * gdb.cp/m-static.exp: Add testcase.
1211 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1212
1213 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1214 Tom Tromey <tromey@redhat.com>
1215 Thiago Jung Bauermann <bauerman@br.ibm.com>
1216
1217 * gdb.python/py-inferior.c: New File.
1218 * gdb.python/py-infthread.c: New File.
1219 * gdb.python/py-inferior.exp: New File.
1220 * gdb.python/py-infthread.exp: New File.
1221
1222 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1223
1224 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
1225 (ptype ::C::OtherFileClass typedefs): New.
1226 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
1227 (C::OtherFileClass::cOtherFileClassVar2): New.
1228 (C::OtherFileClass::cOtherFileClassVar_use): Use also
1229 cOtherFileClassVar2.
1230 (C::cOtherFileType2, C::cOtherFileVar2): New.
1231 (C::cOtherFileVar_use): use also cOtherFileVar2.
1232 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
1233
1234 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1235
1236 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
1237 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
1238 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
1239 (print ::C::cOtherFileVar)
1240 (whatis C::OtherFileClass::cOtherFileClassType)
1241 (whatis ::C::OtherFileClass::cOtherFileClassType)
1242 (print C::OtherFileClass::cOtherFileClassVar)
1243 (print ::cOtherFileClassVar)
1244 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
1245 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
1246 trailing content.
1247 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
1248 (C::OtherFileClass::cOtherFileClassVar)
1249 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
1250 (C::cOtherFileVar, C::cOtherFileVar_use): New.
1251
1252 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1253
1254 Test PR c++/11703 and PR gdb/1448.
1255 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1256 gdb/1448.
1257
1258 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1259
1260 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
1261 (main) <rtti_data>: New.
1262 * gdb.cp/virtbase.exp (print rtti_data): New.
1263
1264 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1265 Joel Brobecker <brobecker@adacore.com>
1266
1267 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1268
1269 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1270
1271 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1272
1273 2010-06-28 Doug Evans <dje@google.com>
1274
1275 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1276
1277 2010-06-27 Doug Evans <dje@google.com>
1278
1279 * gdb.cp/m-static.exp: Update expected test output.
1280
1281 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1282
1283 * gdb.gdb/selftest.exp: Adjust expected message for
1284 capturing start-up runtime.
1285
1286 2010-06-25 Tom Tromey <tromey@redhat.com>
1287
1288 PR python/10808:
1289 * gdb.python/python.exp: Add new tests.
1290
1291 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1292
1293 * gdb.cp/operator.cc: Created an import loop.
1294 * gdb.cp/operator.exp: Added testcase for import loop.
1295
1296 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1297
1298 Test PR python/11407.
1299 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
1300 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
1301 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
1302 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
1303 executable_nofb and executable_fb. New variables srcsfile, objsfile,
1304 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
1305 binfile. Call gdb_compile with clean_restart twice.
1306 (func_nofb print, func_nofb backtrace, func_loopfb print)
1307 (func_loopfb backtrace): New.
1308
1309 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1310
1311 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1312 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
1313 by a hand made one.
1314 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
1315 i?86 requirement. Remove variables srcfile and binfile. New variable
1316 sources, executable_nofb and executable_fb. Call prepare_for_testing.
1317
1318 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1319
1320 * gdb.cell/dwarfaddr.exp: New file.
1321 * gdb.cell/dwarfaddr.S: New file.
1322
1323 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1324
1325 Test PR 9436.
1326 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1327
1328 2010-06-24 Hui Zhu <teawater@gmail.com>
1329
1330 * gdb.base/eval.exp: New file.
1331
1332 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1333
1334 * gdb.cell/fork.exp: New file.
1335 * gdb.cell/fork.c: Likewise.
1336 * gdb.cell/fork-spu.c: Likewise.
1337
1338 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
1339
1340 * lib/gdb.exp (banned_variables_traced): New global variable.
1341 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
1342 (gdb_init): Use `trace add variable' instead of obsolete
1343 `trace variable'.
1344
1345 2010-06-21 Doug Evans <dje@google.com>
1346
1347 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1348
1349 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1350
1351 * gdb.arch/spu-ls.exp: New file.
1352 * gdb.arch/spu-ls.c: Likewise.
1353
1354 2010-06-18 Stan Shebs <stan@codesourcery.com>
1355
1356 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1357
1358 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1359
1360 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
1361 * gdb.base/watch-cond.exp: Likewise.
1362 * gdb.python/py-breakpoint.exp: Likewise.
1363
1364 2010-06-18 Pedro Alves <pedro@codesourcery.com>
1365
1366 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
1367 clean_restart, make sure every test has a distinct message, and
1368 that messages don't include the executable' full path.
1369
1370 2010-06-17 Doug Evans <dje@google.com>
1371
1372 * gdb.arch/i386-size.exp: Updated expected output for
1373 DISASSEMBLY_OMIT_FNAME.
1374
1375 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1376 Sergio Durigan Junior <sergiodj@redhat.com>
1377
1378 * gdb.base/watch-notconst.c: New file.
1379 * gdb.base/watch-notconst.S: New file.
1380 * gdb.base/watch-notconst2.c: New file.
1381 * gdb.base/watch-notconst2.S: New file.
1382 * gdb.base/watch-notconst.exp: New file.
1383 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
1384 (func4): Add operations on `global_ptr_ptr'.
1385 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
1386 routine to test watchpoints created with a constant expression.
1387 (test_inaccessible_watchpoint): Include tests for watchpoints
1388 created with a constant expression.
1389
1390 2010-06-14 Kevin Buettner <kevinb@redhat.com>
1391
1392 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
1393 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
1394 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
1395 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
1396 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
1397 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
1398 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
1399 of `_start'.
1400
1401 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1402
1403 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
1404 not supported on the target.
1405 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1406 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1407 * gdb.mi/mi-nsintrall.exp: Likewise.
1408 * gdb.mi/mi-nsmoribund.exp: Likewise.
1409 * gdb.mi/mi-nsthrexec.exp: Likewise.
1410
1411 2010-06-11 Stan Shebs <stan@codesourcery.com>
1412
1413 * gdb.base/permissions.exp: New file.
1414
1415 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1416
1417 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1418 does not support ELF executable class.
1419
1420 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1421
1422 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1423
1424 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1425
1426 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1427 (runto): Catch "The target does not support running in non-stop mode.".
1428
1429 2010-06-11 Michael Snyder <msnyder@vmware.com>
1430
1431 * gdb.base/setshow.exp (set language asm): Don't use
1432 gdb_test_no_output, fails on some targets.
1433
1434 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1435
1436 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1437 * gdb.cp/pr9167.exp: Likewise.
1438
1439 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1440
1441 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1442
1443 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1444
1445 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1446
1447 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1448
1449 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1450
1451 2010-06-11 Tom Tromey <tromey@redhat.com>
1452
1453 PR gdb/9977, PR exp/11636::
1454 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1455 (pieces_test_f6): Update expected output.
1456
1457 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1458
1459 * gdb.base/moribund-step.exp: New.
1460
1461 2010-06-08 Michael Snyder <msnyder@vmware.com>
1462
1463 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
1464 * gdb.ada/boolean_expr.exp:
1465 * gdb.ada/frame_args.exp: Ditto.
1466 * gdb.ada/lang_switch.exp: Ditto.
1467 * gdb.ada/ptype_arith_binop.exp: Ditto.
1468 * gdb.ada/ref_param.exp: Ditto.
1469 * gdb.ada/type_coercion.exp:Ditto.
1470
1471 * gdb.asm/asm-source.exp: Ditto.
1472
1473 * gdb.base/attach.exp: Ditto.
1474 * gdb.base/bitfields2.exp: Ditto.
1475 * gdb.base/call-signal-resume.exp: Ditto.
1476 * gdb.base/callfuncs.exp: Ditto.
1477 * gdb.base/commands.exp: Ditto.
1478 * gdb.base/dbx.exp: Ditto.
1479 * gdb.base/default.exp: Ditto.
1480 * gdb.base/dump.exp: Ditto.
1481 * gdb.base/exprs.exp: Ditto.
1482 * gdb.base/freebpcmd.exp: Ditto.
1483 * gdb.base/interrupt.exp: Ditto.
1484 * gdb.base/list.exp: Ditto.
1485 * gdb.base/long_long.exp: Ditto.
1486 * gdb.base/maint.exp: Ditto.
1487 * gdb.base/ptype.exp: Ditto.
1488 * gdb.base/return.exp: Ditto.
1489 * gdb.base/setshow.exp: Ditto.
1490 * gdb.base/sigbpt.exp: Ditto.
1491 * gdb.base/sigrepeat.exp: Ditto.
1492
1493 * gdb.cp/classes.exp: Ditto.
1494
1495 * gdb.dwarf2/dw2-restore.exp: Ditto.
1496
1497 * gdb.gdb/selftest.exp: Ditto.
1498
1499 * gdb.multi/base.exp: Ditto.
1500 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1501
1502 * gdb.python/py-block.exp: Ditto.
1503 * gdb.python/py-prettyprint.exp: Ditto.
1504 * gdb.python/py-template.exp: Ditto.
1505
1506 * gdb.server/ext-attach.exp: Ditto.
1507 * gdb.server/ext-run.exp: Ditto.
1508 * gdb.server/server-mon.exp: Ditto.
1509
1510 * gdb.threads/fork-thread-pending.exp: Ditto.
1511 * gdb.threads/hand-call-in-threads.exp: Ditto.
1512 * gdb.threads/interrupted-hand-call.exp: Ditto.
1513 * gdb.threads/linux-dp.exp: Ditto.
1514 * gdb.threads/manythreads.exp: Ditto.
1515 * gdb.threads/print-threads.exp: Ditto.
1516 * gdb.threads/pthreads.exp: Ditto.
1517 * gdb.threads/schedlock.exp: Ditto.
1518 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1519 * gdb.threads/threadapply.exp: Ditto.
1520
1521 2010-06-08 Michael Snyder <msnyder@vmware.com>
1522
1523 * gdb.ada/exec_changed.exp:
1524 Use ".*" instead of "" as wildcard regexp.
1525
1526 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
1527 * gdb.base/call-ar-st.exp: Ditto.
1528 * gdb.base/checkpoint.exp: Ditto.
1529 * gdb.base/default.exp: Ditto.
1530 * gdb.base/dump.exp: Ditto.
1531 * gdb.base/ending-run.exp: Ditto.
1532 * gdb.base/fileio.exp: Ditto.
1533 * gdb.base/miscexprs.exp: Ditto.
1534 * gdb.base/pointers.exp: Ditto.
1535 * gdb.base/readline.exp: Ditto.
1536 * gdb.base/reread.exp: Ditto.
1537 * gdb.base/restore.exp: Ditto.
1538 * gdb.base/shlib-call.exp: Ditto.
1539 * gdb.base/valgrind-db-attach.exp: Ditto.
1540 * gdb.base/volatile.exp: Ditto.
1541 * gdb.base/watchpoints.exp: Ditto.
1542
1543 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1544
1545 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1546 * gdb.python/py-value.exp: Ditto.
1547
1548 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
1549 * gdb.trace/circ.exp: Ditto.
1550 * gdb.trace/collection.exp: Ditto.
1551 * gdb.trace/packetlen.exp: Ditto.
1552 * gdb.trace/passc-dyn.exp: Ditto.
1553 * gdb.trace/report.exp: Ditto.
1554 * gdb.trace/tfile.exp: Ditto.
1555 * gdb.trace/tfind.exp: Ditto.
1556 * gdb.trace/while-dyn.exp: Ditto.
1557
1558 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1559
1560 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
1561
1562 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1563
1564 Test PR 10640.
1565 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
1566
1567 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
1568
1569 * gdb.cp/koenig.exp: Test for ADL operators.
1570 * gdb.cp/koenig.cc: Added ADL operators.
1571 * gdb.cp/operator.exp: New test.
1572 * gdb.cp/operator.cc: New test.
1573
1574 2010-06-04 Michael Snyder <msnyder@vmware.com>
1575
1576 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
1577 * gdb.base/pending.exp: Ditto.
1578
1579 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
1580
1581 2010-06-04 Doug Evans <dje@google.com>
1582
1583 * gdb.python/py-prettyprint.exp: Add new test for enabled and
1584 disabled printers.
1585 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
1586 (enable_lookup_function): New function.
1587
1588 2010-06-04 Tom Tromey <tromey@redhat.com>
1589
1590 * gdb.python/py-value.exp (test_value_hash): Don't test equality
1591 of hash and id.
1592
1593 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1594
1595 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
1596 newline.
1597 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
1598 (empty verbose non-noisy clear, empty verbose noisy clear)
1599 (empty non-verbose noisy clear): Likewise.
1600
1601 2010-06-03 Michael Snyder <msnyder@vmware.com>
1602
1603 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
1604 * gdb.base/display.exp: Ditto.
1605 * gdb.base/find.exp: Ditto.
1606 * gdb.base/ifelse.exp: Ditto.
1607 * gdb.base/multi-forks.exp: Ditto.
1608 * gdb.base/recurse.exp: Ditto.
1609 * gdb.base/setshow.exp: Ditto.
1610 * gdb.base/value-double-free.exp: Ditto.
1611 * gdb.base/watch-vfork.exp: Ditto.
1612 * gdb.base/watch_thread_num.exp: Ditto.
1613 * gdb.base/watchpoint-solib.exp: Ditto.
1614 * gdb.base/watchpoint.exp: Ditto.
1615 * gdb.base/watchpoints.exp: Ditto.
1616
1617 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
1618 * gdb.cp/overload.exp: Ditto.
1619 * gdb.cp/virtfunc.exp: Ditto.
1620
1621 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
1622
1623 * gdb.reverse/watch-precsave.exp:
1624 Replace gdb_test with gdb_test_no_output.
1625
1626 * gdb.threads/attach-into-signal.exp:
1627 Replace gdb_test with gdb_test_no_output.
1628 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1629 * gdb.threads/watchthreads.exp: Ditto.
1630 * gdb.threads/watchthreads2.exp: Ditto.
1631
1632 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
1633 * gdb.trace/tfind.exp: Ditto.
1634
1635 2010-06-03 Joel Brobecker <brobecker@adacore.com>
1636
1637 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
1638 successful test if message is the empty string.
1639
1640 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1641
1642 * gdb.fortran/module.exp (stopped language detection): New test.
1643
1644 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1645
1646 Support DW_TAG_module as separate namespaces.
1647 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
1648 gdb.fortran/library-module-lib.f90: New.
1649 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
1650 (print i): Remove.
1651 (continue to breakpoint: i-is-1, print var_i value 1)
1652 (continue to breakpoint: i-is-2, print var_i value 2)
1653 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
1654 (print var_d, print var_i value 14, ptype modmany, complete `modm)
1655 (complete `modmany, complete `modmany`, complete `modmany`var)
1656 (show language, setting breakpoint at module): New tests.
1657 * gdb.fortran/module.f90 (module mod): Remove.
1658 (module mod1, module mod2, module modmany, subroutine sub1)
1659 (subroutine sub2, program module): New.
1660
1661 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1662
1663 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
1664 (print value of rUC, print value of rI, print value of UI): ... here.
1665 * gdb.cp/anon-union.exp (pass): Rename to ...
1666 (print z 2): ... here.
1667
1668 2010-06-02 Michael Snyder <msnyder@vmware.com>
1669
1670 * gdb.trace/actions.exp: Use gdb_test_no_output.
1671 * gdb.trace/circ.exp: Ditto.
1672 * gdb.trace/packetlen.exp: Ditto.
1673 * gdb.trace/save-trace.exp: Ditto.
1674 * gdb.trace/tracecmd.exp: Ditto.
1675 * gdb.trace/tsv.exp: Ditto.
1676
1677 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
1678 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
1679 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
1680 * gdb.threads/manythreads.exp: Ditto.
1681 * gdb.threads/print-threads.exp: Ditto.
1682 * gdb.threads/pthreads.exp: Ditto.
1683 * gdb.threads/schedlock.exp: Ditto.
1684 * gdb.threads/staticthreads.exp: Ditto.
1685 * gdb.threads/thread-specific.exp: Ditto.
1686 * gdb.threads/thread-unwindonsignal.exp: Ditto.
1687 * gdb.threads/threadapply.exp: Ditto.
1688 * gdb.threads/watchthreads.exp: Ditto.
1689 * gdb.threads/watchthreads2.exp: Ditto.
1690
1691 * gdb.python/py-block.exp: Use gdb_test_no_output.
1692 * gdb.python/py-prettyprint.exp: Ditto.
1693 * gdb.python/py-template.exp: Ditto.
1694 * gdb.python/py-value.exp: Ditto.
1695
1696 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
1697 * gdb.reverse/watch-reverse.exp: Ditto.
1698
1699 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
1700 * gdb.server/ext-run.exp: Ditto.
1701
1702 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
1703 * gdb.dwarf2/dw2-compressed.exp: Ditto.
1704 * gdb.dwarf2/dw2-intercu.exp: Ditto.
1705 * gdb.dwarf2/dw2-intermix.exp: Ditto.
1706 * gdb.dwarf2/dw2-producer.exp: Ditto.
1707 * gdb.dwarf2/mac-fileno.exp: Ditto.
1708
1709 * gdb.gdb/observer.exp: Use gdb_test_no_output.
1710 * gdb.gdb/selftest.exp: Ditto.
1711
1712 * gdb.multi/base.exp: Use gdb_test_no_output.
1713
1714 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
1715
1716 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1717
1718 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
1719
1720 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
1721
1722 * gdb.cp/class2.exp: Use gdb_test_no_output.
1723 * gdb.cp/classes.exp: Ditto.
1724 * gdb.cp/extern-c.exp: Ditto.
1725 * gdb.cp/inherit.exp: Ditto.
1726 * gdb.cp/maint.exp: Ditto.
1727 * gdb.cp/mb-inline.exp: Ditto.
1728 * gdb.cp/mb-templates.exp: Ditto.
1729 * gdb.cp/method2.exp: Ditto.
1730 * gdb.cp/misc.exp: Ditto.
1731 * gdb.cp/ovldbreak.exp: Ditto.
1732 * gdb.cp/punctuator.exp: Ditto.
1733 * gdb.cp/templates.exp: Ditto.
1734 * gdb.cp/virtbase.exp: Ditto.
1735
1736 * gdb.threads/attach-stopped.exp:
1737 Replace uses of send_gdb / gdb_expect.
1738 * gdb.threads/attachstop-mt.exp:
1739 Replace uses of send_gdb / gdb_expect.
1740 * gdb.threads/gcore-thread.exp:
1741 Replace uses of send_gdb / gdb_expect.
1742 * gdb.threads/hand-call-in-threads.exp:
1743 Replace uses of send_gdb / gdb_expect.
1744 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
1745 * gdb.threads/print-threads.exp:
1746 Replace uses of send_gdb / gdb_expect.
1747 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
1748 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
1749 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
1750
1751 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
1752 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
1753 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
1754 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
1755 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
1756 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
1757 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
1758 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
1759 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
1760 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
1761 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
1762
1763 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1764
1765 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
1766
1767 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
1768
1769 * gdb.cp/koenig.exp: Added new test case.
1770 * gdb.cp/koenig.cc: Ditto.
1771
1772 2010-06-01 Michael Snyder <msnyder@vmware.com>
1773
1774 * gdb.base/arithmet.exp: Use gdb_test_no_output.
1775 * gdb.base/arrayidx.exp: Ditto.
1776 * gdb.base/attach.exp: Ditto.
1777 * gdb.base/auxv.exp: Ditto.
1778 * gdb.base/bigcre.exp: Ditto.
1779 * gdb.base/break-always.exp: Ditto.
1780 * gdb.base/break-interp.exp: Ditto.
1781 * gdb.base/break.exp: Ditto.
1782 * gdb.base/breakpoint-shadow.exp: Ditto.
1783 * gdb.base/call-ar-st.exp: Ditto.
1784 * gdb.base/call-sc.exp: Ditto.
1785 * gdb.base/call-signal-resume.exp: Ditto.
1786 * gdb.base/callfuncs.exp: Ditto.
1787 * gdb.base/catch-syscall.exp: Ditto.
1788 * gdb.base/charset.exp: Ditto.
1789 * gdb.base/code-expr.exp: Ditto.
1790 * gdb.base/commands.exp: Ditto.
1791 * gdb.base/cond-expr.exp: Ditto.
1792 * gdb.base/condbreak.exp: Ditto.
1793 * gdb.base/cursal.exp: Ditto.
1794 * gdb.base/cvexpr.exp: Ditto.
1795 * gdb.base/default.exp: Ditto.
1796 * gdb.base/del.exp: Ditto.
1797 * gdb.base/detach.exp: Ditto.
1798 * gdb.base/display.exp: Ditto.
1799 * gdb.base/ena-dis-br.exp: Ditto.
1800 * gdb.base/eval-skip.exp: Ditto.
1801 * gdb.base/foll-fork.exp: Ditto.
1802 * gdb.base/foll-vfork.exp: Ditto.
1803 * gdb.base/frame-args.exp: Ditto.
1804 * gdb.base/funcargs.exp: Ditto.
1805 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1806 * gdb.base/gdbvars.exp: Ditto.
1807 * gdb.base/help.exp: Ditto.
1808 * gdb.base/ifelse.exp: Ditto.
1809 * gdb.base/included.exp: Ditto.
1810 * gdb.base/list.exp: Ditto.
1811 * gdb.base/macscp.exp: Ditto.
1812 * gdb.base/maint.exp: Ditto.
1813 * gdb.base/multi-fork.exp: Ditto.
1814 * gdb.base/overlays.exp: Ditto.
1815 * gdb.base/page.exp: Ditto.
1816 * gdb.base/pending.exp: Ditto.
1817 * gdb.base/pointers.exp: Ditto.
1818 * gdb.base/pr11022.exp: Ditto.
1819 * gdb.base/prelink.exp: Ditto.
1820 * gdb.base/printcmds.exp: Ditto.
1821 * gdb.base/psymtab.exp: Ditto.
1822 * gdb.base/randomize.exp: Ditto.
1823 * gdb.base/relational.exp: Ditto.
1824 * gdb.base/relocate.exp: Ditto.
1825 * gdb.base/remote.exp: Ditto.
1826 * gdb.base/sepdebug.exp: Ditto.
1827 * gdb.base/set-lang-auto.exp: Ditto.
1828 * gdb.base/setshow.exp: Ditto.
1829 * gdb.base/setvar.exp: Ditto.
1830 * gdb.base/signals.exp: Ditto.
1831 * gdb.base/signull.exp: Ditto.
1832 * gdb.base/sigstep.exp: Ditto.
1833 * gdb.base/sizeof.exp: Ditto.
1834 * gdb.base/solib-disc.exp: Ditto.
1835 * gdb.base/store.exp: Ditto.
1836 * gdb.base/structs.exp: Ditto.
1837 * gdb.base/structs2.exp: Ditto.
1838 * gdb.base/subst.exp: Ditto.
1839 * gdb.base/term.exp: Ditto.
1840 * gdb.base/trace-commands.exp: Ditto.
1841 * gdb.base/unwindonsignal.exp: Ditto.
1842 * gdb.base/valgrind-db-attach.exp: Ditto.
1843 * gdb.base/varargs.exp: Ditto.
1844 * gdb.base/watch-cond.exp: Ditto.
1845 * gdb.base/watch_thread_num.exp: Ditto.
1846 * gdb.base/watchpoint-cond-gone.exp: Ditto.
1847 * gdb.base/watchpoint.exp: Ditto.
1848 * gdb.base/whatis-exp.exp: Ditto.
1849
1850 2010-06-01 Michael Snyder <msnyder@vmware.com>
1851
1852 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
1853 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
1854 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
1855 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
1856 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
1857 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
1858 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
1859 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
1860 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
1861 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
1862 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
1863 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
1864 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
1865 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
1866 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
1867
1868 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1869
1870 * gdb.base/commands.exp (begin commands on watch): Remove excessive
1871 trailing newline.
1872 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
1873 * gdb.java/jmisc.exp (p *args\n): Rename to ...
1874 (p *args): ... here and remove excessive trailing newline.
1875
1876 2010-05-31 Joel Brobecker <brobecker@adacore.com>
1877
1878 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
1879
1880 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1881
1882 Accept the new Linux kernel "t (tracing stop)" string.
1883 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
1884 Update comment.
1885 (state_wait) <T (tracing stop)>: New.
1886 (main): Update the state_wait expect string.
1887
1888 2010-05-28 Pedro Alves <pedro@codesourcery.com>
1889
1890 * limits.c, limits.exp: Delete files.
1891 * Makefile.in (clean mostlyclean): Adjust.
1892 * tracecmd.exp: Adjust.
1893
1894 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1895
1896 * gdb.base/tui-layout.exp: New.
1897
1898 2010-05-28 Michael Snyder <msnyder@vmware.com>
1899
1900 * gdb.reverse/break-precsave.exp:
1901 Replace uses of send_gdb / gdb_expect.
1902 * gdb.reverse/break-reverse.exp:
1903 Replace uses of send_gdb / gdb_expect.
1904 * gdb.reverse/consecutive-precsave.exp:
1905 Replace uses of send_gdb / gdb_expect.
1906 * gdb.reverse/consecutive-reverse.exp:
1907 Replace uses of send_gdb / gdb_expect.
1908 * gdb.reverse/finish-precsave.exp:
1909 Replace uses of send_gdb / gdb_expect.
1910 * gdb.reverse/finish-reverse.exp:
1911 Replace uses of send_gdb / gdb_expect.
1912 * gdb.reverse/i386-precsave.exp:
1913 Replace uses of send_gdb / gdb_expect.
1914 * gdb.reverse/i386-reverse.exp:
1915 Replace uses of send_gdb / gdb_expect.
1916 * gdb.reverse/i386-sse-reverse.exp:
1917 Replace uses of send_gdb / gdb_expect.
1918 * gdb.reverse/i387-env-reverse.exp:
1919 Replace uses of send_gdb / gdb_expect.
1920 * gdb.reverse/i387-stack-reverse.exp:
1921 Replace uses of send_gdb / gdb_expect.
1922 * gdb.reverse/machinestate-precsave.exp:
1923 Replace uses of send_gdb / gdb_expect.
1924 * gdb.reverse/machinestate.exp:
1925 Replace uses of send_gdb / gdb_expect.
1926 * gdb.reverse/sigall-precsave.exp:
1927 Replace uses of send_gdb / gdb_expect.
1928 * gdb.reverse/sigall-reverse.exp:
1929 Replace uses of send_gdb / gdb_expect.
1930 * gdb.reverse/solib-precsave.exp:
1931 Replace uses of send_gdb / gdb_expect.
1932 * gdb.reverse/solib-reverse.exp:
1933 Replace uses of send_gdb / gdb_expect.
1934 * gdb.reverse/step-precsave.exp:
1935 Replace uses of send_gdb / gdb_expect.
1936 * gdb.reverse/step-reverse.exp:
1937 Replace uses of send_gdb / gdb_expect.
1938 * gdb.reverse/until-precsave.exp:
1939 Replace uses of send_gdb / gdb_expect.
1940 * gdb.reverse/until-reverse.exp:
1941 Replace uses of send_gdb / gdb_expect.
1942 * gdb.reverse/watch-precsave.exp:
1943 Replace uses of send_gdb / gdb_expect.
1944 * gdb.reverse/watch-reverse.exp:
1945 Replace uses of send_gdb / gdb_expect.
1946
1947 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1948
1949 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
1950 excessive newline.
1951
1952 2010-05-27 Michael Snyder <msnyder@vmware.com>
1953
1954 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
1955 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
1956 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
1957 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
1958 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
1959 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
1960 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
1961 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
1962 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
1963 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
1964 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
1965 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
1966 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
1967 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
1968 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
1969 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
1970 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
1971 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
1972 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
1973
1974 2010-05-26 Michael Snyder <msnyder@vmware.com>
1975
1976 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
1977 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
1978
1979 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
1980 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
1981 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
1982
1983 * gdb.reverse/consecutive-reverse.exp:
1984 Replace uses of send_gdb / gdb_expect.
1985 * gdb.reverse/consecutive-precsave.exp:
1986 Replace uses of send_gdb / gdb_expect.
1987
1988 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
1989 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
1990 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
1991 * gdb.mi/mi-ns-stale-regcache.exp:
1992 Replace uses of send_gdb / gdb_expect.
1993 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
1994 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
1995 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
1996 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
1997 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
1998 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
1999 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
2000 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
2001 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
2002
2003 2010-05-26 Michael Snyder <msnyder@vmware.com>
2004
2005 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2006
2007 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
2008
2009 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
2010 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
2011 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
2012 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
2013 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
2014 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
2015 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
2016 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
2017 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
2018
2019 2010-05-25 Tom Tromey <tromey@redhat.com>
2020
2021 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2022
2023 2010-05-25 Tom Tromey <tromey@redhat.com>
2024
2025 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2026 argument order.
2027 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2028 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2029 order.
2030 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
2031 order.
2032 * gdb.base/call-sc.exp (setup_kfails): Remove.
2033 (setup_compiler_kfails): Remove.
2034 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
2035 argument order.
2036 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
2037 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
2038 (advancei): Fix setup_kfail argument order.
2039 * gdb.base/radix.exp: Fix setup_kfail argument order.
2040 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
2041 order.
2042 * gdb.base/structs.exp (setup_kfails): Remove.
2043 (setup_compiler_kfails): Fix setup_kfail argument order.
2044 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
2045 order.
2046 * gdb.java/jmain.exp: Fix setup_kfail argument order.
2047 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
2048 setup_kfail argument order.
2049 * gdb.cp/overload.exp: Fix setup_kfail argument order.
2050
2051 2010-05-25 Tom Tromey <tromey@redhat.com>
2052
2053 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2054
2055 2010-05-25 Michael Snyder <msnyder@vmware.com>
2056
2057 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
2058 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
2059 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
2060 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
2061 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
2062 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
2063 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
2064 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
2065 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
2066 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
2067 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
2068 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
2069 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
2070 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
2071 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
2072 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
2073 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
2074 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
2075 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
2076 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
2077 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
2078 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
2079 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
2080 * gdb.base/default.exp: Replace send_gdb with gdb_test.
2081 * gdb.base/define.exp: Replace send_gdb with gdb_test.
2082 * gdb.base/display.exp: Replace send_gdb with gdb_test.
2083 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
2084 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
2085 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
2086 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
2087 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
2088 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
2089 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
2090 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
2091 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
2092 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
2093 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
2094 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
2095 * gdb.base/help.exp: Replace send_gdb with gdb_test.
2096 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
2097 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
2098 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
2099 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
2100 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
2101 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
2102 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
2103 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
2104 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
2105
2106 2010-05-25 Doug Evans <dje@google.com>
2107
2108 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2109 gdb.string_to_argv.
2110
2111 2010-05-21 Tom Tromey <tromey@redhat.com>
2112
2113 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2114 Call it.
2115 * gdb.dwarf2/pieces.S: Update.
2116 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2117
2118 2010-05-21 Tom Tromey <tromey@redhat.com>
2119
2120 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2121 Call it.
2122 * gdb.dwarf2/pieces.c (struct C): New.
2123 (f6): New function.
2124 * gdb.dwarf2/pieces.S: Replace.
2125
2126 2010-05-21 Tom Tromey <tromey@redhat.com>
2127
2128 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2129 Call it.
2130
2131 2010-05-21 Tom Tromey <tromey@redhat.com>
2132
2133 * gdb.dwarf2.pieces.exp: New file.
2134 * gdb.dwarf2.pieces.S: New file.
2135 * gdb.dwarf2.pieces.c: New file.
2136
2137 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2138 Joel Brobecker <brobecker@adacore.com>
2139
2140 * lib/gdb.exp (gdb_test_no_output): New function.
2141 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
2142 when testing commands that should produce no output.
2143
2144 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2145
2146 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2147 parameter that we want to watch being a constant.
2148
2149 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2150
2151 * gdb.ada/cond_lang: New testcase.
2152
2153 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2154
2155 * lib/gdb.exp (banned_variables): New variable/constant.
2156 (gdb_init): Add write trace on variables listed in banned_variables.
2157 (gdb_finish): Remove write traces on variables listed in
2158 banned_variables.
2159
2160 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2161
2162 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2163 * gdb.cp/koenig.exp: Likewise.
2164
2165 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2166
2167 PR python/11482
2168
2169 * gdb.python/py-value.exp (test_value_hash): New function.
2170
2171 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2172
2173 PR exp/11530.
2174 * gdb.base/gdb11530.c: New file.
2175 * gdb.base/gdb11530.exp: New file.
2176
2177 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2178
2179 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2180 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2181
2182 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2183
2184 * gdb.cp/koenig.exp: New test.
2185 * gdb.cp/koenig.cc: New test program.
2186
2187 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2188
2189 Remove the use of prms_id and bug_id throughout the testsuite.
2190
2191 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2192
2193 PR exp/11349.
2194 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2195 use a reference local variable.
2196
2197 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2198
2199 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
2200 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
2201 variable different_dir. Move debugfile into a full directory pathname
2202 under DIFFERENT_DIR.
2203 * lib/gdb.exp (separate_debug_filename): Remove.
2204 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
2205 variable debug_dir and mkdir of it. Update function comments.
2206
2207 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2208
2209 PR gdb/11557
2210
2211 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2212 files.
2213
2214 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2215
2216 * gdb.python/py-param.exp: New File.
2217
2218 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2219
2220 * gdb.base/default.exp: Fix "set language" test.
2221
2222 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2223
2224 PR breakpoints/11531.
2225 * gdb.base/gdb11531.c: New file.
2226 * gdb.base/gdb11531.exp: New file.
2227
2228 2010-04-26 Tom Tromey <tromey@redhat.com>
2229
2230 * gdb.base/completion.exp: Add tests for completion and deprecated
2231 commands.
2232
2233 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2234
2235 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2236 (print /x char_array): Escape curly brackets.
2237
2238 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2239
2240 Fix deadlock on looped list of loaded shared objects.
2241 * gdb.base/solib-corrupted.exp: New.
2242
2243 2010-04-23 Doug Evans <dje@google.com>
2244
2245 * gdb.python/py-section-script.c: New file.
2246 * gdb.python/py-section-script.exp: New file.
2247 * gdb.python/py-section-script.py: New file.
2248
2249 2010-04-20 Chris Moller <cmoller@redhat.com>
2250
2251 PR 10179
2252
2253 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
2254 * gdb.base/pr10179-a.c:
2255 * gdb.base/pr10179-b.c:
2256 * gdb.base/pr10179.exp: New files.
2257
2258 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2259
2260 Fix crashes on dangling display expressions.
2261 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
2262 is SEP.
2263 (lib_flags): Remove the "debug" keyword.
2264 (libsepdebug): New variable for iterating new loop.
2265 (save_pf_prefix): New variable wrapping the loop.
2266 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
2267 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
2268
2269 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2270
2271 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2272
2273 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2274
2275 PR stabs/11479.
2276 * gdb.stabs/gdb11479.exp: New file.
2277 * gdb.stabs/gdb11479.c: New file.
2278
2279 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2280
2281 * gdb.base/charset.c (Strin16, String32): New variables.
2282 * gdb.base/charset.exp (gdb_test): Test correct display
2283 of 16 or 32 bit strings.
2284
2285 2010-04-21 Chris Moller <cmoller@redhat.com>
2286
2287 PR 9167
2288 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2289 * gdb.cp/pr9167.cc: New file.
2290 * gdb.cp/pr9167.exp: New file.
2291
2292
2293 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2294
2295 PR pascal/11492.
2296 * gdb.pascal/gdb11492.pas: New file.
2297 * gdb.pascal/gdb11492.exp: New file.
2298
2299 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2300
2301 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2302
2303 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2304
2305 * gdb.ada/dyn_loc: New testcase.
2306
2307 2010-04-20 Chris Moller <cmoller@redhat.com>
2308
2309 PR 10867
2310
2311 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2312 * gdb.cp/pr10687.cc: New file.
2313 * gdb.cp/pr10687.exp: New file.
2314
2315
2316 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2317 Sergio Durigan Junior <sergiodj@redhat.com>
2318
2319 * gdb.fortran/logical.exp: New testcase.
2320 * gdb.fortran/logical.f90: New file.
2321
2322 2010-04-19 Doug Evans <dje@google.com>
2323
2324 * gdb.base/help.exp (help source): Update expected output.
2325
2326 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2327
2328 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
2329 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
2330 gdb_exit and return.
2331 (executable): New variable.
2332 (binfile): Use it.
2333
2334 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2335
2336 PR breakpoints/8554.
2337
2338 * gdb.trace/save-trace.exp: Adjust.
2339
2340 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2341
2342 PR corefiles/11511
2343 * gdb.arch/system-gcore.exp: New.
2344 * gdb.arch/gcore.c: Likewise.
2345
2346 2010-04-15 Doug Evans <dje@google.com>
2347
2348 * gdb.python/py-progspace.c: New file.
2349 * gdb.python/py-progspace.exp: New file.
2350
2351 * gdb.base/source.exp: Add tests for "source -s".
2352
2353 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
2354
2355 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
2356 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
2357 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
2358 * gdb.python/py-mi.exp: New test for to_string returning None.
2359
2360 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2361
2362 * gdb.python/py-breakpoint.c: Make result global.
2363
2364 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2365
2366 Fix non-GNU make compatibility.
2367 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2368
2369 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2370
2371 * gdb.python/py-breakpoint.exp: New File.
2372 * gdb.python/py-breakpoint.C: Ditto.
2373
2374 2010-04-08 Stan Shebs <stan@codesourcery.com>
2375
2376 * gdb.trace/actions.exp: Clear default-collect.
2377 * gdb.trace/save-trace.exp: Clear default-collect.
2378
2379 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2380
2381 * gdb.python/py-value: Add null string variable.
2382 (test_lazy_string): Test zero length, NULL address lazy
2383 strings.
2384
2385 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2386
2387 * gdb.arch/i386-avx.c: New.
2388 * gdb.arch/i386-avx.exp: Likewise.
2389
2390 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2391
2392 2010-04-06 Doug Evans <dje@google.com>
2393
2394 * gdb.base/source-test.gdb: New file.
2395 * gdb.base/source.exp: Test source -v.
2396
2397 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2398
2399 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2400
2401 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
2402
2403 * gdb.stabs/aout.sed: Convert all backslash to double backslash
2404 within one line, unless it is followed by a double quote.
2405 * gdb.stabs/hppa.sed: Idem.
2406 * gdb.stabs/weird.def: Add char and String constants
2407 * gdb.stabs/weird.exp: Check for correct parsing of
2408 char and string constants.
2409 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
2410 in .stabs to .stabx substitution.
2411
2412 2010-04-05 Stan Shebs <stan@codesourcery.com>
2413
2414 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2415 constant global.
2416 * gdb.trace/tfile.exp: Try to print them.
2417
2418 2010-04-04 Stan Shebs <stan@codesourcery.com>
2419
2420 * gdb.base/completion.exp: Update for new "info watchpoints".
2421 * gdb.base/default.exp: Ditto.
2422 * gdb.base/help.exp: Ditto.
2423 * gdb.base/watchpoint.exp: Ditto.
2424 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
2425
2426 2010-04-04 Stan Shebs <stan@codesourcery.com>
2427
2428 * gdb.trace/tfile.exp: Sharpen tfind test.
2429
2430 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2431
2432 * gdb.base/break-entry.exp: New.
2433
2434 2010-04-02 Hui Zhu <teawater@gmail.com>
2435 Michael Snyder <msnyder@vmware.com>
2436
2437 * gdb.reverse/i386-sse-reverse.exp: New file.
2438 * gdb.reverse/i386-sse-reverse.c: New file.
2439
2440 2010-04-02 Pedro Alves <pedro@codesourcery.com>
2441
2442 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2443
2444 2010-04-01 Stan Shebs <stan@codesourcery.com>
2445
2446 * gdb.trace/actions.exp: Tweak expected output.
2447 * gdb.trace/while-stepping.exp: Tweak expected output.
2448
2449 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2450
2451 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2452
2453 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2454
2455 * gdb.base/commands.exp: Adjust.
2456 * gdb.cp/extern-c.exp: Adjust.
2457
2458 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2459
2460 * gdb.trace/collection.c (local_test_func): Define a local struct,
2461 and instanciate it.
2462
2463 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2464
2465 * gdb.trace/collection.exp (gdb_collect_args_test)
2466 (gdb_collect_argarray_test): XFAIL the tests that assume the
2467 argarray argument's elements are collected.
2468
2469 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2470
2471 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2472 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2473
2474 2010-03-31 Stan Shebs <stan@codesourcery.com>
2475
2476 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2477 and tracepoint conditionals.
2478 (gdb_verify_tracepoints): Delete unused return.
2479
2480 2010-03-26 Keith Seitz <keiths@redhat.com>
2481
2482 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
2483 appear in the output before main.
2484 Remove KFAIL for gdb/2215 aka bz 9320.
2485
2486 2010-03-30 Doug Evans <dje@google.com>
2487
2488 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2489 by dejagnu.
2490 * gdb.arch/amd64-dword.exp: Ditto.
2491
2492 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2493 match.
2494 (break printf): Ditto.
2495
2496 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2497
2498 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2499 gcc < 4.4.
2500 * gdb.cp/shadow.exp: Ditto.
2501
2502 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2503
2504 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2505 "tstart" is silent.
2506
2507 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2508
2509 * gdb.trace/collection.exp (executable): New.
2510 (binfile): Use it.
2511 (fpreg, spreg, pcreg): New.
2512 (test_register): Use gdb_test_multiple. Pass /x to print.
2513 (prepare_for_trace_test): New.
2514 (run_trace_experiment): Use "continue", not gdb_run_cmd.
2515 (gdb_collect_args_test, gdb_collect_argstruct_test)
2516 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
2517 prepare_for_trace_test.
2518 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
2519 fpreg, spreg and pcreg.
2520 (gdb_collect_expression_test, gdb_collect_globals_test): Use
2521 prepare_for_trace_test.
2522 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
2523 try to detect tracing support here. Don't set breakpoints at
2524 `begin' or `end' here.
2525 <global scope>: Use clean_restart. Run to main before checking
2526 for tracing support. Check for for tracing support here.
2527
2528 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2529
2530 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2531 " as $displacement" to "seen displacement message".
2532
2533 2010-03-28 Pedro Alves <pedro@codesourcery.com>
2534
2535 * gdb.trace/while-dyn.exp (executable): New variable.
2536 (binfile): Use it.
2537 (test_while_stepping): New function. Move most tests here. Call
2538 it once for each of the while-stepping, stepping and ws aliases.
2539
2540 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2541
2542 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
2543 that do not provide the tagless_struct type name at all.
2544 (test_print_anon_union): Do not check value of uninitialized
2545 union member. Do not use cp_test_ptype_class, so we can accept
2546 "long" as well as "long int".
2547
2548 2010-03-26 Pedro Alves <pedro@codesourcery.com>
2549
2550 * gdb.trace/tfile.c (tohex, bin2hex): New.
2551 (write_error_trace_file): Hexify error description.
2552
2553 2010-03-25 Stan Shebs <stan@codesourcery.com>
2554
2555 * gdb.trace/tfile.c: Generate an additional trace file, improve
2556 portability.
2557 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
2558 files in a better way.
2559
2560 2010-03-25 Keith Seitz <keiths@redhat.com>
2561
2562 * gdb.java/jprint.exp: XFAIL printing of static class members
2563 because of GCC debuginfo problem.
2564
2565 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2566
2567 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2568
2569 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2570
2571 * gdb.base/completion.exp: Allow long instead of long int.
2572 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
2573 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
2574 variable p.
2575 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
2576 * gdb.base/pointers.exp: Allow long instead of long int.
2577 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
2578 * gdb.base/step-line.exp: Allow a directory before the source file name.
2579
2580 2010-03-24 Tom Tromey <tromey@redhat.com>
2581
2582 PR breakpoints/9352:
2583 * gdb.base/default.exp: Update.
2584 * gdb.base/commands.exp: Update.
2585 * gdb.cp/extern-c.exp: Test setting commands on multiple
2586 breakpoints at once.
2587
2588 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2589
2590 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
2591 if gdb,nosignals.
2592 * gdb.base/watchpoints.c: Do not include unnecessary headers.
2593 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
2594 exited".
2595
2596 2010-03-24 Stan Shebs <stan@codesourcery.com>
2597
2598 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
2599
2600 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2601
2602 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
2603 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
2604 argument. Handle "short" and "long".
2605 (Top level): Pass overprototyped output for old_fptr and xptr.
2606
2607 2010-03-23 Pedro Alves <pedro@codesourcery.com>
2608
2609 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
2610 format strings and add casts to avoid compiler warnings.
2611
2612 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
2613
2614 * lib/trace-support.exp (gdb_trace_setactions):
2615 Don't expect whitespace after ">" prompt.
2616 * gdb.trace/actions.exp: Adjust for output changes.
2617 * gdb.trace/while-stepping.exp: Likewise.
2618
2619 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2620
2621 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
2622 and r157645).
2623
2624 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2625
2626 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
2627 New.
2628
2629 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
2630
2631 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
2632 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
2633
2634 2010-03-19 Stan Shebs <stan@codesourcery.com>
2635
2636 * gdb.trace/ax.exp: New file.
2637
2638 2010-03-19 Doug Evans <dje@google.com>
2639
2640 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
2641 output from gcc.
2642
2643 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
2644 named /usr/sbin/prelink<foo>.
2645
2646 2010-03-18 Stan Shebs <stan@codesourcery.com>
2647
2648 * gdb.trace/circ.exp: Test circular-trace-buffer.
2649 * gdb.trace/tfile.exp: Update tstatus test.
2650
2651 2010-03-18 Joel Brobecker <brobecker@adacore.com>
2652
2653 * gdb.dwarf2/dw2-anonymous-func.S: New file.
2654 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2655
2656 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2657
2658 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2659
2660 2010-03-18 Pedro Alves <pedro@codesourcery.com>
2661
2662 * gdb.base/default.exp: Adjust the expected output of the finish
2663 and until commands when the inferior is not being run.
2664
2665 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
2666
2667 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
2668 * gdb.cp/nsusing.exp: Ditto.
2669
2670 2010-03-15 Tom Tromey <tromey@redhat.com>
2671
2672 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
2673 * gdb.cp/userdef.cc (operator==): New function.
2674 (main): New locals mem1, mem2.
2675
2676 2010-03-15 Jie Zhang <jie@codesourcery.com>
2677
2678 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
2679 Declare and use new loadtimeout variable.
2680
2681 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
2682
2683 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
2684 Use gdb_load later.
2685
2686 2010-03-14 Pedro Alves <pedro@codesourcery.com>
2687
2688 * gdb.base/solib-disc.c (main): Make format of fprintf a string
2689 literal. Add missing endlines to prints to stderr.
2690
2691 2010-03-12 Tom Tromey <tromey@redhat.com>
2692
2693 PR c++/9708:
2694 * gdb.cp/m-static.exp: Add regression test.
2695 * gdb.cp/m-static.cc (method): New method.
2696 (main): Call it.
2697
2698 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
2699
2700 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
2701 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
2702
2703 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
2704
2705 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
2706
2707 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
2708
2709 * lib/gdb.exp (skip_stl_tests): New.
2710 (gdb_compile): Symbian needs -ldl.
2711 (shlib_target_file): New.
2712 (shlib_symbol_file): New.
2713 (gdb_load_shlibs): Use shlib_target_file.
2714 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
2715 * gdb.cp/exception.exp: Use skip_stl_tests.
2716 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
2717 * gdb.cp/try_catch.exp: Use skip_stl_tests.
2718 * gdb.cp/mb-templates.exp: Ditto.
2719 * gdb.base/commands.exp: Relax regexes.
2720 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
2721 shlib_target_file and shlib_symbol_file.
2722 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
2723 sections.
2724 * gdb.base/ending-run.exp: Accept E32Main for symbian.
2725 * gdb.base/solib-disc.exp: Use
2726 shlib_target_file and shlib_symbol_file.
2727 * gdb.base/unload.exp: Don't skip on symbian. Use
2728 shlib_target_file and shlib_symbol_file.
2729 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
2730
2731 2010-03-12 Pedro Alves <pedro@codesourcery.com>
2732
2733 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
2734 * gdb.trace/report.exp: Adjust for x86 and x86_64.
2735 Issue a tfind end before looking for a tracepoint frame.
2736 * gdb.trace/tfind.exp: Adjust tstatus output.
2737 Adjust disassembly output.
2738 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
2739
2740 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2741
2742 * gdb.base/break-interp.exp: Create new displacement parameter value
2743 for the test_ld calls.
2744 (reach): New parameter displacement, verify its content. New push of
2745 pf_prefix "reach-$func:". Import global expect_out.
2746 (test_core): New parameter displacement, verify its content. New push
2747 of pf_prefix "core:". New command "set verbose on". Import global
2748 expect_out.
2749 (test_attach): New parameter displacement, verify its content. New
2750 push of pf_prefix "attach:". New command "set verbose on". Import
2751 global expect_out.
2752 (test_ld): New parameter displacement, pass it to the reach, test_core
2753 and test_attach calls and verify its content in the "ld.so exit" test.
2754 * gdb.base/prelink.exp: Remove gdb_exit and final return.
2755 (prelink): Update expected text, use gdb_test.
2756
2757 2010-03-10 Doug Evans <dje@google.com>
2758
2759 * gdb.base/checkpoint.exp: Fix comment.
2760 Lengthen timeout while doing >600 checkpoints test.
2761 Rename duplicate "kill all one" test to keep test names unique.
2762
2763 2010-03-10 Pedro Alves <pedro@codesourcery.com>
2764
2765 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
2766
2767 2010-03-08 Keith Seitz <keiths@redhat.com>
2768
2769 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
2770 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
2771 (dm_type_long): New function.
2772 (dm_type_unsigned_short): New function.
2773 (dm_type_unsigned_long): New function.
2774 (myint): New typedef.
2775 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
2776 long, unsigned shor and long, operator char*, and typedef.
2777 (test_lookup_operator_functions): Add operator char* test.
2778 (test_paddr_operator_functions): Likewise.
2779 (test_paddr_overloaded_functions): Use probe values for
2780 short, long, and unsigned short and long.
2781 (test_paddr_hairy_functions): If the demangler probe detected
2782 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
2783 demangler.
2784 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
2785 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
2786 and "print null_pmf".
2787 Add test "ptype a.*pmf".
2788 * gdb.cp/overload.exp: Allow optional "int" to appear with
2789 "short" and "long".
2790 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
2791 long expect value for men_overload1arg.
2792 Allow "int" to appear with "short" and "long".
2793 When testing "info break", add argument for main (void).
2794 Also allow "int" to appear with "short" and "long".
2795 Ditto with "unsigned" and "long long".
2796 * gdb.java/jmain.exp: Do not enclose methods names in single
2797 quotes.
2798 * gdb.java/jmisc.exp: Likewise.
2799 * gdb.java/jprint.exp: Likewise.
2800 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
2801
2802 From Jan Kratochvil <jan.kratochvil@redhat.com>:
2803 * gdb.cp/exception.exp (backtrace after first throw)
2804 (backtrace after second throw): Allow a namespace before __cxa_throw.
2805 (backtrace after first catch, backtrace after second catch): Allow
2806 a namespace before __cxa_begin_catch.
2807
2808 * gdb.cp/cpexprs.exp: New file.
2809 * gdb.cp/cpexprs.cc: New file.
2810
2811 From Daniel Jacobowitz <dan@codesourcery.com>
2812 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
2813 to use string_to_regexp.
2814 (ctor, dtor): New functions. Use them to match constructor
2815 and destructor function types.
2816 (Top level): Use runto_main.
2817
2818 2010-03-05 Tom Tromey <tromey@redhat.com>
2819
2820 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
2821 gdb.target_charset.
2822 (pp_ns.to_string): Likewise.
2823
2824 2010-03-04 Keith Seitz <keiths@redhat.com>
2825
2826 * gdb.cp/overload.exp: Test that the filename portion of a linespec
2827 can be quoted. Test that both the filename and function/line
2828 portions can be quoted at the same time.
2829
2830 2010-03-04 Pedro Alves <pedro@codesourcery.com>
2831
2832 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
2833
2834 2010-03-03 Doug Evans <dje@google.com>
2835
2836 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
2837 libc contains libpthread.
2838
2839 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
2840 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
2841 of gdb_compile. Add another pattern to match android backtrace.
2842
2843 2010-03-03 Tom Tromey <tromey@redhat.com>
2844
2845 PR gdb/11345:
2846 * gdb.base/printcmds.exp (test_printf): Add test.
2847
2848 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
2849
2850 * gdb.arch/amd64-byte.exp: New.
2851 * gdb.arch/amd64-dword.exp: Likewise.
2852 * gdb.arch/amd64-pseudo.c: Likewise.
2853 * gdb.arch/amd64-word.exp: Likewise.
2854 * gdb.arch/i386-byte.exp: Likewise.
2855 * gdb.arch/i386-pseudo.c: Likewise.
2856 * gdb.arch/i386-word.exp: Likewise.
2857
2858 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
2859
2860 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
2861 types. Add structreg, bitfields, and flags registers.
2862 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
2863 registers.
2864
2865 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
2866
2867 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
2868 (load_description): Set architecture if defined.
2869
2870 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
2871
2872 * gdb.python/py-frame.exp: Add read_var block tests.
2873 * gdb.python/py-frame.c (block): New function.
2874
2875 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2876 Daniel Jacobowitz <dan@codesourcery.com>
2877
2878 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
2879
2880 2010-02-25 David S. Miller <davem@davemloft.net>
2881
2882 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
2883 fix logic for setting all_syscalls_numbers.
2884
2885 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2886
2887 * Makefile.in: Add py-block and py-symbol.
2888 * gdb.python/py-symbol.exp: New File.
2889 * gdb.python/py-symtab.exp: New File.
2890 * gdb.python/py-block.exp: New File.
2891 * gdb.python/py-symbol.c: New File.
2892 * gdb.python/py-block.c: New File.
2893
2894 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
2895
2896 PR python/11314
2897 * lib/gdb.exp (skip_python_tests): New function.
2898 * gdb.python/py-cmd.exp: Use skip_python_tests.
2899 * gdb.python/py-frame.exp: Likewise.
2900 * gdb.python/py-function.exp: Likewise.
2901 * gdb.python/py-prettyprint.exp: Likewise.
2902 * gdb.python/py-template.exp: Likewise.
2903 * gdb.python/py-type.exp: Likewise.
2904 * gdb.python/py-value.exp: Likewise.
2905
2906 2010-02-22 Pedro Alves <pedro@codesourcery.com>
2907
2908 PR9605
2909
2910 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
2911
2912 2010-02-19 Tom Tromey <tromey@redhat.com>
2913
2914 PR c++/8693, PR c++/9496:
2915 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
2916 regression tests.
2917
2918 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2919
2920 Fix compatibility with m68k as.
2921 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
2922 Use only /* comments */.
2923
2924 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2925
2926 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
2927 * configure: Regenerate.
2928
2929 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
2930
2931 * gdb.python/py-type.exp: Check for Python support.
2932
2933 2010-02-17 Pedro Alves <pedro@codesourcery.com>
2934
2935 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
2936 `regsub' syntax available.
2937
2938 2010-02-17 Pedro Alves <pedro@codesourcery.com>
2939
2940 * gdb.base/shmain.c (main): Remove printf call.
2941 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
2942 * gdb.base/unload.c (main): Make format of fprintf a string
2943 literal. Add missing endlines to prints to stderr.
2944 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
2945
2946 2010-02-17 Tom Tromey <tromey@redhat.com>
2947
2948 * gdb.java/jprint.java (jprint.props): New field.
2949 * gdb.java/jprint.exp (set_lang_java): Add regression test.
2950
2951 2010-02-17 Pedro Alves <pedro@codesourcery.com>
2952
2953 * gdb.base/charset.exp: Don't assume new `regsub' syntax
2954 available.
2955
2956 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2957
2958 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
2959 creation to support remote host testing.
2960
2961 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2962
2963 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
2964 Recognize "command not found".
2965
2966 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2967
2968 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
2969 single-stepping.
2970
2971 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2972
2973 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
2974 if arguments are not supported.
2975
2976 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2977
2978 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
2979 be const or non-const.
2980
2981 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2982
2983 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
2984 mi_send_resuming_command to send -exec-continue.
2985
2986 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2987
2988 * gdb.base/list.exp (test_list_filename_and_function): Add test
2989 with single quotes.
2990 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
2991 matching.
2992 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
2993 Add KFAIL'd tests for PR gdb/11289.
2994
2995 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2996
2997 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2998
2999 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3000
3001 * gdb.base/comp-dir/subdir/dummy.txt: New file.
3002 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
3003 a temporary directory.
3004
3005 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3006
3007 * gdb.base/charset.exp: Use a single regular expression to match
3008 show host-charset and show target-charset output.
3009
3010 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3011
3012 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
3013 "Illegal process-id" expect string more exact.
3014 (attach to digits-starting nonsense is prohibited): New.
3015
3016 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3017
3018 * gdb.base/prelink.exp (set verbose on): New.
3019
3020 2010-02-12 Tomas Holmberg <th@virtutech.com>
3021
3022 * mi-reverse.exp: New file. Test for reverse option to the
3023 following MI commands: exec-continue, exec-finish, exec-next,
3024 exec-step, exec-next-instruction, exec-step-instruction.
3025
3026 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3027
3028 * gdb.ada/ptype_tagged_param: New testcase.
3029
3030 2010-02-08 Tom Tromey <tromey@redhat.com>
3031
3032 PR c++/8017:
3033 * gdb.cp/overload.exp: Add tests.
3034 * gdb.cp/overload.cc (struct K): New.
3035 (namespace N): New.
3036 (main): Call new functions.
3037 (K::staticoverload): Define.
3038
3039 2010-02-08 Chris Moller <moller@mollerware.com>
3040
3041 PR gdb/10728
3042 * gdb.cp/pr10728-x.h: New file.
3043 * gdb.cp/pr10728-x.cc: New file.
3044 * gdb.cp/pr10728-y.cc: New file.
3045 * gdb.cp/pr10728.exp: New file.
3046 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
3047
3048 2010-02-08 Chris Moller <moller@mollerware.com>
3049
3050 PR gdb/9067
3051 * gdb.cp/pr9067.exp: New
3052 * gdb.cp/pr9067.cc: New
3053 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3054
3055 2010-02-08 Joel Brobecker <brobecker@adacore.com>
3056
3057 * lib/gdb.exp (gdb_test_timeout): New global variable.
3058 Set it to timeout if not already set.
3059 (gdb_init): Reset the value of timeout to gdb_test_timeout.
3060
3061 2010-02-05 Doug Evans <dje@google.com>
3062
3063 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3064 user.
3065
3066 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3067
3068 PR c++/7935:
3069 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3070
3071 2010-02-04 Tom Tromey <tromey@redhat.com>
3072
3073 * gdb.cp/virtbase.exp: Make test case names unique.
3074
3075 2010-02-02 Tom Tromey <tromey@redhat.com>
3076
3077 * gdb.cp/virtbase.exp: Add regression tests.
3078 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3079 (main): Instantiate RHC.
3080
3081 2010-02-02 Tom Tromey <tromey@redhat.com>
3082
3083 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3084 type-printing change.
3085
3086 2010-02-02 Tom Tromey <tromey@redhat.com>
3087
3088 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
3089 * gdb.cp/virtbase.cc: New file.
3090 * gdb.cp/virtbase.exp: New file.
3091 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
3092
3093 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3094
3095 PR libc/11214:
3096 * gdb.threads/current-lwp-dead.c: Include features.h.
3097 (HAS_NOMMU): New.
3098 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3099
3100 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3101
3102 * gdb.base/symbol-without-target_section.exp,
3103 gdb.base/symbol-without-target_section.c: New.
3104
3105 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3106
3107 * gdb.base/bigcore.exp: Reset increased timeout.
3108 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3109
3110 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3111
3112 * gdb.base/gcore.exp (capture_command_output): Use
3113 gdb_test_multiple.
3114
3115 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3116
3117 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
3118 * gdb.arch/thumb2-it.exp (test_it_break): New function.
3119 (Top level): Call it.
3120
3121 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3122
3123 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3124
3125 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
3126
3127 * gdb.base/call-strs.exp, gdb.base/default.exp,
3128 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
3129 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
3130 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
3131 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
3132 gdb.base/watchpoint-solib.exp: Save and restore timeout.
3133 * gdb.base/ending-run.exp: Correct restore of timeout.
3134 * gdb.base/page.exp: Remove unnecessary timeout setting.
3135
3136 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3137
3138 * gdb.ada/rec_return: New testcase.
3139
3140 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3141
3142 * gdb.ada/call_pn: New testcase.
3143
3144 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
3145
3146 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
3147 (Top level): Use it to resume.
3148 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
3149 the Thumb mode displaced stepping error as unsupported.
3150
3151 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
3152
3153 * gdb.cp/nsusing.exp: Added more tests.
3154 * gdb.cp/nsrecurs.exp: Ditto.
3155 * gdb.cp/nsusing.cc: Added test functions.
3156 * gdb.cp/nsrecurs.cc: Ditto.
3157
3158 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3159
3160 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3161 absolute directory pathnames in gdb.sum file.
3162
3163 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3164
3165 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3166 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3167
3168 2010-01-26 Tom Tromey <tromey@redhat.com>
3169
3170 PR exp/7643:
3171 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3172 setup_kfail.
3173
3174 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
3175
3176 * gdb.cp/nsrecurs.exp: New test.
3177 * gdb.cp/nsrecurs.cc: New test program.
3178 * gdb.cp/nsstress.exp: New test.
3179 * gdb.cp/nsstress.cc: New test program.
3180 * gdb.cp/nsdecl.exp: New test.
3181 * gdb.cp/nsdecl.cc: New test program.
3182
3183 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
3184
3185 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
3186 imported into file scope.
3187 Marked test as xfail.
3188 * gdb.cp/namespace-using.cc (marker5): New function.
3189 * gdb.cp/shadow.exp: New test.
3190 * gdb.cp/shadow.cc: New test program.
3191 * gdb.cp/nsimport.exp: New test.
3192 * gdb.cp/nsimport.cc: New test program.
3193
3194 2010-01-25 Tom Tromey <tromey@redhat.com>
3195
3196 PR gdb/11049:
3197 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3198 with "set print null-stop on".
3199
3200 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3201
3202 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3203 Adjust it for DISASSEMBLY_OMIT_FNAME.
3204
3205 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3206
3207 PR symtab/11199:
3208 * gdb.dwarf2/member-ptr-forwardref.exp,
3209 gdb.dwarf2/member-ptr-forwardref.S: New.
3210
3211 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3212
3213 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
3214 (thread1_func): Protect thread1_tid with thread1_tid_cond by
3215 thread1_tid_mutex. Remove gdbstop_mutex handling.
3216 (thread2_func): Protect thread2_tid with thread2_tid_cond by
3217 thread2_tid_mutex. Remove gdbstop_mutex handling.
3218 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
3219 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
3220 pthread_cond_wait conditionalizations by while loops.
3221
3222 2010-01-20 Tom Tromey <tromey@redhat.com>
3223
3224 PR backtrace/10770:
3225 * gdb.dwarf2/pr10770.exp: New file.
3226 * gdb.dwarf2/pr10770.c: New file.
3227 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3228
3229 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3230
3231 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3232 that target was removed, and the test always runs native anyway.
3233
3234 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3235
3236 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3237 gdb.base/watchpoint-cond-gone-stripped.c: New.
3238
3239 2010-01-19 Tom Tromey <tromey@redhat.com>
3240
3241 PR c++/8000:
3242 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3243 existing tests.
3244 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3245 (main): Use AAA::SomeEnum.
3246
3247 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3248
3249 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
3250 (test_ignore_count): Declare line_callme_body global.
3251 (run to breakpoint with ignore count): Use line_callme_body.
3252 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
3253 (set line_main_hello, set line_main_return): Reindent.
3254 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
3255 New.
3256 (continue to callee4): Use line_callee4_body.
3257 (check *stopped from CLI command): Use line_callee4_next.
3258 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
3259 (set line_main_hello, set line_main_return): Reindent.
3260 (set line_callee4_head, set line_callee4_body): New.
3261 (continue to callee4): Use line_callee4_body.
3262
3263 2010-01-18 Tom Tromey <tromey@redhat.com>
3264
3265 PR c++/9680:
3266 * gdb.cp/casts.cc: Add new classes and variables.
3267 * gdb.cp/casts.exp: Test new operators.
3268
3269 2010-01-18 Tom Tromey <tromey@redhat.com>
3270 Thiago Jung Bauermann <bauerman@br.ibm.com>
3271
3272 * gdb.python/source2.py: New file.
3273 * gdb.python/source1: New file.
3274 * gdb.python/python.exp: Test "source" command.
3275
3276 2010-01-15 Stan Shebs <stan@codesourcery.com>
3277
3278 * gdb.trace/tfile.c: New file.
3279 * gdb.trace/tfile.exp: New file.
3280
3281 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3282
3283 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3284
3285 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3286
3287 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3288
3289 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3290
3291 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
3292 (libfunc): New parameter action. Implement also selectable "sleep".
3293 * gdb.base/break-interp-main.c: Include assert.h.
3294 (libfunc): New parameter action.
3295 (main): New parameters argc and argv. Assert argc. Pass argv.
3296 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
3297 (test_attach): New proc.
3298 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
3299 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
3300
3301 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3302
3303 * gdb.base/break-interp.exp (test_core): New proc.
3304 (test_ld): Call it.
3305
3306 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3307
3308 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
3309 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
3310 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
3311 and gdb_compile_shlib. Use new -Wl compiler options.
3312 (dl bt, main bt): New tests.
3313
3314 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3315
3316 Support PIEs with no symfile_objfile.
3317 * gdb.base/break-interp.exp: New argument at the test_ld calls.
3318 (test_ld): New parameter trynosym.
3319 (test_ld <$trynosym>): New block.
3320
3321 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3322
3323 * gdb.base/break-interp.exp: New file.
3324
3325 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
3326
3327 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
3328 * gdb.python/py-prettyprint.py (pp_ls): New printer.
3329 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
3330 test.
3331 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3332 * gdb.python/py-mi.exp: Add lazy string test.
3333
3334 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3335
3336 * lib/mi-support.exp (mi_check_thread_states): Handle
3337 core number in thread listing.
3338
3339 2010-01-12 Joel Brobecker <brobecker@adacore.com>
3340
3341 * gdb.base/maint.exp: Adjust the expected output for the
3342 "maint print type" test. Use gdb_test_multiple instead of
3343 gdb_sent/gdb_expect.
3344
3345 2010-01-11 Doug Evans <dje@google.com>
3346
3347 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3348 from gdbserver_download. All callers updated.
3349
3350 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3351
3352 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3353
3354 Implement binary numbers parsing.
3355 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3356 (test_integer_literals_rejected): New binary tests.
3357
3358 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3359
3360 * gdb.cell/configure: Regenerate.
3361
3362 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3363
3364 * gdb.base/corefile.exp: Move the core finding block out and call it as
3365 core_find, new variable $corefile, replace corefile by $corefile and
3366 [file tail $corefile] for usage vs. test names resp.
3367 * lib/gdb.exp (core_find): Move it as a new function here. New
3368 parameter binfile and deletefiles. New variable $destcore. Pre-delete
3369 $destcore. Return "" on error.
3370
3371 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3372
3373 Workaround PR binutils/10802.
3374 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3375 (twice).
3376
3377 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3378
3379 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3380
3381 2010-01-08 Joel Brobecker <brobecker@adacore.com>
3382
3383 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3384 call, to avoid interruption.
3385
3386 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3387
3388 * gdb.stabs/weird.def (args93): New.
3389
3390 2010-01-07 Doug Evans <dje@google.com>
3391
3392 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3393
3394 2010-01-07 Tom Tromey <tromey@redhat.com>
3395
3396 * gdb.base/source.exp: Use correct line number.
3397
3398 2010-01-05 Stan Shebs <stan@codesourcery.com>
3399
3400 * gdb.trace/tracecmd.exp: Test ftrace.
3401
3402 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3403
3404 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3405
3406 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3407
3408 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3409 "uint_for_mi_testing".
3410
3411 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3412
3413 Test indented comment in file being sourced.
3414 * gdb.base/commands.exp: Test indented comment in file being sourced.
3415
3416 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3417
3418 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
3419 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
3420 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
3421 notice.
3422
3423 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3424
3425 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3426 notice.
3427
3428 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3429
3430 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3431 missing $after_stopped and comma (,) expectation.
3432
3433 2009-12-31 Stan Shebs <stan@codesourcery.com>
3434
3435 * gdb.trace/actions.exp: Test teval action.
3436
3437 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
3438
3439 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
3440 (top level): Call test_watchpoint_in_big_blob.
3441 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
3442 watchpoints.
3443 (func3): Write to buf.
3444
3445 2009-12-29 Stan Shebs <stan@codesourcery.com>
3446
3447 * gdb.trace/actions.exp: Test default-collect.
3448
3449 2009-12-28 Stan Shebs <stan@codesourcery.com>
3450
3451 * gdb.trace/tsv.exp: New file.
3452 * gdb.base/completion.exp: Update ambiguous info output.
3453
3454 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
3455
3456 * gdb.base/find.c (main): Reference search buffers.
3457 * gdb.base/included.c (main): Reference integer.
3458 * gdb.base/ptype.c (charfoo): Declare.
3459 (intfoo): Call charfoo.
3460 * gdb.base/scope0.c (useitp): New function.
3461 (usestatics): Use useitp.
3462 (useit): Add a type for val.
3463 * gdb.base/scope1.c (useit1): Take a pointer argument.
3464 (usestatics1): Update calls to useit1.
3465 * gdb.cp/call-c.cc: Declare foo.
3466 (main): Call foo.
3467 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
3468 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
3469 (main): Call C::ensureRefs and ensureOtherRefs.
3470 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
3471 variables.
3472 (ensureOtherRefs): New function.
3473 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3474 * gdb.cp/templates.cc (main): Call t5i.value.
3475
3476 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3477
3478 Fix compatibility with G++-4.5.
3479 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
3480 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
3481 (uncaught return): Remove.
3482
3483 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3484 Phil Muldoon <pmuldoon@redhat.com>
3485
3486 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
3487 (bp_location13, bp_location14, bp_location17, bp_location18)
3488 (marker3_proto, marker4_proto): New variables.
3489 (breakpoint info): Update output.
3490 (run until breakpoint at marker3, run until breakpoint at marker4): New
3491 tests.
3492
3493 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3494
3495 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
3496 Replace the printf call of Y by provided "y-set-1" label. New block
3497 for the second shared library.
3498 * gdb.base/unload.exp: Compile also the second library, call
3499 gdb_load_shlibs also for it. Use now gdb_breakpoint.
3500 (single pending breakpoint info): Rename to ...
3501 (pending breakpoint info before run): ... this extended test.
3502 (libfile2, libname2, libsrcfile2, libsrc2)
3503 (lib_sl2): New variables.
3504 (exec_opts): Set also SHLIB_NAME2.
3505 (pending breakpoint info on first run at shrfunc1)
3506 (pending breakpoint info on second run at shrfunc1)
3507 (pending breakpoint info on second run at shrfunc2)
3508 (print y from libfile, print y from libfile2): New tests.
3509 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
3510 * gdb.base/unloadshr2.c: New.
3511
3512 2009-12-22 Hui Zhu <teawater@gmail.com>
3513
3514 * gdb.reverse/sigall-reverse.exp: Adjust.
3515
3516 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
3517
3518 PR gdb/10884
3519
3520 * gdb.mi/var-cmd.c (do_bitfield_tests): New
3521 (main): Call do_bitfield_tests.
3522 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
3523
3524 2009-12-20 Joel Brobecker <brobecker@adacore.com>
3525
3526 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
3527 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
3528 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
3529 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
3530 gdb.modula2/unbounded1.c: Update copyright header.
3531
3532 2009-12-10 Chris Moller <moller@mollerware.com>
3533
3534 PR gdb/9399
3535 * gdb.cp/virtfunc2.exp: New tests
3536 * gdb.cp/virtfunc2.cc: New tests
3537 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3538
3539 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
3540
3541 * gdb.reverse/i387-env-reverse.c: New file.
3542 * gdb.reverse/i387-env-reverse.exp: New file.
3543 * gdb.reverse/i387-stack-reverse.c: New file.
3544 * gdb.reverse/i387-stack-reverse.exp: New file.
3545
3546 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3547
3548 * gdb.python/py-type.exp (test_range): New test.
3549
3550 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3551
3552 PR python/10805
3553
3554 * gdb.python/py-type.exp: New file.
3555 * gdb.python/py-type.c: New file.
3556 * Makefile.in: Add py-type.
3557
3558 2009-12-03 Tom Tromey <tromey@redhat.com>
3559
3560 * gdb.python/py-value.exp (test_parse_and_eval): New
3561 function.
3562
3563 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3564
3565 PR gdb/11022
3566
3567 * gdb.base/pr11022.exp: New test.
3568 * gdb.base/pr11022.c: New test.
3569
3570 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3571
3572 Fix spurious false FAILs.
3573 * gdb.base/structs.c (chartest): New.
3574 (main): Fill-in chartest.
3575 * gdb.base/structs.exp (anychar_re, first): New.
3576 (start_structs_test): Import global anychar_re and first.
3577 New gdb_test call "set print elements 300; ${testfile}"
3578 (start_structs_test <$first>): New block.
3579 (any): Import global anychar_re. New variable ac. Use ${ac}.
3580
3581 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3582
3583 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
3584
3585 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3586
3587 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
3588 Force $srcfile file.
3589 * gdb.base/foll-fork.c (callee): Comment out the printf call.
3590
3591 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3592
3593 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
3594 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3595 * gdb.threads/watchthreads-reorder.exp: Likewise.
3596
3597 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
3598
3599 PR gdb/8704
3600
3601 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
3602 "if", and "thread". Correct matching in the previous test.
3603
3604 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
3605
3606 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
3607
3608 2009-11-23 Michael Snyder <msnyder@vmware.com>
3609
3610 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
3611 * gdb.reverse-watch-precsave.exp: Ditto.
3612
3613 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
3614
3615 * gdb.asm/asm-source.exp: Adjust.
3616 * gdb.base/help.exp: Adjust.
3617
3618 2009-11-22 Pedro Alves <pedro@codesourcery.com>
3619
3620 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
3621 (do_syscall_tests_without_xml): Set data-directory to
3622 /the/path/to/nowhere.
3623
3624 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3625
3626 * gdb.threads/local-watch-wrong-thread.c,
3627 gdb.threads/local-watch-wrong-thread.exp: New files.
3628
3629 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3630
3631 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
3632 assume new `regsub' syntax available.
3633
3634 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3635
3636 * gdb.base/watchpoint-hw-hit-once.exp,
3637 gdb.base/watchpoint-hw-hit-once.c: New.
3638
3639 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3640
3641 * gdb.threads/watchthreads-reorder.exp,
3642 gdb.threads/watchthreads-reorder.c: New.
3643
3644 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
3645
3646 * gdb.xml/tdesc-regs.exp: Use for m68k.
3647
3648 2009-11-15 Pedro Alves <pedro@codesourcery.com>
3649
3650 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
3651
3652 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3653
3654 * lib/gdb.exp (current_target_name): New procedure.
3655 (gdb_wrapper_target): New variable.
3656 (gdb_wrapper_init): Set gdb_wrapper_target.
3657 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
3658 wrapper.
3659
3660 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3661
3662 * gdb.base/remote.exp: Delete the slowest load test.
3663 Do not load with fixed packet sizes.
3664
3665 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3666
3667 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
3668
3669 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3670
3671 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
3672 srcfile when setting a breakpoint.
3673
3674 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
3675
3676 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
3677 macros.
3678
3679 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3680
3681 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
3682 to be in memory.
3683 * gdb.base/display.c (force_mem): New.
3684 (do_loops): Use it. Add breakpoint comments.
3685 (do_vars): Add a breakpoint comment.
3686 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
3687 line numbers.
3688
3689 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
3690
3691 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
3692 instead of a bare "run".
3693
3694 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3695
3696 * gdb.python/py-prettyprint.exp: Adjust.
3697
3698 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3699
3700 * lib/cell.exp (skip_cell_tests): Clean up test files before
3701 returning.
3702
3703 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3704
3705 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
3706 and the breakpoint menu. Do not call perror if a prompt is seen.
3707 Consume the following GDB prompt.
3708 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
3709 * gdb.cp/namespace.exp: Use gdb_test.
3710 * gdb.cp/templates.exp: Use gdb_test.
3711 (test_template_breakpoints): Use gdb_test_multiple.
3712
3713 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3714
3715 * gdb.base/break1.c (struct some_struct, values): Move earlier.
3716 (marker4): Reference values.
3717
3718 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3719
3720 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
3721 is missing.
3722
3723 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3724
3725 * gdb.base/break.c (need_malloc): New.
3726 * gdb.base/constvars.c (main): Reference crass and crisp.
3727 * gdb.base/gdb1821.c (main): Reference bar.
3728 * gdb.cp/gdb1355.cc (main): Reference s1.
3729 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
3730 (main): Call them.
3731 * gdb.cp/hang2.cc (dummy2): Define.
3732 * gdb.cp/hang3.cc (dummy3): Define.
3733 * gdb.cp/m-data.cc (main): Reference shadow.
3734
3735 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3736 Nathan Froyd <froydnj@codesourcery.com>
3737
3738 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
3739 remote host.
3740
3741 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
3742
3743 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
3744 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
3745 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3746 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3747 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3748 * gdb.dwarf2/dw2-producer.exp: Likewise.
3749 * gdb.dwarf2/mac-fileno.exp: Likewise.
3750 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
3751 py-prettyprint.py to the remote host.
3752 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
3753
3754 2009-11-11 Keith Seitz <keiths@redhat.com>
3755
3756 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
3757 use it instead of "Foo".
3758 * gdb.cp/classes.exp (do_tests): Add a test to access
3759 a method through a typedef'd class name.
3760
3761 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
3762
3763 * gdb.base/long_long.exp: Permit leading zeros on floating-point
3764 exponents.
3765 * gdb.base/pointers.exp: Likewise.
3766 * gdb.cp/ref-types.exp: Likewise.
3767
3768 2009-11-11 Keith Seitz <keiths@redhat.com>
3769
3770 * gdb.cp/cplusfuncs.cc (class foo): Add operators
3771 new[] and delete[].
3772 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
3773 "void".
3774 (probe_demangler): Remove all single-quoting of
3775 method and variable names.
3776 (info_func_regexp): Remove the word "void" from any
3777 occurrence of "(void)".
3778 (print_addr_2): Remove all single-quoting of
3779 method names.
3780 (print_addr_2_kfail): Likewise.
3781 (print_addr): Single-quote C function names before
3782 passing to print_addr_2.
3783 (test_paddr_operator_functions): Remove single-quoting
3784 for method names.
3785 Add tests for operator new[] and operator delete[].
3786
3787 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3788
3789 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
3790
3791 2009-11-09 Keith Seitz <keiths@redhat.com>
3792
3793 * gdb.cp/overload.exp: Add tests for resolving overloaded
3794 methods in expression parsing/evaluation.
3795
3796 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
3797
3798 * lib/gdb.exp (default_gdb_version): Use --version instead of
3799 --command.
3800
3801 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
3802
3803 * lib/gdb.exp (gdb_compile_test): New.
3804 (skip_ada_tests, skip_java_tests): New.
3805 (gdb_compile): Use gdb_compile_test for f77.
3806 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
3807 * lib/java.exp (compile_java_from_source): Remove runtests check,
3808 use gdb_compile_test to record result.
3809 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
3810 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
3811 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
3812 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
3813 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
3814 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
3815 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
3816 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
3817 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
3818 adjust gdb_compile invocations.
3819
3820 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3821
3822 * Makefile.in (abs_builddir): New.
3823 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
3824 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
3825 `$(abs_builddir)/site.exp'.
3826
3827 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
3828
3829 * config/m68k-emc.exp, lib/emc-support.exp,
3830 gdb.trace/gdb_c_test.c: Delete.
3831 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
3832 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
3833 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3834 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
3835 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3836 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
3837 casing for m68k-*-elf.
3838
3839 2009-11-03 Pedro Alves <pedro@codesourcery.com>
3840
3841 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
3842 * gdb.arch/i386-prologue.exp: Likewise.
3843 * gdb.arch/i386-unwind.exp: Likewise.
3844
3845 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3846
3847 * lib/gdb.exp (gdb_expect): Fix timeout typo.
3848
3849 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3850
3851 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
3852
3853 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3854
3855 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
3856
3857 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3858
3859 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
3860
3861 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3862
3863 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
3864 * gdb.base/sepdebug2.c: New file.
3865
3866 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
3867
3868 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
3869 the modified warnings for catch syscall. Verify if GDB was compiled
3870 with support for lib expat, and choose which tests to run depending
3871 on this.
3872
3873 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
3874
3875 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
3876 that composite commands are parsed OK. And also test
3877 that breakpoint commands do work.
3878
3879 2009-10-23 Michael Snyder <msnyder@vmware.com>
3880
3881 gdb.reverse/consecutive-precsave.exp: Change expect pattern
3882 to allow for new disassembly style.
3883
3884 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3885
3886 * gdb.asm/asm-source.exp: Adjust.
3887
3888 2009-10-22 Michael Snyder <msnyder@vmware.com>
3889
3890 * gdb.reverse/break-precsave.exp: New test.
3891 * gdb.reverse/consecutive-precsave.exp: Ditto.
3892 * gdb.reverse/finish-precsave.exp: Ditto.
3893 * gdb.reverse/i386-precsave.exp: Ditto.
3894 * gdb.reverse/machinestate-precsave.exp: Ditto.
3895 * gdb.reverse/sigall-precsave.exp: Ditto.
3896 * gdb.reverse/solilb-precsave.exp: Ditto.
3897 * gdb.reverse/step-precsave.exp: Ditto.
3898 * gdb.reverse/until-precsave.exp: Ditto.
3899 * gdb.reverse/watch-precsave.exp: Ditto.
3900
3901 2009-10-22 Michael Snyder <msnyder@vmware.com>
3902
3903 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
3904 for gdb_expect. Adjust one test's expect strings for the new
3905 format of disassemble.
3906 * gdb.reverse/finish-reverse.exp: Delete 'return'.
3907 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
3908 gdb_test_multiple.
3909 * gdb.reverse/step-reverse.exp: Delete 'return'.
3910 * gdb.reverse/until-reverse.exp: Delete blank lines.
3911 * gdb.reverse/watch-reverse.exp: Delete blank lines.
3912
3913 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
3914
3915 * gdb.base/consecutive.exp: Adjust.
3916 * gdb.base/display.exp: Likewise.
3917 * gdb.base/pc-fp.exp: Likewise.
3918 * gdb.base/sigbpt.exp: Likewise.
3919
3920 2009-10-19 Michael Snyder <msnyder@vmware.com>
3921
3922 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
3923 * gdb.reverse/finish-reverse.c: Ditto.
3924 * gdb.reverse/sigall-reverse.c: Ditto.
3925 * gdb.reverse/solib-reverse.c: Ditto.
3926 * gdb.reverse/step-reverse.c: Ditto.
3927 * gdb.reverse/watch-reverse.c: Ditto.
3928
3929 2009-10-19 Pedro Alves <pedro@codesourcery.com>
3930 Stan Shebs <stan@codesourcery.com>
3931
3932 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
3933 * gdb.base/foll-exec.exp: Adjust to expect a process id before
3934 "Executing new program".
3935 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
3936 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
3937 left listed after having been killed.
3938 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
3939 * gdb.base/maint.exp: Adjust test.
3940
3941 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
3942 * gdb.multi/Makefile.in: New.
3943 * gdb.multi/base.exp: New.
3944 * gdb.multi/goodbye.c: New.
3945 * gdb.multi/hangout.c: New.
3946 * gdb.multi/hello.c: New.
3947 * gdb.multi/bkpt-multi-exec.c: New.
3948 * gdb.multi/bkpt-multi-exec.exp: New.
3949 * gdb.multi/crashme.c: New.
3950
3951 2009-10-13 Tristan Gingold <gingold@adacore.com>
3952
3953 * gdb.base/sepdebug.exp: Check debug info are found.
3954
3955 2009-10-08 Pedro Alves <pedro@codesourcery.com>
3956
3957 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
3958 bits.
3959
3960 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3961
3962 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
3963
3964 2009-10-07 Joel Brobecker <brobecker@adacore.com>
3965
3966 * gdb.base/watchpoints.c: Add copyright header. Reformat one
3967 of the comments.
3968
3969 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
3970
3971 * gdb.base/annota1.exp: Remove obsolete match_max increase.
3972 * gdb.base/annota3.exp: Idem.
3973 * gdb.base/maint.exp: Idem.
3974
3975 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3976
3977 * lib/gdb.exp (default_gdb_init): Set current value of match_max
3978 to default.
3979
3980 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3981
3982 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
3983 mingw and cygwin targets.
3984
3985 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3986 Pedro Alves <pedro@codesourcery.com>
3987
3988 * lib/gdb.exp (gdb_compile): Avoid adding
3989 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
3990
3991 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3992
3993 * gdb.base/shr1.c: Use %p in format string.
3994 * gdb.base/unload.c: Avoid warning in fprintf.
3995 * gdb.base/watchpoint-solib.c: Idem.
3996
3997 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3998
3999 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
4000 long type.
4001 (test_unlink): Correct printf string.
4002 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
4003 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
4004
4005 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4006
4007 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
4008 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
4009 * gdb.arch/ia64-breakpoint-shadow.S: New file.
4010
4011 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4012
4013 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4014 * gdb.objc/nondebug.exp: Likewise.
4015
4016 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4017
4018 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4019 target_info setting.
4020
4021 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4022 that detect new threads during "info threads".
4023
4024 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4025
4026 * gdb.threads/manythreads.c (main): Increase thread stack size
4027 to 2*PTHREAD_STACK_MIN.
4028 * gdb.threads/multi-create.c (main): Likewise.
4029 (create_function): Likewise.
4030
4031 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4032
4033 * gdb.base/dump.exp: Pass difference of pointer types instead
4034 of integer types as offset to restore in intarr3.srec case.
4035
4036 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4037
4038 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4039
4040 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4041
4042 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4043
4044 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4045
4046 New test for two watchpoints, with disabling of
4047 the first inserted.
4048 * testsuite/gdb.base/watchpoints.c: New file.
4049 * testsuite/gdb.base/watchpoints.exp: New file.
4050
4051 2009-09-25 Tom Tromey <tromey@redhat.com>
4052
4053 * gdb.base/charset.exp: Test utf-16 strings with Python.
4054
4055 2009-09-25 Tom Tromey <tromey@redhat.com>
4056
4057 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4058 UCS-4.
4059 * gdb.base/charset.c (utf_32_string): Rename.
4060 (init_utf32): Rename.
4061 (main): Update.
4062
4063 2009-09-22 Tom Tromey <tromey@redhat.com>
4064
4065 * gdb.python/py-function.exp: Add regression tests.
4066
4067 2009-09-21 Keith Seitz <keiths@redhat.com>
4068
4069 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4070 with invalid operator.
4071
4072 2009-09-21 Keith Seitz <keiths@redhat.com>
4073
4074 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
4075 and destructor using typedef name of class.
4076 * gdb.cp/classes.cc (class Base1): Add a destructor.
4077 (base1): New typedef.
4078 (use_methods): Instanitate an object of type base1.
4079 * gdb.cp/templates.exp (test_template_typedef): New procedure.
4080 (do_tests): Call test_template_typedef.
4081 * gdb.cp/templates.cc (Baz::~Baz): New method.
4082 (intBazOne): New typedef.
4083 (main): Instantiate intBazOne.
4084
4085 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4086
4087 PR python/10633
4088
4089 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4090 Function.
4091 (run_lang_tests): Add print elements test.
4092
4093 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4094
4095 * gdb.python/py-value.exp (test_subscript_regression): New
4096 function. Test for invalid subscripts.
4097 * gdb.python/py-value.c (main): Add test array, and pointer to it.
4098 (ptr_ref): New function.
4099
4100 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4101
4102 * gdb.base/default.exp: Fix "show convenience".
4103
4104 2009-09-15 Tom Tromey <tromey@redhat.com>
4105
4106 * lib/mi-support.exp (mi_create_varobj): Update.
4107 (mi_create_floating_varobj): Likewise.
4108 (mi_create_dynamic_varobj): New proc.
4109 (mi_varobj_update): Update.
4110 (mi_varobj_update_with_type_change): Likewise.
4111 (mi_varobj_update_kv_helper): New proc.
4112 (mi_varobj_update_dynamic_helper): Rewrite.
4113 (mi_varobj_update_dynamic): New proc.
4114 (mi_list_varobj_children): Update.
4115 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
4116 * gdb.python/python-prettyprint.py (pp_outer): New class.
4117 (pp_nullstr): Likewise.
4118 (lookup_function): Register new printers.
4119 * gdb.python/python-prettyprint.c (struct substruct): New type.
4120 (struct outerstruct): Likewise.
4121 (substruct_test): New function.
4122 (struct nullstr): New type.
4123 (string_1, string_2): New globals.
4124 (main): Add new tests.
4125 * gdb.python/python-mi.exp: Added regression tests.
4126 * gdb.mi/mi2-var-display.exp: Update.
4127 * gdb.mi/mi2-var-cmd.exp: Update.
4128 * gdb.mi/mi2-var-child.exp: Update.
4129 * gdb.mi/mi2-var-block.exp: Update.
4130 * gdb.mi/mi-var-invalidate.exp: Update.
4131 * gdb.mi/mi-var-display.exp: Update.
4132 * gdb.mi/mi-var-cmd.exp: Update.
4133 * gdb.mi/mi-var-child.exp: Update.
4134 * gdb.mi/mi-var-block.exp: Update.
4135 * gdb.mi/mi-break.exp: Update.
4136 * gdb.mi/gdb701.exp: Update.
4137
4138 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4139
4140 * Makefile.in: Inclusion of catch-syscall object.
4141 * gdb.base/catch-syscall.c: New file.
4142 * gdb.base/catch-syscall.exp: New file.
4143
4144 2009-09-12 Michael Snyder <msnyder@vmware.com>
4145
4146 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4147 that can support reverse debuggnig.
4148
4149 2009-09-11 Tom Tromey <tromey@redhat.com>
4150
4151 * gdb.dwarf2/valop.S: New file.
4152 * gdb.dwarf2/valop.exp: New file.
4153
4154 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4155
4156 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4157
4158 2009-09-10 Doug Evans <dje@google.com>
4159
4160 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4161 Add $gdb_prompt to second breakpoint regexp.
4162
4163 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
4164
4165 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
4166 names, add missing ones.
4167 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
4168 * gdb.python/py-frame.c: Rename from python-frame.c.
4169 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
4170 testfile name.
4171 * gdb.python/py-function.exp: Rename from python-function.exp.
4172 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
4173 testfile name.
4174 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
4175 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
4176 Adjust testfile name.
4177 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
4178 * gdb.python/py-template.cc: Rename from python-template.cc.
4179 * gdb.python/py-template.exp: Rename from python-template.exp.
4180 Adjust testfile name.
4181 * gdb.python/py-value.c: Rename from python-value.c.
4182 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
4183 testfile name.
4184
4185 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4186
4187 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4188 $bpt2address.
4189 (Second breakpoint address is valid on ia64)
4190 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4191
4192 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4193
4194 * gdb.base/ending-run.exp: Restrict regular expression matching
4195 line number to require closing brace following.
4196
4197 2009-09-03 Doug Evans <dje@google.com>
4198
4199 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4200
4201 2009-09-02 Tom Tromey <tromey@redhat.com>
4202
4203 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4204
4205 2009-09-02 Tom Tromey <tromey@redhat.com>
4206
4207 * gdb.dwarf2/callframecfa.exp: New file.
4208 * gdb.dwarf2/callframecfa.S: New file.
4209
4210 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4211
4212 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4213 gdb.base/solib-overlap-main.c: New.
4214
4215 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
4216
4217 PR gdb/10565
4218
4219 * gdb.base/bitfields.c (struct container, container): New.
4220 (main): Initialize it and call break5.
4221 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
4222
4223 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4224
4225 Support constant DW_AT_data_member_location by GCC PR debug/40659.
4226 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
4227
4228 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4229
4230 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4231
4232 2009-08-26 Michael Snyder <msnyder@vmware.com>
4233
4234 * gdb.base/i386-reverse.c: New file.
4235 * gdb.base/i386-reverse.exp: New file.
4236 * gdb.base/Makefile.in: Add new files to be removed.
4237
4238 2009-08-26 Joseph Myers <joseph@codesourcery.com>
4239
4240 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
4241 environment-pwd for remote host.
4242 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
4243
4244 2009-08-24 Keith Seitz <keiths@redhat.com>
4245
4246 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4247 Add two new C++ completer tests which limit the output to a
4248 given class.
4249
4250 2009-08-24 Michael Snyder <msnyder@vmware.com>
4251
4252 * gdb.base/del.exp: Fix typo in comment.
4253 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4254
4255 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
4256
4257 * configure: Regenerate.
4258 * gdb.hp/configure: Likewise.
4259 * gdb.hp/gdb.aCC/configure: Likewise.
4260 * gdb.hp/gdb.base-hp/configure: Likewise.
4261 * gdb.hp/gdb.compat/configure: Likewise.
4262 * gdb.hp/gdb.defects/configure: Likewise.
4263 * gdb.hp/gdb.objdbg/configure: Likewise.
4264 * gdb.stabs/configure: Likewise.
4265
4266 2009-08-19 Doug Evans <dje@google.com>
4267
4268 * gdb.base/gdbvars.c: New file.
4269 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4270
4271 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4272
4273 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4274 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4275
4276 2009-08-13 Pedro Alves <pedro@codesourcery.com>
4277
4278 * gdb.base/default.exp: Adjust "set language test": it's now an
4279 enum command. Larger help string moved to "help set language".
4280 * gdb.base/help.exp: Adjust "help set language" expected output,
4281 now lists all known languages.
4282
4283 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4284
4285 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4286 all frame arguments.
4287 * gdb.arch/altivec-regs.exp: Likewise.
4288
4289 2009-08-07 Tom Tromey <tromey@redhat.com>
4290
4291 * gdb.base/setshow.exp: Add tests for changes to set language, set
4292 check range, and set check type.
4293
4294 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4295
4296 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4297 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4298 Call it.
4299
4300 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4301
4302 * configure.ac: Run gdb.cell tests when appropriate.
4303 * configure: Regenerate.
4304 * lib/cell.exp: New file.
4305 * gdb.cell: New directory.
4306 * gdb.cell/configure.ac: New file.
4307 * gdb.cell/configure: New file.
4308 * gdb.cell/Makefile.in: New file.
4309 * gdb.cell/arch.exp: New file.
4310 * gdb.cell/break.c: New file.
4311 * gdb.cell/break.exp: New file.
4312 * gdb.cell/break-spu.c: New file.
4313 * gdb.cell/bt.c: New file.
4314 * gdb.cell/bt2-spu.c: New file.
4315 * gdb.cell/bt-spu.c: New file.
4316 * gdb.cell/bt.exp: New file.
4317 * gdb.cell/coremaker.c: New file.
4318 * gdb.cell/coremaker-spu.c: New file.
4319 * gdb.cell/core.exp: New file.
4320 * gdb.cell/gcore.exp: New file.
4321 * gdb.cell/data.c: New file.
4322 * gdb.cell/data.exp: New file.
4323 * gdb.cell/data-spu.c: New file.
4324 * gdb.cell/ea-cache.exp: New file.
4325 * gdb.cell/ea-cache.c: New file.
4326 * gdb.cell/ea-cache-spu.c: New file.
4327 * gdb.cell/ea-standalone.c: New file.
4328 * gdb.cell/ea-standalone.exp: New file.
4329 * gdb.cell/ea-test.c: New file.
4330 * gdb.cell/ea-test.exp: New file.
4331 * gdb.cell/f-regs.exp: New file.
4332 * gdb.cell/mem-access.c: New file.
4333 * gdb.cell/mem-access.exp: New file.
4334 * gdb.cell/mem-access-spu.c: New file.
4335 * gdb.cell/ptype.exp: New file.
4336 * gdb.cell/registers.exp: New file.
4337 * gdb.cell/size.c: New file.
4338 * gdb.cell/sizeof.exp: New file.
4339 * gdb.cell/size-spu.c: New file.
4340 * gdb.cell/solib.exp: New file.
4341 * gdb.cell/solib-symbol.exp: New file.
4342
4343 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4344
4345 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4346
4347 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4348
4349 * gdb.base/float.exp: Handle VFP registers.
4350
4351 2009-07-14 Michael Snyder <msnyder@vmware.com>
4352
4353 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4354 to bring gdb to the beginning of the calling line.
4355
4356 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4357 confusing the i386 epilogue unwinder.
4358
4359 2009-07-14 Stan Shebs <stan@codesourcery.com>
4360
4361 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4362
4363 2009-07-14 Michael Snyder <msnyder@vmware.com>
4364
4365 * gdb.reverse/step-reverse.exp (stepi into function call):
4366 Call instruction may not be first instruction in the line.
4367 (reverse stepi from a function call): Used wrong line number.
4368
4369 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4370
4371 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4372
4373 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4374
4375 Fix gdb.base/macscp.exp when using custom inputrc.
4376 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
4377 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
4378 env(TERM) set.
4379 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4380 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4381
4382 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4383
4384 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
4385 * gdb.base/annota1.exp (thread_test): Import global $testfile.
4386 Change the compilation target to match the testcase name.
4387 * gdb.base/sect-cmd.exp: Change the compilation target to match the
4388 testcase name.
4389 * a2-run.exp: Use for setup prepare_for_testing. Change the
4390 compilation target to match the testcase name.
4391 * gdb.base/commands.exp: Likewise.
4392 * gdb.base/finish.exp: Likewise.
4393 * gdb.base/float.exp: Likewise.
4394 * gdb.base/info-target.exp: Likewise.
4395 * gdb.base/relational.exp: Likewise.
4396 * gdb.base/term.exp: Likewise.
4397 * gdb.base/until.exp: Likewise.
4398 * gdb.base/volatile.exp: Likewise.
4399 * gdb.base/whatis-exp.exp: Likewise.
4400
4401 2009-07-11 Hui Zhu <teawater@gmail.com>
4402
4403 * gdb.base/help.exp (disassemble): Update expected help text.
4404
4405 2009-07-09 Tom Tromey <tromey@redhat.com>
4406
4407 * lib/gdb.exp: Handle TRANSCRIPT.
4408 (remote_spawn, remote_close, send_gdb): New procs.
4409
4410 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4411
4412 * gdb.python/python-prettyprint.c: Add counted null string
4413 structure.
4414 * gdb.python/python-prettyprint.exp: Print null string. Test for
4415 embedded nulls.
4416 * gdb.python/python-prettyprint.py (pp_ns): New Function.
4417 * gdb.python/python-value.exp (test_value_in_inferior): Add
4418 variable length string fetch tests.
4419 * gdb.python/python-value.c (main): Add strings for string fetch tests.
4420
4421 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4422
4423 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4424
4425 2009-07-07 Tom Tromey <tromey@redhat.com>
4426
4427 * gdb.base/call-rt-st.exp: Update for change to escape output.
4428 * gdb.base/callfuncs.exp: Likewise.
4429 * gdb.base/charset.exp: Likewise.
4430 * gdb.base/constvars.exp: Likewise.
4431 * gdb.base/long_long.exp: Likewise.
4432 * gdb.base/pointers.exp: Likewise.
4433 * gdb.base/printcmds.exp: Likewise.
4434 * gdb.base/setvar.exp: Likewise.
4435 * gdb.base/store.exp: Likewise.
4436 * gdb.cp/ref-types.exp: Likewise.
4437 * gdb.mi/mi-var-child.exp: Likewise.
4438 * gdb.mi/mi-var-display.exp: Likewise.
4439 * gdb.mi/mi2-var-display.exp: Likewise.
4440 * gdb.base/charset.exp: Test octal escape sequence length.
4441 Update for change to escape output.
4442
4443 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4444
4445 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4446
4447 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4448
4449 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4450
4451 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4452
4453 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4454 gdbserver increasing $portnum if "Can't bind address" has been seen.
4455
4456 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4457
4458 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4459 mingw32ce.
4460
4461 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4462
4463 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4464 VFP format.
4465
4466 2009-07-02 Pedro Alves <pedro@codesourcery.com>
4467
4468 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
4469 linux. Adjust to use "inferior", "info inferiors", "detach
4470 inferior" and "kill inferior" instead of "restart", "info fork",
4471 "detach fork" and "delete fork".
4472 * gdb.base/ending-run.exp: Spell out "info".
4473 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
4474 the "kill" command.
4475
4476 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4477
4478 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4479 change to prefix TLS offset in hex with 0x.
4480
4481 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4482
4483 * gdb.base/default.exp: Update test case for "x" changes.
4484
4485 2009-07-01 Tristan Gingold <gingold@adacore.com>
4486
4487 * gdb.base/bigcore.exp: Make darwin untested.
4488
4489 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4490
4491 * gdb.base/completion.exp (directory completion): Create the directory.
4492 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4493 escapeuniquesub.
4494 (directory completion 2): Expect now ${escapeuniquesub}.
4495 (Glob remaining of directory test): Remove one excessive newline.
4496 Expect the real output.
4497
4498 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4499
4500 Fix `make check//%' target after `make check' has been ran.
4501 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4502 a mkdir call.
4503 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4504 (%/.dir): Remove.
4505
4506 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4507
4508 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4509 the expected result record.
4510
4511 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4512
4513 Remove racy FAILs relying just on the timeouts.
4514 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
4515 (annotation_level 2): Remove racy FAILs.
4516
4517 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4518
4519 gdb/10275
4520 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4521
4522 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4523
4524 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4525
4526 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4527
4528 * gdb.mi/mi-stack.exp: Testing symbolic options
4529 to -stack-list-locals and -stack-list-arguments.
4530
4531 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4532
4533 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4534
4535 2009-06-29 Tom Tromey <tromey@redhat.com>
4536
4537 * dg-extract-results.sh: New file.
4538 * Makefile.in (FORCE_PARALLEL): New variable.
4539 (CHECK_TARGET): New conditional variable.
4540 (check): Use CHECK_TARGET.
4541 (DO_RUNTEST): New variable.
4542 (check-single): New target.
4543 (TEST_DIRS): New variable.
4544 (TEST_TARGETS): Likewise.
4545 (check-parallel): New target.
4546 (check-gdb.%): New pattern.
4547 (BASE1_FILES): New variable.
4548 (BASE2_FILES): Likewise.
4549 (check-gdb.base%): New pattern.
4550 (%/.dir): New pattern.
4551 * configure: Rebuild.
4552 * aclocal.m4 (AM_CONDITIONAL): New defun.
4553 * configure.ac: Check whether user is using GNU make.
4554 (GMAKE): New conditional.
4555
4556 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
4557
4558 * gdb.cp/namespace-nested-import.cc: New test.
4559 * gdb.cp/namespace-nested-import.exp: New test.
4560
4561 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
4562
4563 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
4564 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
4565 * gdb.opt/Makefile.in (EXECUTABLES): Update.
4566 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
4567 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
4568 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
4569 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
4570 gdb.opt/inline-markers.c: New files.
4571 * lib/gdb.exp (skip_inline_frame_tests): New function.
4572 (skip_inline_var_tests): New function.
4573
4574 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
4575
4576 * gdb.cp/exception.exp: Don't require $hex before inner frame in
4577 backtrace.
4578
4579 2009-06-27 Michael Snyder <msnyder@vmware.com>
4580
4581 * gdb.reverse: New directory.
4582 * gdb.reverse/break-reverse.c: New test.
4583 * gdb.reverse/break-reverse.exp: New test.
4584 * gdb.reverse/consecutive-reverse.c: New test.
4585 * gdb.reverse/consecutive-reverse.exp: New test.
4586 * gdb.reverse/finish-reverse.c: New test.
4587 * gdb.reverse/finish-reverse.exp: New test.
4588 * gdb.reverse/machinestate.c: New test.
4589 * gdb.reverse/ms1.c: New test.
4590 * gdb.reverse/machinestate.exp: New test.
4591 * gdb.reverse/Makefile.in: New file.
4592 * gdb.reverse/shr2.c: New test.
4593 * gdb.reverse/solib-reverse.c: New test.
4594 * gdb.reverse/solib-reverse.exp: New test.
4595 * gdb.reverse/step-reverse.c: New test.
4596 * gdb.reverse/step-reverse.exp: New test.
4597 * gdb.reverse/until-reverse.c: New test.
4598 * gdb.reverse/ur1.c: New test.
4599 * gdb.reverse/until-reverse.exp: New test.
4600 * gdb.reverse/watch-reverse.c: New test.
4601 * gdb.reverse/watch-reverse.exp: New test.
4602 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
4603 * configure: Regenerate.
4604
4605 2009-06-26 Doug Evans <dje@google.com>
4606
4607 * gdb.base/psymtab.exp: Turn off pending breakpoints.
4608
4609 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
4610
4611 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
4612 windows problem for 'file delete $binfile'.
4613
4614 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
4615
4616 * gdb.cp/namespace-using.exp: New test.
4617 * gdb.cp/namespace-using.cc: New test.
4618
4619 2009-05-20 Joel Brobecker <brobecker@adacore.com>
4620
4621 * gdb.ada/variant_record_packed_array: New testcase.
4622
4623 2009-06-23 Tom Tromey <tromey@redhat.com>
4624
4625 * gdb.base/charset.exp (test_combination): Regression test.
4626 * gdb.base/charset.c (my_wchar_t): New typedef.
4627 (myvar): New global.
4628 (main): Set myvar.
4629
4630 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
4631
4632 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
4633 target.
4634
4635 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4636
4637 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
4638
4639 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4640
4641 * gdb.mi/gdb680.exp: Update test for error message.
4642
4643 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4644
4645 * gdb.base/annota1.exp: Allow multiple occurrences of the
4646 frames-invalid annotation.
4647 * gdb.cp/annota2.exp: Likewise.
4648
4649 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
4650
4651 * gdb.cp/gdb2495.cc: New file.
4652 * gdb.cp/gdb2495.exp: New file.
4653
4654 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4655
4656 Report error on GDB crash during runto.
4657 * lib/gdb.exp (runto <eof>): New.
4658
4659 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
4660
4661 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
4662 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
4663 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
4664 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
4665 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
4666 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
4667 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
4668 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
4669 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
4670 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
4671 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
4672 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
4673 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
4674 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
4675 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
4676 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
4677 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
4678 gdb.server/server-mon.exp, gdb.server/server-run.exp,
4679 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4680 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4681 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
4682 gdb.trace/passcount.exp, gdb.trace/report.exp,
4683 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
4684 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
4685 gdb.trace/while-stepping.exp: Use a unique name for the compiled
4686 executable.
4687
4688 2009-06-07 Pedro Alves <pedro@codesourcery.com>
4689
4690 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
4691 defined before referencing it.
4692
4693 2009-06-03 Doug Evans <dje@google.com>
4694
4695 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
4696 * gdb.arch/i386-see.c: Ditto.
4697
4698 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
4699
4700 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
4701 (check_macro): Return 1 if undefined.
4702 If first test fails, check if macro debug information is available,
4703 and report unsupported test if no macro information is found.
4704
4705 2009-05-29 Doug Evans <dje@google.com>
4706
4707 * gdb.threads/hand-call-in-threads.exp: New.
4708 * gdb.threads/hand-call-in-threads.c: New.
4709
4710 2009-05-29 Michael Snyder <msnyder@vmware.com>
4711
4712 * gdb.base/break-always.exp: Change "1" to "on".
4713 Add confirmation check.
4714
4715 2009-05-28 Pedro Alves <pedro@codesourcery.com>
4716
4717 * gdb.threads/threxit-hop-specific.c: New.
4718 * gdb.threads/threxit-hop-specific.exp: New.
4719 * gdb.threads/thread-execl.c: New.
4720 * gdb.threads/thread-execl.exp: New.
4721
4722 2009-05-27 Tom Tromey <tromey@redhat.com>
4723 Thiago Jung Bauermann <bauerman@br.ibm.com>
4724
4725 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
4726 (mi_child_regexp): Likewise.
4727 (mi_list_varobj_children_range): Likewise.
4728 (mi_get_features): Likewise.
4729 (mi_list_varobj_children): Rewrite.
4730 * gdb.python/python-mi.exp: New file.
4731
4732 2009-05-27 Tom Tromey <tromey@redhat.com>
4733 Thiago Jung Bauermann <bauerman@br.ibm.com>
4734 Phil Muldoon <pmuldoon@redhat.com>
4735 Paul Pluzhnikov <ppluzhnikov@google.com>
4736
4737 * gdb.python/python-prettyprint.exp: New file.
4738 * gdb.python/python-prettyprint.c: New file.
4739 * gdb.python/python-prettyprint.py: New file.
4740 * gdb.base/display.exp: print/r is now valid.
4741
4742 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
4743 Tom Tromey <tromey@redhat.com>
4744 Pedro Alves <pedro@codesourcery.com>
4745 Paul Pluzhnikov <ppluzhnikov@google.com>
4746
4747 * gdb.python/python-template.exp: New file.
4748 * gdb.python/python-template.cc: New file.
4749 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
4750 tests.
4751 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4752 Call it.
4753 (test_value_after_death): New proc.
4754 * gdb.python/python-value.c (PTR): New typedef.
4755 (main): New variable 'x'.
4756
4757 2009-05-27 Tom Tromey <tromey@redhat.com>
4758
4759 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
4760 tests.
4761 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4762 Call it.
4763
4764 2009-05-27 Pedro Alves <pedro@codesourcery.com>
4765
4766 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
4767
4768 2009-05-24 Pedro Alves <pedro@codesourcery.com>
4769
4770 * gdb.threads/fork-thread-pending.c: New.
4771 * gdb.threads/fork-thread-pending.exp: New.
4772
4773 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4774
4775 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
4776 * gdb.dwarf2/dw2-strp.S (a_string2): New.
4777
4778 2009-05-18 Jon Beniston <jon@beniston.com>
4779
4780 * gdb.asm/asm-source.exp: Add lm32 target.
4781
4782 2009-05-17 Pedro Alves <pedro@codesourcery.com>
4783
4784 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
4785 `gdb_get_line_number'. Call `callee' in both parent and child.
4786 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
4787 `gdb_get_line_number' instead of hardcoding line numbers.
4788 (catch_fork_unpatch_child): New procedure to test detaching
4789 breakpoints from child fork.
4790 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
4791 hardcoding line numbers.
4792 (do_fork_tests): Run `catch_fork_unpatch_child'.
4793
4794 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
4795
4796 * gdb.mi/mi-cmd-var.exp: Check that when varobj
4797 of structure type enters or leaves the scope, it
4798 is reported by -var-update.
4799
4800 2009-05-11 Doug Evans <dje@sebabeach.org>
4801
4802 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
4803 * gdb.threads/pending-step.c (main): Fix off-by-one error.
4804 * gdb.threads/schedlock.c (main): Fix off-by-one error.
4805
4806 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4807
4808 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
4809
4810 2009-04-30 Doug Evans <dje@google.com>
4811
4812 * gdb.threads/watchthreads2.exp: New testcase.
4813 * gdb.threads/watchthreads2.c: New testcase.
4814
4815 2009-04-29 Doug Evans <dje@google.com>
4816
4817 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
4818 * gdb.cp/mb-ctor.cc: Ditto.
4819 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
4820 * gdb.cp/mb-inline.h (multi_line_foo): New function.
4821 * gdb.cp/mb-inline1.cc: Call it.
4822 * gdb.cp/mb-inline2.cc: Ditto.
4823 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
4824 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
4825
4826 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4827
4828 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
4829 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
4830 Replace all uses of `decimal' by `nonzero'.
4831 (info macro FROM_COMMANDLINE): New test.
4832
4833 2009-04-27 Tom Tromey <tromey@redhat.com>
4834
4835 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
4836
4837 2009-04-27 Doug Evans <dje@google.com>
4838
4839 * gdb.threads/watchthreads.c (main): Initialize args before starting
4840 the threads. Plus formatting cleanup.
4841 * gdb.threads/watchthreads.exp: Avoid errant failures due to
4842 biased scheduling of one thread.
4843
4844 2009-04-27 Jerome Guitton <guitton@adacore.com>
4845
4846 * gdb.cp/templates.cc (GetMax): New template.
4847 (main): Declare two instances of GetMax.
4848 * gdb.cp/templates.exp: Add new test.
4849
4850 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4851
4852 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
4853
4854 2009-04-22 Joseph Myers <joseph@codesourcery.com>
4855
4856 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
4857
4858 2009-04-15 Tom Tromey <tromey@redhat.com>
4859
4860 * gdb.base/charset.exp: Add regression test.
4861
4862 2009-04-14 Joel Brobecker <brobecker@adacore.com>
4863
4864 * gdb.base/exe-lock.exp: New testcase.
4865
4866 2009-04-13 Tom Tromey <tromey@redhat.com>
4867
4868 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
4869 operator on Frame.
4870
4871 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4872
4873 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
4874 * gdb.server/ext-attach.exp: Likewise.
4875
4876 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
4877
4878 Eliminate some sleep usage.
4879
4880 * gdb.mi/basics.c (do_nothing): New.
4881 (main): Use do_nothing instead of printf, so that
4882 not to introduce race condition between output of
4883 inferiour and output of gdb. Do not use sleep as it
4884 is not generally available on embedded targets.
4885
4886 2009-04-02 Pedro Alves <pedro@codesourcery.com>
4887
4888 * gdb.server/ext-attach.exp: Expect an optional process id after
4889 "Detached from remote process".
4890
4891 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4892
4893 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
4894 gdb.dwarf2/dw2-unresolved.exp: New.
4895
4896 2009-04-02 Pedro Alves <pedro@codesourcery.com>
4897
4898 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
4899 mi_run_to_main.
4900
4901 2009-04-02 Pedro Alves <pedro@codesourcery.com>
4902
4903 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
4904 mi_run_to_main. Skip thread exit test on remote targets.
4905 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
4906 mi_run_to_main.
4907 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
4908 mi_run_to_main.
4909 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
4910 when expecting ^connected. Detect when the target doesn't support
4911 non-stop mode.
4912 (mi_run_cmd): Detect if non-stop mode was requested by isn't
4913 supported. Return -1 on error, 0 on success.
4914 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
4915 (mi_runto): Return mi_runto_helper's result explicitly.
4916
4917 2009-04-01 Pedro Alves <pedro@codesourcery.com>
4918
4919 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
4920
4921 2009-04-01 Tom Tromey <tromey@redhat.com>
4922
4923 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
4924 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
4925 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
4926 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
4927
4928 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
4929 Jan Kratochvil <jan.kratochvil@redhat.com>
4930
4931 PR gdb/931
4932 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
4933 output.
4934 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
4935 for gdb/931.
4936 * dw2-strp.S (DW_AT_language): Change to C++.
4937 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
4938
4939 2009-03-31 Joel Brobecker <brobecker@adacore.com>
4940
4941 * gdb.ada/tasks: New testcase.
4942
4943 2009-03-30 Stan Shebs <stan@codesourcery.com>
4944
4945 * gdb.trace/actions.exp: Update to match new info trace format.
4946 * gdb.trace/deltrace.exp: Ditto.
4947 * gdb.trace/infotrace.exp: Ditto.
4948 * gdb.trace/passcount.exp: Ditto.
4949 * gdb.trace/save-trace.exp: Ditto.
4950 * gdb.trace/while-stepping.exp: Ditto.
4951 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
4952
4953 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4954
4955 * gdb.python/python-frame.c: New file.
4956 * gdb.python/python-frame.exp: New file.
4957
4958 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
4959
4960 * gdb.python/python-value.exp: Add tests for the address
4961 attribute.
4962
4963 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
4964
4965 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
4966
4967 2009-03-26 Doug Evans <dje@google.com>
4968
4969 * gdb.mi/mi-nonstop-exit.exp: New file.
4970 * gdb.mi/non-stop-exit.c: New file.
4971
4972 2009-03-26 Tom Tromey <tromey@redhat.com>
4973
4974 Update for change to prologue skipping:
4975 * gdb.mi/mi2-simplerun.exp: Update.
4976 * gdb.mi/mi2-break.exp: Update.
4977 * gdb.mi/mi-simplerun.exp: Update.
4978 * gdb.mi/mi-break.exp: Update.
4979 * gdb.base/ending-run.exp: Update.
4980
4981 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
4982
4983 * gdb.python/python-value.exp (test_value_in_inferior): Test
4984 gdb.Value.is_optimized_out attribute.
4985
4986 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4987
4988 * gdb.dwarf2/dw2-noloc-main.c: New file.
4989 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
4990 (.text): Remove.
4991 (.data): New.
4992 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
4993 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
4994 (DW_TAG_subprogram func_cu1, noloc): Remove.
4995 (main): New.
4996 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
4997 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
4998 (file_symbols): New procedure.
4999
5000 2009-03-25 Tom Tromey <tromey@redhat.com>
5001
5002 * gdb.base/charset.exp (valid_target_charset): New proc.
5003 Use it to skip tests on invalid charsets.
5004
5005 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5006
5007 * gdb.base/completion.exp: Add a test for directory completion.
5008
5009 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5010
5011 Fix a racy FAIL.
5012 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5013 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5014
5015 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5016
5017 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5018 * gdb.python/python-function.exp: Add test for function returning
5019 a GDB value.
5020
5021 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5022
5023 * gdb.python/python-function.exp: New file.
5024
5025 2009-03-20 Tom Tromey <tromey@redhat.com>
5026
5027 * gdb.base/store.exp: Update for change to escape output.
5028 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5029 to escape output.
5030 * gdb.base/pointers.exp: Update for change to escape output.
5031 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5032 to escape output.
5033 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5034 escape output.
5035 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5036 to escape output.
5037 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
5038 escape output.
5039 * gdb.base/setvar.exp: Update for change to escape output.
5040 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
5041 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
5042 to escape output.
5043 (test_print_string_constants): Likewise.
5044 * gdb.base/charset.exp (valid_host_charset): Check size of
5045 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
5046 cases. Handle "auto"-related output.
5047 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
5048 (uvar, Uvar): New globals.
5049
5050 2009-03-19 Jerome Guitton <guitton@adacore.com>
5051
5052 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5053 deltas.
5054 * gdb.ada/fixed_points.exp: Ditto.
5055
5056 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5057
5058 * return-nodebug.c: Don't include stdio.h.
5059 (init): Delete.
5060 (func): Delete definition and provide extern declaration.
5061 (t): New.
5062 (main): Don't call printf. Call func and store its result in t.
5063 * return-nodebug1.c: New.
5064 * return-nodebug.exp: Don't expect stdio output. Instead, print
5065 the global variable t. Drop printf formatters and cast types from
5066 foreach loop. Don't use prepare_for_testing. Compile
5067 return-nodebug.c and return-nodebug1.c in separate steps. Don't
5068 define FORMAT or CAST.
5069
5070 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5071
5072 * gdb.base/solib-display.exp: Disable test for remote targers.
5073
5074 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5075
5076 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5077
5078 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5079
5080 Fix a racy FAIL.
5081 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
5082 code from `follow parent, print pids'.
5083 (`follow child, print pids', `follow parent, print pids'): Call it.
5084 Replace `gdb_test "break..."' by gdb_breakpoint.
5085
5086 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5087
5088 * gdb.mi/mi-cli.exp: Adjust for output difference in
5089 sync and async modes.
5090
5091 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5092
5093 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
5094 that was checked in by mistake. Remove loading of ada.exp, since
5095 this is not necessary in this case.
5096
5097 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5098
5099 * gdb.ada/ptype_arith_binop.exp: New testcase.
5100
5101 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5102
5103 * gdb.ada/mod_from_name: New testcase.
5104
5105 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5106
5107 * gdb.ada/tick_last_segv: New testcase.
5108
5109 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5110
5111 * gdb.mi/mi-cli.exp: Remove debug print.
5112
5113 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5114
5115 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5116 include the token in ^running and frame info in *stopped.
5117
5118 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5119
5120 * solib-display.exp: New file.
5121 * solib-display-main.c: New file.
5122 * solib-display-lib.c: New file.
5123
5124 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5125
5126 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5127
5128 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5129
5130 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
5131 (list_and_check_macro): Use more specific test name.
5132 (next to definition): Make the test names unique.
5133
5134 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5135
5136 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5137
5138 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5139
5140 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
5141 notifications.
5142 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
5143 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
5144 * lib/mi-support.exp (library_loaded_re): New.
5145 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
5146
5147 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5148
5149 * gdb.gdb/observer.exp: Use test_notification observer, not
5150 normal_stop, everywhere.
5151 (test_normal_stop_notifications): Rename to...
5152 (test_notifications): ...this.
5153 (test_observer_normal_stop): Rename to...
5154 (test_observer): ...this.
5155
5156 2009-02-16 Doug Evans <dje@google.com>
5157
5158 * gdb.arch/amd64-disp-step.S (test_int3): New test.
5159 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
5160 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
5161 (test_prefixed_syscall,test_int3): New tests.
5162 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
5163 (test_prefixed_syscall,test_int3): New tests.
5164
5165 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
5166
5167 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
5168 (mi_expect_interrupt): Likewise.
5169 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
5170 response.
5171
5172 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5173
5174 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
5175 * gdb.base/pc-fp.exp (get_valueofx): Remove.
5176 Replace calls to get_valueofx by get_hexadecimal_valueof.
5177
5178 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
5179
5180 * lib/gdb.exp (get_valueof): Accept anything as a return value.
5181 (get_integer_valueof): New procedure.
5182 (get_sizeof): Use new get_integer_value_of.
5183 * gdb.base/sizeof.exp: Replace all uses of get_valueof
5184 by get_integer_valueof.
5185
5186 2009-02-13 Tom Tromey <tromey@redhat.com>
5187
5188 * gdb.base/remote.exp (get_sizeof): Remove.
5189 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
5190 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
5191 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
5192 * lib/gdb.exp (get_valueof): Move from long_long.exp.
5193 (get_sizeof): Likewise.
5194
5195 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5196
5197 PR fortran/9806
5198 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5199
5200 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5201
5202 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5203
5204 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5205
5206 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5207
5208 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5209
5210 * gdb.python/python-cmd.exp: New file.
5211
5212 2009-02-06 Tristan Gingold <gingold@adacore.com>
5213
5214 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5215
5216 2009-02-05 Tristan Gingold <gingold@adacore.com>
5217
5218 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
5219 pointer is dereferenced and use this signal name in regexp.
5220 * gdb.base/signull.exp: Ditto.
5221 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
5222 * gdb.base/signull.c (main): Ditto.
5223
5224 2009-02-04 Tom Tromey <tromey@redhat.com>
5225 Thiago Jung Bauermann <bauerman@br.ibm.com>
5226
5227 * gdb.python/python-value.exp: Use `gdb.history' instead of
5228 `gdb.value_from_history'.
5229 (test_value_numeric_ops): Add test for conversion of enum constant.
5230 * gdb.python/python-value.c (enum e): New type.
5231 (evalue): New global.
5232 (main): Use argv.
5233
5234 2009-02-04 Jerome Guitton <guitton@adacore.com>
5235
5236 * gdb.ada/uninitialized_vars: New test program.
5237 * gdb.ada/uninitialized_vars.exp: New testcase.
5238
5239 2009-02-02 Tom Tromey <tromey@redhat.com>
5240
5241 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5242 * gdb.cp/pr2489.cc: Rename...
5243 * gdb.cp/pr9594.cc: ... to this.
5244
5245 2009-02-02 Tom Tromey <tromey@redhat.com>
5246
5247 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5248 * gdb.cp/pr2489.cc: New file.
5249 * gdb.cp/cpcompletion.exp: New file.
5250
5251 2009-02-02 Tom Tromey <tromey@redhat.com>
5252
5253 PR exp/9059:
5254 * gdb.cp/call-c.exp: Add regression test.
5255 * gdb.cp/call-c.cc (FooHandle): New typedef.
5256 (main): New variable 'handle'.
5257
5258 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5259
5260 * lib/mi-support.exp (et_mi_thread_list)
5261 (check_mi_and_console_threads): Adjust for current thread in
5262 -thread-list-ids output.
5263
5264 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5265
5266 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5267 Call it.
5268
5269 2009-01-28 Doug Evans <dje@google.com>
5270
5271 * gdb.arch/amd64-disp-step.S: New file.
5272 * gdb.arch/amd64-disp-step.exp: New file.
5273 * gdb.arch/i386-disp-step.S: New file.
5274 * gdb.arch/i386-disp-step.exp: New file.
5275
5276 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5277
5278 * gdb.base/find.exp: Set newline variable
5279 using quotes instead of braces to fix cygwin failures.
5280
5281 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5282
5283 * gdb.base/radix.exp: Add tests to ensure that that set
5284 input-radix 0 and set output-radix 0 are really rejected.
5285
5286 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5287
5288 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5289 copyright years.
5290
5291 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5292
5293 PR gdb/9664:
5294 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5295
5296 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5297
5298 PR c++/9631:
5299 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5300
5301 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5302
5303 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5304 binfile definition to fix Windows OS failure.
5305
5306 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5307
5308 PR gdb/9346
5309 * gdb.base/interrupt.c (sigint_handler): New.
5310 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5311 on error.
5312 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5313 Test "signal SIGINT".
5314
5315 2009-01-19 Doug Evans <dje@google.com>
5316
5317 * gdb.base/break.exp: Update expected gdb output.
5318 * gdb.base/sepdebug.exp: Ditto.
5319 * gdb.mi/mi-syn-frame.exp: Ditto.
5320 * gdb.mi/mi2-syn-frame.exp: Ditto.
5321 * gdb.base/call-signal-resume.exp: New file.
5322 * gdb.base/call-signals.c: New file.
5323 * gdb.base/unwindonsignal.exp: New file.
5324 * gdb.base/unwindonsignal.c: New file.
5325 * gdb.threads/interrupted-hand-call.exp: New file.
5326 * gdb.threads/interrupted-hand-call.c: New file.
5327 * gdb.threads/thread-unwindonsignal.exp: New file.
5328
5329 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5330
5331 * gdb.base/define.exp: Test defining and hooking prefix commands.
5332 * gdb.python/python.exp: Update test for "show user" output.
5333
5334 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5335
5336 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
5337 now the output exactly, using less wildcards. Expect also the output
5338 of gfortran-4.3. Update for the f-valprint.c modification from
5339 2008-04-22.
5340 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5341 Remove gdb_test test names where matching the command.
5342
5343 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5344
5345 PR breakpoints/9681:
5346 * gdb.base/watchpoint.exp: Add regression test.
5347
5348 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5349
5350 * gdb.threads/attach-into-signal.exp: Don't use
5351 gdb_suppress_entire_file.
5352 * gdb.threads/attach-stopped.exp: Ditto.
5353 * gdb.threads/attachstop-mt.exp: Ditto.
5354
5355 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5356
5357 PR gdb/8812:
5358 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5359
5360 2008-12-29 Pedro Alves <pedro@codesourcery.com>
5361
5362 PR gdb/7536:
5363 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5364 and unsupported output radices are really rejected.
5365
5366 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5367
5368 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5369
5370 2008-12-22 Tom Tromey <tromey@redhat.com>
5371
5372 * gdb.cp/punctuator.exp: New file.
5373
5374 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5375
5376 * gdb.base/completion.exp (Completing non-existing component): New test.
5377
5378 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5379
5380 Fix for PR gdb/8648.
5381 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
5382 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
5383 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
5384 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
5385
5386 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5387
5388 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5389
5390 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
5391
5392 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5393 compiler actually generate code at the expected line number.
5394
5395 2008-12-15 Jie Zhang <jie.zhang@analog.com>
5396
5397 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5398
5399 2008-12-12 Tom Tromey <tromey@redhat.com>
5400
5401 * gdb.base/commands.exp (redefine_hook_test): New proc.
5402 Call it.
5403
5404 2008-12-11 Tom Tromey <tromey@redhat.com>
5405
5406 * gdb.base/macscp.exp: New regression test.
5407
5408 2008-12-11 Tom Tromey <tromey@redhat.com>
5409
5410 * gdb.base/macscp.exp: Print "address.addr".
5411 * gdb.base/macscp1.c (struct outer): New struct.
5412 (address): New global.
5413
5414 2008-12-09 Tom Tromey <tromey@redhat.com>
5415
5416 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5417 Call it.
5418
5419 2008-12-04 Doug Evans <dje@google.com>
5420
5421 * gdb.server/ext-run.exp: Relax regexp for init program.
5422
5423 2008-12-03 Tristan Gingold <gingold@adacore.com>
5424
5425 * gdb.base/macscp.exp: Generate an object file during compilation
5426 to work around Darwin dsymutil limitations.
5427
5428 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5429
5430 Test resolving external references to TLS variables.
5431 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
5432 FILE2_THREAD_LOCAL.
5433 (testfile2, srcfile2): New variables.
5434 * gdb.threads/tls.c (file2_thread_local)
5435 (function_referencing_file2_thread_local): New.
5436 * gdb.threads/tls2.c: New file.
5437
5438 2008-11-28 Joel Brobecker <brobecker@adacore.com>
5439
5440 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
5441 rather than integer, as integer might not be big enough when
5442 on 64bit targets.
5443
5444 2008-11-27 Jerome Guitton <guitton@adacore.com>
5445
5446 * gdb.cp/formatted-ref.exp: Add equality test.
5447 * gdb.ada/formatted_ref.exp: Ditto.
5448
5449 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5450
5451 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5452 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5453
5454 2008-11-20 Andreas Schwab <schwab@suse.de>
5455
5456 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
5457 matching syscall entry point.
5458 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
5459 (tcatch_vfork_then_child_follow): Likewise. Finish through
5460 vfork even if we stopped at the syscall trampoline.
5461
5462 2008-11-20 Doug Evans <dje@google.com>
5463
5464 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5465
5466 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5467
5468 * gdb.arch/ppc-dfp.exp: New file.
5469 * gdb.arch/ppc-dfp.c: New file.
5470
5471 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5472
5473 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
5474
5475 2008-11-17 Doug Evans <dje@google.com>
5476
5477 * gdb.mi/mi-syn-frame.exp: Update expected output.
5478 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5479
5480 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5481
5482 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
5483 "thread N" results in =thread-selected.
5484 * lib/mi-support (mi_run_cmd, mi_expect_stop)
5485 (mi_send_resuming_command_raw): Be prepared for
5486 =thread-selected.
5487
5488 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5489
5490 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5491 * lib/mi-support.exp: Likewise.
5492
5493 2008-11-16 Joel Brobecker <brobecker@adacore.com>
5494
5495 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5496 commands from the expected output for "help catch".
5497
5498 2008-11-15 Joel Brobecker <brobecker@adacore.com>
5499
5500 * gdb.ada/int_deref.exp: New testcase.
5501
5502 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
5503
5504 * gdb.mi/gdb2549.exp: New file.
5505
5506 2008-11-11 Doug Evans <dje@google.com>
5507
5508 * gdb.base/callexit.exp: New file.
5509 * gdb.base/callexit.c: New file.
5510
5511 2008-11-10 Doug Evans <dje@google.com>
5512
5513 * lib/gdb.exp (GDBFLAGS): Move -nx ...
5514 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
5515 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
5516 (default_gdb_start,default_gdb_exit): Ditto.
5517 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
5518 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
5519 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
5520 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
5521 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
5522 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
5523
5524 2008-11-03 Andreas Schwab <schwab@suse.de>
5525
5526 * gdb.base/hashline2.exp: Fix typo.
5527 * gdb.base/hashline3.exp: Likewise.
5528
5529 2008-10-30 Tom Tromey <tromey@redhat.com>
5530
5531 * gdb.base/pointers.exp: Add test.
5532 * gdb.base/pointers.c (k, S): New typedefs.
5533 (instance): New global.
5534
5535 2008-10-30 Andreas Schwab <schwab@suse.de>
5536
5537 * gdb.base/args.exp: Add tests for newlines.
5538
5539 2008-10-30 Joel Brobecker <brobecker@adacore.com>
5540
5541 gdb.base/foll-exec.exp: Update the expected output of a couple
5542 of "info breakpoints" tests.
5543
5544 2008-10-28 Tom Tromey <tromey@redhat.com>
5545
5546 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5547
5548 2008-10-24 Pedro Alves <pedro@codesourcery.com>
5549
5550 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5551 gdb_start_cmd.
5552 Use runto_main before any test that requires execution.
5553
5554 2008-10-23 Pedro Alves <pedro@codesourcery.com>
5555
5556 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
5557 instead of SIGINT.
5558
5559 2008-10-22 Joel Brobecker <brobecker@adacore.com>
5560
5561 * gdb.base/completion.exp: Update expected output following
5562 the addition of the "info tasks" command.
5563
5564 2008-10-22 Tom Tromey <tromey@redhat.com>
5565
5566 * gdb.base/exprs.exp (test_expr): Add test for string
5567 concatenation.
5568
5569 2008-10-19 Pedro Alves <pedro@codesourcery.com>
5570
5571 * configure.ac: Output gdb.python/Makefile.
5572 * configure: Regenerate.
5573 * gdb.python/Makefile.in: New.
5574
5575 2008-10-16 Joel Brobecker <brobecker@adacore.com>
5576
5577 * gdb.base/foll-fork.exp: Adjust the expected output to match
5578 the new description for fork/vfork catchpoints in the "info
5579 breakpoints" output.
5580
5581 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5582
5583 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
5584
5585 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5586
5587 * gdb.python/python-value.c: New file.
5588 * gdb.python/python-value.exp: New file.
5589
5590 2008-10-15 Pedro Alves <pedro@codesourcery.com>
5591
5592 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
5593
5594 2008-10-15 Denis Pilat <denis.pilat@st.com>
5595
5596 * gdb.cp/mb-ctor.exp: Fix a typo.
5597
5598 2008-10-09 Tom Tromey <tromey@redhat.com>
5599
5600 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
5601 'fprintf' and 'stderr'.
5602
5603 2008-10-07 Joel Brobecker <brobecker@adacore.com>
5604
5605 * gdb.ada/ref_tick_size.exp: New testcase.
5606
5607 2008-10-06 Doug Evans <dje@google.com>
5608
5609 * gdb.dwarf2/dw2-cu-size.exp: New file.
5610 * gdb.dwarf2/dw2-cu-size.S: New file.
5611
5612 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
5613 .Ltype_int for clarity.
5614
5615 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
5616
5617 PR gdb/2384:
5618 * gdb.cp/gdb2384.exp: Extended to test more cases.
5619 * gdb.cp/gdb2384.cc: Likewise.
5620 * gdb.cp/gdb2384-base.h: Likewise.
5621 * gdb.cp/gdb2384-base.cc: Likewise.
5622
5623 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5624
5625 * gdb.base/maint.exp (maint print type): Remove printing
5626 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
5627
5628 2008-09-30 Tom Tromey <tromey@redhat.com>
5629
5630 * gdb.base/macscp.exp: Add completion tests.
5631 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
5632 (TWENTY_THREE): Likewise.
5633 (FORTY_EIGHT): Likewise.
5634
5635 2008-09-30 Tom Tromey <tromey@redhat.com>
5636
5637 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
5638 everywhere.
5639 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
5640
5641 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5642
5643 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
5644 testcase is derived from. Fix racy dependency on an expected PID
5645 number. No longer support the testcase on Linux kernel 2.4.x.
5646
5647 2008-09-27 Tom Tromey <tromey@redhat.com>
5648
5649 * gdb.base/macscp.exp: Add tests for stringification, splicing,
5650 and varargs.
5651
5652 2008-09-22 Pedro Alves <pedro@codesourcery.com>
5653
5654 * lib/mi-support.exp (mi_expect_interrupt): New.
5655 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
5656 from gdb.mi/mi-nonstop.exp.
5657 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
5658 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
5659 lib/mi-support.exp.
5660 Use mi_check_thread_states throughout. Avoid ".*" and do not
5661 require an anchor after -exec-run.
5662
5663 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
5664
5665 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
5666 stop is pending. Avoid ".*" when two stops are pending.
5667 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
5668 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
5669 newlines in fullnames.
5670 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
5671 (mi_expect_stop): Update comments. Only anchor in sync mode.
5672 Do not match newlines.
5673 (mi_send_resuming_command_raw): Always return status.
5674 (mi_get_stop_line): Do not match more than one line by accident.
5675 Only anchor in sync mode.
5676 (mi_run_inline_test): If -exec-next fails, give up.
5677
5678 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5679
5680 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
5681 on SPU.
5682
5683 2008-09-10 Joel Brobecker <brobecker@adacore.com>
5684
5685 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
5686
5687 2008-09-10 Joel Brobecker <brobecker@adacore.com>
5688
5689 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
5690 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
5691 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
5692 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
5693 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
5694 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
5695 gdb.ada/interface.exp, gdb.ada/null_array.exp,
5696 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
5697 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
5698 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
5699 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
5700 Include the "= " sequence in the expected output of print tests.
5701
5702 2008-09-10 Joel Brobecker <brobecker@adacore.com>
5703
5704 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
5705 description for boolean types.
5706
5707 2008-09-09 Pedro Alves <pedro@codesourcery.com>
5708
5709 * gdb.base/hook-stop-continue.c: New.
5710 * gdb.base/hook-stop-continue.exp: New.
5711
5712 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5713
5714 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
5715
5716 2008-09-08 Jerome Guitton <guitton@adacore.com>
5717
5718 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
5719 (stack_check_probe_2, stack_check_probe_loop_1)
5720 (stack_check_probe_loop_2): New functions.
5721 (main): Add call to these new functions.
5722 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
5723 functions, check that the breakpoint is inserted at the appropriate
5724 location.
5725 (insert_breakpoint): Slightly refine this procedure so that it can
5726 be called several times in the test.
5727
5728 2008-09-08 Jerome Guitton <guitton@adacore.com>
5729
5730 * gdb.base/stack-checking.c: New file.
5731 * gdb.base/stack-checking.exp: New file.
5732
5733 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5734
5735 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
5736 * gdb.arch/altivec-regs.exp: Likewise.
5737 * gdb.arch/vsx-regs.exp: Likewise.
5738
5739 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5740
5741 * gdb.arch/ppc-fp.exp: New file.
5742 * gdb.arch/ppc-fp.c: New file.
5743
5744 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5745
5746 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
5747 lest gcc-4.3.1 optimizes the whole thing away.
5748
5749 2008-09-04 Michael Snyder <msnyder@vmware.com>
5750
5751 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
5752 as "at" (for non-debug functions such as _start).
5753
5754 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5755
5756 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
5757 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
5758 software watchpoints.
5759 * gdb.base/watch_thread_num.exp: Likewise.
5760
5761 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
5762
5763 * gdb.arch/i386-bp_permanent.exp: New test.
5764
5765 2008-08-24 Tom Tromey <tromey@redhat.com>
5766
5767 * gdb.base/maint.exp: Update "maint print type".
5768
5769 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
5770
5771 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
5772 support. Adjust the order of "*running" notifications.
5773 * gdb.mi/non-stop.c: Don't cast from int to void* and
5774 back.
5775
5776 2008-08-20 Mark Kettenis <kettenis@gnu.org>
5777
5778 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
5779 expect to find it in the "info frame" output.
5780
5781 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
5782
5783 * gdb.base/interp.exp: Always consume both prompts.
5784
5785 2008-08-20 Pedro Alves <pedro@codesourcery.com>
5786
5787 * gdb.base/pending.exp: Test pending breakpoints without symbols
5788 loaded.
5789
5790 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
5791
5792 * lib/mi-support.exp (mi_expect_stop): Produce
5793 more details on failures.
5794 * gdb.mi/mi-nonstop.exp: New.
5795 * gdb.mi/non-stop.c: New.
5796
5797 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
5798
5799 * gdb.mi/mi-async.exp: Use 'set target-async'.
5800 * lib/mi-support.exp: Use 'set/show target-async'.
5801
5802 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
5803
5804 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
5805
5806 2008-08-17 Tom Tromey <tromey@redhat.com>
5807
5808 * gdb.base/help.exp (help catch): Rewrite.
5809
5810 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5811
5812 * gdb.base/define.exp: Test indented command documentation.
5813 * gdb.python/python.exp: Test indented multi-line command.
5814
5815 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
5816
5817 * testsuite/gdb.arch/vsx-regs.c: New source file.
5818 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
5819 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
5820
5821 2008-08-14 Tom Tromey <tromey@redhat.com>
5822
5823 * gdb.base/macscp.exp: Add regression test for "macro define" or
5824 "macro undef" with no arguments.
5825
5826 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5827
5828 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
5829
5830 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5831
5832 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
5833
5834 2008-08-06 Tom Tromey <tromey@redhat.com>
5835
5836 * gdb.python/python.exp: New file.
5837
5838 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5839
5840 Fix for PR gdb/1543.
5841 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
5842 $LOCATION.
5843 (location): New variable.
5844 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
5845 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
5846 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
5847 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
5848 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
5849 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
5850 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
5851 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
5852 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
5853 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
5854 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
5855 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
5856 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
5857 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
5858 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
5859 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
5860 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
5861 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
5862 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
5863 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
5864 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
5865 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
5866 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
5867 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
5868 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
5869 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
5870 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
5871 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
5872 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
5873 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
5874 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
5875 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
5876 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
5877 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
5878 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
5879 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
5880 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
5881 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
5882 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
5883 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
5884 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
5885 gdb.base/type-opaque.exp, gdb.base/until.exp,
5886 gdb.base/value-double-free.c, gdb.base/varargs.exp,
5887 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
5888 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
5889 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5890 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
5891 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
5892 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5893 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5894 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
5895 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
5896 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
5897 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
5898 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
5899 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
5900 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
5901 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
5902 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
5903 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
5904 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
5905 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
5906 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
5907 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
5908 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
5909 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
5910 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
5911 gdb.pascal/types.exp, gdb.stabs/weird.exp,
5912 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
5913 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
5914 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
5915 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
5916 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
5917 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
5918 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
5919 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
5920 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
5921 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
5922 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
5923 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
5924 lib/mi-support.exp, lib/trace-support.exp: Remove reference
5925 to bug-gdb@prep.ai.mit.edu .
5926
5927 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
5928
5929 * lib/mi-support.exp (mi_load_shlibs): New.
5930 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
5931
5932 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
5933
5934 * lib/mi-support.exp (get_mi_thread_list)
5935 (check_mi_and_console_threads): New, moved from ...
5936 * gdb.mi/mi-pthread.exp: ...here.
5937 * gdb.mi/gdb669.exp (get_mi_thread_list)
5938 (check_mi_and_console_threads): Delete.
5939 * gdb.mi/mi2-pthread.exp: Likewise.
5940
5941 2008-07-28 Tom Tromey <tromey@redhat.com>
5942
5943 * Makefile.in (just-check): Remove. Move body to...
5944 (check): ... here.
5945
5946 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5947
5948 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
5949 Add a test for duplicated SIGINTs.
5950
5951 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5952
5953 * gdb.threads/schedlock.exp (get_args): Update to work for any
5954 value of NUM.
5955 (Top level): Report the number of threads that did not resume.
5956
5957 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5958
5959 * gdb.dwarf2/dw2-compressed.S: Also define __start.
5960
5961 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5962
5963 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
5964 non-MI prompt.
5965
5966 2008-07-26 Tom Tromey <tromey@redhat.com>
5967
5968 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
5969 (function_struct, function_struct_ptr): New globals.
5970 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
5971 function pointer in a struct.
5972
5973 2008-07-26 Tom Tromey <tromey@redhat.com>
5974
5975 * gdb.base/macscp.exp: Add test for macro lexing bug.
5976
5977 2008-07-18 Tom Tromey <tromey@redhat.com>
5978
5979 * gdb.base/macscp.exp: Add macro tests.
5980
5981 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5982
5983 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
5984
5985 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5986
5987 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
5988
5989 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
5990
5991 * gdb.cp/class2.exp: fix for failure on spu-elf
5992
5993 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5994
5995 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
5996
5997 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5998
5999 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6000
6001 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6002
6003 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6004
6005 2008-07-11 Kevin Buettner <kevinb@redhat.com>
6006
6007 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
6008 of regexp to account for changes made to GDB in the printing of
6009 byte vectors.
6010
6011 2008-07-11 Tom Tromey <tromey@redhat.com>
6012
6013 * gdb.base/completion.exp: Add 'help' completion test.
6014
6015 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6016
6017 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6018
6019 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6020
6021 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6022
6023 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6024
6025 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6026
6027 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6028
6029 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6030
6031 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6032
6033 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6034
6035 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6036
6037 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6038 previous commit. Add a comment.
6039
6040 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6041
6042 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6043
6044 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6045
6046 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6047
6048 2008-06-27 Pedro Alves <pedro@codesourcery.com>
6049
6050 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
6051 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
6052 compiling an executable, link in an object that forces unbuffered
6053 output.
6054 * lib/set_unbuffered_mode.c: New file.
6055
6056 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6057
6058 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6059
6060 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6061
6062 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
6063 mi_expect_stop.
6064 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
6065 Demand that *running is output.
6066 (detect_async): Perform checking every time.
6067 (mi_send_resuming_command): Extract everything into...
6068 (mi_send_resuming_command_raw): ...this.
6069 (mi_expect_stop): Don't accept any output before *stopped.
6070
6071 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
6072
6073 Robustify mi-simplerun.
6074 * gdb.mi/basics.c (main): Add a call to sleep.
6075 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
6076 * gdb.mi/mi2-cli.exp: Likewise.
6077 * gdb.mi/mi-break.exp: Likewise.
6078
6079 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6080
6081 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6082
6083 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6084
6085 * gdb.mi/mi-console.exp: Adjust.
6086 * gdb.mi/mi-syn-frame.exp: Adjust.
6087 * gdb.mi/mi2-console.exp: Adjust.
6088 * gdb.mi/mi2-syn-frame.exp: Adjust.
6089 * lib/mi-support.exp (mi_run_cmd): Adjust.
6090 (mi_send_resuming_command): Adjust.
6091
6092 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
6093
6094 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
6095 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
6096 testing of stopped.
6097 * gdb.mi/mi2-syn-frame.exp: Likewise.
6098 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
6099 (async, detect_async): New.
6100 (mi_expect_stop, mi_continue_to_line): Adjust expectation
6101 depending on if we're running in sync or async mode.
6102
6103 2008-06-09 Tom Tromey <tromey@redhat.com>
6104
6105 * gdb.base/completion.exp: New tests for field name completion
6106 with spaces, and field name completion with '->'.
6107
6108 2008-06-06 Tom Tromey <tromey@redhat.com>
6109
6110 * gdb.base/break1.c (struct some_struct): New struct.
6111 (values): New global.
6112 * gdb.base/completion.exp: Add field name completion test.
6113
6114 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6115
6116 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6117 to pointer.
6118 * gdb.cp/call-c.cc: Likewise.
6119
6120 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6121
6122 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6123 annotation.
6124
6125 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6126 Pedro Alves <pedro@codesourcery.com>
6127
6128 * gdb.threads/execl.c, gdb.threads/execl1.c,
6129 gdb.threads/execl.exp: New tests.
6130
6131 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6132 Daniel Jacobowitz <dan@codesourcery.com>
6133
6134 * gdb.cp/exception.exp: Activate test, make it work with pending
6135 catchpoints.
6136
6137 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6138
6139 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6140
6141 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6142
6143 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6144 now printed.
6145 * gdb.mi/mi2-var-cmd.exp: Likewise.
6146
6147 2008-05-27 Andreas Schwab <schwab@suse.de>
6148
6149 * gdb.base/frame-args.exp: Handle arguments that are optimized
6150 out.
6151
6152 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6153
6154 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6155 quiet for ppc32 and group options into a single variable.
6156
6157 2008-05-23 Joel Brobecker <brobecker@adacore.com>
6158
6159 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
6160 of zero-size elements.
6161 * gdb.ada/null_array.exp: Test printing this new array.
6162
6163 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6164
6165 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6166
6167 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6168
6169 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6170 of the "finish" command.
6171
6172 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6173
6174 * gdb.base/annota1.exp: Test for new annotation.
6175
6176 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6177
6178 * gdb.base/fixsection.exp: New file.
6179 * gdb.base/fixsection0.c: New file.
6180 * gdb.base/fixsection1.c: New file.
6181
6182 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6183
6184 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6185 * gdb.base/annota3.exp: Likewise.
6186
6187 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6188
6189 * gdb.base/watch_thread_num.exp: Don't run tests that require
6190 watchpoints if the target doesn't support them.
6191
6192 2008-05-12 Doug Evans <dje@google.com>
6193
6194 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6195
6196 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6197
6198 * gdb.ada/assign_1.exp: New testcase.
6199
6200 2008-05-09 Doug Evans <dje@google.com>
6201
6202 * gdb.base/find.exp: New file.
6203 * gdb.base/find.c: New file.
6204
6205 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
6206
6207 * gdb.base/commands.exp (watchpoint_command_test): Handle
6208 gdb,no_hardware_watchpoints.
6209 * gdb.base/float.exp: Allow ARM targets without floating point.
6210 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
6211
6212 2008-05-06 Jerome Guitton <guitton@adacore.com>
6213 Joel Brobecker <brobecker@adacore.com>
6214
6215 * gdb.ada/lang_switch: New test program.
6216 * gdb.ada/lang_switch.exp: New testcase.
6217
6218 2008-05-05 Doug Evans <dje@google.com>
6219
6220 * gdb.base/help.exp (disassemble): Update expected help text.
6221
6222 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6223
6224 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6225
6226 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6227
6228 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6229 different times.
6230
6231 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6232
6233 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
6234 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
6235 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
6236 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
6237
6238 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6239
6240 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6241 notification to appear.
6242
6243 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6244
6245 * gdb.base/fullname.c: New file.
6246 * gdb.base/fullname.exp: New file.
6247 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6248
6249 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6250
6251 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6252 expressions with macros.
6253
6254 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6255
6256 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6257
6258 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6259
6260 * gdb.base/completion.exp: Handle lack of other symbols beginning
6261 with "a".
6262
6263 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6264
6265 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6266
6267 * gdb.asm/asmsrc1.s: Add scratch space.
6268
6269 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6270 Daniel Jacobowitz <dan@codesourcery.com>
6271
6272 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
6273 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
6274 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
6275
6276 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6277
6278 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6279
6280 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6281
6282 * gdb.base/info-target.exp: New testcase.
6283
6284 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6285
6286 * gdb.cp/hang.exp: Use .cc instead of .C.
6287 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
6288 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
6289
6290 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6291
6292 * gdb.base/gdb1250.exp: Remove perror.
6293 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6294
6295 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6296
6297 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6298 .2byte.
6299
6300 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6301
6302 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6303 (maybe_kfail): New.
6304
6305 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6306
6307 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6308
6309 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6310
6311 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
6312 * gdb.mi/mi2-syn-frame.exp: Likewise.
6313 * lib/mi-support.exp: Likewise.
6314
6315 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6316
6317 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
6318 to specify regexp for the location to stop at.
6319 * gdb.base/break-always.c: New.
6320 * gdb.base/break-always.exp: New.
6321
6322 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
6323
6324 * lib/mi-support.exp (mi_runto_helper): Adjust
6325 for the original-location field.
6326 (mi_create_breakpoint, mi_list_breakpoints): New.
6327 * gdb.mi/mi-break.exp: Adjust.
6328 * gdb.mi/mi2-break.exp: Adjust.
6329 * gdb.mi/mi-pending.exp: Adjust.
6330 * gdb.mi/mi-simplerun.exp: Adjust.
6331 * gdb.mi/mi2-simplerun.exp: Adjust.
6332 * gdb.mi/mi-syn-frame.exp: Adjust.
6333 * gdb.mi/mi2-syn-frame.exp: Adjust.
6334 * gdb.mi/mi-until.exp: Adjust.
6335 * gdb.mi/mi2-until.exp: Adjust.
6336 * gdb.mi/mi-var-display.exp: Adjust.
6337 * gdb.mi/mi2-var-display.exp: Adjust.
6338 * gdb.mi/mi-watch.exp: Adjust.
6339 * gdb.mi/mi2-watch.exp: Adjust.
6340
6341 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6342
6343 * aclocal.m4: Add override.m4.
6344 * configure: Regenerate.
6345
6346 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
6347
6348 * gdb.mi/var-cmd.c (do_at_tests): Verify that
6349 '-var-update --all-values' reports new value even the type
6350 of a variable object has changed.
6351
6352 2008-04-18 Craig Silverstein <csilvers@google.com>
6353
6354 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6355 files.
6356
6357 2008-04-18 Joel Brobecker <brobecker@adacore.com>
6358
6359 * gdb.ada/atomic_enum: New test program.
6360 * gdb.ada/atomic_enum.exp: New testcase.
6361
6362 2008-04-17 Doug Evans <dje@google.com>
6363
6364 * gdb.opt/Makefile.in: Fix whitespace.
6365
6366 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6367
6368 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6369
6370 2008-04-17 Doug Evans <dje@google.com>
6371
6372 * gdb.base/hashline1.exp: New testcase.
6373 * gdb.base/hashline2.exp: New testcase.
6374 * gdb.base/hashline2.exp: New testcase.
6375
6376 2008-04-17 Pedro Alves <pedro@codesourcery.com>
6377
6378 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6379
6380 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
6381
6382 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
6383 temporary breakpoint to match "Temporary breakpoint".
6384 * gdb.base/break.exp (delete_breakpoints): Likewise.
6385 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
6386 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
6387 * gdb.base/display.exp: Likewise.
6388 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
6389 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
6390 * gdb.base/restore.exp (restore_tests): Likewise.
6391 * gdb.base/sepdebug.exp: Likewise.
6392 * gdb.base/watchpoint.exp: Likewise.
6393 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
6394 * gdb.mi/mi-pending.exp: Likewise.
6395 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
6396 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
6397 * gdb.mi/mi-var-cmd.exp: Likewise.
6398 * gdb.mi/mi-var-display.exp: Likewise.
6399 * gdb.mi/mi2-cli.exp: Likewise.
6400 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
6401 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
6402 * gdb.mi/mi2-var-display.exp: Likewise.
6403 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
6404 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
6405 new "disp" field.
6406 (mi_expect_stop): Move after_reason argument to be really after
6407 reason. This is to support fix for PR2424.
6408
6409 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6410
6411 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6412
6413 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
6414
6415 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
6416 field. Add more floating varobj tests.
6417 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
6418 field.
6419 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
6420 (main): Call do_at_tests.
6421 * lib/mi-support.exp (mi_create_floating_varobj)
6422 (mi_varobj_update_with_type_change): New.
6423
6424 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
6425
6426 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
6427 option of -var-evaluate-expression.
6428 * gdb.mi/mi2-var-display.exp: Likewise.
6429
6430 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
6431
6432 Introduce test setup helpers.
6433 * lib/gdb.exp (build_executable, clean_restart)
6434 (prepare_for_testing): New.
6435 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
6436 * gdb.base/return.exp: Likewise.
6437 * gdb.base/ending-run.exp: Likewise.
6438
6439 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
6440
6441 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6442 Interface (MI) responses.
6443
6444 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6445
6446 * gdb.cp/breakpoint.cc: New code to test conditions involving
6447 member variables.
6448 * gdb.cp/breakpoint.exp: Test condition involving member
6449 variables.
6450
6451 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6452
6453 * lib/mi-support.exp (mi_expect_stop): New.
6454 (mi_run_cmd): Change the
6455 token. Use mi_send_resuming_command, use
6456 mi_expect_stop.
6457 (mi_execute_to_helper): Rename to mi_execute_to.
6458 (mi_send_resuming_command): Add more error patterns.
6459 (mi_wait_for_stop): Renamed to...
6460 (mi_get_stop_line): ...this.
6461 (mi_run_inline_test): Adjust.
6462
6463 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
6464 * gdb.mi/mi-console.exp: Likewise.
6465 * gdb.mi/mi-pending.exp: Likewise.
6466 * gdb.mi/mi-simplerun.exp: Likewise.
6467 * gdb.mi/mi-stack.exp: Likewise.
6468 * gdb.mi/mi-stepi.exp: Likewise.
6469 * gdb.mi/mi-syn-frame.exp: Add comment.
6470 * gdb.mi/mi-until.exp: Likewise.
6471 * gdb.mi/mi-var-display.exp: Likewise.
6472 * gdb.mi/mi-watch.exp: Likewise.
6473 * gdb.mi/mi2-cli.exp: Likewise.
6474 * gdb.mi/mi2-console.exp: Likewise.
6475 * gdb.mi/mi2-simplerun.exp: Likewise.
6476 * gdb.mi/mi2-stack.exp: Likewise.
6477 * gdb.mi/mi2-stepi.exp: Likewise.
6478 * gdb.mi/mi2-until.exp: Likewise.
6479 * gdb.mi/mi2-var-display.exp: Likewise.
6480 * gdb.mi/mi2-watch.exp: Likewise.
6481
6482 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6483
6484 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6485
6486 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6487
6488 2008-04-04 Pedro Alves <pedro@codesourcery.com>
6489
6490 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
6491 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
6492 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
6493 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
6494 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
6495 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
6496 expect an mi error duplicated in stderr.
6497
6498 2008-04-03 Joel Brobecker <brobecker@adacore.com>
6499
6500 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
6501 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
6502 Add a couple of tests that verify the behavior when the new setting
6503 is set to "cancel" and "all".
6504 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
6505 "ask" before we start the testing.
6506
6507 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6508
6509 * gdb.cp/casts.cc: Add class reference variables.
6510 * gdb.cp/casts.exp: New test cases for up/down casting references.
6511
6512 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
6513
6514 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
6515 instead of beginning to make an extra test pass.
6516 * gdb.mi/mi2-var-display.exp: Likewise.
6517
6518 2008-03-31 Maciej W. Rozycki <macro@mips.com>
6519
6520 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6521
6522 2008-03-31 Markus Deuling <deuling@de.ibm.com>
6523 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6524
6525 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6526 value. Add xfail for older kernels.
6527
6528 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
6529
6530 Bring mi-support in line with gdb.exp.
6531 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
6532 (mi_gdb_start): New function.
6533
6534 2008-03-28 Maciej W. Rozycki <macro@mips.com>
6535
6536 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6537
6538 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6539
6540 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6541 * gdb.mi/mi2-var-display.exp: Likewise.
6542
6543 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6544
6545 * lib/mi-support.exp (mi_create_varobj_checked): New.
6546 (mi_list_varobj_children): Allow to check for a
6547 value.
6548 (mi_list_array_varobj_children): New.
6549
6550 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6551 and mi_list_varobj_children, as opposed to hardcoding
6552 expected strings.
6553 * gdb.mi/gdb701.exp: Likewise.
6554 * gdb.mi/gdb792.exp: Likewise.
6555 * gdb.mi/mi-var-block.exp: Likewise.
6556 * gdb.mi/mi-var-cmd.exp: Likewise.
6557 * gdb.mi/mi-var-invalidate.exp: Likewise.
6558 * gdb.mi/mi2-var-block.exp: Likewise.
6559 * gdb.mi/mi2-var-child.exp: Likewise.
6560 * gdb.mi/mi2-var-cmd.exp: Likewise.
6561 * gdb.mi/mi2-var-display.exp: Likewise.
6562
6563 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6564
6565 Fix random false FAILs on i386.
6566 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
6567
6568 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6569
6570 PR gdb/544
6571 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
6572
6573 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6574
6575 PR gdb/544
6576 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
6577
6578 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6579
6580 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
6581 fixed PR gdb/544.
6582
6583 2008-03-21 Pedro Alves <pedro@codesourcery.com>
6584
6585 * gdb.threads/fork-child-threads.exp: Test next over fork.
6586
6587 2008-03-21 Chris Demetriou <cgd@google.com>
6588
6589 * gdb.base/break.exp (rbreak junk): New test for rbreak
6590 "Junk at end of arguments" issue.
6591
6592 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6593
6594 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
6595 *& to work on created array elements.
6596 (Top level): Test print $pc with a file. Test string operations
6597 without a target.
6598 * gdb.base/ptype.exp: Do not expect *& to work on created array
6599 elements.
6600
6601 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6602
6603 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6604 gdb.threads/staticthreads.exp: Update exit query.
6605
6606 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
6607
6608 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
6609
6610 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
6611
6612 * gdb.base/watchpoint.c (global_ptr, func4): New.
6613 (main): Call func4.
6614 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
6615 (test_inaccessible_watchpoint): New.
6616
6617 2008-02-29 Maciej W. Rozycki <macro@mips.com>
6618
6619 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
6620 select the largest.
6621
6622 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6623
6624 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
6625 frames-invalid annotations.
6626
6627 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
6628
6629 * gdb.base/assign.exp: avoid same output for different tests.
6630
6631 2008-02-27 Doug Evans <dje@google.com>
6632
6633 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
6634 for bug 1738.
6635 (breakpoint_to_handler_entry): Ditto.
6636
6637 2008-02-27 Joel Brobecker <brobecker@adacore.com>
6638
6639 * gdb.base/ending-run.exp: Use the first line of code inside
6640 function body to test breakpoints.
6641 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
6642 location where the breakpoint is inserted when using the line
6643 where a function is declared. Fix typo in the description of
6644 one of the tests.
6645 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
6646
6647 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6648
6649 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
6650 tests.
6651
6652 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6653
6654 * gdb.base/args.exp: avoid same output for tests
6655 with single quotes.
6656
6657 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
6658
6659 * gdb.base/annota1.exp: Adjust for 'info break'
6660 format changes.
6661 * gdb.base/annota3.exp: Likewise.
6662 * gdb.base/break.exp: Likewise.
6663 * gdb.base/condbreak.exp: Likewise.
6664 * gdb.base/pending.exp: Likewise.
6665 * gdb.base/sepdebug.exp: Likewise.
6666 * gdb.base/unload.exp: Likewise.
6667 * gdb.cp/ovldbreak.exp: Likewise.
6668 * gdb.mi/mi-pending.exp: Likewise.
6669
6670 2008-02-07 Doug Evans <dje@google.com>
6671
6672 * gdb.cp/mb-inline.exp: New.
6673 * gdb.cp/mb-inline.h: New.
6674 * gdb.cp/mb-inline1.cc: New.
6675 * gdb.cp/mb-inline2.cc: New.
6676
6677 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
6678
6679 * gdb.pascal/floats.pas: New test program.
6680 * gdb.pascal/floats.exp: New testcase.
6681
6682 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
6683
6684 * gdb.base/callfuncs.c (t_float_many_args): New function.
6685 (t_double_many_args): New function.
6686 * gdb.base/callfuncs.exp: Add tests for exceeding float
6687 and double parameters passed through the stack.
6688
6689 2008-02-05 Joel Brobecker <brobecker@adacore.com>
6690
6691 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
6692 gdb.ada/complete/foo.adb: New files.
6693 * gdb.ada/complete.exp: New testcase.
6694
6695 2008-02-03 Doug Evans <dje@google.com>
6696
6697 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
6698
6699 * gdb.cp/gdb2384.exp: New file.
6700 * gdb.cp/gdb2384.cc: New file.
6701 * gdb.cp/gdb2384-base.h: New file.
6702 * gdb.cp/gdb2384-base.cc: New file.
6703
6704 2008-02-02 Doug Evans <dje@google.com>
6705
6706 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
6707
6708 2007-02-01 Joel Brobecker <brobecker@adacore.com>
6709
6710 * gdb.ada/sym_print_name: New test program.
6711 * gdb.ada/sym_print_name.exp: New testcase.
6712
6713 2007-02-01 Joel Brobecker <brobecker@adacore.com>
6714
6715 * gdb.ada/nested/hello.adb: New file.
6716 * gdb.ada/nested.exp: New testcase.
6717 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
6718
6719 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
6720
6721 * gdb.mi/basic.c (return_1): New function.
6722 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
6723 don't cause future evaluations of function to report
6724 creation of internal breakpoints.
6725
6726 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
6727
6728 * gdb.mi/mi-break.exp (test_error): New.
6729 Call it.
6730
6731 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
6732
6733 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
6734 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
6735
6736 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6737
6738 * gdb.pascal/integers.pas: New test program.
6739 * gdb.pascal/integers.exp: New testcase.
6740
6741 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6742
6743 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
6744
6745 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
6746
6747 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
6748 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
6749
6750 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
6751
6752 * gdb.ada/formatted_ref: New test program.
6753 * gdb.ada/formatted_ref.exp: New testcase.
6754
6755 * gdb.cp/formatted-ref.cc: New file.
6756 * gdb.cp/formatted-ref.exp: New testcase.
6757
6758 2008-01-30 Joel Brobecker <brobecker@adacore.com>
6759
6760 * gdb.base/ptype.exp: Add testing of "ptype $pc".
6761
6762 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
6763
6764 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
6765 (test_file_list_exec_source_file): Update to new macro-info field.
6766
6767 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
6768
6769 * gdb.ada/exprs: New test program.
6770 * gdb.ada/exprs.exp: New testcase.
6771
6772 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6773
6774 * dfp-test.c (DELTA, DELTA_B): New definitions.
6775 (double_val1, double_val2, double_val3, double_val4, double_val5,
6776 double_val6, double_val7, double_val8, double_val9, double_val10,
6777 double_val11, double_val12, double_val13, double_val14, dec32_val1,
6778 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
6779 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
6780 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
6781 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
6782 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
6783 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
6784 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
6785 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
6786 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
6787 dec128_val16): New global variables.
6788 (decimal_dec128_align): New function.
6789 (decimal_mixed): Likewise.
6790 (decimal_many_args_dec32): Likewise.
6791 (decimal_many_args_dec64): Likewise.
6792 (decimal_many_args_dec128): Likewise.
6793 (decimal_many_args_mixed): Likewise.
6794 * dfp-test.exp: Add tests calling new inferior functions.
6795
6796 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6797
6798 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
6799 gdb.server/ext-run.exp: New files.
6800 * lib/gdbserver-support.exp (gdbserver_download): New.
6801 (gdbserver_start): New. Update gdbserver expected
6802 output.
6803 (gdbserver_spawn): Use them.
6804 (gdbserver_start_extended): New.
6805
6806 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6807
6808 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
6809 Run on GNU/Linux.
6810 (do_exec_tests): Check for systems which do not support catchpoints.
6811 Do not match START.
6812 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
6813 Run on GNU/Linux. Enable verbose output.
6814 (check_fork_catchpoints): New.
6815 (explicit_fork_child_follow, catch_fork_child_follow)
6816 (tcatch_fork_parent_follow): Update expected messages.
6817 (do_fork_tests): Use check_fork_catchpoints.
6818 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
6819 Run on GNU/Linux. Enable verbose output.
6820 (check_vfork_catchpoints): New.
6821 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
6822 expected messages.
6823 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
6824
6825 2008-01-29 Jim Blandy <jimb@red-bean.com>
6826
6827 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
6828 host' errors.
6829 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
6830
6831 2008-01-29 Jim Blandy <jimb@red-bean.com>
6832
6833 * gdb.threads/sigthread.c: Use barriers to ensure that
6834 child_thread and child_thread_two are always initialized before we
6835 start to use them.
6836
6837 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
6838
6839 * gdb.base/watchpoint-solib.exp: New.
6840 * gdb.base/watchpoint-solib.c: New.
6841 * gdb.base/watchpoint-solib-shr.c: New.
6842
6843 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
6844
6845 * gdb.base/gdb1056.exp: Add unsigned integer test.
6846
6847 2008-01-28 Doug Evans <dje@google.com>
6848
6849 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
6850
6851 2008-01-27 Jim Blandy <jimb@codesourcery.com>
6852
6853 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
6854
6855 * gdb.base/expand-psymtabs.exp: Doc fix.
6856
6857 2008-01-26 Mark Kettenis <kettenis@gnu.org>
6858
6859 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
6860
6861 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
6862
6863 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
6864 -var-set-format.
6865
6866 2008-01-23 Chris Demetriou <cgd@google.com>
6867
6868 * gdb.threads/thread_events.c: New testcase source file.
6869 * gdb.threads/thread_events.exp: New testcase expect file.
6870
6871 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
6872
6873 * lib/gdb.exp: Add the variable octal.
6874
6875 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
6876 -var-set-format.
6877
6878 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
6879 Vladimir Prus <vladimir@codesourcery.com>
6880
6881 * gdb.base/float.exp: Allow missing floating point for m68k and
6882 PowerPC.
6883
6884 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
6885
6886 * gdb.mi/basics.c: Setup for testing breakpoints
6887 ignore count.
6888 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
6889 * gdb.mi/mi-cli.exp: Adjust.
6890 * gdb.mi/mi2-cli.exp: Adjust.
6891
6892 2008-01-17 Pedro Alves <pedro@codesourcery.com>
6893
6894 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
6895 and 'dummy_ptr' integer pointer. Initialize struct_declarations
6896 with dummy_ptr's address.
6897 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
6898 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
6899 all targets.
6900 * gdb.mi/mi2-var-child.exp: Likewise.
6901
6902 2008-01-09 Joel Brobecker <brobecker@adacore.com>
6903
6904 * gdb.ada/null_array: New test program.
6905 * gdb.ada/null_array.exp: New testcase.
6906
6907 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
6908
6909 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
6910 with required float modifiers.
6911
6912 2008-01-08 Joel Brobecker <brobecker@adacore.com>
6913
6914 * gdb.ada/funcall_param: New test program.
6915 * gdb.ada/funcall_param.exp: New testcase.
6916
6917 2008-01-08 Joel Brobecker <brobecker@adacore.com>
6918
6919 * gdb.ada/arrayparam: New test program.
6920 * gdb.ada/arrayparam.exp: New testcase.
6921
6922 2008-01-08 Joel Brobecker <brobecker@adacore.com>
6923
6924 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
6925 landed. Should also fix random failures in the test following it.
6926
6927 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
6928
6929 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
6930 for expressions with decimal float values.
6931 (test_dfp_conversions): New function to test casts to and from
6932 decimal float types.
6933 Call test_dfp_conversions.
6934 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
6935 elements.
6936 (main): Initialize ds.float4 and ds.double8 elements.
6937 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
6938 string to new error message.
6939 (d64_set_tests): Likewise.
6940 (d128_set_tests): Likewise.
6941 Add tests for expressions with decimal float variables. Add tests for
6942 conversions to and from decimal float types.
6943
6944 2008-01-05 Joel Brobecker <brobecker@adacore.com>
6945
6946 * gdb.ada/packed_tagged/comp_bug.adb: New file.
6947 * gdb.ada/packed_tagged.exp: New testcase.
6948
6949 2008-01-04 Joel Brobecker <brobecker@adacore.com>
6950
6951 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
6952 gdb.ada/homonym/homonym_main.adb: New files.
6953 * gdb.ada/homonym.exp: New testcase.
6954
6955 2008-01-04 Joel Brobecker <brobecker@adacore.com>
6956
6957 * gdb.ada/packed_array.exp: Add testing of references to
6958 a packed array.
6959
6960 2008-01-04 Joel Brobecker <brobecker@adacore.com>
6961
6962 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
6963 New files.
6964 * gdb.ada/type_coercion.exp: New testcase.
6965
6966 2008-01-04 Joel Brobecker <brobecker@adacore.com>
6967
6968 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
6969 gdb.ada/tagged/foo.adb: New file.
6970 * gdb.ada/tagged.exp: New testcase.
6971
6972 2008-01-04 Joel Brobecker <brobecker@adacore.com>
6973
6974 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
6975 gdb.ada/ptype_field/foo.adb: New files.
6976 * gdb.ada/ptype_field.exp: New testcase.
6977
6978 2008-01-03 Joel Brobecker <brobecker@adacore.com>
6979
6980 * gdb.ada/print_pc.exp: New testcase.
6981
6982 2008-01-03 Joel Brobecker <brobecker@adacore.com>
6983
6984 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
6985 gdb.ada/taft_type/p.adb: New files.
6986 * gdb.ada/taft_type.exp: New testcase.
6987
6988 2008-01-03 Joel Brobecker <brobecker@adacore.com>
6989
6990 * gdb.ada/array_bounds/bar.adb: New file.
6991 * gdb.ada/array_bounds.exp: New testcase.
6992
6993 2008-01-03 Joel Brobecker <brobecker@adacore.com>
6994
6995 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
6996 gdb.ada/arrayptr/foo.adb: New files.
6997 * gdb.ada/arrayptr.exp: New testcase.
6998
6999 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7000
7001 * gdb.base/set-lang-auto.exp: New testcase.
7002
7003 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7004
7005 * gdb.ada/fun_addr/foo.adb: New file.
7006 * gdb.ada/fun_addr.exp: New testcase.
7007
7008 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7009
7010 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7011 New files
7012
7013 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7014
7015 * array_subscript_addr/p.adb: New file.
7016 * array_subscript_addr.exp: New testcase.
7017
7018 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7019
7020 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7021 New files.
7022 * gdb.ada/str_cmp_ref.exp: New testcase.
7023
7024 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7025
7026 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
7027 gdb.ada/fun_in_declare/foo.adb: New files.
7028 * gdb.ada/fun_in_declare.exp: New testcase.
7029
7030 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7031
7032 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
7033 gdb.ada/ref_param/pck.ads: New files.
7034 * gdb.ada/ref_param.exp: New testcase.
7035
7036 2008-01-01 Joel Brobecker <brobecker@adacore.com>
7037
7038 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
7039 gdb.ada/interface/foo.adb: New files.
7040 * gdb.ada/interface.exp: New testcase.
7041
7042 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7043
7044 * gdb.base/multi-forks.exp: Consume all output from child
7045 processes before proceeding to next test.
7046
7047 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7048
7049 * configure: Regenerated.
7050
7051 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7052
7053 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
7054 gdb.ada/fixed_cmp/fixed.adb: New files.
7055 * gdb.ada/fixed_cmp.exp: New testcase.
7056
7057 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7058
7059 * gdb.ada/boolean_expr.exp: New testcase.
7060
7061 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7062
7063 * gdb.base/multi-forks.exp: Doc fix.
7064
7065 2007-12-26 Joel Brobecker <brobecker@adacore.com>
7066
7067 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
7068 * gdb.ada/char_param.exp: Do not compile our test program with
7069 -gnata, this is unnecessary.
7070 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
7071
7072 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7073
7074 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
7075 gdb.ada/print_chars/foo.adb: New files.
7076 * gdb.ada/print_chars.exp: New testcase.
7077
7078 2007-12-24 Joel Brobecker <brobecker@adacore.com>
7079
7080 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
7081 gdb.ada/char_param/foo.adb: New files.
7082 * gdb.ada/char_param.exp: New testcase.
7083
7084 2007-12-22 Jim Blandy <jimb@codesourcery.com>
7085
7086 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
7087 hard-coding source line numbers into the test.
7088 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
7089 gdb_get_line_number to find.
7090
7091 2007-12-22 Joel Brobecker <brobecker@adacore.com>
7092
7093 * gdb.base/ptype.c (highest): New struct type.
7094 (the_highest): New variable of that type.
7095 (main): Add dummy assignment to a field of variable the_highest.
7096 * gdb.base/ptype.exp: Test type printing of our new variable.
7097
7098 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
7099
7100 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
7101 and record first explicitly generated thread number.
7102 Use that thread number for thread specific watchpoint test.
7103 Add iteration number to repetitive tests.
7104
7105 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7106 Jim Blandy <jimb@codesourcery.com>
7107
7108 * gdb.base/expand-psymtabs.c: New testcase
7109 source file.
7110 * gdb.base/expand-psymtabs.exp: New testcase
7111 expect file.
7112
7113 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7114
7115 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7116 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7117
7118 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7119
7120 * gdb.ada/frame_args/foo.adb: New file.
7121 * gdb.ada/frame_args/pck.ads: New file.
7122 * gdb.ada/frame_args/pck.adb: New file.
7123 * gdb.ada/frame_args.exp: New testcase.
7124
7125 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7126
7127 * gdb.base/frame-args.c: New file.
7128 * gdb.base/frame-args.exp: New testcase.
7129
7130 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7131 Joseph Myers <joseph@codesourcery.com>
7132
7133 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7134
7135 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7136
7137 * gdb.mi/mi-pending.exp: New.
7138 * gdb.mi/mi-pending.c: New.
7139 * gdb.mi/mi-pendshr.c: New.
7140
7141 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7142
7143 * gdb.base/default.exp: Update expected output for 'info catch'.
7144
7145 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7146
7147 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7148 must be set to binary.
7149
7150 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7151
7152 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7153
7154 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7155
7156 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7157 gdb.mi/mi-file-transfer.exp: New.
7158
7159 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7160
7161 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7162
7163 2007-11-22 Maciej W. Rozycki <macro@mips.com>
7164
7165 * gdb.trace/backtrace.exp: Fix a typo.
7166 * gdb.trace/circ.exp: Likewise.
7167 * gdb.trace/collection.exp: Likewise.
7168 * gdb.trace/limits.exp: Likewise.
7169 * gdb.trace/report.exp: Likewise.
7170 * gdb.trace/tfind.exp: Likewise.
7171 * gdb.trace/while-dyn.exp: Likewise.
7172
7173 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
7174
7175 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
7176 objects of pointers that can't be dereferenced are now
7177 "noneditable".
7178
7179 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7180
7181 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7182 (target_cpu): Remove.
7183
7184 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7185
7186 * gdb.base/ending-run.exp: Expect the list of cleared
7187 breakpoint to come in natural order, not the reversed one.
7188
7189 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7190
7191 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7192 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7193
7194 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7195
7196 * gdb.base/printcmds.exp: New function
7197 test_printf_with_dfp.
7198
7199 2007-11-02 Doug Evans <dje@google.com>
7200
7201 * gdb.disasm/t01_mov.s: Remove carriage returns.
7202 * gdb.disasm/t02_mova.s: Ditto.
7203 * gdb.disasm/t03_add.s: Ditto.
7204 * gdb.disasm/t04_sub.s: Ditto.
7205 * gdb.disasm/t05_cmp.s: Ditto.
7206 * gdb.disasm/t06_ari2.s: Ditto.
7207 * gdb.disasm/t07_ari3.s: Ditto.
7208 * gdb.disasm/t08_or.s: Ditto.
7209 * gdb.disasm/t09_xor.s: Ditto.
7210 * gdb.disasm/t10_and.s: Ditto.
7211 * gdb.disasm/t11_logs.s: Ditto.
7212 * gdb.disasm/t12_bit.s: Ditto.
7213 * gdb.disasm/t13_otr.s: Ditto.
7214
7215 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7216
7217 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7218
7219 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7220
7221 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7222 provide DFP support.
7223
7224 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
7225
7226 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
7227 Test "set powerpc vector-abi". Skip auto-detection tests for old
7228 toolchains.
7229
7230 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7231
7232 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7233 with [string compare].
7234
7235 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7236
7237 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7238 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7239
7240 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
7241
7242 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
7243 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
7244 * gdb.opt/Makefile.in: New makefile.
7245 * Makefile.in: Create new directory "gdb.opt".
7246 * configure.ac: Add "gdb.opt" directory.
7247 * configure: Regenerated.
7248
7249 2007-10-25 Doug Evans <dje@google.com>
7250
7251 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7252 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7253
7254 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7255 Thiago Jung Bauermann <bauerman@br.ibm.com>
7256
7257 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
7258 Floating Point expressions.
7259 * gdb.base/dfp-test.exp: new file adding tests for Decimal
7260 Floating Point variables.
7261 * gdb.base/dfp-test.c: new file containing program with Decimal
7262 Floating variables, used by gdb.base/dfp-test.exp.
7263
7264 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7265
7266 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7267
7268 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7269
7270 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
7271 compiling test case with GCC.
7272 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
7273
7274 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7275
7276 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7277 format changes.
7278
7279 2007-10-18 Michael Snyder <msnyder@specifix.com>
7280
7281 * gdb.base/dbx.exp: Add missing "-re " operator.
7282
7283 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
7284
7285 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
7286 * configure.ac: Removed trailing spaces after backslash.
7287 * gdb.modula2: New directory.
7288 * gdb.modula2/Makefile.in: New file.
7289 * gdb.modula2/unbounded-array.exp: New file.
7290 * gdb.modula2/unbounded1.c: New file.
7291
7292 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7293
7294 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7295
7296 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
7297
7298 * gdb.base/sigstep.c (main): Add checks for
7299 return values for setitimer call.
7300 Call setitimer again with itimer = ITIMER_REAL
7301 if first call to setitimer fails.
7302
7303 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7304
7305 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7306 of $timeout.
7307
7308 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7309
7310 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7311
7312 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7313
7314 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7315 of gdb_expect call, to avoid interruption.
7316
7317 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
7318
7319 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
7320 (v_unsigned_long_long, v_long_long_array)
7321 (v_signed_long_long_array, v_unsigned_long_long_array)
7322 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
7323 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
7324 [!NO_LONG_LONG]: New.
7325 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
7326 v_long_long_member.
7327
7328 (v_long_long_func, v_signed_long_long_func)
7329 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
7330 (main) [!NO_LONG_LONG]: Initialize long long variants.
7331
7332 * gdb.base/whatis.exp: If board file requests no_long_long, build
7333 test with NO_LONG_LONG defined. Test long long, signed long long,
7334 and unsigned long long variants but only if board file doesn't
7335 disable it.
7336
7337 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7338 Daniel Jacobowitz <dan@codesourcery.com>
7339
7340 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
7341 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
7342 * configure: Regenerated.
7343 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
7344 gdb.pascal/types.exp, lib/pascal.exp: New files.
7345
7346 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7347
7348 * gdb.cp/classes.exp (do_tests): Always step to the line after the
7349 call.
7350 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
7351 to return to the call.
7352 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
7353 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
7354 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
7355 * gdb.mi/mi-until.exp (test_until): Likewise.
7356 * gdb.mi/mi2-until.exp (test_until): Likewise.
7357
7358 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7359
7360 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7361 two-char array.
7362 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7363
7364 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7365
7366 * gdb.threads/watchthreads.c (thread_function): Sleep between
7367 iterations.
7368 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7369 at once for S/390. Generate matching fails and passes.
7370
7371 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7372
7373 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7374 the 'struct_declarations' variable to zeros.
7375
7376 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
7377
7378 * gdb.cp/mb-ctor.cc: New.
7379 * gdb.cp/mb-ctor.exp: New.
7380 * gdb.cp/mb-templates.cc: New.
7381 * gdb.cp/mb-templates.exp: New.
7382
7383 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7384
7385 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7386
7387 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7388
7389 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7390 targets.
7391 * configure: Regenerate.
7392
7393 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
7394
7395 * gdb.base/annota1.exp: Adjust for 'info break'
7396 format changes.
7397 * gdb.base/annota3.exp: Likewise.
7398 * gdb.base/break.exp: Likewise.
7399 * gdb.base/condbreak.exp: Likewise.
7400 * gdb.base/pending.exp: Likewise.
7401 * gdb.base/sepdebug.exp: Likewise.
7402 * gdb.base/unload.exp: Likewise.
7403 * gdb.base/ovldbreak.exp: Likewise.
7404
7405 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7406
7407 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7408 messages.
7409 * gdb.base/chng-syms.exp: Likewise.
7410 * gdb.base/unload.exp: Likewise.
7411
7412 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7413
7414 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7415
7416 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
7417
7418 * schedlock.c (NUM): Change to 1.
7419 (main): Use args[0] for the main thread.
7420 * schedlock.exp: Only expect two threads. Only issue one pass or fail
7421 regardless of the number of threads.
7422
7423 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7424
7425 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7426 type down.
7427 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7428 test.
7429 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7430 watchpoint type down.
7431 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7432 test.
7433
7434 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7435
7436 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
7437 Move all the tests here and run them twice, once using software
7438 watchpoints and once using hardware watchpoints.
7439 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
7440
7441 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7442
7443 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7444 test.
7445
7446 2007-09-10 Mark Kettenis <kettenis@gnu.org>
7447
7448 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
7449 build-id.
7450
7451 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
7452 know about $ORIGIN. Calculate output dir from $dest instead of
7453 using ${objdir}/{$subdir}.
7454
7455 2007-09-09 Mark Kettenis <kettenis@gnu.org>
7456
7457 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7458 gcore, before continuing with the test.
7459
7460 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7461
7462 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7463 * gdb.mi/mi-watch.exp: Likewise.
7464
7465 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7466 Jim Blandy <jimb@codesourcery.com>
7467
7468 * gdb.arch/i386-sse.exp: Do not expect character constants.
7469 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
7470 * gdb.base/display.exp: Allow print/s.
7471 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
7472 and unsigned char array changes.
7473
7474 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7475
7476 * gdb.base/display.exp: Add tests for printf %p.
7477
7478 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7479
7480 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7481 the dll name to unicode.
7482
7483 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7484
7485 * gdb.base/default.exp (show version): Update the version text.
7486 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7487
7488 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7489
7490 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7491 New files.
7492
7493 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7494
7495 * lib/gdb.exp (build_id_debug_filename_get): New function.
7496 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
7497 Remove the generate DEBUG file for the future testcase runs.
7498 New testcase for the NT_GNU_BUILD_ID retrieval.
7499 Move the final testing step to ...
7500 (test_different_dir): ... a new function.
7501 New parameter XFAIL to XFAIL all the tests performed.
7502 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
7503 New parameter TYPE to PF_PREFIX all the tests performed.
7504
7505 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7506
7507 * gdb.mi/mi-var-cp.cc (path_expression): New
7508 function.
7509 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7510
7511 2007-08-27 Markus Deuling <deuling@de.ibm.com>
7512
7513 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7514 to fit into SPU Local Store memory.
7515
7516 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7517
7518 * gdb.base/default.exp: Adjust the expected output of "info
7519 warranty" after the switch to GPLv3.
7520
7521 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7522
7523 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7524 to 30000 (from 20000).
7525
7526 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7527
7528 Switch the license of all .exp files to GPLv3.
7529 Switch the license of all .f and .f90 files to GPLv3.
7530 Switch the license of all .s and .S files to GPLv3.
7531
7532 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7533
7534 * configure.ac: Switch license to GPLv3.
7535
7536 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7537
7538 Switch the licensing to GPLv3 for all .ads and .adb files.
7539
7540 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7541
7542 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7543 and t_int_double.
7544 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7545
7546 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7547
7548 * gdb.base/step-line.c: Switch license to GPL version 3, and
7549 update copyright year.
7550 * gdb.base/step-line.inp: Likewise.
7551
7552 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7553
7554 * gdb.base/gdb1555.exp: Make expected output immune to formatting
7555 changes inside gdb1555.c.
7556 * gdb.base/pending.exp: Likewise.
7557
7558 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
7559
7560 * config/default.exp: New file.
7561
7562 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7563
7564 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
7565 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
7566
7567 2007-07-30 Maciej W. Rozycki <macro@mips.com>
7568
7569 * gdb.base/dump.exp: Force the correct endianness for binary
7570 formats not carrying this information.
7571
7572 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7573
7574 * gdb.threads/staticthreads.exp: Match .*sem_post.
7575
7576 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7577
7578 * gdb.base/readline.exp (operate_and_get_next): Match the final
7579 prompt.
7580
7581 2007-07-23 Kevin Buettner <kevinb@redhat.com>
7582
7583 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
7584 to restarting SID.
7585
7586 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7587
7588 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
7589 prior to `gdb_start'.
7590
7591 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7592
7593 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
7594 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
7595 Remove call to gdb_unload.
7596
7597 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
7598 Daniel Jacobowitz <dan@codesourcery.com>
7599
7600 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
7601 for __WIN32__.
7602 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
7603 * gdb.base/unload.exp: Use shared library test routines.
7604
7605 2007-07-03 Markus Deuling <deuling@de.ibm.com>
7606
7607 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
7608 * gdb.base/solib-symbol-lib.c: Likewise.
7609 * gdb.base/solib-symbol-main.c: Likewise.
7610
7611 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
7612
7613 * config/gdbserver.exp (gdb_reconnect): New.
7614 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
7615 gdb.base/solib-disc.exp: New files.
7616 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
7617 remote debugging".
7618 (gdb_compile): Add shlib_load flag.
7619 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
7620 port.
7621 (gdbserver_reconnect): New.
7622
7623 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
7624 Daniel Jacobowitz <dan@codesourcery.com>
7625
7626 * gdb.base/annota3.exp: Test for if construct.
7627
7628 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
7629
7630 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
7631
7632 2007-06-21 Chris Dearman <chris@mips.com>
7633 Maciej W. Rozycki <macro@mips.com>
7634
7635 * gdb.base/display.exp: Allow a newline after display/i.
7636 * gdb.base/pc-fp.exp: Likewise.
7637 * gdb.base/sigbpt.exp: Likewise.
7638
7639 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7640
7641 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
7642 required features to be included.
7643
7644 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
7645
7646 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
7647 in info threads output.
7648
7649 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7650 Markus Deuling <deuling@de.ibm.com>
7651
7652 * gdb.arch/spu-info.exp: New testcase.
7653 * gdb.arch/spu-info.c: New file.
7654
7655 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
7656
7657 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
7658 tpcs_offset. Restore lr after the call.
7659 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
7660
7661 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
7662
7663 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
7664 (gdbserver_run): Kill any running gdbserver.
7665 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
7666
7667 2007-05-17 Maciej W. Rozycki <macro@mips.com>
7668
7669 * gdb.base/sigbpt.exp: Preset segv_addr.
7670
7671 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
7672
7673 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
7674 (gdb_compile_shlib): Likewise.
7675 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
7676 (default_gdb_init): Clear cleanfiles.
7677 (gdb_finish): Delete recorded cleanfiles.
7678 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
7679
7680 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
7681 Do not use isnative.
7682 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
7683 gdb.base/so-impl-ld.exp: Likewise.
7684 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
7685 * gdb.base/unload.exp: Likewise. Do not pass empty option to
7686 gdb_compile.
7687
7688 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
7689
7690 * config/unknown.exp: Remove.
7691
7692 2007-05-15 Markus Deuling <deuling@de.ibm.com>
7693
7694 * gdb.base/info-proc.exp: Check is_remote.
7695
7696 2007-05-14 Markus Deuling <deuling@de.ibm.com>
7697
7698 * gdb.base/gcore.exp: Initialize variable core_supported.
7699
7700 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7701
7702 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
7703
7704 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7705
7706 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
7707 * gdb.threads/print-threads.exp (test_all_threads): Allow
7708 negative and hexadecimal thread IDs.
7709
7710 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7711
7712 * gdb.java/jprint.java (public): Avoid invalid call to static
7713 method.
7714
7715 2007-05-14 Denis Pilat <denis.pilat@st.com>
7716
7717 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
7718 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
7719 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
7720 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
7721 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
7722
7723 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7724
7725 * gdb.base/overlays.exp: Add support for targets with only code
7726 overlay support, not data overlay. Support spu-*-* target in
7727 this mode.
7728 * gdb.base/ovlymgr.c: Provide stubs for spu target.
7729 * gdb.base/spu.ld: New file.
7730
7731 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
7732
7733 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
7734
7735 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
7736
7737 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
7738
7739 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
7740
7741 * gdb.java/jmain.exp: Handle demangled names with and without method
7742 signatures.
7743
7744 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
7745
7746 * gdb.mi/mi-syn-frame.c (main, foo, bar)
7747 (have_a_very_merry_interrupt): Remove calls to puts.
7748 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
7749 inferior output.
7750 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
7751 test names.
7752
7753 2007-04-29 Markus Deuling <deuling@de.ibm.com>
7754 Daniel Jacobowitz <dan@codesourcery.com>
7755
7756 * gdb.base/auxv.exp (core_works): Also check is_remote.
7757 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
7758
7759 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
7760
7761 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
7762 message, not the undefined 'module' variable.
7763 * gdb.base/siginfo.exp: Likewise.
7764 * gdb.base/sigstep.exp: Likewise.
7765 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
7766 serialport.
7767 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
7768
7769 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
7770
7771 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
7772 target sim fails. Return 0 otherwise.
7773 (gdb_load): Return prematurely if gdb_target_sim fails.
7774
7775 2007-04-16 Denis Pilat <denis.pilat@st.com>
7776
7777 * gdb.base/setshow.exp: Reset height after having set it to 100.
7778
7779 2007-04-16 Denis Pilat <denis.pilat@st.com>
7780
7781 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
7782
7783 2007-04-16 Denis Pilat <denis.pilat@st.com>
7784
7785 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
7786
7787 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
7788
7789 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
7790 tests. Run the frozen varobjs test.
7791 * gdb.mi/var-cmd.c (do_frozen_tests): New.
7792 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
7793
7794 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7795
7796 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
7797 gdb.base/type-opaque.exp: New files.
7798
7799 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
7800
7801 * gdb.mi/mi-var-child.c
7802 (do_children_tests): User char[2] instead of
7803 char so that automatic printing of pointers to char
7804 don't give unpredicable result.
7805 * gdb.mi/var-cmd.c (do_locals_test): Initialize
7806 local variables.
7807 * gdb.mi/mi-var-child.exp: Step to right line
7808 of do_children_tests.
7809 * gdb.mi/mi2-var-child.exp: Likewise.
7810 * gdb.mi/mi-var-cmd.exp: Step to right line of
7811 do_locals_tests.
7812 (do_children_tests): User char[2] instead of
7813 char so that automatic printing of pointers to char
7814 don't give unpredicable result.
7815 * gdb.mi/mi2-var-cmd.exp: Likewise.
7816 * lib/mi-support.exp (mi_continue_to_line):
7817 Pass test name to mi_wait_for_stop.
7818
7819 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7820
7821 * gdb.asm/asm-source.exp: Remove d10v case.
7822 * lib/gdb.exp (skip_cplus_tests): Likewise.
7823 * gdb.asm/d10v.inc: Deleted.
7824
7825 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7826
7827 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
7828
7829 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7830
7831 * config/netware.exp: Delete file.
7832
7833 2007-03-29 Joel Brobecker <brobecker@adacore.com>
7834
7835 * gdb.dwarf2/dw2-noloc.S: New file.
7836 * gdb.dwarf2/dw2-noloc.exp: New file.
7837
7838 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
7839
7840 * gdb.cp/method2.cc: New test.
7841 * gdb.cp/method2.exp: New test.
7842 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
7843
7844 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7845
7846 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
7847
7848 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
7849
7850 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
7851
7852 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7853
7854 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
7855 (gdb_load): Delete, replace with...
7856 (gdb_reload): ...this.
7857 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
7858 * gdb.server/server-mon.exp: Likewise.
7859 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
7860 (gdb_start_cmd): New.
7861 (gdb_file_cmd): Save the last loaded file.
7862 (gdb_reload): New.
7863 (gdb_gnu_strip_debug): Use transform.
7864 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
7865 support here. Use new $last_loaded_file. Check mtime.
7866 (gdb_target_cmd): Handle ObjC failure case.
7867 (infer_host_exec): Delete.
7868 (gdbserver_load): Rename to...
7869 (gdbserver_run): ...this. Simplify.
7870 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
7871 (mi_gdb_load): Move most contents to a new function...
7872 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
7873 (mi_run_cmd): Use mi_gdb_target_load.
7874 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
7875 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
7876 Use gdb_run_cmd.
7877 * gdb.base/charsign.exp: Remove incorrect comment.
7878 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
7879 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
7880 gdb.base/start.exp: Use gdb_start_cmd.
7881
7882 2007-03-23 Nigel Stephens <nigel@mips.com>
7883 Maciej W. Rozycki <macro@mips.com>
7884
7885 * gdb.base/sigbpt.exp: Fix the message when skipping test.
7886 * gdb.base/signull.exp: Similarly.
7887
7888 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7889
7890 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
7891 messages available to test cases (like chng-sym.exp).
7892
7893 2007-03-14 Andreas Schwab <schwab@suse.de>
7894
7895 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7896 format changes.
7897
7898 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
7899
7900 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
7901 (optimized_1): New.
7902 (main): Call optimized_1.
7903 (gdb2029): Correct typos. Call gdb2029_marker.
7904 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
7905 for gdb2029.
7906
7907 2007-03-12 Mark Kettenis <kettenis@gnu.org>
7908
7909 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
7910 as tabs. Remove redundant test pattern.
7911
7912 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7913
7914 * gdb.base/long_long.exp: Accept optional symbol name in <...>
7915 for /a format output.
7916
7917 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
7918
7919 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
7920 collect output incrementally.
7921
7922 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7923
7924 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
7925 for -var-create lpcharacter test.
7926 * gdb.mi/mi2-var-cmd.exp: Likewise.
7927
7928 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7929
7930 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
7931 pass on targets where address zero is readable.
7932
7933 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7934
7935 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
7936 just a single architecture.
7937
7938 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7939
7940 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
7941 (fetch_all_registers): New function, uses gdb_test_multiple and
7942 exp_continue to fetch inferior output line-by-line.
7943 Replace all uses of do_get_all_registers by fetch_all_registers.
7944
7945 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7946
7947 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
7948 in target_info.
7949
7950 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7951
7952 * gdb.threads/manythreads.exp: Use $message string for
7953 consistancy; add a default (timeout) case.
7954
7955 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7956
7957 * gdb.base/watchpoint.exp: Fix truncated comment.
7958
7959 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7960
7961 * Makefile.in: Remove spurious single-quotes from sed command.
7962
7963 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7964
7965 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
7966 func.
7967 * gdb.mi/mi2-var-cmd.exp: Likewise.
7968
7969 2007-02-27 Joel Brobecker <brobecker@adacore.com>
7970
7971 * gdb.dwarf2/dw2-producer.S: New file.
7972 * gdb.dwarf2/dw2-producer.exp: New testcase.
7973
7974 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
7975
7976 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
7977 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
7978 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
7979 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
7980 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
7981 Revert tests to use mi_gdb_test and include value field in output
7982 of -var-create.
7983
7984 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7985
7986 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
7987
7988 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7989
7990 * gdb.base/maint.exp: Remove full paths from test names.
7991 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
7992 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
7993
7994 2007-02-27 Joel Brobecker <brobecker@adacore.com>
7995
7996 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
7997
7998 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
7999
8000 * gdb.server/server-mon.exp: New test.
8001
8002 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8003
8004 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8005
8006 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8007
8008 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8009 register capitalization.
8010
8011 2007-02-13 Denis Pilat <denis.pilat@st.com>
8012
8013 * gdb.mi/mi-var-invalidate.exp: New file.
8014
8015 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8016
8017 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8018
8019 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8020
8021 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8022
8023 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8024
8025 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8026 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8027
8028 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
8029
8030 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
8031 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
8032 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
8033 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
8034 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
8035 * gdb.mi/gdb792.exp, lib/mi-support.exp:
8036 Update tests to include value field in output of -var-create.
8037
8038 2007-02-08 Andreas Schwab <schwab@suse.de>
8039
8040 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8041
8042 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
8043
8044 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
8045 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
8046
8047 2007-02-02 Denis Pilat <denis.pilat@st.com>
8048
8049 * gdb.threads/threadapply.exp: check that frame is not changed by
8050 the thread apply all command.
8051
8052 2007-01-31 Andreas Schwab <schwab@suse.de>
8053
8054 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
8055
8056 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
8057 in the dwarf sections.
8058 * gdb.dwarf2/mac-fileno.S: Likewise.
8059
8060 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8061 bspstore register on ia64.
8062
8063 2007-01-29 Andreas Schwab <schwab@suse.de>
8064
8065 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8066 "frame-begin" annotation.
8067
8068 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8069 number of "frames-invalid" annotations.
8070
8071 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8072
8073 * gdb.base/commands.exp: Call if_commands_test.
8074 (gdb_test_no_prompt, if_commands_test): New.
8075
8076 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8077
8078 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8079
8080 2007-01-27 Andreas Schwab <schwab@suse.de>
8081
8082 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
8083 .short/.int/.quad in the dwarf sections.
8084 * gdb.dwarf2/dw2-intercu.S: Likewise.
8085 * gdb.dwarf2/dw2-intermix.S: Likewise.
8086
8087 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8088
8089 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
8090 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
8091 array.
8092 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8093 * gdb.base/setvar.exp: Likewise.
8094
8095 2007-01-26 Andreas Schwab <schwab@suse.de>
8096
8097 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8098 test.
8099
8100 * gdb.base/multi-forks.exp ("restart $i"): Also match
8101 __kernel_syscall_via_break.
8102
8103 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8104
8105 * lib/mi-support.exp (mi_delete_varobj): New.
8106 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
8107 testcase.
8108 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
8109 (main): Call the above.
8110 (reference_update_test, base_in_reference_test)
8111 (reference_to_pointer): Delete the created varobjs.
8112
8113 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
8114
8115 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
8116 * configure: Regenerated.
8117 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
8118 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
8119 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
8120 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
8121 * lib/gdb.exp (gdb_skip_xml_test): New function.
8122
8123 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8124
8125 * gdb.base/sigrepeat.exp: Correct error message.
8126
8127 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8128 Daniel Jacobowitz <dan@codesourcery.com>
8129
8130 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8131 gdb.arch/i386-gnu-cfi-asm.S: New files.
8132
8133 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8134
8135 * lib/gdb.exp: Abort on missing `site.exp'.
8136
8137 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8138 Daniel Jacobowitz <dan@codesourcery.com>
8139
8140 * gdb.base/included.c, gdb.base/included.exp,
8141 gdb.base/included.h: New files.
8142
8143 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8144
8145 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8146 (maximize_rlimit): Reduce limits on 64-bit systems.
8147
8148 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8149
8150 From Marcus Deuling <deuling@de.ibm.com>:
8151 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8152 every case.
8153
8154 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
8155
8156 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
8157 (test_path_specification): Use objdir instead of srcdir to always
8158 get an absolute filename.
8159
8160 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8161
8162 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8163
8164 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
8165
8166 * gdb.mi/mi-var-cp.cc (reference_update_tests):
8167 Make sure the variable we're using is in scope.
8168 (reference_to_pointer): Likewise.
8169
8170 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8171
8172 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8173 has no debug information.
8174
8175 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8176
8177 * gdb.base/annota1.exp: Remove extra send_gdb.
8178
8179 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8180
8181 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8182
8183 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8184
8185 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8186
8187 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8188 Daniel Jacobowitz <dan@codesourcery.com>
8189
8190 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
8191 lcharacter or linteger change. Correct duplicated test name.
8192 * gdb.mi/mi2-var-cmd.exp: Likewise.
8193
8194 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8195
8196 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8197
8198 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8199
8200 * gdb.base/nofield.c: New file.
8201 * gdb.base/nofield.exp: New testcase.
8202
8203 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8204
8205 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8206
8207 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8208 test.
8209
8210 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8211
8212 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8213
8214 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8215
8216 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8217 when continuing.
8218
8219 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8220
8221 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8222 Expect ".exe" extension.
8223
8224 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8225
8226 * gdb.base/charset.exp: Add explicit filename to break.
8227 * gdb.base/dbx.exp: Add explicit filename to breaks.
8228
8229 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8230
8231 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8232 * gdb.mi/mi2-file.exp: Likewise.
8233
8234 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8235
8236 Implement specification of MI tests as comments
8237 in C and C++ sources.
8238 * lib/mi-support.exp (mi_autotest_data): New variable.
8239 (mi_autotest_source): New variable.
8240 (count_newlines, mi_prepare_inline_tests)
8241 (mi_get_inline_test, mi_continue_to_line)
8242 (mi_run_inline_test, mi_tbreak)
8243 (mi_send_resuming_command, mi_wait_for_stop): New functions.
8244 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
8245 Run inline tests.
8246 * gdb.mi/mi-var-cp.cc: Define tests here.
8247
8248 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
8249
8250 Simplify usage of mi_continue_to.
8251 * lib/mi-support.exp (mi_runto_helper): Renamed
8252 from mi_runto, added new parameter 'run_or_continue'.
8253 (mi_runto): Use mi_runto_helper.
8254 (mi_continue_to): Accept just function name as parameter.
8255 Use mi_runto_helper.
8256 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
8257 * gdb.mi/mi2-var-cmd.exp: Likewise.
8258
8259 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8260
8261 Make this testcase a bit more realistic. The current code
8262 is too simplistic, and allows the compiler to optimize out
8263 some of the entities we need for this testcase.
8264 * gdb.ada/null_record/bar.ads (Void_Star): New type.
8265 (Do_Nothing): Add extra parameter.
8266 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
8267 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
8268 by using a variable of type Void_Star.
8269
8270 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8271
8272 * gdb.ada/catch_ex/foo.adb: New file.
8273 * gdb.ada/catch_ex.exp: New testcase.
8274
8275 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8276
8277 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8278 pass --image-base to linker.
8279
8280 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8281 Daniel Jacobowitz <dan@codesourcery.com>
8282
8283 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8284 secondary prompts.
8285
8286 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8287
8288 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
8289 output. Test the types of members and member pointers.
8290 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
8291 gdb/2092.
8292 * gdb.cp/member-ptr.exp: Search for a comment instead of a
8293 statement. Enable for GCC. Update expected output for some tests
8294 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
8295 layout.
8296 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
8297 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
8298 (Diamond::vget_base): New.
8299 (main): Add new tests.
8300 * gdb.cp/printmethod.exp: Update expected output for member functions.
8301 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
8302 print pEe->D::vg().
8303
8304 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8305
8306 * gdb.threads/tls.exp: Allow stops in sem_post.
8307
8308 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
8309
8310 * gdb.base/annota1.exp: Allow .*printf in backtraces.
8311 * gdb.base/annota3.exp: Likewise.
8312 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
8313 again (instead of timing out).
8314 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
8315 GCC bug 26475.
8316 * gdb.java/jmisc.exp: Adjust to work with method signatures including
8317 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
8318 test from jmisc1.exp.
8319 * gdb.java/jmisc1.exp: Delete.
8320 * gdb.java/jprint.exp: Adjust to work with method signatures including
8321 return types.
8322 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
8323 * gdb.threads/linux-dp.exp: Don't be confused by program output.
8324 * lib/java.exp (compile_java_from_source): Pass the correct type
8325 to target_compile.
8326
8327 2006-12-31 Joel Brobecker <brobecker@adacore.com>
8328
8329 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
8330 (stack_align_edx): New function.
8331 (stack_align_eax): New function.
8332 (main): Add calls to stack_align_edx and stack_align_eax.
8333 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
8334 Add testing for the cases where the register used during a stack
8335 realignment is edx. Same for eax.
8336
8337 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8338
8339 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8340 and generic PE targets.
8341
8342 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8343
8344 * gdb.ada/array_return.exp: Update copyright date list.
8345
8346 2006-12-27 Joel Brobecker <brobecker@adacore.com>
8347
8348 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
8349 (Create_Small_Float_Vector): New function.
8350 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
8351 function body.
8352 * gdb.ada/array_return/p.adb: Use new type and function from
8353 package Pck.
8354 * gdb.ada/array_return.exp: Add a test verifying that GDB is
8355 able to print the value returned by a function returning an
8356 array of float.
8357
8358 2006-12-20 Joel Brobecker <brobecker@adacore.com>
8359
8360 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8361 The associated tests should be PASSing.
8362
8363 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8364
8365 Test for base in references.
8366 * gdb.mi/mi-var-cp.cc: Add test code.
8367 * gdb.mi/mi-var-cp.exp: Test for bases in references.
8368 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
8369 * gdb.mi/mi2-watch.exp: Likewise.
8370 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
8371 (mi_list_varobj_children): New function.
8372
8373 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
8374
8375 * lib/mi-support.exp
8376 (mi_runto): Accept "()" after function name.
8377 (mi_create_varobj): New function.
8378 (mi_varobj_update): New function.
8379 (mi_Check_varobj_value): New function.
8380 * gdb.mi/mi-var-cp.exp: New file.
8381 * gdb.mi/mi-var-cp.cc: New file.
8382
8383 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8384
8385 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8386 gdb.base/weaklib2.c: New files.
8387
8388 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8389
8390 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8391 info. Adjust test names.
8392
8393 * gdb.base/break.c (main): Move position of malloc.
8394 * gdb.base/break.exp: Revert mistaken checkin.
8395
8396 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
8397
8398 * gdb.mi/mi-var-cmd.exp: Check -var-update after
8399 assignement of arrays and function pointers.
8400 * gdb.mi/var-cmd.c: Add declaration necessary for above
8401 tests.
8402
8403 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8404
8405 * gdb.base/break.c (main): Call malloc.
8406
8407 * gdb.threads/linux-dp.exp: Read thread table before and after
8408 creating each philosopher and verify it.
8409
8410 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8411 Paul Brook <paul@codesourcery.com>
8412 Daniel Jacobowitz <dan@codesourcery.com>
8413
8414 * gdb.base/ending-run.exp: Flatten expect script stepping out of
8415 main to remove duplication. Add start function of the form
8416 '_*start[1-9]*'. Add RVDS start function.
8417
8418 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8419
8420 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8421
8422 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8423
8424 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
8425 * gdb.asm/spu.inc: New file.
8426 * gdb.base/term.exp: Disable if [target_info exists noargs].
8427 * gdb.gdb/complaints.exp: Disable if ![isnative].
8428 * gdb.gdb/selftest.exp: Likewise.
8429 * gdb.gdb/observer.exp: Likewise.
8430 * gdb.gdb/xfullpath.exp: Likewise.
8431 * gdb.base/attach.exp: Disable on SPU target.
8432 * gdb.cp/bs145503.exp: Likewise.
8433 * gdb.cp/exception.exp: Likewise.
8434 * gdb.cp/userdef.exp: Likewise.
8435
8436 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8437
8438 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8439
8440 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8441
8442 * gdb.base/completion.exp: Fix completion tests for
8443 'info' and 'info '.
8444 * gdb.base/help.exp (help_test_raw, test_class_help)
8445 (test_prefix_command_help): Move...
8446 * lib/gdb.exp: Here.
8447 * gdb.base/main.exp: Adjust.
8448 * gdb.cp/maint.exp: Adjust.
8449 * gdb.trace/tracecmd.exp: Use test_help_class.
8450
8451 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8452
8453 * gdb.stabs/weird.exp (print_weird_var): Use
8454 gdb_test_multiple instead of gdb_expect.
8455
8456 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8457
8458 * gdb.base/help.exp (help_test_raw): New.
8459 (test_class_help): New.
8460 (test_prefix_command_help): New.
8461 Adjust testcases.
8462
8463 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
8464
8465 * gdb.base/constvars.c (main): Write to crass and crips, so that
8466 they are allocated by the compiler.
8467
8468 2006-10-27 Andreas Schwab <schwab@suse.de>
8469
8470 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8471 "detach-fork".
8472
8473 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8474
8475 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8476 of patterns.
8477
8478 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8479
8480 * gdb.base/sepdebug.exp: Remove debug format test.
8481 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8482 Handle no-symtab.
8483 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8484
8485 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8486
8487 * gdb.threads/manythreads.c (thread_function, main): Don't cast
8488 int to pointer or pointer to int.
8489 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
8490
8491 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8492
8493 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8494
8495 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8496
8497 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8498
8499 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8500
8501 PR c++/2116
8502 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8503
8504 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8505
8506 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8507 the corresponding bug has been fixed in GDB (PR/2018).
8508
8509 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8510
8511 * gdb.base/subst.exp: New testcase.
8512
8513 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8514
8515 * gdb.ada/array_return/pck.ads: Add copyright notice.
8516 * gdb.ada/array_return/pck.adb: Likewise.
8517 * gdb.ada/array_return/p.adb: Likewise.
8518 * gdb.ada/exec_changed/first.adb: Likewise.
8519 * gdb.ada/exec_changed/second.adb: Likewise.
8520
8521 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8522
8523 * gdb.ada/watch_arg/watch.adb: New file.
8524 * gdb.ada/watch_arg.exp: New testcase.
8525
8526 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8527
8528 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
8529 via string_to_regexp.
8530 * gdb.mi/mi2-basics.exp: Likewise.
8531
8532 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
8533
8534 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8535 Remove unused / obsolete files.
8536
8537 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
8538
8539 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8540
8541 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
8542
8543 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
8544 HIGH_FRAME argument to -stack-list-arguments can be larger than
8545 the number of frames.
8546
8547 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
8548
8549 * gdb.base/args.c (main): Add breakpoint marker.
8550 * gdb.base/args.exp: Use args_test for tests. Add new tests which
8551 really test empty arguments.
8552 (args_load): Delete.
8553 (args_test): New.
8554
8555 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
8556
8557 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
8558 check for one file.
8559
8560 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
8561
8562 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
8563 HIGH_FRAME argument to -stack-list-locals can be larger than
8564 the number of frames.
8565
8566 2006-08-18 Fred Fish <fnf@specifix.com>
8567
8568 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
8569 '$' in front of skip_vmx_tests_saved when setting that.
8570
8571 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
8572
8573 * gdb.base/trace-commands.exp: New file.
8574
8575 2006-08-10 Joel Brobecker <brobecker@adacore.com>
8576 Daniel Jacobowitz <dan@codesourcery.com>
8577
8578 * gdb.base/step-bt.exp: Make hexadecimal address optional in
8579 expected output of the backtrace commands.
8580
8581 2006-08-09 Joel Brobecker <brobecker@adacore.com>
8582
8583 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
8584 untested followed by return combination.
8585 * gdb.arch/altivec-regs.exp: Likewise.
8586 * gdb.arch/e500-abi.exp: Likewise.
8587 * gdb.arch/e500-regs.exp: Likewise.
8588 * gdb.arch/gdb1291.exp: Likewise.
8589 * gdb.arch/gdb1431.exp: Likewise.
8590 * gdb.arch/gdb1558.exp: Likewise.
8591 * gdb.arch/i386-prologue.exp: Likewise.
8592 * gdb.arch/i386-unwind.exp: Likewise.
8593 * gdb.asm/asm-source.exp: Likewise.
8594 * gdb.base/a2-run.exp: Likewise.
8595 * gdb.base/advance.exp: Likewise.
8596 * gdb.base/all-bin.exp: Likewise.
8597 * gdb.base/annota1.exp: Likewise.
8598 * gdb.base/annota3.exp: Likewise.
8599 * gdb.base/args.exp: Likewise.
8600 * gdb.base/arithmet.exp: Likewise.
8601 * gdb.base/assign.exp: Likewise.
8602 * gdb.base/async.exp: Likewise.
8603 * gdb.base/attach.exp: Likewise.
8604 * gdb.base/bang.exp: Likewise.
8605 * gdb.base/bigcore.exp: Likewise.
8606 * gdb.base/bitfields.exp: Likewise.
8607 * gdb.base/bitfields2.exp: Likewise.
8608 * gdb.base/break.exp: Likewise.
8609 * gdb.base/call-sc.exp: Likewise.
8610 * gdb.base/call-strs.exp: Likewise.
8611 * gdb.base/callfuncs.exp: Likewise.
8612 * gdb.base/checkpoint.exp: Likewise.
8613 * gdb.base/chng-syms.exp: Likewise.
8614 * gdb.base/code-expr.exp: Likewise.
8615 * gdb.base/commands.exp: Likewise.
8616 * gdb.base/completion.exp: Likewise.
8617 * gdb.base/cond-expr.exp: Likewise.
8618 * gdb.base/condbreak.exp: Likewise.
8619 * gdb.base/consecutive.exp: Likewise.
8620 * gdb.base/constvars.exp: Likewise.
8621 * gdb.base/corefile.exp: Likewise.
8622 * gdb.base/cvexpr.exp: Likewise.
8623 * gdb.base/dbx.exp: Likewise.
8624 * gdb.base/define.exp: Likewise.
8625 * gdb.base/detach.exp: Likewise.
8626 * gdb.base/display.exp: Likewise.
8627 * gdb.base/dump.exp: Likewise.
8628 * gdb.base/ena-dis-br.exp: Likewise.
8629 * gdb.base/ending-run.exp: Likewise.
8630 * gdb.base/environ.exp: Likewise.
8631 * gdb.base/eval-skip.exp: Likewise.
8632 * gdb.base/exprs.exp: Likewise.
8633 * gdb.base/fileio.exp: Likewise.
8634 * gdb.base/finish.exp: Likewise.
8635 * gdb.base/float.exp: Likewise.
8636 * gdb.base/foll-exec.exp: Likewise.
8637 * gdb.base/foll-fork.exp: Likewise.
8638 * gdb.base/foll-vfork.exp: Likewise.
8639 * gdb.base/freebpcmd.exp: Likewise.
8640 * gdb.base/funcargs.exp: Likewise.
8641 * gdb.base/gcore.exp: Likewise.
8642 * gdb.base/gdb1090.exp: Likewise.
8643 * gdb.base/gdb1250.exp: Likewise.
8644 * gdb.base/huge.exp: Likewise.
8645 * gdb.base/info-proc.exp: Likewise.
8646 * gdb.base/interrupt.exp: Likewise.
8647 * gdb.base/jump.exp: Likewise.
8648 * gdb.base/langs.exp: Likewise.
8649 * gdb.base/lineinc.exp: Likewise.
8650 * gdb.base/list.exp: Likewise.
8651 * gdb.base/logical.exp: Likewise.
8652 * gdb.base/long_long.exp: Likewise.
8653 * gdb.base/macscp.exp: Likewise.
8654 * gdb.base/maint.exp: Likewise.
8655 * gdb.base/mips_pro.exp: Likewise.
8656 * gdb.base/miscexprs.exp: Likewise.
8657 * gdb.base/multi-forks.exp: Likewise.
8658 * gdb.base/opaque.exp: Likewise.
8659 * gdb.base/overlays.exp: Likewise.
8660 * gdb.base/pc-fp.exp: Likewise.
8661 * gdb.base/pointers.exp: Likewise.
8662 * gdb.base/printcmds.exp: Likewise.
8663 * gdb.base/psymtab.exp: Likewise.
8664 * gdb.base/ptype.exp: Likewise.
8665 * gdb.base/recurse.exp: Likewise.
8666 * gdb.base/relational.exp: Likewise.
8667 * gdb.base/relocate.exp: Likewise.
8668 * gdb.base/remote.exp: Likewise.
8669 * gdb.base/reread.exp: Likewise.
8670 * gdb.base/restore.exp: Likewise.
8671 * gdb.base/return.exp: Likewise.
8672 * gdb.base/return2.exp: Likewise.
8673 * gdb.base/scope.exp: Likewise.
8674 * gdb.base/sect-cmd.exp: Likewise.
8675 * gdb.base/sep.exp: Likewise.
8676 * gdb.base/sepdebug.exp: Likewise.
8677 * gdb.base/setshow.exp: Likewise.
8678 * gdb.base/setvar.exp: Likewise.
8679 * gdb.base/sigall.exp: Likewise.
8680 * gdb.base/sigbpt.exp: Likewise.
8681 * gdb.base/signals.exp: Likewise.
8682 * gdb.base/signull.exp: Likewise.
8683 * gdb.base/sizeof.exp: Likewise.
8684 * gdb.base/solib.exp: Likewise.
8685 * gdb.base/step-line.exp: Likewise.
8686 * gdb.base/step-test.exp: Likewise.
8687 * gdb.base/structs.exp: Likewise.
8688 * gdb.base/structs2.exp: Likewise.
8689 * gdb.base/term.exp: Likewise.
8690 * gdb.base/twice.exp: Likewise.
8691 * gdb.base/until.exp: Likewise.
8692 * gdb.base/varargs.exp: Likewise.
8693 * gdb.base/volatile.exp: Likewise.
8694 * gdb.base/watchpoint.exp: Likewise.
8695 * gdb.base/whatis-exp.exp: Likewise.
8696 * gdb.base/whatis.exp: Likewise.
8697 * gdb.cp/ambiguous.exp: Likewise.
8698 * gdb.cp/annota2.exp: Likewise.
8699 * gdb.cp/annota3.exp: Likewise.
8700 * gdb.cp/bool.exp: Likewise.
8701 * gdb.cp/breakpoint.exp: Likewise.
8702 * gdb.cp/casts.exp: Likewise.
8703 * gdb.cp/class2.exp: Likewise.
8704 * gdb.cp/classes.exp: Likewise.
8705 * gdb.cp/cplusfuncs.exp: Likewise.
8706 * gdb.cp/ctti.exp: Likewise.
8707 * gdb.cp/derivation.exp: Likewise.
8708 * gdb.cp/exception.exp: Likewise.
8709 * gdb.cp/gdb1355.exp: Likewise.
8710 * gdb.cp/hang.exp: Likewise.
8711 * gdb.cp/inherit.exp: Likewise.
8712 * gdb.cp/local.exp: Likewise.
8713 * gdb.cp/m-data.exp: Likewise.
8714 * gdb.cp/m-static.exp: Likewise.
8715 * gdb.cp/member-ptr.exp: Likewise.
8716 * gdb.cp/method.exp: Likewise.
8717 * gdb.cp/misc.exp: Likewise.
8718 * gdb.cp/namespace.exp: Likewise.
8719 * gdb.cp/overload.exp: Likewise.
8720 * gdb.cp/ovldbreak.exp: Likewise.
8721 * gdb.cp/pr-1023.exp: Likewise.
8722 * gdb.cp/pr-1210.exp: Likewise.
8723 * gdb.cp/pr-574.exp: Likewise.
8724 * gdb.cp/printmethod.exp: Likewise.
8725 * gdb.cp/psmang.exp: Likewise.
8726 * gdb.cp/ref-params.exp: Likewise.
8727 * gdb.cp/ref-types.exp: Likewise.
8728 * gdb.cp/rtti.exp: Likewise.
8729 * gdb.cp/templates.exp: Likewise.
8730 * gdb.cp/try_catch.exp: Likewise.
8731 * gdb.cp/userdef.exp: Likewise.
8732 * gdb.cp/virtfunc.exp: Likewise.
8733 * gdb.disasm/am33.exp: Likewise.
8734 * gdb.disasm/h8300s.exp: Likewise.
8735 * gdb.disasm/mn10300.exp: Likewise.
8736 * gdb.disasm/sh3.exp: Likewise.
8737 * gdb.disasm/t01_mov.exp: Likewise.
8738 * gdb.disasm/t02_mova.exp: Likewise.
8739 * gdb.disasm/t03_add.exp: Likewise.
8740 * gdb.disasm/t04_sub.exp: Likewise.
8741 * gdb.disasm/t05_cmp.exp: Likewise.
8742 * gdb.disasm/t06_ari2.exp: Likewise.
8743 * gdb.disasm/t07_ari3.exp: Likewise.
8744 * gdb.disasm/t08_or.exp: Likewise.
8745 * gdb.disasm/t09_xor.exp: Likewise.
8746 * gdb.disasm/t10_and.exp: Likewise.
8747 * gdb.disasm/t11_logs.exp: Likewise.
8748 * gdb.disasm/t12_bit.exp: Likewise.
8749 * gdb.disasm/t13_otr.exp: Likewise.
8750 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
8751 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
8752 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
8753 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
8754 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
8755 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
8756 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
8757 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
8758 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
8759 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
8760 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
8761 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
8762 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
8763 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
8764 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
8765 * gdb.mi/gdb701.exp: Likewise.
8766 * gdb.mi/gdb792.exp: Likewise.
8767 * gdb.mi/mi-basics.exp: Likewise.
8768 * gdb.mi/mi-break.exp: Likewise.
8769 * gdb.mi/mi-cli.exp: Likewise.
8770 * gdb.mi/mi-console.exp: Likewise.
8771 * gdb.mi/mi-disassemble.exp: Likewise.
8772 * gdb.mi/mi-eval.exp: Likewise.
8773 * gdb.mi/mi-file.exp: Likewise.
8774 * gdb.mi/mi-read-memory.exp: Likewise.
8775 * gdb.mi/mi-regs.exp: Likewise.
8776 * gdb.mi/mi-return.exp: Likewise.
8777 * gdb.mi/mi-simplerun.exp: Likewise.
8778 * gdb.mi/mi-stack.exp: Likewise.
8779 * gdb.mi/mi-stepi.exp: Likewise.
8780 * gdb.mi/mi-syn-frame.exp: Likewise.
8781 * gdb.mi/mi-until.exp: Likewise.
8782 * gdb.mi/mi-var-block.exp: Likewise.
8783 * gdb.mi/mi-var-child.exp: Likewise.
8784 * gdb.mi/mi-var-cmd.exp: Likewise.
8785 * gdb.mi/mi-var-display.exp: Likewise.
8786 * gdb.mi/mi-watch.exp: Likewise.
8787 * gdb.mi/mi2-basics.exp: Likewise.
8788 * gdb.mi/mi2-break.exp: Likewise.
8789 * gdb.mi/mi2-cli.exp: Likewise.
8790 * gdb.mi/mi2-console.exp: Likewise.
8791 * gdb.mi/mi2-disassemble.exp: Likewise.
8792 * gdb.mi/mi2-eval.exp: Likewise.
8793 * gdb.mi/mi2-file.exp: Likewise.
8794 * gdb.mi/mi2-read-memory.exp: Likewise.
8795 * gdb.mi/mi2-regs.exp: Likewise.
8796 * gdb.mi/mi2-return.exp: Likewise.
8797 * gdb.mi/mi2-simplerun.exp: Likewise.
8798 * gdb.mi/mi2-stack.exp: Likewise.
8799 * gdb.mi/mi2-stepi.exp: Likewise.
8800 * gdb.mi/mi2-syn-frame.exp: Likewise.
8801 * gdb.mi/mi2-until.exp: Likewise.
8802 * gdb.mi/mi2-var-block.exp: Likewise.
8803 * gdb.mi/mi2-var-child.exp: Likewise.
8804 * gdb.mi/mi2-var-cmd.exp: Likewise.
8805 * gdb.mi/mi2-var-display.exp: Likewise.
8806 * gdb.mi/mi2-watch.exp: Likewise.
8807 * gdb.stabs/exclfwd.exp: Likewise.
8808 * gdb.stabs/weird.exp: Likewise.
8809 * gdb.threads/gcore-thread.exp: Likewise.
8810 * gdb.trace/actions.exp: Likewise.
8811 * gdb.trace/backtrace.exp: Likewise.
8812 * gdb.trace/circ.exp: Likewise.
8813 * gdb.trace/collection.exp: Likewise.
8814 * gdb.trace/deltrace.exp: Likewise.
8815 * gdb.trace/infotrace.exp: Likewise.
8816 * gdb.trace/limits.exp: Likewise.
8817 * gdb.trace/packetlen.exp: Likewise.
8818 * gdb.trace/passc-dyn.exp: Likewise.
8819 * gdb.trace/passcount.exp: Likewise.
8820 * gdb.trace/report.exp: Likewise.
8821 * gdb.trace/save-trace.exp: Likewise.
8822 * gdb.trace/tfind.exp: Likewise.
8823 * gdb.trace/tracecmd.exp: Likewise.
8824 * gdb.trace/while-dyn.exp: Likewise.
8825 * gdb.trace/while-stepping.exp: Likewise.
8826
8827 2006-08-08 Joel Brobecker <brobecker@adacore.com>
8828
8829 * gdb.base/step-bt.c: New file.
8830 * gdb.base/step-bt.exp: New testcase.
8831
8832 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
8833
8834 * config/monitor.exp (gdb_load): Remove support for obsolete
8835 download-write-size.
8836 * gdb.base/remote.exp: Likewise. Update all callers of
8837 gdb_timed_load.
8838
8839 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
8840
8841 * cursal.exp: Pass binfile to gdb_load.
8842
8843 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
8844
8845 * gdb.base/cursal.exp: Add "" to gdb_load call.
8846
8847 2006-07-29 Mark Kettenis <kettenis@gnu.org>
8848
8849 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
8850 NetBSD/ELF targets.
8851
8852 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
8853
8854 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
8855 operator*.
8856
8857 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
8858
8859 * gdb.base/completion.exp: Update for change in "file" behavior.
8860 * gdb.stabs/weird.exp: Likewise.
8861 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
8862 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
8863
8864 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
8865
8866 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
8867 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
8868
8869 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
8870
8871 * gdb.base/default.exp: Update source command error message.
8872 * gdb.base/help.exp: Update 'help source' message.
8873
8874 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
8875
8876 * gdb.cp/bs15503.exp: Update comment for no longer crashing
8877 test.
8878
8879 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
8880
8881 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
8882
8883 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8884
8885 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
8886
8887 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8888
8889 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
8890
8891 2006-07-17 Mark Kettenis <kettenis@gnu.org>
8892
8893 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
8894 *-*-openbsd* from targets for wich we expect ARM FPA floating
8895 point format.
8896
8897 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
8898
8899 * gdb.cp/annota3.exp: Expect frame-begin annotation.
8900
8901 2006-07-17 Mark Kettenis <kettenis@gnu.org>
8902
8903 * gdb.base/annota3.exp: Expect frame-begin annotation.
8904
8905 2006-07-14 Joel Brobecker <brobecker@adacore.com>
8906
8907 * gdb.base/help.exp: Adjust "help unset" test to accept
8908 any list of unset commands.
8909
8910 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
8911 Daniel Jacobowitz <dan@codesourcery.com>
8912
8913 * gdb.cp/ref-params.exp: New test.
8914 * gdb.cp/ref-params.cc: New source file.
8915 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
8916
8917 2006-07-08 Mark Kettenis <kettenis@gnu.org>
8918
8919 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
8920 spaces/tabs in regular expressions since they might not be there.
8921
8922 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
8923
8924 * gdb.base/ifelse.exp: New file.
8925
8926 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
8927
8928 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
8929 line.
8930 * gdb.base/huge.exp: Loop over compilation to find a size that
8931 is acceptable.
8932 * gdb.base/remote.exp: Correct expected strings.
8933 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
8934
8935 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8936
8937 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
8938
8939 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8940
8941 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
8942 native.
8943
8944 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8945
8946 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
8947 enable stabs testing.
8948
8949 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8950
8951 * gdb.base/auxv.exp: Intercept undefined command messages before
8952 gdb_test_multiple does.
8953
8954 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8955
8956 * Makefile.in (host_alias): Remove.
8957 (target_alias): Use @target_noncanonical@.
8958 (site.exp): Don't set host_alias.
8959 * aclocal.m4: Remove contents. Include acx.m4.
8960 * configure: Regenerated.
8961 * configure.ac: Use ACX_NONCANONICAL_TARGET.
8962
8963 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
8964
8965 * lib/gdb.exp (gdb_load_cmd): New.
8966
8967 * gdb.base/fileio.c: Add system(NULL) test.
8968 * gdb.base/fileio.exp: Check it.
8969
8970 * gdb.base/break.c: Add 10a breakpoint at }
8971 * gdb.base/break.exp: Add test for breakpoint at }
8972 * gdb.cp/anon-union.cc: Add code at end of function.
8973 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
8974 * gdb.mi/var-cmd.c: Add code at end of function.
8975 * gdb.mi/mi-var-display.exp: Adjust end of next.
8976 * gdb.mi/mi2-var-display.exp: Likewise.
8977 * gdb.base/fileio.c: Add stop function and insert calls at
8978 stopping places.
8979 * gdb.base/fileio.exp: Breakpoint stop function and remove
8980 explicit line number references.
8981
8982 2006-05-19 Joel Brobecker <brobecker@adacore.com>
8983
8984 * gdb.base/del.exp (test_delete_alias): New function.
8985 Now check that both "del" and "d" work as aliases for "delete".
8986
8987 2006-05-18 Fred Fish <fnf@specifix.com>
8988
8989 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
8990 required. Check for spurious output after program exits normally.
8991
8992 2006-05-17 Fred Fish <fnf@specifix.com>
8993
8994 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
8995 gdb_load, so it works in the simulator.
8996
8997 2006-05-11 Fred Fish <fnf@specifix.com>
8998
8999 * gdb.base/bang.exp: Ignore unexpected output between the
9000 "program exited normally" and the gdb prompt, as many other
9001 tests do.
9002
9003 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9004
9005 * gdb.base/help.exp: Make "delete checkpoint" part option for
9006 "help d" and "help delete" tests.
9007
9008 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9009
9010 * gdb.mi/mi-basics.exp: Add missing serial number to
9011 expected output in some mi_gdb_test statements.
9012 * gdb.mi/mi2-basics.exp: Likewise.
9013
9014 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9015
9016 * gdb.base/del.c: New file.
9017 * gdb.base/del.exp: New testcase.
9018
9019 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
9020
9021 * gdb.base/break.exp: Do not assume a breakpoint on
9022 main will actually be in $srcfile when optimizing.
9023 * gdb.base/savedregs.exp: Do not require that the dummy
9024 frame location match up to a symbol and source file location.
9025 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
9026 will get printed without a mi_cmd_data_list_register_values prefix.
9027 (*-data-list-register-*): Correct regular expressions to expect the new
9028 pseudo d? floating point registers.
9029 * gdb.mi/mi2-regs.exp: Likewise.
9030
9031 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
9032
9033 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
9034 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
9035 is allocated by the compiler.
9036 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
9037 anons, e, anone to force their allocation by the compiler.
9038
9039 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9040
9041 * gdb.base/help.exp: Update expected text for help d and
9042 help delete.
9043
9044 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9045
9046 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9047 NetBSD/ELF targets.
9048
9049 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9050
9051 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9052 single-step breakpoint fails; make this a KFAIL on
9053 sparc*-*-openbsd*.
9054 * gdb.base/siginfo.exp: Likewise.
9055 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9056
9057 2006-04-26 Michael Snyder <msnyder@redhat.com>
9058
9059 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
9060 which may have to consume output from other forks.
9061 Add tests to make sure that "delete fork" succeeded.
9062
9063 2006-04-20 Michael Snyder <msnyder@redhat.com>
9064
9065 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9066 Add support for the Renesas M32C and M16C.
9067
9068 * gdb.asm/asm-source.exp: Add m32c target.
9069 * gdb.asm/m32c.inc: Support for m32c target.
9070
9071 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9072
9073 * gdb.base/commands.exp (recursive_source_test): New test.
9074
9075 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9076
9077 * gdb.base/float.exp: Add pattern for sparc targets.
9078
9079 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9080
9081 * gdb.base/commands.exp (stray_arg0_test): New test.
9082
9083 2006-03-30 Paul Brook <paul@codesourcery.com>
9084
9085 * gdb.mi/mi-until.exp: kfail broken until command.
9086 * gdb.mi/mi2-until.exp: Ditto.
9087
9088 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9089
9090 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9091
9092 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9093
9094 * gdb.base/prelink.exp: Anchor tested-for regular expression
9095 on gdb prompt.
9096
9097 2006-03-07 Paul Brook <paul@codesourcery.com>
9098
9099 * gdb.base/assign.exp: Correct fail message.
9100
9101 2006-03-07 Paul Brook <paul@codesourcery.com>
9102
9103 * lib/compiler.c: Extract armcc version number.
9104 * lib/compiler.cc: Ditto.
9105
9106 2006-03-07 Paul Brook <paul@codesourcery.com>
9107
9108 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
9109 additional_flags=-w.
9110 * gdb.arch/altivec-regs.exp: Ditto.
9111 * gdb.arch/e500-abi.exp: Ditto.
9112 * gdb.arch/e500-regs.exp: Ditto.
9113 * gdb.base/all-bin.exp: Ditto.
9114 * gdb.base/annota1.exp: Ditto.
9115 * gdb.base/annota3.exp: Ditto.
9116 * gdb.base/args.exp: Ditto.
9117 * gdb.base/arithmet.exp: Ditto.
9118 * gdb.base/assign.exp: Ditto.
9119 * gdb.base/async.exp: Ditto.
9120 * gdb.base/bang.exp: Ditto.
9121 * gdb.base/break.exp: Ditto.
9122 * gdb.base/call-rt-st.exp: Ditto.
9123 * gdb.base/completion.exp: Ditto.
9124 * gdb.base/cond-expr.exp: Ditto.
9125 * gdb.base/condbreak.exp: Ditto.
9126 * gdb.base/consecutive.exp: Ditto.
9127 * gdb.base/define.exp: Ditto.
9128 * gdb.base/display.exp: Ditto.
9129 * gdb.base/ena-dis-br.exp: Ditto.
9130 * gdb.base/environ.exp: Ditto.
9131 * gdb.base/eval-skip.exp: Ditto.
9132 * gdb.base/info-proc.exp: Ditto.
9133 * gdb.base/jump.exp: Ditto.
9134 * gdb.base/logical.exp: Ditto.
9135 * gdb.base/long_long.exp: Ditto.
9136 * gdb.base/maint.exp: Ditto.
9137 * gdb.base/miscexprs.exp: Ditto.
9138 * gdb.base/pc-fp.exp: Ditto.
9139 * gdb.base/pointers.exp: Ditto.
9140 * gdb.base/relational.exp: Ditto.
9141 * gdb.base/reread.exp: Ditto.
9142 * gdb.base/sect-cmd.exp: Ditto.
9143 * gdb.base/sep.exp: Ditto.
9144 * gdb.base/sepdebug.exp: Ditto.
9145 * gdb.base/until.exp: Ditto.
9146 * gdb.base/whatis-exp.exp: Ditto.
9147 * gdb.cp/annota2.exp: Ditto.
9148 * gdb.cp/annota3.exp: Ditto.
9149 * gdb.trace/actions.exp: Ditto.
9150 * gdb.trace/backtrace.exp: Ditto.
9151 * gdb.trace/circ.exp: Ditto.
9152 * gdb.trace/collection.exp: Ditto.
9153 * gdb.trace/deltrace.exp: Ditto.
9154 * gdb.trace/infotrace.exp: Ditto.
9155 * gdb.trace/limits.exp: Ditto.
9156 * gdb.trace/packetlen.exp: Ditto.
9157 * gdb.trace/passc-dyn.exp: Ditto.
9158 * gdb.trace/passcount.exp: Ditto.
9159 * gdb.trace/report.exp: Ditto.
9160 * gdb.trace/save-trace.exp: Ditto.
9161 * gdb.trace/tfind.exp: Ditto.
9162 * gdb.trace/tracecmd.exp: Ditto.
9163 * gdb.trace/while-dyn.exp: Ditto.
9164 * gdb.trace/while-stepping.exp: Ditto.
9165 * lib/gdb.exp: Ditto.
9166 (gdb_compile): Handle nowarning option.
9167
9168 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
9169
9170 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
9171 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
9172 Rename executable to prelinkt. Don't re-prelink if we didn't
9173 get a core file. Test prelink -u exit status to tell whether
9174 prelinking failed. Use gdb_test_multiple.
9175
9176 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9177
9178 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9179 (do_tests): Call it.
9180
9181 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9182
9183 * gdb.base/prelink.exp: New test.
9184 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9185
9186 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9187
9188 * gdb.fortran/derived-type.f90: New file.
9189 * gdb.fortran/derived-type.exp: New testcase.
9190
9191 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9192
9193 * gdb.base/default.exp: Allow ';' as a directory separator.
9194
9195 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9196
9197 * gdb.base/help.exp (help add-symbol-file): Update.
9198
9199 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9200
9201 * gdb.base/help.exp (help load): Update expected results.
9202
9203 2006-02-19 Fred Fish <fnf@specifix.com>
9204
9205 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
9206 specifix hex value as part of results.
9207 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
9208
9209 2006-02-16 Fred Fish <fnf@specifix.com>
9210
9211 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9212 ushort_addr, and slong_addr, so the typedefs are not optimized
9213 away.
9214 * gdb.base/whatis.exp: Add tests using type name for struct type,
9215 union type, enum type, and typedef.
9216
9217 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9218
9219 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9220
9221 2006-02-13 Jim Blandy <jimb@redhat.com>
9222
9223 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
9224 case where it takes two "next" commands to skip past the init
9225 call.
9226
9227 2006-02-12 Fred Fish <fnf@specifix.com>
9228
9229 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9230 to handle cases where it takes two "next" commands to skip
9231 past the init call.
9232
9233 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9234
9235 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9236 on hppa32 targets.
9237
9238 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9239
9240 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9241 field.
9242
9243 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9244
9245 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9246
9247 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9248
9249 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9250 files.
9251
9252 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9253
9254 * gdb.cp/maint.exp: Set complaints to a positive value.
9255
9256 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9257
9258 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
9259 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
9260 function name.
9261
9262 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9263
9264 * gdb.base/checkpoint.c: Update copyright notice. Include
9265 <stdlib.h>.
9266
9267 2006-01-04 Jim Blandy <jimb@redhat.com>
9268
9269 * gdb.asm/asm-source.exp: Independently provide default values for
9270 asm-flags and debug-flags. Use 'string equal' to do the
9271 comparison, not the implicit expr's '==' operator. Remove
9272 now-unneeded assignments to asm-flags. In h8300 case, place
9273 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
9274
9275 2006-01-04 Michael Snyder <msnyder@redhat.com>
9276
9277 * gdb.base/checkpoint.c: New file.
9278 * gdb.base/checkpoint.exp: New file.
9279 * gdb.base/multi-fork.c: New file.
9280 * gdb.base/multi-fork.exp: New file.
9281 * gdb.base/pi.txt: New file (data for checkpoint.c test).
9282
9283 2006-01-04 Fred Fish <fnf@specifix.com>
9284
9285 * gdb.base/ptype.c (foo): Add typedef.
9286 (intfoo): Add function.
9287 * gdb.base/ptype1.c: New file.
9288 * gdb.base/ptype.exp: Handle compilation and linking with two
9289 source files. Test that proper type for "foo" is found based
9290 on source context rather than first match found in symtabs.
9291
9292 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9293
9294 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9295 * gdb.asm/openbsd.inc: Indent commands.
9296
9297 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9298
9299 * gdb.base/freebpcmd.exp: Increase timeout.
9300
9301 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9302
9303 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9304
9305 * gdb.base/default.exp: Update check for "show version".
9306
9307 2005-12-09 Randolph Chung <tausq@debian.org>
9308
9309 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9310 * gdb.asm/pa64.inc: New file.
9311
9312 2005-12-09 Randolph Chung <tausq@debian.org>
9313
9314 * gdb.asm/common.inc: Indent commands.
9315 * gdb.asm/asmsrc1.s: Likewise.
9316 * gdb.asm/asmsrc2.s: Likewise.
9317
9318 2005-12-09 Randolph Chung <tausq@debian.org>
9319
9320 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
9321 (get_addr_of_sym): Remove duplicate print.
9322 (gen_core): xfail hppa*-*-hpux*, update expected output.
9323 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
9324 * gdb.arch/pa64-nullify.s: New file.
9325
9326 2005-12-09 Randolph Chung <tausq@debian.org>
9327
9328 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9329
9330 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
9331
9332 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
9333 code generation for these functions.
9334 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
9335 error message.
9336
9337 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9338
9339 * gdb.base/help.exp (help b, help br, help bre, help brea)
9340 (help break): Update the expected message.
9341
9342 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
9343
9344 * gdb.asm/m68hc11.inc: Setup the data section.
9345 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
9346 script for this test.
9347 (m6812-*-*): Likewise.
9348
9349 2005-11-09 Randolph Chung <tausq@debian.org>
9350
9351 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9352
9353 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9354
9355 * gdb.base/break.exp: Fix a comment typo.
9356
9357 2005-11-03 Jim Blandy <jimb@redhat.com>
9358
9359 Checked in by Elena Zannoni <ezannoni@redhat.com>
9360
9361 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9362
9363 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
9364
9365 * gdb.arch/gdb1558.c: Include stdio.h.
9366
9367 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9368
9369 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9370
9371 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9372
9373 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9374
9375 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9376
9377 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9378 vscr" tests to better match output.
9379
9380 2005-10-12 Jim Blandy <jimb@redhat.com>
9381
9382 * gdb.base/structs.exp (any): New function.
9383 (test_struct_returns): Don't make any assumptions at all about
9384 what value the function returns when GDB can't set the return
9385 value.
9386
9387 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9388
9389 * gdb.ada/arrayidx/p.adb: New file.
9390 * gdb.ada/arrayidx.exp: New testcase
9391
9392 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9393
9394 * gdb.ada/array_return/pck.ads: New file.
9395 * gdb.ada/array_return/pck.adb: New file.
9396 * gdb.ada/array_return/p.adb: New file.
9397 * gdb.ada/array_return.exp: New testcase.
9398
9399 2005-10-03 Joel Brobecker <brobecker@adacore.com>
9400
9401 * gdb.base/arrayidx.c: New file.
9402 * gdb.base/arrayidx.exp: New testcase.
9403
9404 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
9405
9406 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
9407 frames-invalid and breakpoints-invalid are no longer generated
9408 with level 3 so don't expect them in the output.
9409
9410 2005-09-27 Bob Rossi <bob@brasko.net>
9411
9412 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
9413 from test. Escape the | in mi_gdb_test call.
9414 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
9415 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
9416 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
9417 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
9418 expected regex's in mi_gdb_test calls.
9419 * lib/mi-support.exp: Remove arbitrary .* from tests.
9420 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
9421 Fully anchor GDB/MI expected results in mi_gdb_test.
9422 * lib/gdb.exp (string_to_regexp): Escape the ] character.
9423 * gdb.base/sizeof.exp: Remove escape character. Correct test.
9424
9425 2005-09-26 Paul Brook <paul@codesourcery.com>
9426
9427 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9428
9429 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9430
9431 * bfp-test.c: New file.
9432 * bfp-test.exp: New testcase.
9433
9434 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9435
9436 * gdb.fortran/subarray.exp: New testcase to test the evaluation
9437 of subarray and substring variable.
9438 * gdb.fortran/subarray.f: New source file for the test of subarray
9439 and substring variable evaluation.
9440 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
9441 of string constant.
9442
9443 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9444
9445 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9446 copyright dates.
9447
9448 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9449
9450 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9451 powerpc altivec' test with an almost identical 'info vector' test.
9452
9453 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9454
9455 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9456 vscr" tests to match output.
9457
9458 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9459
9460 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9461 output.
9462
9463 2005-09-11 Bob Rossi <bob@brasko.net>
9464
9465 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
9466 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
9467 commands that return an MI output command and an asyncronous MI output
9468 command.
9469 * gdb.mi/mi-console.exp: Ditto.
9470
9471 2005-09-11 Bob Rossi <bob@brasko.net>
9472
9473 * gdb.mi/mi-var-child.c: Include <string.h>.
9474
9475 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9476
9477 * killed.exp: Correct gdb_expect syntax.
9478
9479 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
9480
9481 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9482
9483 2005-08-02 Bob Rossi <bob@brasko.net>
9484
9485 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
9486 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
9487 Change tests to inferior-tty-set/show.
9488 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
9489 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
9490 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
9491 inferior. Use mi_gdb_test to get GDB and Inferior output.
9492 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
9493 descriptor.
9494 (mi_inferior_tty_name): Add inferior PTY file name.
9495 (mi_gdb_start): Add INFERIOR_PTY parameter.
9496 (mi_gdb_test): Add IPATTERN parameter.
9497
9498 2005-08-02 Bob Rossi <bob@brasko.net>
9499
9500 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
9501 parameter to mi_gdb_test.
9502 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
9503
9504 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9505
9506 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
9507 struct_declarations.
9508 * gdb.mi/mi-var-child.exp: Step over the initialization of
9509 struct_declarations.
9510
9511 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
9512
9513 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
9514 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
9515 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
9516 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
9517 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
9518 file.
9519
9520 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
9521
9522 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9523 (do_children_tests): Assign values to the extra elements.
9524
9525 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
9526 them for tests for "-var-update --no-values" and
9527 "-var-update --all-values".
9528 Add test for "-var-list-children --simple-values".
9529
9530 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9531
9532 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9533 "-stack-list-locals --simple-values" Improve doc strings and
9534 comments.
9535
9536 2005-07-18 Mark Kettenis <kettenis@gnu.org>
9537
9538 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9539 *-*-openbsd*.
9540 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9541
9542 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9543 sigaltsatck'.
9544
9545 2005-07-14 Bob Rossi <bob@brasko.net>
9546
9547 * gdb.base/default.exp (tty): Changed output of command.
9548 * gdb.base/help.exp (help tty): Ditto.
9549
9550 2005-07-12 Mark Kettenis <kettenis@gnu.org>
9551
9552 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
9553
9554 2005-07-10 Mark Kettenis <kettenis@gnu.org>
9555
9556 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
9557 -stack-select-frame without arguments.
9558 (test_stack_frame_listing): Add test for newly implemented command
9559 -stack-info-frame.
9560
9561 2005-07-06 Bob Rossi <bob@brasko.net>
9562
9563 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
9564 command.
9565 (Copyright): Update copyright.
9566
9567 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
9568
9569 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
9570 tests to evaluate exponentiation expression.
9571
9572 2005-06-29 Andreas Schwab <schwab@suse.de>
9573
9574 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
9575 main to avoid warnings.
9576
9577 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
9578
9579 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
9580
9581 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
9582 -stack-select-frame without arguments.
9583 (test_stack_frame_listing): Add test for newly implemented command
9584 -stack-info-frame.
9585
9586 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
9587
9588 * gdb.fortran/array-element.f: New file.
9589 * gdb.fortran/array-element.exp: New testcase.
9590
9591 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9592
9593 * gdb.base/bigcore.exp: Correct checks for systems which can
9594 not dump a large core file.
9595
9596 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9597
9598 * gdb.base/relocate.c: Add a copyright notice.
9599 (dummy): Remove.
9600 * gdb.base/relocate.exp: Test printing the values of variables
9601 from a relocatable file.
9602
9603 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9604
9605 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
9606 excess MI output after an error.
9607
9608 2005-05-29 Joel Brobecker <brobecker@adacore.com>
9609
9610 * gdb.arch/alpha-step.c: New file.
9611 * gdb.arch/alpha-step.exp: New testcase.
9612
9613 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
9614 Dennis Brueni <dennis@slickedit.com>
9615
9616 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
9617 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
9618 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
9619 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
9620 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9621 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
9622 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
9623
9624 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
9625 Wu Zhou <woodzltc@cn.ibm.com>
9626
9627 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
9628 IBM's xlc compiler.
9629 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
9630 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
9631
9632 2005-05-13 Jim Blandy <jimb@redhat.com>
9633
9634 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
9635 calling gdb_suppress_entire_file.
9636 * gdb.base/charset.exp: Same.
9637 * gdb.base/call-rt-st.exp: Same.
9638
9639 2005-05-05 Bob Rossi <bob_rossi@cox.net>
9640
9641 * lib/gdb.exp (fullname_syntax): Added global regex.
9642 (fullname_syntax_POSIX): Ditto.
9643 (fullname_syntax_UNC): Ditto.
9644 (fullname_syntax_DOS_CASE): Ditto.
9645 (fullname_syntax_DOS): Ditto.
9646 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
9647 fullname_syntax variable to scope and use it.
9648 (test_file_list_exec_source_files): Ditto.
9649 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
9650
9651 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
9652
9653 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
9654
9655 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
9656
9657 * lib/gdb.exp (skip_altivec_tests): New function, based on
9658 check_vmx_hw_available from the GCC testsuite.
9659 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
9660 * lib/gdb.arch/altivec-regs.exp: Likewise.
9661
9662 2005-05-02 Jim Blandy <jimb@redhat.com>
9663
9664 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
9665 calling gdb_suppress_entire_file.
9666
9667 2005-04-30 Randolph Chung <tausq@debian.org>
9668
9669 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
9670 Slightly relax "sem_post" name checking.
9671
9672 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9673
9674 * gdb.base/unload.exp: Use new shared library infrastructure.
9675
9676 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9677
9678 * gdb.base/so-impl-ld.exp: Use new shared library
9679 infrastructure.
9680
9681 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
9682
9683 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
9684 * gdb.asm/h8300.inc: New file.
9685
9686 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9687
9688 * gdb.base/shlib-call.exp: Change to use new shared library
9689 infrastructure.
9690
9691 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9692
9693 * gdb.base/pending.exp: Change to use new shared library
9694 infrastructure.
9695
9696 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9697
9698 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
9699 use test_compiler_info instead of gcc_compiled, and update copyright.
9700
9701 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
9702
9703 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
9704 shared objects being adjusted and update copyright years.
9705
9706 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
9707
9708 * ChangeLog: Correct some 2003-01-13 dates.
9709 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
9710 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
9711 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
9712 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
9713 gdb.trace/tfind.exp: Update copyright years.
9714
9715 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
9716 Daniel Jacobowitz <dan@codesourcery.com>
9717
9718 * lib/gdb.exp (gdb_compile): Handle shlib=.
9719 (gdb_compile_shlib): New function.
9720
9721 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
9722
9723 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9724
9725 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
9726
9727 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
9728 gdb.server.
9729 * configure.ac: Likewise.
9730 * configure: Regenerated.
9731 * gdb.gdbserver/Makefile.in: Moved to...
9732 * gdb.server/Makefile.in: ... here.
9733 * gdb.gdbserver/server.c: Moved to...
9734 * gdb.server/server.c: ... here.
9735 * gdb.gdbserver/server-run.exp: Moved to...
9736 * gdb.server/server-run.exp: ... here.
9737
9738 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
9739
9740 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
9741 * configure.ac: Create gdb.gdbserver/Makefile.
9742 * configure: Regenerated.
9743 * lib/gdbserver-support.exp: New file, derived from
9744 config/gdbserver.exp.
9745 * config/gdbserver.exp: Use gdbserver-support.exp.
9746 * gdb.gdbserver/Makefile.in: New file.
9747 * gdb.gdbserver/server.c: New file.
9748 * gdb.gdbserver/server-run.exp: New file.
9749
9750 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
9751
9752 * lib/gdb.exp (test_compiler_info): Return compiler_info
9753 if no arguments are given.
9754
9755 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
9756
9757 * gdb.arch/altivec-abi.exp: Check for compiler and set
9758 use altivec' flag accordingly.
9759 * gdb.arch/altivec-regs.exp: Likewise.
9760
9761 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
9762
9763 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
9764
9765 2005-03-27 Andreas Schwab <schwab@suse.de>
9766
9767 * gdb.base/bigcore.c (main): Add missing mode argument in open
9768 call.
9769
9770 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
9771
9772 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
9773 downloads.
9774 * config/gdbserver.exp (gdb_load): Likewise.
9775
9776 2005-03-14 Paul Brook <paul@codesourcery.com>
9777
9778 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
9779 targets.
9780
9781 2005-03-09 Joel Brobecker <brobecker@adacore.com>
9782
9783 * gdb.dwarf2/dup-psym.S: New file.
9784 * gdb.dwarf2/dup-psym.exp: New testcase.
9785
9786 2005-03-09 Joel Brobecker <brobecker@adacore.com>
9787
9788 * gdb.ada/exec_changed/first.adb: New file.
9789 * gdb.ada/exec_changed/second.adb: New file.
9790 * gdb.ada/exec_changed.exp: New testcase.
9791
9792 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
9793
9794 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
9795 (A2): New class.
9796 (main): Test operator+.
9797 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
9798 breakpoint test.
9799
9800 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
9801 * gdb.base/signull.exp: Disable if gdb,nosignals.
9802 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
9803 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
9804 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
9805 * gdb.mi/mi2-console.exp: Likewise.
9806 * gdb.trace/collection.exp (run_trace_experiment): Consume the
9807 continue output at start.
9808 (gdb_collect_locals_test): Robustify regexp.
9809 * gdb.trace/passc-dyn.exp: Fix comment typo.
9810 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
9811
9812 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
9813
9814 * gdb.asm/asm-source.exp: Add iq2000 case.
9815 * gdb.asm/iq2000.inc: New file.
9816
9817 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
9818
9819 * gdb.base/command.exp: Change hardcoded value to regular expression.
9820 * gdb.base/float.exp: Add powerpc to the list of targets checked.
9821
9822 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
9823
9824 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
9825 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
9826 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
9827 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
9828 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
9829
9830 2005-03-05 Mark Kettenis <kettenis@gnu.org>
9831
9832 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
9833 changes.
9834
9835 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
9836
9837 * lib/compiler.c: Add test for IBM's xlc compiler.
9838 * lib/compiler.cc: Likewise.
9839
9840 2004-02-24 Joel Brobecker <brobecker@adacore.com>
9841
9842 * gdb.ada/fixed_points.exp: Create compilation object directory
9843 before running the test.
9844 * gdb.ada/null_record.exp: Likewise.
9845 * gdb.ada/packed_array.exp: Likewise.
9846 * gdb.ada/start.exp: Likewise.
9847
9848 2005-02-15 Joel Brobecker <brobecker@adacore.com>
9849
9850 * gdb.ada/packed_array/pa.adb: New file.
9851 * gdb.ada/packed_array.exp: New testcase.
9852
9853 2005-02-10 Mark Kettenis <kettenis@gnu.org>
9854
9855 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
9856 files.
9857
9858 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
9859 on *-*-openbsd*. Correctly match whitespace in regukar
9860 expressions.
9861
9862 2005-02-10 Daniel Jacobowitz <dan@debian.org>
9863
9864 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
9865 PR exp/1821
9866 * gdb.base/gdb1821.c: New test file.
9867 * gdb.base/gdb1821.exp: New test file.
9868
9869 2005-02-09 Joel Brobecker <brobecker@adacore.com>
9870
9871 * gdb.base/start.c: New file.
9872 * gdb.base/start.exp: New testcase.
9873
9874 2005-02-09 Joel Brobecker <brobecker@adacore.com>
9875
9876 * gdb.ada/start/dummy.adb: New file.
9877 * gdb.ada/start.exp: New testcase.
9878
9879 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
9880
9881 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
9882 for printing symbols and statistics.
9883 Add test for using relative pathnames in "maint print msymbols" test.
9884 Mark "maint info sections DATA" XFAIL on Cygwin.
9885 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
9886 tests.
9887
9888 2005-02-09 Andreas Schwab <schwab@suse.de>
9889
9890 Committed by Andrew Cagney <cagney@gnu.org>
9891 * gdb.base/remotetimeout.exp: New file.
9892
9893 2005-02-07 Mark Kettenis <kettenis@gnu.org>
9894
9895 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
9896
9897 2005-02-03 Joel Brobecker <brobecker@adacore.com>
9898
9899 * gdb.ada/gnat_ada.gpr: New file.
9900 * gdb.ada/gnat_ada.gin: Delete, no longer used.
9901 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
9902 * configure.ac: No longer generate gnat_ada.gpr.
9903 * configure: Regenerate.
9904 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
9905 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
9906 * gdb.ada/null_record/bar.ads: Likewise.
9907 * gdb.ada/null_record/bar.adb: Likewise.
9908 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
9909 * gdb.ada/null_record.exp (testdir): New variable.
9910 (testfile): executable is now in testdir subdirectory.
9911 (srcfile): Use full path to the main compilation unit.
9912 * gdb.ada/fixed_points.exp: Same changes as above.
9913
9914 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
9915
9916 * gdb.base/interp.exp: New test.
9917
9918 2005-01-24 Andrew Cagney <cagney@gnu.org>
9919
9920 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
9921
9922 2005-01-19 Andrew Cagney <cagney@gnu.org>
9923
9924 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
9925 configure.ac not configure.in.
9926
9927 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
9928 of powerpc*-*-*.
9929 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
9930 * gdb.base/list.exp (test_list_function)
9931 (test_list_filename_and_function): Ditto.
9932 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
9933
9934 2005-01-16 Andrew Cagney <cagney@gnu.org>
9935
9936 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
9937
9938 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
9939
9940 2005-01-14 Andrew Cagney <cagney@gnu.org>
9941
9942 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
9943 * gdb.mi/mi2-var-cmd.exp: Ditto.
9944
9945 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
9946
9947 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
9948
9949 2005-01-07 Andrew Cagney <cagney@gnu.org>
9950
9951 * configure.ac: Rename configure.in, require autoconf 2.59.
9952 * configure: Re-generate.
9953 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
9954 * gdb.stabs/configure: Re-generate.
9955 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
9956 * gdb.hp/configure: Re-generate.
9957 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
9958 autoconf 2.59.
9959 * gdb.hp/gdb.objdbg/configure: Re-generate.
9960 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
9961 autoconf 2.59.
9962 * gdb.hp/gdb.defects/configure: Re-generate.
9963 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
9964 autoconf 2.59.
9965 * gdb.hp/gdb.compat/configure: Re-generate.
9966 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
9967 autoconf 2.59.
9968 * gdb.hp/gdb.base-hp/configure: Re-generate.
9969 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
9970 autoconf 2.59.
9971 * gdb.hp/gdb.aCC/configure: Re-generate.
9972
9973 2004-12-15 Jim Blandy <jimb@redhat.com>
9974
9975 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
9976 under NPTL when there is debugging info available for libpthread.
9977
9978 2004-12-13 Jerome Guitton <guitton@gnat.com>
9979
9980 * gdb.ada/fixed_points.c: New file.
9981 * gdb.ada/fixed_points.exp: New file.
9982
9983 2004-12-03 Randolph Chung <tausq@debian.org>
9984
9985 * gdb.arch/pa-nullify.exp: New file.
9986 * gdb.arch/pa-nullify.s: New file.
9987
9988 2004-11-30 Randolph Chung <tausq@debian.org>
9989
9990 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
9991 instead of "tbug". Fix regexp to work properly with gdb_test.
9992
9993 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
9994
9995 * gdb.base/bitfields2.exp: New test.
9996 * gdb.base/bitfields2.c: New file.
9997
9998 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
9999
10000 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10001
10002 2004-11-16 Randolph Chung <tausq@debian.org>
10003
10004 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10005
10006 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10007
10008 * gdb.threads/threadapply.exp: Correct "macro details" test.
10009
10010 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10011
10012 * gdb.threads/threadapply.exp: New test.
10013 * gdb.threads/threadapply.c: New file.
10014
10015 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10016
10017 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10018 frames.
10019
10020 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10021
10022 * gdb.base/cursal.exp: New file.
10023 * gdb.base/cursal.c: New file.
10024
10025 2004-11-03 Andrew Cagney <cagney@gnu.org>
10026
10027 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10028
10029 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10030
10031 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10032 NetBSD/ELF targets.
10033
10034 2004-10-29 Joel Brobecker <brobecker@gnat.com>
10035
10036 * gdb.threads/bp_in_thread.c: New file, copied from
10037 pthread_cond_wait.c.
10038 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
10039 file, rather than reusing the .c file from another testcase.
10040
10041 2004-10-20 Joel Brobecker <brobecker@gnat.com>
10042
10043 * gdb.ada/null_record.exp: Check where we stopped after
10044 sending the start command, instead of where the associated
10045 temporary breakpoint was inserted.
10046
10047 2004-10-14 Andrew Cagney <cagney@gnu.org>
10048
10049 * gdb.mi/gdb701.c (main): Return 0.
10050
10051 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10052
10053 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10054
10055 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10056
10057 * gdb.threads/schedlock.c: Add comment markers to use to find
10058 line numbers.
10059 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10060 comments.
10061 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10062 breakpoint lines.
10063
10064 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10065
10066 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10067
10068 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10069
10070 * configure.in: Add gdb.dwarf2.
10071 * configure: Regenerated.
10072 * Makefile.in: Add gdb.dwarf2.
10073 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
10074 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
10075 gdb.dwarf2/file1.txt: New files.
10076
10077 2004-10-11 Orjan Friberg <orjanf@axis.com>
10078
10079 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
10080 of "run", since the latter doesn't work with remote targets. Adjust
10081 the breakpoint numbering accordingly.
10082 * gdb.threads/pthread_cond_wait.exp: Ditto.
10083
10084 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10085
10086 * gdb.base/overlays.exp: Update copyright years.
10087
10088 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10089
10090 * gdb.base/overlays.exp: Disable if target is Linux.
10091
10092 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10093
10094 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10095
10096 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10097
10098 * gdb.asm/asm-source.exp: Add m32r-linux target.
10099 * gdb.asm/m32r-linux.inc: New file.
10100
10101 2004-09-24 Andrew Cagney <cagney@redhat.com>
10102 David Anderson <anderson@redhat.com>
10103
10104 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
10105 command fails, assume things will work.
10106 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
10107 (_GNU_SOURCE): Define.
10108 (print_unsigned, print_hex): Change parameter to "long long".
10109 (print_byte_count): New function, use to print byte counts.
10110 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
10111 O_LARGEFILE.
10112 (main): Compute an upper bound on a corefile in max_core_size.
10113 Limit memory chunk size to max_core_size. Limit total memory
10114 allocated to max_core_size.
10115
10116 2004-09-23 Andrew Cagney <cagney@gnu.org>
10117
10118 * gdb.base/bigcore.exp: Replace the code that creates a corefile
10119 from a separate process with code that creates a corefile by
10120 making the inferior dump core.
10121
10122 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10123
10124 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10125 block.
10126
10127 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
10128
10129 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
10130 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
10131 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
10132 Likewise.
10133
10134 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10135
10136 * gdb.java/jprint.exp: New test case for java inferior call.
10137 * gdb.java/jprint.java: Ditto.
10138
10139 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10140
10141 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10142
10143 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10144
10145 * gdb.threads/killed.c: Include <stdlib.h>.
10146 * gdb.threads/pthreads.c: Likewise.
10147
10148 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10149
10150 * gdb.threads/killed.c: Add copyright notice.
10151
10152 2004-09-10 Jason Molenda (jmolenda@apple.com)
10153
10154 * gdb.base/define.exp: Two new tests to verify zero space chars
10155 after 'if' and 'while' commands in a user-defined command is correctly
10156 parsed.
10157
10158 2004-09-08 Andrew Cagney <cagney@gnu.org>
10159
10160 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10161 delivery test with duplicate at end of file.
10162
10163 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10164
10165 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10166
10167 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10168
10169 * config/hppro.exp: Removed.
10170
10171 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10172
10173 * config/sparclet.exp: Removed.
10174
10175 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10176
10177 * config/udi.exp: Removed.
10178
10179 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10180
10181 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10182 of "exp_continue".
10183 (advancei): Likewise.
10184
10185 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10186
10187 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10188
10189 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
10190
10191 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
10192 to check for nodebug in executable.
10193 * gdb.gdb/observer.exp (setup_test): Likewise.
10194 * gdb.gdb/selftest.exp (test_with_self): Likewise.
10195 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
10196
10197 2004-09-01 Andrew Cagney <cagney@gnu.org>
10198
10199 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10200 files.
10201
10202 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10203
10204 * gdb.base/unload.exp: Fix expected warning message to match
10205 latest format.
10206
10207 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10208
10209 * gdb.base/call-rt-st.exp: Fix typos.
10210
10211 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10212
10213 * gdb.threads/thread_check.exp: New testcase.
10214 * gdb.threads/thread_check.c: New testcase.
10215
10216 2004-08-31 Andrew Cagney <cagney@gnu.org>
10217
10218 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
10219 (skip_to_handler_entry): New procedures. Test stepping into a
10220 handler when the breakpoint is at the handler's entry point.
10221
10222 2004-08-30 Andrew Cagney <cagney@gnu.org>
10223
10224 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10225 gdb/1757.
10226
10227 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10228
10229 With code from Manoj Iyer <manjo@austin.ibm.com>:
10230 * lib/gdb.exp (gdb_file_cmd): Return more information in the
10231 return value. Add an arm for "no debugging symbols found".
10232 Change a stray "error" to "perror".
10233 (gdb_run_cmd): Adapt to new return value.
10234 * gdb.base/remote.exp: Adapt to new return value.
10235 * gdb.gdb/complaints.exp: Likewise.
10236 * gdb.gdb/observer.exp: Likewise.
10237 * gdb.gdb/selftest.exp: Likewise.
10238 * gdb.gdb/xfullpath.exp: Likewise.
10239
10240 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10241
10242 * gdb.threads/bp_in_thread.exp: New testcase.
10243
10244 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
10245
10246 Fix PR testsuite/1735.
10247 * gdb.threads/schedlock.c (thread_function): Add a cast
10248 to suppress a gcc warning.
10249 * gdb.threads/thread-specific.c (thread_function): Likewise.
10250
10251 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10252
10253 * gdb.base/unload.c: Include <stdlib.h>.
10254
10255 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10256
10257 From Paul Gilliam <pgilliam@us.ibm.com>:
10258 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
10259 synchronized after the "return".
10260
10261 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10262
10263 * gdb.mi/basics.c: Include <stdio.h>.
10264 * gdb.mi/pthreads.c: Include <stdlib.h>.
10265 * gdb.mi/var-cmd.c: Include <stdlib.h>.
10266
10267 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10268
10269 * gdb.threads/schedlock.c: Add copyright notice.
10270
10271 2004-08-25 Andrew Cagney <cagney@gnu.org>
10272
10273 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
10274 (skip_over_handler, breakpoint_over_hander): New test procedures.
10275 (advance, advancei): Add a proper prefix, do not use
10276 rerun_to_main.
10277 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10278
10279 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10280
10281 * gdb.mi/basics.c: Add copyright notice.
10282 * gdb.mi/var-cmd.c: Add copyright notice.
10283
10284 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10285
10286 * lib/gdb.exp: Remove signed_keyword_not_used.
10287 * lib/compiler.c: Likewise.
10288 * lib/compiler.cc: Likewise.
10289
10290 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10291
10292 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10293 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10294
10295 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10296
10297 * gdb.base/whatis.c: Add copyright notice.
10298
10299 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10300
10301 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10302 it to skip the breakpoints encoded in the inline assembly.
10303
10304 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10305
10306 * Makefile.in: Add gdb.fortran.
10307
10308 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10309
10310 * gdb.base/call-sc.exp (test_scalar_returns):
10311 Fix cut-and-paste glitch in "Make fun return now".
10312
10313 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10314
10315 * configure.in: Add gdb.fortran.
10316 * configure: Regenerate.
10317 * gdb.fortran/Makefile.in: New file.
10318 * lib/gdb.exp (skip_fortran_tests): New procedure.
10319
10320 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
10321
10322 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
10323 reference to bug-gnu@prep.ai.mit.edu.
10324 * gdb.mi/mi-var-child.exp: Likewise.
10325 * gdb.mi/mi-var-cmd.exp: Likewise.
10326 * gdb.mi/mi-var-display.exp: Likewise.
10327 * gdb.mi/mi2-var-block.exp: Likewise.
10328 * gdb.mi/mi2-var-child.exp: Likewise.
10329 * gdb.mi/mi2-var-cmd.exp: Likewise.
10330 * gdb.mi/mi2-var-display.exp: Likewise.
10331
10332 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10333
10334 * gdb.base/unload.c (main): Make local variable msg const.
10335
10336 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10337
10338 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
10339 to bug-gnu@prep.ai.mit.edu.
10340 * gdb.mi/mi-disassemble.exp: Likewise.
10341 * gdb.mi/mi-eval.exp: Likewise.
10342 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
10343 default line number.
10344 * gdb.mi/mi-return.exp: Likewise.
10345 * gdb.mi/mi-simplerun.exp: Likewise.
10346 * gdb.mi/mi-stack.exp: Likewise.
10347 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
10348 number with explicit range test.
10349 * gdb.mi/mi-watch.exp: Likewise.
10350 * gdb.mi/mi2-break.exp: Likewise.
10351 * gdb.mi/mi2-cli.exp: Likewise.
10352 * gdb.mi/mi2-disassemble.exp: Likewise.
10353 * gdb.mi/mi2-eval.exp: Likewise.
10354 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
10355 default line number.
10356 * gdb.mi/mi2-return.exp: Likewise.
10357 * gdb.mi/mi2-simplerun.exp: Likewise.
10358 * gdb.mi/mi2-stack.exp: Likewise.
10359 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
10360 number with explicit range test.
10361 * gdb.mi/mi2-watch.exp: Likewise.
10362
10363 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
10364
10365 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
10366 * gdb.cp/m-static.exp: Likewise.
10367 * gdb.cp/rtti.exp: Likewise.
10368
10369 2004-08-14 Mark Kettenis <kettenis@gnu.org>
10370
10371 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10372
10373 2004-08-14 Eli Zaretskii <eliz@gnu.org>
10374
10375 * ChangeLog: Prefix Local Variables with semi-colons and indent
10376 the reference to older ChangeLog files, to fix fontification in
10377 Emacs.
10378
10379 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10380
10381 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10382 * gdb.mi/mi2-break.exp: Likewise.
10383
10384 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10385
10386 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10387
10388 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10389
10390 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10391
10392 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10393
10394 * gdb.cp/classes.exp: Remove unused declarations. Just let
10395 test names default instead of providing special names. Remove
10396 extraneous demangler test.
10397
10398 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10399
10400 * gdb.base/unload.exp: New test for breakpoints in dynamically
10401 loaded libraries.
10402 * gdb.base/unload.c: Ditto.
10403 * gdb.base/unloadshr.c: Ditto.
10404
10405 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10406
10407 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10408 cp_test_ptype_class.
10409 (test_enums): Likewise.
10410
10411 2004-08-10 Andrew Cagney <cagney@gnu.org>
10412
10413 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10414 files.
10415
10416 2004-08-10 Andrew Cagney <cagney@gnu.org>
10417
10418 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10419 init_malloc call.
10420
10421 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10422
10423 * ChangeLog: Add copyright notice. The notice is copied
10424 from emacs 21.3 top level ChangeLog.
10425
10426 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10427
10428 * lib/cp-support.exp: New file.
10429 * lib/cp-support.exp (cp_test_type_class): New function.
10430 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
10431 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
10432 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
10433 cp_test_ptype_class.
10434
10435 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10436
10437 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
10438 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10439 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
10440 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
10441 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
10442 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
10443 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
10444 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
10445 gdb.mi/mi2-watch.exp: Update copyright years.
10446
10447 2004-08-09 Mark Kettenis <kettenis@gnu.org>
10448
10449 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10450
10451 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
10452
10453 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
10454 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
10455 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
10456 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
10457 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
10458 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
10459 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
10460 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10461 gdb.mi/mi-watch.exp: Update copyright years.
10462
10463 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10464
10465 PR gdb/1738
10466 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10467 from a breakpoint with a pending signal.
10468
10469 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10470
10471 PR gdb/1736
10472 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10473 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10474 the prompt.
10475 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10476
10477 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10478
10479 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10480
10481 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10482
10483 PR gdb/1736
10484 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10485 for i?86-*-linux*.
10486
10487 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10488
10489 * gdb.arch/i386-prologue.exp: Compile without debug information.
10490
10491 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10492
10493 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10494 rather than asking gdb to search.
10495
10496 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10497
10498 * gdb.base/gcore.c: Include <string.h>.
10499
10500 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10501
10502 * gdb.base/gcore.c: Add copyright notice.
10503
10504 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10505
10506 * gdb.base/freebpcmd.c: Include <stdio.h>.
10507 * gdb.base/long_long.c: Include <string.h>.
10508 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
10509 * gdb.base/siginfo.c: Include <string.h>.
10510 * gdb.base/sigstep.c: Include <string.h>.
10511
10512 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10513
10514 * gdb.base/complex.c: Include <stdlib.h>.
10515
10516 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10517
10518 * gdb.base/complex.c: Add copyright notice.
10519
10520 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10521
10522 * gdb.base/charset.c: Include <stdlib.h>.
10523
10524 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10525
10526 * gdb.base/auxv.c: Include <stdlib.h>.
10527
10528 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10529
10530 * gdb.base/auxv.c: Add copyright notice.
10531
10532 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10533
10534 * gdb.base/coremaker.c: Add copyright notice.
10535 * gdb.base/coremaker2.c: Add copyright notice.
10536
10537 2004-08-04 Andrew Cagney <cagney@gnu.org>
10538
10539 * gdb.base/store.exp: Update copyright.
10540 (check_set, up_set, check_struct, up_struct): Add a prefix to test
10541 names, do not import gdb_prompt.
10542
10543 2004-08-01 Andrew Cagney <cagney@gnu.org>
10544
10545 Fix PR testsuite/1729.
10546 * gdb.base/dump.exp: Add test name to callers of capture_value, do
10547 not use capture_value with value 4.
10548 (capture_value): Add optional test name parameter.
10549 (test_reload_saved_value, test_restore_saved_value): Use $msg as
10550 the prefix, pass to capture_value.
10551
10552 2004-08-01 Mark Kettenis <kettenis@gnu.org>
10553
10554 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
10555 * gdb.arch/i386-prologue.c (standard): New prototype and function.
10556 (main): Call new function.
10557
10558 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10559
10560 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
10561
10562 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10563
10564 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
10565
10566 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10567
10568 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
10569 Accept more values of vtbl pointer. Remove some messages
10570 about "obsolete gcc or gdb".
10571
10572 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10573
10574 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10575
10576 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10577
10578 * gdb.base/asm-source.exp: Properly convert target board
10579 debug flags from gcc format to binutils format.
10580
10581 2004-07-28 Mark Kettenis <kettenis@gnu.org>
10582
10583 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
10584 gdb1718". PR backtrace/1718 partially fixed.
10585
10586 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
10587
10588 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
10589
10590 2004-07-26 Nick Clifton <nickc@redhat.com>
10591
10592 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
10593 good default value for a specific architecture is available then
10594 set it to that value. Otherwise default to the -gstabs switch.
10595 Remove the -g... switches from the asm-flags variable. Allow the
10596 target board info to override the value if it wants to. Pass the
10597 switch on the assembler command line.
10598
10599 2004-07-23 Mark Kettenis <kettenis@gnu.org>
10600
10601 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
10602 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
10603 (main): Call new function.
10604
10605 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
10606
10607 Test for PR exp/1715.
10608 * gdb.base/radix.exp: Refactor common procedures. Make all
10609 test names unique. Change XFAIL to KFAIL.
10610
10611 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
10612
10613 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
10614 * gdb.ada/gnat_ada.gin: ... to here.
10615 * configure.in: Use gnat_ada.gin.
10616 * configure: Regenerate.
10617
10618 2004-07-20 Andrew Cagney <cagney@gnu.org>
10619
10620 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
10621 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
10622 XFAILs. Clean up test messages and comments. Check backtraces.
10623 Delete re-sync code.
10624
10625 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10626
10627 Fix PR cli/740.
10628 * gdb.base/annota1.exp: Honor gdb,nosignals.
10629 * gdb.base/annota3.exp: Likewise.
10630
10631 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10632
10633 * lib/java.exp: Update copyright notice.
10634
10635 2004-07-19 Andrew Cagney <cagney@gnu.org>
10636
10637 * gdb.base/selftest.exp: Copy file from here ...
10638 * gdb.gdb/selftest.exp: ... to here.
10639
10640 2004-07-16 Andrew Cagney <cagney@redhat.com>
10641
10642 * lib/insight-support.exp: Delete file.
10643 * lib/java.exp (java_init): Fix copyright.
10644
10645 2004-07-16 Andrew Cagney <cagney@gnu.org>
10646
10647 * gdb.base/restore.c: Append "prologue" to comments marking the a
10648 function's prologue.
10649 * gdb.base/restore.exp: Update copyright, re-indent.
10650 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
10651 callerN" prefix where needed. Update patterns that match a
10652 function's prologue.
10653
10654 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
10655
10656 * gdb.base/restore.c: Add copyright notice.
10657
10658 2004-07-16 Andrew Cagney <cagney@gnu.org>
10659
10660 * gdb.base/logical.exp: Update copyright.
10661 (evaluate): New procedure. Use to re-implement tests using
10662 several tables.
10663
10664 2004-07-14 Martin Hunt <hunt@redhat.com>
10665
10666 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
10667 which fixes some problems where init.tcl was not found.
10668
10669 2004-07-13 Andrew Cagney <cagney@gnu.org>
10670
10671 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
10672 (check_sizeof, check_valueof): Do not include the output in the
10673 test name. Use gdb_test.
10674 (get_valueof): Use gdb_test_multiple.
10675
10676 * gdb.base/step-test.exp: Update copyright. Use
10677 gdb_test_multiple. Ensure that test names do not include
10678 architecture dependent output.
10679
10680 * gdb.gdb/observer.exp: Update copyright.
10681 (setup_test): Use gdb_test_multiple.
10682 (attach_first_observer, attach_second_observer)
10683 (attach_third_observer, detach_first_observer)
10684 (detach_second_observer, detach_third_observer)
10685 (reset_counters, check_counters): Make $message a prefix.
10686 (test_normal_stop_notifications): Add "args" parameter - a list of
10687 init functions to be called. Make $message a prefix,
10688 (test_observer_normal_stop): Change the message prefixes so that
10689 they are unique, pass the attach / detach procedures to
10690 test_normal_stop_notifications.
10691
10692 * gdb.base/signull.exp (test_segv): Prefix all tests with
10693 "${name}". Clean up test messages.
10694
10695 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
10696
10697 * gdb.base/ena-dis-br.exp: Update copyright.
10698 (break_at): New function. Replace send_gdb with gdb_test,
10699 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
10700 ignore count, not stopped at bpt", with KFAIL.
10701
10702 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
10703
10704 * gdb.base/attach.exp: Remove cleanupfile handling.
10705
10706 2004-07-12 Andrew Cagney <cagney@gnu.org>
10707
10708 * gdb.base/annota1.exp: Cleanup corefile test name.
10709 * gdb.base/annota3.exp: Ditto.
10710
10711 2004-07-12 Andrew Cagney <cagney@gnu.org>
10712
10713 * gdb.base/signals.exp: Clean up copyright, re-indent.
10714
10715 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
10716 gdb_test and gdb_test_multiple.
10717
10718 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
10719
10720 * gdb.java/jmain.exp: Fix expected line number for main to
10721 break at. Set XFAIL for break at main test since gcj does not
10722 provide line number info for first statement in main.
10723
10724 2004-07-08 Andrew Cagney <cagney@gnu.org>
10725
10726 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
10727
10728 * gdb.base/sigbpt.exp: Make the common part of each test name a
10729 prefix instead of suffix.
10730
10731 2004-07-07 Bob Rossi <bob_rossi@cox.net>
10732
10733 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
10734 test from test_tbreak_creation_and_listing to
10735 test_file_list_exec_source_file
10736 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
10737 Changed name of test from test_tbreak_creation_and_listing to
10738 test_file_list_exec_source_file
10739
10740 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
10741
10742 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
10743 the jmisc() constructor instead of <init>.
10744 * gdb.java/jmisc1.exp: Ditto.
10745
10746 2004-07-07 Andrew Cagney <cagney@gnu.org>
10747
10748 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
10749 corrupting the PC.
10750
10751 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
10752
10753 * gdb.cp/templates.exp: Accept whitespace change in demangler
10754 output.
10755
10756 2004-07-06 Andrew Cagney <cagney@gnu.org>
10757
10758 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
10759
10760 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
10761
10762 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
10763 * lib/compiler.cc: Likewise.
10764
10765 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
10766
10767 * lib/compiler.cc: Work around string preprocessing problem
10768 with old hp c++ compiler.
10769 * lib/compiler.c: Likewise.
10770
10771 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
10772
10773 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
10774 directives to conditionalize symbol prefixing.
10775 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
10776 additional_flags handling. Add underscore prefix for Cygwin.
10777 * gdb.arch/i386-unwind.c: Use preprocessor directives to
10778 conditionalize symbol prefixing.
10779 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
10780 additional_flags handling. Add underscore prefix for Cygwin.
10781
10782 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
10783
10784 * gdb.base/bigcore.exp: Skip test on Cygwin.
10785
10786 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
10787
10788 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
10789 formats for "info register". Use gdb_test_multiple. Fix
10790 the "invalid register" test.
10791
10792 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
10793
10794 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
10795 PID for Cygwin. Add Cygwin specific strings to check for in some
10796 tests.
10797 (do_attach_tests): Add a test for user interaction when attaching
10798 to a process with no matching symbol table already loaded.
10799
10800 2004-06-26 Andrew Cagney <cagney@gnu.org>
10801
10802 Test PR java/1567 and PR java/1565.
10803 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
10804 * gdb.java/jmisc2.exp: Delete file.
10805
10806 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
10807
10808 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
10809
10810 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
10811
10812 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
10813 attach process.
10814
10815 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
10816
10817 * gdb.cp/pr-1553.exp: Remove.
10818
10819 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
10820
10821 * gdb.cp/pr-1553.cc: Remove.
10822 * gdb.cp/pr-1553.exp: Disable this test.
10823
10824 2004-06-20 Jim Blandy <jimb@redhat.com>
10825
10826 Fix PR testsuite/1680.
10827 * gdb.arch/i386-sse.exp: Properly quote curly braces in
10828 regular expressions.
10829
10830 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
10831
10832 Fix PR testsuite/1679.
10833 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
10834 Issue an UNSUPPORTED result instead.
10835
10836 2004-06-18 Jim Blandy <jimb@redhat.com>
10837
10838 * gdb.base/charset.exp: Only send a control-C if we see a new
10839 prompt and incomplete command.
10840
10841 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
10842
10843 * gdb.cp/pr-574.cc: Add copyright notice.
10844
10845 2004-06-17 Jim Blandy <jimb@redhat.com>
10846
10847 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
10848 cases where the regexp has no groups; this grabs random text from
10849 the previous test suite, whatever that was.
10850
10851 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
10852
10853 * gdb.cp/printmethod.cc: Add copyright notice.
10854
10855 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
10856
10857 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
10858
10859 2004-06-16 Andrew Cagney <cagney@gnu.org>
10860
10861 * gdb.base/signull.c: Update copyright. Include <string.h>.
10862 (bowler): Replace data_pointer with data_read
10863 and data_write cases. Add code_descriptor case.
10864 (zero, desc): New array and pointer.
10865 (data, code): Change to simple pointers.
10866 * gdb.base/signull.exp: Fix probe pattern matching a function
10867 descriptor SIGSEGV. Replace data_pointer with data_read and
10868 data_write tests.
10869
10870 2004-06-16 Andrew Cagney <cagney@gnu.org>
10871
10872 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
10873
10874 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
10875
10876 * gdb.base/long_long.c: Add copyright notice.
10877
10878 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
10879
10880 * gdb.base/long_long.exp: Remove reference to
10881 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
10882 to gdb_breakpoint and gdb_continue_to_breakpoint.
10883
10884 2004-06-14 Jim Blandy <jimb@redhat.com>
10885
10886 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
10887 endian case.
10888
10889 2004-06-14 Andrew Cagney <cagney@gnu.org>
10890
10891 * gdb.base/gcore.exp (capture_command_output): Delete the always
10892 passing tests containing inferior values.
10893 * gdb.base/ending-run.exp: Do not include the breakpoint address
10894 in the test message. Update copyright.
10895 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
10896 size in the test name, use gdb_test_multiple. Update copyright.
10897
10898 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10899
10900 * gdb.cp/ref-types.cc: Add copyright notice.
10901
10902 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10903
10904 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
10905 hp_aCC_compiler.
10906 * lib/compiler.cc: Likewise.
10907 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
10908 'set' commands. Log diagnostics for other lines. Set
10909 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
10910
10911 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
10912
10913 * gdb.cp/try_catch.cc: Add copyright notice.
10914
10915 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
10916
10917 * gdb.cp/userdef.cc: Add copyright notice.
10918
10919 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
10920
10921 * gdb.cp/virtfunc.cc: Add copyright notice.
10922
10923 2004-06-11 Randolph Chung <tausq@debian.org>
10924
10925 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
10926 problem.
10927
10928 2004-06-10 Andrew Cagney <cagney@gnu.org>
10929
10930 * lib/compiler.cc, lib/compiler.c: Append either
10931 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
10932 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
10933 instead of gcc-3-3.
10934
10935 2004-06-09 Andrew Cagney <cagney@gnu.org>
10936
10937 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
10938 gdb/1455, bug is specific to "long long" and "double".
10939
10940 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
10941 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
10942 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
10943 fixed.
10944
10945 2004-06-09 Andrew Cagney <cagney@gnu.org>
10946
10947 * gdb.base/structs.exp (test_struct_returns): Replace
10948 "return_value_unknown" and "finish_value_unknown" by
10949 "return_value_known" and "finish_value_known". Instead of
10950 "return_value_unknown" iff "finish_value_unknown", check
10951 "return_value_known" implies "finish_value_known".
10952
10953 2004-06-08 Martin Hunt <hunt@redhat.com>
10954
10955 * gdb.base/float.exp: Add pattern for mips targets.
10956
10957 2004-06-08 Randolph Chung <tausq@debian.org>
10958
10959 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
10960 message for unknown architectures more clear.
10961
10962 2004-06-08 Joel Brobecker <brobecker@gnat.com>
10963
10964 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
10965 start the execution of the program.
10966
10967 2004-06-07 Jim Blandy <jimb@redhat.com>
10968
10969 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
10970 * gdb.arch/i386-cpuid.h: New helper file.
10971
10972 2004-06-07 Randolph Chung <tausq@debian.org>
10973
10974 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
10975 has started.
10976
10977 2004-06-04 Roland McGrath <roland@redhat.com>
10978
10979 Fix PR gdb/1647.
10980 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
10981 differently to be robust to output buffering differences.
10982
10983 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
10984
10985 * gdb.threads/pthreads.exp: Update copyright years.
10986 (check_control_c): Change asynchronous 'after' to synchronous.
10987
10988 2004-06-04 Roland McGrath <roland@redhat.com>
10989
10990 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
10991 next gdb prompt.
10992
10993 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
10994
10995 Fix PR gdb/1636.
10996 * gdb.threads/manythreads.exp: Change asynchronous 'after'
10997 calls to synchronous.
10998
10999 2004-05-26 Jim Blandy <jimb@redhat.com>
11000
11001 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11002
11003 2004-05-24 Randolph Chung <tausq@debian.org>
11004
11005 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11006 * gdb.asm/pa.inc: New file.
11007
11008 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11009
11010 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11011
11012 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11013 Daniel Jacobowitz <drow@mvista.com>
11014
11015 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11016 GDB prompt.
11017
11018 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11019
11020 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11021 setjmp/longjmp. Use sigaction instead of signal.
11022
11023 2004-05-19 J. Brobecker <brobecker@gnat.com>
11024 Michael Snyder <msnyder@redhat.com>
11025
11026 * gdb.threads/pthread_cond_wait.c: New file.
11027 * gdb.threads/pthread_cond_wait.exp: New testcase.
11028
11029 2004-05-13 Andrew Cagney <cagney@redhat.com>
11030
11031 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11032 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11033
11034 2004-05-11 Andrew Cagney <cagney@redhat.com>
11035
11036 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11037 fixed but revealed gdb/1639.
11038
11039 2004-05-10 Andrew Cagney <cagney@redhat.com>
11040
11041 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11042 func1" and "next to 2nd alarm", kernel bug avoided.
11043
11044 2004-05-10 Daniel Jacobowitz <dan@debian.org>
11045
11046 PR external/1568
11047 * gdb.base/bigcore.exp: Check the size of the dumped core file.
11048 XFAIL if it is smaller than bytes_allocated.
11049 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
11050 (main): Make chunks_allocated unsigned. Correct comment.
11051
11052 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11053
11054 * gdb.arch/powerpc-aix-prologue.c: New file.
11055 * gdb.arch/powerpc-aix-prologue.exp: New file.
11056
11057 2004-05-07 Jim Blandy <jimb@redhat.com>
11058
11059 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11060 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11061
11062 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11063
11064 * gdb.base/sep.exp: No longer setup_kfail when the program was
11065 built with dwarf2.
11066
11067 2004-05-05 Jim Ingham <jingham@apple.com>
11068
11069 * gdb.base/pending.exp: Make sure pending breakpoints
11070 preserve the ignore count.
11071
11072 2004-04-27 Jerome Guitton <guitton@gnat.com>
11073
11074 * i386-prologue.exp: Add testcase for jump instruction as first
11075 instruction of the real code.
11076 * i386-prologue.c (jump_at_beginning): New function.
11077
11078 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11079
11080 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11081 x86_64-*-*.
11082
11083 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11084
11085 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11086 i*86-*-*.
11087
11088 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11089
11090 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11091 expression that checks the return type.
11092
11093 2004-04-23 Andrew Cagney <cagney@redhat.com>
11094
11095 * gdb.base/call-sc.exp: New test of scalar call/return values.
11096 * gdb.base/call-sc.c: Ditto.
11097
11098 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11099
11100 * gdb.threads/manythreads.c: Reduce thread stack size.
11101
11102 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11103
11104 * gdb.threads/manythreads.c: Add copyright notice.
11105
11106 2004-04-23 Andrew Cagney <cagney@redhat.com>
11107
11108 * gdb.base/siginfo.exp: Better handle step out of signal.
11109 * gdb.base/sigstep.exp: Ditto.
11110
11111 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11112 Daniel Jacobowitz <drow@mvista.com>
11113
11114 * gdb.threads/manythreads.c: New testcase.
11115 * gdb.threads/manythreads.exp: Ditto.
11116
11117 2004-04-22 Jim Blandy <jimb@redhat.com>
11118
11119 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11120 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11121
11122 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11123
11124 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11125
11126 2004-04-21 Andrew Cagney <cagney@redhat.com>
11127
11128 * gdb.base/sigstep.c: New file.
11129 * gdb.base/sigstep.exp: New file.
11130
11131 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11132
11133 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11134 call to observer_notify_normal_stop.
11135
11136 2004-04-15 Andrew Cagney <cagney@redhat.com>
11137
11138 * gdb.base/siginfo.c: New file.
11139 * gdb.base/siginfo.exp: New file.
11140
11141 2004-04-12 J. Brobecker <brobecker@gnat.com>
11142
11143 * gdb.base/sep.exp: Fix typo in comment.
11144
11145 2004-04-12 J. Brobecker <brobecker@gnat.com>
11146
11147 * gdb.base/sep.c: New file.
11148 * gdb.base/sep-proc.c: New file.
11149 * gdb.base/sep.exp: New testcase.
11150
11151 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11152
11153 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11154 support.
11155
11156 2004-04-05 Andrew Cagney <cagney@redhat.com>
11157
11158 * gdb.base/sigaltstack.c: New file.
11159 * gdb.base/sigaltstack.exp: New file.
11160
11161 2004-04-04 Joel Brobecker <brobecker@gnat.com>
11162
11163 * gdb.base/foll-fork.exp: Update the expected output for
11164 "help set follow-fork-mode", to match a change that was made
11165 to the help of this variable on 2004-01-13.
11166
11167 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11168
11169 * lib/ada.exp: Add copyright notice.
11170 * bar.ads: Likewise.
11171 * bar.adb: Likewise.
11172 * null_record.adb: Likewise.
11173 * null_record.exp: Likewise.
11174 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
11175
11176 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11177
11178 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11179 * configure: Regenerate.
11180
11181 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11182
11183 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
11184 to build the application. Remove the message printed when in
11185 verbose mode, redundant with the UNSUPPORTED message above.
11186
11187 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11188
11189 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11190 * gdb.ada (null_record.exp): New testcase.
11191
11192 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11193
11194 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11195
11196 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11197
11198 * gdb.ada: New subdirectory.
11199 * gdb.ada/Makefile.in: New file.
11200 * gdb.ada/gnat_ada.gpr.in: New file.
11201
11202 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11203
11204 * lib/ada.exp: New file.
11205
11206 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11207
11208 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11209 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11210
11211 2004-03-22 Andrew Cagney <cagney@redhat.com>
11212
11213 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
11214 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
11215 Problem identified by Ulrich Weigand.
11216
11217 2004-03-17 David Carlton <carlton@kealia.com>
11218
11219 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11220 PR c++/826.
11221
11222 2004-03-16 Roland McGrath <roland@redhat.com>
11223
11224 * gdb.base/auxv.exp: New file.
11225 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11226
11227 2004-03-12 David Carlton <carlton@kealia.com>
11228
11229 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
11230 * gdb.cp/pr-1553.cc: Ditto.
11231 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
11232 pass branch.
11233
11234 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11235
11236 * gdb.cp/templates.exp: Accept more template types.
11237
11238 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11239
11240 From Corinna Vinschen with modifications.
11241 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
11242 local variable obj_with_enum.
11243 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
11244 results with obj_with_enum.
11245
11246 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11247
11248 * gdb.cp/classes.cc: New file, copied from misc.cc.
11249 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11250
11251 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11252
11253 * gdb.cp/misc.cc: Add copyright notice.
11254
11255 2004-03-05 David Carlton <carlton@kealia.com>
11256
11257 * gdb.cp/rtti.exp: Add 'print *obj3' test.
11258 * gdb.cp/rtti.h: Update copyright.
11259 (namespace n2::n3): New.
11260 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
11261 (n2::n3::func3): New.
11262 (main): Call n2::n3::func3.
11263 * gdb.cp/rtti2.cc: Update copyright.
11264 (n2::create3): New.
11265
11266 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11267
11268 * gdb.asm/openbsd.inc: Fix typo.
11269
11270 2004-03-03 Fred Fish <fnf@redhat.com>
11271
11272 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11273 "val" instead of unused "size". Update copyright year.
11274
11275 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11276
11277 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
11278 to use unsigned char.
11279 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
11280 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
11281
11282 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11283
11284 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11285 line of output.
11286
11287 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11288
11289 * gdb.base/relocate.c (dummy): Initialize.
11290
11291 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11292
11293 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11294 a breakpoint at exit.
11295
11296 2004-02-27 Fred Fish <fnf@redhat.com>
11297
11298 * gdb.base/chng-syms.exp: Add expect condition to match failing
11299 case that isn't a timeout.
11300
11301 2004-02-27 Andrew Cagney <cagney@redhat.com>
11302
11303 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11304 support.
11305
11306 2004-02-26 Fred Fish <fnf@redhat.com>
11307
11308 * gdb.arch/gdb1431.c: Remove.
11309 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
11310 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
11311 of "until" incorrectly.
11312
11313 2004-02-26 J. Brobecker <brobecker@gnat.com>
11314
11315 * gdb.cp/class2.cc (empty): New class.
11316 (refer): New function.
11317 (main): Declare an object of type empty and use it.
11318 * gdb.cp/class2.exp: Print the value of an object of type empty.
11319
11320 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11321
11322 * gdb.base/langs.exp: Update query string to match the
11323 new nquery format used for pending breakpoints.
11324
11325 2004-02-26 Andrew Cagney <cagney@redhat.com>
11326
11327 Fix PR i18n/1570.
11328 * gdb.base/charset.c: Update copyright notice.
11329 (main, init_string): Remove the escape character '\e' tests.
11330 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
11331 * gdb.base/charset.exp (valid_host_charset): Ditto.
11332 * gdb.base/setvar.exp: Ditto.
11333
11334 2004-02-24 Andrew Cagney <cagney@redhat.com>
11335
11336 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11337 mmapped data in core file" PASS and FAIL messages consistent.
11338
11339 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11340 setting a breakpoint. Work around PR java/1565.
11341
11342 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11343
11344 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11345 new nquery format.
11346 * gdb.base/pending.exp: Ditto.
11347
11348 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11349
11350 * configure.in: Run stabs tests on *BSD.
11351 * configure: Regenerated.
11352
11353 2004-02-21 Mark Kettenis <kettenis@gnu.org>
11354
11355 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11356
11357 2004-02-20 Fred Fish <fnf@redhat.com>
11358
11359 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
11360 blank in test for "returns short", for consistency with other
11361 "returns xxx" tests. Update copyright year.
11362
11363 2004-02-19 Fred Fish <fnf@redhat.com>
11364
11365 New testcase for PR breakpoint/1558.
11366 * gdb.arch/gdb1558.exp: New file.
11367 * gdb.arch/gdb1558.c: New file.
11368
11369 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
11370
11371 * gdb.base/nodebug.exp: Fix typo.
11372
11373 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11374
11375 Committed by Jim Blandy <jimb@redhat.com>.
11376
11377 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11378
11379 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11380
11381 * gdb.base/float.exp: Support s390*-*-* targets.
11382
11383 2004-02-17 Adam Fedor <fedor@gnu.org>
11384
11385 * gdb.base/gdb1555.exp: New file.
11386 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11387
11388 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
11389
11390 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11391
11392 2004-02-16 Fred Fish <fnf@redhat.com>
11393
11394 * gdb.arch/gdb1291.c: Remove
11395 * gdb.arch/gdb1291.s: New test input file.
11396 * gdb.arch/gdb1291.exp: Expand test to check case that should not
11397 fail. Test for correct result, known incorrect result, other
11398 failures and timeouts.
11399
11400 2004-02-16 Andrew Cagney <cagney@redhat.com>
11401
11402 * gdb.base/bigcore.exp: New file.
11403 * gdb.base/bigcore.c: New file.
11404
11405 2004-02-13 Andrew Cagney <cagney@redhat.com>
11406
11407 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
11408 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
11409 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
11410 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
11411 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
11412 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
11413 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
11414 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
11415 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
11416 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
11417
11418 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11419
11420 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11421 executed is an alloc instruction.
11422
11423 2004-02-11 David Carlton <carlton@kealia.com>
11424
11425 * gdb.cp/breakpoint.exp: New.
11426 * gdb.cp/breakpoint.cc: New.
11427
11428 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
11429
11430 Partial fix for PR gdb/1543.
11431 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
11432 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
11433 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
11434 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
11435 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
11436 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
11437 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
11438 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
11439 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
11440 to bug-gdb@prep.ai.mit.edu .
11441 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
11442 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
11443 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
11444 Likewise.
11445
11446 2004-02-10 Andrew Cagney <cagney@redhat.com>
11447
11448 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11449 using gdb_internal_error_resync.
11450
11451 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
11452
11453 * gdb.threads/thread-specific.exp: Stop early if no threads are
11454 found.
11455
11456 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11457
11458 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11459
11460 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
11461
11462 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11463 breakpoints.
11464
11465 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
11466
11467 * config/sim.exp (gdb_load): Handle $arg == "".
11468 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
11469 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
11470
11471 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
11472
11473 * gdb.base/maint.exp: Update test to reflect
11474 obstack changes.
11475
11476 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11477
11478 * gdb.base/pendshr.c (pendfunc): New function that calls
11479 pendfunc1.
11480 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11481
11482 2004-02-04 Fred Fish <fnf@redhat.com>
11483
11484 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11485 function symbols and update copyright years.
11486 * gdb.arch/gdb1291.c: Ditto.
11487
11488 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11489
11490 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11491
11492 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11493
11494 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11495
11496 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11497
11498 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11499
11500 2004-02-02 Fred Fish <fnf@redhat.com>
11501
11502 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11503 remote targets. Update copyright years.
11504
11505 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11506
11507 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11508 support.
11509 * gdb.base/langs.exp: Fix test which attempts to create
11510 breakpoint on non-existent function to handle new pending
11511 support.
11512 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11513 a breakpoint.
11514 * gdb.base/pending.exp: New test.
11515 * gdb.base/pending.c: New file.
11516 * gdb.base/pendshr.c: Ditto.
11517
11518 2004-02-02 David Carlton <carlton@kealia.com>
11519
11520 * gdb.cp/overload.exp: Add overloadNamespace tests.
11521 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
11522 (overloadNamespace, XXX): New.
11523 (main): Call XXX::marker2.
11524
11525 2004-02-01 Fred Fish <fnf@redhat.com>
11526
11527 * gdb.base/dump.exp: Use runto_main instead of "runto main".
11528 * gdb.base/finish.exp: Ditto.
11529 * gdb.base/gcore.exp: Ditto.
11530 * gdb.base/huge.exp: Ditto.
11531 * gdb.base/info-proc.exp: Ditto.
11532 * gdb.base/return2.exp: Ditto.
11533 * gdb.threads/gcore-thread.exp: Ditto.
11534
11535 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11536
11537 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11538
11539 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11540
11541 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11542 that opening the file succeeds on OpenBSD.
11543
11544 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11545
11546 * gdb.threads/thread-specific.c: New file.
11547 * gdb.threads/threads-specific.exp: New test script.
11548 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
11549 to expect_out.
11550
11551 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11552
11553 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
11554 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
11555 only on the "print_small_structs from print_long_arg_list" test.
11556
11557 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11558
11559 * gdb.base/completion.exp: Kill a stray backslash.
11560
11561 From Jim Ingham <jingham@apple.com>:
11562 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
11563 agrees with the result from sending a tab.
11564
11565 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
11566
11567 * gdb.base/chng-syms.exp: Remove stray newline.
11568
11569 2004-01-31 Mark Kettenis <kettenis@gnu.org>
11570
11571 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
11572 *-*-openbsd*.
11573 * gdb.asm/openbsd.inc: New file.
11574
11575 2004-01-30 Mark Kettenis <kettenis@gnu.org>
11576
11577 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
11578 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
11579 *-*solaris2*. Remove commented out default settings for
11580 asm-flags. Replace gdb_compile with target_link.
11581
11582 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
11583
11584 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
11585 for all tests. Remove old hp-ux and cygnus xfail cases.
11586
11587 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
11588
11589 * gdb.base/chng-syms.exp: New file.
11590 * gdb.base/chng-syms.c: New file.
11591
11592 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11593
11594 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
11595 Provide arms for current output in all my configurations.
11596
11597 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11598
11599 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
11600 * lib/compiler.cc: Likewise.
11601 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
11602 get the right preprocessor. Eval the output directly. Remove
11603 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
11604 hp_f77_compiler and hp_f90_compiler completely.
11605 (gdb_preprocess): Delete.
11606 (get_compiler): Delete.
11607
11608 2004-01-24 Mark Kettenis <kettenis@gnu.org>
11609
11610 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
11611 <string.h>.
11612
11613 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
11614
11615 * gdb.mi/mi-stack.exp: Update copyright.
11616
11617 2004-01-23 David Carlton <carlton@kealia.com>
11618
11619 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
11620 test for cp_lookup_transparent_type.
11621 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
11622 call them.
11623
11624 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
11625
11626 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
11627 after -var-update.
11628
11629 2004-01-23 David Carlton <carlton@kealia.com>
11630
11631 * gdb.cp/namespace.cc (C::ensureRefs): New.
11632 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
11633
11634 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
11635
11636 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
11637 case "-stack-list-locals 2".
11638 * gdb.mi/mi-var-child.exp: Test for case
11639 "-var-list-children --all-values NAME".
11640
11641 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
11642
11643 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
11644
11645 2004-01-18 Mark Kettenis <kettenis@gnu.org>
11646
11647 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
11648 used with gdb_test_multiple.
11649
11650 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
11651 read at address 0. This fixes PR testsuite/1504.
11652
11653 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
11654
11655 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
11656 Remove downloading, guessing the host executable, the calls to
11657 gdb_file_cmd and gdb_target_cmd, and "load" support.
11658 (infer_host_exec): New function broken out from gdb_load.
11659 (gdb_load): New wrapper for gdbserver_gdb_load.
11660 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
11661 gdb_target_cmd. Use -target-select.
11662 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
11663 Download binaries to the host. Clear last_mi_remote_file when
11664 we load a new binary.
11665 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
11666 call gdbserver_gdb_load and mi_gdb_target_cmd.
11667
11668 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11669
11670 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
11671 type patterns.
11672
11673 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11674
11675 * gdb.cp/templates.exp: Fix typo in test name of
11676 "print Foo<volatile char*>::foo".
11677
11678 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11679
11680 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
11681
11682 2004-01-16 Ben Elliston <bje@wasabisystems.com>
11683
11684 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
11685 (clean mostlyclean): Remove empty rm.
11686
11687 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11688
11689 * gdb.base/setvar.exp: Add copyright years.
11690
11691 2004-01-14 David Carlton <carlton@bactrian.org>
11692
11693 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
11694 PR c++/1511 and update coment.
11695 * gdb.cp/templates.exp: Update patterns to match current output.
11696 If changes involve something other than whitespace, KFAIL
11697 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
11698
11699 2004-01-14 David Carlton <carlton@kealia.com>
11700
11701 * gdb.cp/namespace.exp: Add tests involving classes defined within
11702 namespaces.
11703 * gdb.cp/namespace.cc (C::CClass): New.
11704 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
11705
11706 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
11707
11708 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
11709 what debug info we have. Print a better message if something goes
11710 wrong while producing the separate debug info file.
11711
11712 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11713
11714 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
11715
11716 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11717
11718 * gdb.base/callfuncs.c: Add copyright notice.
11719
11720 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
11721
11722 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
11723 inheritance. PR gdb/1498, PR gcc/13539.
11724
11725 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
11726
11727 * gdb.threads/gcore-thread.exp: Prefix name of binary with
11728 test specific name.
11729 * gdb.mi/gdb669.exp: Ditto.
11730 * gdb.mi/mi-pthreads.exp: Ditto.
11731 * gdb.mi/mi1-pthreads.exp: Ditto.
11732 * gdb.mi/mi2-pthreads.exp: Ditto.
11733
11734 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11735
11736 * gdb.cp/member-ptr.cc: Add copyright notice.
11737
11738 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11739
11740 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
11741 some patterns for recent versions of gcc and hpacc. Delete
11742 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
11743 Delete tests that access a NULL pointer-to-member-data. This
11744 script is still disabled for gcc.
11745
11746 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
11747
11748 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
11749 escaped correctly.
11750
11751 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
11752
11753 * gdb.base/sepdebug.exp: New file.
11754 * gdb.base/sepdebug.c: New file.
11755 * lib/gdb.exp (separate_debug_filename): New procedure.
11756 (gdb_gnu_strip_debug): New procedure.
11757
11758 2004-01-12 Andrew Cagney <cagney@redhat.com>
11759
11760 * gdb.mi/ChangeLog: Delete file. Renamed to ...
11761 * gdb.mi/ChangeLog-1999-2003: New file.
11762
11763 2004-01-12 Andrew Cagney <cagney@redhat.com>
11764
11765 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
11766 "Renaming a directory to a non-empty directory returns ENOTEMPTY
11767 or EEXIST", treat EBUSY as an XFAIL.
11768
11769 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
11770
11771 * gdb.base/scope.exp: Remove obsolete setup_xfail for
11772 hp_cc_compiler.
11773
11774 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11775
11776 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
11777 decorations.
11778
11779 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11780
11781 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
11782 and "(aCC)" decorations. Remove obsolete doco about old
11783 test results.
11784
11785 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11786
11787 * gdb.cp/exception.exp: Fix typo in doco.
11788
11789 2004-01-09 Mark Kettenis <kettenis@gnu.org>
11790
11791 * gdb.base/gdb1476.exp: Fix typo.
11792
11793 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11794
11795 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
11796 file.
11797
11798 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11799
11800 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
11801 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
11802 Use gdb_compile. Remove restriction on gcc. Add some patterns
11803 for recent version of gdb. Delete second half, which was a copy
11804 of the first half with different build flags. This test is
11805 still disabled because it is still not ready for production.
11806
11807 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11808
11809 * gdb.cp/exception.cc: Add copyright notice.
11810 * gdb.cp/exception.exp: Add a notice that this file is broken
11811 because of line number changes caused by addition of copyright
11812 notice.
11813
11814 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11815
11816 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
11817 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
11818
11819 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11820
11821 * gdb.cp/classes.exp: Accept gnu abi 2.
11822 * gdb.cp/derivation.exp: Likewise.
11823 * gdb.cp/overload.exp: Likewise.
11824 * gdb.cp/virtfunc.exp: Likewise.
11825
11826 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11827
11828 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
11829 semicolon after end of function.
11830
11831 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11832
11833 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
11834 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
11835 boilerplate code for compiling and running the program under
11836 test. Add some string method tests.
11837
11838 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11839
11840 * gdb.cp/bs15503.cc: Add copyright notice.
11841 * gdb.cp/bs15503.exp: Adjust line number.
11842
11843 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11844
11845 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
11846 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
11847
11848 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11849
11850 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
11851 hp_cc_compiler.
11852
11853 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11854
11855 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
11856 * gdb.cp/ctti.exp: Use the marker instead of "next".
11857 With gcc, run further before bailing.
11858
11859 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11860
11861 * gdb.cp/cttiadd.cc: Add copyright notice.
11862 * gdb.cp/cttiadd1.cc: Likewise.
11863 * gdb.cp/cttiadd2.cc: Likewise.
11864 * gdb.cp/cttiadd3.cc: Likewise.
11865
11866 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11867
11868 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
11869 Use gdb_test, gdb_test_multiple. Use floating-point values that
11870 have exact representations in IEEE-ish formats.
11871
11872 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11873
11874 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
11875 compilers. Delete duplicate call to get_compiler_info.
11876 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
11877 * gdb.base/volatile.exp: Likewise.
11878
11879 2004-01-07 Mark Kettenis <kettenis@gnu.org>
11880
11881 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
11882 memory at address 0.
11883
11884 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11885
11886 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
11887 to test for hp-ux assembler. Fix copyright years.
11888
11889 2004-01-07 Andrew Cagney <cagney@redhat.com>
11890
11891 * gdb.base/fileio.c (strerrno): Add "EBUSY".
11892
11893 2004-01-07 Andrew Cagney <cagney@redhat.com>
11894
11895 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
11896 when creating the read-only file. From analysis by Roland McGrath
11897 and Elena Zannoni.
11898
11899 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11900
11901 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
11902
11903 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11904
11905 * gdb.base/cvexpr.c: Be type-safe with function pointers and
11906 data pointers.
11907
11908 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11909
11910 * gdb.cp/m-static.exp: Compile one source file at a time.
11911 Delete unused call to get_compiler_info.
11912
11913 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11914
11915 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
11916 * gdb.base/call-rt-st.exp: Likewise.
11917 * gdb.base/nodebug.exp: Likewise.
11918 * gdb.base/volatile.exp: Likewise.
11919 * gdb.cp/ref-types.exp: Likewise.
11920 * gdb.cp/templates.exp: Likewise.
11921
11922 2004-01-05 Mark Kettenis <kettenis@gnu.org>
11923
11924 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
11925
11926 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
11927
11928 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
11929 hppa*-hp-hpux*.
11930
11931 2004-01-04 Mark Kettenis <kettenis@gnu.org>
11932
11933 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11934 x86_64-*-*.
11935
11936 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11937 sparc64-*-* and sparc*-solaris2*.
11938
11939 2004-01-04 Mark Kettenis <kettenis@gnu.org>
11940
11941 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
11942 return ${tests}" test. The ${tests} already mentions the
11943 filename.
11944
11945 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11946
11947 * gdb.cp/local.exp: Accept gcc abi 2.
11948
11949 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11950
11951 * gdb.cp/templates.exp: Accept gcc abi 2.
11952
11953 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11954
11955 * lib/compiler.cc: Remove supports_template_debugging.
11956 * gdb.cp/templates.exp: Do not test supports_template_debugging.
11957
11958 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11959
11960 * gdb.cp/namespace.exp: Accept gcc abi 2.
11961
11962 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11963
11964 * gdb.cp/method.exp: Accept gcc abi 2.
11965
11966 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11967
11968 * gdb.cp/classes.exp: Generate identical results as old version.
11969 * gdb.cp/derivation.exp: Likewise.
11970 * gdb.cp/overload.exp: Likewise.
11971 * gdb.cp/virtfunc.exp: Likewise.
11972
11973 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11974
11975 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
11976 mysterious bug with sourceware version of expect.
11977
11978 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11979
11980 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
11981 current versions of gcc, including gcc abi 2. Remove gratuitous
11982 restart of test program. Use gdb_test_multiple and gdb_test for
11983 all tests. Add patterns to xfail missing "const" in "const char *"
11984 and kfail PR gdb/1155.
11985
11986 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11987
11988 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
11989 current versions of gcc, including gcc abi 2. Remove gratuitous
11990 restart of test program. Use gdb_test_multiple and gdb_test for
11991 all tests. Add patterns to kfail PR gdb/1498.
11992
11993 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
11994
11995 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
11996 current versions of gcc, including gcc abi 2. Use "breakpoint"
11997 and "continue" instead of restarting the target program. Use
11998 gdb_test_multiple and gdb_test for all tests.
11999
12000 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12001
12002 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12003 for *-*-solaris2*.
12004
12005 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
12006
12007 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
12008 current versions of gcc, including gcc abi 2. Use "breakpoint"
12009 and "continue" instead of restarting the target program several
12010 times. Use gdb_test_multiple and gdb_test for all tests.
12011
12012 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12013
12014 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12015 source files.
12016
12017 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12018
12019 * gdb.base/environ.exp: Handle compiling test case from multiple
12020 source files.
12021
12022 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12023
12024 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12025
12026 2003-12-17 Jim Blandy <jimb@redhat.com>
12027
12028 * gdb.base/freebpcmd.c: Add copyright notice.
12029
12030 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12031
12032 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12033
12034 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12035
12036 2003-12-13 Jim Blandy <jimb@redhat.com>
12037
12038 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12039
12040 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12041
12042 * gdb.asm/frv.inc: New file.
12043 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12044
12045 2003-12-09 Fred Fish <fnf@redhat.com>
12046
12047 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
12048 functions to break1.c and leave prototypes behind. Add more
12049 "set breakpoint NN here" comments.
12050 * gdb.base/break1.c: New file.
12051
12052 * gdb.base/break.exp: Handle compiling test case from multiple
12053 source files and change source file references as needed.
12054 * gdb.base/completion.exp: Ditto.
12055 * gdb.base/condbreak.exp: Ditto.
12056 * gdb.base/define.exp: Ditto.
12057 * gdb.base/ena-dis-br.exp: Ditto.
12058 * gdb.base/info-proc.exp: Ditto.
12059 * gdb.base/maint.exp: Ditto.
12060 * gdb.base/until.exp: Ditto.
12061
12062 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
12063 hardcoded line numbers.
12064 * gdb.base/define.exp: Ditto.
12065 * gdb.base/ena-dis-br.exp: Ditto.
12066 * gdb.base/maint.exp: Ditto.
12067 * gdb.base/until.exp: Ditto.
12068
12069 * gdb.base/completion.exp: Use "break1" for completion tests since
12070 "break" is no longer a unique prefix.
12071
12072 2003-12-06 Andrew Cagney <cagney@redhat.com>
12073
12074 * gdb.base/structs.exp (test_struct_returns): When applicable, set
12075 "return_value_unimplemented". When an unimplemented struct return
12076 architecture, report incorrect values as a KFAIL
12077
12078 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12079
12080 * gdb.cp/rtti.exp: Accept new wording of warning from
12081 cp_lookup_rtti_type.
12082
12083 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12084
12085 Partial fix for PR testsuite/1456.
12086 * gdb.base/scope.exp (test_at_main): Replace references to
12087 gcc_compiled with calls to test_compiler_info.
12088 (test_at_foo): Likewise.
12089 (test_at_bar): Likewise.
12090
12091 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
12092
12093 Partial fix for PR testsuite/1456.
12094 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
12095 to test_compiler_info.
12096
12097 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12098
12099 * gdb.base/so-impl-ld.exp: Update copyright notice.
12100
12101 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
12102
12103 Partial fix for PR testsuite/1456.
12104 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
12105 to test_compiler_info.
12106
12107 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12108
12109 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
12110 from current versions of gdb. Clean up regular expressions.
12111 Delete redundant timeout case.
12112
12113 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12114
12115 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
12116 from current versions of gdb. Clean up regular expressions.
12117 Delete redundant timeout case.
12118
12119 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
12120
12121 Partial fix for PR testsuite/1456.
12122 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
12123 gcc_compiled with call to test_compiler_info.
12124
12125 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12126
12127 Partial fix for PR testsuite/1456.
12128 * gdb.base/list.exp (test_list_function): Delete unused declaration
12129 of gcc_compiled.
12130
12131 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12132
12133 Partial fix for PR testsuite/1456.
12134 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12135 call to test_compiler_info.
12136
12137 2003-11-29 Mark Kettenis <kettenis@gnu.org>
12138
12139 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
12140 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
12141 it to create the appropriate note.inc.
12142 * gdb.asm/asmsrc1.s: Include "note.inc".
12143 * gdb.asm/netbsd.inc: New file.
12144 * gdb.asm/empty.inc: New file.
12145
12146 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12147
12148 Partial fix for PR testsuite/1456.
12149 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12150 calls to test_compiler_info.
12151
12152 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12153
12154 Partial fix for PR testsuite/1456.
12155 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12156 calls to test_compiler_info.
12157
12158 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12159
12160 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12161 pattern for the KFAILs.
12162
12163 2003-11-25 Adam Fedor <fedor@gnu.org>
12164
12165 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12166 * gdb.objc/objcdecode.m: New file.
12167
12168 2003-11-25 Adam Fedor <fedor@gnu.org>
12169
12170 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12171 * gdb.objc/nondebug.m: New file.
12172
12173 2003-11-26 Ben Elliston <bje@wasabisystems.com>
12174
12175 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12176 NetBSD as it does on FreeBSD. Modelled on a similar change by
12177 Mark Kettenis on 2003-05-30.
12178 (link-flags): Set to "--entry _start" regardless of target.
12179 Special linker flags are to be appended to $link-flags.
12180 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
12181
12182 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12183
12184 * gdb.cp/method.exp: Accept output of new demangler.
12185
12186 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12187
12188 * gdb/class2.exp: New file.
12189 * gdb/class2.cc: New file.
12190
12191 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12192
12193 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12194 of new demangler.
12195
12196 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12197
12198 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12199 of gdb_test "run".
12200
12201 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12202
12203 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12204 "continue" into "run".
12205
12206 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12207
12208 Partial fix for PR testsuite/1456.
12209 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
12210 call to test_compiler_info.
12211 * gdb.cp/ctti.exp: Likewise.
12212 * gdb.cp/derivation.exp: Likewise.
12213 * gdb.cp/member-ptr.exp: Likewise.
12214 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
12215 reference to gcc_compiled.
12216
12217 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12218
12219 Fix PR testsuite/1463.
12220 * gdb.base/structs.exp (start_structs_test): Call
12221 get_debug_format before using the debug format.
12222
12223 2003-11-22 Andrew Cagney <cagney@redhat.com>
12224
12225 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12226 * gdb.base/structs.exp: Use gdb_test_multiple.
12227
12228 2003-11-20 Andrew Cagney <cagney@redhat.com>
12229
12230 * gdb.base/structs.exp: Handle and recover from internal errors.
12231 Replace "foo${n}" with "foo<n>" in test messages.
12232
12233 * gdb.base/structs.exp: Update copyright. Rewrite.
12234 * gdb.base/structs.c: Update copyright. Rewrite.
12235
12236 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12237 resync count exceeded.
12238
12239 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
12240 from the internal error.
12241 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
12242 Original from Jim Blandy.
12243 (gdb_test_multiple): Use gdb_internal_error_resync.
12244
12245 2003-11-19 Andrew Cagney <cagney@redhat.com>
12246
12247 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12248 KFAIL.
12249
12250 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12251
12252 New testcase for PR backtrace/1435.
12253 * gdb.arch/i386-unwind.exp: New file.
12254 * gdb.arch/i386-unwind.c: New file.
12255
12256 2003-11-17 Andrew Cagney <cagney@redhat.com>
12257
12258 * lib/gdb.exp (compiler_info): New global.
12259 (test_compiler_info): New function.
12260 (get_compiler_info): Set compiler_info.
12261 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
12262 "compiler_info" to gcc-<major>-<minor>.
12263
12264 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12265
12266 * gdb.trace/configure: Remove.
12267
12268 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12269
12270 * gdb.base/break.c: Add comments to aid finding line numbers for
12271 breakpoints.
12272 * gdb.base/break.exp: Remove all references to explicit line
12273 numbers.
12274
12275 2003-11-11 Nick Clifton <nickc@redhat.com>
12276
12277 * gdb.base/shreloc.exp: Do not run for targets which do not
12278 support shared objects.
12279
12280 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12281
12282 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12283 Don't run tests if nofileio flag is given.
12284
12285 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12286
12287 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12288 as well as 'Watchpoint'.
12289
12290 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12291
12292 Reported by Jim Ingham <jingham@apple.com>:
12293 * gdb.base/annota1.exp: Match at least one occurrence of the
12294 signal handler annotation.
12295
12296 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12297
12298 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12299 as well as 'Watchpoint'.
12300
12301 2003-11-05 Michael Chastain <mec@shout.net>
12302
12303 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12304
12305 2003-11-03 Kris Warkentin <kewarken@qnx.com>
12306
12307 * gdb.arch/gdb1291.c: New test file.
12308 * gdb.arch/gdb1291.exp: New test script.
12309 * gdb.arch/gdb1431.c: New test file.
12310 * gdb.arch/gdb1431.exp: New test script.
12311
12312 2003-10-22 Michael Chastain <mec@shout.net>
12313
12314 * gdb.mi/pthreads.c: Add copyright notice.
12315
12316 2003-10-22 Michael Chastain <mec@shout.net>
12317
12318 * gdb.threads/pthreads.c: Add copyright notice.
12319
12320 2003-10-20 Michael Chastain <mec@shout.net>
12321
12322 * gdb.base/gdb1056.exp: New test script.
12323
12324 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12325
12326 * gdb.threads/killed.exp: Use gdb_run_cmd.
12327
12328 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12329
12330 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
12331 create a core file.
12332 * gdb.threads/gcore-thread.exp: Likewise.
12333
12334 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
12335
12336 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
12337 type, based on char type.
12338 (struct bit_flags_short_t): New bitfield type, based on short type.
12339 (init_bit_flags_char): New fuction.
12340 (init_bit_flags_short): Ditto.
12341 (print_bit_flags_char): Ditto.
12342 (print_bit_flags_short): Ditto.
12343 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
12344
12345 2003-10-11 Michael Chastain <mec@shout.net>
12346
12347 * gdb.base/call-rt-st.exp: Update copyright year.
12348
12349 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12350
12351 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12352 * gdb.disasm/sh3.s: Ditto.
12353
12354 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
12355
12356 * gdb.threads/switch-threads.exp: New test.
12357 * gdb.threads/switch-threads.c: New source file.
12358
12359 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
12360
12361 * gdb.base/ending-run.exp: Add sh specific case.
12362
12363 2003-10-06 Andrew Cagney <cagney@redhat.com>
12364
12365 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12366 * gdb.disasm/mn10200.exp: Delete obsolete file.
12367
12368 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
12369
12370 * ChangeLog: Correct an entry command.exp -> commands.exp.
12371 * gdb.base/commands.exp (bp_deleted_in_command_test)
12372 (temporary_breakpoint_commands): Check noargs.
12373
12374 2003-09-25 David Carlton <carlton@kealia.com>
12375
12376 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
12377 of some print tests, where appropriate. Add tests for C::D::cd,
12378 E::ce, F::cXfX, G::XgX.
12379 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
12380
12381 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
12382
12383 * lib/java.exp (java_init): Import target_alias before using it.
12384
12385 2003-09-25 David Carlton <carlton@kealia.com>
12386
12387 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12388
12389 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
12390
12391 * gdb.base/selftest.exp: Accomodate more instruction reordering
12392 weirdness.
12393
12394 2003-09-17 Michael Chastain <mec@shout.net>
12395
12396 * gdb.cp/gdb1355.exp: New file.
12397 * gdb.cp/gdb1355.c: New file.
12398
12399 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
12400
12401 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12402 * gdb.asm/sh.inc: New file.
12403
12404 2003-09-11 David Carlton <carlton@kealia.com>
12405
12406 * gdb.cp/namespace.exp: Add tests for namespace types.
12407 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
12408 (test_namespace): New.
12409
12410 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
12411
12412 * gdb.base/relocate.exp: Handle new gdb output at startup.
12413 * gdb.stabs/weird.exp: Ditto.
12414
12415 2003-09-08 Michael Chastain <mec@shout.net>
12416
12417 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12418
12419 2003-09-07 Michael Chastain <mec@shout.net>
12420
12421 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12422 'parse error'.
12423
12424 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12425
12426 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12427
12428 2003-08-30 Michael Chastain <mec@shout.net>
12429
12430 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12431 * gdb.gdb/observer.exp: Ditto.
12432 * gdb.gdb/xfullpath.exp: Ditto.
12433
12434 2003-08-29 Mark Kettenis <kettenis@gnu.org>
12435
12436 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12437 *-*-*bsd*.
12438
12439 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12440
12441 * gdb.base/dump.exp: Skip for ia64.
12442
12443 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12444
12445 * gdb.asm/asm-source.exp: Add ia64 support.
12446 * gdb.asm/ia64.inc: New file.
12447
12448 2003-08-22 Michael Chastain <mec@shout.net>
12449
12450 * gdb.cp: New directory.
12451 * gdb.cp/*: Copy from gdb.c++/*.
12452 * gdb.c++/*: Remove.
12453 * Makefile.in: Change gdb.c++ to gdb.cp.
12454 * configure.in: Ditto.
12455 * configure: Regnerate.
12456
12457 2003-08-18 Mark Kettenis <kettenis@gnu.org>
12458
12459 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12460 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12461
12462 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12463
12464 * mi-var-display.exp (-var-list-children weird): Accept function
12465 pointers with argument types.
12466 * mi1-var-display.exp (-var-list-children weird): Likewise.
12467 * mi2-var-display.exp (-var-list-children weird): Likewise.
12468
12469 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12470
12471 * gdb.base/annota3.exp: Add missing newline.
12472
12473 2003-08-06 Michael Chastain <mec@shout.net>
12474
12475 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12476
12477 2003-08-12 Michael Snyder <msnyder@redhat.com>
12478
12479 * gdb.base/float.exp: Add test for SH.
12480
12481 2003-08-10 Mark Kettenis <kettenis@gnu.org>
12482
12483 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12484
12485 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12486
12487 * gdb.base/completion.exp: Remove reduntant completion test
12488 on filename.
12489
12490 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12491
12492 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
12493 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
12494 gdb.trace/save-trace.exp: Make sure that full pathnames are
12495 escaped correctly.
12496
12497 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12498
12499 * configure.in: Don't generate config.h from config.hin.
12500 * configure: Regenerate.
12501 * config.hin: Remove file.
12502 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
12503 * gdb.threads/pthreads.c: Ditto.
12504
12505 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
12506
12507 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12508 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
12509 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
12510 Replace ld24 with seth/add3.
12511
12512 2003-08-02 Andrew Cagney <cagney@redhat.com>
12513
12514 * gdb.base/annota3.exp: New file.
12515 * gdb.base/annota3.c: New file.
12516 * gdb.c++/annota3.exp: New file.
12517 * gdb.c++/annota3.cc: New file.
12518
12519 2003-07-29 Michael Chastain <mec@shout.net>
12520
12521 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12522 actually failed.
12523 (do_pass): Likewise.
12524 * gdb.threads/tls.exp: Always initialize no_of_threads.
12525
12526 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
12527
12528 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
12529 pattern.
12530 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
12531 * gdb.threads/tls.exp: Recognize one case of the host library not
12532 supporting TLS.
12533
12534 2003-07-27 Andrew Cagney <cagney@redhat.com>
12535
12536 * gdb.base/fileio.exp: Use SH when running commands using
12537 remote_exec.
12538
12539 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
12540
12541 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12542 * gdb.base/relocate.c (dummy): New padding array.
12543
12544 2003-07-22 Michael Snyder <msnyder@redhat.com>
12545
12546 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
12547
12548 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
12549 patterns to be more general, accepting old and new output.
12550 Some output chars (such as '+') also must be quoted.
12551 Some addresses are displayed numerically instead of
12552 symbolically.
12553
12554 2003-07-23 Michael Snyder <msnyder@redhat.com>
12555
12556 * gdb.base/return2.exp: Don't test long-long return.
12557
12558 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
12559 * gdb.disasm/t01_mov.exp: Ditto.
12560 * gdb.disasm/t02_mova.s: Ditto.
12561 * gdb.disasm/t02_mova.exp: Ditto.
12562 * gdb.disasm/t03_add.s: Ditto.
12563 * gdb.disasm/t03_add.exp: Ditto.
12564 * gdb.disasm/t04_sub.s: Ditto.
12565 * gdb.disasm/t04_sub.exp: Ditto.
12566 * gdb.disasm/t05_cmp.s: Ditto.
12567 * gdb.disasm/t05_cmp.exp: Ditto.
12568 * gdb.disasm/t06_ari2.s: Ditto.
12569 * gdb.disasm/t06_ari2.exp: Ditto.
12570 * gdb.disasm/t07_ari3.s: Ditto.
12571 * gdb.disasm/t07_ari3.exp: Ditto.
12572 * gdb.disasm/t08_or.s: Ditto.
12573 * gdb.disasm/t08_or.exp: Ditto.
12574 * gdb.disasm/t09_xor.s: Ditto.
12575 * gdb.disasm/t09_xor.exp: Ditto.
12576 * gdb.disasm/t10_and.s: Ditto.
12577 * gdb.disasm/t10_and.exp: Ditto.
12578 * gdb.disasm/t11_logs.s: Ditto.
12579 * gdb.disasm/t11_logs.exp: Ditto.
12580 * gdb.disasm/t12_bit.s: Ditto.
12581 * gdb.disasm/t12_bit.exp: Ditto.
12582 * gdb.disasm/t13_otr.s: Ditto.
12583 * gdb.disasm/t13_otr.exp: Ditto.
12584
12585 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12586
12587 * gdb.threads/tls.exp :Add kfail for 'info address' case.
12588
12589 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12590
12591 * gdb.threads/tls.c : New file.
12592 * gdb.threads/tls.exp : New file.
12593 * gdb.threads/tls-main.c : New file.
12594 * gdb.threads/tls-shared.c : New file.
12595 * gdb.threads/tls-shared.exp : New file.
12596
12597 2003-07-22 Andreas Schwab <schwab@suse.de>
12598
12599 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
12600
12601 2003-07-20 Andreas Schwab <schwab@suse.de>
12602
12603 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
12604 due to insn reordering.
12605
12606 2003-07-15 Andrew Cagney <cagney@redhat.com>
12607
12608 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
12609
12610 2003-07-15 Michael Chastain <mec@shout.net>
12611
12612 * gdb.base/gdb1250.exp: New file.
12613 * gdb.base/gdb1250.c: New file.
12614
12615 2003-07-09 Michal Ludvig <mludvig@suse.cz>
12616
12617 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
12618 expansion of size_t to 'unsigned long', not only to 'unsigned'.
12619
12620 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
12621
12622 * gdb.threads/tls.c: New file.
12623 * gdb.threads/tls.exp: New file.
12624 * gdb.threads/tls-main.c: New file.
12625 * gdb.threads/tls-shared.c: New file.
12626 * gdb.threads/tls-shared.exp: New file.
12627
12628 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
12629
12630 * gdb.base/annota1.exp: Make sure that we properly escape the
12631 full path of the source file. Xfail more permissive patterns,
12632 due to a compiler debug info problem.
12633
12634 2003-07-07 Andreas Schwab <schwab@suse.de>
12635
12636 * gdb.asm/m68k.inc: New file.
12637 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
12638
12639 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
12640 arguments"): Also match negative number.
12641
12642 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
12643
12644 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
12645
12646 * gdb.base/store.c (charest): New typedef.
12647 (add_char): Rename to add_charest, update.
12648 (wack_char): Rename to wack_charest, update types. Return l + r
12649 to keep r live across the call.
12650 (wack_short, wack_int, wack_long, wack_longest, wack_float)
12651 (wack_double, wack_doublest): Return l + r to keep r live across
12652 the call.
12653 * gdb.base/store.exp: Accomodate store.c changes.
12654
12655 2003-06-30 David Carlton <carlton@kealia.com>
12656
12657 * gdb.c++/maint.exp (test_invalid_name): New.
12658 (test_first_component): Add tests for invalid names.
12659
12660 2003-06-29 Michael Chastain <mec@shout.net>
12661
12662 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
12663 output of '<VTT for class>' for virtual base classes.
12664
12665 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12666
12667 * gdb.base/completion.exp: Tab-complete "complet" instead of
12668 "compl".
12669 * gdb.base/complex.exp, gdb.base/complex.c: New files.
12670
12671 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12672
12673 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
12674 * gdb.base/volatile.exp: Likewise.
12675
12676 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12677
12678 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
12679 gdb/1265.
12680
12681 2003-06-28 Michael Chastain <mec@shout.net>
12682 Daniel Jacobowitz <drow@mvista.com>
12683
12684 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
12685 initial line count of 'captured_main' from 26 to 32.
12686 (test_with_self): Allow xmalloc call to be interleaved with the
12687 preceding two lines.
12688
12689 2003-06-24 Joel Brobecker <brobecker@gnat.com>
12690
12691 * gdb.base/bang.exp: New testcase.
12692
12693 2003-06-23 Joel Brobecker <brobecker@gnat.com>
12694
12695 * gdb.base/langs.exp: Add some tests for the "minimal" language
12696 support.
12697
12698 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
12699
12700 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
12701 the testcase.
12702
12703 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
12704
12705 * gdb.base/relocate.exp: Test add-symbol-file with a variable
12706 offset.
12707
12708 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
12709
12710 * gdb.c++/pr-1210.cc: New file.
12711 * gdb.c++/pr-1210.exp: New file.
12712
12713 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
12714
12715 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
12716 000-exec-continue.
12717
12718 2003-06-15 Mark Kettenis <kettenis@gnu.org>
12719
12720 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
12721 on *-*-*bsd* instead of *-*-freebsd*.
12722
12723 2003-06-14 Andrew Cagney <cagney@redhat.com>
12724
12725 * gdb.base/store.exp: Test longest and doublest. Test all
12726 parameters. Weaken return statement match.
12727 * gdb.base/store.c: Add longest and doublest - aka long long and
12728 long double functions. Put all parameters into local register
12729 variables. Use negative values.
12730
12731 2003-06-14 Andrew Cagney <cagney@redhat.com>
12732
12733 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
12734 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
12735 exit status.
12736 * gdb.base/fileio.exp: Disable target when nointerrupts and
12737 noinferiorio, instead of limiting it to remote. Use remote_exec
12738 instead of system.
12739
12740 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
12741
12742 * gdb.base/float.exp: Add ia64 support.
12743
12744 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
12745
12746 * gdb.base/fileio.exp: Run only on remote targets.
12747
12748 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
12749
12750 * gdb.base/fileio.c: New file, testing File-I/O.
12751 * gdb.base/fileio.exp: Ditto.
12752
12753 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
12754
12755 * gdb.base/shreloc.exp: New file, check symbol values obtained from
12756 shared objects after relocation at load time (gdb PR/1132).
12757 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
12758 as above, part of the shared object relocation test.
12759
12760 2003-06-08 Mark Kettenis <kettenis@gnu.org>
12761
12762 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
12763 fully filled history list.
12764 * gdb.base/gdb_history: New file.
12765
12766 * gdb.base/signals.exp: XFAIL "continue to func1" on
12767 i*86-*-freebsd*.
12768
12769 * gdb.base/attach.exp: When trying to attach to a nonexistent
12770 process, make it possible to specify the PID based on the target,
12771 and do so for *-*-freebsd*.
12772
12773 2003-06-02 Richard Henderson <rth@redhat.com>
12774
12775 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
12776
12777 2003-06-02 Richard Henderson <rth@redhat.com>
12778
12779 * gdb.base/selftest.exp: Next over lim_at_start initialization.
12780
12781 2003-06-02 Richard Henderson <rth@redhat.com>
12782
12783 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
12784
12785 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
12786
12787 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
12788 of globalvar.
12789
12790 2003-06-01 Mark Kettenis <kettenis@gnu.org>
12791
12792 * gdb.asm/asm-source.exp: Check for memory read errors in
12793 disassembler test on *BSD too.
12794
12795 2003-06-01 Richard Henderson <rth@redhat.com>
12796
12797 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
12798 for .frame.
12799 (gdbasm_call): Lose ldgp.
12800 (gdbasm_startup): Add frame information.
12801 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
12802
12803 2003-05-31 Mark Kettenis <kettenis@gnu.org>
12804
12805 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
12806 i?86-*-*.
12807
12808 2003-05-30 Mark Kettenis <kettenis@gnu.org>
12809
12810 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12811 FreeBSD.
12812
12813 2003-05-29 Richard Henderson <rth@redhat.com>
12814
12815 * gdb.asm/alpha.inc: New file.
12816 * gdb.asm/asm-source.exp: Use it.
12817
12818 2003-05-29 Jim Blandy <jimb@redhat.com>
12819
12820 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
12821 'core.PID'.
12822
12823 2003-05-22 Jim Blandy <jimb@redhat.com>
12824
12825 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
12826 backtrace.
12827
12828 2003-05-20 David Carlton <carlton@math.stanford.edu>
12829
12830 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
12831 this time.
12832
12833 2003-05-19 David Carlton <carlton@bactrian.org>
12834
12835 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
12836 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
12837
12838 2003-05-19 David Carlton <carlton@bactrian.org>
12839
12840 * gdb.c++/namespace.exp: Add namespace scope and anonymous
12841 namespace tests.
12842 Bump copyright date.
12843 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
12844 (main): Call C::D::marker2.
12845 * gdb.c++/namespace1.cc: New file.
12846
12847 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
12848
12849 Roland McGrath <roland@redhat.com>
12850 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
12851 there is no manager thread.
12852
12853 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
12854
12855 * gdb.threads/schedlock.exp: Remove assumption that all threads
12856 will run in a particular small time slice. Also ensure we break
12857 in one of the child threads rather than the main thread.
12858
12859 2003-05-07 Jim Blandy <jimb@redhat.com>
12860
12861 Add support for assembly source testing on the s390x.
12862 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
12863 architecture.
12864 * gdb.asm/s390x.inc: New file.
12865
12866 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
12867 succession of 'if' statements.
12868
12869 2003-05-05 Andrew Cagney <cagney@redhat.com>
12870
12871 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
12872
12873 2003-05-05 Andrew Cagney <cagney@redhat.com>
12874
12875 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
12876 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
12877
12878 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
12879
12880 * gdb.base/charset.exp: Update based on new behavior of set/show
12881 charset commands.
12882
12883 2003-05-01 Andrew Cagney <cagney@redhat.com>
12884
12885 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
12886 variable do not give memory errors.
12887
12888 2003-04-30 Adam Fedor <fedor@gnu.org>
12889
12890 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
12891 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
12892 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
12893 gdb.objc/basicclass.m: : New files
12894
12895 * lib/gdb.exp (gdb_compile_objc): New procedure.
12896
12897 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
12898
12899 * gdb.base/signals.exp: Make backtrace tests more specific.
12900
12901 2003-04-23 David Carlton <carlton@bactrian.org>
12902
12903 * gdb.c++/maint.exp (test_first_component): Add tests for
12904 'operator' in more locations.
12905
12906 2003-04-16 Kevin Buettner <kevinb@redhat.com>
12907
12908 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
12909
12910 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
12911
12912 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
12913 func marke' instead. Update test name.
12914
12915 2003-04-15 David Carlton <carlton@math.stanford.edu>
12916
12917 * gdb.c++/maint.exp: New file.
12918
12919 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
12920
12921 * gdb.threads/schedlock.c: Change type of thread function argument
12922 to long, to avoid warnings on 64-bit platforms.
12923
12924 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
12925
12926 * gdb.base/attach.exp: Add new message from ptrace in case of
12927 attaching to nonexistent process.
12928
12929 2003-04-11 Jim Blandy <jimb@redhat.com>
12930
12931 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12932 gdb.c++/userdef.cc: Place comments on the lines to which the
12933 marker function might return.
12934 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12935 gdb.c++/userdef.exp: Look for those comments to check that we've
12936 returned to the right place, instead of checking line numbers.
12937
12938 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
12939
12940 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
12941 match on sourcefile name, instead of directory name.
12942
12943 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
12944
12945 * gdb.base/completion.exp: Use string_to_regexp to match the
12946 working directory name.
12947
12948 2003-04-09 Jim Blandy <jimb@redhat.com>
12949
12950 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
12951 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
12952 after an inferior function call, report the failure, but allow the
12953 test to continue.
12954
12955 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12956
12957 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12958 with -DPROTOTYPES.
12959
12960 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12961
12962 * gdb.base/break.exp: Revert last patch.
12963
12964 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
12965
12966 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12967 with -DPROTOTYPES.
12968
12969 2003-04-02 Andrew Cagney <cagney@redhat.com>
12970
12971 * gdb.base/callfuncs.exp: Make "print add" messages unique.
12972 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
12973 matching directories by the name breakpoint.
12974 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
12975 Make "continue to marker1" consistent.
12976 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
12977 message consistent.
12978 * lib/gdb.exp: Put "the program is no longer running", and "the
12979 program exited" in parenthesis.
12980 * lib/mi-support.exp: Ditto.
12981
12982 2003-04-02 Bob Rossi <bob_rossi@cox.net>
12983
12984 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
12985
12986 2003-03-29 Andrew Cagney <cagney@redhat.com>
12987
12988 * gdb.base/sizeof.c (main): Print the value of '\377'.
12989 * gdb.base/sizeof.exp: Check the sign of '\377'.
12990
12991 2003-03-27 Michael Chastain <mec@shout.net>
12992
12993 * gdb.base/gdb1090.exp: New file.
12994 * gdb.base/gdb1090.cc: New file.
12995
12996 2003-03-27 J. Brobecker <brobecker@gnat.com>
12997
12998 * gdb.gdb/observer.exp: New regression test.
12999
13000 2003-03-27 Michael Chastain <mec@shout.net>
13001
13002 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13003 * gdb.base/ptype.exp: Likewise.
13004
13005 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13006
13007 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13008
13009 2003-03-26 Michael Chastain <mec@shout.net>
13010
13011 * gdb.base/ptype.exp: Actually use some typedef'd types.
13012
13013 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13014
13015 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13016 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13017
13018 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13019
13020 * gdb.base/default.exp: Fix regular expression.
13021
13022 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13023
13024 * gdb.base/args.exp: Fix regular expression.
13025
13026 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13027
13028 * gdb.base/help.exp: Allow Win32 child process.
13029
13030 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13031
13032 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13033 when stepping out of main().
13034
13035 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13036
13037 * gdb.base/default.exp: Check for win32 specific message when calling
13038 "run" without executable.
13039
13040 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13041
13042 * gdb.base/args.exp: Expect .exe in output.
13043
13044 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13045
13046 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13047 Cygwin native.
13048
13049 2003-03-17 Andrew Cagney <cagney@redhat.com>
13050
13051 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
13052 vector registes.
13053 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
13054 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
13055
13056 2003-03-17 David Carlton <carlton@math.stanford.edu>
13057
13058 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
13059 test, for PR breakpoints/38.
13060 Call test_watchpoint_and_breakpoint.
13061 * gdb.base/watchpoint.c (func3): New function.
13062 (main): Call func3.
13063
13064 2003-03-04 David Carlton <carlton@math.stanford.edu>
13065
13066 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
13067 Garply<Garply<char> >:: garply".
13068 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
13069 with respect to PR c++/1111; note also PR c++/1113.
13070 (test_template_breakpoints): KFAIL "constructor breakpoint" with
13071 respect to PR c++/1062.
13072 KFAIL "destructor breakpoint" with respect to PR c++/1112.
13073
13074 2003-03-03 David Carlton <carlton@math.stanford.edu>
13075
13076 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
13077 with respect to PR c++/57.
13078 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
13079 c++/826.
13080 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13081 respect to PR c++/57.
13082
13083 2003-03-03 David Carlton <carlton@math.stanford.edu>
13084
13085 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13086 respect to PR c++/33 into FAILs.
13087
13088 2003-03-03 Michael Chastain <mec@shout.net>
13089
13090 * configure.in: Update copyright years.
13091
13092 2003-03-03 Michael Chastain <mec@shout.net>
13093
13094 * Makefile.in: Update copyright years.
13095
13096 2003-02-28 David Carlton <carlton@math.stanford.edu>
13097
13098 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
13099 print class instead of struct and/or superfluous protection
13100 specifiers, as long as the resulting output is equivalent to the
13101 source code.
13102 Delete FIXME from end of messages on tests that don't need
13103 fixing.
13104
13105 2003-02-28 David Carlton <carlton@math.stanford.edu>
13106
13107 * gdb.c++/templates.exp (do_tests): Allow const in the two
13108 Foo<volatile char *>::foo tests.
13109
13110 2003-02-27 Michael Snyder <msnyder@redhat.com>
13111
13112 * gdb.base/restore.c (main): Return zero, so exit code
13113 will be consistant.
13114
13115 2003-02-26 David Carlton <carlton@math.stanford.edu>
13116
13117 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
13118 char *>::foo" test with respect to PR c++/33. Create a new test
13119 which is identical to that one except that it doesn't put the
13120 space between the "char" and the "*"; KFAIL it, too.
13121
13122 2003-02-26 David Carlton <carlton@math.stanford.edu>
13123
13124 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
13125 template types into either PASSes or KFAILs (corresponding to PR
13126 c++/57). Tweak indentation. Update copyright.
13127
13128 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13129
13130 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13131
13132 2003-02-13 Michael Chastain <mec@shout.net>
13133
13134 * gdb.base/exprs.exp: Remove i960 remnants.
13135 * gdb.base/funcargs.exp: Likewise.
13136 * gdb.base/list.exp: Likewise.
13137 * gdb.base/ptype.exp: Likewise.
13138
13139 2003-02-14 David Carlton <carlton@math.stanford.edu>
13140
13141 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13142 pEe->D::vg()" from XFAIL to KFAIL.
13143
13144 2003-02-13 Jason Molenda (jmolenda@apple.com)
13145
13146 * gdb.base/maint.exp: Update maint print statistics regexp to include
13147 new entries.
13148
13149 2003-02-13 Michael Chastain <mec@shout.net>
13150
13151 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13152
13153 2003-02-12 Michael Chastain <mec@shout.net>
13154
13155 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
13156 * gdb.c++/inherit.exp: Likewise.
13157 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
13158 * gdb.c++/templates.exp: Likewise.
13159 * gdb.c++/virtfunc.exp: Likewise.
13160
13161 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13162
13163 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13164 why the code is written that way.
13165
13166 2003-02-05 Michael Chastain <mec@shout.net>
13167
13168 * gdb.base/dump.exp: Add missing copyright line.
13169
13170 2003-02-05 Jason Molenda (jason-cl@molenda.com)
13171
13172 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
13173 at the beginning so the breakpoint doesn't get set on the loop.
13174
13175 2003-02-05 Michael Chastain <mec@shout.net>
13176
13177 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13178 output for configurations with gcc 2.95.3.
13179
13180 2003-02-05 Keith Seitz <keiths@redhat.com>
13181 Andrew Cagney <ac131313@redhat.com>
13182
13183 * gdb.mi/mi-cli.exp: New file.
13184
13185 2003-02-04 Michael Chastain <mec@shout.net>
13186
13187 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13188 Call perror and then continue.
13189
13190 2003-02-03 Michael Chastain <mec@shout.net>
13191
13192 * gdb.c++/pr-1023.cc: New file.
13193 * gdb.c++/pr-1023.exp: New file.
13194
13195 2003-02-05 Jim Blandy <jimb@redhat.com>
13196
13197 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
13198 it's local to foobar. Check for it there, and check that it's not
13199 present in main.
13200 * gdb.c++/local.cc (marker2): New function.
13201 (foobar): Call marker1.
13202 (main): Call marker2 instead of marker1.
13203
13204 2003-02-04 Andrew Cagney <ac131313@redhat.com>
13205
13206 * gdb.disasm/mn10200.exp: Obsolete file.
13207 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
13208 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
13209 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
13210
13211 2003-02-04 David Carlton <carlton@math.stanford.edu>
13212
13213 * gdb.c++/overload.exp: Test intToChar(1).
13214 * gdb.c++/overload.cc (intToChar): New.
13215 (main): Call intToChar.
13216
13217 2003-02-03 David Carlton <carlton@math.stanford.edu>
13218
13219 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13220 'might_kfail' arg.
13221 KFAIL some of the continue_to_bp_overloaded calls, according to
13222 PR c++/1025.
13223
13224 2003-02-01 Michael Chastain <mec@shout.net>
13225
13226 * gdb.base/advance.c (marker1): New marker function.
13227 * gdb.base/advance.exp: When the 'advance' command lands on the
13228 return breakpoint, it can legitimately stop on either the
13229 current line or the next line. Accommodate both outcomes.
13230 * gdb.base/until.exp: Likewise.
13231
13232 2003-02-02 Andrew Cagney <ac131313@redhat.com>
13233
13234 2002-11-10 Jason Molenda (jason-cl@molenda.com):
13235 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
13236 now a list, not a tuple.
13237 * gdb.mi/mi-var-display.exp: Ditto.
13238 * gdb.mi/gdb792.exp: Ditto.
13239
13240 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13241
13242 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13243 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13244 stack backtraces.
13245 * gdb.mi/mi-syn-frame.c: Part of same.
13246
13247 2003-02-01 Mark Kettenis <kettenis@gnu.org>
13248
13249 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13250 gdb.mi/mi1-pthreads.exp: Return instead of calling
13251 gdb_suppress_entire_file.
13252
13253 2003-02-01 Mark Salter <msalter@redhat.com>
13254
13255 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13256
13257 2003-01-31 Mark Salter <msalter@redhat.com>
13258
13259 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13260 Support empty arg.
13261
13262 2003-01-30 Michael Chastain <mec@shout.net>
13263
13264 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
13265 This was a workaround for a UTF-8 bug in readline 4.3. The bug
13266 has been fixed in gdb/readline on 2003-01-09.
13267
13268 2003-01-29 Michael Snyder <msnyder@redhat.com>
13269
13270 * gdb.base/maint.exp: Allow for leading underscore in symbol.
13271 * gdb.base/display.exp: Allow for leading underscore in symbol.
13272 * gdb.base/args.exp: Skip if target does not support args passing.
13273
13274 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13275
13276 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13277 gdb_test. Accept a list of expect arguments as the third
13278 parameter.
13279 (gdb_test): Use it.
13280
13281 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
13282
13283 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
13284 allow for different test tree configurations. Update some
13285 tescases accordingly.
13286 * gdb.arch/altivec-regs.exp: Ditto.
13287 * gdb.asm/asm-source.exp: Ditto.
13288 * gdb.base/advance.exp: Ditto.
13289 * gdb.base/display.exp: Ditto.
13290 * gdb.base/long_long.exp: Ditto.
13291 * gdb.base/mips_pro.exp: Ditto.
13292 * gdb.base/overlays.exp: Ditto.
13293 * gdb.base/relocate.exp: Ditto.
13294 * gdb.base/setshow.exp: Ditto.
13295 * gdb.base/step-line.exp: Ditto.
13296 * gdb.base/step-test.exp: Ditto.
13297 * gdb.base/until.exp: Ditto.
13298 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
13299
13300 2003-01-17 David Carlton <carlton@math.stanford.edu>
13301
13302 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13303 corresponding to PR c++/945.
13304 Update copyright.
13305
13306 2003-01-17 David Carlton <carlton@math.stanford.edu>
13307
13308 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13309 corresponding to PR c++/68.
13310
13311 2003-01-17 David Carlton <carlton@math.stanford.edu>
13312
13313 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
13314 (test_paddr_hairy_functions): Call print_addr_2_kfail for
13315 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
13316
13317 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13318
13319 * gdb.base/break.exp: Fix change of default location, because of
13320 removal of until tests.
13321 * gdb.base/help.exp: Update test for new 'until' help message.
13322 Add test for help on 'advance'.
13323 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
13324
13325 2003-01-15 Mark Kettenis <kettenis@gnu.org>
13326
13327 * gdb.base/default.exp: Adapt "info float" test for recent changes
13328 to that command. Add test for "info vector".
13329 * gdb.base/float.exp: New file. Add test for "info float" that
13330 resembles the old test in gdb.base/default.exp.
13331
13332 2003-01-15 David Carlton <carlton@math.stanford.edu>
13333
13334 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13335
13336 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
13337
13338 * gdb.base/break.exp: Move the tests of until command from here...
13339 * gdb.base/until.exp: ... to here. New file. Add other tests.
13340 * gdb.base/advance.c: New file.
13341 * gdb.base/advance.exp: New file.
13342
13343 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13344
13345 * gdb.base/args.c: New file.
13346 * gdb.base/args.exp: New file.
13347
13348 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13349
13350 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13351
13352 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13353
13354 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13355
13356 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13357
13358 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13359 dates.
13360
13361 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13362
13363 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13364
13365 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13366
13367 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13368 (ptype &*"foo").
13369 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13370
13371 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13372
13373 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13374 * gdb.mi/mi1-console.exp: Likewise.
13375
13376 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13377
13378 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13379 * gdb.mi/mi1-console.exp: Likewise.
13380
13381 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13382
13383 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13384
13385 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13386
13387 * gdb.base/detach.exp: New test.
13388
13389 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13390
13391 * Makefile.in (ALL_SUBDIRS): New variable.
13392 (subdirs, clean, distclean): Use it.
13393 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
13394 regenerating Makefile, since it is generated from the top level.
13395 * gdb.asm/Makefile.in: Likewise.
13396 * gdb.base/Makefile.in: Likewise.
13397 * gdb.c++/Makefile.in: Likewise.
13398 * gdb.disasm/Makefile.in: Likewise.
13399 * gdb.java/Makefile.in: Likewise.
13400 * gdb.mi/Makefile.in: Likewise.
13401 * gdb.threads/Makefile.in: Likewise.
13402 * gdb.trace/Makefile.in: Likewise.
13403
13404 2003-01-09 David Carlton <carlton@math.stanford.edu>
13405
13406 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13407 Add copyright year 2003.
13408
13409 2003-01-06 Michael Chastain <mec@shout.net>
13410
13411 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
13412 When selecting a thread, 'line' and 'file' are optional.
13413 * gdb.mi/mi1-pthreads.exp: Likewise.
13414
13415 2003-01-06 Andreas Schwab <schwab@suse.de>
13416
13417 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13418 failures.
13419
13420 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13421
13422 Fix PR gdb/844
13423 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13424 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
13425
13426 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
13427 instead of calling gdb_suppress_entire_file.
13428 * gdb.threads/print-threads.exp: Likewise.
13429 * gdb.threads/schedlock.exp: Likewise.
13430
13431 * gdb.threads/killed.exp: Return instead of calling
13432 gdb_suppress_entire_file.
13433 * gdb.threads/linux-dp.exp: Likewise.
13434 * gdb.threads/pthreads.exp: Likewise.
13435
13436 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13437
13438 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13439 stabs.
13440 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13441 * gdb.base/whatis.exp: Always allow (void) after function names.
13442
13443 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13444
13445 * gdb.c++/casts.exp: Correct regexp.
13446
13447 2003-01-04 Mark Kettenis <kettenis@gnu.org>
13448
13449 * configure.in: Call AC_CONFIG_HEADER. Don't call
13450 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
13451 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
13452 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
13453 aforementioned directories in the AC_OUPUT call.
13454 * config.hin: New file.
13455 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
13456 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
13457 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
13458 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
13459 pass -I$objdir instead of -I$objdir/$subdir in compilation.
13460 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
13461 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
13462 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
13463 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
13464 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
13465 gdb.threads/configure.in, gdb.threads/configure,
13466 gdb.threads/config.in, gdb.trace/configure.in,
13467 gdb.trace/configure: Removed.
13468
13469 2003-01-03 Michael Chastain <mec@shout.net>
13470
13471 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13472 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13473
13474 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
13475
13476 * gdb.base/store.exp: Fix regular expressions.
13477
13478 2002-12-28 Mark Kettenis <kettenis@gnu.org>
13479
13480 * configure.in: Rewrite.
13481 * configure: Regenerated.
13482
13483 2003-01-03 David Carlton <carlton@math.stanford.edu>
13484
13485 * gdb.base/psymtab.exp: New file.
13486 * gdb.base/psymtab1.c: Ditto.
13487 * gdb.base/psymtab2.c: Ditto.
13488
13489 2002-12-23 Adam Fedor <fedor@gnu.org>
13490
13491 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13492
13493 2002-12-23 David Carlton <carlton@math.stanford.edu>
13494
13495 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13496 and current_directory initialization.
13497
13498 2002-12-22 Jim Blandy <jimb@redhat.com>
13499
13500 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13501 rather than as part of the output file name.
13502
13503 * gdb.base/attach.exp: There's no need to copy the test program to
13504 /tmp; that was only ever necessary on HP/UX, and this test is
13505 entirely disabled there anyway.
13506
13507 2002-12-21 Jim Blandy <jimb@redhat.com>
13508
13509 * gdb.c++/psmang.exp: Doc fix.
13510
13511 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13512 test.
13513
13514 2002-12-20 David Carlton <carlton@math.stanford.edu>
13515
13516 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13517
13518 2002-12-18 Michael Chastain <mec@shout.net>
13519
13520 * gdb.c++/annota2.exp: Add copyright year 2002.
13521
13522 2002-12-17 David Carlton <carlton@math.stanford.edu>
13523
13524 * gdb.c++/try_catch.cc: Add marker comments.
13525 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
13526 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
13527 * gdb.c++/m-static.cc: Ditto.
13528 * gdb.c++/m-static1.cc: Ditto.
13529 * gdb.c++/try_catch.cc: Ditto.
13530
13531 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
13532
13533 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
13534 to see whether we are using the new -environment-directory
13535 command which resets via -r or the old version of the command
13536 which may prompt the user. Part of fix for gdb/741.
13537
13538 2002-12-13 Andrew Cagney <ac131313@redhat.com>
13539
13540 * gdb.fortran/types.exp: Update obsolete comment.
13541 * gdb.fortran/exprs.exp: Ditto.
13542 * lib/gdb.exp: Delete obsolete code.
13543 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
13544 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
13545 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
13546 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
13547 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
13548 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
13549 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
13550 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
13551 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
13552 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
13553 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
13554 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
13555 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
13556 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
13557 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
13558 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
13559 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
13560 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
13561 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
13562 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
13563 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
13564 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
13565 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
13566 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
13567 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
13568 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
13569 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
13570 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
13571 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
13572 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
13573 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
13574 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
13575 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
13576 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
13577 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
13578 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
13579 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
13580
13581 2002-12-11 David Carlton <carlton@math.stanford.edu>
13582
13583 * gdb.c++/m-data.exp: Add test for members that shadow global
13584 variables: see PR gdb/804.
13585 * gdb.c++/m-data.cc: Ditto.
13586
13587 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
13588
13589 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
13590
13591 2002-12-06 David Carlton <carlton@math.stanford.edu>
13592
13593 * gdb.base/store.c: Don't declare functions static.
13594
13595 2002-12-04 Andrew Cagney <ac131313@redhat.com>
13596
13597 * gdb.base/store.exp, gdb.base/store.c: New files.
13598
13599 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13600
13601 * gdb.base/selftest.exp: Update for current gdb.
13602
13603 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13604
13605 * gdb.base/maint.exp: Only dump symbols from one source file
13606 or objfile.
13607
13608 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13609
13610 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13611 function call.
13612
13613 2002-11-25 Jim Blandy <jimb@redhat.com>
13614
13615 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
13616 function appearing in error message.
13617
13618 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
13619
13620 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
13621
13622 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
13623
13624 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
13625 for mi1 and current mi is in correct format. New mi startup message
13626 should be in mi console format. This is part of fix for PR gdb/604.
13627
13628 2002-09-18 Fernando Nasser <fnasser@redhat.com>
13629
13630 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
13631 which explicitly prints the zero offset as "+0".
13632
13633 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
13634
13635 * gdb.threads/schedlock.c (args): Make unsigned.
13636
13637 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
13638
13639 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
13640 numbers. Allow "foo2|selected stack frame".
13641 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
13642 * gdb.asm/asmsrc2.s: Likewise.
13643 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
13644 comments.
13645 * gdb.asm/mips.inc: New file.
13646
13647 2002-10-18 Adam Fedor <fedor@gnu.org>
13648
13649 * gdb.base/default.exp: Update expected output to include 'ObjC'.
13650 * gdb.base/help.exp: Likewise.
13651
13652 2002-10-17 Kevin Buettner <kevinb@redhat.com>
13653
13654 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
13655 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
13656
13657 2002-10-02 Jim Blandy <jimb@redhat.com>
13658
13659 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
13660
13661 2002-10-01 Andrew Cagney <ac131313@redhat.com>
13662
13663 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
13664 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
13665 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
13666 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
13667 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
13668 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
13669 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
13670
13671 2002-09-29 Andrew Cagney <ac131313@redhat.com>
13672
13673 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
13674 * mi0-disassemble.exp, mi0-eval.exp: Delete.
13675 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
13676 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
13677 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
13678 * mi0-var-block.exp, mi0-var-child.exp: Delete.
13679 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
13680
13681 2002-09-27 Kevin Buettner <kevinb@redhat.com>
13682
13683 * gdb.base/annota1.exp (info break): Make directory components of
13684 path optional since not all compilers emit this debug information.
13685
13686 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
13687 step ends up stepping out of the function instead of stopping on
13688 the epilogue.
13689
13690 2002-09-26 Keith Seitz <keiths@redhat.com>
13691
13692 * lib/insight-support.exp (gdbtk_start): Figure out where
13693 the insight executable is based on where gdb is. Use this
13694 executable to start insight instead of gdb.
13695
13696 2002-09-25 Andrew Cagney <cagney@redhat.com>
13697
13698 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
13699
13700 2002-09-24 Andrew Cagney <ac131313@redhat.com>
13701
13702 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
13703 test_isolated_complaints.
13704 (test_empty_complaint): New function.
13705 (test_empty_complaints): New function. Check no output when no
13706 complaints.
13707
13708 2002-09-19 Jim Blandy <jimb@redhat.com>
13709
13710 * gdb.base/charset.exp, gdb.base/charset.c: New files.
13711
13712 2002-09-19 Andrew Cagney <ac131313@redhat.com>
13713
13714 * gdb.gdb/complaints.exp: New file.
13715
13716 2002-09-18 Andrew Cagney <ac131313@redhat.com>
13717
13718 * gdb.base/maint.exp: Check `help maint internal-warning'.
13719
13720 2002-09-18 David Carlton <carlton@math.stanford.edu>
13721
13722 * gdb.c++/m-static.exp: Remove breakpoints depending on line
13723 numbers, and replace them by a single breakpoint after the
13724 constructors are all finished.
13725 Add test 4.
13726 * gdb.c++/m-static.cc: Add test 4.
13727 * gdb.c++/m-static.h: New file.
13728 * gdb.c++/m-static1.cc: New file.
13729
13730 * gdb.c++/printmethod.exp: New file.
13731 * gdb.c++/printmethod.cc: New file.
13732
13733 * gdb.c++/pr-574.exp: New file.
13734 * gdb.c++/pr-574.cc: New file.
13735
13736 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
13737
13738 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
13739 embedded targets which never actually exit.
13740
13741 2002-09-18 Fernando Nasser <fnasser@redhat.com>
13742
13743 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
13744 "don't step after run" as unresolved or unsupported, instead of xfail.
13745
13746 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
13747
13748 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
13749 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
13750 Add newline to expected string in "step out of main (status wrapper)"
13751 case.
13752
13753 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
13754
13755 * lib/gdb.exp (rerun_to_main): Allow restarting application.
13756 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
13757
13758 2002-09-17 Tom Tromey <tromey@redhat.com>
13759
13760 * gdb.base/printcmds.exp (test_print_string_constants): Expect
13761 \000, not \0, in double-quoted string.
13762
13763 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
13764
13765 * gdb.base/commands.exp: Don't expect a "Program exited normally"
13766 string after running the commands execution on breakpoint tests.
13767
13768 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
13769
13770 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
13771
13772 2002-09-12 Joel Brobecker <brobecker@gnat.com>
13773
13774 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
13775
13776 2002-09-10 Keith Seitz <keiths@redhat.com>
13777
13778 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
13779 runto proc.
13780 (mi_run_to_main): Use mi_runto.
13781 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
13782
13783 2002-09-10 Keith Seitz <keiths@redhat.com>
13784
13785 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
13786 regexp for stopping at main. Could have multiple event notifications.
13787 Don't assume that main was declared with no parameters.
13788 (mi_next): Use mi_step_to.
13789 (mi_step): Use mi_next_to.
13790
13791 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
13792
13793 * gdb.base/default.exp: Fix expected string in `info float' test.
13794
13795 2002-09-09 Ben Elliston <bje@redhat.com>
13796
13797 * config/mips.exp: Update comments.
13798 * config/mips-idt.exp: Likewise.
13799 * config/nind.exp: Likewise.
13800 * config/slite.exp: Likewise.
13801 * config/sparclet.exp: Likewise.
13802 * config/udi.exp: Likewise.
13803 * config/vx.exp: Likewise.
13804 * config/vxworks29k.exp: Likewise.
13805
13806 2002-09-05 Jim Blandy <jimb@redhat.com>
13807
13808 * gdb.threads/killed.exp: Fix test failure message.
13809
13810 2002-09-04 Keith Seitz <keiths@redhat.com>
13811
13812 * lib/mi-support.exp: Update copyright.
13813 (mi_gdb_test): Increase the priority of the expected pattern
13814 so that it matches gdb_test.
13815
13816 2002-09-03 Keith Seitz <keiths@redhat.com>
13817
13818 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
13819 Use integer comparison instead of string comparison for testing
13820 whether binary was built.
13821
13822 2002-09-03 Jim Blandy <jimb@redhat.com>
13823
13824 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
13825
13826 2002-08-29 Jim Blandy <jimb@redhat.com>
13827
13828 * gdb.threads/pthreads.exp: Move the portable thread compilation
13829 code into a function in lib/gdb.exp, and call that from here.
13830 * lib/gdb.exp (gdb_compile_pthreads): New function.
13831
13832 2002-08-29 Keith Seitz <keiths@redhat.com>
13833
13834 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
13835 expect_out so that callers can get at it.
13836
13837 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
13838
13839 * gdb.threads/print-threads.c: New file.
13840 * gdb.threads/print-threads.exp: New file.
13841 * gdb.threads/schedlock.c: New file.
13842 * gdb.threads/schedlock.exp: New file.
13843
13844 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
13845
13846 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
13847 not altivec.c.
13848
13849 2002-08-17 Mark Kettenis <kettenis@gnu.org>
13850
13851 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
13852 targets. The problem should be fixed now.
13853
13854 2002-08-15 Mark Kettenis <kettenis@gnu.org>
13855
13856 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
13857 2002-07-24 change that removes final dots from error messages.
13858
13859 2002-08-13 Tom Tromey <tromey@redhat.com>
13860
13861 * gdb.base/readline.exp: New file.
13862
13863 2002-08-01 Andrew Cagney <ac131313@redhat.com>
13864
13865 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
13866 supress message.
13867
13868 2002-08-01 Andrew Cagney <cagney@redhat.com>
13869
13870 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
13871 CHILL_FOR_TARGET and CHILL_LIB.
13872 * configure.in (configdirs): Remove gdb.chill.
13873 * configure: Regenerate.
13874 * lib/gdb.exp: Obsolete references to chill.
13875 * gdb.fortran/types.exp: Ditto.
13876 * gdb.fortran/exprs.exp: Ditto.
13877
13878 2002-07-30 Kevin Buettner <kevinb@redhat.com>
13879
13880 * gdb.base/shlib-call.exp (additional_flags): Conditionally
13881 set Irix-specific compile and link flags.
13882
13883 2002-07-29 Kevin Buettner <kevinb@redhat.com>
13884
13885 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
13886 source files. The ``-o'' option doesn't work with the ``-E'' option
13887 when using the Irix compiler.
13888
13889 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
13890
13891 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
13892 Improve support for reusing an exec file. Copy exec file
13893 to target, and run gdbserver on the target instead of on the host.
13894
13895 2002-07-18 Jim Blandy <jimb@redhat.com>
13896
13897 * gdb.base/ending-run.exp: Don't expect to see the program end in
13898 some orderly fashion when we're running on a real stand-alone
13899 board.
13900
13901 * gdb.base/interrupt.exp: Correct logic for skipping tests on
13902 targets that don't support interrupts.
13903
13904 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
13905
13906 * gdb.base/attach.exp: Add patterns to match output from /proc-based
13907 systems.
13908 Move comments in expect statements to inside the actions, so that they
13909 don't get matched against.
13910
13911 2002-07-10 Mark Kettenis <kettenis@gnu.org>
13912
13913 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
13914 function when asleep" test.
13915
13916 2002-07-10 Andrew Cagney <ac131313@redhat.com>
13917
13918 * gdb.base/page.exp: Rewrite to handle problems with very long
13919 `info set' output. Update copyright.
13920
13921 2002-06-26 Andrew Cagney <ac131313@redhat.com>
13922
13923 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
13924 gdb.threads-hp.
13925 * gdb.hp/configure: Regenerate.
13926 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
13927 * gdb.hp/gdb.threads-hp/configure: Delete file.
13928 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
13929
13930 2002-06-22 Andrew Cagney <ac131313@redhat.com>
13931
13932 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
13933 setlocale, bindtextdomain and textdomain.
13934
13935 2002-06-11 Jim Blandy <jimb@redhat.com>
13936
13937 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
13938 preprocessor macro information is present.
13939
13940 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
13941 tests.
13942
13943 2002-06-06 Michael Snyder <msnyder@redhat.com>
13944
13945 * gdb.base/overlays.exp: Record addresses of overlay
13946 functions in TCL variables rather than in GDB variables,
13947 to avoid having GDB convert them to pointers (with loss
13948 of information).
13949
13950 * gdb.base/d10v.ld: Merge in several years worth of
13951 default linker script changes.
13952 * gdb.base/long_long.exp: Add check for sizeof (long double).
13953
13954 2002-06-06 Michal Ludvig <mludvig@suse.cz>
13955
13956 * gdb.asm/asm-source.exp: Add x86-64 target.
13957 * gdb.asm/x86_64.inc: New.
13958
13959 2002-05-30 Michael Chastain <mec@shout.net>
13960
13961 From Benjamin Kosnik <bkoz@redhat.com>:
13962 * gdb.c++/m-static.cc: New file.
13963 * gdb.c++/m-static.exp: New file.
13964
13965 2002-05-28 Michael Snyder <msnyder@redhat.com>
13966
13967 * gdb.base/call-ar-st.exp: Allow for reduced floating point
13968 precision.
13969
13970 2002-05-27 Michael Chastain <mec@shout.net>
13971
13972 From Benjamin Kosnik <bkoz@redhat.com>:
13973 * gdb.c++/m-data.cc: New file.
13974 * gdb.c++/m-data.exp: New file.
13975
13976 2002-05-27 Michael Chastain <mec@shout.net>
13977
13978 From Benjamin Kosnik <bkoz@redhat.com>:
13979 * gdb.c++/try_catch.cc: New file.
13980 * gdb.c++/try_catch.exp: New file.
13981
13982 2002-05-27 Michael Chastain <mec@shout.net>
13983
13984 * gdb.c++/local.exp: Accept more nested types in output.
13985
13986 2002-05-26 Michael Chastain <mec@shout.net>
13987
13988 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
13989
13990 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
13991
13992 * lib/gdb.exp (gdb_wrapper_init): Just because
13993 gdb_wrapper_file exists, this does not mean that the file
13994 should not be rebuilt. That is what gdb_wrapper_initialized
13995 is for.
13996 (default_gdb_init): Reset gdb_wrapper_initialized.
13997
13998 2002-05-23 Michael Snyder <msnyder@redhat.com>
13999
14000 * gdb.base/all-bin.exp: Revise previous patch by just reducing
14001 the precision of the floating point test results.
14002 * gdb.base/call-rt-st.exp: Ditto.
14003
14004 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14005 * gdb.base/call-rt-st.exp: Ditto.
14006
14007 2002-05-19 Michael Chastain <mec@shout.net>
14008
14009 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14010
14011 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14012
14013 * configure.in (configdirs): Add gdb.arch.
14014 * configure: Regenerate.
14015
14016 2002-05-17 Jim Blandy <jimb@redhat.com>
14017
14018 * gdb.base/completion.exp: Recognize the more detailed error
14019 messages produced by the macro expander's lexical analyzer.
14020
14021 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14022
14023 * gdb.arch/altivec-abi.c: New file.
14024 * gdb.arch/altivec-abi.exp: New file.
14025 * gdb.arch/altivec-regs.c: New file.
14026 * gdb.arch/altivec-regs.exp: New file.
14027
14028 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14029
14030 * gdb.base/maint.exp (maint print type): Update for new type
14031 structure.
14032
14033 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
14034
14035 * gdb.arch: New directory.
14036 * gdb.arch/configure.in: New file.
14037 * gdb.arch/configure: New file.
14038 * gdb.arch/Makefile.in: New file.
14039
14040 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14041
14042 * gdb.asm/asm-source.exp: Add v850 as supported target.
14043 * gdb.asm/v850.inc: New file.
14044
14045 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14046
14047 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14048
14049 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14050
14051 * gdb.base/break.exp: Check 'break "marker2"'.
14052
14053 2002-05-10 Michael Snyder <msnyder@redhat.com>
14054
14055 * gdb.base/long_long.exp: Fix typo.
14056
14057 2002-05-10 Jim Blandy <jimb@redhat.com>
14058
14059 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
14060 a bug.
14061
14062 * gdb.base/printcmds.exp (test_integer_literals_rejected):
14063 Recognize more detailed error message produced by the macro
14064 expander's lexical analyzer.
14065 * lib/gdb.exp (test_print_reject): Same.
14066
14067 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14068
14069 * gdb.c++/method.exp: Fix typo.
14070
14071 2002-05-08 Michael Snyder <msnyder@redhat.com>
14072
14073 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
14074 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
14075 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
14076 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
14077 Add iftarget clause for strongarm.
14078
14079 2002-05-06 Michael Snyder <msnyder@redhat.com>
14080
14081 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
14082 (gdb_continue_to_end): Accept output from status wrapper.
14083 * gdb.base/ending-run.exp: Add case for output from status wrapper.
14084 Clean up fail messages to match pass messages.
14085
14086 Enable the "needs_status_wrapper" testsuite feature.
14087 * lib/gdb.exp (gdb_wrapper_init): New procedure.
14088 (gdb_compile): Conditionally call gdb_wrapper_init.
14089 * gdb.base/a2-run.exp: Recognize output from status wrapper.
14090 * gdb.c++/method.exp: Recognize output from status wrapper.
14091
14092 2002-05-06 Ben Elliston <bje@redhat.com>
14093 From Graydon Hoare <graydon@redhat.com>
14094
14095 * config/sid.exp: Include support for "rawsid" protocol.
14096
14097 2002-05-03 Jim Blandy <jimb@redhat.com>
14098
14099 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14100 * gdb.c++/hang3.C: New file.
14101
14102 2002-05-04 Andrew Cagney <ac131313@redhat.com>
14103
14104 * gdb.base/default.exp: Remove obsolete code.
14105 * gdb.c++/misc.exp: Ditto. Update copyright.
14106 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
14107 * gdb.base/whatis.exp: Ditto. Update copyright.
14108 * gdb.base/scope.exp: Ditto. Update copyright.
14109 * gdb.base/ptype.exp: Ditto. Update copyright.
14110 * gdb.base/printcmds.exp: Ditto. Update copyright.
14111 * gdb.base/opaque.exp: Ditto. Update copyright.
14112 * gdb.base/list.exp: Ditto.
14113 * gdb.base/funcargs.exp: Ditto. Update copyright.
14114 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
14115 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
14116 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
14117 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
14118 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
14119 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
14120
14121 2002-05-02 Michael Snyder <msnyder@redhat.com>
14122
14123 * gdb.base/watchpoint.exp: Add xscale target.
14124 * gdb.base/long_long.exp: Add xscale target.
14125 * gdb.base/default.exp: Add xscale target.
14126
14127 2002-05-01 Jim Blandy <jimb@redhat.com>
14128
14129 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14130 gdb.c++/hang.exp: New test.
14131
14132 2002-05-01 Fred Fish <fnf@redhat.com>
14133
14134 * gdb.base/completion.exp: Handle completions of "./Make" for
14135 more than one completion possibility, as is the case when we
14136 build and test in the source tree.
14137
14138 2002-04-29 Anthony Green <green@redhat.com>
14139
14140 * gdb.java/jmisc1.exp: New file.
14141 * gdb.java/jmisc2.exp: New file.
14142
14143 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14144
14145 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14146
14147 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14148
14149 * gdb.base/help.exp: Change 'help status' to allow for target
14150 dependent output differences.
14151
14152 2002-04-22 Michael Chastain <mec@shout.net>
14153
14154 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14155
14156 2002-04-22 Michael Chastain <mec@shout.net>
14157
14158 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14159
14160 2002-04-17 David S. Miller <davem@redhat.com>
14161
14162 * gdb.asm/sparc64.inc: New file.
14163 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14164
14165 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
14166
14167 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
14168 instruction file directly into the build tree. Clean up at end of
14169 test.
14170
14171 2002-04-18 David S. Miller <davem@redhat.com>
14172
14173 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14174 handle 64-bit platforms correctly.
14175 * gdb.base/maint.exp: Likewise.
14176
14177 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14178
14179 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
14180 ``-fpic'' when compiling files comprising a shared library, but
14181 it does need additional linker flags in order to find shared
14182 libraries at run time.
14183
14184 2002-04-18 Kevin Buettner <kevinb@redhat.com>
14185
14186 * gdb.base/cvexpr.c (use): New function.
14187 (main): Invoke use() on all global variables to prevent
14188 some linkers from deleting these otherwise unused symbols.
14189
14190 2002-04-17 Michael Chastain <mec@shout.net>
14191 From David S. Miller <davem@redhat.com>
14192
14193 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14194 handle 64-bit platforms correctly.
14195
14196 2002-04-12 Michael Snyder <msnyder@redhat.com>
14197 From Jim Blandy <jimb@redhat.com>
14198 * gdb.base/foo.c (foox): Remove section attribute; the linker
14199 script can handle this instead.
14200 * gdb.base/bar.c (barx): Same.
14201 * gdb.base/baz.c (bazx): Same.
14202 * gdb.base/grbx.c (grbxx): Same.
14203
14204 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14205 manager doesn't automatically unmap overlays unnecessarily.
14206
14207 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14208
14209 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14210 stepping out of main.
14211
14212 2002-04-09 Michael Chastain <mec@shout.net>
14213
14214 * gdb.c++/local.cc (main): Move call to marker1() inside nested
14215 scope so that the nested scope tests will make sense.
14216 * gdb.c++/local.exp: Write patterns that actually work with gcc
14217 (the HP patterns "were never known to work with gcc").
14218 Keep the old aCC patterns too.
14219
14220 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14221
14222 * gdb.base/attach.exp: Correct target board test.
14223
14224 2002-04-08 Michael Chastain <mec@shout.net>
14225
14226 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
14227 in a const method. Add some xfail and fail cases for configurations
14228 that do not emit the "const ...".
14229
14230 2002-04-07 Michael Chastain <mec@shout.net>
14231
14232 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
14233 Accept "A * const" and "const A * const" as type of "this".
14234 Fix spelling of getFunky throughout. Make messages uniform.
14235
14236 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14237
14238 Work around for PR gdb/285:
14239 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14240
14241 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14242
14243 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
14244 instructions file at run time instead of configure time.
14245 Sometimes we run the test in a directory that is not the one we
14246 configured in.
14247 * gdb.asm/configure.in: Delete creation of symlink.
14248 * gdb.asm/configure: Regenerate.
14249
14250 2002-04-05 J. Brobecker <brobecker@gnat.com>
14251
14252 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14253 xfullpath () function.
14254
14255 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14256
14257 * gdb.asm/Makefile.in: Correct dependencies.
14258
14259 * gdb.asm/powerpc.inc: New file.
14260 * gdb.asm/asm-source.exp: Add PowerPC.
14261 * gdb.asm/configure.in: Likewise.
14262 * gdb.asm/configure: Regenerated.
14263
14264 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14265
14266 * gdb.base/relocate.exp: New file.
14267 * gdb.base/relocate.c: New file.
14268
14269 2002-04-04 Fred Fish <fnf@redhat.com>
14270
14271 * gdb.base/step-test.exp: Update comment regarding stopping in
14272 memcpy/bcopy calls inserted as part of the compiler runtime.
14273
14274 2002-04-04 Michael Snyder <msnyder@redhat.com>
14275
14276 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14277
14278 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14279
14280 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14281 (gdb_expect): Remove $notransfer hack.
14282
14283 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14284
14285 * gdb.c++/classes.exp ("calling method for small class"): Match
14286 updated register output.
14287
14288 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14289
14290 Fix PR gdb/452
14291 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14292 when finished. Make gdb_file_cmd send "exec-file" when
14293 appropriate.
14294
14295 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14296
14297 * gdb.base/attach.exp: Remove extra setup_xfail.
14298
14299 2002-03-26 Michael Snyder <msnyder@redhat.com>
14300
14301 * gdb.base/default.exp: Add tests for dump, append, and restore.
14302 * gdb.base/help.exp: Add tests for dump, append, and restore.
14303 * gdb.base/dump.exp: New file, test dump, append and restore.
14304 * gdb.base/dump.c: New file.
14305
14306 2002-03-27 Michael Snyder <msnyder@redhat.com>
14307
14308 * gdb.base/help.exp: Modify expect strings to reflect
14309 clean-ups in help messages.
14310
14311 2002-03-26 Fred Fish <fnf@redhat.com>
14312
14313 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
14314 have debugging info for those functions and the compiler uses them
14315 internally to copy structs around.
14316
14317 2002-03-26 Fred Fish <fnf@redhat.com>
14318
14319 * gdb.base/list.exp: Revert the change made yesterday and add note
14320 about why we don't list the default lines for remote targets.
14321
14322 2002-03-25 Michael Snyder <msnyder@redhat.com>
14323
14324 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14325
14326 2002-03-25 Fred Fish <fnf@redhat.com>
14327
14328 * gdb.base/list.exp: This test works on remote targets so remove
14329 the short circuit for remote targets. Update copyright.
14330
14331 2002-03-25 Fred Fish <fnf@redhat.com>
14332
14333 * gdb.base/attach.exp: Fix logic error that was suppressing this
14334 test for all non hppa*-*-hpux* targets, instead of the hp target.
14335 Move comments closer to the suppression point. Also now need to
14336 check that we are running natively.
14337
14338 2002-03-22 Michael Snyder <msnyder@redhat.com>
14339
14340 * gdb.base/default.exp: Add test for gcore. Update copyright.
14341 * gdb.base/help.exp: Add test for gcore. Update copyright.
14342
14343 2002-03-06 Fred Fish <fnf@redhat.com>
14344
14345 * gdb.base/funcargs.c: Remove extraneous ';' character.
14346 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14347
14348 2002-03-04 Michael Chastain <mec@shout.net>
14349
14350 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
14351 accommodate gcc v3 function signature.
14352 * gdb.mi/mi0-var-cmd-exp: Ditto.
14353
14354 2002-02-24 Andrew Cagney <ac131313@redhat.com>
14355
14356 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14357 ``GNU/Linux'' or ``Linux kernel''
14358 * testsuite/gdb.threads/pthreads.c: Ditto.
14359
14360 2002-02-24 Michael Chastain <mec@shout.net>
14361
14362 * gdb.threads/pthreads.c (thread1): Add a return statement.
14363 (thread2): Likewise.
14364 (foo): Likewise.
14365
14366 2002-02-23 Michael Chastain <mec@shout.net>
14367
14368 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14369 to placate gcc.
14370
14371 2002-02-23 Michael Chastain <mec@shout.net>
14372
14373 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14374 test "ptype bint". The test passes on all my stabs configurations.
14375
14376 2002-02-21 Jim Blandy <jimb@redhat.com>
14377
14378 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
14379 filename at a time, and watch for the ones we want to see.
14380
14381 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14382 types of pointers to prototyped functions.
14383
14384 2002-02-20 Andrew Cagney <ac131313@redhat.com>
14385
14386 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
14387 signed, unsigned and straight char.
14388 (padding_char, padding_short, padding_int, padding_long,
14389 padding_long_long, padding_float, padding_double,
14390 padding_long_double): New global variables.
14391 (fill, fill_structs): New functions.
14392
14393 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
14394 for correctly sized writes. Update copyright.
14395 (get_valueof): New procedure.
14396 (get_sizeof): Call get_valueof.
14397 (check_valueof): New procedure.
14398 (check_padding): New procedure.
14399
14400 2002-02-20 Michael Chastain <mec@shout.net>
14401
14402 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14403 to setup_xfail. Document some of the remaining calls.
14404
14405 2002-02-18 Michael Chastain <mec@shout.net>
14406
14407 * gdb.c++/userdef.exp: Update copyright year.
14408
14409 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
14410
14411 * gdb.c++/userdef.exp: Test overloaded operators properly.
14412 Remove xfails.
14413
14414 2002-02-14 Michael Snyder <msnyder@redhat.com>
14415
14416 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14417
14418 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
14419
14420 * gdb.base/a2-run.exp: Check for a remote target properly.
14421 * gdb.base/annota1.exp: Likewise.
14422 * gdb.base/list.exp: Likewise.
14423 * gdb.base/reread.exp: Likewise.
14424 * gdb.base/scope.exp: Likewise.
14425 * gdb.base/shlib-call.exp: Likewise.
14426 * gdb.base/term.exp: Likewise.
14427 * gdb.c++/annota2.exp: Likewise.
14428
14429 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
14430
14431 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14432
14433 2002-02-10 Michael Chastain <mec@shout.net>
14434
14435 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14436 (call_after_alloca): Ditto.
14437
14438 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
14439
14440 * gdb.base/ending-run.exp: Guard "cont" test with
14441 gdb_skip_stdio_test.
14442
14443 2002-02-06 Jim Blandy <jimb@redhat.com>
14444
14445 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
14446 from here...
14447 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
14448 To here. Disable this test on non-HP platforms. Add big comment.
14449
14450 2002-02-04 Michael Snyder <msnyder@redhat.com>
14451
14452 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14453 other than d10v and m32r.
14454
14455 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
14456
14457 * gdb.base/default.exp: Rewrite test patterns to reduce time
14458 taken to match them.
14459
14460 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14461
14462 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
14463 Allow a start function above main.
14464 * gdb.threads/linux-dp.exp: Fix copyright date.
14465
14466 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14467
14468 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
14469 (check_philosopher_stack): Check for manager thread before checking
14470 for a just-starting thread.
14471
14472 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14473
14474 From Neil Booth <neil@daikokuya.demon.co.uk>:
14475 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14476 warnings.
14477
14478 2002-01-21 Fred Fish <fnf@redhat.com>
14479
14480 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14481 not caller.
14482
14483 2002-01-21 Jim Blandy <jimb@redhat.com>
14484
14485 * gdb.base/reread.exp: Check that GDB properly re-reads the
14486 executable file when it changes while no inferior is running.
14487
14488 2002-01-21 Fred Fish <fnf@redhat.com>
14489
14490 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14491 optionally accept the "shlib events" variation.
14492
14493 2002-01-21 Jim Blandy <jimb@redhat.com>
14494
14495 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
14496 call `fflush' after every `printf', so that the output is produced
14497 at predictable points, regardless of whatever buffering does (or
14498 doesn't) take place.
14499 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
14500 at different points.
14501
14502 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14503
14504 * gdb.c++/inherit.exp: Update copyright years.
14505 * gdb.c++/method.exp: Likewise.
14506
14507 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14508
14509 * gdb.c++/classes.exp: Update for improved v3 support and skipping
14510 artificial methods/arguments.
14511 * gdb.c++/derivation.exp: Likewise.
14512 * gdb.c++/inherit.exp: Likewise.
14513 * gdb.c++/method.exp: Likewise.
14514 * gdb.c++/virtfunc.exp: Likewise.
14515
14516 2002-01-18 Andrew Cagney <ac131313@redhat.com>
14517
14518 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
14519 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14520 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
14521 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
14522 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
14523 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
14524
14525 2002-01-17 Jim Blandy <jimb@redhat.com>
14526
14527 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14528 anchoring the pattern matching the entry point symbol's name.
14529
14530 2002-01-17 Andrew Cagney <ac131313@redhat.com>
14531
14532 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14533 continue/quit query. Update copyright.
14534
14535 2002-01-14 Michael Snyder <msnyder@redhat.com>
14536
14537 * gdb.base/gcore.exp: Remove extra debugging output.
14538
14539 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14540
14541 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14542 for slightly dubious v2 mangled string.
14543
14544 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14545
14546 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14547
14548 2002-01-10 Jason Merrill <jason@redhat.com>
14549
14550 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
14551
14552 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
14553 constructors.
14554 * gdb.c++/derivation.exp: Likewise.
14555 * gdb.c++/templates.exp: Likewise.
14556 * gdb.c++/virtfunc.exp: Likewise.
14557
14558 2002-01-10 Michael Snyder <msnyder@redhat.com>
14559
14560 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
14561
14562 2002-01-08 Michael Snyder <msnyder@redhat.com>
14563
14564 * gdb.base/gcore.exp: New test for generate-core-file command.
14565 * gdb.base/gcore.c: Testcase for above.
14566 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
14567
14568 2002-01-08 Jason Merrill <jason@redhat.com>
14569
14570 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
14571
14572 2002-01-07 Fred Fish <fnf@redhat.com>
14573
14574 * gdb.c++/overload.exp: Remove unconditional xfails for:
14575 print foo_instance1.overloadargs(1)
14576 print foo_instance1.overloadargs(1, 2)
14577 print foo_instance1.overloadargs(1, 2, 3)
14578 print foo_instance1.overloadargs(1, 2, 3, 4)
14579 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
14580 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
14581 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
14582 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
14583 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
14584 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
14585 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
14586 print foo_instance1.overload1arg()
14587 print foo_instance1.overload1arg((char)arg2)
14588 print foo_instance1.overload1arg((signed char)arg3)
14589 print foo_instance1.overload1arg((unsigned char)arg4)
14590 print foo_instance1.overload1arg((int)arg7)
14591 print foo_instance1.overload1arg((unsigned int)arg8)
14592 print foo_instance1.overload1arg((float)arg11)
14593 print foo_instance1.overload1arg((double)arg12)
14594
14595 2002-01-07 Michael Snyder <msnyder@redhat.com>
14596
14597 * gdb.base/huge.exp: New test. Print a very large target data object.
14598 (skip_huge_test): New test variable. Define if you want to skip this
14599 test. The test reads an 8 megabyte data object from the target, so it
14600 might be very time consuming on remote targets with a slow connection.
14601 * gdb.base/huge.c: New file. Test case for above.
14602
14603 2002-01-07 Fred Fish <fnf@redhat.com>
14604
14605 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
14606 g_instance.bfoo, and g_instance.cfoo.
14607
14608 2002-01-07 Jeffrey A Law <law@redhat.com>
14609
14610 * gdb.base/break.c (multi_line_if_conditional): New function.
14611 (multi_ilne_while_conditional): Likewise.
14612 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
14613 IF or WHILE condition puts the breakpoint at the start of
14614 the condition.
14615
14616 * gdb.base/selftest.exp (backtrace through signal handler): Remove
14617 hppa*-*-hpux* expected failure.
14618 * gdb.base/structs.exp (do_function_calls): Similarly.
14619
14620 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
14621 watchpoints.
14622
14623 2002-01-06 Andrew Cagney <ac131313@redhat.com>
14624
14625 Fix PR gdb/66.
14626 * gdb.base/structs.exp: Replace skip for a29k with skip for
14627 gdb,cannot_call_functions.
14628 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
14629 * gdb.base/callfuncs.exp: Ditto.
14630 * gdb.base/call-rt-st.exp: Ditto.
14631 * gdb.base/call-strs.exp: Ditto.
14632 * gdb.base/callfwmall.exp: Ditto.
14633 * gdb.base/scope.exp: Obsolete xfail a29k.
14634 * gdb.c++/misc.exp: Ditto.
14635 * gdb.c++/cplusfuncs.exp: Ditto.
14636 * gdb.base/ptype.exp: Ditto.
14637 * gdb.base/printcmds.exp: Ditto.
14638 * gdb.base/opaque.exp: Ditto.
14639 * gdb.base/list.exp: Ditto.
14640 * gdb.base/funcargs.exp: Ditto.
14641 * gdb.base/default.exp: Ditto.
14642
14643 2002-01-04 Michael Snyder <msnyder@redhat.com>
14644
14645 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
14646 * gdb.base/maint.exp: Add tests for maint info sections options.
14647
14648 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
14649
14650 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
14651
14652 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
14653
14654 * gdb.asm/arm.inc: New file.
14655 * gdb.asm/asm-source.exp: Add arm targets.
14656 * gdb.asm/configure.in: Ditto.
14657 * gdb.asm/configure: Recreated from configure.in.
14658
14659 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
14660
14661 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
14662 with HP's compiler.
14663 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
14664 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
14665 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
14666 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
14667
14668 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
14669 either HP's compilers or GCC.
14670
14671 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
14672 a SIGBUS or SIGSEGV.
14673
14674 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
14675
14676 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
14677 can be compiled with either HP's compiler or GCC.
14678
14679 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
14680 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
14681 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
14682
14683 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
14684 to match current gdb output. Update due to using auto-solib-limit
14685 for limiting instead of overloading auto-solib-add.
14686 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
14687 test program.
14688
14689 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
14690 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
14691 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
14692 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
14693 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
14694 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
14695 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
14696 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
14697 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
14698 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
14699 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
14700 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
14701 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
14702
14703 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
14704 a SIGTRAP to the inferior.
14705
14706 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
14707
14708 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
14709 Substitute call to target_link by call to gdb_compile.
14710
14711 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
14712
14713 * gdb.base/break.exp: Fix HP specific search string when testing
14714 backtracing in a called function.
14715
14716 * gdb.base/constvars.exp: Only set lang to C++ if we're
14717 compiling the test with HP's compilers.
14718 * gdb.base/volatile.exp: Similarly.
14719
14720 2001-12-19 Jim Blandy <jimb@redhat.com>
14721
14722 * gdb.base/printcmds.exp: Expect the null character to be printed
14723 as '\0', and the '\013' to be printed as '\v'.
14724 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
14725 * gdb.base/setvar.exp: Same.
14726
14727 2001-12-17 Jim Blandy <jimb@redhat.com>
14728
14729 * gdb.base/completion.exp: Rather than completing very long
14730 filenames, which can make the readline library produce output we
14731 don't recognize, cd to the directory first, and then complete
14732 using nice, short relative paths.
14733
14734 * gdb.base/completion.exp: On some systems, there is, in fact, a
14735 variable named `b' in scope, since GDB treats all static
14736 variables as being in scope. So use `no_var_named_this'
14737 instead of `b'.
14738
14739 * gdb.base/corefile.exp: Recognize the message saying that GDB
14740 can't find the core file's registers as a failure.
14741
14742 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
14743
14744 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
14745 test expect string more specific.
14746
14747 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
14748
14749 * gdb.asm/asm-source.exp: Add support for xstormy16.
14750 * gdb.asm/configure.in: Ditto.
14751 * gdb.asm/configure: Rebuild.
14752 * gdb.asm/xstormy16.inc: New file.
14753
14754 2001-12-10 Fred Fish <fnf@redhat.com>
14755
14756 * gdb.base/maint.exp: Update to match changes in type dumping code.
14757
14758 2001-12-10 Jim Blandy <jimb@redhat.com>
14759
14760 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
14761 matching the entry point symbol's name at the beginning of the
14762 line.
14763
14764 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
14765
14766 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
14767 gdb.c++/inherit.exp, gdb.c++/method.exp,
14768 gdb.c++/namespace.exp, gdb.c++/templates.exp,
14769 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
14770 and class layout support.
14771
14772 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
14773
14774 * gdb.c++/classes.exp: Add test for static member function.
14775 * gdb.c++/misc.cc: Add class with static member function.
14776
14777 2001-12-07 Jim Blandy <jimb@redhat.com>
14778
14779 If GDB says it can't find the struct the function returned, report
14780 those tests as `unsupported'.
14781 * gdb.base/call-rt-st.exp (print_struct_call): New function.
14782 Rewrite subsequent tests to use it.
14783
14784 If GDB says it can't find the struct the function returned, report
14785 those tests as `unsupported'.
14786 * gdb.base/structs.exp (call_struct_func): New function.
14787 (do_function_calls): Use call_struct_func to call the functions
14788 returning structs.
14789
14790 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
14791 whether functions are prototyped or not, so we can't possibly pass
14792 arguments to t_float_values2 properly.
14793
14794 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
14795 value of `timeout' for targets other than the mips*tx39-*.
14796
14797 2001-12-06 Michael Snyder <msnyder@redhat.com>
14798
14799 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
14800 and detect whether the start symbol has a leading underscore.
14801
14802 2001-12-04 Jim Blandy <jimb@redhat.com>
14803
14804 * gdb.base/completion.exp: Clarify indentation.
14805
14806 2001-12-03 Jim Blandy <jimb@redhat.com>
14807
14808 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
14809 variables on the S/390, not `.word'.
14810
14811 2001-11-30 Jim Blandy <jimb@redhat.com>
14812
14813 Add assembly-source tests for s390-ibm-linux.
14814 * gdb.asm/s390.inc: New file.
14815 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
14816 the S/390 architecture.
14817 * gdb.asm/configure: Regenerated.
14818
14819 2001-11-30 Michael Snyder <msnyder@redhat.com>
14820
14821 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
14822 next, info source, info sources, info line, global and static
14823 variables, and static functions.
14824 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
14825 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
14826 * gdb.asm/asmsrc1.s: Add a static function and some variables.
14827 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
14828 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
14829 (gdbasm_leave): Restore frame pointer.
14830 (gdbasm_startup): Copy stack set-up from crt0.S.
14831
14832 2001-11-26 Fernando Nasser <fnasser@redhat.com>
14833
14834 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
14835 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
14836 to a local (non-static) variable. Copy tstruct.a to a static buffer
14837 and return a pointer to that buffer.
14838 * gdb.base/callfwmall.c (t_structs_a): Ditto.
14839
14840 2001-11-24 Mark Kettenis <kettenis@gnu.org>
14841
14842 * gdb.asm/configure.in: Fix recognition of ix86 target.
14843 * gdb.asm/configure: Regenerate.
14844
14845 2001-11-21 Michael Snyder <msnyder@redhat.com>
14846
14847 * gdb.asm/sparc.inc: New file.
14848 * gdb.asm/asm-source.exp: Recognize sparc target.
14849 * gdb.asm/configure.in: Recognize sparc target.
14850 * gdb.asm/configure: Regenerate.
14851
14852 2001-11-21 Michael Snyder <msnyder@redhat.com>
14853
14854 * gdb.asm/m32r.inc: New file.
14855 * gdb.asm/asm-source.exp: Recognize m32r target.
14856 * gdb.asm/configure.in: Recognize m32r target.
14857 * gdb.asm/configure: Regenerate.
14858
14859 2001-11-20 Michael Snyder <msnyder@redhat.com>
14860
14861 * gdb.asm/i386.inc: New file.
14862 * gdb.asm/asm-source.exp: Recognize ix86 target.
14863 * gdb.asm/configure.in: Recognize ix86 target.
14864 * gdb.asm/configure: Regenerate.
14865
14866 * gdb.c++/namespace.exp: Fix quotes in output messages.
14867
14868 2001-11-14 Michael Snyder <msnyder@redhat.com>
14869
14870 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
14871 qualifier in a type cast expression, to designate an address
14872 in the instruction space (Harvard architecture).
14873
14874 2001-11-13 Michael Snyder <msnyder@redhat.com>
14875
14876 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
14877 Tests for expressions using 'const' and 'volatile'.
14878
14879 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
14880
14881 * gdb.asm/asm-sources.exp: Allow defining linker flags.
14882
14883 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
14884
14885 * lib/mi-support.exp (mi_run_to_helper): Move comments
14886 outside of gdb_expect.
14887
14888 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
14889
14890 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
14891 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
14892 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
14893 mi0_run_to): New functions.
14894 * gdb.mi/mi-simplerun.exp: Use them.
14895 * gdb.mi/mi0-simplerun.exp: Likewise.
14896 * gdb.mi/mi-var-cmd.exp: Likewise.
14897 * gdb.mi/mi0-var-cmd.exp: Likewise.
14898
14899 2001-11-10 Andrew Cagney <ac131313@redhat.com>
14900
14901 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
14902 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
14903
14904 2001-11-09 Andrew Cagney <ac131313@redhat.com>
14905
14906 * gdb.base/restore.exp: Include $expected value in restored test
14907 message.
14908
14909 2001-11-09 Andrew Cagney <ac131313@redhat.com>
14910
14911 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
14912 implemented.
14913
14914 2001-11-08 Michael Snyder <msnyder@redhat.com>
14915
14916 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
14917 Add pass/fail message for stop at breakpoint in call dummy function.
14918
14919 2001-11-07 Michael Snyder <msnyder@redhat.com>
14920
14921 * gdb.c++/templates.exp (test_template_breakpoints):
14922 If we get an overload menu, but it does not match what
14923 we expect, we still need to issue the "cancel" command.
14924 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
14925 making the whitespace optional. Argument for "new" may be
14926 "unsigned" as well as "unsigned int/long".
14927 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
14928 making the whitespace optional. Also replace "(void) with
14929 "((void|)), making the keyword "void" optional.
14930 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
14931 making the whitespace optional. Also replace "(void) with
14932 "((void|)), making the keyword "void" optional.
14933 * gdb.base/callfuncs.c (t_float_values): This function must
14934 _not_ be prototyped, and the following function (t_float_values2)
14935 must be prototyped (if the compiler supports it), so that GDB
14936 can be tested against both cases. Usually one case involves
14937 promotion of float to double, while the other does not.
14938 * gdb.base/callfwmall.c: Ditto.
14939 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
14940 includes a stack frame for "start".
14941
14942 2001-11-05 Jim Blandy <jimb@redhat.com>
14943
14944 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
14945 pointers are 32 bits long, and that offsets of relocs are always
14946 stored in the data (REL-style), and not in the reloc entry itself
14947 (RELA-style).
14948 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
14949 stabs.
14950
14951 2001-11-01 Michael Snyder <msnyder@redhat.com>
14952
14953 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
14954 and regular expression operators by using quoting.
14955
14956 2001-10-31 Michael Snyder <msnyder@redhat.com>
14957
14958 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
14959 depending on what the symbol table contains.
14960 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
14961 the output of the ptype command. Similarly, accept both "const &"
14962 and "const&".
14963
14964 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
14965
14966 * gdb.base/miscexprs.c (main): Add usage of preprocessor
14967 symbol `STORAGE' to allow to choose the storage class of
14968 the local datastructures.
14969 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
14970 compiler directive.
14971
14972 2001-10-30 Michael Snyder <msnyder@redhat.com>
14973
14974 * gdb.base/jump.exp: Allow it to run for all targets.
14975
14976 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
14977
14978 * gdb.base/call-ar-st.c (print_double_array): Match for loop
14979 with new double_array size.
14980 (main): Change storage class of all local variables to static.
14981 Reduce size of double_array to 9.
14982 * gdb.base/call-ar-st.exp: Increase timeout value.
14983 Change expected output for double array to match new size in
14984 call-ar-st.c.
14985
14986 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
14987
14988 * gdb.base/ending-run.exp: Create identical output when passing
14989 `step to end of run' case. Add regular expression branch satisfying
14990 Stormy16 target.
14991
14992 2001-10-28 Mark Kettenis <kettenis@gnu.org>
14993
14994 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
14995 that we catch the expected failure under Linux/x86.
14996
14997 2001-10-29 Orjan Friberg <orjanf@axis.com>
14998
14999 * gdb.base/setvar.exp: Escape curly braces.
15000 * gdb.stabs/weird.exp: Ditto.
15001
15002 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15003
15004 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15005 * gdm.mi/mi0-hack-cli.exp: Likewise.
15006
15007 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15008
15009 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15010 messages.
15011
15012 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15013
15014 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15015 checking MI enabled.
15016
15017 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15018
15019 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15020
15021 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15022
15023 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15024 if gdb child process crashes, just signal an error.
15025
15026 2001-10-02 Jim Blandy <jimb@redhat.com>
15027
15028 * lib/gdb.exp (test_xfail_format): Simplify.
15029
15030 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15031 front of the variable name `format'. Simplify `if'.
15032
15033 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15034
15035 * gdb.threads/pthreads.exp: Wait for output and delay
15036 before sending ^C.
15037
15038 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15039
15040 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
15041 some incorrect output instead of timing out.
15042 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
15043
15044 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15045
15046 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15047 check to allow additional `int'.
15048
15049 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15050
15051 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15052 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15053
15054 2001-09-27 Michael Snyder <msnyder@redhat.com>
15055
15056 * lib/gdb.exp (test_debug_format): New proc.
15057 (setup_xfail_format): Use new proc test_debug_format.
15058 * gdb.base/constvars.exp (local_compiler_xfail_check): New
15059 proc; use new service proc test_debug_format.
15060 Replace all other "gcc_compiled" tests with this test.
15061 * gdb.base/volatile.exp (local_compiler_xfail_check): New
15062 proc; use new service proc test_debug_format.
15063 Replace all other "gcc_compiled" tests with this test.
15064
15065 2001-09-27 Michael Snyder <msnyder@redhat.com>
15066
15067 * gdb.base/cvexpr.exp: New file.
15068 * gdb.base/cvexpr.c: New file
15069 Test for expressions using const and volatile keywords.
15070
15071 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15072
15073 * gdb.base/constvars.exp: Check for different orders of keywords
15074 and additional "int" strings in output.
15075
15076 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15077
15078 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15079 responses from "help maint".
15080
15081 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15082
15083 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15084 to localhost:NNN instead of :NNN, in case Xvfb is listening
15085 only on TCP.
15086
15087 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15088
15089 * gdb.base/recurse.exp: When checking leaving the watchpoint
15090 scope, recognize when gdb is in function's epilogue and pass.
15091
15092 2001-09-18 Keith Seitz <keiths@redhat.com>
15093
15094 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15095 support for running tests against sid targets.
15096 (gdbtk_done): Ditto.
15097
15098 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
15099
15100 * gdb.base/ending-run.c (main): Set stdout buffersize
15101 to the same reasonable value for any target.
15102 * gdb.base/ending-run.exp: Add a regular expression
15103 to make testsuite happy on Sanyo Stormy16 target.
15104
15105 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
15106
15107 * gdb.base/display.c (do_loops): Add float variable `f'.
15108 Increment f in loop.
15109 * gdb.base/display.exp: Increment timeout by 60 seconds.
15110 Change float display test to use variable `f'.
15111
15112 2001-09-17 Jim Blandy <jimb@redhat.com>
15113
15114 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15115 overflowing the limited breakpoint tables on some ROM monitors
15116 (like the ROM68K).
15117
15118 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15119
15120 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15121 the "-ac" (disable access control) flag.
15122
15123 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15124
15125 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15126 ints.
15127
15128 2001-08-30 Keith Seitz <keiths@redhat.com>
15129
15130 * lib/gdb.exp: Move all insight-related functionality into
15131 separate file.
15132 * lib/insight-support.exp: New file.
15133
15134 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
15135
15136 * config/sid.exp (sid_start): Never set sid verbosity; disable
15137 expect_background {} that consumed its stdout; tolerate </dev/null.
15138 Attempt to set endianness override in "sid" protocol mode. Cleanup.
15139
15140 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15141
15142 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
15143 CLI jump command to start it.
15144 (mi_run_to_main): Fail immediatly when unexpected output.
15145
15146 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15147
15148 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15149 beginning of function. Fix PR gdb/191.
15150
15151 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15152
15153 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15154 what to force sid endianness to.
15155
15156 2001-08-15 Keith Seitz <keiths@redhat.com>
15157
15158 * lib/gdb.exp (gdbtk_start): Don't set environment
15159 variables for TCL_LIBRARY and friends. Insight will
15160 now figure these out for itself.
15161
15162 2001-08-02 Michael Snyder <msnyder@redhat.com>
15163
15164 * gdb.base/completion.exp: Remove the symbol "a64l" from
15165 the expect string; this is target-specific, and not related
15166 to what is being tested.
15167
15168 2001-08-02 Dave Brolley <brolley@redhat.com>
15169
15170 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15171
15172 2001-07-25 Michael Snyder <msnyder@redhat.com>
15173
15174 * gdb.base/consecutive.exp: New file. Test stepping over
15175 breakpoints on consecutive instructions.
15176 * gdb.base/consecutive.c: New file.
15177
15178 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15179 curly braces in regular expressions.
15180
15181 2001-07-25 Michael Snyder <msnyder@redhat.com>
15182
15183 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15184 legitimate output from stepping out of main.
15185
15186 2001-07-22 Keith Seitz <keiths@redhat.com>
15187
15188 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15189 the empty string, do not run the tests.
15190
15191 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15192
15193 * gdb.base/long_long.exp: Detect size of pointer. Take into
15194 account 2-byte pointers when testing for p/a results.
15195
15196 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15197
15198 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
15199 and defined to 1K for m68hc11.
15200 (random_data): Reduce table to 1K for embedded platforms (68hc11).
15201 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
15202 (sizeof_random_data): New variable to tell the size of the data table;
15203 don't test past this size; always run to main.
15204
15205 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15206
15207 * gdb.base/return2.exp: return of long long and double fails for
15208 68HC11; don't execute these tests on that platform.
15209 * gdb.base/return.exp: Return of a double fails for 68hc11.
15210
15211 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15212
15213 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
15214 tests that print a float.
15215 * call-rt-st.exp: Likewise.
15216
15217 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15218
15219 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15220 running this test on Linux.
15221
15222 2001-06-24 Michael Chastain <chastain@redhat.com>
15223
15224 * gdb.base/arithmet.exp: Remove some tests to make all test names
15225 unique.
15226
15227 2001-07-03 Michael Snyder <msnyder@redhat.com>
15228
15229 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15230 the output of the ptype command.
15231
15232 2001-07-02 Michael Snyder <msnyder@redhat.com>
15233
15234 * gdb.base/completion.exp: Don't assume that break.c is the only
15235 source file that may contain functions named "marker".
15236 * gdb.base/corefile.exp: Quote the curly braces in regexp.
15237
15238 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15239
15240 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15241 of files to delete.
15242
15243 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15244 * gdb.disasm/h8300s.exp: New file.
15245 gdb.disasm/h8300s.s: Likewise.
15246
15247 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15248
15249 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15250 empty breakpoint tables.
15251
15252 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15253
15254 * lib/mi-support.exp: Update args=... part of stop-reason
15255 patterns. Accept either a list or a tuple.
15256
15257 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15258
15259 * lib/mi-support.exp: Remove local emacs variable defining
15260 change-log-default-name.
15261
15262 2001-06-22 Michael Chastain <chastain@redhat.com>
15263
15264 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15265 This is operationally compatible with the previous version.
15266
15267 2001-06-13 Jim Blandy <jimb@redhat.com>
15268
15269 * lib/gdb.exp (gdb_test): Doc fix.
15270
15271 2001-06-10 Michael Chastain <chastain@redhat.com>
15272
15273 * gdb.base/exprs.exp: Remove a duplicate test.
15274
15275 2001-06-06 Jim Blandy <jimb@redhat.com>
15276
15277 * gdb.base/return2.exp (main): Use values to test float and double
15278 returns that are not NaN's, to avoid being confused by IEEE
15279 comparison rules.
15280
15281 2001-06-04 Michael Snyder <msnyder@redhat.com>
15282
15283 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
15284 non-zero if control_c fails. Terminate the test on failure,
15285 rather than wait for 12 more tests to time out.
15286
15287 2001-06-06 Jim Blandy <jimb@redhat.com>
15288
15289 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15290 Don't forget to match the GDB prompt.
15291
15292 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15293
15294 2001-06-04 Jim Blandy <jimb@redhat.com>
15295
15296 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15297 command.
15298
15299 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15300
15301 * gdb.base/annota1.exp (info break): Match four or more spaces
15302 after "Address".
15303
15304 2001-05-31 Michael Chastain <chastain@redhat.com>
15305
15306 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
15307 (dm_type_int_star): Likewise.
15308 (dm_type_long_star): Likewise.
15309 (dm_type_void_star): Likewise.
15310
15311 2001-05-29 Kevin Buettner <kevinb@redhat.com>
15312
15313 * gdb.base/completion.exp (INPUTRC): Set this environment variable
15314 to a known value in order to get consistent results regardless
15315 of the setting of INPUTRC or the presence or contents of .inputrc.
15316
15317 2001-05-24 Michael Snyder <msnyder@redhat.com>
15318
15319 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
15320 Don't require that the main thread and the manager thread are the
15321 first in the list.
15322
15323 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15324 debugging. If test fails, issue an "unsupported" not a "fail".
15325
15326 2001-05-24 Jim Blandy <jimb@redhat.com>
15327
15328 Don't assume that short is shorter than int.
15329 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
15330 assume that shorts are smaller than ints. On a 16-bit machine,
15331 this isn't true.
15332 ("print unsigned char == (~0)"): Add test that verifies that ~0,
15333 an int, is not equal to ~0 stored in an unsigned char. This tests
15334 the same thing that the previous test meant to, but works on
15335 16-bit machines, too.
15336 ("print unsigned char != (~0)"): Same test, complemented.
15337
15338 2001-05-24 Michael Snyder <msnyder@redhat.com>
15339
15340 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
15341 test for (full_coverage == 0). This makes the test run faster,
15342 and prevents dejagnu getting out of step.
15343
15344 2001-05-23 Kevin Buettner <kevinb@redhat.com>
15345
15346 * gdb.base/finish.exp (finish_void): Revise pattern for
15347 stopping on the call statement to not permit stopping at
15348 the start of the instructions comprising the call sequence.
15349
15350 2001-05-19 Michael Chastain <chastain@redhat.com>
15351
15352 * gdb.base/callfuncs.exp: Make all test names unique.
15353 * gdb.base/commands.exp: Make all test names unique.
15354 * gdb.base/condbreak.exp: Make all test names unique.
15355 * gdb.base/dbx.exp: Make all test names unique.
15356 * gdb.base/default.exp: Make all test names unique.
15357 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
15358 and TIMEOUT messages to their corresponding PASS message.
15359 * gdb.base/ending-run.exp: Make all test names unique.
15360 * gdb.base/long_long.exp: Remove duplicate test.
15361
15362 2001-05-21 Kevin Buettner <kevinb@redhat.com>
15363
15364 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15365 stop on the call statement as well as the statement after the
15366 call.
15367
15368 2001-05-21 Michael Snyder <msnyder@redhat.com>
15369
15370 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15371
15372 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15373
15374 * gdb.base/completion.exp: Revamp test. Make it execute on all
15375 platforms.
15376
15377 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15378
15379 * config/gdbserver.exp (gdb_load): Handle the case
15380 in which the arguments to gdbserver are given in the
15381 baseboard configuration file.
15382 Also handle the case in which the server needs to do a
15383 load.
15384
15385 2001-05-07 Keith Seitz <keiths@cygnus.com>
15386
15387 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
15388 set up the display for testing.
15389 (gdbtk_start): Convert all paths to paths that tcl will like.
15390 Export target information to environment.
15391 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
15392 necessary.
15393 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
15394 (to_tcl_path): New proc to convert a given pathname into
15395 a path acceptible as an argument to a tcl command.
15396 (_gdbtk_export_target_info): New proc to export target info
15397 into the environment for gdbtk testing.
15398 (gdbtk_done): New proc to signal end-of-test.
15399
15400 2001-05-06 Jim Blandy <jimb@redhat.com>
15401
15402 * restore.c: Make the code of caller0 correspond to its comment.
15403
15404 2001-05-03 Michael Snyder <msnyder@redhat.com>
15405
15406 * config/sid.exp (gdb_target_sid): Check for error messages.
15407 On error or timeout, don't make expect exit (which will terminate
15408 all subsequent tests); instead just make gdb exit.
15409 (gdb_load): Check for error messages. On error or timeout,
15410 return a negative value.
15411
15412 2001-04-24 Jim Blandy <jimb@redhat.com>
15413
15414 * gdb.c++/templates.exp: If we see the prompt for the overload
15415 list, but we haven't recognized any of the longer patterns,
15416 arrange for this test to fail, not hang.
15417
15418 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15419 variations.
15420
15421 2001-04-22 Michael Chastain <chastain@redhat.com>
15422
15423 * gdb.c++/local.exp: Use the 'runto' library function.
15424 * gdb.c++/namespace.exp: Likewise.
15425 * gdb.c++/overload.exp: Likewise.
15426
15427 2001-03-26 Kevin Buettner <kevinb@redhat.com>
15428
15429 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15430 * gdb.base/step-line.exp: New file. Test step/next in presence of
15431 #line directives.
15432 * gdb.base/step-line.c: New file. Test program for the above.
15433 * gdb.base/step-line.inp: New file. We pretend that this file has
15434 been transformed by some other tool into step-line.c.
15435
15436 2001-03-21 Jim Blandy <jimb@redhat.com>
15437
15438 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15439 unmangled operator names.
15440
15441 2001-03-20 Jim Blandy <jimb@redhat.com>
15442
15443 * gdb.threads/linux-dp.exp: Recognize an additional message
15444 generated by GDB when it doesn't understand how to debug threads
15445 on the target system.
15446
15447 2001-03-19 Andrew Cagney <ac131313@redhat.com>
15448
15449 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15450
15451 2001-03-12 Michael Chastain <chastain@redhat.com>
15452
15453 * gdb.c++/derivation.exp: Use the 'runto' library function.
15454
15455 2001-03-12 Michael Chastain <chastain@redhat.com>
15456
15457 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15458
15459 2001-02-24 Michael Chastain <chastain@redhat.com>
15460
15461 * gdb.c++/ref-types.exp: Change handwritten code to library
15462 function 'runto'.
15463
15464 2001-03-16 Orjan Friberg <orjanf@axis.com>
15465
15466 * gdb.base/signals.exp: Set count to 0 explicitly.
15467
15468 2001-03-15 Mark Salter <msalter@redhat.com>
15469
15470 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
15471 (gdb_target_monitor): Add check of gdb_target_cmd return value.
15472 (gdb_load): Add support for additional target_info: gdb_download_size
15473 and gdb_load_timeout.
15474
15475 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
15476
15477 * gdb.base/annota1.exp: Move test of isnative to earlier in the
15478 file -- to prevent failing when the compile fails but we have no
15479 intention of running the tests anyway.
15480
15481 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15482 tests if set.
15483
15484 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
15485 integers.
15486
15487 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15488 * gdb.c++/namespace.exp: Ditto.
15489
15490 2001-03-07 Orjan Friberg <orjanf@axis.com>
15491
15492 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15493 * gdb.base/pointers.exp: Relax pattern match of decimals.
15494
15495 2001-03-06 Kevin Buettner <kevinb@redhat.com>
15496
15497 * Makefile.in, config/abug.exp, config/cfdbug.exp,
15498 config/cpu32bug.exp, config/dve.exp, config/est.exp,
15499 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
15500 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
15501 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
15502 config/sh.exp, config/sid.exp, config/slite.exp,
15503 config/sparclet.exp, config/udi.exp, config/unknown.exp,
15504 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
15505 config/vxworks.exp, config/vxworks29k.exp,
15506 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
15507 gdb.base/all-bin.exp, gdb.base/annota1.exp,
15508 gdb.base/arithmet.exp, gdb.base/assign.exp,
15509 gdb.base/async.exp, gdb.base/attach.exp,
15510 gdb.base/bitfields.exp, gdb.base/bitops.exp,
15511 gdb.base/break.exp, gdb.base/call-ar-st.exp,
15512 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
15513 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
15514 gdb.base/commands.exp, gdb.base/completion.exp,
15515 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
15516 gdb.base/constvars.exp, gdb.base/corefile.exp,
15517 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
15518 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
15519 gdb.base/ending-run.exp, gdb.base/environ.exp,
15520 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
15521 gdb.base/finish.exp, gdb.base/foll-exec.exp,
15522 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
15523 gdb.base/funcargs.exp, gdb.base/help.exp,
15524 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
15525 gdb.base/logical.exp, gdb.base/long_long.exp,
15526 gdb.base/maint.exp, gdb.base/mips_pro.exp,
15527 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
15528 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
15529 gdb.base/pointers.exp, gdb.base/printcmds.exp,
15530 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
15531 gdb.base/regs.exp, gdb.base/relational.exp,
15532 gdb.base/remote.exp, gdb.base/reread.exp,
15533 gdb.base/restore.exp, gdb.base/return2.exp,
15534 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
15535 gdb.base/selftest.exp, gdb.base/setshow.exp,
15536 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
15537 gdb.base/sigall.exp, gdb.base/signals.exp,
15538 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
15539 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
15540 gdb.base/step-test.exp, gdb.base/structs.c,
15541 gdb.base/structs.exp, gdb.base/structs2.exp,
15542 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
15543 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
15544 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
15545 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
15546 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
15547 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
15548 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
15549 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
15550 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
15551 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
15552 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
15553 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
15554 gdb.fortran/types.exp, gdb.java/jmisc.exp,
15555 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
15556 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
15557 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
15558 gdb.trace/circ.exp, gdb.trace/collection.exp,
15559 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
15560 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
15561 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
15562 gdb.trace/report.exp, gdb.trace/save-trace.exp,
15563 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
15564 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
15565 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
15566 notices.
15567
15568 2001-02-27 Michael Snyder <msnyder@cygnus.com>
15569
15570 * gdb.base/varargs.c (find_max_double): Fix printf format string:
15571 first arg is int not float.
15572
15573 2001-02-22 Michael Snyder <msnyder@cygnus.com>
15574
15575 * gdb.base/reread.exp: Unsupported for non-native targets;
15576 doesn't work for remote debugging.
15577
15578 2001-02-19 Fernando Nasser <fnasser@redhat.com>
15579
15580 From Drew Moseley <dmoseley@redhat.com>
15581 * gdb.base/ending-run.exp: Properly handle the BSP state when
15582 stepping past the end of main.
15583
15584 2001-02-19 John Moore <jmoore@redhat.com>
15585
15586 * gdb.base/commands.exp (infrun_breakpoint_command_test):
15587 Converted HPUX fix for non-expected items following multiple
15588 step commands into general solution for all platforms.
15589
15590 2001-02-18 Michael Chastain <chastain@redhat.com>
15591
15592 * gdb.c++/classes.exp (do_tests): Change runto statements
15593 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15594 statements demangler agnostic.
15595 * gdb.c++/virtfunc.exp (do_tests): Likewise.
15596 (gdb_virtfunc_restart): Likewise.
15597
15598 2001-02-14 Michael Chastain <chastain@redhat.com>
15599
15600 * gdb.c++/inherit.exp (do_tests): Change runto statements
15601 from "runto 'foo(void)'" to "runto 'foo'". This makes the
15602 statements demangler agnostic.
15603
15604 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
15605
15606 * gdb.threads/pthreads.exp: Unify pass/fail messages for
15607 ``continue to bkpt at common_routine in thread 2'' and ``stopped
15608 before calling common_routine 15 times'' tests.
15609
15610 2001-02-11 Michael Chastain <chastain@redhat.com>
15611
15612 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
15613 Helps the test script figure out which demangler is in use.
15614 (dm_type_foo_ref): Ditto.
15615 (dm_type_int_star): Ditto.
15616 (dm_type_long_star): Ditto.
15617 (dm_type_unsigned_int): Ditto.
15618 (dm_type_void): Ditto.
15619 (dm_type_void_star): Ditto.
15620 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
15621 Probe the gdb demangler and set variables to accommodate
15622 formatting differences.
15623 (info_func_regexp): New function. Same as info_func, but
15624 matches against a regexp.
15625 (info_func): Match against a literal string.
15626 (print_addr_2): New function. Match against a literal string,
15627 which can be different from the input to gdb.
15628 (print_addr): Simply call print_addr_2 with the same argument twice.
15629 (test_lookup_operator_functions): Use demangler formatting variables.
15630 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
15631 the tests in the same order as the C++ class declaration.
15632 (test_paddr_operator_functions): Ditto.
15633 (test_paddr_overloaded_functions): Ditto.
15634 (test_paddr_hairy_functions): Use demangler formatting variables.
15635 Add reference to gdb/19 for related tests.
15636 (do_tests): Call probe_demangler.
15637
15638 2001-01-30 Kevin Buettner <kevinb@redhat.com>
15639
15640 * gdb.c++/templates.cc (printf): Remove unused function definition.
15641
15642 2001-01-26 Felix Lee <flee@redhat.com>
15643
15644 * sid.exp (sid_exit): Pass host, not target, to remote_close.
15645
15646 2001-01-25 matthew green <mrg@redhat.com>
15647
15648 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
15649 up sid.
15650 (sid_exit): Call `remote_pop_conn' after GDB is gone.
15651
15652 2001-01-25 matthew green <mrg@redhat.com>
15653
15654 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
15655 Deprecate $sid_spawn_id.
15656 (sid_exit): Remove code necessary only for `spawn.'
15657
15658 2001-01-25 matthew green <mrg@redhat.com>
15659
15660 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
15661
15662 2001-01-28 Michael Chastain <chastain@redhat.com>
15663
15664 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
15665 to call when tests fail. It takes gdb out of the overloaded
15666 function choice menu back to the main prompt, so that the test
15667 program stays synchronized.
15668 (set_bp_overloaded): New proc to collect all the common
15669 code for setting a breakpoint on an overloaded name. Calls
15670 take_gdb_out_of_choice_menu when needed.
15671 (menu_overload1arg): New variable to collect the repeated
15672 instances of the expected menu for an overloaded name. Change
15673 the regular expression to handle changes in g++ type encoding:
15674 "void" can be either "void" or "", and "unsigned int" can be
15675 either "unsigned int" or "unsigned".
15676 (continue_to_bp_overloaded): Change regular expressions to handle
15677 changes in g++ type encoding.
15678 (no proc): Call take_gdb_out_of_choice_menu when needed.
15679 Remove redundant calls to "info break". Accept either "canceled"
15680 or "cancelled". Change regular expressions in "info break"
15681 calls to handle changes in g++ type encoding. Give all tests
15682 unique strings.
15683
15684 2001-01-17 Ben Elliston <bje@redhat.com>
15685
15686 * config/sid.exp: New file.
15687
15688 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
15689
15690 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
15691
15692 2000-12-21 Michael Snyder <msnyder@cygnus.com>
15693
15694 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
15695 Add a RE to accept a non-ascii char if one is ever presented.
15696
15697 2000-12-20 Fernando Nasser <fnasser@redhat.com>
15698
15699 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
15700
15701 2000-12-18 Michael Snyder <msnyder@cygnus.com>
15702
15703 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
15704 in regexp. One '\' does not suffice on Linux.
15705
15706 2000-12-09 Michael Chastain <chastain@redhat.com>
15707
15708 * gdb.base/break.exp (test_clear_command): Use a marker function
15709 rather than 'main' for the test function. Also move this
15710 test to an execution point where the marker function names are
15711 guaranteed to be bound to functions. (Executing tests after a
15712 'finish' from main runs into name conflicts with local names
15713 in __libc_start_main).
15714
15715 2000-12-07 Michael Snyder <msnyder@cygnus.com>
15716
15717 * gdb.base/finish.exp: New test for gdb's "finish" command.
15718 * gdb.base/return2.exp: New test for gdb's "return" command.
15719 * gdb.base/return2.c: New source file for above.
15720
15721 2000-12-05 Michael Snyder <msnyder@cygnus.com>
15722
15723 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
15724 * gdb.base/miscexprs.exp: Ditto.
15725 * gdb.base/pointers.exp: Ditto.
15726 * gdb.c++/derivation.exp: Ditto.
15727 * gdb.c++/local.exp: Ditto.
15728 * gdb.c++/namespace.exp: Ditto.
15729 * gdb.c++/overload.exp: Ditto.
15730 * gdb.c++/ref-types.exp: Ditto.
15731
15732 2000-12-05 Michael Snyder <msnyder@cygnus.com>
15733
15734 * gdb.base/constvars.exp: Test result of "up" command.
15735 * gdb.base/miscexprs.exp: Ditto.
15736 * gdb.base/pointers.exp: Ditto.
15737 * gdb.base/scope.exp: Ditto.
15738 * gdb.c++/derivation.exp: Ditto.
15739 * gdb.c++/local.exp: Ditto.
15740 * gdb.c++/namespace.exp: Ditto.
15741 * gdb.c++/overload.exp: Ditto.
15742 * gdb.c++/ref-types.exp: Ditto.
15743
15744 2000-11-22 Michael Chastain <chastain@redhat.com>
15745
15746 * mips_pro.exp: Accept either "middle -> top -> main" or
15747 "middle -> main" in the backtrace, because gcc can optimize
15748 tail calls to jumps. Remove setup_xfail for the hppa case.
15749 Add a comment with the original warning messages from PR 3016,
15750 which was filed in 1993, to preserve them for posterity.
15751
15752 2000-11-17 Nick Duffek <nsd@redhat.com>
15753
15754 * lib/gdb.exp (gdb_test): Override timeout with board info.
15755
15756 2000-11-17 Nick Duffek <nsd@redhat.com>
15757
15758 * gdb.base/display.exp: Don't kill running stub. Add "again" to
15759 the second kill and detach messages.
15760
15761 2000-11-17 Nick Duffek <nsd@redhat.com>
15762
15763 * configure.in: Add AC_EXEEXT.
15764 * configure: Regenerate.
15765 * Makefile.in (just-check): Export EXEEXT.
15766 * lib/gdb.exp ($EXEEXT): Import from environment.
15767 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
15768 expect "maint dump-me" on Cygwin.
15769 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
15770 $EXEEXT.
15771
15772 2000-11-17 Nick Duffek <nsd@redhat.com>
15773
15774 * gdb.base/break.exp: Test backtrace and finish from called
15775 function on all platforms, not just HP-UX.
15776
15777 2000-11-03 Michael Snyder <msnyder@cygnus.com>
15778
15779 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
15780 code from gdb_target_monitor, so it can be used independantly
15781 for gdbserver. Also comment out an unnecessary PUTS.
15782
15783 2000-11-03 Michael Snyder <msnyder@cygnus.com>
15784
15785 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
15786 * gdb.base/corefile.exp: Expect the message "Program is being
15787 debugged already" when we send the "corefile" command, since
15788 the preceeding gdb_load may have connected gdb to a remote target.
15789 * gdb.base/display.exp: Disable hardware watchpoints if new
15790 board info variable "no_hardware_watchpoints" is true.
15791 Replace single-letter commands with more readable ones.
15792 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
15793 if new board info variable "no_hardware_watchpoints" is true.
15794 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
15795 to see if stdio (printf) testing is possible.
15796 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
15797 board info variable "no_hardware_watchpoints" is true. Use new
15798 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
15799
15800 2000-11-13 Fernando Nasser <fnasser@redhat.com>
15801
15802 From Orjan Friberg <orjanf@axis.com>:
15803 * gdb.base/printcmds.exp: Escape curly braces followed by a number
15804 in array print pattern match.
15805
15806 2000-11-09 Fernando Nasser <fnasser@redhat.com>
15807
15808 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
15809 spelling "cancelled" to U.S. spelling "canceled" to match changes
15810 made to gdb.
15811 * gdb.c++/ovldbreak.exp: Ditto.
15812
15813 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
15814
15815 * gdb.base/callfuncs.c (main): Moved to end of file, call
15816 t_double_values to initialize the FPU before inferior calls are made.
15817 * gdb.base/callfuncs.exp: Test for register preservation after calling
15818 inferior functions. Add tests for continuining, finishing and
15819 returning from a stop in a call dummy.
15820
15821 2000-10-24 Michael Snyder <msnyder@cygnus.com>
15822
15823 * gdb.base/commands.exp: Break up long lines, and re-indent.
15824
15825 2000-10-19 Michael Snyder <msnyder@cygnus.com>
15826
15827 * config/gdbserver.exp: Rewritten from the ground up, to make it
15828 compatible with the current dejagnu tree, and to make it work with
15829 the new "gdbserver" in libremote.
15830
15831 2000-10-16 Michael Snyder <msnyder@cygnus.com>
15832
15833 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
15834 * gdb.base/varargs.exp: Skip entire test if no printf support.
15835 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
15836 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
15837
15838 2000-10-13 Michael Snyder <msnyder@cygnus.com>
15839
15840 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
15841 no floating point support.
15842 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
15843 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
15844 * gdb.base/call-rt-st.exp: Ditto.
15845 * gdb.base/call-strs.exp: Ditto.
15846
15847 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
15848
15849 * gdb.base/sizeof.c: include <stdio.h>.
15850
15851 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
15852 'finish', otherwise uncaptured gdb_prompt would potentially
15853 throw remaining test points out of sync.
15854
15855 2000-07-26 Scott Bambrough <scottb@netwinder.org>
15856
15857 * gdb.base/recurse.exp: Run tests for all targets.
15858 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
15859 gnu-oldld case on ARM.
15860 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
15861 for ARM targets.
15862
15863 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
15864
15865 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
15866 * gdb.java/configure: Rebuild.
15867
15868 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
15869
15870 * gdb.java/jv-exp.exp: New file.
15871
15872 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
15873
15874 * configure: Rebuilt.
15875 * configure.in (configdirs): Add gdb.java.
15876 * gdb.java/jmisc.java: New file.
15877 * gdb.java/jmisc.exp: New file.
15878 * gdb.java/Makefile.in: New file.
15879 * gdb.java/configure: Rebuilt.
15880 * gdb.java/configure.in: New file.
15881 * lib/java.exp: New file.
15882
15883 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
15884
15885 * gdb.base/exprs.exp: Test casts to a pointer including over and
15886 underflow.
15887
15888 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
15889
15890 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
15891 and the compilers sizes.
15892
15893 2000-07-09 Nick Duffek <nsd@redhat.com>
15894
15895 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
15896 (use_methods): New function.
15897 (main): Call use_methods().
15898 * gdb.c++/classes.exp (test_method_param_class): New procedure.
15899 (do_tests): Call test_method_param_class.
15900
15901 2000-07-09 Nick Duffek <nsd@redhat.com>
15902
15903 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
15904 spelling.
15905 (test_enums): New procedure. Move enum tests from end of script
15906 to here. Set breakpoint on function name instead of line number.
15907 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
15908 (enums2): New marker function.
15909 (enums1): New function.
15910 (main): Call enums1(). Move enum tests to enums1().
15911
15912 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
15913
15914 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
15915 compile/link program. Update line numbers.
15916 * gdb.asm/d10v.inc: Define ``startup''.
15917 * gdb.asm/asmsrc1.s: Add definition of _start.
15918
15919 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
15920
15921 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
15922
15923 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15924
15925 * gdb.base/maint.exp: Add 'maint print architecture' item to output
15926 of 'help maint print' command.
15927
15928 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
15929
15930 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
15931 they use gdb_expect_list.
15932
15933 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
15934
15935 * gdb.base/commands.exp: Use ``set remote
15936 memory-read-packet-size'' instead of ``set endian big'' to test
15937 long commands.
15938
15939 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
15940
15941 * gdb.c++/templates.exp (do_tests): Make all of these work under
15942 g++, and stop skipping them.
15943
15944 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
15945 work under g++.
15946
15947 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
15948 initialization.
15949
15950 2000-06-02 Michael Snyder <msnyder@cygnus.com>
15951
15952 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
15953 the regular expression: accept an (almost) arbitrary sequence of
15954 "frames-invalid" and "breakpoints-invalid" messages both before
15955 and after the "starting" message.
15956
15957 2000-06-02 Michael Snyder <msnyder@cygnus.com>
15958
15959 * gdb.c++/local.exp: This test has never been known to work with g++.
15960
15961 2000-05-18 Michael Snyder <msnyder@cygnus.com>
15962
15963 * gdb.base/annota1.exp (annotate-signal-handler-caller):
15964 Relax the regular expression a little, make it pass on Solaris 8.
15965
15966 2000-05-12 Kevin Buettner <kevinb@redhat.com>
15967
15968 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
15969 a call, do not require that gdb stop on the line after the call.
15970 Instead, it is permissible for gdb to stop on the line of the
15971 call itself.
15972
15973 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
15974
15975 * gdb.base/break.exp (bp on small function, optimized file):
15976 Add a second pass pattern. The behavior differs here between stabs
15977 and dwarf for one-line functions. Stabs preserves two line symbols
15978 (one before the prologue and one after) with the same line number,
15979 but dwarf regards these as duplicates and discards one of them.
15980 Therefore the address after the prologue (where the breakpoint is)
15981 has no exactly matching line symbol, and GDB reports the breakpoint
15982 as if it were in the middle of a line rather than at the beginning.
15983
15984 2000-05-08 Michael Snyder <msnyder@cygnus.com>
15985
15986 * gdb.base/interrupt.exp: Make "pass" message say "send"
15987 rather than "send_gdb" (for consistancy).
15988
15989 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
15990
15991 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
15992 * gdb.c++/templates.cc: Properly check for GCC version number.
15993 * lib/compiler.cc: Likewise
15994
15995 2000-04-28 Michael Snyder <msnyder@cygnus.com>
15996
15997 * gdb.base/break.exp: When compiled with -O2 optimization,
15998 gdb may not stop at the first line of main, due to code motion.
15999
16000 2000-04-26 Michael Snyder <msnyder@cygnus.com>
16001
16002 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
16003 This test depends on parsing the printf output from the target.
16004 Since the sparclet stub doesn't do stdio, this will never work.
16005 * gdb.base/call-rt-st.exp: ditto.
16006 * gdb.base/call-strs: ditto.
16007
16008 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16009
16010 * gdb.base/miscexprs.exp: make sizeof long array test portable.
16011
16012 * gdb.base/ending-run.exp: After connecting to a remote target,
16013 but before running, the target will appear to be in a random
16014 location. Specify both a file and a line for breakpoints.
16015 Also, the function that calls main may be called 'init'
16016 rather than 'start'.
16017
16018 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16019
16020 * gdb.base/help.exp: Update output for add-symbol-file command.
16021
16022 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16023
16024 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16025 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16026
16027 2000-04-07 J.T. Conklin <jtc@redback.com>
16028
16029 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16030
16031 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16032
16033 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
16034
16035 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
16036 values that can be represented exactly.
16037 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
16038 above change, and to not check against the directory part of the source
16039 file name.
16040 (step into print_long_arg_list): Likewise.
16041 (print print_small_structs from print_long_arg_list): Likewise.
16042 (print print_long_arg_list): Likewise.
16043
16044 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16045
16046 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16047
16048 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16049
16050 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16051
16052 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16053
16054 * gdb.base/commands.exp (deprecated_command_test): Add test for
16055 deprecate with no arguments.
16056
16057 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
16058
16059 * gdb.base/break.exp: Add new test for setting breakpoints on
16060 optimized code so we can test breakpoints work even when function
16061 prologues may be optimized away
16062
16063 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16064
16065 From David Whedon <dwhedon@gordian.com>
16066 * gdb.base/commands.exp : Added command deprecator tests.
16067
16068 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16069
16070 * gdb.base/help.exp: Added test for new apropos command.
16071
16072 2000-03-21 Kevin Buettner <kevinb@redhat.com>
16073
16074 * gdb.base/pointers.c (usevar): New function.
16075 (main): Make sure that global variables v_int_pointer2, rptr,
16076 and y are all referenced someplace in the program by calling
16077 usevar() on them. [Some linkers delete symbols which are
16078 never referenced. The space remains, but there's no way to
16079 get a (symbolic) handle on the variable from the debugger.]
16080
16081 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16082
16083 * gdb.base/printcmds.c: Add typedeffed arrays.
16084
16085 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16086 procedure to test arrays that are typedef'd.
16087
16088 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16089
16090 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16091 the library directories.
16092
16093 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16094
16095 * configure.in (configdirs): Add sub directory gdb.mi.
16096 * configure: Re-generate.
16097
16098 * gdb.mi: New directory.
16099
16100 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16101
16102 * gdb.base/long_long.exp: Correct test suite failure when printing
16103 a long long value as a double on ARM platforms.
16104
16105 2000-02-16 Jim Blandy <jimb@redhat.com>
16106
16107 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16108 default source file is set properly before running this test.
16109
16110 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16111
16112 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16113 gdbtk/library directory, not in gdbtcl2.
16114
16115 2000-02-04 Jim Blandy <jimb@redhat.com>
16116
16117 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16118 backslash from regexp pattern.
16119
16120 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
16121 procedure. Use it to run all the "continue to bp overloaded"
16122 tests. Note that this changes the names of the tests slightly.
16123 If the breakpoint hit message includes a hex PC value, because
16124 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
16125 from the real source code, still consider that a pass.
16126
16127 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
16128 XFAIL here if the breakpoint message contains a hex address. Note
16129 similar change on 1999-11-02.
16130
16131 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16132
16133 * gdb.base/ptype.exp: Establish a default source file before
16134 calling get_debug_format.
16135
16136 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16137
16138 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16139
16140 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16141
16142 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
16143 of successive stepi commands -- while in the prologue we should see
16144 the function entry bracket.
16145
16146 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
16147
16148 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
16149 reach __change_mode() when stepping through the end of main().
16150
16151 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16152
16153 * gdb.base/default.exp: Fix expected pattern.
16154 * gdb.base/help.exp: Same.
16155
16156 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16157
16158 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
16159 Don't use xfail's because that affects only the following test.
16160
16161 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16162 solaris or linux.
16163
16164 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16165
16166 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16167
16168 * gdb.base/display.exp: Some yacc parsers like to say
16169 "A syntax error" rather than "A parse error". Accept both.
16170
16171 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16172
16173 * gdb.base/default.exp: Remove OS dependent string from "target
16174 remote" test.
16175 * gdb.base/help.exp: Same for "help target remote" test.
16176
16177 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16178
16179 From Jim Kingdon <kingdon@redhat.com>:
16180
16181 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
16182 prompt (cleanup rather than necessity, but still might keep output
16183 from spilling to next test).
16184
16185 2000-01-02 Fred Fish <fnf@cygnus.com>
16186
16187 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16188 AIX, which defines them in <sys/types.h>.
16189
16190 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16191
16192 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16193 float" test.
16194
16195 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16196
16197 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16198
16199 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16200 outermost frame disallowed".
16201
16202 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16203
16204 * gdb.base/setvar.exp: New tests for setting the value of a struct
16205 with a constant list.
16206
16207 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16208
16209 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
16210 require the user to type a cast before setting the value of a struct.
16211
16212 1999-12-06 Jim Blandy <jimb@cygnus.com>
16213
16214 * gdb.base/default.exp: Expect the new 'info float' command on
16215 all i386 platforms.
16216
16217 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16218 LinuxThreads libraries that don't support debugging.
16219
16220 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16221
16222 * gdb.base/remote.c: Fill the buffer with truely random data.
16223 Change the buffer type to ``unsigned char'' to simplify size
16224 arithmetic.
16225
16226 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16227 stub only handles 400-1 byte packets. Verify that the download
16228 worked.
16229
16230 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
16231
16232 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
16233 tests, using UNRESOLVED for the untested cases. Also, does not wait
16234 for a timeout if the prompt was received before a recognizable pattern.
16235
16236 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16237
16238 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16239
16240 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16241
16242 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16243 watchpoints.
16244
16245 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16246
16247 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
16248
16249 * gdb.c++/local.exp: Be more flexible in recognizing local class
16250 name mangling. Don't allow horribly truncated method names.
16251 * gdb.c++/derivation.exp: Expect protected inheritance.
16252 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
16253 * gdb.c++/virtfunc.exp: Likewise.
16254 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
16255 when printing a nested enum.
16256
16257 1999-11-22 Jim Blandy <jimb@cygnus.com>
16258
16259 * gdb.base/step-test.exp: Properly await GDB's response to setting
16260 a breakpoint on the call to large_struct_by_value.
16261
16262 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
16263 just because we have debug info for the `start' function.
16264
16265 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
16266
16267 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
16268 "Unknown signal" messages, which indicate (on LinuxThreads) that
16269 GDB doesn't know how to debug threads on this system. This is
16270 better than hanging while philosopher 0 dumps chatter into gdb.log.
16271
16272 1999-11-18 Tom Tromey <tromey@cygnus.com>
16273
16274 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16275
16276 1999-11-18 Fred Fish <fnf@cygnus.com>
16277
16278 * gdb.base/coremaker2.c: Add sample program for generating
16279 cores that is more self contained than coremaker.c. Eventually
16280 I'll add more code to this and tie it into the testsuite.
16281
16282 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16283
16284 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16285
16286 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16287
16288 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16289 from $srcdir/lib/.
16290 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16291 and gdb.c++/.
16292
16293 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16294
16295 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16296 'continue with watch' test point.
16297
16298 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16299
16300 Merged from p2linux-990323-branch:
16301
16302 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16303
16304 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16305
16306 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16307 {limit,fixed}''. Test ``set download-write-size''.
16308
16309 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16310
16311 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16312 gdb_expect_list.
16313
16314 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16315
16316 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16317
16318 1999-11-03 Mark Salter <msalter@cygnus.com>
16319
16320 * gdb.base/break.exp: Fix "stub continue" pattern.
16321
16322 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16323
16324 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16325
16326 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16327
16328 * gdb.base/display.exp ("finish"): Add timeout clause.
16329
16330 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
16331 plain prompt clause, so this doesn't have to time out in order to
16332 fail.
16333
16334 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16335 breakpoint hit messages include an address.
16336
16337 * gdb.base/display.exp: Don't forget to escape parens in regular
16338 expressions. Unix regexp notatation sucks.
16339
16340 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16341
16342 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16343 order for 'signalled' message.
16344
16345 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
16346
16347 From Jimmy Guo <guo@cup.hp.com>:
16348 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
16349 * gdb.base/annota1.c: Add code for tests to work with.
16350
16351 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16352
16353 * gdb.base/remote.exp: New test for remote downloading settings.
16354 * gdb.base/remote.c: New file with large .data.
16355
16356 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16357
16358 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16359 for LinuxThreads support, merged from the Code Fusion branch.
16360
16361 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
16362
16363 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
16364 containing exp_continue into a while within an expect. Don't
16365 attempt a start more than three times. Check return value from
16366 gdb_load.
16367
16368 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16369
16370 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
16371 a pass case.
16372
16373 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
16374
16375 * gdb.base/break.c (main): Added a statement that we can step
16376 off of.
16377 * gdb.base/break.exp: Added tests for setting a breakpoint
16378 at an offset and stepping onto a breakpoint.
16379
16380 1999-10-01 Fred Fish <fnf@cygnus.com>
16381
16382 * gdb.base/help.exp (help add-symbol-file): Update to match current
16383 gdb output.
16384
16385 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16386
16387 * gdb.base/break.exp: Code locations are in hex, don't forget!
16388 (For HP-UX.)
16389
16390 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16391
16392 * condbreak.exp: Use break.c as test program.
16393 * condbreak.c: Remove, redundant with break.c.
16394
16395 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16396
16397 * config/monitor.exp (gdb_target_monitor): Disable X- and
16398 Z-packets if the target needs it.
16399
16400 1999-09-13 James Ingham <jingham@leda.cygnus.com>
16401
16402 * gdb.c++/overload.exp: Added tests for listing overloaded
16403 functions with function pointers in the arg, explicitly calling
16404 out the version you want.
16405
16406 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16407
16408 * long_long.exp: Add variations of test cases that work for
16409 targets with 16-bit ints and 32-bit doubles.
16410
16411 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16412
16413 * break.c (main): Compare a possibly-uninitialized argc with an
16414 unlikely value that fits in 16 bits.
16415
16416 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
16417
16418 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
16419 0xfeeb, don't want negative numbers if ints are 16 bits.
16420
16421 * lib/gdb.exp (skip_cplus_tests): New proc.
16422 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
16423 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
16424 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
16425 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
16426 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
16427 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
16428 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
16429 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
16430
16431 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16432
16433 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16434
16435 * gdb.base/corefile.exp (up): Allow a parameter to appear
16436 in the frame that we're going up to.
16437
16438 From Jim Blandy <jimb@cygnus.com>:
16439
16440 * gdb.base/default.exp (info float): Expect some output now.
16441
16442 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
16443 returning floating-point values to fail on the x86.
16444 * gdb.base/callfwmall.exp (do_function_calls): Same.
16445
16446 * gdb.base/list.exp (test_listsize): Correct expectations for
16447 listing line 1 with listsize 2. Also, listing a single line
16448 works now, as does listing three lines. [Kevin's note: There
16449 were a number of other cases fixed too where the expectations
16450 differed...]
16451
16452 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16453
16454 * gdb.base/selftest.exp: Add case for when version prints as
16455 constant string instead of char pointer.
16456
16457 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16458
16459 * gdb.base/ending-run.exp: Add Solaris case for what happens when
16460 stepping out of main.
16461
16462 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16463 G++ used.
16464
16465 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
16466 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
16467
16468 * gdb.c++/ovldbreak.exp: Update match string in test that
16469 includes a warning of multiple breakpoints.
16470
16471 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16472
16473 * gdb.base/display.exp: Improve precision of step-after-finish
16474 added yesterday.
16475
16476 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
16477 test.
16478
16479 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16480 configs when using G++, not just hppa*.
16481
16482 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16483
16484 * gdb.base/async.c: New file.
16485 * gdb.base/async.exp: New file.
16486
16487 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16488
16489 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16490 PA64.
16491
16492 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
16493
16494 * gdb.base/display.exp: "finish" can leave us mid-line on many
16495 targets, deal with it. Add a small constant to main, instead of
16496 1000 since main+1000 may not be a valid address in the target.
16497
16498 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16499 on hpux11.
16500
16501 * gdb.base/attach.exp: Handle another hpux11 error message variant
16502 when attaching to a process that does not exist.
16503
16504 1999-08-19 J.T. Conklin <jtc@redback.com>
16505
16506 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
16507 characters in 'continue to 1241' test.
16508
16509 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
16510
16511 * gdb.base/call-ar-st.exp: Add a shorter match case for the
16512 stop in print_long_arg_list, define and use a whitespace
16513 variable in print_small_structs test, add an XFAIL for Solaris.
16514 * gdb.base/dbx.exp: XFAIL func commands until somebody is
16515 interested enough to fix.
16516
16517 1999-08-13 Keith Seitz <keiths@cygnus.com>
16518
16519 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
16520 (dbx_gdb_load): Remove. Use gdb_load instead, since that
16521 proc knows about targets other than the natives.
16522 (test_assign): Use "gdb_run_cmd" to "run" the target.
16523 Check that we've actually hit the breakpoint at main.
16524 When we attempt to assign a value to a local variable, check
16525 that the variable is in the current scope, i.e., don't use
16526 a test with an empty result.
16527
16528 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16529
16530 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
16531 command.
16532
16533 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
16534
16535 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16536 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
16537 gdb.compat, gdb.threads-hp.
16538 gdb.hp/configure, gdb.hp/configure.in: New files.
16539 gdb.hp/Makefile.in: Recurse into new subdirs.
16540 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
16541 gdb.hp/gdb.objdbg: New directory, tests for debugging info
16542 in object files.
16543 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16544
16545 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16546
16547 * gdb.base/display.exp: Help expect by putting a newline in the
16548 funky printf, remove a bogus p/a test.
16549
16550 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16551
16552 * gdb.base/display.exp: Make sure that when we say 'run', we are
16553 connected to the target. This is necessary when running not
16554 natively.
16555
16556 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
16557
16558 * gdb.base/step-test.exp: Removed some extraneous messages.
16559
16560 * gdb.base/long_long.exp: Don't run memory examination tests
16561 on little-endian targets (they will need a different set of
16562 results to match).
16563
16564 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
16565
16566 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
16567 until somebody decides to fix GDB.
16568
16569 * gdb.base/long_long.c: Stop compiler complaint by specifying long
16570 constant as "ULL".
16571 * gdb.base/long_long.exp: Loosen x/c test, add partial result
16572 matches for a couple x/2 commands.
16573
16574 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
16575
16576 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
16577 by merging in ref-types2 tests.
16578 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
16579
16580 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16581 * gdb.c++/Makefile.in: Add standard actions.
16582 (EXECUTABLES): Rename from PROGS, update list.
16583 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
16584 from gdb.hp.
16585 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
16586 foo and bar locals.
16587 * gdb.c++/anon-union.exp: Fix tests to match.
16588 * gdb.c++/classes.exp: Run if HP compiler used, add extra
16589 expect matches to handle output variations.
16590 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
16591 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
16592 output, add HP alternatives for new and delete prints.
16593 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
16594 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
16595 * gdb.c++/demangle.exp: Use $style when reporting failure.
16596 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
16597 * gdb.c++/inherit.exp: Run if HP compiler used, add some
16598 match alternatives.
16599 * gdb.c++/local.exp: Add match alternatives or xfails for HP
16600 compilers.
16601 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
16602 * gdb.c++/method.exp: Add match alternatives.
16603 * gdb.c++/misc.cc: Add bool types.
16604 * gdb.c++/misc.exp: Add tests for bool types.
16605 * gdb.c++/overload.exp: Add xfails.
16606 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
16607 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
16608 add some more template parameter tests (only for HP currently).
16609 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
16610 * gdb.c++/virtfunc.cc: Add return type and value for main.
16611 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
16612 match alternatives.
16613
16614 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16615
16616 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
16617
16618 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
16619
16620 * gdb.base/signals.exp: Don't expect getting a backtrace from
16621 within a signal handler to fail on Linux.
16622
16623 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
16624
16625 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16626 * lib/gdb.exp: Remove some gratuitious semicolons.
16627 (delete_breakpoints): Increase timeout.
16628 (gdb_expect): Add -notransfer option.
16629 (gdb_test): Use -notransfer option.
16630 (get_compiler_info): Add f77 case.
16631 (get_compiler): New proc, split out from gdb_preprocess, add f77
16632 case.
16633 (gdb_preprocess): Call get_compiler.
16634
16635 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
16636 * gdb.base/attach.exp, gdb.base/display.exp,
16637 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
16638 gdb.base/long_long.exp, gdb.base/printcmds.exp,
16639 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
16640 third arg to gdb_test.
16641 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
16642 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
16643 HP-UX xfails, add others.
16644 * gdb.base/completion.exp: Reflect name change of self-test.
16645 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
16646 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
16647 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
16648 HP failure number.
16649 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
16650 useless HP-UX 10.30 references.
16651 * gdb.base/maint.exp: Loosen matches.
16652 * gdb.base/pointers.c (main): Declare more_code.
16653 * gdb.base/pointers.exp: Match on output of a `next'.
16654 * gdb.base/structs.c: Add prototypes.
16655 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
16656 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
16657
16658 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16659
16660 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
16661 command.
16662
16663 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16664
16665 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
16666 Fix run to main failures. Watchpoint can be hardware watchpoint.
16667
16668 * gdb.base/annota1.exp: Clean up some more, in case printf has
16669 debug info. Deal with lack of signal hanlder info in stack.
16670
16671 From Jim Kingdon <kingdon@redhat.com>:
16672 * gdb.base/annota1.exp: If printf has debug info, deal with it.
16673
16674 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
16675
16676 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
16677 gdb.base/foll-vfork.exp: Don't run for crosses.
16678
16679 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16680
16681 * gdb.base/configure.in: Check for gdbvars.exp instead of
16682 a1-selftest.exp.
16683 * gdb.base/configure: Re-generate.
16684
16685 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
16686
16687 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
16688 in trying to run first and name is too long.
16689
16690 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
16691 pointers2.c and pointers2.exp, respectively.
16692 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
16693 doschk happier.
16694
16695 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
16696
16697 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
16698 callfuncs2.c and callfuncs2.exp.
16699
16700 * gdb.base/list.exp: Remove mistaken xfails.
16701 * gdb.base/list0.h: Add optional prototypes.
16702
16703 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
16704
16705 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
16706 calling malloc.
16707 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
16708 * ptype.exp: Move test for get_debug_format to before its first
16709 use.
16710
16711 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16712
16713 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
16714 * gdb.base/annota2.cc, annota2.exp: Move from here.
16715 * gdb.c++/annota2.cc, annota2.exp: To here.
16716 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
16717
16718 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
16719
16720 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
16721 a consistent format.
16722
16723 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
16724
16725 From Jimmy Guo <guo@cup.hp.com> and others at HP:
16726 * lib/gdb.exp (get_compiler_info): Add detection for assorted
16727 HP compilers, also set the globals $true and $false.
16728
16729 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
16730 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
16731 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
16732 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
16733 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
16734 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
16735 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
16736 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
16737 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
16738 whatis.c} Add C++ compatible function definitions and return
16739 types, add includes for library functions.
16740 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
16741 * gdb.base/step-test.c (myglob): Rename from glob.
16742 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
16743 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
16744 files, move here from gdb.hp.
16745 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
16746 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
16747 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
16748 Adjust line numbers in regexps.
16749
16750 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
16751 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
16752 instead of 0/1.
16753
16754 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
16755 foll-vfork.exp: New files, move here from gdb.hp.
16756 * gdb.base/page.exp: New file, test of pagination command.
16757
16758 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
16759 recursion test.
16760 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
16761
16762 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
16763 gdb.base/solib.exp: Fix compiler invocation process.
16764
16765 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
16766 HP-UX 11, turn off overload resolution explicitly.
16767 * gdb.base/commands.exp: Set argument list explicitly, add
16768 watchpoint test.
16769 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
16770 them work.
16771 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
16772 expressions properly.
16773 * gdb.base/corefile.exp: Loosen the match slightly.
16774 * gdb.base/default.exp: Allow "Error accessing memory" message
16775 also.
16776 * gdb.base/display.exp: Skip over x/0 j if PA64.
16777 * gdb.base/funcargs.exp: Add xfails for HP-UX.
16778 * gdb.base/interrupt.exp: Ditto.
16779 * gdb.base/langs.exp: Add symbolic matches governed by compiler
16780 in use.
16781 * gdb.base/list.exp: Add xfails for HP-UX.
16782 * gdb.base/long_long.exp: Refine some of the numeric matches.
16783 * gdb.base/mips_pro.exp: Xfail on HP-UX.
16784 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
16785 * gdb.base/nodebug.exp: Succeed on more varieties of output.
16786 * gdb.base/opaque.exp: Remove some HP-UX xfails.
16787 * gdb.base/ptype.exp: Succeed on more varieties of output.
16788 * gdb.base/scope.exp: Add xfails for HP-UX.
16789 * gdb.base/sect-cmd.exp: Add more cases.
16790 * gdb.base/setvar.exp: Add xfails for HP-UX.
16791 * gdb.base/shlib-call.exp: Loosen some matches slightly.
16792 * gdb.base/signals.exp: Match on void symbolically.
16793 * gdb.base/step-test.exp: Add case for PA64.
16794 * gdb.base/term.exp: Add exit and restart.
16795 * gdb.base/twice.exp: Clean up after self.
16796 * gdb.base/varargs.exp: Disable overload resolution explicitly.
16797 * gdb.base/whatis.exp: Allow more ways to pass tests.
16798
16799 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
16800 no longer useful.
16801
16802 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
16803
16804 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
16805 list of patterns.
16806 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
16807 print_double_array(double_array)", "continuing to breakpoint
16808 1018", "print print_double_array(array_d)" and "continuing to
16809 1034" tests.
16810
16811 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
16812
16813 * Makefile.in: Add empty html and install-html targets.
16814
16815 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
16816
16817 * config/mt-*: Remove, these haven't been used since 1996.
16818
16819 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
16820
16821 * gdb.base/call-strs.c, gdb.base/ending-run.c,
16822 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
16823 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
16824
16825 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
16826
16827 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
16828 simpler match case for the ptype of the big class.
16829
16830 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16831
16832 * gdb.exp: Fix test for gdb_prompt existence.
16833
16834 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16835
16836 * gdb.exp (gdb_test): Add fail after calls to perror.
16837
16838 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16839
16840 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
16841
16842 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16843
16844 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
16845
16846 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
16847
16848 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
16849 malloc() is linked in.
16850
16851 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16852
16853 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
16854 step at end.
16855
16856 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
16857
16858 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
16859
16860 * gdb.java/jv-print.exp: New file. (Our first Java test!)
16861
16862 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
16863
16864 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
16865 * gdb.base/mips_pro.exp: Likewise.
16866
16867 1999-06-02 Keith Seitz <keiths@cygnus.com>
16868
16869 * gdb.c++/templates.cc: Change all "new" operators to throw
16870 an exception.
16871 * gdb.c++/cplusfuncs.cc: Likewise.
16872
16873 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
16874
16875 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
16876
16877 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
16878 * gdb.base/ending-run.exp: When stepping out of main, accept a
16879 step into an arbitrary assembler file.
16880
16881 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16882
16883 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
16884 "breakpoint-invalid" to be printed.
16885 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
16886 number of "frames-invalid" and "breakpoint-invalid" to be printed.
16887 * gdb.base/annota2.cc: Initialize a.x to 0.
16888
16889 1999-05-17 Keith Seitz <keiths@cygnus.com>
16890
16891 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
16892 when "skip_float_tests" set.
16893 Ditto for "print print_double_array(array_d)", "print print_small_structs",
16894 "print print_ten_doubles", and "step into print_long_arg_list".
16895 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
16896 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
16897 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
16898 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
16899 "skip_float_tests" is set.
16900 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
16901 when "skip_float_tests" set.
16902
16903 1999-05-06 Keith Seitz <keiths@cygnus.com>
16904
16905 * gdb.base/annota2.cc: Include stdio.h.
16906
16907 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
16908
16909 * gdb.base/crossload.exp: Remove, this has been disabled ever
16910 since BFD stopped including all targets, and cross-GDB gets
16911 plenty of testing anyway.
16912 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
16913 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
16914 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
16915 * gdb.base/README: Remove, was doc for this.
16916 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
16917 needed.
16918
16919 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16920
16921 * gdb.base/call-ar-st.exp: Fix one regular expression in test
16922 output.
16923
16924 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
16925 * gdb.base/annota2.exp: New file. More annotation tests.
16926 * gdb.base/annota1.c: New file. Source file for annota1.exp.
16927 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
16928
16929 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
16930
16931 * config/cfdbug.exp: New file.
16932
16933 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
16934
16935 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
16936 Marcus Daniel's and Dale Hawkins's demangler crashes.
16937
16938 * gdb.c++/demangle.exp (test_gnu_style_demangling,
16939 test_lucid_style_demangling, test_arm_style_demangling,
16940 test_hp_style_demangling): Try Tom Tromey's core-dumping
16941 identifier under each demangling style.
16942
16943 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
16944
16945 * gdb.c++/demangle.exp: Include the current demangling style
16946 in all test names.
16947 (current_demangling_style): New global variable.
16948 (set_demangling_style, test_demangling_core, test_demangling,
16949 test_demangling_exact): New functions.
16950 (test_gnu_style_demangling, test_lucid_style_demangling,
16951 test_arm_style_demangling, test_hp_style_demangling): Use those,
16952 instead of calling gdb_test and gdb_test_exact directly.
16953 (catch_demangling_errors): New function, which reports errors
16954 signalled by the demangling test functions in an orderly way.
16955 (do_tests): Use catch_demangling_errors.
16956
16957 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
16958
16959 * gdb.base/signals.exp (test_handle_all_print): Use () for
16960 grouping in expressions, not {}.
16961
16962 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
16963 initialized yet.
16964
16965 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
16966
16967 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
16968 are listed.
16969
16970 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
16971
16972 * gdb.stabs/weird.exp: Test for CC being defined before
16973 looking at its value.
16974
16975 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
16976
16977 * gdb.base/call-ar-st.exp: Remove stray '#'.
16978 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
16979 "short int" and "long int".
16980 * gdb.c++/overload.cc: Cast the string added in the previous
16981 change, to mollify finicky HP compiler.
16982 * gdb.hp/reg-test.exp (testfile): Fix file name.
16983 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
16984
16985 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
16986 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
16987 alternate form of enum ptype.
16988
16989 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
16990
16991 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
16992 * gdb.hp/*.exp: Change all to run compiler probe only after
16993 passing skip_hp_tests, so as not to waste time on guaranteed
16994 failure.
16995
16996 * gdb.c++/overload.cc: Pass string instead of char addr, always
16997 init ccpfoo.
16998 * gdb.c++/templates.cc: Fix syntax error.
16999
17000 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17001
17002 * gdb.base/commands.exp: Add test for correct position of '>'
17003 when issuing the 'commands' command after a 'while' or 'if'
17004 command.
17005
17006 1999-03-18 James Ingham <jingham@cygnus.com>
17007
17008 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17009
17010 * gdb.c++/method.exp: It was testing an uninitialized int on the
17011 stack and assuming it was positive.
17012
17013 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
17014
17015 * gdb.base/step-test.exp: Catch a case where finish is broken and
17016 keep it from killing the rest of the tests.
17017 Use gdb_continue_to_end.
17018
17019 * gdb.base/sigall.exp: use gdb_continue_to_end.
17020
17021 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17022
17023 * gdb.base/display.exp: use runto_main, not run.
17024
17025 * gdb.base/default.exp: Check for the current error message in the
17026 r abbreviation test.
17027 Add strongarm to the targets that know info float.
17028
17029 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17030 run which doesn't work with monitors.
17031
17032 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17033
17034 * gdb.base/break.exp: use the gdb_continue_to_end proc.
17035
17036 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
17037 program. Traps the case (in Cygmon) when the program never really
17038 exits. Same as Mark's continue_to_exit, but I had put it in a lot
17039 more places, so I used my name. Sorry Mark...
17040
17041 * config/monitor.exp (gdb_target_monitor): added another
17042 target_info parameter: remotebinarydownload. This will set the
17043 remotebinarydownload flag if this is causing some boards trouble.
17044
17045 1999-03-18 Mark Salter <msalter@cygnus.com>
17046
17047 * lib/gdb.exp (continue_to_exit): New function.
17048
17049 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
17050 * gdb.base/ending-run.exp: Ditto.
17051 * gdb.base/step-test.exp: Ditto.
17052
17053 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17054
17055 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17056 (suggested by Art Haas <ahaas@neosoft.com>).
17057
17058 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17059
17060 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17061
17062 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17063
17064 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17065 descriptions of types (short unsigned int vs unsigned short, etc).
17066
17067 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17068
17069 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17070 a call to strlen; sometimes we do have sources.
17071
17072 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17073
17074 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
17075 character, so GDB won't print garbage after its end.
17076
17077 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
17078 breakpoint there instead. Sometimes GCC emits memcpy to handle
17079 the large structures being passed by value, so we step into that
17080 instead of sum_array_print, which obscures what we're really testing.
17081 * gdb.base/step-test.exp: However, we do want a test that notices
17082 the bizarre steps into memcpy, so do that here. Add check for
17083 stepping into function calls that pass large structures by value.
17084 ("Is that a noun clause, or are you just happy to see me?")
17085 Remove all references to specific line numbers.
17086 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
17087 New type and function.
17088 (main): Call large_struct_by_value, passing it a large struct by value.
17089 * lib/gdb.exp (gdb_get_line_number): New function.
17090
17091 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17092 more portable.
17093
17094 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17095
17096 * lib/gdb.exp: Doc fixes.
17097
17098 1999-03-05 Nick Clifton <nickc@cygnus.com>
17099
17100 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17101
17102 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
17103
17104 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
17105 commands. They're not germane to this test, and they don't work
17106 that way on remote targets.
17107
17108 1999-03-01 James Ingham <jingham@cygnus.com>
17109
17110 * Changelog entries merged over from gdb development branch.
17111
17112 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17113
17114 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17115 for outputting results of test run.
17116
17117 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17118
17119 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17120
17121 1999-02-25 Felix Lee <flee@cygnus.com>
17122
17123 * lib/gdb.exp (debug_format): initialize
17124
17125 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17126
17127 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17128 * gdb.base/call-rt-st.c: Ditto.
17129
17130 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17131
17132 * gdb.threads/pthreads.exp (horiz): New variable.
17133 (test_startup): Fix regexps that capture thread numbers.
17134
17135 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17136
17137 * gdb.base/smoke.exp: Disambiguate two test case names (both
17138 called ``print'').
17139
17140 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17141
17142 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17143 compilation.
17144
17145 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17146
17147 * gdb.base/miscexprs.exp: Change patterns to match GDB's
17148 actual output formatting.
17149 * gdb.base/smoke.exp: GDB removes leading 0's.
17150 * gdb.base/volatile.exp: Don't check type of remuneration;
17151 that variable is no longer defined in constvars.c.
17152 * gdb.base/step-test.c (main): Exit with explicit exit code.
17153 * gdb.base/step-test.exp: Remove two nexti checks--they are
17154 not portable.
17155
17156 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17157
17158 * gdb.base/help.exp ("help delete display"): Fix test to match
17159 gdb's output.
17160
17161 * gdb.base/long_long.c (known_types): Initialize values to zero.
17162 * gdb.base/long_long.exp: Step one more line
17163 so 'dec' is initialized in "get to known place". GDB removes
17164 leading zeros. Explicitly ask for hex formatting. Use
17165 unique test case names.
17166
17167 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17168
17169 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17170
17171 * gdb.c++/method.exp: Add missing close brace.
17172
17173 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17174
17175 * gdb.base/maint.exp: Use 'set height 0' to disable page
17176 prompting, not 'set height 400'.
17177
17178 Fix a bunch of timeouts.
17179 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
17180 four separate tests, so expect doesn't take forever to match a ton
17181 of text against a regexp with lots of .* forms.
17182 ("maint print psymbols", "maint print symbols"): Make some of
17183 these greps more selective, so that expect doesn't try to wade
17184 through huge piles of output and time out.
17185
17186 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
17187
17188 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
17189 tests: one which doesn't expect shlib events to be reported, and
17190 another which does, but is XFAIL for all platforms other than
17191 HP/UX.
17192
17193 * gdb.base/break.exp: Teach the test suite that the `catch
17194 fork', `catch vfork', and `catch exec' commands produce error
17195 messages on platforms that don't provide these features.
17196
17197 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17198
17199 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
17200 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
17201 (shortening names from solib_threshold.exp etc), won't run on
17202 anything but HP-UX for the foreseeable future.
17203 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
17204 reflect move.
17205
17206 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17207
17208 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17209 gdb.trace/Makefile.in (clean): Remove all test executables.
17210
17211 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
17212
17213 * gdb.base/shlib-call.exp: add test cases to verify that gdb
17214 successfully re-sets breakpoints in shared libraries.
17215 * gdb.base/shmain.c (main): return 0, don't fall off the end.
17216
17217 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17218
17219 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17220 and compiled w/o GCC.
17221
17222 * gdb.hp/watch-cmd.exp: ditto.
17223
17224 * gdb.hp/watch-hp.exp: ditto.
17225
17226 * gdb.hp/xdb1.exp: ditto.
17227
17228 * gdb.hp/xdb2.exp: ditto.
17229
17230 * gdb.hp/dbx.exp: ditto.
17231
17232 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17233
17234 * constvars.c: Remove C++-isms.
17235 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17236 with GCC.
17237
17238 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17239
17240 The following changes are part of the HP merge.
17241
17242 * gdb.base/break.exp: new tests to verify that catchpoints for
17243 fork, vfork, and exec don't trigger inappropriately.
17244
17245 * gdb.base/opaque.exp: compile one file at a time, then link.
17246
17247 * gdb.base/signals.exp: be more restrictive about which hppa
17248 systems receive a setup_xfail. new tests.
17249
17250 * gdb.base/solib_threshold.build: new file.
17251 * gdb.base/solib_threshold.exp: new file.
17252 * gdb.base/solib_threshold.link_opts: new file.
17253 * gdb.base/solib_threshold.mk: new file.
17254 * gdb.base/gen_solib_threshold.c: new file.
17255
17256 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17257 tests. New tests for enums inside classes.
17258
17259 * gdb.c++/compiler.cc: indicate support of template debugging.
17260
17261 * gdb.c++/demangle.exp: run hp style demangling tests.
17262
17263 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17264 tests.
17265
17266 * gdb.c++/misc.cc: changes to support new tests.
17267
17268 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17269 to support new tests.
17270
17271 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17272 gcc, then skip these tests.
17273
17274 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
17275
17276 The following files are part of the HP merge; some had longer
17277 names at HP, but have been renamed to be no more than 14
17278 characters in length.
17279
17280 * gdb.hp/ambiguous.cc: new file.
17281 * gdb.hp/ambiguous.exp: new file.
17282 * gdb.hp/attach.exp: new file.
17283 * gdb.hp/attach2.exp: new file.
17284 * gdb.hp/classes-hp.exp: new file.
17285 * gdb.hp/ctti.exp: new file.
17286 * gdb.hp/ctti-add.cc: new file.
17287 * gdb.hp/ctti-add1.cc: new file.
17288 * gdb.hp/ctti-add2.cc: new file.
17289 * gdb.hp/ctti-add3.cc: new file.
17290 * gdb.hp/dbx.exp: new file.
17291 * gdb.hp/exception.cc: new file.
17292 * gdb.hp/exception.exp: new file.
17293 * gdb.hp/foll-exec.c: new file.
17294 * gdb.hp/foll-exec.exp: new file.
17295 * gdb.hp/foll-fork.c: new file.
17296 * gdb.hp/foll-fork.exp: new file.
17297 * gdb.hp/foll-vfork.c: new file.
17298 * gdb.hp/foll-vfork.exp: new file.
17299 * gdb.hp/inherit-hp.exp: new file.
17300 * gdb.hp/more-steps.exp: new file.
17301 * gdb.hp/namespace.cc: new file.
17302 * gdb.hp/namespace.exp: new file.
17303 * gdb.hp/optimize.exp: new file.
17304 * gdb.hp/pxdb.c: new file.
17305 * gdb.hp/pxdb.exp: new file.
17306 * gdb.hp/quicksort.exp: new file.
17307 * gdb.hp/reg-test.exp: new file.
17308 * gdb.hp/reg-test.s: new file.
17309 * gdb.hp/sized-enum.c: new file.
17310 * gdb.hp/sized-enum.exp: new file.
17311 * gdb.hp/start-stop.exp: new file.
17312 * gdb.hp/templ-hp.cc: new file.
17313 * gdb.hp/templ-hp.exp: new file.
17314 * gdb.hp/thr-lib.c: new file.
17315 * gdb.hp/thr-lib.exp: new file.
17316 * gdb.hp/thr-lib.h: new file.
17317 * gdb.hp/thr-liblib.c: new file.
17318 * gdb.hp/virtfun-hp.c: new file.
17319 * gdb.hp/virtfun-hp.exp: new file.
17320 * gdb.hp/watch-cmd.exp: new file.
17321 * gdb.hp/watch-hp.exp: new file.
17322 * gdb.hp/xdb1.exp: new file.
17323 * gdb.hp/xdb2.exp: new file.
17324 * gdb.hp/xdb3.exp: new file.
17325
17326 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
17327
17328 The following files are part of the HP merge; some had longer
17329 names at HP, but have been renamed to be no more than 14
17330 characters in length.
17331
17332 * gdb.base/ss.h: new file.
17333 * gdb.base/call-ar-st.c: new file.
17334 * gdb.base/call-ar-st.exp: new file.
17335 * gdb.base/call-rt-st.c: new file.
17336 * gdb.base/call-rt-st-exp: new file.
17337 * gdb.base/call-strs.exp: new file.
17338 * gdb.base/ena-dis-br.exp: new file.
17339 * gdb.base/environ.exp: new file.
17340 * gdb.base/long_long.exp: new file.
17341 * gdb.base/sect-cmd.exp: new file.
17342 * gdb.base/shlib-cl2.exp: new file.
17343 * gdb.base/smoke.exp: new file.
17344 * gdb.base/so-impl-ld.c: new file.
17345 * gdb.base/so-impl-ld.exp: new file.
17346 * gdb.base/so-indr-cl.c: new file.
17347 * gdb.base/so-indr-cl.exp: new file.
17348 * gdb.base/varargs.exp: new file.
17349 * gdb.base/volatile.exp: new file.
17350 * gdb.base/whatis-exp.exp: new file.
17351 * gdb.base/display.exp: new file.
17352 * gdb.c++/derivation.exp: new file.
17353 * gdb.c++/local.exp: new file.
17354 * gdb.c++/member-ptr.exp: new file.
17355 * gdb.c++/overload.exp: new file.
17356 * gdb.c++/ovldbreak.exp: new file.
17357 * gdb.c++/ref-types.exp: new file.
17358 * gdb.c++/ref-types2.exp: new file.
17359 * gdb.c++/userdef.exp: new file.
17360
17361 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17362
17363 * gdb.base/default.exp: Reflect wording change in remote.c.
17364
17365 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17366
17367 * gdb.base/help.exp: Update to reflect current text.
17368
17369 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
17370
17371 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
17372 they're stack variables and contain garbage.
17373 * gdb.c++/anon-union.exp: new file.
17374
17375 The following changes were made by David Taylor
17376 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17377 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17378 in changes by HP.
17379
17380 * gdb.base/bitops.exp: new file.
17381 * gdb.base/default.exp: change expected messages for catch and
17382 info catch tests to reflect HP merge changes.
17383 * gdb.base/enable-disable-break.exp
17384 * gdb.base/ending-run.c: new file.
17385 * gdb.base/long_long.c: new file.
17386 * gdb.base/maint.exp: new file.
17387 * gdb.base/pointers2.exp: new file.
17388 * gdb.base/shlib-call2.exp: new file.
17389 * gdb.base/solib.exp: new file.
17390 * gdb.base/step-test.c: new file.
17391 * gdb.c++/anon-union.cc: new file.
17392 * gdb.c++/local.cc: new file.
17393 * gdb.c++/member-pointer.cc: new file.
17394 * gdb.c++/method.cc: new file.
17395 * gdb.c++/ref-types.cc: new file.
17396 * gdb.c++/ref-types2.cc: new file.
17397 * gdb.c++/userdef.cc: new file.
17398
17399 * gdb.base/scope.exp: compile one file at a time, then link.
17400 * gdb.base/langs.exp: ditto.
17401 * gdb.base/list.exp: ditto.
17402
17403 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
17404
17405 The following changes were made by David Taylor
17406 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
17407 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
17408 in changes by HP.
17409
17410 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17411 skip tests. When compiling pass c++ flag to gdb_compile.
17412 * gdb.c++/
17413
17414 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
17415 test for on hppa*-*-hpux*; use args to see if c++ was specified.
17416 (skip_hp_tests): new function.
17417 (gdb_preprocess): new function.
17418
17419 * configure.in (hpdir): decide whether to configure gdb.hp.
17420 * configure: regenerated.
17421
17422 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
17423 to delete on clean.
17424 (EXECUTABLES): update to reflect new additions.
17425 * gdb.base/commands.exp: update message expected.
17426 * gdb.base/default.exp: add copyright notice.
17427 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
17428 * gdb.base/help.exp: update messages to reflect current text.
17429 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
17430 targets for recurse tests.
17431 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
17432 skip this file.
17433
17434 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17435 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
17436 compilation.
17437 * gdb.c++/misc.exp: ditto.
17438 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
17439 run the tests. tell gdb_compile that it's a c++ compilation.
17440
17441 * gdb.threads/pthreads.exp: fix typo in message.
17442
17443 * gdb.base/all-bin.exp: new file.
17444 * gdb.base/arithmet.exp: new file.
17445 * gdb.base/assign.exp: new file.
17446 * gdb.base/completion.exp: new file.
17447 * gdb.base/cond-expr.exp: new file.
17448 * gdb.base/condbreak.exp: new file.
17449 * gdb.base/define.exp: new file.
17450 * gdb.base/dollar.exp: new file.
17451 * gdb.base/environment.exp: new file.
17452 * gdb.base/eval-skip.exp: new file.
17453 * gdb.base/jump.exp: new file.
17454 * gdb.base/logical.exp: new file.
17455 * gdb.base/pointers.exp: new file.
17456 * gdb.base/relational.exp: new file.
17457 * gdb.base/section_command.exp: new file.
17458 * gdb.base/whatis-expr.exp: new file.
17459
17460 * gdb.base/all-types.c: new file.
17461 * gdb.base/call-array-struct.c: new file.
17462 * gdb.base/call-return-struct.c: new file.
17463 * gdb.base/call-strings.c: new file.
17464 * gdb.base/callfuncs2.c: new file.
17465 * gdb.base/condbreak.c: new file.
17466 * gdb.base/constvars.c: new file.
17467 * gdb.base/display.c: new file.
17468 * gdb.base/int-type.c: new file.
17469 * gdb.base/jump.c: new file.
17470 * gdb.base/miscexprs.c: new file.
17471 * gdb.base/pointers.c: new file.
17472 * gdb.base/pointers2.c: new file.
17473 * gdb.base/shmain.c: new file.
17474 * gdb.base/shr1.c: new file.
17475 * gdb.base/shr2.c: new file.
17476 * gdb.base/solib.c: new file.
17477 * gdb.base/solib1.c: new file.
17478 * gdb.base/solib2.c: new file.
17479 * gdb.base/varargs.c: new file.
17480 * gdb.c++/derivation.cc: new file.
17481 * gdb.c++/overload.cc: new file.
17482 * gdb.c++/ovldbreak.cc: new file.
17483 * gdb.hp/attach.c: new file.
17484 * gdb.hp/attach2.c: new file.
17485 * gdb.hp/average.c: new file.
17486 * gdb.hp/compiler.c: new file.
17487 * gdb.hp/compiler.cc: new file.
17488 * gdb.hp/execd-program.c: new file.
17489 * gdb.hp/follow-exec.c: new file.
17490 * gdb.hp/follow-fork.c: new file.
17491 * gdb.hp/follow-vfork-and-exec.c: new file.
17492 * gdb.hp/misc-hp.cc: new file.
17493 * gdb.hp/more-steps.c: new file.
17494 * gdb.hp/optimize.c: new file.
17495 * gdb.hp/quicksort.c: new file.
17496 * gdb.hp/run-hp.c: new file.
17497 * gdb.hp/start-stop.c: new file.
17498 * gdb.hp/sum.c: new file.
17499 * gdb.hp/templates-hp.cc: new file.
17500 * gdb.hp/thread-local-in-lib.c: new file.
17501 * gdb.hp/thread-local-in-lib.h: new file.
17502 * gdb.hp/thread-local-in-lib.lib.c: new file.
17503 * gdb.hp/vforked-program.c: new file.
17504 * gdb.hp/virtfunc-hp.cc: new file.
17505 * gdb.hp/watchpoint-hp.c: new file.
17506 * gdb.hp/xdb.c: new file.
17507 * gdb.hp/xdb0.c: new file.
17508 * gdb.hp/xdb0.h: new file.
17509 * gdb.hp/xdb1.c: new file.
17510
17511 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
17512
17513 The following change was made by Edith Epstein
17514 <eepstein@cygnus.com> as part of a project to merge in changes
17515 originally made by HP; HP did not create ChangeLog entries.
17516
17517 * gdb.c++/demangle.exp: changed the expected output for some
17518 ARM-style mangling -- removed second reference to datatype.
17519 For example, maint demangle __dt__11T1__pt__2_cFv
17520 T1<char>::~T1<char>(void)
17521 becomes,
17522 maint demangle __dt__11T1__pt__2_cFv
17523 T1<char>::~T1(void)
17524
17525 (test_hp_style_demangling): new hp specific demangling test cases.
17526
17527 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
17528
17529 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
17530 * gdb.trace/backtrace.exp: Likewise.
17531 * gdb.trace/circ.exp: Likewise.
17532 * gdb.trace/collection.exp: Likewise.
17533 * gdb.trace/deltrace.exp: Likewise.
17534 * gdb.trace/infotrace.exp: Likewise.
17535 * gdb.trace/limits.exp: Likewise.
17536 * gdb.trace/packetlen.exp: Likewise.
17537 * gdb.trace/passc-dyn.exp: Likewise.
17538 * gdb.trace/passcount.exp: Likewise.
17539 * gdb.trace/report.exp: Likewise.
17540 * gdb.trace/save-trace.exp: Likewise.
17541 * gdb.trace/tfind.exp: Likewise.
17542 * gdb.trace/tracecmd.exp: Likewise.
17543 * gdb.trace/while-dyn.exp: Likewise.
17544 * gdb.trace/while-stepping.exp: Likewise.
17545
17546 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17547
17548 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17549
17550 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17551
17552 From Brendan Kehoe:
17553 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
17554 int return types.
17555
17556 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
17557
17558 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
17559 remote dos host testing right.
17560
17561 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
17562
17563 * gdb.base/corefile.exp: remove some xfails.
17564
17565 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
17566
17567 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
17568 have different timestamps.
17569
17570 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
17571
17572 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
17573 gdb.base/default.exp: Replace "exec" with "executable".
17574
17575 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
17576
17577 * gdb.base/default.exp: Change else if to elseif from previous
17578 delta.
17579
17580 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
17581
17582 * gdb.base/default.exp: Add brace missing from previous delta.
17583
17584 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
17585
17586 * gdb.base/default.exp: Support test for info float for all
17587 varieties of arm toolchain.
17588
17589 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
17590
17591 * gdb.trace/*.exp: remove "remote_download" command.
17592
17593 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
17594
17595 * gdb.trace/*.exp: remove -gdwarf from compile.
17596
17597 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
17598
17599 * gdb.trace/configure.in(AC_INIT): typo
17600 * gdb.trace/configure: regenerated
17601
17602 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
17603
17604 * config/m68k-emc.exp: New file.
17605 * lib/<emc-support.exp trace-support.exp}: New files.
17606 * configure.in: add new test directory gdb.trace.
17607 * gdb.trace/{configure configure.in Makefile.in}: New files.
17608 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
17609 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
17610 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
17611 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
17612 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
17613 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
17614 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
17615
17616 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
17617
17618 * gdb.c++/classes.exp: Change all regular expressions to match
17619 arbitrary combinations of newline/carriage-return, so that they
17620 will work equally well on Unix and Windows.
17621 * gdb.c++/inherit.exp: ditto.
17622 * gdb.c++/virtfunc.exp: ditto.
17623
17624 1998-08-11 Dawn Perchik <dawn@cygnus.com>
17625
17626 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
17627
17628 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
17629
17630 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
17631 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
17632 to use a0-a3/d0-d3 as needed.
17633
17634 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
17635
17636 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
17637 * gdb.disasm/am33.exp: Corresponding changes.
17638
17639 1998-07-11 Felix Lee <flee@cygnus.com>
17640
17641 * gdb.base/callfuncs.exp: add cmp10 test.
17642 * gdb.base/callfuncs.c (cmp10): new function.
17643
17644 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
17645
17646 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
17647 into two parts to get around a synchronization problem in expect.
17648
17649 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
17650
17651 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
17652
17653 * configure.in: Add options for gdbtk testsuite.
17654
17655 * configure: Regenerate.
17656
17657 * gdb.gdbtk: New directory to hold gdbtk tests.
17658
17659 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17660
17661 * gdb.fortran/types.exp: Escape brackets in expect patterns
17662 for test_float_literal_types_accepted tests.
17663 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
17664 before run test.
17665
17666 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
17667
17668 * am33.exp: Just compile, do not link the testcase.
17669 * am33.s: Add ".am33" pseudoop to force am33 mode.
17670
17671 1998-06-25 Felix Lee <flee@cygnus.com>
17672
17673 * gdb.base/setshow.exp: make sure $pc is sane.
17674
17675 * gdb.stabs/weird.exp: split expect patterns properly.
17676
17677 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
17678
17679 * gdb.disasm/am33.s: New disassembler testfile for the am33.
17680 * gdb.disasm/am33.exp: Run it.
17681
17682 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
17683
17684 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
17685 match processing (and eliminate spurious timeouts when running).
17686
17687 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
17688
17689 * gdb.base/signals.exp (test_handle_all_print): put back Mach
17690 exception test, but conditionalize it on target [mach | gnu].
17691
17692 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
17693
17694 * gdb.base/overlays.exp: fixup compile line for linker script.
17695
17696 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
17697
17698 * gdb.fortran/types.exp: don't guess at float size.
17699
17700 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
17701
17702 * gdb.base/exprs.exp: delete test that depends on int size.
17703
17704 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
17705
17706 * config/sim.exp: Removed checks for target triplets.
17707 (gdb_target_sim): Use gdb,target_sim_options.
17708
17709 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
17710
17711 * gdb.base/reread.exp: New file.
17712 * gdb.base/reread1.c: New file.
17713 * gdb.base/reread2.c: New file.
17714
17715 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
17716
17717 * config/sim.exp: Use 'target sim -sparclite' when running
17718 SPARClite programs.
17719
17720 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
17721
17722 * gdb.base/structs2.exp: New file.
17723 * gdb.base/structs2.c: New file.
17724
17725 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
17726
17727 * gdb.asm/common.inc: New file.
17728 * gdb.asm/d10v.inc: New file.
17729 * asm-source.exp: Pass -I's to gas to find .inc files.
17730 Update line numbers in expected output.
17731 * asmsrc1.s: Rewrite.
17732 * asmsrc2.s: Rewrite.
17733 * configure.in: Create arch.inc symlink.
17734 * configure: Regenerate.
17735 * Makefile.in (distclean): Delete arch.inc.
17736
17737 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
17738
17739 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
17740 (t_enum_value2): ditto
17741 (t_enum_value3): ditto
17742 (main): ditto
17743 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17744
17745 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
17746 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
17747 change.
17748 Use gdb_test instead of send_gdb/gdb_expect sequences.
17749
17750 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
17751
17752 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
17753 not void.
17754
17755 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
17756
17757 * gdb.base/branches.c: Code with lots of loops and
17758 subroutines. Used to test gdbs ability to single step through PC
17759 changes, especially to test mips-tdep.c:mips_next_pc
17760
17761 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
17762
17763 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
17764 more rigorous EGCS C++ error checking.
17765
17766 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17767
17768 * gdb.base/help.exp: Clean up `help set args' and `help show args'
17769 tests.
17770 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
17771 function when asleep.
17772 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
17773 for i*86 Linux and SVR4 signal handling problems.
17774 Remove linux xfail for `next to handler in signals_tests_1', fixed
17775 by recent infrun.c change.
17776 Limit backtrace to 10 frames to avoid timeout problems with infinite
17777 stack backtraces.
17778 Adjust expect pattern in `handle all print' test to match Apr 28 1997
17779 target.[ch] change.
17780
17781 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
17782
17783 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
17784 for a newline from gdb before continuing.
17785 (default_gdb_exit): Just look for y or n.
17786 (gdb_test): Detect abnormal exit from GDB running on DOS; if
17787 it does, fail the rests of the tests in the file.
17788
17789 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
17790
17791 * config/cygmon.exp: New file.
17792
17793 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
17794
17795 * gdb.base/list.exp: Fix problem with "list default lines around
17796 main" test on remote targets.
17797
17798 * gdb.base/scope.exp: Fix problem with filelocal_bss before
17799 run test on remote targets.
17800
17801 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
17802
17803 * gdb.asm: New directory.
17804 * configure.in: Configure it.
17805 * configure: Regenerate.
17806 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
17807 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
17808
17809 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
17810
17811 * config/mn10300-eval.exp: New file to support MN10300 eval board.
17812
17813 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
17814
17815 * gdb.base/overlays (several files): Merge the two overlay
17816 managers into one. Change variables (foox, barx, bazx, grbxx)
17817 back into ints but force them to load in their proper sections.
17818
17819 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
17820
17821 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
17822 on-chip insn memory and IMAP1 to upper 128k.
17823 (D10VCopy): Handle memory regions crossing 16k boundaries.
17824 (D10VCopy): Transfer data in 32 bit chunks.
17825
17826 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
17827
17828 * gdb.base/overlays.c (main): Exit normally when result is
17829 correct.
17830
17831 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
17832 map. Include space for printf in .text segment.
17833
17834 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
17835 updated d10v memory VMA/LMA map.
17836 (D10VCopy): Call D10VTranslate.
17837
17838 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
17839
17840 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
17841
17842 * gdb.base/bar.c (barx, bar): Change variable to small array so
17843 that it won't be put into the .sdata - small data -
17844 section. Update reference.
17845 * gdb.base/baz.c (bazx, baz): Ditto.
17846 * gdb.base/foo.c (foox, foo): Ditto.
17847 * gdb.base/grbx.c (grbxx, grbx): Ditto.
17848
17849 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
17850 to be arrays.
17851
17852 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
17853
17854 * gdb.base/overlays.exp: fix up and get working again.
17855 Add tests for backtraces from an overlay function.
17856
17857 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
17858
17859 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
17860 "calling function with watchpoint enabled".
17861
17862 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
17863
17864 * gdb.base/break.exp (test_next_with_recursion): Remove
17865 gdb_suppress_tests for d10v-*-*.
17866 * lib/gdb.exp (gdb_suppress_tests): Disable this function
17867 pending review of whether it is useful or not.
17868
17869 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
17870
17871 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
17872
17873 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
17874
17875 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
17876 * config/dve.exp: New file to support Densan boards.
17877
17878 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
17879
17880 * gdb.base/interrupt.exp: Document problem of simulators, signals,
17881 reads and BSD.
17882
17883 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
17884
17885 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
17886 response.
17887
17888 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
17889
17890 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
17891
17892 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
17893 test.
17894
17895 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
17896 target_sizeof_long and target_bigendian_p.
17897 (structs_by_value, structs_by_reference): Check values according
17898 to targets word size and endianess.
17899
17900 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
17901
17902 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
17903 output.
17904
17905 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
17906
17907 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
17908 Update test of set args help to match source change.
17909
17910 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
17911
17912 * gdb.base/default.exp: Expect help system output to be in
17913 alphabetical order.
17914 * gdb.base/help.exp: Ditto.
17915
17916 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
17917
17918 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
17919 "i*86-pc-linux-gnu*".
17920 * gdb.base/interrupt.exp: Ditto.
17921 * gdb.base/corefile.exp: Ditto.
17922
17923 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
17924 define vxworks when building the testcase.
17925
17926 * gdb.base/ptype.exp: Fix testnames to be unique.
17927 * gdb.base/radix.exp: Ditto.
17928 * gdb.base/term.exp: Ditto.
17929 * gdb.base/whatis.exp: Ditto.
17930 * gdb.c++/classes.exp: Ditto.
17931
17932 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
17933
17934 * gdb.base/callfuncs.exp: Fix indentation.
17935
17936 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
17937 suppress_flag has been set.
17938 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
17939 target feature.
17940
17941 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
17942
17943 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
17944 the testcase.
17945
17946 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
17947 set_debug_traps() and breakpoint().
17948 * gdb.c++/misc.cc (main): Ditto.
17949 * gdb.c++/templates.cc (main): Ditto.
17950 * gdb.c++/virtfunc.cc (main): Ditto.
17951
17952 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
17953
17954 * lib/gdb.exp(gdb_step_for_stub): New function.
17955 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
17956 exists, reload the executable and do a "continue" instead of
17957 doing a jump.
17958 (runto_main): Use gdb_step_for_stub.
17959
17960 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
17961 tests to have unique names.
17962 * gdb.base/callfuncs.exp: Ditto.
17963 * gdb.base/commands.exp: Ditto.
17964 * gdb.base/default.exp: Ditto.
17965 * gdb.base/help.exp: Ditto.
17966 * gdb.base/list.exp: Ditto.
17967 * gdb.base/opaque.exp: Ditto.
17968 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
17969 similar tests.
17970
17971 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
17972 * gdb.c++/cplusfuncs.cc: Ditto.
17973 * gdb.c++/virtfunc.cc: Ditto.
17974
17975 * config/monitor.exp: Keep track of the last file we saw, rather
17976 than trying to get the info from gdb.
17977
17978 * gdb.fortran/types.exp: Move comment to previous line.
17979
17980 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
17981
17982 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
17983 target mode.
17984
17985 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
17986
17987 From Bob Manson:
17988 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
17989 string from GDB when it connects.
17990
17991 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
17992
17993 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
17994
17995 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
17996 if we can't get a debug format from GDB (we may be testing an
17997 older GDB). Use a 10 second timeout when checking for the format.
17998
17999 * gdb.stabs/weird.exp: Fix quoting.
18000
18001 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18002
18003 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18004
18005 * config/arm-ice.exp: New file.
18006
18007 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18008
18009 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18010 until it has been modified to work with the new testsuite.
18011
18012 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
18013 testcase won't compile, cause all of the testcases in the file to
18014 fail instead.
18015
18016 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
18017 (gdb_clear_suppressed): New procedure.
18018 (gdb_stop_suppressing_tests): Only clear suppress_flag if
18019 it contains a positive value.
18020
18021 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18022
18023 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18024
18025 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18026
18027 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
18028
18029 * lib/gdb.exp (setup_xfail_format): New function.
18030 (get_debug_format): New function to get debug format.
18031 (debug_format): New global variable to hold last value set
18032 by get_debug_format.
18033 * gdb.base/list.exp: Call get_debug_format and expect some
18034 tests to fail for DWARF 1 and COFF formats.
18035 * gdb.c++/ptype.exp: Ditto.
18036 * gdb.c++/classes.exp: Ditto.
18037 * gdb.c++/cplusfuncs.exp: Ditto.
18038 * gdb.c++/inherit.exp: Ditto.
18039 * gdb.c++/templates.exp: Ditto.
18040 * gdb.c++/virtfunc.exp: Ditto.
18041
18042 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18043
18044 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18045 host doesn't have a currently-open connection.
18046
18047 * config/sparclet.exp: Cleanups and fixes to make it generic for
18048 any gdb stub target. Handle cases where gdb doesn't respond when
18049 interrupted in a sane fashion.
18050
18051 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18052 same thing in a totally different way.
18053
18054 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18055 setting "timeout".
18056 (gdb_start): We set the global gdb_prompt variable in
18057 default_gdb_init now.
18058
18059 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
18060
18061 * gdb.base/printcmds.exp: Fix "check for floating addition"
18062 regexp to accept results within approx +/- .01 of exact value.
18063 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
18064
18065 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18066
18067 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
18068 properly.
18069 (gdb_expect): Add optional timeout parameter, and add timeout
18070 value to various calls.
18071 (gdb_suppress_tests): Only give one warning message per group.
18072
18073 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18074
18075 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18076 global variables. Handle getting a value for $timeout more
18077 gracefully.
18078
18079 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18080
18081 * lib/gdb.exp: Close connection to remote host if gdb doesn't
18082 initialize.
18083 (default_gdb_init): New procedure; allow gdb_init to be overridden
18084 by a target configuration file.
18085 (gdb_expect): Pass the timeout to remote_expect.
18086
18087 * config/monitor.exp(gdb_load): Fix typo in regexp.
18088
18089 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18090
18091 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18092
18093 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
18094
18095 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
18096 here. Call gdb_target_exec before rebooting the target, to make
18097 sure the connection to the target is closed.
18098 (gdb_load): Pass the name of the executable to gdb_target_monitor.
18099 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
18100 Also detect "Timeout reading from remote" error.
18101
18102 * config/gdbserver.exp: Pass the executable being loaded to
18103 gdb_target_monitor. Don't call gdb_file_cmd here; let
18104 gdb_target_monitor do it.
18105
18106 * gdb.disasm/hppa.exp: Don't use exec_output.
18107
18108 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
18109
18110 * gdb.base/list.exp: If we're debugging a non-native target,
18111 try to set the pc register to point to the start of the
18112 program before doing the first list command.
18113
18114 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18115 test_calls after restarting.
18116
18117 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18118 reloading.
18119
18120 * gdb.base/watchpoint.exp: Fix typo.
18121
18122 * gdb.base/setshow.exp: Check for use_gdb_stub.
18123
18124 * gdb.base/break.exp: Fix continue until exit test for the gdb
18125 stub case.
18126 * gdb.base/langs.exp: Ditto.
18127
18128 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
18129 gdb_load_offset. If we weren't given a file to load, figure out
18130 what the current file is and use it.
18131
18132 * config/i386-bozo.exp: New file.
18133
18134 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18135
18136 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18137 feature.
18138
18139 * config/proelf.exp: New entry.
18140
18141 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18142
18143 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18144 of regexps.
18145
18146 * gdb.base/watchpoint.exp: Don't run the test_stepping
18147 tests if gdb can't call functions on the target.
18148
18149 * gdb.base/setshow.exp: Don't run the set prompt tests if
18150 the board has gdb_prompt set.
18151
18152 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18153
18154 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18155 * gdb.base/commands.exp: Likewise.
18156 * gdb.base/setshow.exp: Likewise.
18157
18158 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18159
18160 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18161 feature.
18162
18163 * config/i960.exp: New file.
18164
18165 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18166
18167 * gdb.base/funcargs.exp: Check for gdb,short_int target
18168 feature instead of looking for explicit target triplets.
18169
18170 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
18171
18172 * gdb.base/printcmds.exp: add a couple more tests a la
18173 "p 123DEADBEEF", to check parse_number.
18174 * top.c: change "to enable to enable" to "to enable" in a couple
18175 of help strings.
18176
18177 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18178
18179 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18180 on the mn10300.
18181
18182 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
18183
18184 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
18185 where the test executable is run with explicit args.
18186 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
18187
18188 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
18189
18190 * gdb.base/run.c: Use FAKEARGV to build test executable that
18191 does not require a command line arg, since most simulators
18192 don't currently support passing such an arg into the simulated
18193 program.
18194 * gdb.base/commands.exp: Change tests to insert the proper
18195 value as the arg to the first recursive factorial call. Change
18196 compilation line to define FAKEARGV at compile time.
18197
18198 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
18199
18200 * gdb.base/recurse.exp: Enable these tests for the mn10300.
18201 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
18202 function with watchpoint enabled" test.
18203
18204 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
18205
18206 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
18207 Don't call gdb_test when the command doesn't return to a gdb prompt.
18208
18209 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18210 "Tests restarted" messages.
18211
18212 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18213
18214 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18215
18216 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
18217
18218 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
18219 for INFO SYMBOL; add help tests for OVERLAY commands.
18220 * gdb.base/default.exp: add tests for INFO SYMBOL command;
18221 add tests for OVERLAY commands
18222 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
18223 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
18224 * gdb.base/sigall.c: add usestubs code frag
18225 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
18226
18227 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18228
18229 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18230 failures.
18231 (gdb_stop_suppressing_tests): Note that tests have restarted.
18232
18233 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18234
18235 * config/h8300.exp: New file.
18236
18237 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18238
18239 * gdb.base/setshow.exp: Check for the existence of a
18240 feature, not its value.
18241
18242 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18243
18244 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18245
18246 * gdb.base/scope.exp: It's now init0(), not init().
18247
18248 * gdb.base/scope0.c: For now, change init() to be init0().
18249
18250 * config/monitor.exp: Use gdb_serial in preference to serial
18251 or netport.
18252
18253 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18254 and it's not already set.
18255
18256 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
18257
18258 * gdb.base/setshow.exp: Only test the run command if the target
18259 isn't using a stub and if it supports argument passing.
18260
18261 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18262
18263 * config/udi.exp(gdb_start): Make sure UDICONF is set
18264 properly before starting gdb.
18265
18266 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
18267
18268 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
18269 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
18270 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
18271
18272 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18273
18274 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18275 specialized code to reboot the board, use remote_reboot instead.
18276
18277 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18278
18279 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18280
18281 * config/monitor.exp: Make sure we disconnect from the target.
18282 Also, try a reboot/reload cycle instead of failing if the
18283 load fails.
18284
18285 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
18286
18287 * gdb.base/default.exp: Don't set match_max.
18288 * gdb.base/help.exp: Ditto.
18289 * gdb.base/list.exp: Ditto.
18290 * gdb.base/signals.exp: Ditto.
18291
18292 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18293 set, use remote_ld to download the testcase instead of
18294 the GDB loader.
18295
18296 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18297
18298 * config/vr5000.exp: New file.
18299
18300 * config/monitor.exp(gdb_target_monitor): Add pattern for
18301 "Ending remote" to detect errors in connecting.
18302
18303 * gdb.base/setshow.exp: Add .* within auto language test.
18304
18305 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18306 target feature.
18307
18308 * config/monitor.exp(gdb_load): Check for a failure when loading,
18309 and reboot the board if necessary.
18310
18311 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18312 a set of tests. Remove print.* from the patterns being checked.
18313
18314 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18315
18316 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18317 refer to gdb_spawn_id.
18318
18319 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
18320 longer used.
18321 * config/sparclet.exp: Ditto.
18322 * config/sparclet-old.exp: Ditto.
18323 * config/slite.exp: Ditto.
18324 * config/sim.exp: Ditto.
18325 * gdb.base/funcargs.exp: Ditto.
18326
18327 * lib/gdb.exp:Remove references to gdb_spawn_id.
18328 (gdb_expect): Move to remote.exp.
18329
18330 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18331
18332 * config/monitor.exp: Detect the "Couldn't establish connection"
18333 message from GDB.
18334
18335 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18336
18337 * gdb.base/bitfields.exp: Use runto instead of explicit
18338 gdb_run_cmd/gdb_expect sequences.
18339
18340 * gdb.base/break.exp(text_next_with_recursion): Add match for
18341 gdb_expect call.
18342
18343 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
18344 We also need to handle the "A program is being debugged already"
18345 prompt from gdb. Use gdb_test to set the baud rate.
18346
18347 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18348 to 20000. Really. I mean it.
18349
18350 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18351
18352 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
18353 fails. If suppress_flag is set, skip perror message about not
18354 being able to send to GDB.
18355 (send_gdb): If suppress_flag is set, don't try to send commands to
18356 GDB.
18357 (gdb_expect): If suppress_flag is set, always fail immediately.
18358 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
18359 (gdb_init): Call gdb_stop_suppressing_tests.
18360 (default_gdb_exit): Ditto.
18361 (default_gdb_start): Ditto.
18362
18363 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
18364 gdb_stop_suppressing_tests as appropriate.
18365 * gdb.base/break.exp: Ditto.
18366 * gdb.base/callfuncs.exp: Ditto.
18367 * gdb.base/commands.exp: Ditto.
18368 * gdb.base/exprs.exp: Ditto.
18369 * gdb.base/funcargs.exp: Ditto.
18370 * gdb.base/list.exp: Ditto.
18371 * gdb.base/recurse.exp: Ditto.
18372 * gdb.base/scope.exp: Ditto.
18373 * gdb.base/structs.exp: Ditto.
18374 * gdb.c++/inherit.exp: Ditto.
18375
18376 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18377
18378 * config/vr4300.exp: New file.
18379
18380 * gdb.*/*.exp: Call gdb_expect instead of expect.
18381
18382 * lib/gdb.exp(gdb_expect): New function.
18383
18384 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18385
18386 * lib/gdb.exp(gdb_init): New function.
18387
18388 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
18389 for each individual variable set.
18390
18391 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18392 name.
18393
18394 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18395
18396 * gdb.base/scope.exp: Use gdb_test.
18397
18398 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
18399 aborting; the testsuite driver will do that for us (see
18400 gdb_finish). Also, use gdb_test in a few more places.
18401
18402 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18403
18404 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18405
18406 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18407
18408 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18409 and "add_tests" are not at the same address.
18410
18411 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18412
18413 * gdb.base/ptype.exp: Use gdb_test.
18414
18415 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
18416
18417 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
18418 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
18419 left in. No longer expect them to fail.
18420
18421 * gdb.stabs/*.mt; Deleted, no longer used.
18422 * gdb.stabs/configure.in: Remove references to target makefile
18423 frags.
18424 * gdb.stabs/configure: Rebuilt.
18425
18426 * gdb.disasm/*.mt: Deleted, no longer used.
18427 * gdb.disasm/configure.in: Remove references to target makefile
18428 frags. Use "sh3.s" as the unique filename for this directory.
18429 * gdb.disasm/configure: Rebuilt.
18430
18431 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
18432 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
18433 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
18434
18435 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18436
18437 * config/udi.exp: Use mondfe,name instead of remote_host.
18438
18439 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18440
18441 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18442 a function with a watchpoint enabled on the mn10200.
18443
18444 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18445 before trying to create it!
18446
18447 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18448
18449 * config/vx.exp: Use hostname instead of netport.
18450
18451 * config/vxworks.exp: New file.
18452
18453 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18454
18455 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
18456 gdb before assuming everything worked. Send a ^C if a timeout
18457 occurs.
18458
18459 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
18460 $gdb_spawn_id directly.
18461 (gdb_run_cmd): Try _start as well as start. Use the target feature
18462 gdb,start_symbol as the symbol to start from when jumping.
18463
18464 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18465
18466 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18467 redundant) test.
18468
18469 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18470 it doesn't lose for 16bit integer systems.
18471
18472 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18473
18474 * gdb.fortran/types.exp: If the target doesn't support "double"
18475 data types, then expect "real" types to only be 4 bytes.
18476
18477 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18478 call tests if the target doesn't support inferior function calls.
18479
18480 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18481 in printf tests.
18482
18483 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18484
18485 * gdb.base/help.exp: Disable "help set", "help show", and
18486 "help support". Simplify regexp for "help stack".
18487
18488 * gdb.base/default.exp: Set match_max to 5000 and the timeout
18489 to 60 seconds. Temporarily set match_max to 15000 around the
18490 "info copying" test.
18491
18492 * gdb.base/nodebug.exp: Don't try to do an inferior function
18493 call if the target doesn't support them.
18494 * gdb.base/printcmds.exp: Likewise.
18495 * gdb.base/setvar.exp: Likewise.
18496 * gdb.base/structs.exp: Likewise.
18497 * gdb.c++/templates.exp: Likewise.
18498 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
18499
18500 * gdb.base/recurse.exp: Enable for the mn10200.
18501
18502 * configure.in: Do configure gdb.stabs directory for *-*-elf
18503 targets.
18504 * configure: Rebuilt.
18505
18506 * gdb.base/break.exp: Check for gdb,noresults before testing
18507 exit status and/or results from the target.
18508 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
18509 * lib/gdb.exp: Remove old (now bogus) initialization of
18510 noinferior, noargs, noresults and nosignals.
18511
18512 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18513
18514 * config/sh.exp: New file.
18515
18516 * config/slite.exp: Try to connect multiple times to the board
18517 before rebooting. Only send a "monitor run" if need_monitor_run
18518 is set.
18519
18520 * gdb.base/break.exp: Don't do the "stub continue" test if
18521 the target has gdb_stub set.
18522
18523 * gdb.base/callfuncs.exp: Increase the timeout.
18524
18525 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18526 if the target has gdb,noinferiorio set.
18527
18528 * gdb.base/list.exp: Increase match_max to 10000 characters.
18529
18530 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18531
18532 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18533 target.
18534
18535 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18536
18537 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
18538
18539 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
18540 trying to delete the copy of gdb. Catch the file delete so we
18541 don't die if the delete fails; also, the file should be copied to
18542 the host, not to the build.
18543
18544 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18545
18546 * lib/gdb.exp(gdb_test): Surround the result pattern with
18547 parenthesis in case it contains multiple regexps separated
18548 with |.
18549
18550 * gdb.base/watchpoint.exp: Use gdb_test.
18551 * gdb.base/default.exp: Ditto.
18552
18553 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
18554
18555 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
18556
18557 * gdb.base/scope.exp: Use gdb_test.
18558 * gdb.c++/classes.exp: Ditto.
18559 * gdb.c++/inherit.exp: Ditto.
18560
18561 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
18562
18563 * gdb.base/crossload.exp: Don't use execute_anywhere, use
18564 remote_exec instead.
18565 * gdb.base/corefile.exp: Don't be ridiculous.
18566 * gdb.base/*.c: Add missing stub invocations.
18567
18568 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
18569
18570 * config/slite.exp: Miscellaneous fixes.
18571
18572 * lib/gdb.exp: Fix runto.
18573
18574 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
18575 the target.
18576
18577 * gdb.base/watchpoint.exp: Fix regexp.
18578
18579 * lib/gdb.exp(default_gdb_exit): Add a catch to the
18580 close and wait commands, as the descriptor may now be
18581 invalid. Always call "remote_close host".
18582
18583 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
18584
18585 Major rewrite for testsuite revision.
18586
18587 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
18588 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
18589 instead of relying on spawn_id to always contain a valid
18590 spawn id.
18591 (get_compiler_info): New procedure to build the ${binfile}.ci
18592 file, instead of replicating this in N different places.
18593 (gdb_compile): New procedure.
18594
18595 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
18596 appropriate arguments) instead of compile. Use gdb_test in a lot
18597 more places. Use send_gdb instead of send. Always run gdb_start
18598 at the start of a testcase, as this is no longer done magically.
18599
18600 config/*-gdb.exp: Rename without the -gdb suffix.
18601
18602 config/mips.exp: Use remote_close instead of exit_remote_shell.
18603 config/monitor.exp: Use target_info instead of looking at
18604 baud, timeout, etc.
18605 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
18606
18607 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18608
18609 * gdb.c++/templates.exp (test_ptype_of_templates),
18610 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
18611 Update expect patterns for destructors and assignment operators
18612 to match corresponding c-typeprint.c changes.
18613 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
18614 to destructor breakpoint test, GDB should be able to set the
18615 destructor breakpoint without specifying arguments.
18616
18617 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
18618
18619 * gdb.threads/pthreads.exp: Change result for failure to compile due
18620 to lack of pthreads runtime support from an error to simply an
18621 unsupported test, per dejagnu standards.
18622
18623 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18624
18625 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
18626 where GDB exits to reduce pattern match time.
18627 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
18628
18629 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
18630
18631 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
18632
18633 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
18634 * gdb.base/default.exp: ditto.
18635 * gdb.base/nodebug.exp: ditto.
18636 * gdb.base/printcmds.exp: ditto.
18637 * gdb.base/ptype.exp: ditto.
18638 * gdb.base/setvar.exp: ditto.
18639 * gdb.base/structs.exp: ditto.
18640 * gdb.base/setshow.c: Guard against uninitialized values of argc.
18641
18642 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
18643
18644 * configure, */configure: Rebuild with autoconf 2.12.
18645
18646 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
18647
18648 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
18649 use new i*86-pc-linux*-gnu quads.
18650 * gdb.base/corefile.exp: Ditto.
18651 * gdb.base/signals.exp: Ditto.
18652 * gdb.base/sigall.exp: Ditto.
18653 * gdb.base/interrupt.exp: Ditto.
18654
18655 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
18656 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
18657 RedHat 4.0.
18658
18659 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
18660 linux. This allows the test case to at least compile on latest
18661 linux, but still not run due to missing the threads runtime library.
18662
18663 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18664
18665 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
18666 directory to search gdb directory. Accept and step over conditional
18667 stack alignment code. Consume $prompt in failure cases.
18668 Reset timeout to $oldtimeout instead of some arbitrary value.
18669 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
18670 timeout problems with infinite stack backtraces.
18671 * gdb.base/ptype.exp (ptype struct link, union tu_link):
18672 Accept function parameters for linkfunc member.
18673
18674 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
18675
18676 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
18677 (CXXFLAGS): Remove, unreferenced.
18678 (B_OPTIONS): Add for -B options and add code to initialize with
18679 previous -B options and also add -B option to pick up cross compiled
18680 runtime.
18681 (TARGET_INCLUDES): Add for -I options and add code to initialize when
18682 doing cross compiles.
18683 (target_alias): Declare global.
18684 (xgcc): Set variable to full path of gcc in build tree. Use findfile
18685 to verify that gcc exists in build tree, and if so set CC to that
18686 gcc and to use B_OPTIONS and TARGET_INCLUDES.
18687
18688 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
18689
18690 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
18691 ptype test for anonymous union. Fixup testcase to match
18692 current gcc debug output.
18693
18694 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
18695
18696 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
18697 force argument to an unsigned long type.
18698
18699 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
18700
18701 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
18702 tests and anonymous union print/ptype tests.
18703 * gdb.base/list.exp (test_forward-search): Increase timeout by
18704 5 minutes for the "search extremely long line" case.
18705 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
18706 completely optional and that the pass/fail messages use the command as
18707 the message if that third arg is a null string.
18708 (gdb_test_exact): Arrange that a null string pattern means match a
18709 null string output rather than any output, which might include random
18710 errors.
18711 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
18712 backtrace test.
18713 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
18714 always failing and failure is now exposed by gdb.exp changes.
18715
18716 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
18717
18718 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
18719 weren't being noted.
18720
18721 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18722
18723 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
18724 * gdb.stabs/weird.exp: Remove v_comb xfails.
18725
18726 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
18727
18728 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
18729 list.exp scope.exp watchpoint.exp]
18730 Make all timeout error msgs explicitly say "(timeout)".
18731
18732 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
18733
18734 * config/monitor.exp: Increase download timeout to 1000 seconds.
18735
18736 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
18737
18738 * config/m32r.exp: Increase timeout to 120 seconds.
18739
18740 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
18741
18742 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
18743 and accept older ordering as obsolescent gcc or gdb.
18744 * gdb.c++/templates.exp: Ditto.
18745 * gdb.c++/virtfunc.exp: Ditto.
18746
18747 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
18748
18749 * gdb.base/coremaker.c: Add code to mmap some data so we
18750 can check that it ends up in the core file.
18751 * gdb.base/corefile.exp: Add test to read mmapped data
18752 from core file.
18753
18754 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
18755
18756 * config/m32r.exp: New file.
18757
18758 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
18759
18760 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
18761 that cflags can contains -gstabs, and work correctly for other tests.
18762
18763 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
18764
18765 * gdb.base/setshow.exp: New file, tests show and set.
18766 * gdb.base/setshow.c: New file, tests show and set.
18767 * gdb.base/help.exp: Add test for help set|show annotate.
18768 * gdb.base/default.exp: Add test for set|show annotate.
18769
18770 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
18771
18772 * testsuite/gdb.base/break.exp: Make backtrace from factorial
18773 errors unique.
18774 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
18775 explicitly.
18776
18777 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
18778
18779 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
18780 and width commands. This is done elsewhere.
18781 * (gdb_start): Don't call gdb_start_sim here. That's already
18782 done in gdb_load. This fixes lots of failures in default.exp.
18783
18784 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
18785
18786 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
18787 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
18788 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
18789 in the same we we treat other failures (since it may be an expected
18790 condition), rather than as an error.
18791 * gdb.base/signals.exp (test_handle_all_print): Revert back to
18792 old test format.
18793
18794 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
18795
18796 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
18797 (distclean maintainer-clean realclean): No need to remove files
18798 twice. Nuke the duplicates.
18799 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
18800 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
18801 Remove config.h along with other config files.
18802
18803 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
18804
18805 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
18806 "p func1 ()" and note that rests of tests are skipped.
18807 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
18808 setup_xfails for "print func2::coremaker_local".
18809 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
18810 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
18811 affected by the previous run test.
18812 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
18813 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
18814 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
18815 "pass int powerset tuple" and "pass modeless int powerset tuple".
18816 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
18817 "real write 4" and "real write 8".
18818 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
18819 setup_xfails for "print vs1 after tuple assign 2",
18820 "print \$i after tuple assign 2", and
18821 "print vs2 after tuple assign 2".
18822 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
18823 meaningful error message and return -1 so the caller can
18824 suppress further tests and avoid a cascade of errors.
18825
18826 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
18827
18828 * gdb.base/a1-selftest.exp: Tweak tests to account for new
18829 format for printing version.
18830 * gdb.base/default.exp: Ditto.
18831 * gdb.base/interrupt.exp: Fix problem with cascade of
18832 errors if child process dies while calling a function.
18833
18834 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
18835
18836 * Makefile.in (VPATH): Add
18837 * Makefile.in (Makefile, config.status): Fix rules so things get
18838 remade when necessary.
18839
18840 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
18841
18842 * Makefile.in (just-check): Add path to sibling expect dir
18843 to environment variable specified by RPATH_ENVVAR.
18844
18845 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
18846
18847 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
18848 (just-check): Add shared library paths for libstdc++, tk,
18849 tcl, bfd, and opcodes to the environment variable specified
18850 in RPATH_ENVVAR.
18851 * configure.in: Add support to recognize --enable-shared flag
18852 and generate correct value for RPATH_ENVVAR.
18853 * configure: Regenerated with autoconf.
18854
18855 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
18856
18857 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
18858 include all osf versions.
18859 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
18860 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
18861 when target is linux. When failing to build pthreads test
18862 executable, give more meaningful message.
18863 * gdb.threads/pthreads.c: Hpux also uses old definition of second
18864 arg for pthread_create.
18865
18866 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
18867
18868 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
18869 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
18870 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
18871 and -lpthreads (everybody else).
18872 (test_startup): Fail gracefully if threads are not supported.
18873 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
18874 "p/c array_index("abcdef",2)" when not gcc compiled.
18875 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
18876 "print func2::coremaker_local" when not gcc compiled.
18877 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
18878 "ptype on opaque struct tagname (statically)",
18879 "ptype on opaque struct tagname (dynamically) 1", and
18880 "ptype on opaque struct tagname (dynamically) 2"
18881 for not compiled with gcc.
18882 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
18883 backtrace when compiled with gcc.
18884 * lib/gdb.exp (runto_main): Return result of "runto main" rather
18885 than always return success.
18886
18887 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
18888
18889 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
18890
18891 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
18892
18893 * gdb.base/structs.exp: Undo last change.
18894
18895 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
18896
18897 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
18898 encapsulate all the steps/nexts done during self test, starting
18899 at main, and makes them less sensitive to optimization issues.
18900 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
18901 signal handler" test.
18902 * gdb.threads/pthreads.exp: Only run this for native configs.
18903 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
18904 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
18905 tests.
18906 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
18907 for "runto test_calls(void)" test.
18908
18909 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
18910
18911 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
18912 and don't expect address info in breakpoint confirmations.
18913
18914 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
18915
18916 * gdb.base/list.exp (test_forward_search): Increase timeout
18917 temporarily by 60 seconds for searching extremely long line,
18918 and then reset to old value when done. Increase expect input
18919 buffer to 10000.
18920
18921 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
18922
18923 * gdb.base/list.exp (test_forward_search): Fix to handle very
18924 long source line without overflowing expect's input buffer.
18925
18926 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
18927
18928 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
18929 "buffer_full".
18930
18931 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
18932 "buffer_full".
18933
18934 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
18935 "buffer_full".
18936
18937 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
18938 "buffer_full".
18939
18940 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
18941
18942 * configure.in (configdirs): Add gdb.threads.
18943 * configure: Regenerated with autoconf.
18944 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
18945 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
18946 * gdb.threads/configure: New, generated with autoconf.
18947
18948 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
18949
18950 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
18951
18952 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
18953
18954 * gdb.base/signals.exp (test_handle_all_print): Test separately for
18955 each signal's status in the output of "handle all print".
18956 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
18957 the \r\n sequence that immediately precedes the gdb prompt.
18958 * gdb.base/a1-selftest.exp: Save original timeout and restore
18959 after test.
18960
18961 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
18962
18963 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
18964 symbol.
18965
18966 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
18967
18968 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
18969
18970 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
18971
18972 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
18973 timeout by 60 seconds.
18974
18975 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
18976
18977 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
18978 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
18979 error return.
18980
18981 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
18982
18983 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
18984 gdb initialization, also report how long dejagnu waited. Restore
18985 old timeout before doing error return. Temporarily increase timeout
18986 by 3 minutes to allow for slow startups over heavy NFS use.
18987
18988 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
18989
18990 * lib/gdb.exp: Report timeout value for verbosity level 2.
18991 * config/gdbserver.exp: Ditto.
18992 * config/hppro.exp: Ditto.
18993 * config/mips-gdb.exp: Ditto.
18994 * config/monitor.exp: Ditto.
18995 * config/netware.exp: Ditto.
18996 * config/sim-gdb.exp: Ditto.
18997 * config/slite-gdb.exp: Ditto.
18998 * config/udi-gdb.exp: Ditto.
18999 * config/unix-gdb.exp: Ditto.
19000 * config/vx-gdb.exp: Ditto.
19001 * gdb.base/a1-selftest.exp: Ditto.
19002 * gdb.base/a2-run.exp: Ditto.
19003 * gdb.base/break.exp: Ditto.
19004 * gdb.base/corefile.exp: Ditto.
19005 * gdb.base/list.exp: Ditto.
19006 * gdb.base/recurse.exp: Ditto.
19007 * gdb.base/scope.exp: Ditto.
19008 * gdb.base/signals.exp: Ditto.
19009
19010 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19011
19012 * gdb.threads/Makefile.in (docdir): Removed.
19013
19014 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19015
19016 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19017 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
19018 @srcdir@.
19019 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
19020 autoconf 2.5 or higher.
19021 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
19022
19023 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
19024
19025 * configure: Regenerated.
19026 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
19027 avoid name clashes with SunOS headers.
19028
19029 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19030
19031 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19032
19033 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19034
19035 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19036 prototype information ends up in the compiler info file.
19037
19038 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
19039
19040 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
19041 attempting to regenerate it. Eliminate use of a temporary file
19042 and just generate the info file directly. Source it immediately,
19043 for consistency of use.
19044 * gdb.base/corefile.exp: Ditto
19045 * gdb.base/exprs.exp: Ditto.
19046 * gdb.base/funcargs.exp: Ditto.
19047 * gdb.base/langs.exp: Ditto.
19048 * gdb.base/list.exp: Ditto.
19049 * gdb.base/mips_pro.exp: Ditto.
19050 * gdb.base/nodebug.exp: Ditto.
19051 * gdb.base/opaque.exp: Ditto.
19052 * gdb.base/ptype.exp: Ditto.
19053 * gdb.base/scope.exp: Ditto.
19054 * gdb.base/setvar.exp: Ditto.
19055 * gdb.base/signals.exp: Ditto.
19056 * gdb.base/whatis.exp: Ditto.
19057 * gdb.c++/templates.exp: Ditto.
19058 * gdb.c++/virtfunc.exp: Ditto.
19059 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
19060 whether or not to add -lstdc++ to the compile command line args.
19061
19062 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19063
19064 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
19065 it got fixed by the recent lookup_minimal_symbol_by_pc change.
19066 Increase timeout, a lot of single stepping might be needed if the
19067 target has no hardware watchpoints.
19068
19069 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19070
19071 * gdb.base/break.exp: Ignore compiler warnings when compiling
19072 break.c.
19073 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19074 * gdb.base/default.exp: Add h8300 xfails. Handle messages
19075 from remote-sim.
19076 * gdb.base/exprs.exp: Add h8300 xfails.
19077 * gdb.base/funcargs.exp: Likewise.
19078 * gdb.base/nodebug.exp: Likewise.
19079 * gdb.base/printcmds.exp: Likewise.
19080 * gdb.base/ptype.exp: Likewise.
19081 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
19082 h8300 xfails.
19083 * gdb.base/return.exp: Handle float/double precision problems
19084 on the h8300.
19085 * gdb.base/funcargs.c: Explicitly make last constant argument to
19086 call_after_alloca_subr an unsigned long type.
19087 * gdb.base/return.c: Include stdio.h.
19088
19089 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
19090
19091 * config/abug.exp: New file for the older Motorola Bug monitor
19092 that runs on the mvme13x series VME boards.
19093 * config/monitor.exp: Use the new config array for target settings
19094 if they exist.
19095
19096 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19097
19098 * sim-gdb.exp: Make the SH simulator allocate less space when
19099 it is targeted.
19100
19101 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19102
19103 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19104 test.
19105
19106 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
19107
19108 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
19109 "rs6000-*-*" for "list function in include file" when gcc compiled.
19110 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
19111 for "p ctable1[120]".
19112 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
19113 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
19114 Remove setup_xfail for "rs6000-*-*" for
19115 "print 'scope0.c'::filelocal before run".
19116 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
19117 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
19118 since some compilers don't allow both options to be given
19119 on the same command line. Create object file and move it.
19120
19121 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
19122
19123 * gdb.base/corefile.exp: Always regenerate the core file, since
19124 we always regenerate the coremaker program. Detect special case
19125 where registers cannot be read from core file.
19126
19127 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
19128
19129 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
19130 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
19131 * gdb.c++/templates.exp: Only match on basename of file since
19132 some formats like xcoff don't encode directory information.
19133 * gdb.stabs/weird.exp: Use the right sed script for powerpc
19134 and rs6000 AIX xcoff targets.
19135 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
19136 * configure: Regenerate.
19137 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
19138 here, rather than in distclean.
19139
19140 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
19141
19142 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
19143 defined, and use it to compile the test case with -O2. The
19144 native compilation still uses no optimization.
19145 * gdb.base/mips_pro.c: Remove inline assembly code since
19146 it is compiled PIC by default, which results in assembler
19147 warnings that make the testsuite think the compilation
19148 was unsuccessful.
19149
19150 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
19151
19152 * gdb.c++/misc.exp: Add note to message for
19153 "print s.a for foo struct" that this is a known gcc 2.7.2
19154 and earlier bug.
19155
19156 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
19157
19158 * gdb.base/break.exp: Fix pattern for matching "Delete all
19159 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
19160 setup_xfail for deleting all breakpoints test. Fix various
19161 timeout messages to include "(timeout)".
19162 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
19163 for "p t_float_values2(3.14159,float_val2)".
19164 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
19165 for "continue to call2g" when gcc compiled.
19166 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
19167 "up to foo in langs.exp", "show language at foo in langs.exp",
19168 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
19169 and "show language at fsub in langs.exp".
19170 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
19171 "list line 1 in include file", "list message for lines past EOF",
19172 "list function in include file", "list list0.h:foo", and
19173 "list filename:function; nonexistant function".
19174 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
19175 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
19176 and "ptype t_char_array" to be for native cc only.
19177
19178 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
19179
19180 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
19181 setup_xfail for "print coremaker_bss", "print coremaker_ro",
19182 "print func2::coremaker_local", and "backtrace in corefile.exp".
19183
19184 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
19185
19186 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
19187 "bt in signals.exp". This problem only appears when running
19188 the testsuite, and then only intermittently.
19189
19190 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19191
19192 * gdb.base/return.exp (return_tests): Differentiate between
19193 two tests of continuing.
19194
19195 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
19196
19197 * */Makefile.in (maintainer-clean): Remove config.log.
19198 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
19199 * gdb.c++/Makefile.in (PROGS): Add inherit.
19200 (clean): Remove *.ci.
19201
19202 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
19203
19204 * gdb.c++/misc.cc: Add test code from Mike Stump.
19205 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
19206
19207 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
19208
19209 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
19210 to "alpha-*-osf2*" and add comment.
19211 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
19212 setup_xfail for "step over execarg initialization" and
19213 "step over corearg initialization".
19214 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
19215 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
19216 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
19217 gcc compiled for "print coremaker_bss", "print coremaker_ro",
19218 "print func2::coremaker_local", and "backtrace in corefile.exp".
19219 * gdb.base/signals.exp: Build and source signals.ci.
19220 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
19221 to be for gcc only.
19222 * lib/gdb.exp: Move verbose statements outside conditionals.
19223
19224 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19225
19226 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19227 Feb 3 procfs.c change.
19228
19229 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19230
19231 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19232
19233 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
19234
19235 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
19236 from dejagnu's apparent default of 10 seconds, which gives random
19237 results when running the tests over NFS on moderately loaded systems.
19238 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
19239
19240 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
19241
19242 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
19243 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
19244 result reports.
19245
19246 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19247
19248 * configure.in (CY_AC_PATH_TCLH): Remove.
19249 * configure: Regenerate.
19250
19251 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19252
19253 * gdb.c++/Makefile.in (clean): Add missing '{'.
19254
19255 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19256
19257 * lib/gdb.exp: Provide a default value for noinferior.
19258
19259 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19260 Load libgloss.exp.
19261
19262 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19263
19264 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19265 the executable, not the .o to run the tests from.
19266
19267 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
19268
19269 * gdb.base/break.exp: Don't test for program exit or exit status
19270 if $noresults if nonzero.
19271 * gdb.base/langs.exp: Likewise.
19272 * gdb.base/watchpoint.exp: Likewise.
19273
19274 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
19275 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
19276 trying to compile the testcase.
19277
19278 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19279
19280 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19281 * gdb.base/signals.exp (continue to handler): Likewise.
19282
19283 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19284
19285 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19286
19287 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19288
19289 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
19290
19291 * gdb.base/corefile.exp: Recognize "not found" as failure
19292 when trying to determine if a core file was generated.
19293 If no core file was generate the first time, try again without
19294 the ulimit -c to work around braindamaged shells.
19295
19296 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19297
19298 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19299 [] tests with "test" and enclose string in quotes.
19300 * gdb.stabs/configure: Rebuild
19301
19302 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
19303
19304 Changes in sync with expect:
19305 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
19306 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
19307 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
19308 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
19309 argument to AC_REQUIRE.
19310 * configure: Regenerated.
19311
19312 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
19313
19314 * gdb.base/corefile.exp: When generating a core, discard any
19315 error messages about ulimit not found and the "core dumped"
19316 message from the shell that runs the coredumper.
19317
19318 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19319
19320 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19321
19322 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19323 which sed script to run. Expect failure for v_comb test
19324 on PA targets too.
19325
19326 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19327
19328 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19329 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19330
19331 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
19332
19333 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
19334 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
19335 "sparc-sun-solaris*" xfails for "p v_comb".
19336 * lib/gdb.exp (default_gdb_start): Fix typo.
19337 * gdb.base/corefile.exp: Allow "Core was generated by ..."
19338 messages to not include the full program name that caused
19339 the core dump since some systems (such as solaris) apparently
19340 truncate this path to about 80 characters.
19341 When generating a core file first try increasing the core file
19342 size limit to unlimited since some systems may default it to
19343 zero, and it is harmless to try it. Move the test for failing
19344 to generate a core file to where it will actually get executed.
19345 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
19346 new gdb result from g++ debug info improvements and make old
19347 pattern obsolescent. Also account for size_t differences
19348 (may be int or long).
19349 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
19350 initialization before function call is placed in the delay slot
19351 and thus appears to be skipped over by commands such as "next".
19352
19353 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19354
19355 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19356
19357 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
19358
19359 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
19360 input source file; fix code to compile test to deal with this
19361 convention.
19362 * gdb.c++/*.exp: Likewise.
19363
19364 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19365
19366 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19367 "bt in signals.exp".
19368
19369 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19370
19371 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19372 "step over execarg initialization" and
19373 "step over corearg initialization".
19374
19375 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19376
19377 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19378 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19379
19380 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
19381
19382 From Rob Savoye (rob@poseidon.cygnus.com)
19383 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
19384 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
19385 configure.in}, gdb.disasm/{Makefile.in, configure.in},
19386 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
19387 configure.in}: Major reworking for autoconfig.
19388 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
19389 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
19390 New files.
19391 * config/unix-gdb.exp: Make GDB global.
19392 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
19393 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
19394 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
19395 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
19396 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
19397 term.exp, twice.exp, watchpoint.exp, whatis.exp},
19398 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
19399 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
19400 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
19401 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
19402 pr-8136.exp, result.exp, string.exp, tuples.exp},
19403 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
19404 to returns as necessary, arrange for test to compile own testcase
19405 executable.
19406 * lib/gdb.exp: Changes for testsuite to compile own test cases.
19407
19408 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
19409
19410 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
19411 clear_xfail at end of test which might not call either pass or fail.
19412 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
19413 "backtrace through signal handler".
19414
19415 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19416
19417 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
19418 continuing from a job control stop signal.
19419 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
19420
19421 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19422
19423 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19424 * gdb.base/corefile.exp: Likewise.
19425 * gdb.base/funcargs.exp: Likewise.
19426
19427 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19428
19429 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19430 * config/monitor.exp: Add support for setting baud rate.
19431
19432 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
19433
19434 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
19435 i*86-*-linux* xfails for "backtrace through signal handler".
19436 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
19437 "print func2::coremaker_local".
19438 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
19439 alpha-dec-osf2* xfail for
19440 "delete all breakpoints when none".
19441
19442 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
19443
19444 * gdb.base/break.exp: Change test that deletes all breakpoints
19445 when no user breakpoints are installed. A post 4.15 change
19446 causes gdb to no longer prompt in this case.
19447
19448 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
19449
19450 * gdb.base/return.exp (return_tests): Change xfail for test
19451 "correct value returned double test" to stop xfailing at
19452 Solaris 2.5. Apparently the bug has been fixed.
19453
19454 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
19455
19456 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
19457 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
19458
19459 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19460
19461 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19462 * gdb.disasm/hppa.s: Corresponding changes.
19463
19464 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19465
19466 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19467 makefile fragment.
19468 * config/mt-hpux: Deleted.
19469
19470 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19471
19472 * Many files: When warning about suppressed tests due to a
19473 nonexistant test binary, avoid incrementing the warning count.
19474
19475 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19476
19477 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
19478
19479 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19480
19481 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19482 "sparc-*-solaris2*".
19483
19484 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19485
19486 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
19487 Add global and local variables and initialize them.
19488 * gdb.base/corefile.exp: Test correct mapping of corefile sections
19489 by printing variables. Remove rs6000 and powerpc xfails, BFD now
19490 extracts the file name and terminating signal from the core file.
19491 * TODO: Remove note about tests for correct mapping of corefile.
19492 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
19493 from optimizing it away.
19494 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
19495 handles common blocks.
19496
19497 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19498
19499 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19500 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19501
19502 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19503
19504 * Makefile.in (maintainer-clean): New target, synonym for
19505 realclean.
19506 * gdb.base/Makefile.in (maintainer-clean): Likewise.
19507 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
19508 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
19509 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
19510 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
19511 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
19512
19513 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
19514
19515 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
19516 xfails when not gcc compiled for "print foo::funclocal".
19517 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
19518 "print foo::funclocal at foo",
19519 "print 'scope1.c'::foo::funclocal at foo",
19520 "print foo::funclocal_bss at foo",
19521 "print 'scope1.c'::foo::funclocal_bss at foo",
19522 "print foo::funclocal_ro at foo",
19523 "print 'scope1.c'::foo::funclocal_ro at foo",
19524 "print bar::funclocal at foo" and
19525 "print 'scope1.c'::bar::funclocal at foo".
19526 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
19527 gcc compiled for "print foo::funclocal at bar".
19528 Expand all messages to ensure that they identify that
19529 the test is at bar().
19530 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
19531 gcc compiled for:
19532 "ptype on opaque struct pointer (statically)",
19533 "ptype on opaque struct tagname (statically)",
19534 "ptype on opaque struct pointer (dynamically) 1",
19535 "ptype on opaque struct tagname (dynamically) 1",
19536 "ptype on opaque struct pointer (dynamically) 2" and
19537 "ptype on opaque struct tagname (dynamically) 2
19538 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
19539 gcc compiled for:
19540 "p datalocal"
19541 "whatis datalocal",
19542 "ptype datalocal",
19543 "p bsslocal",
19544 "whatis bsslocal", and
19545 "ptype bsslocal".
19546 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
19547 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
19548 when not gcc compiled.
19549 * gdb.base/funcargs.exp (float_and_integral_args): Add
19550 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
19551 compiled.
19552 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
19553 "backtrace from call6a" when not gcc compiled.
19554 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
19555 "backtrace from call7a" when not gcc compiled.
19556 * gdb.base/callfuncs.exp (do_function_calls):
19557 Add "hppa*-*-hpux*" xfail when not gcc compiled for
19558 "p t_char_array_values(char_array_val2,char_array_val1)",
19559 "p t_char_array_values(char_array_val1,char_array_val2)",
19560 "p t_char_array_values("carray 1","carray 2")",
19561 "p t_char_array_values("carray 1",char_array_val2)",
19562 "p t_char_array_values(char_array_val1,"carray 2")",
19563 "p sum_args(1,{2})",
19564 "p sum_args(2,{2,3})",
19565 "p sum_args(3,{2,3,4})",
19566 "p sum_args(4,{2,3,4,5})"
19567 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
19568 "backtrace in corefile.exp" when not gcc compiled.
19569
19570 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19571
19572 * gdb.base/signals.exp: Rewrite `handle all print' test as
19573 a procedure. Accept blanks or TABs as whitespace, increase
19574 timeout and expect input buffer size for the large output
19575 from the command. Remove "i*86-*-bsdi2.0" xfail.
19576
19577 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19578
19579 * gdb.base/setvar.exp: Add new testcases for truncation when
19580 assigning invalid values to bitfields.
19581
19582 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
19583
19584 * gdb.base/callfuncs.exp (do_function_calls): Remove
19585 mips-sgi-irix* xfail for
19586 "call inferior func with struct - returns char *"
19587 and fix test so that an optional (unsigned char *) cast is
19588 accepted in the result.
19589
19590 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
19591
19592 * gdb.base/funcargs.exp (float_and_integral_args): Remove
19593 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19594 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
19595 * gdb.base/signals.exp: Remove duplicate "handle all print" test
19596 that accidentally got checked in.
19597
19598 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
19599
19600 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
19601 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
19602 compiled test.
19603 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
19604 Add mips-sgi-irix5* xfail for not gcc compiled.
19605 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
19606 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
19607 "p top", "whatis top", "p middle", and "whatis middle".
19608 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
19609 "whatis signed char" for not gcc compiled.
19610 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
19611 "set variable signed char=-1 (-1)" and
19612 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
19613 * gdb.base/funcargs.exp (float_and_integral_args):
19614 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
19615 Add mips-sgi-irix* xfail when not gcc compiled for
19616 "continue to call2b".
19617 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
19618 "continue to call2g".
19619 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
19620 "backtrace from call6a"
19621 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
19622 "backtrace from call7k".
19623 Add mips-sgi-irix5* xfail when not gcc compiled for
19624 "backtrace from call7a".
19625 (localvars_after_alloca): Fix gdb_test cmds for
19626 "print * after runto ...".
19627 Remove rs6000-*-* xfails for
19628 "print i after runto localvars_after_alloca" and
19629 "print l after runto localvars_after_alloca"
19630 for all compilers.
19631 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
19632 when not compiled with gcc, for:
19633 "print signed char == (minus)",
19634 "print signed char != (minus)",
19635 "print signed char < (minus)",
19636 "print signed char > (minus)".
19637 * gdb.base/callfuncs.exp (do_function_calls):
19638 Add mips-sgi-irix* xfail, when compiled with native compiler, for
19639 "call inferior func with struct - returns char *".
19640 * gdb.base/return.exp (return_tests): Change xfail for
19641 "correct value returned double test" to include Solaris 2.4.
19642 * gdb.base/funcargs.exp (float_and_integral_args):
19643 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
19644
19645 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19646
19647 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
19648 enumeration bitfields if compiling with GNU C.
19649 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
19650 to empty' prompt.
19651
19652 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
19653
19654 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
19655 test for PRO targets.
19656
19657 * gdb.base/funcargs.exp: Avoid ever setting more than 8
19658 breakpoints in the inferior at any given time by making
19659 two groups of breakpoints for call2*, call6* and call7*
19660 tests.
19661
19662 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19663
19664 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
19665 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
19666 from optimizing it away.
19667 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
19668 "call inferior func with struct".
19669
19670 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
19671
19672 * configure.in: Only configure gdb.chill for particular targets.
19673
19674 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
19675
19676 * gdb.base/Makefile.in: Add action to .c.o transformation
19677 rule that generates a .ci file for each .o file and remove
19678 explicit .c.o rules except for callfuncs.o.
19679 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
19680 generates a .ci file for each .o file and remove explicit
19681 .cc.o rules.
19682 (clean): Remove *.tmp *.ci files.
19683 (EXECUTABLES): Remove templ-info.exp.
19684 * gdb.base/compiler.c: New file.
19685 * gdb.c++/compiler.cc: New file
19686 * gdb.base/scope.exp: Source gdb.base/scope.ci.
19687 Change rs6000-*-* xfail for
19688 "print 'scope0.c'::filelocal_ro" and
19689 "print 'scope1.c'::filelocal" and
19690 "print 'scope1.c'::filelocal_bss" and
19691 "print 'scope1.c'::filelocal_ro" and
19692 "print 'scope1.c'::foo::funclocal" and
19693 "print 'scope1.c'::foo::funclocal_ro" and
19694 "print 'scope1.c'::bar::funclocal" and
19695 "print 'scope0.c'::filelocal_ro" and
19696 "print 'scope1.c'::filelocal at foo" and
19697 "print 'scope1.c'::filelocal_bss at foo" and
19698 "print 'scope1.c'::filelocal_ro at foo" and
19699 "print 'scope1.c'::foo::funclocal at foo" and
19700 "print 'scope1.c'::foo::funclocal_bss at foo" and
19701 "print 'scope1.c'::foo::funclocal_ro at foo" and
19702 "print 'scope1.c'::bar::funclocal at foo" and
19703 "print 'scope0.c'::filelocal_ro" and
19704 "print 'scope1.c'::filelocal" and
19705 "print 'scope1.c'::filelocal_bss" and
19706 "print 'scope1.c'::filelocal_ro" and
19707 "print 'scope1.c'::foo::funclocal" and
19708 "print 'scope1.c'::foo::funclocal_bss" and
19709 "print 'scope1.c'::foo::funclocal_ro" and
19710 "print 'scope1.c'::bar::funclocal" and
19711 "print 'scope1.c'::bar::funclocal_bss"
19712 to only be xfail'd when not compiled with gcc.
19713 Add rs6000-*-* xfail for
19714 "print 'scope0.c'::filelocal_bss before run"
19715 when compiled with gcc.
19716 (test_at_main): Add rs6000-*-* xfail for
19717 "print filelocal_ro in test_at_main"
19718 when compiled with gcc.
19719 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
19720 Add rs6000-*-aix* xfail for
19721 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
19722 "ptype t_char_array", not compiled with gcc.
19723 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
19724 xfail for "list foo (in include file)" when gcc compiled.
19725 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
19726 (integral_args): Add rs6000-*-* xfail for
19727 "run to call0a" if not compiled with gcc.
19728 (unsigned_integral_args): Add rs6000-*-* xfail for
19729 "run to call1a" if not compiled with gcc.
19730 (float_and_integral_args): Add rs6000-*-* xfail for
19731 "run to call2a" if not compiled with gcc and for
19732 "continue to call2b" for any compiler.
19733 Add rs6000-*-* xfail to
19734 "print f1 after run to call2a" for gcc compiled.
19735 (discard_and_shuffle): Add rs6000-*-* xfail for
19736 "run to call6a".
19737 (shuffle_round_robin): Add rs6000-*-* xfail for
19738 "backtrace from call7a" if not compiled with gcc.
19739 Add rs6000-*-* xfail for
19740 "backtrace from call7b" if compiled with gcc.
19741 (call_after_alloca): Add rs6000-*-* xfail for
19742 "print c in call_after_alloca" and
19743 "print s in call_after_alloca" and
19744 "backtrace from call_after_alloca_subr"
19745 if not compiled with gcc.
19746 (localvars_in_indirect_call): Add rs6000-*-* xfail for
19747 "print c in localvars_in_indirect_call" and
19748 "print c in localvars_in_indirect_call" and
19749 "backtrace in indirectly called function" and
19750 "stepping into indirectly called function"
19751 if not compiled with gcc.
19752 (localvars_after_alloca): Add rs6000-*-* xfail for
19753 "print c after runto localvars_after_alloca" and
19754 "print s after runto localvars_after_alloca" and
19755 "print i after runto localvars_after_alloca" and
19756 "print l after runto localvars_after_alloca"
19757 for all compilers.
19758 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
19759 than whatis-info.exp.
19760 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
19761 than opaque-info.exp.
19762 Setup rs6000-*-* xfail for
19763 "ptype on opaque struct pointer (statically)" and
19764 "ptype on opaque struct pointer (dynamically)" when
19765 not compiled with gcc.
19766 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
19767 rather than callf-info.exp.
19768 (do_function_calls): Add clear_xfail for rs6000-*-* for
19769 "p t_float_values2(3.14159,float_val2)". Seems to work
19770 fine there, both with xlc and gcc. Need to find out what
19771 it is doing right and fix other platforms.
19772 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
19773 "call inferior func with struct - returns int",
19774 "call inferior func with struct - returns long",
19775 "call inferior func with struct - returns float",
19776 "call inferior func with struct - returns double",
19777 "call inferior func with struct - returns char *",
19778 but only if not gcc compiled (presumes xlc compiled).
19779 Change rs6000-*-* xfails for
19780 "call inferior func with struct - returns char" and
19781 " call inferior func with struct - returns short" to only
19782 xfail if not using gcc.
19783 (clean mostlyclean): Remove *.ci and *.tmp files.
19784 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
19785 than templ-info.exp.
19786 * gdb.base/langs.exp: Source gdb.base/langs.ci.
19787 Add rs6000-*-* xfail for "up to foo in langs.exp"
19788 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
19789 when not gcc compiled.
19790
19791 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19792
19793 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
19794 * gdb.base/corefile.exp: Likewise.
19795 * gdb.base/list.exp: Likewise.
19796 * gdb.base/scope.exp: Likewise.
19797 * gdb.base/siganls.exp: Likewise.
19798
19799 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
19800 compiler output.
19801 * gdb.base/whatis.exp: Likewise.
19802
19803 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
19804
19805 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
19806 failure (opcode table has been fixed to match reality).
19807
19808 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
19809
19810 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
19811 "call inferior func with struct - returns char",
19812 "call inferior func with struct - returns short"
19813
19814 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
19815 "print 'scope0.c'::filelocal at main",
19816 "print 'scope0.c'::filelocal_bss in test_at_main",
19817 "print 'scope0.c'::filelocal at foo",
19818 "print 'scope0.c'::filelocal_bss in test_at_foo",
19819 "print 'scope0.c'::filelocal at bar",
19820 "print 'scope0.c'::filelocal_bss in test_at_bar"
19821
19822 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
19823 in source file 1". This bug seems to have been fixed with both
19824 gcc and native cc (was native assembler bug?).
19825
19826 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
19827
19828 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
19829 "backtrace through signal handler" to "i*86-*-sysv4*".
19830 * gdb.base/signals.exp: Add xfail for "'next' behaved as
19831 continue" case. Add "known SVR4 bug" to fail message.
19832 Add "i*86-*-bsdi2.0" xfail for "handle all print".
19833 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
19834 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
19835 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
19836 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
19837 "up to foo in langs.exp", "show language at foo in
19838 langs.exp", "up to cppsub_ in langs.exp", "show
19839 language at cppsub_ in langs.exp", "up to fsub in
19840 langs.exp", and "show language at fsub in langs.exp".
19841 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
19842 "bactrace in corefile.exp".
19843 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
19844 "call inferior function with struct - returns float" and
19845 "call inferior function with struct - returns double".
19846
19847 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
19848
19849 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
19850 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
19851 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
19852 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
19853
19854 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
19855
19856 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
19857 (or overriden) "CHILL" macro rather then bare "gcc".
19858 Also look for ../../gcc/xgcc since that is what we will
19859 actually need, not "Makefile". Remove following assignment
19860 of CHILL to CHILL_FOR_TARGET because that results in
19861 recursive definition.
19862
19863 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
19864
19865 * gdb.base/corefile.exp: Change xfail for backtrace in
19866 corefile.exp from linuxaout to all linux.
19867 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
19868 cases where we miss the breakpoint at the signal handler
19869 for some reason. Setup xfail for linuxoldld/linuxaout and
19870 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
19871 hitting SIGURG breakpoint.
19872 * gdb.base/signals.exp: Setup xfail for "next" acting like
19873 continue to add linuxoldld. Setup xfail for all linux for
19874 "next to handler in signals_tests_1", "backtrace in
19875 signals_tests_1", "continue to func1", "pass SIGUSR1",
19876 and continue to handler".
19877
19878 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
19879
19880 * Update all FSF addresses except those in COPYING* files.
19881
19882 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
19883
19884 * gdb.base/a2-run.exp: Change messages to be more explicit about
19885 the status of args, and quote binfile in results.
19886
19887 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
19888
19889 * gdb.base/callfuncs.exp: Add tests for passing structs to
19890 inferior functions and return various types.
19891 * gdb.base/callfuncs.c: Add functions to receive a struct
19892 and return a member of the struct, in various types.
19893
19894 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19895
19896 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
19897
19898 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
19899
19900 * config/vxworks29k.exp: New file, sources vxworks.exp.
19901
19902 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19903
19904 * config/gdbremote.exp: New file. Testing framework using
19905 gdbserver.
19906
19907 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
19908
19909 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
19910 "call function when asleep" and "send end of file".
19911 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
19912 for "backtrace in corefile.exp".
19913 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
19914 for "backtrace through signal handler".
19915 * gdb.base/corefile.exp: Make sure we actually generate a core file
19916 before trying the core tests. Some systems allow the user to suppress
19917 generation of core files and default to that (linux for example).
19918 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
19919 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
19920
19921 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19922
19923 * gdb.threads: New directory with some crude multi-threaded
19924 gdb tests (step.exp and step2.exp).
19925 * config/mt-lynx (STEP_EXECUTABLE): Define.
19926 (THREADFLAGS): Define.
19927
19928 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
19929
19930 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
19931
19932 * gdb.base/signals.exp: Disable whole file for lynx until
19933 further notice.
19934
19935 * gdb.base/signals.exp: xfail test where "next" acts like
19936 "continue" for lynx.
19937
19938 * gdb.base/interrupt.exp: xfail test for calling function while
19939 inferior is asleep for lynx.
19940
19941 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
19942 than one cr-lf after each command.
19943
19944 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19945
19946 * configure.in: Reinstate setting of stabsdirs variable, fix
19947 typo in setting up configdirs for native builds.
19948
19949 * gdb.base/return.exp: Fix typo in return double test.
19950 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
19951 compiler from optimizing them away.
19952
19953 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
19954
19955 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
19956 sequences to be echo'd by gdb when using gdb_test.
19957 * gdb.chill/chexp.exp: Likewise.
19958 * gdb.fortran/exprs.exp: Likewise
19959
19960 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19961
19962 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
19963 after the inferior gdb has started.
19964
19965 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
19966 after each command.
19967 * gdb.base/funcargs.exp: Likewise.
19968 * gdb.base/gdbvars.exp: Likewise.
19969 * gdb.base/interrupt.exp: Likewise.
19970 * gdb.base/list.exp: Likewise.
19971 * gdb.base/watchpoint.exp: Likewise.
19972 * gdb.c++/demangle.exp: Likewise.
19973 * gdb.c++/inherit.exp: Likewise.
19974 * gdb.chill/chexp.exp: Likewise.
19975 * gdb.fortran/exprs.exp: Likewise.
19976
19977 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
19978 test if we can't handle IO to/from the inferior.
19979
19980 * gdb.c++/misc.exp: Always check for a program already being
19981 started after sending a "run" command to gdb.
19982
19983 * gdb.base/twice.exp: Start with a fresh gdb.
19984
19985 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
19986 only depend on gdb's expression code, not the chill runtime.
19987
19988 * gdb.base/return.c: Put return values into variables so we
19989 can have gdb print them rather than depending on the program
19990 to print them.
19991 * gdb.base/return.exp: Corresponding changes.
19992
19993 * lib/gdb.exp: Provide default value for noinferiorio.
19994 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
19995 the inferior.
19996
19997 * gdb.base/break.exp: Always check for a program already being
19998 started after sending a "run" command to gdb.
19999 (text_next_with_recursion): Don't check the output from the
20000 program's printf statement. Instead just make sure the program
20001 exited.
20002
20003 * gdb.base/commands.exp: Protect tests which need arguments with
20004 $noargs conditionals.
20005
20006 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20007
20008 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20009 of structure member arrays to match gdb/valops.c:value_addr change.
20010
20011 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20012
20013 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20014 cases.
20015
20016 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
20017
20018 * configure.in (configdirs): Remove gdb.chill from default list
20019 of subdirs and then add it back in only if doing a native build.
20020 The current chill compiler does not yet work in any cross build.
20021 * Revert all signal changes from Jul 6.
20022 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
20023 for sh-hms targets, allowing these tests to link, with no other
20024 changes. Testing is suppressed by setting "nosignals" in site.exp.
20025
20026 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
20027
20028 * configure.in (signaldirs): Define and add to configdirs for all
20029 targets except some specific ones that are known to not support signals.
20030 Also clean up formatting.
20031 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
20032 (signals, sigall): Remove rules to build.
20033 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
20034 Moved to new gdb.signals directory.
20035 * gdb.signals: New test directory.
20036 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
20037 signals.c signals.exp}: New or moved files.
20038
20039 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20040
20041 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20042
20043 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
20044
20045 * gdb.base/return.exp: Xfail `return double' test failure
20046 on at least Solaris 2.3 and handle future/past versions on
20047 a case by case basis as appropriate. Also update message
20048 to include i*86 failures.
20049
20050 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20051
20052 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
20053
20054 * lib/gdb.exp: Fix comment which erroneously identified
20055 gdb_file_cmd as gdb_load (the 19 May change was in fact to
20056 gdb_file_cmd not gdb_load).
20057 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
20058
20059 * gdb.base/setvar.exp: Make test names consistent between pass and
20060 fail cases. Use gdb_test more.
20061
20062 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20063
20064 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20065
20066 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20067
20068 * gdb.base/help.exp: Fix expected help string for `show commands'.
20069
20070 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20071
20072 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20073
20074 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20075 of a text section.
20076
20077 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
20078
20079 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
20080 that loop eventually terminates. Fix Connection refused logic so
20081 that testsuite will expire nicely.
20082
20083 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
20084
20085 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
20086 config/rom68k.exp: New tcl glue for the appropriate monitors.
20087 These all just end up calling monitor.exp.
20088 * config/monitor.exp (gdb_target_monitor): Handle `Connection
20089 refused' by retrying. Cleanup some timeout issues.
20090 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
20091 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
20092 callers don't have to set/restore global timeout variable.
20093
20094 * The following set of changes centralizes management of the global
20095 timeout variable. This way, it can be set in one target dependent
20096 place instead of dozens of places scattered throughout the test suite.
20097 If you need to lengthen a timeout, then you should either set timeout
20098 in one of the config/{target}.exp files, or multiply it by a factor.
20099 Setting it to an absolute value is always going to lose for some
20100 targets.
20101 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
20102 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
20103 * gdb.base/funcargs.exp: Don't set timeout.
20104 * gdb.base/list.exp (test_forward_search): Only use local timeout.
20105 * gdb.base/printcmds.exp (test_print_string_constants
20106 test_print_array_constants): Don't set timeout.
20107 * gdb.base/ptype.exp: Don't set timeout.
20108 * gdb.base/recurse.exp: Don't set timeout.
20109 * gdb.base/return.exp: Don't set timeout.
20110 * gdb.base/watchpoint.exp: Don't set timeout.
20111 * gdb.c++/classes.exp (do_tests): Don't set timeout.
20112 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
20113
20114 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20115
20116 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20117
20118 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20119
20120 * lib/gdb.exp: Disable chill tests for irix5.
20121
20122 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20123
20124 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20125 each test pass or fail.
20126
20127 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20128
20129 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20130 xlc not gcc.
20131
20132 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20133
20134 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20135
20136 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20137
20138 * config/est.exp: Fix copyright and comments. Remove dead code.
20139 Use targetname, serialport and baud variables instead of fixed
20140 constants.
20141 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20142 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20143
20144 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20145
20146 * gdb.base/watchpoint.exp: Don't run
20147 test_watchpoint_triggered_in_syscall for sunos.
20148
20149 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20150
20151 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
20152 they don't seem to exist. Do include stdio.h.
20153
20154 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20155
20156 * gdb.base/a1-selftest.exp: Add alpha xfail.
20157
20158 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20159
20160 * gdb.base/watchpoint.c (main): Prompt before calling read().
20161 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
20162 Revise accordingly. Remove cruft about sending "123" several
20163 times, until it gets noticed. Clean up the "print buf[0]" stuff
20164 so that it passes or fails, and waits for prompts in the usual way.
20165
20166 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20167
20168 * gdb.base/recurse.exp: Fix comment.
20169
20170 * TODO: Remove item about printing variables in nodebug.exp. Add
20171 item about enabling tests which are only run on some targets.
20172
20173 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
20174 fail, make test names unique, use new gdb_test convention
20175 regarding pattern, use gdb_test more, etc.).
20176
20177 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20178 fail, make test names unique, etc.).
20179
20180 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20181
20182 * gdb.base/nodebug.c: Change return type of top and middle to
20183 short.
20184 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
20185 are fixed by the recent mdebugread.c changes. Allow `short ()'
20186 as type for top and middle.
20187
20188 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20189
20190 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
20191 nearly as I can tell, the whole thing was an accident in Stu's
20192 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
20193 to replace a send/expect pair with gdb_test, but ended up only
20194 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
20195 of 30 Mar 1995 took care of it, but left this vestigial comment
20196 which I am now nuking.
20197
20198 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20199
20200 * gdb.base/break.exp: Look for different line number for
20201 breakpoint at main depending on usestubs.
20202
20203 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20204
20205 * gdb.base/list.exp: Adjust some alternate expect patterns to
20206 match recent list0.c change. Add alternate expect pattern for
20207 output from `list default lines around main' for optimizing
20208 compilers.
20209
20210 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20211
20212 * lib/gdb.exp: If nosignals is not set, set it to 0.
20213
20214 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
20215
20216 * config/slite-gdb.exp: Responds to load symbol table prompt.
20217 * gdb.base/break.exp: Adjust line number, fix rerun.
20218 * gdb.base/langs0.c: Add #ifdef usestubs.
20219
20220 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20221
20222 * gdb.base/list.exp: Adjust line contents after adding new lines in
20223 list0.c. Also fix a syntax error.
20224
20225 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
20226 * gdb.base/break.exp: ditto.
20227 * gdb.base/list.exp: ditto.
20228 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
20229 * gdb.base/run.c: ditto.
20230 * gdb.base/list0.c: ditto.
20231 * gdb.base/funcargs.c: ditto.
20232
20233 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
20234
20235 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
20236 $targetname, $serialport and $baud instead of hardwired variables.
20237 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
20238 target doesn't support signals.
20239
20240 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20241
20242 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20243
20244 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20245
20246 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
20247 Don't rely on the value of an auto variable before it has been
20248 initialized. Use gdb_test more.
20249
20250 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20251
20252 * lib/gdb.exp (default_gdb_version): A version number must start
20253 with a digit, but other than that contains all characters up to
20254 the first whitespace character.
20255
20256 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20257
20258 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20259
20260 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20261
20262 * gdb.c++/*.exp: Warn if executable does not exist. The original
20263 reason for skipping the warning was that configure.in sometimes
20264 intentionally skipped building the executables but the tcl code
20265 had no way of knowing. That (a) was always bogus with respect to
20266 error handling, (b) is no longer true (right now there is no way
20267 to skip C++ tests).
20268
20269 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20270
20271 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20272
20273 * gdb.base/list.exp: Add expect patterns for output from
20274 SunPRO compiled executables.
20275 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
20276 types.
20277
20278 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20279
20280 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20281 number (we are already testing that the correct source line text
20282 gets printed).
20283
20284 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
20285 that is what is intended, but something needed to be done to get
20286 sunos4 native working again.
20287
20288 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20289
20290 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20291 apparently went with a (very) old xfail.
20292
20293 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
20294
20295 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
20296 runto_main is a proc in gdb.exp that will do 'step' for target use
20297 stubs.
20298 * gdb.base/exprs.exp: ditto.
20299 * gdb.base/interrupt.exp: ditto.
20300 * gdb.base/opaque.exp: ditto.
20301 * gdb.base/printcmds.exp: ditto.
20302 * gdb.base/ptype.exp: ditto.
20303 * gdb.base/scope.exp: ditto.
20304 * gdb.base/setvar.exp: ditto.
20305 * gdb.base/signals.exp: ditto.
20306 * gdb.base/twice.exp: ditto.
20307 * gdb.c++/classes.exp: ditto.
20308 * gdb.c++/inherit.exp: ditto.
20309 * gdb.c++/templates.exp: ditto.
20310 * gdb.base/break.exp: no run and hit main for stubs. Change line
20311 numbers for breakpoints and info breakpoint.
20312 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
20313 breakpoint().
20314 * gdb.base/callfuncs.c: ditto.
20315 * gdb.base/exprs: ditto.
20316 * gdb.base/interrupt.c: ditto.
20317 * gdb.base/opaque0.c: ditto.
20318 * gdb.base/printcmds.c: ditto.
20319 * gdb.base/ptype.c: ditto.
20320 * gdb.base/scope0.c: ditto.
20321 * gdb.base/setvar.c: ditto.
20322 * gdb.base/signals.c: ditto.
20323 * gdb.base/twice.c: ditto.
20324 * gdb.c++/misc.cc: ditto.
20325 * gdb.c++/templates.cc: ditto.
20326
20327 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20328
20329 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
20330
20331 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
20332 somewhere between `read' and `main.c'. I'm pretty sure the
20333 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
20334 and it isn't particularly useful.
20335
20336 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20337
20338 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20339
20340 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20341
20342 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20343
20344 * config/mt-slite: add LIBS and -nostdlib.
20345 * config/slite-gdb.exp: add this new file to support sparclite target.
20346
20347 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20348
20349 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
20350
20351 * gdb.base/a2-run.exp: Change argument to istarget from
20352 "*-*-vxworks" to "*-*-vxworks*".
20353 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
20354
20355 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
20356
20357 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
20358 will not runto main but do a 'step' to step out of breakpoint().
20359 * config/mt-slite: add -Dusestubs.
20360
20361 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20362
20363 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
20364 instead of just @.
20365
20366 * gdb.base/signals.exp: Add test for "handle all print".
20367 * TODO: Remove "handle all print". Also remove item about
20368 checking copyright date (I don't like the idea of a spurious FAIL
20369 based on when we run the tests).
20370
20371 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
20372 for SunOS4 (reason for failure not investigated). Remove
20373 redundant test for $binfile.
20374
20375 * gdb.base/nodebug.c (array_index): Call malloc.
20376
20377 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20378
20379 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20380
20381 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20382 conventions and slightly simplify the matching regexp.
20383
20384 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20385
20386 * gdb.base/break.exp: Update gdb_test invocation to use new
20387 convention.
20388
20389 * lib/gdb.exp: If noargs is not set, set it to 0.
20390
20391 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20392 tests unique.
20393
20394 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20395
20396 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20397
20398 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20399 one argument of type "<non-float parameter>".
20400
20401 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
20402
20403 * config/rom68k.exp: New file to support Motorola IDP board.
20404 * gdb.base/a2-run.exp: Skip this file if noargs is set.
20405 * gdb.base/break.c: Change things around so that this program
20406 doesn't depend upon args. This is necessary to make remote
20407 targets work (in general, they can't take args).
20408 * gdb.base/break.exp: Don't try to send args to program. Don't
20409 expect output. Also, replace lots of code with gdb_test.
20410
20411 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20412
20413 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
20414 printing of '\'' (which is what the comment says we are testing,
20415 even though we were not), not '''.
20416 (test_integer_literals_rejected): Test that printing ''' is an error.
20417
20418 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20419 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
20420 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
20421 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
20422 Use gdb_test not test_print_accept.
20423 * lib/gdb.exp: Remove test_print_accept.
20424
20425 * gdb.base/signals.exp (signal_tests_1): Make pass message
20426 consistent with fail message.
20427
20428 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20429 unsigned char; the bug (PR 1821) is fixed.
20430
20431 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20432
20433 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20434 successful tests--makes xfailing them work right.
20435
20436 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20437
20438 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
20439 only \r\n, not .*. The test can pass .* as the last thing in
20440 $pattern if that is what it wants. In addition to providing this
20441 flexibility, this change should speed up pattern matching in cases
20442 where the pattern already ended with .* (there were a number of
20443 them). This change also helps catch bad patterns--in the old
20444 scheme the typo "char \*" instead of "char \\*" would pass. Now
20445 it is caught.
20446 * Many .exp files: Update callers.
20447
20448 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20449 clearer and does not spuriously match multiple ('s. Likewise for
20450 ) and *.
20451
20452 * gdb.base/nodebug.exp: Test ability to call a function and pass
20453 it a string (even with no debugging info).
20454
20455 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
20456 "p '\'", which is the same as "p ''" once tcl gets done with
20457 quoting, to "p '\\'", which I suspect is what is intended (one
20458 backslash gets sent to GDB).
20459
20460 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20461
20462 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20463
20464 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20465 1817) was fixed literally years ago.
20466
20467 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20468
20469 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
20470 test, it causes stepping out of call_after_alloca_subr with
20471 optimizing compilers.
20472 (localvars_in_indirect_call): Consume GDB prompt if `finish'
20473 fails.
20474
20475 * gdb.c++/templates.exp: Source templ-info.exp only if
20476 the templates executable exists.
20477
20478 * gdb.c++/misc.cc (class Contains_static_instance,
20479 class Contains_nested_static_instance),
20480 gdb.c++/classes.exp (test_static_members): Test printing of
20481 a class that contains a static instance of the class.
20482
20483 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20484
20485 * gdb.base/langs2.c (cppsub_): Don't prototype.
20486 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20487 only, I believe).
20488
20489 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20490
20491 * lib/gdb.exp (skip_chill_tests): New procedure.
20492
20493 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20494
20495 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20496
20497 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20498 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20499
20500 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20501
20502 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20503
20504 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20505 disassemble 8, not 16, instructions for part 4.
20506
20507 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20508 support the latter anymore.
20509
20510 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
20511 -DNO_PROTOTYPES.
20512 * gdb.base/callfuncs.c: Control use of prototypes based on
20513 NO_PROTOTYPES, not __STDC__.
20514 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
20515 t_float_values2 tests if prototypes in use.
20516
20517 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
20518 t_double_values): When checking differences against DELTA, check
20519 that difference is within the range (-DELTA,DELTA), not just
20520 (-infinity,DELTA).
20521
20522 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
20523
20524 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
20525 'file' command firts, then 'target', then 'load', this is due to gdb
20526 target set up.
20527 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20528
20529 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
20530
20531 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
20532 FP load/store variants.
20533 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
20534
20535 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20536
20537 * gdb.base/term.exp: Do not give a warning if not native, it is
20538 not an abnormal condition.
20539
20540 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20541
20542 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20543 t_char_array".
20544
20545 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20546
20547 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20548 are getting the version number.
20549
20550 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20551 if not native, it is not an abnormal condition.
20552
20553 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20554
20555 * lib/gdb.exp: Just use "file exists", rather than undocumented
20556 dejagnu procedure "findfile".
20557
20558 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20559
20560 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
20561 (LDFLAGS): Set to -Xlinker -Ur.
20562
20563 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
20564 Removed, these values are set by lib/gdb.exp.
20565
20566 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
20567
20568 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20569
20570 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
20571 of replicating gdb startup code.
20572
20573 * config/mt-vxworks (LDFLAGS): Set to -r.
20574 (CFLAGS_FOR_TARGET): Removed.
20575
20576 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
20577 (gdb) and gdb for vxworks uses (vxgdb).
20578
20579 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
20580 executable is not in the tree and host != target, use sed and
20581 program_transform_name to determine the gdb name used by the
20582 target.
20583
20584 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
20585 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
20586
20587 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20588
20589 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
20590 floats, chars, and shorts where there are ANSI-style function
20591 definitions.
20592
20593 * gdb.base/langs.exp, gdb.base/langs*: New test.
20594 * gdb.base/Makefile.in: Build it.
20595 * TODO: Remove item about checking that C names don't get C++
20596 demangling applied; this test tests it.
20597
20598 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20599
20600 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
20601 went with the const70 xfail. The xfail went away a year ago.
20602
20603 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
20604
20605 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
20606 for hp300.
20607
20608 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
20609
20610 * gdb.base/a1-selftest.exp: Don't run on hp300.
20611
20612 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20613
20614 * Makefile.in (site.exp): Set host_alias and target_alias as well
20615 as host_triplet and target_triplet.
20616
20617 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20618
20619 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
20620
20621 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
20622 places as other ecoff systems).
20623
20624 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
20625 ultrix.
20626
20627 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20628
20629 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
20630 remove them.
20631 * gdb.base/nodebug.exp: Accept "function" in addition to "text
20632 variable and "variable" in addition to "data variable".
20633 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
20634
20635 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
20636 2.
20637 * gdb.base/list1.c (long_line): Add additional statement at start
20638 of function.
20639 * gdb.base/list.exp (test_forward_search): Update line number to
20640 reflect new statement.
20641
20642 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20643
20644 * gdb.base/signals.exp: Reinitialize searched source directories
20645 after gdb_start call.
20646
20647 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
20648
20649 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
20650 * gdb.stabs/Makefile.in: Likewise.
20651
20652 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
20653 change. Instead split the tests into smaller pieces.
20654 * gdb.disasm/hppa.s: Corresponding changes.
20655
20656 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20657
20658 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20659 Quote ^C when passing it to stty. For some shells ^ is a pipe.
20660
20661 * gdb.base/funcargs.exp: Modify many tests so that every test
20662 either passes or fails. Make some test names unique.
20663
20664 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20665
20666 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20667 Call stty to set interrupt character.
20668
20669 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
20670 for HP assembler versus GNU assembler based on actual behavior of
20671 $(CC), rather than assuming that $(AS) is always the GNU assembler.
20672
20673 * TODO: Suggest a few more stepping tests.
20674
20675 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
20676
20677 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
20678 restart GDB for h8300 after a continue.
20679 (return): Add pattern to match a29k-udi behavior.
20680 * gdb.base/nodebug.exp: Remove obsolete comment.
20681 * gdb.base/regs.exp: New file, testing of register displays.
20682 * gdb.base/return.exp: Fix typo in reference to $objdir.
20683 * gdb.base/whatis.exp: Always start with a fresh GDB.
20684
20685 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20686
20687 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
20688 higher, these tests generate a lot of output.
20689
20690 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20691
20692 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
20693 code following the catch silently ignored some errors; without the
20694 catch they should be thrown like any other tcl error. Also, the
20695 catch used "" instead of {} which meant all the callers who wanted
20696 to include one of the characters "[]$ had to quote it an extra time.
20697 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
20698 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
20699 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
20700 Remove extra quoting.
20701
20702 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
20703
20704 * gdb.base/commands.exp: Make test names unique; every test either
20705 passes or fails. Update some comments.
20706
20707 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
20708
20709 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20710
20711 The following fixes a FAIL caused by the fact that the alpha stabs
20712 configuration didn't use the ".if alpha" code in weird.def.
20713 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
20714 bit pointer, so the 32 bit version works even on the alpha.
20715 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
20716 Remove the stuff which allowed us to have separate versions for
20717 alpha and everything else.
20718
20719 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
20720 regexp which "info func operator\[\](" is supposed to match. Fix
20721 string to send to GDB. Note that GDB still doesn't work right. Add a
20722 new test for "info func .perator\[\](" which GDB does handle correctly.
20723
20724 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
20725
20726 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20727
20728 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
20729 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
20730 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
20731 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
20732 it makes the tests harder to understand and confuses test-o-matic.
20733 The preferred style is that each test provides a PASS or a FAIL,
20734 and has a unique message (e.g. "continue #54" not just "continue")
20735 which is the same for the pass and the fail.
20736 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
20737 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
20738 to lib/gdb.exp.
20739 * gdb.base/printcmds.exp: Use test_print_accept. Remove
20740 prt_accept which was basically the same thing. Likewise for
20741 test_print_reject and prt_reject.
20742 * lib/gdb.exp (test_print_reject): Add some more error message
20743 patterns to match from the former printcmds.exp (prt_reject).
20744 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
20745 One defect of the passcount stuff is that some of it failed to
20746 report XPASS where appropriate.
20747 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
20748 stuff before and after arg in expected pattern.
20749 (test_paddr_operator_functions): Re-do test without print_addr_of;
20750 this is the only test which seems to want extra stuff there.
20751
20752 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20753
20754 * gdb.base/nodebug.exp: Update new tests to reflect improved
20755 wording of gdb output.
20756
20757 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
20758 and "ptype" work on variables in files compiled without -g.
20759 Replaces commented out "maint print msymbol" tests.
20760
20761 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20762
20763 * gdb.base/setvar.c (dummy): Call malloc.
20764
20765 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
20766 losing with the irix4 sed.
20767
20768 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
20769 ALRM" on irix4.
20770
20771 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20772
20773 * TODO: Remove items about corefile.exp testing new exec-file and
20774 backtrace; both are now done. Add items about printing enums.
20775
20776 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20777
20778 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
20779 "get signal $thissig" test fails.
20780
20781 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
20782
20783 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20784
20785 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
20786 compiler warning with dec alpha compiler.
20787
20788 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
20789 extra \n from gdb_test call (this explains why the prompt test
20790 that I removed yesterday was there).
20791 (user_defined_command_test): Remove extra \n and prompt test.
20792
20793 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
20794 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
20795 doesn't exist.
20796 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
20797 Also remove alpha workaround, which turns out to be because
20798 SIGABRT == SIGLOST.
20799
20800 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
20801
20802 * gdb.base/help.exp: Don't test "help show".
20803
20804 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20805
20806 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
20807 "set print address" is on.
20808 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
20809 pass prompt to gdb_test; gdb_test already looks for the prompt.
20810
20811 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
20812
20813 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
20814 was a vestige of the manual TESTSTRATEGY, and the purpose of it
20815 was to make sure that gdb can read a core file. But (a) the "read
20816 the corefile" part didn't make it to a1-selftest.exp, we just
20817 delete the corefile after creating it, and (b) we test reading
20818 corefiles in corefile.exp anyway. Also, this test left around a
20819 xgdb process on Solaris.
20820
20821 * gdb.base/corefile.exp: Also test backtrace.
20822
20823 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
20824
20825 * gdb.base/commands.exp: Test a simple user defined command with
20826 arguments and if/while statements; verify the full user command is
20827 printed by "show user".
20828
20829 * gdb.base/commands.exp: Test if/while commands as part of a
20830 breakpoint command list; verify they appear in breakpoint
20831 information.
20832
20833 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20834
20835 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
20836 than by dividing by zero.
20837
20838 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
20839
20840 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
20841 performing an inferior call with watchpoints enabled.
20842 * gdb.base/watchpoint.c (main): Delete second unnecessary read
20843 call.
20844
20845 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20846
20847 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
20848 of "file" command.
20849
20850 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
20851 Add additional pattern for when "int operator int(void);" appears
20852 in a different order.
20853
20854 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20855
20856 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
20857
20858 * gdb.base/help.exp: Replace most of docstrings for "info signals"
20859 and "signal" with ".*".
20860
20861 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20862
20863 * TODO: Add note about "handle all nostop".
20864
20865 * gdb.base/{sigall.c, sigall.exp}: New test.
20866 * gdb.base/Makefile.in: Add it.
20867
20868 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
20869
20870 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
20871 when invoking GDB, suppresses any windowing interface.
20872
20873 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
20874
20875 * config/sim-gdb: New file, simulator testing support.
20876
20877 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
20878
20879 * gdb.base/interrupt.exp: Test calling func1 twice.
20880
20881 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
20882
20883 * gdb.base/list.exp (test_forward_search): Set timeout higher
20884 when we'll be getting lots of output from gdb.
20885
20886 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
20887 "init_malloc" to after the expect statement. Run it if that
20888 regexp is taken, but also for two others which happen if source
20889 cannot be found.
20890
20891 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20892
20893 * gdb.base/printcmds.exp: New test, for printing register before
20894 program is running.
20895
20896 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20897
20898 * gdb.base/list.exp: Correct some alternate expect patterns
20899 to reflect changes in list1.c.
20900
20901 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20902
20903 * TODO: Add item regarding large frames.
20904
20905 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
20906
20907 * TODO: Remove item about enabling return.exp; it
20908 is enabled. Suggest a few more "return" tests.
20909
20910 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20911
20912 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
20913 anonymous unions.
20914
20915 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20916
20917 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
20918 and pr-5646.o, so "make" is the same as "make all", not "make
20919 pr-4975.o".
20920
20921 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
20922
20923 * gdb.base/list.exp: Adjust expectations to reflect changes in
20924 list1.c.
20925 (test_forward_search): New test proc.
20926 * gdb.base/list1.c (long_line): New function, has long source line.
20927
20928 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
20929
20930 * gdb.base/a1-selftest.exp: Change initial stepping to know about
20931 additional line of code that was added.
20932
20933 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
20934
20935 * gdb.disasm/hppa.s: Break the large branching tests into smaller
20936 tests so as not to overflow expect's input buffers.
20937 * gdb.disasm/hppa.exp: Corresponding changes.
20938
20939 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20940
20941 Beginnings of template debugging tests.
20942 * gdb.c++/templ-info.cc: New file to test for template
20943 debugging capability of the compiler.
20944 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
20945 templ-info.cc.
20946 * gdb.c++/templates.cc: Add explicit template instantiations
20947 to enable compiling with -fno-implicit-templates. Add destructor
20948 and 'value' method to T5 class for template tests.
20949 * gdb.c++/templates.exp: Add testcases for printing of template
20950 types, setting breakpoints on template methods and calling a
20951 template method.
20952
20953 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
20954
20955 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
20956 branch target since some assemblers (gas-2.5) may emit a
20957 relocation for the branch instead of resolving it in the
20958 assembler.
20959
20960 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20961
20962 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
20963 through signal handler.
20964
20965 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20966
20967 * configure.in (*-*-netware): Use config/mt-netware.
20968
20969 * config/mt-netware: New file.
20970 * config/mt-i386-netware: Removed, separate configs for different
20971 netware architectures are no longer needed now that we have
20972 --with-headers.
20973
20974 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20975
20976 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
20977 by the recent changes to use ANSI C arithmetic conversions.
20978
20979 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20980
20981 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
20982 bug involving using inferior_pid to figure out whether to select a
20983 frame.
20984
20985 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
20986
20987 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
20988 match the current disassembler output.
20989
20990 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
20991
20992 * gdb.fortran/exprs.exp: Expect VOID instead of void.
20993 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
20994 types, expect "int" as type of integer values (for now).
20995
20996 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
20997
20998 * gdb.base/commands.exp: New tests for if/while commands.
20999
21000 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21001
21002 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21003 by .*, since hex values have different syntax in Chill mode.
21004
21005 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21006
21007 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21008 linefeed from expect pattern for repeated types with indices > 9.
21009
21010 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21011
21012 First part of Fortran test suite.
21013 * gdb.fortran: New directory.
21014 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21015
21016 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21017
21018 * gdb.base/default.exp: Update expect pattern for load command
21019 without arguments.
21020
21021 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
21022
21023 * configure.in: Change i386 to i[345]86.
21024 * gdb.base/configure.in: Likewise.
21025 * gdb.c++/configure.in: Likewise.
21026 * gdb.chill/configure.in: Likewise.
21027
21028 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21029
21030 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21031 patterns, since that is not a valid context for comments.
21032
21033 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21034
21035 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21036 repeated types and repeated types with indices > 9.
21037
21038 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21039
21040 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21041 2417; old bug has been fixed.
21042
21043 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
21044
21045 * gdb.base/interrupt.exp: When trying to wake up the inferior,
21046 send the newline ourselves instead of assuming gdb_test will do
21047 so when passed an empty input string.
21048
21049 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21050 stabs testcode.
21051
21052 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21053
21054 * lib/gdb.exp (gdb_test): Don't send anything if the first
21055 argument is an empty string. This makes cases where we want to
21056 match output that is already in expect's buffers (for example,
21057 matching a breakpoint after gdb_run_cmd has been called) work
21058 reliably.
21059
21060 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21061
21062 * config/netware.exp: New file.
21063
21064 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21065
21066 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
21067 the -B and -L prefixes so we can find the debugging stub.
21068
21069 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
21070 there and we are using the gcc from the tree.
21071
21072 * gdb.base/types.c: Removed.
21073
21074 * gdb.base/configure.in: Look for makefile fragments in ../config.
21075 Recognize i386-*-netware.
21076 * gdb.c++/configure.in: Likewise.
21077
21078 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21079
21080 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21081 the correct TCL syntax.
21082
21083 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21084
21085 * gdb.base/opaque.exp: use runto instead of messing around with
21086 breakpoints. Simplify by using gdb_test.
21087
21088 * gdb.base/bitfields.exp: restart between tests on netware targets
21089 because breakpoints aren't relocated after target death. Run
21090 processes to completion.
21091
21092 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21093
21094 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
21095
21096 * Makefile.in: Remove extra tabs that confuse some versions
21097 of "make". Use the newly built gdb to test with by default,
21098 rather than the first one in the tester's search path.
21099
21100 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21101
21102 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21103
21104 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21105 condition help.
21106
21107 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21108
21109 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21110
21111 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21112 running.
21113 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21114 * gdb.base/funcargs.exp: Likewise.
21115
21116 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21117 * gdb.base/funcargs.exp: Likewise.
21118
21119 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21120 message is "".
21121
21122 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21123
21124 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21125 return,signals,twice}.exp: Handle non-existant binaries
21126 consistantly.
21127
21128 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
21129 * gdb.base/Makefile.in: Don't try to generate a core dump, we
21130 might testing a cross development system.
21131
21132 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21133
21134 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21135 runtest script is relative to ${srcdir}, not ${rootdir}.
21136
21137 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21138
21139 * gdb.base/signals.exp: Allow for optionality of breakpoint
21140 address.
21141
21142 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21143
21144 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21145
21146 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21147
21148 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21149 for size_t definition.
21150 * gdb.c++/templates.cc: Likewise
21151
21152 * config/mt-i386-netware: New file.
21153
21154 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
21155 defined.
21156
21157 * gdb.base/Makefile.in: Added support for systems that name core
21158 files by appending "core" to the program name.
21159 * gdb.base/a1-selftest.exp: Likewise.
21160
21161 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21162
21163 * gdb.base/return.exp: Add comment and message for `return double'
21164 test failure on Sparc Solaris.
21165
21166 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21167
21168 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21169
21170 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21171
21172 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
21173 from optimizing them away.
21174 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
21175 patterns to include default constructors and assignment operators,
21176 to match gcc versions beyond 2.5.8. Accept any cplus demangling
21177 character in the output of the virtual base pointer.
21178
21179 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21180
21181 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
21182 expression match in print_addr_of to avoid unintented matches.
21183 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
21184 versions up to 2.5.8.
21185
21186 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21187
21188 * gdb.base/list.exp: Tweak alternate pattern for listing of an
21189 included file to run under newer versions of expect.
21190 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
21191 consecutive >'s in templates to accomodate recent cplus-dem.c change.
21192 Remove xfail for the virtual table of BDDHookV.
21193
21194 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21195
21196 * lib/gdb.exp (string_to_regexp): Set a default result.
21197 (default_gdb_start): Fix misleading message.
21198
21199 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
21200
21201 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
21202 Remove all CC, etc definitions.
21203 * config/mt-hpux: New file.
21204 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
21205 (CFLAGS, LDFLAGS): Define.
21206 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
21207
21208 * Makefile.in (site.exp): Don't insert host_os, etc.
21209 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
21210 (distclean): Check existence of subdir.
21211 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
21212 * gdb.base/Makefile.in: General cleanup and simplification.
21213 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21214 to build executables. Use default rule to build .o files.
21215 (EXPECT, RUNTEST, CC): Fix relative pathname.
21216 (site.exp): Don't insert host_os, etc.
21217 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
21218 and/or SIGUSR1 defined.
21219 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
21220 * gdb.c++/Makefile.in: General cleanup and simplification.
21221 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
21222 (CFLAGS): Remove.
21223 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21224
21225 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
21226
21227 * gdb.base/recurse.exp: Misc changes to get tests running again
21228 after Kung's changes to the watchpoint code.
21229 * gdb.base/watchpoint.exp: Likewise.
21230
21231 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21232
21233 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21234
21235 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
21236
21237 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
21238 * lib/gdb.exp (default_gdb_start): Define.
21239 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
21240 gdb.base/funcargs.exp, gdb.base/opaque.exp,
21241 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
21242 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
21243 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
21244 Don't call gdb_target_udi in between tests.
21245
21246 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21247
21248 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
21249 (which was basically just a local version of the same thing). In
21250 addition to avoiding duplication, gdb_test_exact is faster.
21251 * lib/gdb.exp (gdb_test_exact): Fix typo.
21252
21253 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21254 don't give an error.
21255
21256 * gdb.base/term.exp: Call delete_breakpoints before starting.
21257
21258 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21259 (t10): Add comment.
21260
21261 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21262
21263 Reorganization of the GDB Test Suite.
21264
21265 * gdb.base: New directory, contains all the basic tests.
21266 * gdb.c++: New directory, tests specific to C++.
21267 * gdb.chill: New directory, tests specific to Chill.
21268 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
21269 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
21270 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
21271 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
21272 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
21273 t30-31 to chill).
21274 * */gdbme.*: Rename to match appropriate expect scripts.
21275 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
21276 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
21277 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
21278 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
21279 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
21280 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
21281 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
21282 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
21283 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
21284 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
21285 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
21286 gdb.c++/virtfunc.cc: New names of C++ files.
21287 * gdb.chill/chillvars.ch: New name of Chill file.
21288 * gdb.base/configure.in, gdb.c++/configure.in,
21289 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
21290 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21291 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
21292 * configure.in (configdirs): Update to reflect directory changes.
21293 (target_abbrev): No longer define for any configuration.
21294 * Makefile.in: Cosmetic improvements to header comments.
21295
21296 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21297
21298 Various changes to gdb.t31:
21299
21300 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
21301 * gdbme.ch: Make all key-words and predefineds be upper-case.
21302 * chillvars.exp: Expect key-words and predefinds in upper-case.
21303
21304 * chillvars.exp: Use gdb_test_exact many places.
21305 Change expected output for arrays (which now includes index labels).
21306
21307 * pr-5020.exp, gdme.ch (module PR_5020):
21308 New test, for PR-5020.
21309
21310 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21311
21312 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21313 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21314
21315 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
21316
21317 * Makefile.in: Fix bit-rot in definitions of CHILL,
21318 CHILL_FOR_TARGET and Chill_LIB.
21319 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
21320 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
21321 CHILL, and CHILL_LIB.
21322
21323 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21324
21325 * Revert the previous changes. Please see Rob's directory
21326 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21327
21328 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
21329
21330 * Makefile.in, configure.in, config/mips-gdb.exp,
21331 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
21332 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
21333 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
21334 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
21335 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
21336 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
21337 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
21338 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
21339 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
21340 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
21341 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
21342 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
21343 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
21344 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
21345 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
21346 changes from 94Q1.
21347
21348 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
21349
21350 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
21351 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
21352 Rob's new testing fragments.
21353
21354 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21355
21356 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21357 lib/gdb.exp: Replace error proc calls with perror.
21358
21359 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21360
21361 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
21362 version also, match on casted version strings, and match on
21363 gdb startup case where the line numbers might be messed up.
21364
21365 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21366
21367 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21368 (CFLAGS): Delete it from here.
21369
21370 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21371
21372 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21373
21374 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21375
21376 * Makefile.in (RUNTEST): Default to just "runtest".
21377
21378 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21379
21380 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
21381 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
21382 the code has been restructured.
21383
21384 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21385
21386 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21387 \n, not just one of each.
21388
21389 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21390 /bin/cc gives a warning if you do.
21391
21392 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21393
21394 * gdb.t24/demangle.exp: change expect pattern of
21395 __t10ListS_link1ZUiRCUiPT0
21396
21397 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21398
21399 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21400 on local variables in recursive functions.
21401
21402 * gdb.t07/Makefile.in: Build the new test.
21403
21404 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21405
21406 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21407 directly. Instead compare the return values from actual calls.
21408
21409 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21410
21411 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21412
21413 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21414
21415 * From Peter Schauer with minor modifications.
21416 * gdb.t15/return.exp (return_tests): Handle targets where "return"
21417 stops in mid-line in the caller. Add xfail for returning a float
21418 value on X86 targets.
21419
21420 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21421
21422 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
21423 to avoid expect lossage.
21424 (fmem_LRbug_tests): Likewise.
21425 * gdb.disasm/hppa.s: Corresponding changes.
21426
21427 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21428 conditions to work with latest dejagnu/expect.
21429
21430 * gdb.t15/funcargs.exp (finish from indirect call): No longer
21431 expected to fail on the PA.
21432 (backtrace in call with trampolines): Explicitly require main
21433 to be frame #1 (no trampolines should show up in backtrace).
21434
21435 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
21436 "continue -expect".
21437 * gdb.t06/break.exp: Likewise.
21438 * gdb.t07/watchpoint.exp: Likewise.
21439 * gdb.t13/bitfields.exp: Likewise.
21440 * gdb.t15/{funcargs,return}.exp: Likewise.
21441 * gdb.stabs/weird.exp: Likewise.
21442 * config/{mips,udi}-gdb.exp: Likewise.
21443
21444 * hppa.sed: Enclose comments within a sed command to avoid
21445 losing with the old OSF1 sed.
21446
21447 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21448
21449 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
21450 sequent dynix.
21451 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
21452 * gdb.t15/funcargs.exp: Conditionally step again to really
21453 finish from marker_call_with_trampolines. Handle the case where
21454 the first step from within call_with_trampolines already steps
21455 us back to main.
21456 * gdb.t15/gdbme.c: Add comment to closing brace of
21457 call_with_trampolines for funcargs.exp.
21458
21459 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21460
21461 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21462 Fix typo(s).
21463
21464 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21465
21466 * gdb.t07/gdbme.c: More code for watchpoint testing.
21467
21468 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
21469 "Hardware watchpoint" throughout file.
21470 (test_watchpoint_triggered_in_syscall): New test.
21471 (test_complex_watchpoint): New test.
21472
21473 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21474
21475 * gdbme.c (call_with_trampolines): New function to try and step
21476 into. Tests trampoline problems on the PA.
21477
21478 * funcargs.exp (localvars_in_indirect_call): No longer expect
21479 stepping into indirect call to fail on PAs.
21480 (test_stepping_over_trampolines): New test.
21481
21482 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21483
21484 * TODO: Add suggestions for static member function tests, and
21485 completion tests.
21486
21487 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21488
21489 * TODO: Add suggestions for "p/a" tests.
21490
21491 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
21492 (default_gdb_exit): Replace all the hair with sending "quit" to
21493 the process with a simple close.
21494
21495 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21496
21497 * TODO: Add suggestions for shared library tests.
21498
21499 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21500
21501 * TODO: Add suggestions for x/s tests.
21502
21503 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21504
21505 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21506 "enable once", and "enable breakpoints once" with ".*".
21507
21508 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21509
21510 * TODO: Add suggestions about structure passing tests.
21511
21512 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21513
21514 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
21515 the primary1 test, use work around if __GNUC__ < 2.
21516 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
21517 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
21518 Test for bad output rather than waiting for timeout. Issue
21519 second continue only if first continue failed.
21520
21521 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21522
21523 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
21524 operator[] test with gdb_test because the old code didn't seem to
21525 be getting the quoting right with the new dejagnu.
21526
21527 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21528
21529 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21530 one from the path.
21531 * Makefile.in: Use a fresh expect if there is one, use runtest
21532 from the src tree if there is one.
21533
21534 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21535
21536 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
21537 next over recursive call. Revise the tests from that point on
21538 (which had been skipped) to match GDB's actual (correct) output.
21539
21540 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21541 with next over a breakpoint whose condition is false.
21542
21543 * gdb.t00/help.exp: Comment out "help set print" tests just like
21544 (and for same reason as) "help set" test.
21545
21546 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21547
21548 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21549 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21550
21551 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21552
21553 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
21554 necessary gdb_target_udi.
21555
21556 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
21557
21558 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
21559 1838 and 2417; they are fixed.
21560
21561 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
21562 gdb.t03/ptype.exp (ptype structure, ptype union):
21563 Remove xfails; the test is looser than when the xfails were added.
21564
21565 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
21566 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
21567
21568 * gdb.t01/run.exp: Only run shell test if isnative.
21569
21570 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
21571 since "run" automatically loads if necessary. Call gdb_target_udi
21572 after the "file" since "file" kills any execution target.
21573
21574 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
21575 GDB. GDB doesn't work that way (not anymore at least) on UDI.
21576 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
21577 argument for UDI.
21578
21579 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21580
21581 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
21582
21583 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
21584
21585 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21586
21587 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
21588 properly quoting regexps. This makes the second argument to
21589 demangle a fixed string, which matches the callers, instead of a
21590 shell-style pattern which is what the previous implementation
21591 used. Update some of the callers.
21592
21593 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21594
21595 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
21596 (comib_nullified_tests): Fix typo.
21597 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
21598 strings. No longer expected to fail.
21599
21600 * gdb.disasm/hppa.s (addib_tests): Fix typo.
21601 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
21602 strings. No longer expected to fail.
21603
21604 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
21605 string. No longer expected to fail.
21606
21607 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21608
21609 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
21610 No longer expected to fail.
21611
21612 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
21613 string. No longer expected to fail.
21614
21615 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21616
21617 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
21618 only in the names (I probably got most of them). I was even
21619 generous with some which differed in underscores in names, and
21620 probably missed a few, and I *still* was able to remove almost a
21621 third of the file with almost no impact on testsuite coverage.
21622
21623 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21624
21625 * gdb.t00/default.exp: Match udi_attach error message as well as
21626 the one from child_attach.
21627
21628 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
21629
21630 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
21631
21632 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
21633 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
21634
21635 * Move test with enums and partial symbols back to
21636 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
21637 Reverts the change of 26 May 93. Per today's change to
21638 stabs.texinfo, the behavior that weird.exp was expecting was
21639 unreasonable; what is important is that the compiler+gdb get
21640 things right, which happens with a recent gcc. Also fix the test
21641 to deal with native compilers which put out the stab gdb can't
21642 deal with.
21643
21644 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21645
21646 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
21647 in the names. The main thing these accomplish is to slow things down.
21648 Many more such duplicates surely remain.
21649
21650 * gdb.t00/help.exp: Comment out "help support" test just like
21651 (and for same reason as) "help set" test.
21652
21653 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
21654
21655 * gdb.t06/break.exp: Remove setup_xfails for
21656 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
21657 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
21658 about known bug in gcc to include up through 2.5.8.
21659 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
21660 well as "_vb$".
21661 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
21662 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
21663 with latest gcc and gdb.
21664 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
21665 well as "_vb$".
21666
21667 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21668
21669 * configure.in (hppa*-*-*): Also configure and build stabs-only
21670 tests.
21671
21672 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21673
21674 * gdb.t10/hppa.mt: A makefile fragment for the PA.
21675 * gdb.t10/configure.in (hppa*-*-*): Use it.
21676
21677 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21678
21679 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
21680
21681 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21682
21683 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
21684 versions prior to 1.13.5.
21685
21686 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21687
21688 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
21689 the prompt is at the start of a line.
21690
21691 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21692
21693 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
21694 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
21695 in the copr tests now.
21696 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
21697 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
21698 expected to fail.
21699
21700 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
21701
21702 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
21703 gdb.t31/chillvars.exp, lib/gdb.exp:
21704 Tweak to run under either version of expect.
21705 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
21706 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
21707 * gdb.t11/list.exp: Remove extraneous whitespace.
21708
21709 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21710
21711 * gdb.t16/printcmds.exp (test_print_strings): Accept
21712 "(unsigned char *) " before the string.
21713
21714 * TODO: Add notes about printing of fancy types and GDB expressions.
21715
21716 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
21717
21718 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
21719 * gdb.t06/configure.in: Don't try to compile signals test program
21720 if doing mips-idt-ecoff.
21721
21722 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
21723
21724 * Most .exp files: Tweak to run under either version of expect.
21725
21726 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21727
21728 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
21729 xfails; I'm not sure why they are failing, but not because of PR 1806.
21730
21731 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
21732
21733 * config/unix-gdb.exp: Remove gdb_unload cause it's already
21734 defined in lib/gdb.exp.
21735
21736 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21737
21738 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
21739 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
21740 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
21741 have to be typeless.
21742
21743 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21744
21745 * TODO: Add suggestion for copyright year test.
21746
21747 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
21748
21749 * configure.in (*-*-lynxos*): Add stabs tests.
21750
21751 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
21752
21753 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
21754 so insert a tab before any assembler directive in column zero.
21755
21756 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
21757 stores.
21758 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
21759 stores.
21760 (fpu_short_memory_tests): Likewise.
21761
21762 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21763
21764 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
21765 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
21766 .stabs directives in comments.
21767
21768 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21769
21770 * TODO: New file, describing tests we could write.
21771 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
21772
21773 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21774
21775 * gdb.t06/signals.exp: Add kludge to force re-sync.
21776
21777 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
21778 to xgdb instead of gdb, get out of gdb.
21779
21780 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
21781
21782 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
21783 for info.
21784
21785 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
21786
21787 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
21788 * gdb.stabs/configure.in (hppa*-*-*): Use it.
21789 * gdb.stabs/hppa.sed: New sed script for the PA.
21790
21791 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21792
21793 * gdb.stabs: Re-write weird.def and configuration to use sed
21794 instead of cpp. sed is portable and POSIX; cpp is neither.
21795
21796 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21797
21798 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
21799
21800 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21801
21802 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
21803
21804 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21805
21806 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
21807 "_vb$".
21808 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
21809 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
21810
21811 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21812
21813 * lib/gdb.exp: Comment out code which depends on non-existent
21814 `transform' procedure.
21815
21816 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
21817
21818 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
21819 * lib/gdb.exp: Transform tool name.
21820 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
21821 1.1's new error handling system.
21822
21823 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21824
21825 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
21826
21827 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21828
21829 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
21830 They made pattern matching so slow that timeouts happened on
21831 heavily loaded systems. Now any output from "show print" which
21832 gets us back to the GDB prompt is a PASS.
21833
21834 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
21835
21836 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
21837
21838 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21839
21840 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
21841
21842 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
21843 It is not from PR 3220.
21844
21845 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21846
21847 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
21848 just started failing because they depended on the order the
21849 subcommands are presented, or exact docstring text. This kind of
21850 test is a pain and has minimal benefit.
21851
21852 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21853
21854 * gdb.t09/corefile.exp: At end of test, use "core" command with
21855 no arguments.
21856
21857 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
21858
21859 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
21860 17}/Makefile.in: Make it possible to run the testsuite with Sun
21861 make and CC = cross gcc by adding explicit build rules for .o
21862 files.
21863
21864 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21865
21866 * gdb.t15/funcargs.exp: Don't put comments on same line as
21867 setup_xfail (@#$*%& tcl braindamage!).
21868
21869 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21870
21871 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
21872
21873 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
21874
21875 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
21876 * gdb.t20/inherit.exp: remove three dumplicate entries.
21877
21878 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21879
21880 * gdb.t06/break.exp: For "next over recursive call", fail on any
21881 incorrect output, not just on "factorial (value=2)".
21882
21883 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21884
21885 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
21886 working now. Add an xfail if accesing a bss variable causes
21887 a memory error if the target is not yet run.
21888
21889 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21890
21891 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
21892 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
21893 name of __st* demangling (2 strings). Did Kung really get the
21894 more than 95 others right without testing them?
21895
21896 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
21897
21898 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
21899
21900 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
21901
21902 * configure.in (configdirs): Add gdb.disasm
21903 * gdb.disasm: New directory for GDB disassembler tests.
21904 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
21905
21906 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21907
21908 * gdb.t00/help.exp: Don't test "help set".
21909
21910 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
21911 from within expect statements. None of these happen anymore and
21912 they cause regressions to be silently unnoticed.
21913
21914 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
21915 messages) about known failures with gcc cygnus-2.4.5-930417.
21916
21917 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
21918 comp-info.exp so it gets built if it doesn't exist.
21919
21920 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
21921 it is no longer used.
21922 * gdb.t13/comp-info.c: Removed.
21923
21924 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21925
21926 * gdb.t06/signals.exp: Add xfail for sun3.
21927
21928 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21929
21930 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
21931 relevant because ^C doesn't get sent but failure can be reproduced
21932 interactively).
21933
21934 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21935
21936 * gdb.stabs/alpha.mt: New configuration file for alpha.
21937 * gdb.stabs/configure.in: Use it.
21938 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
21939 sharing with alpha.mt, redefine long to word via preprocessor.
21940 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
21941 for alpha.
21942 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
21943 native cc.
21944 * gdb.t00/teststrategy.exp: Change expect string so that we
21945 consume the `(xgdb)' from the command echo and from the gdb prompt.
21946 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
21947 gdb currently compares all values as long, so this failure probably
21948 applies to any configuration where LONGEST is bigger than a target int.
21949 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
21950 with gcc.
21951 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
21952 to handle opaque pointers, gcc is.
21953 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
21954 as first argument. Include <sys/types.h> and change all operator
21955 new definitions to use size_t.
21956 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
21957 now that we use size_t.
21958
21959 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21960
21961 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
21962 a long or float array cast all array members to the same type.
21963 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
21964 with 64 bit longs.
21965 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
21966 on alpha.
21967 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
21968
21969 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21970
21971 * gdb.t24 (demangle.exp): Constructors of templates have names like
21972 vector<int>::vector(int) not vector<int>::vector<int>(int). See
21973 section 14.6 of the ARM.
21974
21975 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
21976 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
21977 accomplish little and slow down the testsuite.
21978
21979 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
21980 Accept spaces various places.
21981
21982 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21983
21984 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
21985 with watchpoint enabled.
21986
21987 * Makefile.in: Remove definition of CC and remove the second
21988 definition of CXX (the "CXX = gcc" one remains). These definitions
21989 were causing backquotes to be expanded within backquotes, which
21990 doesn't work.
21991
21992 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
21993
21994 * gdb.t17/callfuncs.exp: Add "return 0" to end.
21995
21996 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21997
21998 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
21999 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
22000 by mips cc and contains no stabs entries.
22001
22002 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22003
22004 * config/vx-gdb.exp: Use fake device to load files rather than
22005 NFS.
22006 * lib/gdb.exp: New proc to do "file" command.
22007 * config/unix-gdb.exp: Use new "file" proc.
22008
22009 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
22010
22011 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
22012 Rework board rebooting slightly.
22013 (gdb_exit): Don't exit from the remote shell; there isn't one.
22014 * gdb.stabs/weird.exp: If a program is being debugged already,
22015 kill it.
22016 * gdb.t04/setvar.exp: Stop and restart gdb.
22017 * gdb.t05/expr.exp: Likewise.
22018 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
22019 restart gdb and reload the program.
22020 * gdb.t08/opaque.exp: Likewise.
22021 * gdb.t12/scope.exp: Likewise.
22022 * gdb.t13/bitfields.exp: Likewise.
22023 * gdb.t15/funcargs.exp: Likewise.
22024 * gdb.t20/classes.exp: Likewise.
22025 * gdb.t03/ptype.exp: Increase timeout.
22026 * gdb.t16/printcmds.exp (test_print_string_constants,
22027 test_print_array_constants): Likewise.
22028 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
22029 * gdb.t20/classes.exp (do_tests): Likewise.
22030 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
22031
22032 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22033
22034 * gdb.stabs: Renamed *wierd* to *weird*.
22035
22036 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22037
22038 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
22039 for timeout. Add "known gcc 2.4.5 bug" to failure message.
22040
22041 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
22042
22043 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
22044 (do_tests): Remove xfail for whatis on one_var and two_var.
22045
22046 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22047
22048 * Makefile.in: Made cross building work better by adding
22049 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22050
22051 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22052
22053 * gdb.t15/{return.c,return.exp,Makefile.in}:
22054 New test, currently commented out.
22055
22056 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
22057
22058 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
22059 still running and removes the leftover named socket so GDb can do
22060 clean restarts.
22061
22062 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22063
22064 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
22065 console, not GDB.
22066 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
22067 cross testing works better with "make check"
22068 * config/unix-gdb: Use default procedures for exit and version.
22069 * config/vx-gdb.exp: Cleaned up and massaged back to working order
22070 with the newest VxWorks.
22071
22072 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22073
22074 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
22075 old form.
22076
22077 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
22078 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
22079
22080 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
22081
22082 * config/unix-gdb.exp: Remove this version of gdb_exit
22083 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
22084 Rob says he'll look at it when he gets back to testing boards.
22085
22086 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22087
22088 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22089 an expected fail for certain ptype commands.
22090
22091 * gdb.t20/classes.exp: Update expected results of "ptype class
22092 Base1" to account for the constructor that now appears in the type.
22093
22094 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
22095
22096 * configure.in (configdirs): Restore gdb.t04, which mysteriously
22097 disappeared from list.
22098 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
22099 "alldone" proc with call to cleanup and exit.
22100 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
22101 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
22102 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
22103 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
22104 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
22105 "alldone" proc with simple returns that suppress remaining
22106 tests. The alldone proc went away many months ago.
22107
22108 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22109
22110 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22111
22112 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22113
22114 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22115
22116 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22117 as vax gdb will display them.
22118
22119 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22120
22121 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22122 optimizers.
22123
22124 * scope.exp: Change "bad value for localval" messages so each one
22125 is unique.
22126
22127 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22128 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22129
22130 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22131
22132 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22133
22134 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22135 doesn't exist (due to optimization).
22136
22137 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22138
22139 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22140 contains \r because the filename is long.
22141
22142 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22143 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22144
22145 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22146
22147 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
22148 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
22149 Ultrix.
22150 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22151 int tests.
22152 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22153
22154 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22155
22156 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22157
22158 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22159 to match does not match the passing case but still matches the
22160 failing case.
22161
22162 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22163
22164 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22165
22166 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
22167
22168 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
22169 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
22170 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
22171 Remove various versions of gdb_exit.
22172 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
22173 gdb_exit.
22174 * config/unix-gdb.exp: gdb_exit remains here, and should override
22175 the generic version, since it's doing a lot of wierd stuff that
22176 the other versions aren't. FIXME, fold it in, or abandon this
22177 version.
22178
22179 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22180
22181 * gdb.t24/demangle.exp: Add tests for PR 3220.
22182
22183 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22184
22185 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22186
22187 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22188
22189 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22190 "i386-*-*". Works for i486 as well.
22191
22192 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
22193 bug, and expand domain of xfail to all SVR4 systems, since the
22194 actual problem is likely to be in generic SVR4 /proc support.
22195
22196 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22197
22198 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22199
22200 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
22201
22202 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
22203 xfails for other systems. Match a missing 'Continuing.' as an
22204 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
22205
22206 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
22207 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
22208 Only issue warning for missing executables if -all option is used.
22209
22210 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
22211 file if -all option is used. It's like an unpredictable XFAIL.
22212
22213 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22214
22215 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22216 for dynamically linked binaries.
22217
22218 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22219
22220 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22221
22222 * gdb.t20/inherit.exp: Change message for "print tagless struct"
22223 to state that this is a known bug in old versions of g++.
22224
22225 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22226
22227 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22228 while waiting for `Continuing'.
22229
22230 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
22231
22232 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
22233 in text, data, and bss.
22234 * gdb.t10/nodebug.c: Add local and global test variables for
22235 initialized and uninitialized data.
22236
22237 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22238
22239 * config/unix-gdb.exp (gdb_exit): Add "wait".
22240
22241 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22242
22243 * gdb.t06/signals.exp: xfail the continue from the handler for all
22244 targets.
22245
22246 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22247 function with watchpoints enabled, the i386 call dummy starts with
22248 a call.
22249
22250 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22251 386 bsd names its corefiles.
22252
22253 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
22254
22255 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
22256 compilers don't grok it.
22257 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
22258 with small octal ints rather than character constants, which
22259 are signed and might not fit if first promoted to int.
22260
22261 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22262
22263 * gdb.t09/Makefile.in (clean): Remove corefile.
22264
22265 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22266
22267 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22268
22269 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22270 and Jim Kingdon (kingdon@cygnus.com)
22271
22272 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
22273 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
22274 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
22275
22276 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22277
22278 * gdb.t17/interrupt.exp: Add xfail for hppa.
22279
22280 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22281
22282 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
22283 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
22284 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
22285 to determine signed-ness of bitfields and use the result to setup
22286 the xfail.
22287 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
22288 * gdb.t15/funcargs.exp: Use them to step until the second indirect
22289 call line is reached if necessary.
22290
22291 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22292
22293 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22294
22295 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22296
22297 * gdb.t06/break.exp: Also test `clear' command.
22298
22299 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22300
22301 * gdb.t00/teststrategy.exp: Remove extra quote.
22302
22303 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22304 watchpoint enabled to be for all non-68k machines.
22305
22306 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22307
22308 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22309
22310 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
22311 targets use aout.mt instead of ecoff.mt as gas understands
22312 standard aout format.
22313
22314 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22315
22316 * lib/gdb.exp (runto): Don't insist that function we are running to
22317 was compiled with -g.
22318
22319 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
22320
22321 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
22322 to get back into the read system call.
22323 Accept leading newline in case where we woke it up.
22324
22325 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22326
22327 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
22328 to make the stabs test work on ecoff systems using gcc and -with-stabs.
22329 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
22330 enable ecoff configuration.
22331
22332 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22333
22334 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22335
22336 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22337
22338 * gdb.t16/printcmds.exp: Add another printf test.
22339
22340 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22341
22342 * configure.in: If configured -with-stabs on any target, add
22343 stabsdirs to configdirs.
22344
22345 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22346
22347 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22348 fun" so pattern does not match the command itself.
22349
22350 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22351
22352 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22353
22354 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22355
22356 * gdb.t17/interrupt.exp: Test for more things.
22357
22358 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22359
22360 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22361 compiler arranges the code and line numbers.
22362
22363 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22364
22365 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22366
22367 * gdb.t00/help.exp: Increase expect input buffer size.
22368
22369 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22370
22371 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22372
22373 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22374
22375 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22376
22377 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22378 [0-9]*, not just [0-9].
22379
22380 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22381
22382 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22383
22384 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22385
22386 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22387
22388 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22389
22390 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22391
22392 * gdb.t06/signals.c: Add xfails for sun3.
22393
22394 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22395
22396 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22397 test_stepping tests.
22398
22399 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22400
22401 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22402
22403 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22404
22405 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22406 rather than actually putting it through cpp twice.
22407
22408 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22409
22410 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22411
22412 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22413 no longer needed.
22414
22415 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22416
22417 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
22418
22419 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
22420 C++ features prints as "struct", make it a pass, not an xfail.
22421
22422 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22423
22424 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22425 Don't require VA to print as "class" rather than "struct".
22426
22427 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22428
22429 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22430
22431 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22432
22433 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22434
22435 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22436
22437 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22438 order.
22439
22440 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22441
22442 * gdb.t16/printcmds.exp: Add printf tests.
22443
22444 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22445
22446 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22447
22448 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22449
22450 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22451 pass counts, to counteract any existing or future setup_xfails.
22452
22453 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22454
22455 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
22456 {BEGIN,END}_COMMON for common block instead of STAB.
22457 * gdb.stabs/wierd.exp: Add xfail for rs6000.
22458
22459 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
22460 intp_var should be N_GSYM not N_LSYM.
22461 wierd-aout.S: Use a label for the value of the N_SO.
22462 wierd.def: Remove all backslashes.
22463 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
22464
22465 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22466
22467 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22468 get the expected next to inheritance3.
22469
22470 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22471
22472 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22473 now that gcc-2.4 gets it right.
22474
22475 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22476
22477 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
22478
22479 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
22480 generating comp-info.exp which works for cross-compilation.
22481
22482 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22483
22484 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22485 "*-*-sysv4.*".
22486
22487 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22488
22489 * gdb.t01/run.exp: Start with a fresh gdb.
22490 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22491 SVR4.x.
22492
22493 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
22494
22495 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
22496 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
22497 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
22498 Makefile.in (distclean, realclean): Remove gdbme.c from list of
22499 things to remove.
22500
22501 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22502
22503 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22504 test cases from bug reports.
22505
22506 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
22507
22508 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
22509 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
22510 avoid spurious xfails.
22511 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
22512 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
22513 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
22514
22515 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
22516
22517 * gdb.t00/teststrategy.exp: Rework to provide more useful
22518 description of each test, fix problem with systems that define
22519 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
22520 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
22521 results for "next over recursive call" so timeouts aren't taken
22522 by error.
22523
22524 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22525
22526 * gdb.t12/scope.exp: Test printing of variables before run.
22527
22528 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22529 printed in wrong order due to sorting.
22530
22531 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22532
22533 * gdb.t00/teststrategy.exp: Fix expected results for printing
22534 user entered string constant. Is array of char, prints with no
22535 address.
22536
22537 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
22538 commands.
22539 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
22540 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
22541 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
22542 of struct of char arrays.
22543 * gdb.t00/radix.exp: New tests for radix commands.
22544
22545 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22546
22547 * gdb.t16/printcmd.exp: Print a variable before running program
22548 (with xfail for AIX).
22549
22550 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22551
22552 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
22553
22554 * gdb.t16/printcmd.exp: Don't print variables before running program.
22555
22556 * gdb.t06/break.exp: Don't require envp argument to main.
22557
22558 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
22559
22560 * gdb.t02/whatis.exp, gdb.t11/list.exp:
22561 Add xfails for rs6000.
22562
22563 * gdb.t02/whatis.exp: Change other tests not to re-test something
22564 we already tested.
22565
22566 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
22567 each type used has a variable of that type.
22568
22569 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
22570
22571 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
22572
22573 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
22574
22575 * configure.in: change srctrigger to be a file, not a directory
22576
22577 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
22578
22579 * configure.in (mips-idt-ecoff*): Added trailing '*'.
22580
22581 * gdb.t11/list.exp: Fixed a couple of typos.
22582
22583 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
22584
22585 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
22586 is fixed and PR is closed.
22587 * gdb.t16 (gdbme.c): Add simple test string variable.
22588 * gdb.t16 (printcmds.exp): Add tests with simple test string
22589 variable, primarily for boundaries on "set print elements".
22590
22591 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
22592
22593 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
22594 Make leading 0's optional and don't expect a tab in the middle
22595 of the number.
22596
22597 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
22598
22599 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
22600 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
22601 don't end command passed to gdb_test with newline.
22602
22603 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
22604 signed keyword away, don't expect signed bitfields to be signed.
22605
22606 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
22607 printing with only as many 1's as are in the field as well as printing
22608 with 32 1's (see comment).
22609
22610 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
22611
22612 * gdb.t00/default.exp: Start with a fresh gdb.
22613 * configure.in (configdirs): Remove gdb.t31 until the chill
22614 compiler works again. It no longer is able to find chillrt0
22615 since it isn't in libchill.a anymore.
22616 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
22617 wierd.o, make more modular.
22618 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
22619 spurious newlines that caused problems.
22620
22621 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22622
22623 * Move test with enums and partial symbols from gdb.t03/ptype.exp
22624 to gdb.stabs/wierd.exp since GCC has worked around the bug.
22625 gdb.stabs/wierd.{exp,def}: Many new tests.
22626
22627 * gdb.t00/default.exp: update info line for new message.
22628
22629 * gdb.t02/{whatis.exp,gdbme.c}:
22630 Test that "char *" doesn't print as "caddr_t".
22631
22632 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22633
22634 * gdb.t00/help.exp: Use .* in place of some help messages which
22635 just changed.
22636 gdb.t00/default.exp: Update "info frame" test for new message.
22637 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
22638 Remove some xfails
22639
22640 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22641
22642 * gdb.t03/{gdbme.c,ptype.exp}:
22643 Add tests for typedef'd struct and union without tags.
22644 Also check "whatis" on a variable of a typedef'd enum without a tag.
22645
22646 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
22647 PRMS 1823; the bug still exists but isn't reproduced by this test
22648 anymore), and remove rs6000 XFAIL (the bug is fixed).
22649
22650 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
22651 duplicated from whatis.exp. For those that are left, accept
22652 "long", "long int", or "int" for long variables (whatis.exp already
22653 has an XFAIL for "int", so no need to fail it here).
22654
22655 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
22656 Deal with GCC's names for types now that GDB uses the compiler's names.
22657
22658 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
22659 setup_xfail's for sunos4. If we #defined the signed keyword away,
22660 don't expect GDB to know that char it is signed.
22661
22662 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
22663
22664 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
22665
22666 * configure.in (configdirs): Add gdb.t24 for C++ tests that
22667 should work on any system, regardless of debugging format.
22668 * gdb.t21/demangle.exp: Move to gdb.t24.
22669 * gdb.t24/demangle.exp: Move from gdb.t21.
22670 * gdb.t24/{Makefile.in, configure.in}: New files.
22671
22672 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22673
22674 * configure.in: Do gdb.stabs and C++ tests only for stabs.
22675 * gdb.stabs: New directory.
22676
22677 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22678
22679 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
22680 not just "Quit anyway?".
22681
22682 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
22683
22684 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
22685 that all setup_xfails are immediately followed by clear_xfails.
22686
22687 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
22688
22689 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
22690 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
22691 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
22692 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
22693 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
22694 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
22695 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
22696 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
22697 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
22698 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
22699 gdb.t31/chillvars.exp, lib/gdb.exp:
22700 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
22701 bug-gdb@prep.ai.mit.edu.
22702
22703 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
22704
22705 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
22706 with 0.0, not integer 0.
22707
22708 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
22709
22710 * gdb.t06/break.exp: Update for "Kill the program" message change.
22711
22712 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
22713
22714 * Makefile.in (GDBFLAGS): Set to -nx.
22715 * Makefile.in (site.exp): Use GDBFLAGS.
22716
22717 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
22718
22719 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
22720 Makefiles.
22721 (check): depend on just-check.
22722 (just-check): added so that tests can be run without a noop
22723 build pass.
22724
22725 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
22726
22727 Switch to using configure's configdirs.
22728 * Makefile.in (Makefile): add configure.in dependency.
22729 (SUBDIRS): removed redundant assignment.
22730 * configure.in: switch subdirs assignment to configdirs.
22731 * gdb.t*/configure.in: new files.
22732
22733 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
22734
22735 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
22736 works.
22737
22738 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
22739
22740 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
22741 in explicit rules. Apparently this is not supported by some makes.
22742
22743 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
22744
22745 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
22746
22747 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22748
22749 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
22750 disappeared.
22751
22752 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
22753
22754 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
22755
22756 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
22757
22758 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
22759 watchpoint problem that is now fixed.
22760 * gdb.t30/chexp.exp: Remove setup_xfail for printing
22761 uninitialized convenience variables.
22762 * gdb.t31/chillvars.exp: Fix expected patterns for printing
22763 structures.
22764
22765 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22766
22767 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
22768 which causes expect to get out of sync with gdb on long output
22769 from help set.
22770 * gdb.t09/corefile.exp: Make expected pattern for core file
22771 failing signal and frame output format less sun specific.
22772
22773 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
22774
22775 * gdb.t31/chillvars.exp: Add and remove initial dummy
22776 breakpoint, so that symbol table is forced in.
22777 (Needed at least on Sunos4, though it seems not SVR4.)
22778 * gdb.t31/chillvars.exp: Update for changed output format.
22779
22780 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
22781
22782 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
22783
22784 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
22785
22786 * Makefile.in: Added --srcdir when invoking runtest, removed the
22787 need for a local config file. (optional now)
22788
22789 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
22790
22791 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
22792 failure count used to force early termination. Add some more
22793 expected failures for gnu style demangling.
22794
22795 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22796
22797 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
22798 pmi variable from gdb.t20/gdbme to get optimized away.
22799 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
22800 Check for written corefile upon timeout _and_ eof.
22801
22802 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22803
22804 * config/unix-gdb.exp: Add missing return 0.
22805
22806 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22807
22808 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
22809 test termination.
22810
22811 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
22812
22813 * configure.in (subdirs): Put back gdb.t17 which mysteriously
22814 disappeared.
22815
22816 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
22817
22818 * gdb.t10/crossload.exp: Disable the i860-elf test until such
22819 time as i860 support works.
22820
22821 * gdb.t15/funcargs.exp: Fix expected outputs to include
22822 "backtrace 100\r" rather than just "backtrace\r", to match last
22823 change.
22824
22825 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
22826
22827 * config/udi-gdb.exp (gdb_exit): Remove close command.
22828 (gdb_target_udi): New procedure to set the UDI target.
22829 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
22830 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
22831 Added waits for prompts after several question responses. Added
22832 some more responses used by a29k-amd-udi-gdb.
22833 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
22834 pass different arguments, restart UDI connection after program
22835 completion.
22836 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
22837 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
22838 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
22839 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
22840 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
22841 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
22842 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
22843 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
22844 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
22845 after program completion.
22846 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
22847 compiled with a SELECT_VECS setting.
22848 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
22849 infinite recursion.
22850
22851 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
22852 Added checks for COFF results, and made them expected failures for
22853 all targets. It would be better to make them expected failures
22854 for COFF targets only.
22855
22856 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
22857
22858 * Makefile.in: add null dvi target, don't bother to recurse
22859 through test directories for info and install-info; rename
22860 $(datadir) to be dejagnu instead of deja-gnu
22861
22862 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
22863
22864 * gdb.t31/gdbme.ch: Re-enable code that previously caused
22865 compiler to coredump.
22866 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
22867 code.
22868
22869 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
22870
22871 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
22872 coredump.
22873 * gdb.t31/chillvars.exp: Comment out tests that depend on that
22874 code.
22875
22876 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
22877
22878 * gdb.t03/ptype.exp: tests for return code from gdb_test.
22879 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
22880 which in a shell. Deletes xgdb when done.
22881 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
22882 Tests the return from the "set height" or "set width" commands.
22883 Added a few return codes where needed.
22884
22885 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
22886
22887 * Makefile.in (SUBDIRS): Add gdb.t17.
22888 * configure.in (subdirs): Add gdb.t17.
22889 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
22890 files to test gdb's calling of functions in the inferior with
22891 the correct arguments and gdb's ability to retrieve any
22892 result returned.
22893
22894 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
22895
22896 * config/unix-gdb.exp (gdb_exit): Remove close commands that
22897 may be called after gdb goes away. Previous versions of expect
22898 needed these to avoid file descriptor leaks, but they cause
22899 errors with the current revision of expect.
22900 * gdb.t00/gdbvars.exp: Use -re on expected output after
22901 setting sevenbit-strings.
22902 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
22903 to set sevenbit-strings consistent across tests.
22904 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
22905 set sevenbit-strings consistent across tests.
22906
22907 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
22908
22909 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
22910 expected output to match current "expect" expectations.
22911
22912 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
22913
22914 * gdb.t00/default.exp: Change expected output for default "source"
22915 command, to match new gdb behavior which requires a filename to
22916 source.
22917
22918 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
22919
22920 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
22921 expected fail for i486-*-* that misses the marker2 function.
22922 * gdb.t10/crossload.exp (bfddefault): Allow successful
22923 recognition of a format to pass even if no symbols are found.
22924 Explicitly catch failures where the format is not recognized
22925 or is ambiguous, and add the reason to the fail message.
22926 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
22927 the cause is and invalid target and add reason to failure message.
22928 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
22929 elf32-i386, elf32-sparc, and elf32-i860.
22930 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
22931 Set up expected failure for 'filename'::variable scope resolution,
22932 which is now apparently broken on all targets.
22933 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
22934 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
22935 gdb.t23/templates.exp: Change failure for missing binfile into
22936 just a warning.
22937 gdb.t21/demangle.exp: Change all cfront references to 'arm'
22938 references.
22939
22940 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
22941
22942 * gdb.t00/default.exp: Add expected output for default "source"
22943 command, to match new gdb behavior.
22944 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
22945
22946 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
22947
22948 * config/*-gdb.exp: returns an error, rather than exiting on
22949 internal errors.
22950
22951 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
22952
22953 * gdb.t03/gdbme.c: Add pointer to struct variable.
22954 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
22955 referencing struct members.
22956
22957 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
22958
22959 * configure.in (mips-idt-ecoff): New target.
22960 * config/mips-gdb.exp: New file for remote board using MIPS remote
22961 debugging protocol.
22962
22963 * Redid configuration scheme. Removed gdb.t*/configure.in.
22964 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
22965 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
22966 distclean targets. Built executables via .o files. Adjusted
22967 tests to account for source files in $(srcdir) rather than
22968 $(objdir).
22969 * lib/gdb.exp (runto): Don't expect () after the function name,
22970 because it may have arguments.
22971
22972 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
22973
22974 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
22975 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
22976 expected failures for mips-idt-* and mips-sgi-*.
22977 * gdb.t00/default.exp (attach): Kill process if requested.
22978 * gdb.t00/help.exp (help target core, help target): Accept a gdb
22979 that does not read core files.
22980 * gdb.t01/run.exp: Removed checks for exit status code.
22981 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
22982 it is linked in.
22983 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
22984 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
22985 appropriate, rather than doing it by hand.
22986 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
22987 execution.
22988 * gdb.t10/crossload.exp: Kill existing program if needed.
22989 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
22990 appropriate, rather than doing it by hand. Always increase
22991 timeout for this test, not just for VxWorks.
22992
22993 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
22994
22995 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
22996 of Chill STRUCT types and STRUCT values.
22997 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
22998 than "char".
22999 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
23000 struct2): New struct definitions and initializations to test
23001 simple Chill STRUCT types.
23002
23003 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
23004
23005 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
23006 the null byte at the end of strings.
23007 * gdb.t00/default.exp: Make show version insensitive to copyright
23008 date.
23009 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
23010 to avoid dependencies on target char signedness.
23011 * gdb.t16/printcmds.exp: Update expected results for explicitly
23012 unsigned char.
23013 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
23014 now work.
23015 * gdb.t21/demangle.exp: Add many more patterns for template
23016 demangling, most of them being expected failures.
23017 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
23018 string we are matching for, to match on the whole string.
23019 * gdb.t21/demangle.exp: Add many new test strings to demangle,
23020 and fix a whole bunch that had incorrect expected output but were
23021 passing anyway because of the bug in "proc demangle".
23022 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
23023 type.
23024 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23025
23026 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
23027
23028 * gdb/testsuite: made modifications to testcases, etc., to allow
23029 them to work properly given the reorganization of deja-gnu and the
23030 relocation of the testcases from deja-gnu to a "tool" subdirectory.
23031
23032 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
23033
23034 * gdb/testsuite: Initial creation of gdb/testsuite.
23035 Migrated dejagnu testcases and support files for testing nm to
23036 gdb/testsuite from deja-gnu. These files were moved "as is"
23037 with no modifications. This migration is part of a major overhaul
23038 of dejagnu. The modifications to these testcases, etc., which
23039 will allow them to work with the new version of dejagnu will be
23040 made in a future update.
23041
23042 For additional changes see gdb.mi/ChangeLog-1999-2003.
23043 \f
23044 ;; Local Variables:
23045 ;; mode: change-log
23046 ;; left-margin: 8
23047 ;; fill-column: 74
23048 ;; version-control: never
23049 ;; End:
23050
23051 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
23052 2003, 2004, 2005 Free Software Foundation, Inc.
23053 Copying and distribution of this file, with or without modification,
23054 are permitted provided the copyright notice and this notice are preserved.