1 2011-01-11 Tom Tromey <tromey@redhat.com>
3 * gdb.python/py-infthread.exp: Load gdb-python.exp.
5 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
7 Convert hardware watchpoints to use breakpoint_ops.
8 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
10 * gdb.base/foll-fork.exp: Likewise.
11 * gdb.base/foll-vfork.exp: Likewise.
13 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
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.
20 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
22 * gdb.threads/tls.exp ("info address me"): Fix expected output.
24 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
26 * configure: Regenerate.
28 2011-01-06 Tom Tromey <tromey@redhat.com>
30 * gdb.python/py-frame.exp: Test gdb.newest_frame.
32 2011-01-06 Joel Brobecker <brobecker@adacore.com>
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.
59 2011-01-06 Joel Brobecker <brobecker@adacore.com>
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:
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.
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.
74 2011-01-06 Joel Brobecker <brobecker@adacore.com>
76 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
77 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
80 2011-01-05 Joel Brobecker <brobecker@adacore.com>
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.
92 2011-01-05 Joel Brobecker <brobecker@adacore.com>
94 * gdb.base/langs1.f: Add copyright header.
96 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
98 * gdb.base/morestack.exp: New file.
99 * gdb.base/morestack.c: New file.
101 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
103 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
105 2010-12-29 Joel Brobecker <brobecker@adacore.com>
107 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
108 * gdb.ada/arrayptr.exp: Add test printing that new variable.
110 2010-12-29 Joel Brobecker <brobecker@adacore.com>
112 * gdb.ada/lang_switch.exp: Correct expected parameter value.
114 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
116 * gdb.threads/tls.exp: Fix typo.
118 * gdb.threads/thread-specific.exp (get_thread_list): Update.
119 * gdb.threads/execl.exp: Update.
121 2010-12-23 Yao Qi <yao@codesourcery.com>
123 * gdb.arch/arm-disp-step.exp: New.
124 * gdb.arch/arm-disp-step.S: New.
126 2010-12-21 Tom Tromey <tromey@redhat.com>
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.
133 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
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".
141 2010-12-12 Stan Shebs <stan@codesourcery.com>
143 * gdb.trace/tsv.exp: Test print command on trace state variables.
145 2010-12-09 Tom Tromey <tromey@redhat.com>
147 * gdb.base/interp.exp: Add regression test.
149 2010-12-09 Tom Tromey <tromey@redhat.com>
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.
156 2010-12-07 Doug Evans <dje@google.com>
158 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
160 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
162 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
164 2010-11-29 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
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.
172 2010-11-30 Doug Evans <dje@google.com>
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.
187 2010-11-29 Doug Evans <dje@google.com>
189 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
190 printer-name;subprinter-name.
192 2010-11-29 Tom Tromey <tromey@redhat.com>
194 * gdb.dwarf2/implptr.exp: New file.
195 * gdb.dwarf2/implptr.c: New file.
196 * gdb.dwarf2/implptr.S: New file.
198 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
202 * gdb.python/py-breakpoint.exp: Test the delete method.
204 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
210 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
212 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
214 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
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.
221 2010-11-23 Doug Evans <dje@google.com>
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.
229 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
233 * gdb.python/python.exp: Check that selected_thread raises an
234 error when no inferior is loaded.
236 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
238 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
239 * gdb.dwarf2/dw2-stack-boundary.S: New file.
241 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
243 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
244 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
246 2010-11-18 Doug Evans <dje@google.com>
248 * gdb.server/ext-run.exp: Fix intermittent failures.
250 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
252 * gdb.stabs/gdb11479.exp: Use runto_main.
254 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
256 * gdb.base/break-entry.exp: Skip if using a stub.
258 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
260 * gdb.python/py-inferior.exp: Pack values in target endianness.
262 2010-11-12 Tom Tromey <tromey@redhat.com>
264 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
265 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
267 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
269 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
271 (test_subscript_regression): Update exception type.
273 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
275 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
278 2010-11-09 Pedro Alves <pedro@codesourcery.com>
280 * gdb.base/watchpoint.exp: Test "watch -location" with an
281 innacessible location.
283 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
284 Luis Machado <luisgpm@br.ibm.com>
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.
293 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
294 Luis Machado <luisgpm@br.ibm.com>
296 * gdb.base/break-entry.exp: convert entry point for
297 ppc64 and expect leading `.' on ppc64's symbols
299 2010-11-05 Doug Evans <dje@google.com>
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").
306 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
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
328 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
330 * gdb.cp/overload.exp: Added test for inheritance overload.
331 * gdb.cp/overload.cc: Ditto.
332 * gdb.cp/oranking.exp: Removed releveant kfails.
334 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
335 Joel Brobecker <brobecker@adacore.com>
337 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
338 check test_compiler_info.
340 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
342 * gdb.base/gnu_vector.exp: Adjust expect messages.
344 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
346 * gdb.base/gnu_vector.exp: Add unary operator tests.
348 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
350 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
352 2010-11-02 Doug Evans <dje@google.com>
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.
358 2010-11-02 Tom Tromey <tromey@redhat.com>
360 * gdb.base/default.exp: Remove "scheme" from language list.
362 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
369 2010-10-20 Michael Snyder <msnyder@vmware.com>
371 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
373 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
375 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
376 Skip test completely if gdb,no_hardware_watchpoints.
378 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
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.
383 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
385 * gdb.cp/smartp.exp: New test.
386 * gdb.cp/smartp.cc : New test.
388 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
390 * gdb.cp/converts.exp: Test pointer to bool conversion.
391 Test pointer to long conversion.
392 * gdb.cp/oranking.exp: Removed relevant kfail.
394 2010-10-18 Tom Tromey <tromey@redhat.com>
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.
403 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
409 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
411 * gdb.threads/sigstep-threads.exp: New file.
412 * gdb.threads/sigstep-threads.c: New file.
414 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
416 * gdb.base/pie-execl.exp: New file.
417 * gdb.base/pie-execl.c: New file.
419 2010-10-13 Doug Evans <dje@google.com>
420 Jan Kratochvil <jan.kratochvil@redhat.com>
423 * gdb.cp/ptype-cv-cp.cc: New file.
424 * gdb.cp/ptype-cv-cp.exp: New file.
426 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
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.
434 2010-10-13 Doug Evans <dje@google.com>
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.
441 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
443 * gdb.python/py-error.exp: New file.
444 * gdb.python/py-error.py: New file.
446 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
448 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
451 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
460 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
462 * break-interp.exp (test_ld): Use two separate gdb_expect statements
463 for the "info files" test to avoid timeouts on slow machines.
465 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
467 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
468 (main): Make openlib dummy call.
470 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
478 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
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".
485 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
487 * gdb.cp/oranking.exp: New test.
488 * gdb.cp/oranking.cc: New test program.
490 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
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.
495 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
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.
502 2010-10-06 Doug Evans <dje@google.com>
504 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
505 of syscall staging area.
507 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
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.
513 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
515 * gdb.arch/altivec-abi.exp: Fix a typo.
517 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
519 * lib/mi-support.exp (thread_selected_re): Correct pattern used
520 to match a thread ID.
522 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
524 Fix s390x testcase compatibility.
525 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
527 2010-10-01 Doug Evans <dje@google.com>
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.
543 2010-09-30 Tom Tromey <tromey@redhat.com>
545 * gdb.base/anon.exp: New file.
546 * gdb.base/anon.c: New file.
548 2010-09-30 Tom Tromey <tromey@redhat.com>
550 * gdb.base/completion.exp: Test completion through anonymous
552 * gdb.base/break1.c (struct some_struct): Add anonymous union.
554 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
561 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
564 * gdb.base/corefile.exp (quit with a process, no question: load core)
565 (quit with a core file): New tests.
567 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
574 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
576 Fix lost siginfo_t for inferior calls.
577 * gdb.base/siginfo-infcall.exp: New file.
578 * gdb.base/siginfo-infcall.c: New file.
580 2010-09-22 Joel Brobecker <brobecker@adacore.com>
582 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
584 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
586 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
588 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
590 2010-09-22 Joel Brobecker <brobecker@adacore.com>
592 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
593 type of our const type.
595 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
597 * gdb.cp/pr12028.cc: New.
598 * gdb.cp/pr12028.exp: New.
600 2010-09-22 Joel Brobecker <brobecker@adacore.com>
602 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
604 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
605 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
613 2010-09-14 Tom Tromey <tromey@redhat.com>
616 * gdb.threads/tls.exp: Remove kfail. Update expected output.
618 2010-09-14 Tom Tromey <tromey@redhat.com>
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.
627 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
629 * gdb.cp/koenig.cc: created class for testing member lookup.
630 * gdb.cp/koenig.exp: Added test for member lookup.
632 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
638 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
640 * gdb.python/python.exp (set height 0, collect help from uiout)
641 (verify help to uiout): New tests.
643 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
645 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
646 is_lp64_target to check 64bit target.
648 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
650 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
651 (test_ld) <powerpc64-*>: New.
653 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
655 * gdb.cp/templates.exp (test_template_args): Allow "struct".
657 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
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.
666 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
668 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
669 of "next" to proceed over pthread_exit call.
671 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
673 * gdb.base/maint.exp: Avoid wildcards against potentially very long
674 "maint print statistics" output to prevent expect timeouts.
676 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
691 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
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.
698 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
700 * gdb.base/ui-redirect.exp: New file.
702 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
703 Joel Brobecker <brobecker@adacore.com>
705 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
707 2010-08-31 Doug Evans <dje@google.com>
709 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
711 2010-08-30 Tom Tromey <tromey@redhat.com>
714 * gdb.python/py-value.exp (test_subscript_regression): Add
717 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
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.
724 2010-08-26 Pedro Alves <pedro@codesourcery.com>
726 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
729 2010-08-24 Doug Evans <dje@google.com>
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.
737 2010-08-23 Tom Tromey <tromey@redhat.com>
740 * gdb.python/py-value.c (Base, Derived): New types.
742 * gdb.python/py-value.exp (test_subscript_regression): Add
745 2010-08-23 Tom Tromey <tromey@redhat.com>
748 * gdb.python/py-type.exp (test_fields): Add tests for type
751 2010-08-23 Tom Tromey <tromey@redhat.com>
754 * gdb.python/py-type.exp (test_fields): Add tests for array.
756 2010-08-23 Keith Seitz <keiths@redhat.com>
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.
762 2010-08-20 Keith Seitz <keiths@redhat.com>
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.
770 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
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.
777 2010-08-19 Pedro Alves <pedro@codesourcery.com>
779 * gdb.python/py-shared.exp: New file, factored out from
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
788 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
789 (MISCELLANEOUS): New.
790 (clean mostlyclean): Also remove $MISCELLANEOUS.
792 2010-08-19 Doug Evans <dje@google.com>
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.
804 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
806 * gdb.base/default.exp (info set): Avoid full buffer error and force
807 reading up to final gdb prompt.
810 2010-08-18 Tom Tromey <tromey@redhat.com>
813 * gdb.base/completion.exp: Add test.
815 2010-08-18 Doug Evans <dje@google.com>
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.
840 2010-08-18 Yao Qi <yao@codesourcery.com
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.
846 2010-08-18 Yao Qi <yao@codesourcery.com>
848 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
849 to reflect latest c source file.
851 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
857 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
858 Pedro Alves <pedro@codesourcery.com>
862 * gdb.base/watch-cond-infcall.exp: New file.
863 * gdb.base/watch-cond-infcall.c: New file.
865 2010-08-16 Tom Tromey <tromey@redhat.com>
867 * gdb.base/help.exp: Update.
868 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
870 (test_watch_location): New proc.
871 (test_watchpoint_in_big_blob): Delete watchpoint.
872 * gdb.base/watchpoint.c (func5): New function.
875 2010-08-16 Doug Evans <dje@google.com>
877 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
879 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
881 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
884 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
886 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
887 * gdb.base/gnu_vector.c: New File.
888 * gdb.base/gnu_vector.exp: Likewise.
890 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
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
897 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
904 2010-08-02 Doug Evans <dje@google.com>
906 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
907 because of an older gcc, change test2
908 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
911 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
913 * gdb.base/break-always.exp: Do not expect full paths to file
915 * gdb.base/commands.exp: Likewise.
917 2010-07-30 Doug Evans <dje@google.com>
919 * gdb.cp/temargs.exp: For new tests that require newer gccs,
920 xfail them when run with older gccs.
922 * lib/gdb.exp (build_executable): Forward "c++" option to
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.
930 * gdb.base/valgrind-db-attach.exp: Use unique test name for
931 attach-to-debugger handling.
933 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
941 2010-07-29 Pedro Alves <pedro@codesourcery.com>
943 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
944 in gdb_test_multiple.
946 2010-07-29 Pedro Alves <pedro@codesourcery.com>
948 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
951 2010-07-28 Tom Tromey <tromey@redhat.com>
954 * gdb.python/py-type.c (Temargs): New template.
955 (temvar): New variable.
956 * gdb.python/py-type.exp (test_template): New proc.
958 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
960 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
961 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
963 2010-07-28 Tom Tromey <tromey@redhat.com>
966 * gdb.cp/temargs.exp: New file.
967 * gdb.cp/temargs.cc: New file.
969 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
971 * gdb.base/help.exp (help disassemble): Update the content.
973 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
975 * gdb.threads/ia64-sigill.exp: New file.
976 * gdb.threads/ia64-sigill.c: New file.
978 2010-07-27 Tom Tromey <tromey@redhat.com>
980 * gdb.opt/inline-cmds.c (ATTR): New define.
984 (outer_inline1): Likewise.
985 (outer_inline2): Likewise.
986 * gdb.opt/inline-bt.c (ATTR): New define.
989 * gdb.opt/inline-locals.c (ATTR): New define.
993 2010-07-27 Tom Tromey <tromey@redhat.com>
995 * gdb.stabs/gdb11479.c (hack): New function.
998 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
999 (int32_search_buf, int64_search_buf): No longer static.
1001 * gdb.base/relocate.c (hack): New function.
1003 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
1005 * gdb.python/py-value.exp (test_inferior_function_call): New function.
1006 * gdb.python/py-value.c (func1): New function.
1009 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
1011 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
1012 as not to clash with .data section.
1014 2010-07-26 Jerome Guitton <guitton@adacore.com>
1016 * gdb.base/code_elim.exp: New file.
1017 * gdb.base/code_elim1.c: New file.
1018 * gdb.base/code_elim2.c: New file.
1020 2010-07-21 Pedro Alves <pedro@codesourcery.com>
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.
1029 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
1031 * gdb.cp/fpointer.cc: New test.
1032 * gdb.cp/fpointer.exp: New test.
1034 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1036 * gdb.base/solib-nodir.exp: New file.
1037 * lib/gdb.exp (runto): New case for a GDB internal error.
1039 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1040 Ulrich Weigand <uweigand@de.ibm.com>
1041 Tom Tromey <tromey@redhat.com>
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.
1049 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
1059 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
1061 * gdb.arch/altivec-abi.exp: New tests.
1063 2010-07-13 Tom Tromey <tromey@redhat.com>
1065 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
1067 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
1069 2010-07-13 Tom Tromey <tromey@redhat.com>
1071 * gdb.base/label.exp: New file.
1072 * gdb.base/label.c: New file.
1074 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
1075 H.J. Lu <hongjiu.lu@intel.com>
1077 * lib/gdb.exp (is_ilp32_target): New.
1078 (is_lp64_target): Likewise.
1080 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
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.
1087 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
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.
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
1104 2010-07-07 Doug Evans <dje@google.com>
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.
1110 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1111 Joel Brobecker <brobecker@adacore.com>
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.
1118 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1119 Joel Brobecker <brobecker@adacore.com>
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.
1126 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1127 Joel Brobecker <brobecker@adacore.com>
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
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)
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
1152 (prelink): Rename to ...
1153 (seen displacement message): ... this test. Extend its expectation
1156 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
1162 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1163 Joel Brobecker <brobecker@adacore.com>
1165 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
1166 its restore after the <$relink_args != ""> loop. new comment.
1168 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
1169 Joel Brobecker <brobecker@adacore.com>
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.
1179 2010-07-02 Tom Tromey <tromey@redhat.com>
1181 * gdb.base/bitops.exp: Remove extraneous "pass".
1183 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
1185 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
1187 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1189 * gdb.base/help.exp: Adjust expected output.
1191 2010-07-01 Pedro Alves <pedro@codesourcery.com>
1193 * gdb.base/help.exp: Adjust expected output.
1195 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
1197 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
1198 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
1201 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1202 Doug Evans <dje@google.com>
1204 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
1205 add .dynamic entry'.
1207 2010-06-29 Doug Evans <dje@google.com>
1210 * gdb.cp/m-static.exp: Add testcase.
1211 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
1213 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
1214 Tom Tromey <tromey@redhat.com>
1215 Thiago Jung Bauermann <bauerman@br.ibm.com>
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.
1222 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
1234 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
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
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.
1252 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1254 Test PR c++/11703 and PR gdb/1448.
1255 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
1258 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
1264 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1265 Joel Brobecker <brobecker@adacore.com>
1267 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
1269 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1271 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
1273 2010-06-28 Doug Evans <dje@google.com>
1275 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
1277 2010-06-27 Doug Evans <dje@google.com>
1279 * gdb.cp/m-static.exp: Update expected test output.
1281 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
1283 * gdb.gdb/selftest.exp: Adjust expected message for
1284 capturing start-up runtime.
1286 2010-06-25 Tom Tromey <tromey@redhat.com>
1289 * gdb.python/python.exp: Add new tests.
1291 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
1293 * gdb.cp/operator.cc: Created an import loop.
1294 * gdb.cp/operator.exp: Added testcase for import loop.
1296 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
1309 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1311 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
1312 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
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.
1318 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1320 * gdb.cell/dwarfaddr.exp: New file.
1321 * gdb.cell/dwarfaddr.S: New file.
1323 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1326 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
1328 2010-06-24 Hui Zhu <teawater@gmail.com>
1330 * gdb.base/eval.exp: New file.
1332 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1334 * gdb.cell/fork.exp: New file.
1335 * gdb.cell/fork.c: Likewise.
1336 * gdb.cell/fork-spu.c: Likewise.
1338 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
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
1345 2010-06-21 Doug Evans <dje@google.com>
1347 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
1349 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1351 * gdb.arch/spu-ls.exp: New file.
1352 * gdb.arch/spu-ls.c: Likewise.
1354 2010-06-18 Stan Shebs <stan@codesourcery.com>
1356 * gdb.threads/thread-specific.exp: Add tests of $_thread.
1358 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
1364 2010-06-18 Pedro Alves <pedro@codesourcery.com>
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.
1370 2010-06-17 Doug Evans <dje@google.com>
1372 * gdb.arch/i386-size.exp: Updated expected output for
1373 DISASSEMBLY_OMIT_FNAME.
1375 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1376 Sergio Durigan Junior <sergiodj@redhat.com>
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.
1390 2010-06-14 Kevin Buettner <kevinb@redhat.com>
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
1401 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
1411 2010-06-11 Stan Shebs <stan@codesourcery.com>
1413 * gdb.base/permissions.exp: New file.
1415 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1417 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
1418 does not support ELF executable class.
1420 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1422 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
1424 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1426 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
1427 (runto): Catch "The target does not support running in non-stop mode.".
1429 2010-06-11 Michael Snyder <msnyder@vmware.com>
1431 * gdb.base/setshow.exp (set language asm): Don't use
1432 gdb_test_no_output, fails on some targets.
1434 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1436 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
1437 * gdb.cp/pr9167.exp: Likewise.
1439 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1441 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
1443 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1445 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
1447 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1449 * gdb.base/charset.c (main): Make sure malloc gets linked in.
1451 2010-06-11 Tom Tromey <tromey@redhat.com>
1453 PR gdb/9977, PR exp/11636::
1454 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
1455 (pieces_test_f6): Update expected output.
1457 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1459 * gdb.base/moribund-step.exp: New.
1461 2010-06-08 Michael Snyder <msnyder@vmware.com>
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.
1471 * gdb.asm/asm-source.exp: Ditto.
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.
1493 * gdb.cp/classes.exp: Ditto.
1495 * gdb.dwarf2/dw2-restore.exp: Ditto.
1497 * gdb.gdb/selftest.exp: Ditto.
1499 * gdb.multi/base.exp: Ditto.
1500 * gdb.multi/bkpt-multi-exec.exp: Ditto.
1502 * gdb.python/py-block.exp: Ditto.
1503 * gdb.python/py-prettyprint.exp: Ditto.
1504 * gdb.python/py-template.exp: Ditto.
1506 * gdb.server/ext-attach.exp: Ditto.
1507 * gdb.server/ext-run.exp: Ditto.
1508 * gdb.server/server-mon.exp: Ditto.
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.
1521 2010-06-08 Michael Snyder <msnyder@vmware.com>
1523 * gdb.ada/exec_changed.exp:
1524 Use ".*" instead of "" as wildcard regexp.
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.
1543 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
1545 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
1546 * gdb.python/py-value.exp: Ditto.
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.
1558 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1560 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
1562 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1565 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
1567 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
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.
1574 2010-06-04 Michael Snyder <msnyder@vmware.com>
1576 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
1577 * gdb.base/pending.exp: Ditto.
1579 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
1581 2010-06-04 Doug Evans <dje@google.com>
1583 * gdb.python/py-prettyprint.exp: Add new test for enabled and
1585 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
1586 (enable_lookup_function): New function.
1588 2010-06-04 Tom Tromey <tromey@redhat.com>
1590 * gdb.python/py-value.exp (test_value_hash): Don't test equality
1593 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1595 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
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.
1601 2010-06-03 Michael Snyder <msnyder@vmware.com>
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.
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.
1621 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
1623 * gdb.reverse/watch-precsave.exp:
1624 Replace gdb_test with gdb_test_no_output.
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.
1632 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
1633 * gdb.trace/tfind.exp: Ditto.
1635 2010-06-03 Joel Brobecker <brobecker@adacore.com>
1637 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
1638 successful test if message is the empty string.
1640 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1642 * gdb.fortran/module.exp (stopped language detection): New test.
1644 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
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.
1661 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
1668 2010-06-02 Michael Snyder <msnyder@vmware.com>
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.
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.
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.
1696 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
1697 * gdb.reverse/watch-reverse.exp: Ditto.
1699 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
1700 * gdb.server/ext-run.exp: Ditto.
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.
1709 * gdb.gdb/observer.exp: Use gdb_test_no_output.
1710 * gdb.gdb/selftest.exp: Ditto.
1712 * gdb.multi/base.exp: Use gdb_test_no_output.
1714 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
1716 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1718 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
1720 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
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.
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.
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.
1763 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1765 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
1767 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
1769 * gdb.cp/koenig.exp: Added new test case.
1770 * gdb.cp/koenig.cc: Ditto.
1772 2010-06-01 Michael Snyder <msnyder@vmware.com>
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.
1850 2010-06-01 Michael Snyder <msnyder@vmware.com>
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.
1868 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1870 * gdb.base/commands.exp (begin commands on watch): Remove excessive
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.
1876 2010-05-31 Joel Brobecker <brobecker@adacore.com>
1878 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
1880 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1882 Accept the new Linux kernel "t (tracing stop)" string.
1883 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
1885 (state_wait) <T (tracing stop)>: New.
1886 (main): Update the state_wait expect string.
1888 2010-05-28 Pedro Alves <pedro@codesourcery.com>
1890 * limits.c, limits.exp: Delete files.
1891 * Makefile.in (clean mostlyclean): Adjust.
1892 * tracecmd.exp: Adjust.
1894 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1896 * gdb.base/tui-layout.exp: New.
1898 2010-05-28 Michael Snyder <msnyder@vmware.com>
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.
1947 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1949 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
1952 2010-05-27 Michael Snyder <msnyder@vmware.com>
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.
1974 2010-05-26 Michael Snyder <msnyder@vmware.com>
1976 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
1977 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
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.
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.
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.
2003 2010-05-26 Michael Snyder <msnyder@vmware.com>
2005 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
2007 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
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.
2019 2010-05-25 Tom Tromey <tromey@redhat.com>
2021 * gdb.base/macscp.exp: Add missing space after setup_kfail.
2023 2010-05-25 Tom Tromey <tromey@redhat.com>
2025 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
2027 * gdb.base/macscp.exp: Fix setup_kfail argument order.
2028 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
2030 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
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
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
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
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.
2051 2010-05-25 Tom Tromey <tromey@redhat.com>
2053 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
2055 2010-05-25 Michael Snyder <msnyder@vmware.com>
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.
2106 2010-05-25 Doug Evans <dje@google.com>
2108 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
2111 2010-05-21 Tom Tromey <tromey@redhat.com>
2113 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
2115 * gdb.dwarf2/pieces.S: Update.
2116 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
2118 2010-05-21 Tom Tromey <tromey@redhat.com>
2120 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
2122 * gdb.dwarf2/pieces.c (struct C): New.
2124 * gdb.dwarf2/pieces.S: Replace.
2126 2010-05-21 Tom Tromey <tromey@redhat.com>
2128 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
2131 2010-05-21 Tom Tromey <tromey@redhat.com>
2133 * gdb.dwarf2.pieces.exp: New file.
2134 * gdb.dwarf2.pieces.S: New file.
2135 * gdb.dwarf2.pieces.c: New file.
2137 2010-05-20 Pedro Alves <pedro@codesourcery.com>
2138 Joel Brobecker <brobecker@adacore.com>
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.
2144 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2146 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
2147 parameter that we want to watch being a constant.
2149 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2151 * gdb.ada/cond_lang: New testcase.
2153 2010-05-17 Joel Brobecker <brobecker@adacore.com>
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
2160 2010-05-17 Joel Brobecker <brobecker@adacore.com>
2162 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
2163 * gdb.cp/koenig.exp: Likewise.
2165 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
2169 * gdb.python/py-value.exp (test_value_hash): New function.
2171 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
2174 * gdb.base/gdb11530.c: New file.
2175 * gdb.base/gdb11530.exp: New file.
2177 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2179 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
2180 * gdb.dwarf2/dw2-modula2-self-type.S: New.
2182 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
2184 * gdb.cp/koenig.exp: New test.
2185 * gdb.cp/koenig.cc: New test program.
2187 2010-05-05 Joel Brobecker <brobecker@adacore.com>
2189 Remove the use of prms_id and bug_id throughout the testsuite.
2191 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
2194 * testsuite/gdb.cp/ref-types.exp: Add test to examine
2195 use a reference local variable.
2197 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
2207 2010-04-29 Pedro Alves <pedro@codesourcery.com>
2211 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
2214 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
2216 * gdb.python/py-param.exp: New File.
2218 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
2220 * gdb.base/default.exp: Fix "set language" test.
2222 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
2224 PR breakpoints/11531.
2225 * gdb.base/gdb11531.c: New file.
2226 * gdb.base/gdb11531.exp: New file.
2228 2010-04-26 Tom Tromey <tromey@redhat.com>
2230 * gdb.base/completion.exp: Add tests for completion and deprecated
2233 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2235 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
2236 (print /x char_array): Escape curly brackets.
2238 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
2240 Fix deadlock on looped list of loaded shared objects.
2241 * gdb.base/solib-corrupted.exp: New.
2243 2010-04-23 Doug Evans <dje@google.com>
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.
2249 2010-04-20 Chris Moller <cmoller@redhat.com>
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.
2258 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2260 Fix crashes on dangling display expressions.
2261 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
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.
2269 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2271 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
2273 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
2276 * gdb.stabs/gdb11479.exp: New file.
2277 * gdb.stabs/gdb11479.c: New file.
2279 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
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.
2285 2010-04-21 Chris Moller <cmoller@redhat.com>
2288 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
2289 * gdb.cp/pr9167.cc: New file.
2290 * gdb.cp/pr9167.exp: New file.
2293 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
2296 * gdb.pascal/gdb11492.pas: New file.
2297 * gdb.pascal/gdb11492.exp: New file.
2299 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2301 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
2303 2010-04-20 Joel Brobecker <brobecker@adacore.com>
2305 * gdb.ada/dyn_loc: New testcase.
2307 2010-04-20 Chris Moller <cmoller@redhat.com>
2311 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
2312 * gdb.cp/pr10687.cc: New file.
2313 * gdb.cp/pr10687.exp: New file.
2316 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2317 Sergio Durigan Junior <sergiodj@redhat.com>
2319 * gdb.fortran/logical.exp: New testcase.
2320 * gdb.fortran/logical.f90: New file.
2322 2010-04-19 Doug Evans <dje@google.com>
2324 * gdb.base/help.exp (help source): Update expected output.
2326 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
2334 2010-04-19 Pedro Alves <pedro@codesourcery.com>
2336 PR breakpoints/8554.
2338 * gdb.trace/save-trace.exp: Adjust.
2340 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
2343 * gdb.arch/system-gcore.exp: New.
2344 * gdb.arch/gcore.c: Likewise.
2346 2010-04-15 Doug Evans <dje@google.com>
2348 * gdb.python/py-progspace.c: New file.
2349 * gdb.python/py-progspace.exp: New file.
2351 * gdb.base/source.exp: Add tests for "source -s".
2353 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
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.
2360 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
2362 * gdb.python/py-breakpoint.c: Make result global.
2364 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
2366 Fix non-GNU make compatibility.
2367 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
2369 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
2371 * gdb.python/py-breakpoint.exp: New File.
2372 * gdb.python/py-breakpoint.C: Ditto.
2374 2010-04-08 Stan Shebs <stan@codesourcery.com>
2376 * gdb.trace/actions.exp: Clear default-collect.
2377 * gdb.trace/save-trace.exp: Clear default-collect.
2379 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
2381 * gdb.python/py-value: Add null string variable.
2382 (test_lazy_string): Test zero length, NULL address lazy
2385 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
2387 * gdb.arch/i386-avx.c: New.
2388 * gdb.arch/i386-avx.exp: Likewise.
2390 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
2392 2010-04-06 Doug Evans <dje@google.com>
2394 * gdb.base/source-test.gdb: New file.
2395 * gdb.base/source.exp: Test source -v.
2397 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2399 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
2401 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
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.
2412 2010-04-05 Stan Shebs <stan@codesourcery.com>
2414 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
2416 * gdb.trace/tfile.exp: Try to print them.
2418 2010-04-04 Stan Shebs <stan@codesourcery.com>
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.
2426 2010-04-04 Stan Shebs <stan@codesourcery.com>
2428 * gdb.trace/tfile.exp: Sharpen tfind test.
2430 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2432 * gdb.base/break-entry.exp: New.
2434 2010-04-02 Hui Zhu <teawater@gmail.com>
2435 Michael Snyder <msnyder@vmware.com>
2437 * gdb.reverse/i386-sse-reverse.exp: New file.
2438 * gdb.reverse/i386-sse-reverse.c: New file.
2440 2010-04-02 Pedro Alves <pedro@codesourcery.com>
2442 * gdb.trace/tfind.exp: Adjust expected disassembly output.
2444 2010-04-01 Stan Shebs <stan@codesourcery.com>
2446 * gdb.trace/actions.exp: Tweak expected output.
2447 * gdb.trace/while-stepping.exp: Tweak expected output.
2449 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
2451 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
2453 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2455 * gdb.base/commands.exp: Adjust.
2456 * gdb.cp/extern-c.exp: Adjust.
2458 2010-04-01 Pedro Alves <pedro@codesourcery.com>
2460 * gdb.trace/collection.c (local_test_func): Define a local struct,
2463 2010-04-01 Pedro Alves <pedro@codesourcery.com>
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.
2469 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
2471 * gdb.dwarf2/dw2-bad-parameter-type.exp,
2472 gdb.dwarf2/dw2-bad-parameter-type.S: New.
2474 2010-03-31 Stan Shebs <stan@codesourcery.com>
2476 * gdb.trace/save-trace.exp: Test save/restore of default-collect
2477 and tracepoint conditionals.
2478 (gdb_verify_tracepoints): Delete unused return.
2480 2010-03-26 Keith Seitz <keiths@redhat.com>
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.
2486 2010-03-30 Doug Evans <dje@google.com>
2488 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
2490 * gdb.arch/amd64-dword.exp: Ditto.
2492 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
2494 (break printf): Ditto.
2496 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
2498 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
2500 * gdb.cp/shadow.exp: Ditto.
2502 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2504 * gdb.trace/collection.exp (run_trace_experiment): Make sure
2507 2010-03-29 Pedro Alves <pedro@codesourcery.com>
2509 * gdb.trace/collection.exp (executable): New.
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.
2528 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2530 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
2531 " as $displacement" to "seen displacement message".
2533 2010-03-28 Pedro Alves <pedro@codesourcery.com>
2535 * gdb.trace/while-dyn.exp (executable): New variable.
2537 (test_while_stepping): New function. Move most tests here. Call
2538 it once for each of the while-stepping, stepping and ws aliases.
2540 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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".
2548 2010-03-26 Pedro Alves <pedro@codesourcery.com>
2550 * gdb.trace/tfile.c (tohex, bin2hex): New.
2551 (write_error_trace_file): Hexify error description.
2553 2010-03-25 Stan Shebs <stan@codesourcery.com>
2555 * gdb.trace/tfile.c: Generate an additional trace file, improve
2557 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
2558 files in a better way.
2560 2010-03-25 Keith Seitz <keiths@redhat.com>
2562 * gdb.java/jprint.exp: XFAIL printing of static class members
2563 because of GCC debuginfo problem.
2565 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2567 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
2569 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
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
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.
2580 2010-03-24 Tom Tromey <tromey@redhat.com>
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.
2588 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
2590 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
2592 * gdb.base/watchpoints.c: Do not include unnecessary headers.
2593 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
2596 2010-03-24 Stan Shebs <stan@codesourcery.com>
2598 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
2600 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
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.
2607 2010-03-23 Pedro Alves <pedro@codesourcery.com>
2609 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
2610 format strings and add casts to avoid compiler warnings.
2612 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
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.
2619 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2621 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
2624 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2626 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
2629 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
2631 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
2632 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
2634 2010-03-19 Stan Shebs <stan@codesourcery.com>
2636 * gdb.trace/ax.exp: New file.
2638 2010-03-19 Doug Evans <dje@google.com>
2640 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
2643 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
2644 named /usr/sbin/prelink<foo>.
2646 2010-03-18 Stan Shebs <stan@codesourcery.com>
2648 * gdb.trace/circ.exp: Test circular-trace-buffer.
2649 * gdb.trace/tfile.exp: Update tstatus test.
2651 2010-03-18 Joel Brobecker <brobecker@adacore.com>
2653 * gdb.dwarf2/dw2-anonymous-func.S: New file.
2654 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
2656 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2658 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
2660 2010-03-18 Pedro Alves <pedro@codesourcery.com>
2662 * gdb.base/default.exp: Adjust the expected output of the finish
2663 and until commands when the inferior is not being run.
2665 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
2667 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
2668 * gdb.cp/nsusing.exp: Ditto.
2670 2010-03-15 Tom Tromey <tromey@redhat.com>
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.
2676 2010-03-15 Jie Zhang <jie@codesourcery.com>
2678 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
2679 Declare and use new loadtimeout variable.
2681 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
2683 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
2686 2010-03-14 Pedro Alves <pedro@codesourcery.com>
2688 * gdb.base/solib-disc.c (main): Make format of fprintf a string
2689 literal. Add missing endlines to prints to stderr.
2691 2010-03-12 Tom Tromey <tromey@redhat.com>
2694 * gdb.cp/m-static.exp: Add regression test.
2695 * gdb.cp/m-static.cc (method): New method.
2698 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
2700 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
2701 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
2703 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
2705 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
2707 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
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
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.
2731 2010-03-12 Pedro Alves <pedro@codesourcery.com>
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.
2740 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
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
2749 (test_attach): New parameter displacement, verify its content. New
2750 push of pf_prefix "attach:". New command "set verbose on". Import
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.
2757 2010-03-10 Doug Evans <dje@google.com>
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.
2763 2010-03-10 Pedro Alves <pedro@codesourcery.com>
2765 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
2767 2010-03-08 Keith Seitz <keiths@redhat.com>
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
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
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
2798 * gdb.java/jmisc.exp: Likewise.
2799 * gdb.java/jprint.exp: Likewise.
2800 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
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.
2808 * gdb.cp/cpexprs.exp: New file.
2809 * gdb.cp/cpexprs.cc: New file.
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.
2818 2010-03-05 Tom Tromey <tromey@redhat.com>
2820 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
2822 (pp_ns.to_string): Likewise.
2824 2010-03-04 Keith Seitz <keiths@redhat.com>
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.
2830 2010-03-04 Pedro Alves <pedro@codesourcery.com>
2832 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
2834 2010-03-03 Doug Evans <dje@google.com>
2836 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
2837 libc contains libpthread.
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.
2843 2010-03-03 Tom Tromey <tromey@redhat.com>
2846 * gdb.base/printcmds.exp (test_printf): Add test.
2848 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
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.
2858 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
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
2865 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
2867 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
2868 (load_description): Set architecture if defined.
2870 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
2872 * gdb.python/py-frame.exp: Add read_var block tests.
2873 * gdb.python/py-frame.c (block): New function.
2875 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2876 Daniel Jacobowitz <dan@codesourcery.com>
2878 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
2880 2010-02-25 David S. Miller <davem@davemloft.net>
2882 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
2883 fix logic for setting all_syscalls_numbers.
2885 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
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.
2894 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
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.
2906 2010-02-22 Pedro Alves <pedro@codesourcery.com>
2910 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
2912 2010-02-19 Tom Tromey <tromey@redhat.com>
2914 PR c++/8693, PR c++/9496:
2915 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
2918 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2920 Fix compatibility with m68k as.
2921 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
2922 Use only /* comments */.
2924 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2926 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
2927 * configure: Regenerate.
2929 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
2931 * gdb.python/py-type.exp: Check for Python support.
2933 2010-02-17 Pedro Alves <pedro@codesourcery.com>
2935 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
2936 `regsub' syntax available.
2938 2010-02-17 Pedro Alves <pedro@codesourcery.com>
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.
2946 2010-02-17 Tom Tromey <tromey@redhat.com>
2948 * gdb.java/jprint.java (jprint.props): New field.
2949 * gdb.java/jprint.exp (set_lang_java): Add regression test.
2951 2010-02-17 Pedro Alves <pedro@codesourcery.com>
2953 * gdb.base/charset.exp: Don't assume new `regsub' syntax
2956 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2958 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
2959 creation to support remote host testing.
2961 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2963 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
2964 Recognize "command not found".
2966 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2968 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
2971 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2973 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
2974 if arguments are not supported.
2976 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2978 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
2979 be const or non-const.
2981 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2983 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
2984 mi_send_resuming_command to send -exec-continue.
2986 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2988 * gdb.base/list.exp (test_list_filename_and_function): Add test
2990 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
2992 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
2993 Add KFAIL'd tests for PR gdb/11289.
2995 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
2997 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
2999 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
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.
3005 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
3007 * gdb.base/charset.exp: Use a single regular expression to match
3008 show host-charset and show target-charset output.
3010 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3016 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3018 * gdb.base/prelink.exp (set verbose on): New.
3020 2010-02-12 Tomas Holmberg <th@virtutech.com>
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.
3026 2010-02-09 Joel Brobecker <brobecker@adacore.com>
3028 * gdb.ada/ptype_tagged_param: New testcase.
3030 2010-02-08 Tom Tromey <tromey@redhat.com>
3033 * gdb.cp/overload.exp: Add tests.
3034 * gdb.cp/overload.cc (struct K): New.
3036 (main): Call new functions.
3037 (K::staticoverload): Define.
3039 2010-02-08 Chris Moller <moller@mollerware.com>
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
3048 2010-02-08 Chris Moller <moller@mollerware.com>
3051 * gdb.cp/pr9067.exp: New
3052 * gdb.cp/pr9067.cc: New
3053 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
3055 2010-02-08 Joel Brobecker <brobecker@adacore.com>
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.
3061 2010-02-05 Doug Evans <dje@google.com>
3063 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
3066 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
3069 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
3071 2010-02-04 Tom Tromey <tromey@redhat.com>
3073 * gdb.cp/virtbase.exp: Make test case names unique.
3075 2010-02-02 Tom Tromey <tromey@redhat.com>
3077 * gdb.cp/virtbase.exp: Add regression tests.
3078 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
3079 (main): Instantiate RHC.
3081 2010-02-02 Tom Tromey <tromey@redhat.com>
3083 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
3084 type-printing change.
3086 2010-02-02 Tom Tromey <tromey@redhat.com>
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'.
3093 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3096 * gdb.threads/current-lwp-dead.c: Include features.h.
3098 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
3100 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3102 * gdb.base/symbol-without-target_section.exp,
3103 gdb.base/symbol-without-target_section.c: New.
3105 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3107 * gdb.base/bigcore.exp: Reset increased timeout.
3108 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
3110 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3112 * gdb.base/gcore.exp (capture_command_output): Use
3115 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
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.
3121 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
3123 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
3125 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
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.
3136 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3138 * gdb.ada/rec_return: New testcase.
3140 2010-01-29 Joel Brobecker <brobecker@adacore.com>
3142 * gdb.ada/call_pn: New testcase.
3144 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
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.
3151 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
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.
3158 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3160 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
3161 absolute directory pathnames in gdb.sum file.
3163 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
3165 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
3166 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
3168 2010-01-26 Tom Tromey <tromey@redhat.com>
3171 * gdb.base/printcmds.exp (test_print_string_constants): Remove
3174 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
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.
3183 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
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.
3194 2010-01-25 Tom Tromey <tromey@redhat.com>
3197 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
3198 with "set print null-stop on".
3200 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3202 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
3203 Adjust it for DISASSEMBLY_OMIT_FNAME.
3205 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3208 * gdb.dwarf2/member-ptr-forwardref.exp,
3209 gdb.dwarf2/member-ptr-forwardref.S: New.
3211 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3222 2010-01-20 Tom Tromey <tromey@redhat.com>
3225 * gdb.dwarf2/pr10770.exp: New file.
3226 * gdb.dwarf2/pr10770.c: New file.
3227 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
3229 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
3231 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
3232 that target was removed, and the test always runs native anyway.
3234 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3236 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
3237 gdb.base/watchpoint-cond-gone-stripped.c: New.
3239 2010-01-19 Tom Tromey <tromey@redhat.com>
3242 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
3244 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
3245 (main): Use AAA::SomeEnum.
3247 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
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):
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.
3263 2010-01-18 Tom Tromey <tromey@redhat.com>
3266 * gdb.cp/casts.cc: Add new classes and variables.
3267 * gdb.cp/casts.exp: Test new operators.
3269 2010-01-18 Tom Tromey <tromey@redhat.com>
3270 Thiago Jung Bauermann <bauerman@br.ibm.com>
3272 * gdb.python/source2.py: New file.
3273 * gdb.python/source1: New file.
3274 * gdb.python/python.exp: Test "source" command.
3276 2010-01-15 Stan Shebs <stan@codesourcery.com>
3278 * gdb.trace/tfile.c: New file.
3279 * gdb.trace/tfile.exp: New file.
3281 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3283 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
3285 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3287 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
3289 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3301 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3303 * gdb.base/break-interp.exp (test_core): New proc.
3306 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3314 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3321 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3323 * gdb.base/break-interp.exp: New file.
3325 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
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
3331 * gdb.python/py-prettyprint.c: Define lazystring test structure.
3332 * gdb.python/py-mi.exp: Add lazy string test.
3334 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
3336 * lib/mi-support.exp (mi_check_thread_states): Handle
3337 core number in thread listing.
3339 2010-01-12 Joel Brobecker <brobecker@adacore.com>
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.
3345 2010-01-11 Doug Evans <dje@google.com>
3347 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
3348 from gdbserver_download. All callers updated.
3350 * gdb.server/ext-run.exp: "info os processes" requires xml support.
3352 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3354 Implement binary numbers parsing.
3355 * gdb.base/printcmds.exp (test_integer_literals_accepted)
3356 (test_integer_literals_rejected): New binary tests.
3358 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
3360 * gdb.cell/configure: Regenerate.
3362 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3371 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3373 Workaround PR binutils/10802.
3374 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
3377 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
3379 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
3381 2010-01-08 Joel Brobecker <brobecker@adacore.com>
3383 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
3384 call, to avoid interruption.
3386 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3388 * gdb.stabs/weird.def (args93): New.
3390 2010-01-07 Doug Evans <dje@google.com>
3392 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
3394 2010-01-07 Tom Tromey <tromey@redhat.com>
3396 * gdb.base/source.exp: Use correct line number.
3398 2010-01-05 Stan Shebs <stan@codesourcery.com>
3400 * gdb.trace/tracecmd.exp: Test ftrace.
3402 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3404 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
3406 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3408 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
3409 "uint_for_mi_testing".
3411 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3413 Test indented comment in file being sourced.
3414 * gdb.base/commands.exp: Test indented comment in file being sourced.
3416 2010-01-01 Joel Brobecker <brobecker@adacore.com>
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
3423 2010-01-01 Joel Brobecker <brobecker@adacore.com>
3425 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
3428 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3430 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
3431 missing $after_stopped and comma (,) expectation.
3433 2009-12-31 Stan Shebs <stan@codesourcery.com>
3435 * gdb.trace/actions.exp: Test teval action.
3437 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
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
3443 (func3): Write to buf.
3445 2009-12-29 Stan Shebs <stan@codesourcery.com>
3447 * gdb.trace/actions.exp: Test default-collect.
3449 2009-12-28 Stan Shebs <stan@codesourcery.com>
3451 * gdb.trace/tsv.exp: New file.
3452 * gdb.base/completion.exp: Update ambiguous info output.
3454 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
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.
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
3472 (ensureOtherRefs): New function.
3473 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
3474 * gdb.cp/templates.cc (main): Call t5i.value.
3476 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3483 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
3484 Phil Muldoon <pmuldoon@redhat.com>
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
3493 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3512 2009-12-22 Hui Zhu <teawater@gmail.com>
3514 * gdb.reverse/sigall-reverse.exp: Adjust.
3516 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
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.
3524 2009-12-20 Joel Brobecker <brobecker@adacore.com>
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.
3532 2009-12-10 Chris Moller <moller@mollerware.com>
3535 * gdb.cp/virtfunc2.exp: New tests
3536 * gdb.cp/virtfunc2.cc: New tests
3537 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
3539 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
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.
3546 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
3548 * gdb.python/py-type.exp (test_range): New test.
3550 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
3554 * gdb.python/py-type.exp: New file.
3555 * gdb.python/py-type.c: New file.
3556 * Makefile.in: Add py-type.
3558 2009-12-03 Tom Tromey <tromey@redhat.com>
3560 * gdb.python/py-value.exp (test_parse_and_eval): New
3563 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
3567 * gdb.base/pr11022.exp: New test.
3568 * gdb.base/pr11022.c: New test.
3570 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
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}.
3581 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3583 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
3585 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
3591 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
3597 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
3601 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
3602 "if", and "thread". Correct matching in the previous test.
3604 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
3606 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
3608 2009-11-23 Michael Snyder <msnyder@vmware.com>
3610 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
3611 * gdb.reverse-watch-precsave.exp: Ditto.
3613 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
3615 * gdb.asm/asm-source.exp: Adjust.
3616 * gdb.base/help.exp: Adjust.
3618 2009-11-22 Pedro Alves <pedro@codesourcery.com>
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.
3624 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3626 * gdb.threads/local-watch-wrong-thread.c,
3627 gdb.threads/local-watch-wrong-thread.exp: New files.
3629 2009-11-21 Pedro Alves <pedro@codesourcery.com>
3631 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
3632 assume new `regsub' syntax available.
3634 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3636 * gdb.base/watchpoint-hw-hit-once.exp,
3637 gdb.base/watchpoint-hw-hit-once.c: New.
3639 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3641 * gdb.threads/watchthreads-reorder.exp,
3642 gdb.threads/watchthreads-reorder.c: New.
3644 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
3646 * gdb.xml/tdesc-regs.exp: Use for m68k.
3648 2009-11-15 Pedro Alves <pedro@codesourcery.com>
3650 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
3652 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
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
3660 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3662 * gdb.base/remote.exp: Delete the slowest load test.
3663 Do not load with fixed packet sizes.
3665 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3667 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
3669 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3671 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
3672 srcfile when setting a breakpoint.
3674 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
3676 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
3679 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
3681 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
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
3689 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
3691 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
3692 instead of a bare "run".
3694 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
3696 * gdb.python/py-prettyprint.exp: Adjust.
3698 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3700 * lib/cell.exp (skip_cell_tests): Clean up test files before
3703 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
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.
3713 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3715 * gdb.base/break1.c (struct some_struct, values): Move earlier.
3716 (marker4): Reference values.
3718 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3720 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
3723 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
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.
3731 * gdb.cp/hang2.cc (dummy2): Define.
3732 * gdb.cp/hang3.cc (dummy3): Define.
3733 * gdb.cp/m-data.cc (main): Reference shadow.
3735 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
3736 Nathan Froyd <froydnj@codesourcery.com>
3738 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
3741 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
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.
3754 2009-11-11 Keith Seitz <keiths@redhat.com>
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.
3761 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
3763 * gdb.base/long_long.exp: Permit leading zeros on floating-point
3765 * gdb.base/pointers.exp: Likewise.
3766 * gdb.cp/ref-types.exp: Likewise.
3768 2009-11-11 Keith Seitz <keiths@redhat.com>
3770 * gdb.cp/cplusfuncs.cc (class foo): Add operators
3772 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
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
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
3785 Add tests for operator new[] and operator delete[].
3787 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3789 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
3791 2009-11-09 Keith Seitz <keiths@redhat.com>
3793 * gdb.cp/overload.exp: Add tests for resolving overloaded
3794 methods in expression parsing/evaluation.
3796 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
3798 * lib/gdb.exp (default_gdb_version): Use --version instead of
3801 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
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.
3820 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
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'.
3827 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
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.
3839 2009-11-03 Pedro Alves <pedro@codesourcery.com>
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.
3845 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3847 * lib/gdb.exp (gdb_expect): Fix timeout typo.
3849 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3851 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
3853 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
3855 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
3857 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3859 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
3861 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3863 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
3864 * gdb.base/sepdebug2.c: New file.
3866 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
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
3873 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
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.
3879 2009-10-23 Michael Snyder <msnyder@vmware.com>
3881 gdb.reverse/consecutive-precsave.exp: Change expect pattern
3882 to allow for new disassembly style.
3884 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3886 * gdb.asm/asm-source.exp: Adjust.
3888 2009-10-22 Michael Snyder <msnyder@vmware.com>
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.
3901 2009-10-22 Michael Snyder <msnyder@vmware.com>
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
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.
3913 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
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.
3920 2009-10-19 Michael Snyder <msnyder@vmware.com>
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.
3929 2009-10-19 Pedro Alves <pedro@codesourcery.com>
3930 Stan Shebs <stan@codesourcery.com>
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.
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.
3951 2009-10-13 Tristan Gingold <gingold@adacore.com>
3953 * gdb.base/sepdebug.exp: Check debug info are found.
3955 2009-10-08 Pedro Alves <pedro@codesourcery.com>
3957 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
3960 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3962 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
3964 2009-10-07 Joel Brobecker <brobecker@adacore.com>
3966 * gdb.base/watchpoints.c: Add copyright header. Reformat one
3969 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
3971 * gdb.base/annota1.exp: Remove obsolete match_max increase.
3972 * gdb.base/annota3.exp: Idem.
3973 * gdb.base/maint.exp: Idem.
3975 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
3977 * lib/gdb.exp (default_gdb_init): Set current value of match_max
3980 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3982 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
3983 mingw and cygwin targets.
3985 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
3986 Pedro Alves <pedro@codesourcery.com>
3988 * lib/gdb.exp (gdb_compile): Avoid adding
3989 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
3991 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
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.
3997 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
3999 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
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>.
4005 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
4011 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4013 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
4014 * gdb.objc/nondebug.exp: Likewise.
4016 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4018 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
4019 target_info setting.
4021 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
4022 that detect new threads during "info threads".
4024 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
4031 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4033 * gdb.base/dump.exp: Pass difference of pointer types instead
4034 of integer types as offset to restore in intarr3.srec case.
4036 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4038 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
4040 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4042 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
4044 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
4046 New test for two watchpoints, with disabling of
4048 * testsuite/gdb.base/watchpoints.c: New file.
4049 * testsuite/gdb.base/watchpoints.exp: New file.
4051 2009-09-25 Tom Tromey <tromey@redhat.com>
4053 * gdb.base/charset.exp: Test utf-16 strings with Python.
4055 2009-09-25 Tom Tromey <tromey@redhat.com>
4057 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
4059 * gdb.base/charset.c (utf_32_string): Rename.
4060 (init_utf32): Rename.
4063 2009-09-22 Tom Tromey <tromey@redhat.com>
4065 * gdb.python/py-function.exp: Add regression tests.
4067 2009-09-21 Keith Seitz <keiths@redhat.com>
4069 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
4070 with invalid operator.
4072 2009-09-21 Keith Seitz <keiths@redhat.com>
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.
4085 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
4089 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
4091 (run_lang_tests): Add print elements test.
4093 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
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.
4100 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
4102 * gdb.base/default.exp: Fix "show convenience".
4104 2009-09-15 Tom Tromey <tromey@redhat.com>
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.
4138 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
4140 * Makefile.in: Inclusion of catch-syscall object.
4141 * gdb.base/catch-syscall.c: New file.
4142 * gdb.base/catch-syscall.exp: New file.
4144 2009-09-12 Michael Snyder <msnyder@vmware.com>
4146 * gdb.reverse/step-reverse.exp: Explicitly check for targets
4147 that can support reverse debuggnig.
4149 2009-09-11 Tom Tromey <tromey@redhat.com>
4151 * gdb.dwarf2/valop.S: New file.
4152 * gdb.dwarf2/valop.exp: New file.
4154 2009-09-11 Mark Kettenis <kettenis@gnu.org>
4156 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
4158 2009-09-10 Doug Evans <dje@google.com>
4160 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
4161 Add $gdb_prompt to second breakpoint regexp.
4163 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
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
4171 * gdb.python/py-function.exp: Rename from python-function.exp.
4172 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
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
4185 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4187 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
4189 (Second breakpoint address is valid on ia64)
4190 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
4192 2009-09-03 Joseph Myers <joseph@codesourcery.com>
4194 * gdb.base/ending-run.exp: Restrict regular expression matching
4195 line number to require closing brace following.
4197 2009-09-03 Doug Evans <dje@google.com>
4199 * gdb.base/store.exp (check_set): Fix typo in expected value message.
4201 2009-09-02 Tom Tromey <tromey@redhat.com>
4203 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
4205 2009-09-02 Tom Tromey <tromey@redhat.com>
4207 * gdb.dwarf2/callframecfa.exp: New file.
4208 * gdb.dwarf2/callframecfa.S: New file.
4210 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4212 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
4213 gdb.base/solib-overlap-main.c: New.
4215 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
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.
4223 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
4228 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4230 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
4232 2009-08-26 Michael Snyder <msnyder@vmware.com>
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.
4238 2009-08-26 Joseph Myers <joseph@codesourcery.com>
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.
4244 2009-08-24 Keith Seitz <keiths@redhat.com>
4246 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
4247 Add two new C++ completer tests which limit the output to a
4250 2009-08-24 Michael Snyder <msnyder@vmware.com>
4252 * gdb.base/del.exp: Fix typo in comment.
4253 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
4255 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
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.
4266 2009-08-19 Doug Evans <dje@google.com>
4268 * gdb.base/gdbvars.c: New file.
4269 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
4271 2009-08-14 Pedro Alves <pedro@codesourcery.com>
4273 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
4274 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
4276 2009-08-13 Pedro Alves <pedro@codesourcery.com>
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.
4283 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
4285 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
4286 all frame arguments.
4287 * gdb.arch/altivec-regs.exp: Likewise.
4289 2009-08-07 Tom Tromey <tromey@redhat.com>
4291 * gdb.base/setshow.exp: Add tests for changes to set language, set
4292 check range, and set check type.
4294 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
4296 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
4297 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
4300 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
4343 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4345 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
4347 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4349 * gdb.base/float.exp: Handle VFP registers.
4351 2009-07-14 Michael Snyder <msnyder@vmware.com>
4353 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
4354 to bring gdb to the beginning of the calling line.
4356 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
4357 confusing the i386 epilogue unwinder.
4359 2009-07-14 Stan Shebs <stan@codesourcery.com>
4361 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
4363 2009-07-14 Michael Snyder <msnyder@vmware.com>
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.
4369 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4371 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
4373 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
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
4379 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
4380 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
4382 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
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
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.
4401 2009-07-11 Hui Zhu <teawater@gmail.com>
4403 * gdb.base/help.exp (disassemble): Update expected help text.
4405 2009-07-09 Tom Tromey <tromey@redhat.com>
4407 * lib/gdb.exp: Handle TRANSCRIPT.
4408 (remote_spawn, remote_close, send_gdb): New procs.
4410 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
4412 * gdb.python/python-prettyprint.c: Add counted null string
4414 * gdb.python/python-prettyprint.exp: Print null string. Test for
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.
4421 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4423 * gdb.base/dump.exp (inaccessible memory is reported): New test.
4425 2009-07-07 Tom Tromey <tromey@redhat.com>
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.
4443 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4445 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
4447 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
4449 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
4451 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4453 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
4454 gdbserver increasing $portnum if "Can't bind address" has been seen.
4456 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4458 * gdb.base/ending-run.exp: Add "step out of main" pattern for
4461 2009-07-05 Pedro Alves <pedro@codesourcery.com>
4463 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
4466 2009-07-02 Pedro Alves <pedro@codesourcery.com>
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
4476 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4478 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
4479 change to prefix TLS offset in hex with 0x.
4481 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4483 * gdb.base/default.exp: Update test case for "x" changes.
4485 2009-07-01 Tristan Gingold <gingold@adacore.com>
4487 * gdb.base/bigcore.exp: Make darwin untested.
4489 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4491 * gdb.base/completion.exp (directory completion): Create the directory.
4492 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
4494 (directory completion 2): Expect now ${escapeuniquesub}.
4495 (Glob remaining of directory test): Remove one excessive newline.
4496 Expect the real output.
4498 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4500 Fix `make check//%' target after `make check' has been ran.
4501 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
4503 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
4506 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4508 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
4509 the expected result record.
4511 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
4517 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
4520 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
4522 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
4524 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
4526 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
4528 * gdb.mi/mi-stack.exp: Testing symbolic options
4529 to -stack-list-locals and -stack-list-arguments.
4531 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4533 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
4535 2009-06-29 Tom Tromey <tromey@redhat.com>
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.
4556 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
4558 * gdb.cp/namespace-nested-import.cc: New test.
4559 * gdb.cp/namespace-nested-import.exp: New test.
4561 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
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.
4574 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
4576 * gdb.cp/exception.exp: Don't require $hex before inner frame in
4579 2009-06-27 Michael Snyder <msnyder@vmware.com>
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.
4605 2009-06-26 Doug Evans <dje@google.com>
4607 * gdb.base/psymtab.exp: Turn off pending breakpoints.
4609 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
4611 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
4612 windows problem for 'file delete $binfile'.
4614 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
4616 * gdb.cp/namespace-using.exp: New test.
4617 * gdb.cp/namespace-using.cc: New test.
4619 2009-05-20 Joel Brobecker <brobecker@adacore.com>
4621 * gdb.ada/variant_record_packed_array: New testcase.
4623 2009-06-23 Tom Tromey <tromey@redhat.com>
4625 * gdb.base/charset.exp (test_combination): Regression test.
4626 * gdb.base/charset.c (my_wchar_t): New typedef.
4627 (myvar): New global.
4630 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
4632 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
4635 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4637 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
4639 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4641 * gdb.mi/gdb680.exp: Update test for error message.
4643 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4645 * gdb.base/annota1.exp: Allow multiple occurrences of the
4646 frames-invalid annotation.
4647 * gdb.cp/annota2.exp: Likewise.
4649 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
4651 * gdb.cp/gdb2495.cc: New file.
4652 * gdb.cp/gdb2495.exp: New file.
4654 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4656 Report error on GDB crash during runto.
4657 * lib/gdb.exp (runto <eof>): New.
4659 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
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
4688 2009-06-07 Pedro Alves <pedro@codesourcery.com>
4690 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
4691 defined before referencing it.
4693 2009-06-03 Doug Evans <dje@google.com>
4695 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
4696 * gdb.arch/i386-see.c: Ditto.
4698 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
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.
4705 2009-05-29 Doug Evans <dje@google.com>
4707 * gdb.threads/hand-call-in-threads.exp: New.
4708 * gdb.threads/hand-call-in-threads.c: New.
4710 2009-05-29 Michael Snyder <msnyder@vmware.com>
4712 * gdb.base/break-always.exp: Change "1" to "on".
4713 Add confirmation check.
4715 2009-05-28 Pedro Alves <pedro@codesourcery.com>
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.
4722 2009-05-27 Tom Tromey <tromey@redhat.com>
4723 Thiago Jung Bauermann <bauerman@br.ibm.com>
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.
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>
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.
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>
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
4751 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4753 (test_value_after_death): New proc.
4754 * gdb.python/python-value.c (PTR): New typedef.
4755 (main): New variable 'x'.
4757 2009-05-27 Tom Tromey <tromey@redhat.com>
4759 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
4761 * gdb.python/python-value.exp (py_objfile_tests): New proc.
4764 2009-05-27 Pedro Alves <pedro@codesourcery.com>
4766 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
4768 2009-05-24 Pedro Alves <pedro@codesourcery.com>
4770 * gdb.threads/fork-thread-pending.c: New.
4771 * gdb.threads/fork-thread-pending.exp: New.
4773 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4775 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
4776 * gdb.dwarf2/dw2-strp.S (a_string2): New.
4778 2009-05-18 Jon Beniston <jon@beniston.com>
4780 * gdb.asm/asm-source.exp: Add lm32 target.
4782 2009-05-17 Pedro Alves <pedro@codesourcery.com>
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'.
4794 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
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.
4800 2009-05-11 Doug Evans <dje@sebabeach.org>
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.
4806 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4808 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
4810 2009-04-30 Doug Evans <dje@google.com>
4812 * gdb.threads/watchthreads2.exp: New testcase.
4813 * gdb.threads/watchthreads2.c: New testcase.
4815 2009-04-29 Doug Evans <dje@google.com>
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.
4826 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
4833 2009-04-27 Tom Tromey <tromey@redhat.com>
4835 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
4837 2009-04-27 Doug Evans <dje@google.com>
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.
4844 2009-04-27 Jerome Guitton <guitton@adacore.com>
4846 * gdb.cp/templates.cc (GetMax): New template.
4847 (main): Declare two instances of GetMax.
4848 * gdb.cp/templates.exp: Add new test.
4850 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4852 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
4854 2009-04-22 Joseph Myers <joseph@codesourcery.com>
4856 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
4858 2009-04-15 Tom Tromey <tromey@redhat.com>
4860 * gdb.base/charset.exp: Add regression test.
4862 2009-04-14 Joel Brobecker <brobecker@adacore.com>
4864 * gdb.base/exe-lock.exp: New testcase.
4866 2009-04-13 Tom Tromey <tromey@redhat.com>
4868 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
4871 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4873 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
4874 * gdb.server/ext-attach.exp: Likewise.
4876 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
4878 Eliminate some sleep usage.
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.
4886 2009-04-02 Pedro Alves <pedro@codesourcery.com>
4888 * gdb.server/ext-attach.exp: Expect an optional process id after
4889 "Detached from remote process".
4891 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4893 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
4894 gdb.dwarf2/dw2-unresolved.exp: New.
4896 2009-04-02 Pedro Alves <pedro@codesourcery.com>
4898 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
4901 2009-04-02 Pedro Alves <pedro@codesourcery.com>
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
4907 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
4909 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
4910 when expecting ^connected. Detect when the target doesn't support
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.
4917 2009-04-01 Pedro Alves <pedro@codesourcery.com>
4919 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
4921 2009-04-01 Tom Tromey <tromey@redhat.com>
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".
4928 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
4929 Jan Kratochvil <jan.kratochvil@redhat.com>
4932 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
4934 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
4936 * dw2-strp.S (DW_AT_language): Change to C++.
4937 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
4939 2009-03-31 Joel Brobecker <brobecker@adacore.com>
4941 * gdb.ada/tasks: New testcase.
4943 2009-03-30 Stan Shebs <stan@codesourcery.com>
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.
4953 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
4955 * gdb.python/python-frame.c: New file.
4956 * gdb.python/python-frame.exp: New file.
4958 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
4960 * gdb.python/python-value.exp: Add tests for the address
4963 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
4965 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
4967 2009-03-26 Doug Evans <dje@google.com>
4969 * gdb.mi/mi-nonstop-exit.exp: New file.
4970 * gdb.mi/non-stop-exit.c: New file.
4972 2009-03-26 Tom Tromey <tromey@redhat.com>
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.
4981 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
4983 * gdb.python/python-value.exp (test_value_in_inferior): Test
4984 gdb.Value.is_optimized_out attribute.
4986 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4988 * gdb.dwarf2/dw2-noloc-main.c: New file.
4989 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
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.
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.
5000 2009-03-25 Tom Tromey <tromey@redhat.com>
5002 * gdb.base/charset.exp (valid_target_charset): New proc.
5003 Use it to skip tests on invalid charsets.
5005 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
5007 * gdb.base/completion.exp: Add a test for directory completion.
5009 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5012 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
5013 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
5015 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
5017 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
5018 * gdb.python/python-function.exp: Add test for function returning
5021 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
5023 * gdb.python/python-function.exp: New file.
5025 2009-03-20 Tom Tromey <tromey@redhat.com>
5027 * gdb.base/store.exp: Update for change to escape output.
5028 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
5030 * gdb.base/pointers.exp: Update for change to escape output.
5031 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
5033 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
5035 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
5037 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
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
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.
5050 2009-03-19 Jerome Guitton <guitton@adacore.com>
5052 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
5054 * gdb.ada/fixed_points.exp: Ditto.
5056 2009-03-18 Pedro Alves <pedro@codesourcery.com>
5058 * return-nodebug.c: Don't include stdio.h.
5060 (func): Delete definition and provide extern declaration.
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.
5070 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5072 * gdb.base/solib-display.exp: Disable test for remote targers.
5074 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5076 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
5078 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
5086 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
5088 * gdb.mi/mi-cli.exp: Adjust for output difference in
5089 sync and async modes.
5091 2009-03-12 Joel Brobecker <brobecker@adacore.com>
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.
5097 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5099 * gdb.ada/ptype_arith_binop.exp: New testcase.
5101 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5103 * gdb.ada/mod_from_name: New testcase.
5105 2009-03-12 Joel Brobecker <brobecker@adacore.com>
5107 * gdb.ada/tick_last_segv: New testcase.
5109 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5111 * gdb.mi/mi-cli.exp: Remove debug print.
5113 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
5115 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
5116 include the token in ^running and frame info in *stopped.
5118 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5120 * solib-display.exp: New file.
5121 * solib-display-main.c: New file.
5122 * solib-display-lib.c: New file.
5124 2009-03-05 Pedro Alves <pedro@codesourcery.com>
5126 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
5128 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
5134 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
5136 * gdb.pascal/floats.exp: Accept approximate results everywhere.
5138 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
5140 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
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.
5147 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
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.
5156 2009-02-16 Doug Evans <dje@google.com>
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.
5165 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
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
5172 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
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.
5178 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
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.
5186 2009-02-13 Tom Tromey <tromey@redhat.com>
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.
5195 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5198 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
5200 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5202 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
5204 2009-02-06 Pedro Alves <pedro@codesourcery.com>
5206 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
5208 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
5210 * gdb.python/python-cmd.exp: New file.
5212 2009-02-06 Tristan Gingold <gingold@adacore.com>
5214 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
5216 2009-02-05 Tristan Gingold <gingold@adacore.com>
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.
5224 2009-02-04 Tom Tromey <tromey@redhat.com>
5225 Thiago Jung Bauermann <bauerman@br.ibm.com>
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.
5234 2009-02-04 Jerome Guitton <guitton@adacore.com>
5236 * gdb.ada/uninitialized_vars: New test program.
5237 * gdb.ada/uninitialized_vars.exp: New testcase.
5239 2009-02-02 Tom Tromey <tromey@redhat.com>
5241 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
5242 * gdb.cp/pr2489.cc: Rename...
5243 * gdb.cp/pr9594.cc: ... to this.
5245 2009-02-02 Tom Tromey <tromey@redhat.com>
5247 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
5248 * gdb.cp/pr2489.cc: New file.
5249 * gdb.cp/cpcompletion.exp: New file.
5251 2009-02-02 Tom Tromey <tromey@redhat.com>
5254 * gdb.cp/call-c.exp: Add regression test.
5255 * gdb.cp/call-c.cc (FooHandle): New typedef.
5256 (main): New variable 'handle'.
5258 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
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.
5264 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
5266 * gdb.mi/mi-break.exp (test_disabled_creation): New.
5269 2009-01-28 Doug Evans <dje@google.com>
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.
5276 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
5278 * gdb.base/find.exp: Set newline variable
5279 using quotes instead of braces to fix cygwin failures.
5281 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5283 * gdb.base/radix.exp: Add tests to ensure that that set
5284 input-radix 0 and set output-radix 0 are really rejected.
5286 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5288 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
5291 2009-01-23 Pedro Alves <pedro@codesourcery.com>
5294 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
5296 2009-01-22 Pedro Alves <pedro@codesourcery.com>
5299 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
5301 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
5303 * gdb.server/file-transfer.exp: Use EXEEXT variable for
5304 binfile definition to fix Windows OS failure.
5306 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
5309 * gdb.base/interrupt.c (sigint_handler): New.
5310 (main): Install a SIGINT handler if SIGNALS is defined. Exit
5312 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
5313 Test "signal SIGINT".
5315 2009-01-19 Doug Evans <dje@google.com>
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.
5329 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
5331 * gdb.base/define.exp: Test defining and hooking prefix commands.
5332 * gdb.python/python.exp: Update test for "show user" output.
5334 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
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
5340 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
5341 Remove gdb_test test names where matching the command.
5343 2009-01-01 Pedro Alves <pedro@codesourcery.com>
5345 PR breakpoints/9681:
5346 * gdb.base/watchpoint.exp: Add regression test.
5348 2008-12-31 Pedro Alves <pedro@codesourcery.com>
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.
5355 2008-12-31 Pedro Alves <pedro@codesourcery.com>
5358 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
5360 2008-12-29 Pedro Alves <pedro@codesourcery.com>
5363 * gdb.base/radix.exp: Add tests to ensure invalid input radices
5364 and unsupported output radices are really rejected.
5366 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5368 * gdb.cp/punctuator.exp: Backslash the '$' signs.
5370 2008-12-22 Tom Tromey <tromey@redhat.com>
5372 * gdb.cp/punctuator.exp: New file.
5374 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5376 * gdb.base/completion.exp (Completing non-existing component): New test.
5378 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
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 .
5386 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5388 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
5390 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
5392 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
5393 compiler actually generate code at the expected line number.
5395 2008-12-15 Jie Zhang <jie.zhang@analog.com>
5397 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
5399 2008-12-12 Tom Tromey <tromey@redhat.com>
5401 * gdb.base/commands.exp (redefine_hook_test): New proc.
5404 2008-12-11 Tom Tromey <tromey@redhat.com>
5406 * gdb.base/macscp.exp: New regression test.
5408 2008-12-11 Tom Tromey <tromey@redhat.com>
5410 * gdb.base/macscp.exp: Print "address.addr".
5411 * gdb.base/macscp1.c (struct outer): New struct.
5412 (address): New global.
5414 2008-12-09 Tom Tromey <tromey@redhat.com>
5416 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
5419 2008-12-04 Doug Evans <dje@google.com>
5421 * gdb.server/ext-run.exp: Relax regexp for init program.
5423 2008-12-03 Tristan Gingold <gingold@adacore.com>
5425 * gdb.base/macscp.exp: Generate an object file during compilation
5426 to work around Darwin dsymutil limitations.
5428 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5430 Test resolving external references to TLS variables.
5431 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
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.
5438 2008-11-28 Joel Brobecker <brobecker@adacore.com>
5440 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
5441 rather than integer, as integer might not be big enough when
5444 2008-11-27 Jerome Guitton <guitton@adacore.com>
5446 * gdb.cp/formatted-ref.exp: Add equality test.
5447 * gdb.ada/formatted_ref.exp: Ditto.
5449 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5451 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
5452 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
5454 2008-11-20 Andreas Schwab <schwab@suse.de>
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.
5462 2008-11-20 Doug Evans <dje@google.com>
5464 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
5466 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
5468 * gdb.arch/ppc-dfp.exp: New file.
5469 * gdb.arch/ppc-dfp.c: New file.
5471 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5473 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
5475 2008-11-17 Doug Evans <dje@google.com>
5477 * gdb.mi/mi-syn-frame.exp: Update expected output.
5478 * gdb.mi/mi2-syn-frame.exp: Update expected output.
5480 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
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
5488 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
5490 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
5491 * lib/mi-support.exp: Likewise.
5493 2008-11-16 Joel Brobecker <brobecker@adacore.com>
5495 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
5496 commands from the expected output for "help catch".
5498 2008-11-15 Joel Brobecker <brobecker@adacore.com>
5500 * gdb.ada/int_deref.exp: New testcase.
5502 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
5504 * gdb.mi/gdb2549.exp: New file.
5506 2008-11-11 Doug Evans <dje@google.com>
5508 * gdb.base/callexit.exp: New file.
5509 * gdb.base/callexit.c: New file.
5511 2008-11-10 Doug Evans <dje@google.com>
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.
5524 2008-11-03 Andreas Schwab <schwab@suse.de>
5526 * gdb.base/hashline2.exp: Fix typo.
5527 * gdb.base/hashline3.exp: Likewise.
5529 2008-10-30 Tom Tromey <tromey@redhat.com>
5531 * gdb.base/pointers.exp: Add test.
5532 * gdb.base/pointers.c (k, S): New typedefs.
5533 (instance): New global.
5535 2008-10-30 Andreas Schwab <schwab@suse.de>
5537 * gdb.base/args.exp: Add tests for newlines.
5539 2008-10-30 Joel Brobecker <brobecker@adacore.com>
5541 gdb.base/foll-exec.exp: Update the expected output of a couple
5542 of "info breakpoints" tests.
5544 2008-10-28 Tom Tromey <tromey@redhat.com>
5546 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
5548 2008-10-24 Pedro Alves <pedro@codesourcery.com>
5550 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
5552 Use runto_main before any test that requires execution.
5554 2008-10-23 Pedro Alves <pedro@codesourcery.com>
5556 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
5559 2008-10-22 Joel Brobecker <brobecker@adacore.com>
5561 * gdb.base/completion.exp: Update expected output following
5562 the addition of the "info tasks" command.
5564 2008-10-22 Tom Tromey <tromey@redhat.com>
5566 * gdb.base/exprs.exp (test_expr): Add test for string
5569 2008-10-19 Pedro Alves <pedro@codesourcery.com>
5571 * configure.ac: Output gdb.python/Makefile.
5572 * configure: Regenerate.
5573 * gdb.python/Makefile.in: New.
5575 2008-10-16 Joel Brobecker <brobecker@adacore.com>
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.
5581 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
5583 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
5585 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5587 * gdb.python/python-value.c: New file.
5588 * gdb.python/python-value.exp: New file.
5590 2008-10-15 Pedro Alves <pedro@codesourcery.com>
5592 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
5594 2008-10-15 Denis Pilat <denis.pilat@st.com>
5596 * gdb.cp/mb-ctor.exp: Fix a typo.
5598 2008-10-09 Tom Tromey <tromey@redhat.com>
5600 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
5601 'fprintf' and 'stderr'.
5603 2008-10-07 Joel Brobecker <brobecker@adacore.com>
5605 * gdb.ada/ref_tick_size.exp: New testcase.
5607 2008-10-06 Doug Evans <dje@google.com>
5609 * gdb.dwarf2/dw2-cu-size.exp: New file.
5610 * gdb.dwarf2/dw2-cu-size.S: New file.
5612 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
5613 .Ltype_int for clarity.
5615 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
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.
5623 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5625 * gdb.base/maint.exp (maint print type): Remove printing
5626 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
5628 2008-09-30 Tom Tromey <tromey@redhat.com>
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.
5635 2008-09-30 Tom Tromey <tromey@redhat.com>
5637 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
5639 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
5641 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
5647 2008-09-27 Tom Tromey <tromey@redhat.com>
5649 * gdb.base/macscp.exp: Add tests for stringification, splicing,
5652 2008-09-22 Pedro Alves <pedro@codesourcery.com>
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
5660 Use mi_check_thread_states throughout. Avoid ".*" and do not
5661 require an anchor after -exec-run.
5663 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
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.
5678 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5680 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
5683 2008-09-10 Joel Brobecker <brobecker@adacore.com>
5685 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
5687 2008-09-10 Joel Brobecker <brobecker@adacore.com>
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.
5702 2008-09-10 Joel Brobecker <brobecker@adacore.com>
5704 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
5705 description for boolean types.
5707 2008-09-09 Pedro Alves <pedro@codesourcery.com>
5709 * gdb.base/hook-stop-continue.c: New.
5710 * gdb.base/hook-stop-continue.exp: New.
5712 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
5714 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
5716 2008-09-08 Jerome Guitton <guitton@adacore.com>
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
5725 (insert_breakpoint): Slightly refine this procedure so that it can
5726 be called several times in the test.
5728 2008-09-08 Jerome Guitton <guitton@adacore.com>
5730 * gdb.base/stack-checking.c: New file.
5731 * gdb.base/stack-checking.exp: New file.
5733 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5735 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
5736 * gdb.arch/altivec-regs.exp: Likewise.
5737 * gdb.arch/vsx-regs.exp: Likewise.
5739 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
5741 * gdb.arch/ppc-fp.exp: New file.
5742 * gdb.arch/ppc-fp.c: New file.
5744 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5746 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
5747 lest gcc-4.3.1 optimizes the whole thing away.
5749 2008-09-04 Michael Snyder <msnyder@vmware.com>
5751 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
5752 as "at" (for non-debug functions such as _start).
5754 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
5761 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
5763 * gdb.arch/i386-bp_permanent.exp: New test.
5765 2008-08-24 Tom Tromey <tromey@redhat.com>
5767 * gdb.base/maint.exp: Update "maint print type".
5769 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
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
5776 2008-08-20 Mark Kettenis <kettenis@gnu.org>
5778 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
5779 expect to find it in the "info frame" output.
5781 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
5783 * gdb.base/interp.exp: Always consume both prompts.
5785 2008-08-20 Pedro Alves <pedro@codesourcery.com>
5787 * gdb.base/pending.exp: Test pending breakpoints without symbols
5790 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
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.
5797 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
5799 * gdb.mi/mi-async.exp: Use 'set target-async'.
5800 * lib/mi-support.exp: Use 'set/show target-async'.
5802 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
5804 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
5806 2008-08-17 Tom Tromey <tromey@redhat.com>
5808 * gdb.base/help.exp (help catch): Rewrite.
5810 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
5812 * gdb.base/define.exp: Test indented command documentation.
5813 * gdb.python/python.exp: Test indented multi-line command.
5815 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
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.
5821 2008-08-14 Tom Tromey <tromey@redhat.com>
5823 * gdb.base/macscp.exp: Add regression test for "macro define" or
5824 "macro undef" with no arguments.
5826 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5828 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
5830 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5832 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
5834 2008-08-06 Tom Tromey <tromey@redhat.com>
5836 * gdb.python/python.exp: New file.
5838 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5840 Fix for PR gdb/1543.
5841 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
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 .
5927 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
5929 * lib/mi-support.exp (mi_load_shlibs): New.
5930 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
5932 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
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.
5941 2008-07-28 Tom Tromey <tromey@redhat.com>
5943 * Makefile.in (just-check): Remove. Move body to...
5946 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5948 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
5949 Add a test for duplicated SIGINTs.
5951 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5953 * gdb.threads/schedlock.exp (get_args): Update to work for any
5955 (Top level): Report the number of threads that did not resume.
5957 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5959 * gdb.dwarf2/dw2-compressed.S: Also define __start.
5961 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
5963 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
5966 2008-07-26 Tom Tromey <tromey@redhat.com>
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.
5973 2008-07-26 Tom Tromey <tromey@redhat.com>
5975 * gdb.base/macscp.exp: Add test for macro lexing bug.
5977 2008-07-18 Tom Tromey <tromey@redhat.com>
5979 * gdb.base/macscp.exp: Add macro tests.
5981 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5983 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
5985 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
5987 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
5989 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
5991 * gdb.cp/class2.exp: fix for failure on spu-elf
5993 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5995 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
5997 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5999 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
6001 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
6003 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
6005 2008-07-11 Kevin Buettner <kevinb@redhat.com>
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
6011 2008-07-11 Tom Tromey <tromey@redhat.com>
6013 * gdb.base/completion.exp: Add 'help' completion test.
6015 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6017 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
6019 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6021 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
6023 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6025 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
6027 2008-07-09 Pedro Alves <pedro@codesourcery.com>
6029 * gdb.base/fullname.exp: Restore pwd if compiling failed.
6031 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6033 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
6035 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6037 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
6038 previous commit. Add a comment.
6040 2008-06-28 Pedro Alves <pedro@codesourcery.com>
6042 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
6044 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
6046 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
6048 2008-06-27 Pedro Alves <pedro@codesourcery.com>
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
6054 * lib/set_unbuffered_mode.c: New file.
6056 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6058 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
6060 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
6062 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
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.
6071 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
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.
6079 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
6081 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
6083 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
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.
6092 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
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
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.
6103 2008-06-09 Tom Tromey <tromey@redhat.com>
6105 * gdb.base/completion.exp: New tests for field name completion
6106 with spaces, and field name completion with '->'.
6108 2008-06-06 Tom Tromey <tromey@redhat.com>
6110 * gdb.base/break1.c (struct some_struct): New struct.
6111 (values): New global.
6112 * gdb.base/completion.exp: Add field name completion test.
6114 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6116 * gdb.cp/call-c.exp: Test for incorrect handling of reference
6118 * gdb.cp/call-c.cc: Likewise.
6120 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
6122 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
6125 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6126 Pedro Alves <pedro@codesourcery.com>
6128 * gdb.threads/execl.c, gdb.threads/execl1.c,
6129 gdb.threads/execl.exp: New tests.
6131 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
6132 Daniel Jacobowitz <dan@codesourcery.com>
6134 * gdb.cp/exception.exp: Activate test, make it work with pending
6137 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
6139 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
6141 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
6143 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
6145 * gdb.mi/mi2-var-cmd.exp: Likewise.
6147 2008-05-27 Andreas Schwab <schwab@suse.de>
6149 * gdb.base/frame-args.exp: Handle arguments that are optimized
6152 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
6154 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
6155 quiet for ppc32 and group options into a single variable.
6157 2008-05-23 Joel Brobecker <brobecker@adacore.com>
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.
6163 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6165 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
6167 2008-05-21 Joel Brobecker <brobecker@adacore.com>
6169 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
6170 of the "finish" command.
6172 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
6174 * gdb.base/annota1.exp: Test for new annotation.
6176 2008-05-16 Pedro Alves <pedro@codesourcery.com>
6178 * gdb.base/fixsection.exp: New file.
6179 * gdb.base/fixsection0.c: New file.
6180 * gdb.base/fixsection1.c: New file.
6182 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6184 * gdb.base/annota1.exp: Accept printf@... in place of printf.
6185 * gdb.base/annota3.exp: Likewise.
6187 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
6189 * gdb.base/watch_thread_num.exp: Don't run tests that require
6190 watchpoints if the target doesn't support them.
6192 2008-05-12 Doug Evans <dje@google.com>
6194 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
6196 2008-05-09 Joel Brobecker <brobecker@adacore.com>
6198 * gdb.ada/assign_1.exp: New testcase.
6200 2008-05-09 Doug Evans <dje@google.com>
6202 * gdb.base/find.exp: New file.
6203 * gdb.base/find.c: New file.
6205 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
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.
6212 2008-05-06 Jerome Guitton <guitton@adacore.com>
6213 Joel Brobecker <brobecker@adacore.com>
6215 * gdb.ada/lang_switch: New test program.
6216 * gdb.ada/lang_switch.exp: New testcase.
6218 2008-05-05 Doug Evans <dje@google.com>
6220 * gdb.base/help.exp (disassemble): Update expected help text.
6222 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6224 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
6226 2008-05-04 Pedro Alves <pedro@codesourcery.com>
6228 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
6231 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
6238 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
6240 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
6241 notification to appear.
6243 2008-05-04 Daniel Jacobowitz <dan@debian.org>
6245 * gdb.base/fullname.c: New file.
6246 * gdb.base/fullname.exp: New file.
6247 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
6249 2008-05-03 Pedro Alves <pedro@codesourcery.com>
6251 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
6252 expressions with macros.
6254 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6256 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
6258 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
6260 * gdb.base/completion.exp: Handle lack of other symbols beginning
6263 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
6265 2008-05-02 Jim Blandy <jimb@codesourcery.com>
6267 * gdb.asm/asmsrc1.s: Add scratch space.
6269 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6270 Daniel Jacobowitz <dan@codesourcery.com>
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.
6276 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
6278 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
6280 2008-05-01 Joel Brobecker <brobecker@adacore.com>
6282 * gdb.base/info-target.exp: New testcase.
6284 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
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.
6290 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
6292 * gdb.base/gdb1250.exp: Remove perror.
6293 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
6295 2008-04-30 Pedro Alves <pedro@codesourcery.com>
6297 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
6300 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
6302 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
6305 2008-04-25 Pedro Alves <pedro@codesourcery.com>
6307 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
6309 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
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.
6315 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
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.
6322 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
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.
6341 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
6343 * aclocal.m4: Add override.m4.
6344 * configure: Regenerate.
6346 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
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.
6352 2008-04-18 Craig Silverstein <csilvers@google.com>
6354 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
6357 2008-04-18 Joel Brobecker <brobecker@adacore.com>
6359 * gdb.ada/atomic_enum: New test program.
6360 * gdb.ada/atomic_enum.exp: New testcase.
6362 2008-04-17 Doug Evans <dje@google.com>
6364 * gdb.opt/Makefile.in: Fix whitespace.
6366 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
6368 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
6370 2008-04-17 Doug Evans <dje@google.com>
6372 * gdb.base/hashline1.exp: New testcase.
6373 * gdb.base/hashline2.exp: New testcase.
6374 * gdb.base/hashline2.exp: New testcase.
6376 2008-04-17 Pedro Alves <pedro@codesourcery.com>
6378 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
6380 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
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
6406 (mi_expect_stop): Move after_reason argument to be really after
6407 reason. This is to support fix for PR2424.
6409 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6411 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
6413 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
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
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.
6424 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
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.
6430 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
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.
6439 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
6441 * gdb.mi/mi-async.exp: New test for asynchronous Machine
6442 Interface (MI) responses.
6444 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
6446 * gdb.cp/breakpoint.cc: New code to test conditions involving
6448 * gdb.cp/breakpoint.exp: Test condition involving member
6451 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
6453 * lib/mi-support.exp (mi_expect_stop): New.
6454 (mi_run_cmd): Change the
6455 token. Use mi_send_resuming_command, use
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.
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.
6482 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6484 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
6486 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
6488 2008-04-04 Pedro Alves <pedro@codesourcery.com>
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.
6498 2008-04-03 Joel Brobecker <brobecker@adacore.com>
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.
6507 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
6509 * gdb.cp/casts.cc: Add class reference variables.
6510 * gdb.cp/casts.exp: New test cases for up/down casting references.
6512 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
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.
6518 2008-03-31 Maciej W. Rozycki <macro@mips.com>
6520 * gdb.base/break.exp: Mark failures as such. Fix formatting.
6522 2008-03-31 Markus Deuling <deuling@de.ibm.com>
6523 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6525 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
6526 value. Add xfail for older kernels.
6528 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
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.
6534 2008-03-28 Maciej W. Rozycki <macro@mips.com>
6536 * gdb.mi/mi-var-cmd.exp: Fix a typo.
6538 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6540 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
6541 * gdb.mi/mi2-var-display.exp: Likewise.
6543 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
6545 * lib/mi-support.exp (mi_create_varobj_checked): New.
6546 (mi_list_varobj_children): Allow to check for a
6548 (mi_list_array_varobj_children): New.
6550 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
6551 and mi_list_varobj_children, as opposed to hardcoding
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.
6563 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6565 Fix random false FAILs on i386.
6566 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
6568 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6571 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
6573 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
6576 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
6578 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6580 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
6583 2008-03-21 Pedro Alves <pedro@codesourcery.com>
6585 * gdb.threads/fork-child-threads.exp: Test next over fork.
6587 2008-03-21 Chris Demetriou <cgd@google.com>
6589 * gdb.base/break.exp (rbreak junk): New test for rbreak
6590 "Junk at end of arguments" issue.
6592 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
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
6598 * gdb.base/ptype.exp: Do not expect *& to work on created array
6601 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
6603 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
6604 gdb.threads/staticthreads.exp: Update exit query.
6606 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
6608 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
6610 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
6612 * gdb.base/watchpoint.c (global_ptr, func4): New.
6614 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
6615 (test_inaccessible_watchpoint): New.
6617 2008-02-29 Maciej W. Rozycki <macro@mips.com>
6619 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
6622 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
6624 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
6625 frames-invalid annotations.
6627 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
6629 * gdb.base/assign.exp: avoid same output for different tests.
6631 2008-02-27 Doug Evans <dje@google.com>
6633 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
6635 (breakpoint_to_handler_entry): Ditto.
6637 2008-02-27 Joel Brobecker <brobecker@adacore.com>
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
6645 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
6647 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6649 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
6652 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
6654 * gdb.base/args.exp: avoid same output for tests
6657 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
6659 * gdb.base/annota1.exp: Adjust for 'info break'
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.
6670 2008-02-07 Doug Evans <dje@google.com>
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.
6677 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
6679 * gdb.pascal/floats.pas: New test program.
6680 * gdb.pascal/floats.exp: New testcase.
6682 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
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.
6689 2008-02-05 Joel Brobecker <brobecker@adacore.com>
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.
6695 2008-02-03 Doug Evans <dje@google.com>
6697 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
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.
6704 2008-02-02 Doug Evans <dje@google.com>
6706 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
6708 2007-02-01 Joel Brobecker <brobecker@adacore.com>
6710 * gdb.ada/sym_print_name: New test program.
6711 * gdb.ada/sym_print_name.exp: New testcase.
6713 2007-02-01 Joel Brobecker <brobecker@adacore.com>
6715 * gdb.ada/nested/hello.adb: New file.
6716 * gdb.ada/nested.exp: New testcase.
6717 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
6719 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
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.
6726 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
6728 * gdb.mi/mi-break.exp (test_error): New.
6731 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
6733 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
6734 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
6736 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6738 * gdb.pascal/integers.pas: New test program.
6739 * gdb.pascal/integers.exp: New testcase.
6741 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
6743 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
6745 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
6747 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
6748 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
6750 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
6752 * gdb.ada/formatted_ref: New test program.
6753 * gdb.ada/formatted_ref.exp: New testcase.
6755 * gdb.cp/formatted-ref.cc: New file.
6756 * gdb.cp/formatted-ref.exp: New testcase.
6758 2008-01-30 Joel Brobecker <brobecker@adacore.com>
6760 * gdb.base/ptype.exp: Add testing of "ptype $pc".
6762 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
6764 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
6765 (test_file_list_exec_source_file): Update to new macro-info field.
6767 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
6769 * gdb.ada/exprs: New test program.
6770 * gdb.ada/exprs.exp: New testcase.
6772 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
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.
6796 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
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
6803 (gdbserver_spawn): Use them.
6804 (gdbserver_start_extended): New.
6806 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6808 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
6810 (do_exec_tests): Check for systems which do not support catchpoints.
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
6823 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
6825 2008-01-29 Jim Blandy <jimb@red-bean.com>
6827 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
6829 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
6831 2008-01-29 Jim Blandy <jimb@red-bean.com>
6833 * gdb.threads/sigthread.c: Use barriers to ensure that
6834 child_thread and child_thread_two are always initialized before we
6837 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
6839 * gdb.base/watchpoint-solib.exp: New.
6840 * gdb.base/watchpoint-solib.c: New.
6841 * gdb.base/watchpoint-solib-shr.c: New.
6843 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
6845 * gdb.base/gdb1056.exp: Add unsigned integer test.
6847 2008-01-28 Doug Evans <dje@google.com>
6849 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
6851 2008-01-27 Jim Blandy <jimb@codesourcery.com>
6853 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
6855 * gdb.base/expand-psymtabs.exp: Doc fix.
6857 2008-01-26 Mark Kettenis <kettenis@gnu.org>
6859 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
6861 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
6863 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
6866 2008-01-23 Chris Demetriou <cgd@google.com>
6868 * gdb.threads/thread_events.c: New testcase source file.
6869 * gdb.threads/thread_events.exp: New testcase expect file.
6871 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
6873 * lib/gdb.exp: Add the variable octal.
6875 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
6878 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
6879 Vladimir Prus <vladimir@codesourcery.com>
6881 * gdb.base/float.exp: Allow missing floating point for m68k and
6884 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
6886 * gdb.mi/basics.c: Setup for testing breakpoints
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.
6892 2008-01-17 Pedro Alves <pedro@codesourcery.com>
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
6900 * gdb.mi/mi2-var-child.exp: Likewise.
6902 2008-01-09 Joel Brobecker <brobecker@adacore.com>
6904 * gdb.ada/null_array: New test program.
6905 * gdb.ada/null_array.exp: New testcase.
6907 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
6909 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
6910 with required float modifiers.
6912 2008-01-08 Joel Brobecker <brobecker@adacore.com>
6914 * gdb.ada/funcall_param: New test program.
6915 * gdb.ada/funcall_param.exp: New testcase.
6917 2008-01-08 Joel Brobecker <brobecker@adacore.com>
6919 * gdb.ada/arrayparam: New test program.
6920 * gdb.ada/arrayparam.exp: New testcase.
6922 2008-01-08 Joel Brobecker <brobecker@adacore.com>
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.
6927 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
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
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.
6944 2008-01-05 Joel Brobecker <brobecker@adacore.com>
6946 * gdb.ada/packed_tagged/comp_bug.adb: New file.
6947 * gdb.ada/packed_tagged.exp: New testcase.
6949 2008-01-04 Joel Brobecker <brobecker@adacore.com>
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.
6955 2008-01-04 Joel Brobecker <brobecker@adacore.com>
6957 * gdb.ada/packed_array.exp: Add testing of references to
6960 2008-01-04 Joel Brobecker <brobecker@adacore.com>
6962 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
6964 * gdb.ada/type_coercion.exp: New testcase.
6966 2008-01-04 Joel Brobecker <brobecker@adacore.com>
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.
6972 2008-01-04 Joel Brobecker <brobecker@adacore.com>
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.
6978 2008-01-03 Joel Brobecker <brobecker@adacore.com>
6980 * gdb.ada/print_pc.exp: New testcase.
6982 2008-01-03 Joel Brobecker <brobecker@adacore.com>
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.
6988 2008-01-03 Joel Brobecker <brobecker@adacore.com>
6990 * gdb.ada/array_bounds/bar.adb: New file.
6991 * gdb.ada/array_bounds.exp: New testcase.
6993 2008-01-03 Joel Brobecker <brobecker@adacore.com>
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.
6999 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7001 * gdb.base/set-lang-auto.exp: New testcase.
7003 2008-01-03 Joel Brobecker <brobecker@adacore.com>
7005 * gdb.ada/fun_addr/foo.adb: New file.
7006 * gdb.ada/fun_addr.exp: New testcase.
7008 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7010 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
7013 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7015 * array_subscript_addr/p.adb: New file.
7016 * array_subscript_addr.exp: New testcase.
7018 2008-01-02 Joel Brobecker <brobecker@adacore.com>
7020 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
7022 * gdb.ada/str_cmp_ref.exp: New testcase.
7024 2008-01-01 Joel Brobecker <brobecker@adacore.com>
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.
7030 2008-01-01 Joel Brobecker <brobecker@adacore.com>
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.
7036 2008-01-01 Joel Brobecker <brobecker@adacore.com>
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.
7042 2007-12-31 Jim Blandy <jimb@codesourcery.com>
7044 * gdb.base/multi-forks.exp: Consume all output from child
7045 processes before proceeding to next test.
7047 2007-12-29 Jim Blandy <jimb@codesourcery.com>
7049 * configure: Regenerated.
7051 2007-12-27 Joel Brobecker <brobecker@adacore.com>
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.
7057 2007-12-27 Joel Brobecker <brobecker@adacore.com>
7059 * gdb.ada/boolean_expr.exp: New testcase.
7061 2007-12-26 Jim Blandy <jimb@codesourcery.com>
7063 * gdb.base/multi-forks.exp: Doc fix.
7065 2007-12-26 Joel Brobecker <brobecker@adacore.com>
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".
7072 2007-12-24 Joel Brobecker <brobecker@adacore.com>
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.
7078 2007-12-24 Joel Brobecker <brobecker@adacore.com>
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.
7084 2007-12-22 Jim Blandy <jimb@codesourcery.com>
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.
7091 2007-12-22 Joel Brobecker <brobecker@adacore.com>
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.
7098 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
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.
7105 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
7106 Jim Blandy <jimb@codesourcery.com>
7108 * gdb.base/expand-psymtabs.c: New testcase
7110 * gdb.base/expand-psymtabs.exp: New testcase
7113 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
7115 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
7116 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
7118 2007-12-17 Joel Brobecker <brobecker@adacore.com>
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.
7125 2007-12-17 Joel Brobecker <brobecker@adacore.com>
7127 * gdb.base/frame-args.c: New file.
7128 * gdb.base/frame-args.exp: New testcase.
7130 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
7131 Joseph Myers <joseph@codesourcery.com>
7133 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
7135 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
7137 * gdb.mi/mi-pending.exp: New.
7138 * gdb.mi/mi-pending.c: New.
7139 * gdb.mi/mi-pendshr.c: New.
7141 2007-12-06 Jim Blandy <jimb@codesourcery.com>
7143 * gdb.base/default.exp: Update expected output for 'info catch'.
7145 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
7147 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
7148 must be set to binary.
7150 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
7152 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
7154 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
7156 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
7157 gdb.mi/mi-file-transfer.exp: New.
7159 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7161 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
7163 2007-11-22 Maciej W. Rozycki <macro@mips.com>
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.
7173 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
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
7179 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7181 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
7182 (target_cpu): Remove.
7184 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
7186 * gdb.base/ending-run.exp: Expect the list of cleared
7187 breakpoint to come in natural order, not the reversed one.
7189 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
7191 * gdb.mi/mi-var-child.c (do_child_deletion): New.
7192 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
7194 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
7196 * gdb.base/printcmds.exp: New function
7197 test_printf_with_dfp.
7199 2007-11-02 Doug Evans <dje@google.com>
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.
7215 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7217 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
7219 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7221 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
7222 provide DFP support.
7224 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
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
7230 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7232 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
7233 with [string compare].
7235 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
7237 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
7238 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
7240 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
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.
7249 2007-10-25 Doug Evans <dje@google.com>
7251 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
7252 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
7254 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
7255 Thiago Jung Bauermann <bauerman@br.ibm.com>
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.
7264 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
7266 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
7268 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
7274 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7276 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7279 2007-10-18 Michael Snyder <msnyder@specifix.com>
7281 * gdb.base/dbx.exp: Add missing "-re " operator.
7283 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
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.
7292 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
7294 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
7296 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
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.
7303 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
7305 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
7308 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
7310 * gdb.server/server-run.exp: Test for dynamic linker symbols.
7312 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
7314 * lib/gdb.exp (gdb_run_cmd): Move comment outside
7315 of gdb_expect call, to avoid interruption.
7317 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
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
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.
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
7337 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
7338 Daniel Jacobowitz <dan@codesourcery.com>
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.
7346 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
7348 * gdb.cp/classes.exp (do_tests): Always step to the line after the
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.
7358 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
7360 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
7362 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
7364 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
7366 * gdb.threads/watchthreads.c (thread_function): Sleep between
7368 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
7369 at once for S/390. Generate matching fails and passes.
7371 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
7373 * gdb.mi/var-cmd.c (do_children_tests): Initialize
7374 the 'struct_declarations' variable to zeros.
7376 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
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.
7383 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
7385 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
7387 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
7389 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
7391 * configure: Regenerate.
7393 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
7395 * gdb.base/annota1.exp: Adjust for 'info break'
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.
7405 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
7407 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
7409 * gdb.base/chng-syms.exp: Likewise.
7410 * gdb.base/unload.exp: Likewise.
7412 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
7414 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
7416 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
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.
7423 2007-09-14 Maciej W. Rozycki <macro@mips.com>
7425 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
7427 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7429 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
7430 watchpoint type down.
7431 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
7434 2007-09-14 Maciej W. Rozycki <macro@mips.com>
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.
7441 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
7443 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
7446 2007-09-10 Mark Kettenis <kettenis@gnu.org>
7448 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
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}.
7455 2007-09-09 Mark Kettenis <kettenis@gnu.org>
7457 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
7458 gcore, before continuing with the test.
7460 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
7462 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
7463 * gdb.mi/mi-watch.exp: Likewise.
7465 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7466 Jim Blandy <jimb@codesourcery.com>
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.
7474 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
7476 * gdb.base/display.exp: Add tests for printf %p.
7478 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
7480 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
7481 the dll name to unicode.
7483 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7485 * gdb.base/default.exp (show version): Update the version text.
7486 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
7488 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7490 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
7493 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
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.
7505 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
7507 * gdb.mi/mi-var-cp.cc (path_expression): New
7509 * gdb.mi/mi-var-cp.exp: Run path exression tests.
7511 2007-08-27 Markus Deuling <deuling@de.ibm.com>
7513 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
7514 to fit into SPU Local Store memory.
7516 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7518 * gdb.base/default.exp: Adjust the expected output of "info
7519 warranty" after the switch to GPLv3.
7521 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7523 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
7524 to 30000 (from 20000).
7526 2007-08-23 Joel Brobecker <brobecker@adacore.com>
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.
7532 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7534 * configure.ac: Switch license to GPLv3.
7536 2007-08-23 Joel Brobecker <brobecker@adacore.com>
7538 Switch the licensing to GPLv3 for all .ads and .adb files.
7540 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
7542 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
7544 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
7546 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7548 * gdb.base/step-line.c: Switch license to GPL version 3, and
7549 update copyright year.
7550 * gdb.base/step-line.inp: Likewise.
7552 2007-08-17 Joel Brobecker <brobecker@adacore.com>
7554 * gdb.base/gdb1555.exp: Make expected output immune to formatting
7555 changes inside gdb1555.c.
7556 * gdb.base/pending.exp: Likewise.
7558 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
7560 * config/default.exp: New file.
7562 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
7564 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
7565 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
7567 2007-07-30 Maciej W. Rozycki <macro@mips.com>
7569 * gdb.base/dump.exp: Force the correct endianness for binary
7570 formats not carrying this information.
7572 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7574 * gdb.threads/staticthreads.exp: Match .*sem_post.
7576 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
7578 * gdb.base/readline.exp (operate_and_get_next): Match the final
7581 2007-07-23 Kevin Buettner <kevinb@redhat.com>
7583 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
7586 2007-07-18 Kevin Buettner <kevinb@redhat.com>
7588 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
7589 prior to `gdb_start'.
7591 2007-07-18 Kevin Buettner <kevinb@redhat.com>
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.
7597 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
7598 Daniel Jacobowitz <dan@codesourcery.com>
7600 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
7602 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
7603 * gdb.base/unload.exp: Use shared library test routines.
7605 2007-07-03 Markus Deuling <deuling@de.ibm.com>
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.
7611 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
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
7618 (gdb_compile): Add shlib_load flag.
7619 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
7621 (gdbserver_reconnect): New.
7623 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
7624 Daniel Jacobowitz <dan@codesourcery.com>
7626 * gdb.base/annota3.exp: Test for if construct.
7628 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
7630 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
7632 2007-06-21 Chris Dearman <chris@mips.com>
7633 Maciej W. Rozycki <macro@mips.com>
7635 * gdb.base/display.exp: Allow a newline after display/i.
7636 * gdb.base/pc-fp.exp: Likewise.
7637 * gdb.base/sigbpt.exp: Likewise.
7639 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
7641 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
7642 required features to be included.
7644 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
7646 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
7647 in info threads output.
7649 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7650 Markus Deuling <deuling@de.ibm.com>
7652 * gdb.arch/spu-info.exp: New testcase.
7653 * gdb.arch/spu-info.c: New file.
7655 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
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.
7661 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
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.
7667 2007-05-17 Maciej W. Rozycki <macro@mips.com>
7669 * gdb.base/sigbpt.exp: Preset segv_addr.
7671 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
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.
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
7688 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
7690 * config/unknown.exp: Remove.
7692 2007-05-15 Markus Deuling <deuling@de.ibm.com>
7694 * gdb.base/info-proc.exp: Check is_remote.
7696 2007-05-14 Markus Deuling <deuling@de.ibm.com>
7698 * gdb.base/gcore.exp: Initialize variable core_supported.
7700 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7702 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
7704 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
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.
7710 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
7712 * gdb.java/jprint.java (public): Avoid invalid call to static
7715 2007-05-14 Denis Pilat <denis.pilat@st.com>
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.
7723 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7725 * gdb.base/overlays.exp: Add support for targets with only code
7726 overlay support, not data overlay. Support spu-*-* target in
7728 * gdb.base/ovlymgr.c: Provide stubs for spu target.
7729 * gdb.base/spu.ld: New file.
7731 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
7733 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
7735 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
7737 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
7739 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
7741 * gdb.java/jmain.exp: Handle demangled names with and without method
7744 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
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
7750 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
7753 2007-04-29 Markus Deuling <deuling@de.ibm.com>
7754 Daniel Jacobowitz <dan@codesourcery.com>
7756 * gdb.base/auxv.exp (core_works): Also check is_remote.
7757 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
7759 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
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
7767 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
7769 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
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.
7775 2007-04-16 Denis Pilat <denis.pilat@st.com>
7777 * gdb.base/setshow.exp: Reset height after having set it to 100.
7779 2007-04-16 Denis Pilat <denis.pilat@st.com>
7781 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
7783 2007-04-16 Denis Pilat <denis.pilat@st.com>
7785 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
7787 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
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.
7794 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7796 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
7797 gdb.base/type-opaque.exp: New files.
7799 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
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
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
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.
7819 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7821 * gdb.asm/asm-source.exp: Remove d10v case.
7822 * lib/gdb.exp (skip_cplus_tests): Likewise.
7823 * gdb.asm/d10v.inc: Deleted.
7825 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7827 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
7829 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
7831 * config/netware.exp: Delete file.
7833 2007-03-29 Joel Brobecker <brobecker@adacore.com>
7835 * gdb.dwarf2/dw2-noloc.S: New file.
7836 * gdb.dwarf2/dw2-noloc.exp: New file.
7838 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
7840 * gdb.cp/method2.cc: New test.
7841 * gdb.cp/method2.exp: New test.
7842 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
7844 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
7846 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
7848 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
7850 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
7852 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
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.
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:
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.
7882 2007-03-23 Nigel Stephens <nigel@mips.com>
7883 Maciej W. Rozycki <macro@mips.com>
7885 * gdb.base/sigbpt.exp: Fix the message when skipping test.
7886 * gdb.base/signull.exp: Similarly.
7888 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7890 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
7891 messages available to test cases (like chng-sym.exp).
7893 2007-03-14 Andreas Schwab <schwab@suse.de>
7895 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
7898 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
7900 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
7902 (main): Call optimized_1.
7903 (gdb2029): Correct typos. Call gdb2029_marker.
7904 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
7907 2007-03-12 Mark Kettenis <kettenis@gnu.org>
7909 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
7910 as tabs. Remove redundant test pattern.
7912 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7914 * gdb.base/long_long.exp: Accept optional symbol name in <...>
7915 for /a format output.
7917 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
7919 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
7920 collect output incrementally.
7922 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
7928 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7930 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
7931 pass on targets where address zero is readable.
7933 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7935 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
7936 just a single architecture.
7938 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
7945 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7947 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
7950 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7952 * gdb.threads/manythreads.exp: Use $message string for
7953 consistancy; add a default (timeout) case.
7955 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7957 * gdb.base/watchpoint.exp: Fix truncated comment.
7959 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
7961 * Makefile.in: Remove spurious single-quotes from sed command.
7963 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
7965 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
7967 * gdb.mi/mi2-var-cmd.exp: Likewise.
7969 2007-02-27 Joel Brobecker <brobecker@adacore.com>
7971 * gdb.dwarf2/dw2-producer.S: New file.
7972 * gdb.dwarf2/dw2-producer.exp: New testcase.
7974 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
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
7984 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
7986 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
7988 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
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.
7994 2007-02-27 Joel Brobecker <brobecker@adacore.com>
7996 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
7998 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8000 * gdb.server/server-mon.exp: New test.
8002 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8004 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
8006 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
8008 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
8009 register capitalization.
8011 2007-02-13 Denis Pilat <denis.pilat@st.com>
8013 * gdb.mi/mi-var-invalidate.exp: New file.
8015 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8017 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
8019 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8021 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
8023 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
8025 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
8026 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
8028 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
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.
8038 2007-02-08 Andreas Schwab <schwab@suse.de>
8040 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
8042 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
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.
8047 2007-02-02 Denis Pilat <denis.pilat@st.com>
8049 * gdb.threads/threadapply.exp: check that frame is not changed by
8050 the thread apply all command.
8052 2007-01-31 Andreas Schwab <schwab@suse.de>
8054 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
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.
8060 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
8061 bspstore register on ia64.
8063 2007-01-29 Andreas Schwab <schwab@suse.de>
8065 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
8066 "frame-begin" annotation.
8068 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
8069 number of "frames-invalid" annotations.
8071 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
8073 * gdb.base/commands.exp: Call if_commands_test.
8074 (gdb_test_no_prompt, if_commands_test): New.
8076 2007-01-28 Mark Kettenis <kettenis@gnu.org>
8078 * gdb.threads/sigthread.c (NSIGS): Make bigger.
8080 2007-01-27 Andreas Schwab <schwab@suse.de>
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.
8087 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
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
8092 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
8093 * gdb.base/setvar.exp: Likewise.
8095 2007-01-26 Andreas Schwab <schwab@suse.de>
8097 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
8100 * gdb.base/multi-forks.exp ("restart $i"): Also match
8101 __kernel_syscall_via_break.
8103 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
8105 * lib/mi-support.exp (mi_delete_varobj): New.
8106 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
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.
8113 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
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.
8123 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
8125 * gdb.base/sigrepeat.exp: Correct error message.
8127 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8128 Daniel Jacobowitz <dan@codesourcery.com>
8130 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
8131 gdb.arch/i386-gnu-cfi-asm.S: New files.
8133 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8135 * lib/gdb.exp: Abort on missing `site.exp'.
8137 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8138 Daniel Jacobowitz <dan@codesourcery.com>
8140 * gdb.base/included.c, gdb.base/included.exp,
8141 gdb.base/included.h: New files.
8143 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8145 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
8146 (maximize_rlimit): Reduce limits on 64-bit systems.
8148 2007-01-19 Mark Kettenis <kettenis@gnu.org>
8150 From Marcus Deuling <deuling@de.ibm.com>:
8151 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
8154 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
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.
8160 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
8162 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
8164 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
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.
8170 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8172 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
8173 has no debug information.
8175 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
8177 * gdb.base/annota1.exp: Remove extra send_gdb.
8179 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8181 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
8183 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8185 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
8187 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
8188 Daniel Jacobowitz <dan@codesourcery.com>
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.
8194 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
8196 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
8198 2007-01-05 Joel Brobecker <brobecker@adacore.com>
8200 * gdb.base/nofield.c: New file.
8201 * gdb.base/nofield.exp: New testcase.
8203 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
8205 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
8207 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
8210 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8212 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
8214 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
8216 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
8219 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8221 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
8222 Expect ".exe" extension.
8224 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8226 * gdb.base/charset.exp: Add explicit filename to break.
8227 * gdb.base/dbx.exp: Add explicit filename to breaks.
8229 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
8231 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
8232 * gdb.mi/mi2-file.exp: Likewise.
8234 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
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.
8246 * gdb.mi/mi-var-cp.cc: Define tests here.
8248 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
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.
8259 2006-01-04 Joel Brobecker <brobecker@adacore.com>
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.
8270 2006-01-04 Joel Brobecker <brobecker@adacore.com>
8272 * gdb.ada/catch_ex/foo.adb: New file.
8273 * gdb.ada/catch_ex.exp: New testcase.
8275 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
8277 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
8278 pass --image-base to linker.
8280 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8281 Daniel Jacobowitz <dan@codesourcery.com>
8283 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
8286 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
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
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
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
8304 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
8306 * gdb.threads/tls.exp: Allow stops in sem_post.
8308 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
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
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
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
8327 2006-12-31 Joel Brobecker <brobecker@adacore.com>
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.
8337 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
8339 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
8340 and generic PE targets.
8342 2006-12-29 Joel Brobecker <brobecker@adacore.com>
8344 * gdb.ada/array_return.exp: Update copyright date list.
8346 2006-12-27 Joel Brobecker <brobecker@adacore.com>
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
8352 * gdb.ada/array_return/p.adb: Use new type and function from
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
8358 2006-12-20 Joel Brobecker <brobecker@adacore.com>
8360 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
8361 The associated tests should be PASSing.
8363 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
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.
8373 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
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.
8383 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
8385 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
8386 gdb.base/weaklib2.c: New files.
8388 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
8390 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
8391 info. Adjust test names.
8393 * gdb.base/break.c (main): Move position of malloc.
8394 * gdb.base/break.exp: Revert mistaken checkin.
8396 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
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
8403 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8405 * gdb.base/break.c (main): Call malloc.
8407 * gdb.threads/linux-dp.exp: Read thread table before and after
8408 creating each philosopher and verify it.
8410 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
8411 Paul Brook <paul@codesourcery.com>
8412 Daniel Jacobowitz <dan@codesourcery.com>
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.
8418 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8420 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
8422 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
8436 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
8438 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
8440 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
8442 * gdb.base/completion.exp: Fix completion tests for
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.
8451 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8453 * gdb.stabs/weird.exp (print_weird_var): Use
8454 gdb_test_multiple instead of gdb_expect.
8456 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
8458 * gdb.base/help.exp (help_test_raw): New.
8459 (test_class_help): New.
8460 (test_prefix_command_help): New.
8463 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
8465 * gdb.base/constvars.c (main): Write to crass and crips, so that
8466 they are allocated by the compiler.
8468 2006-10-27 Andreas Schwab <schwab@suse.de>
8470 * gdb.base/multi-forks.exp: Use "detach fork" instead of
8473 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
8475 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
8478 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
8480 * gdb.base/sepdebug.exp: Remove debug format test.
8481 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
8483 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
8485 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
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".
8491 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
8493 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
8495 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8497 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
8499 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
8502 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
8504 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8506 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
8507 the corresponding bug has been fixed in GDB (PR/2018).
8509 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8511 * gdb.base/subst.exp: New testcase.
8513 2006-10-06 Joel Brobecker <brobecker@adacore.com>
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.
8521 2006-10-06 Joel Brobecker <brobecker@adacore.com>
8523 * gdb.ada/watch_arg/watch.adb: New file.
8524 * gdb.ada/watch_arg.exp: New testcase.
8526 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
8528 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
8529 via string_to_regexp.
8530 * gdb.mi/mi2-basics.exp: Likewise.
8532 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
8534 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
8535 Remove unused / obsolete files.
8537 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
8539 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
8541 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
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.
8547 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
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.
8555 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
8557 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
8560 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
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.
8566 2006-08-18 Fred Fish <fnf@specifix.com>
8568 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
8569 '$' in front of skip_vmx_tests_saved when setting that.
8571 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
8573 * gdb.base/trace-commands.exp: New file.
8575 2006-08-10 Joel Brobecker <brobecker@adacore.com>
8576 Daniel Jacobowitz <dan@codesourcery.com>
8578 * gdb.base/step-bt.exp: Make hexadecimal address optional in
8579 expected output of the backtrace commands.
8581 2006-08-09 Joel Brobecker <brobecker@adacore.com>
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.
8827 2006-08-08 Joel Brobecker <brobecker@adacore.com>
8829 * gdb.base/step-bt.c: New file.
8830 * gdb.base/step-bt.exp: New testcase.
8832 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
8834 * config/monitor.exp (gdb_load): Remove support for obsolete
8835 download-write-size.
8836 * gdb.base/remote.exp: Likewise. Update all callers of
8839 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
8841 * cursal.exp: Pass binfile to gdb_load.
8843 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
8845 * gdb.base/cursal.exp: Add "" to gdb_load call.
8847 2006-07-29 Mark Kettenis <kettenis@gnu.org>
8849 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
8852 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
8854 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
8857 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
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.
8864 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
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.
8869 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
8871 * gdb.base/default.exp: Update source command error message.
8872 * gdb.base/help.exp: Update 'help source' message.
8874 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
8876 * gdb.cp/bs15503.exp: Update comment for no longer crashing
8879 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
8881 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
8883 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8885 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
8887 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
8889 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
8891 2006-07-17 Mark Kettenis <kettenis@gnu.org>
8893 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
8894 *-*-openbsd* from targets for wich we expect ARM FPA floating
8897 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
8899 * gdb.cp/annota3.exp: Expect frame-begin annotation.
8901 2006-07-17 Mark Kettenis <kettenis@gnu.org>
8903 * gdb.base/annota3.exp: Expect frame-begin annotation.
8905 2006-07-14 Joel Brobecker <brobecker@adacore.com>
8907 * gdb.base/help.exp: Adjust "help unset" test to accept
8908 any list of unset commands.
8910 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
8911 Daniel Jacobowitz <dan@codesourcery.com>
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.
8917 2006-07-08 Mark Kettenis <kettenis@gnu.org>
8919 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
8920 spaces/tabs in regular expressions since they might not be there.
8922 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
8924 * gdb.base/ifelse.exp: New file.
8926 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
8928 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
8930 * gdb.base/huge.exp: Loop over compilation to find a size that
8932 * gdb.base/remote.exp: Correct expected strings.
8933 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
8935 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8937 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
8939 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8941 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
8944 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8946 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
8947 enable stabs testing.
8949 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
8951 * gdb.base/auxv.exp: Intercept undefined command messages before
8952 gdb_test_multiple does.
8954 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
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.
8963 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
8965 * lib/gdb.exp (gdb_load_cmd): New.
8967 * gdb.base/fileio.c: Add system(NULL) test.
8968 * gdb.base/fileio.exp: Check it.
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
8979 * gdb.base/fileio.exp: Breakpoint stop function and remove
8980 explicit line number references.
8982 2006-05-19 Joel Brobecker <brobecker@adacore.com>
8984 * gdb.base/del.exp (test_delete_alias): New function.
8985 Now check that both "del" and "d" work as aliases for "delete".
8987 2006-05-18 Fred Fish <fnf@specifix.com>
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.
8992 2006-05-17 Fred Fish <fnf@specifix.com>
8994 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
8995 gdb_load, so it works in the simulator.
8997 2006-05-11 Fred Fish <fnf@specifix.com>
8999 * gdb.base/bang.exp: Ignore unexpected output between the
9000 "program exited normally" and the gdb prompt, as many other
9003 2006-05-07 Mark Kettenis <kettenis@gnu.org>
9005 * gdb.base/help.exp: Make "delete checkpoint" part option for
9006 "help d" and "help delete" tests.
9008 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
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.
9014 2006-05-05 Joel Brobecker <brobecker@adacore.com>
9016 * gdb.base/del.c: New file.
9017 * gdb.base/del.exp: New testcase.
9019 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
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.
9031 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
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.
9039 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
9041 * gdb.base/help.exp: Update expected text for help d and
9044 2006-05-02 Mark Kettenis <kettenis@gnu.org>
9046 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
9049 2006-04-30 Mark Kettenis <kettenis@gnu.org>
9051 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
9052 single-step breakpoint fails; make this a KFAIL on
9054 * gdb.base/siginfo.exp: Likewise.
9055 * gdb.base/sigstep.exp (advance, advancei): Likewise.
9057 2006-04-26 Michael Snyder <msnyder@redhat.com>
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.
9063 2006-04-20 Michael Snyder <msnyder@redhat.com>
9065 * 2006-03-22 Jim Blandy <jimb@redhat.com>
9066 Add support for the Renesas M32C and M16C.
9068 * gdb.asm/asm-source.exp: Add m32c target.
9069 * gdb.asm/m32c.inc: Support for m32c target.
9071 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
9073 * gdb.base/commands.exp (recursive_source_test): New test.
9075 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
9077 * gdb.base/float.exp: Add pattern for sparc targets.
9079 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
9081 * gdb.base/commands.exp (stray_arg0_test): New test.
9083 2006-03-30 Paul Brook <paul@codesourcery.com>
9085 * gdb.mi/mi-until.exp: kfail broken until command.
9086 * gdb.mi/mi2-until.exp: Ditto.
9088 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
9090 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
9092 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
9094 * gdb.base/prelink.exp: Anchor tested-for regular expression
9097 2006-03-07 Paul Brook <paul@codesourcery.com>
9099 * gdb.base/assign.exp: Correct fail message.
9101 2006-03-07 Paul Brook <paul@codesourcery.com>
9103 * lib/compiler.c: Extract armcc version number.
9104 * lib/compiler.cc: Ditto.
9106 2006-03-07 Paul Brook <paul@codesourcery.com>
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.
9168 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
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.
9176 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
9178 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
9179 (do_tests): Call it.
9181 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
9183 * gdb.base/prelink.exp: New test.
9184 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
9186 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
9188 * gdb.fortran/derived-type.f90: New file.
9189 * gdb.fortran/derived-type.exp: New testcase.
9191 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
9193 * gdb.base/default.exp: Allow ';' as a directory separator.
9195 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9197 * gdb.base/help.exp (help add-symbol-file): Update.
9199 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
9201 * gdb.base/help.exp (help load): Update expected results.
9203 2006-02-19 Fred Fish <fnf@specifix.com>
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.
9209 2006-02-16 Fred Fish <fnf@specifix.com>
9211 * gdb.base/whatis.c: Define variables using typedefs char_addr,
9212 ushort_addr, and slong_addr, so the typedefs are not optimized
9214 * gdb.base/whatis.exp: Add tests using type name for struct type,
9215 union type, enum type, and typedef.
9217 2006-02-13 Mark Kettenis <kettenis@gnu.org>
9219 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
9221 2006-02-13 Jim Blandy <jimb@redhat.com>
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
9227 2006-02-12 Fred Fish <fnf@specifix.com>
9229 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
9230 to handle cases where it takes two "next" commands to skip
9233 2006-02-07 Joel Brobecker <brobecker@adacore.com>
9235 * gdb.ada/array_return.exp: Mark the last test as expected to fail
9238 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
9240 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
9243 2006-01-29 Mark Kettenis <kettenis@gnu.org>
9245 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
9247 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9249 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
9252 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9254 * gdb.cp/maint.exp: Set complaints to a positive value.
9256 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
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
9262 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
9264 * gdb.base/checkpoint.c: Update copyright notice. Include
9267 2006-01-04 Jim Blandy <jimb@redhat.com>
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.
9275 2006-01-04 Michael Snyder <msnyder@redhat.com>
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).
9283 2006-01-04 Fred Fish <fnf@specifix.com>
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.
9292 2005-12-28 Mark Kettenis <kettenis@gnu.org>
9294 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
9295 * gdb.asm/openbsd.inc: Indent commands.
9297 2005-12-26 Mark Kettenis <kettenis@gnu.org>
9299 * gdb.base/freebpcmd.exp: Increase timeout.
9301 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
9303 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
9305 * gdb.base/default.exp: Update check for "show version".
9307 2005-12-09 Randolph Chung <tausq@debian.org>
9309 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
9310 * gdb.asm/pa64.inc: New file.
9312 2005-12-09 Randolph Chung <tausq@debian.org>
9314 * gdb.asm/common.inc: Indent commands.
9315 * gdb.asm/asmsrc1.s: Likewise.
9316 * gdb.asm/asmsrc2.s: Likewise.
9318 2005-12-09 Randolph Chung <tausq@debian.org>
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.
9326 2005-12-09 Randolph Chung <tausq@debian.org>
9328 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
9330 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
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
9337 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
9339 * gdb.base/help.exp (help b, help br, help bre, help brea)
9340 (help break): Update the expected message.
9342 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
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.
9349 2005-11-09 Randolph Chung <tausq@debian.org>
9351 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
9353 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
9355 * gdb.base/break.exp: Fix a comment typo.
9357 2005-11-03 Jim Blandy <jimb@redhat.com>
9359 Checked in by Elena Zannoni <ezannoni@redhat.com>
9361 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
9363 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
9365 * gdb.arch/gdb1558.c: Include stdio.h.
9367 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9369 * gdb.asm/asm-source.exp: Use -e instead of --entry.
9371 2005-10-31 Mark Kettenis <kettenis@gnu.org>
9373 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
9375 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
9377 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9378 vscr" tests to better match output.
9380 2005-10-12 Jim Blandy <jimb@redhat.com>
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
9387 2005-10-09 Joel Brobecker <brobecker@adacore.com>
9389 * gdb.ada/arrayidx/p.adb: New file.
9390 * gdb.ada/arrayidx.exp: New testcase
9392 2005-10-09 Joel Brobecker <brobecker@adacore.com>
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.
9399 2005-10-03 Joel Brobecker <brobecker@adacore.com>
9401 * gdb.base/arrayidx.c: New file.
9402 * gdb.base/arrayidx.exp: New testcase.
9404 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
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.
9410 2005-09-27 Bob Rossi <bob@brasko.net>
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.
9425 2005-09-26 Paul Brook <paul@codesourcery.com>
9427 * long_long.exp: Exclude eabi targets from arm FPA float format test.
9429 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
9431 * bfp-test.c: New file.
9432 * bfp-test.exp: New testcase.
9434 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
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
9443 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
9445 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
9448 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
9450 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
9451 powerpc altivec' test with an almost identical 'info vector' test.
9453 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9455 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
9456 vscr" tests to match output.
9458 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
9460 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
9463 2005-09-11 Bob Rossi <bob@brasko.net>
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
9469 * gdb.mi/mi-console.exp: Ditto.
9471 2005-09-11 Bob Rossi <bob@brasko.net>
9473 * gdb.mi/mi-var-child.c: Include <string.h>.
9475 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
9477 * killed.exp: Correct gdb_expect syntax.
9479 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
9481 * lib/mi-support.exp (mi_gdb_load): Fix typo.
9483 2005-08-02 Bob Rossi <bob@brasko.net>
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
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.
9498 2005-08-02 Bob Rossi <bob@brasko.net>
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.
9504 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
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.
9511 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
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
9520 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
9522 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
9523 (do_children_tests): Assign values to the extra elements.
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".
9530 * gdb.mi/basics.c (callee4): Add integer array D[3]...
9532 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
9533 "-stack-list-locals --simple-values" Improve doc strings and
9536 2005-07-18 Mark Kettenis <kettenis@gnu.org>
9538 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
9540 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
9542 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
9545 2005-07-14 Bob Rossi <bob@brasko.net>
9547 * gdb.base/default.exp (tty): Changed output of command.
9548 * gdb.base/help.exp (help tty): Ditto.
9550 2005-07-12 Mark Kettenis <kettenis@gnu.org>
9552 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
9554 2005-07-10 Mark Kettenis <kettenis@gnu.org>
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
9561 2005-07-06 Bob Rossi <bob@brasko.net>
9563 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
9565 (Copyright): Update copyright.
9567 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
9569 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
9570 tests to evaluate exponentiation expression.
9572 2005-06-29 Andreas Schwab <schwab@suse.de>
9574 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
9575 main to avoid warnings.
9577 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
9579 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
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
9586 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
9588 * gdb.fortran/array-element.f: New file.
9589 * gdb.fortran/array-element.exp: New testcase.
9591 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9593 * gdb.base/bigcore.exp: Correct checks for systems which can
9594 not dump a large core file.
9596 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
9598 * gdb.base/relocate.c: Add a copyright notice.
9600 * gdb.base/relocate.exp: Test printing the values of variables
9601 from a relocatable file.
9603 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
9605 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
9606 excess MI output after an error.
9608 2005-05-29 Joel Brobecker <brobecker@adacore.com>
9610 * gdb.arch/alpha-step.c: New file.
9611 * gdb.arch/alpha-step.exp: New testcase.
9613 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
9614 Dennis Brueni <dennis@slickedit.com>
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.
9624 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
9625 Wu Zhou <woodzltc@cn.ibm.com>
9627 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
9629 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
9630 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
9632 2005-05-13 Jim Blandy <jimb@redhat.com>
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.
9639 2005-05-05 Bob Rossi <bob_rossi@cox.net>
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.
9651 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
9653 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
9655 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
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.
9662 2005-05-02 Jim Blandy <jimb@redhat.com>
9664 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
9665 calling gdb_suppress_entire_file.
9667 2005-04-30 Randolph Chung <tausq@debian.org>
9669 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
9670 Slightly relax "sem_post" name checking.
9672 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9674 * gdb.base/unload.exp: Use new shared library infrastructure.
9676 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
9678 * gdb.base/so-impl-ld.exp: Use new shared library
9681 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
9683 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
9684 * gdb.asm/h8300.inc: New file.
9686 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9688 * gdb.base/shlib-call.exp: Change to use new shared library
9691 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
9693 * gdb.base/pending.exp: Change to use new shared library
9696 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
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.
9701 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
9703 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
9704 shared objects being adjusted and update copyright years.
9706 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
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.
9715 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
9716 Daniel Jacobowitz <dan@codesourcery.com>
9718 * lib/gdb.exp (gdb_compile): Handle shlib=.
9719 (gdb_compile_shlib): New function.
9721 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
9723 * lib/gdb.exp (test_compiler_info): Give argument a default value.
9725 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
9727 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
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.
9738 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
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.
9750 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
9752 * lib/gdb.exp (test_compiler_info): Return compiler_info
9753 if no arguments are given.
9755 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
9757 * gdb.arch/altivec-abi.exp: Check for compiler and set
9758 use altivec' flag accordingly.
9759 * gdb.arch/altivec-regs.exp: Likewise.
9761 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
9763 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
9765 2005-03-27 Andreas Schwab <schwab@suse.de>
9767 * gdb.base/bigcore.c (main): Add missing mode argument in open
9770 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
9772 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
9774 * config/gdbserver.exp (gdb_load): Likewise.
9776 2005-03-14 Paul Brook <paul@codesourcery.com>
9778 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
9781 2005-03-09 Joel Brobecker <brobecker@adacore.com>
9783 * gdb.dwarf2/dup-psym.S: New file.
9784 * gdb.dwarf2/dup-psym.exp: New testcase.
9786 2005-03-09 Joel Brobecker <brobecker@adacore.com>
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.
9792 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
9794 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
9796 (main): Test operator+.
9797 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
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 ']'.
9812 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
9814 * gdb.asm/asm-source.exp: Add iq2000 case.
9815 * gdb.asm/iq2000.inc: New file.
9817 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
9819 * gdb.base/command.exp: Change hardcoded value to regular expression.
9820 * gdb.base/float.exp: Add powerpc to the list of targets checked.
9822 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
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.
9830 2005-03-05 Mark Kettenis <kettenis@gnu.org>
9832 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
9835 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
9837 * lib/compiler.c: Add test for IBM's xlc compiler.
9838 * lib/compiler.cc: Likewise.
9840 2004-02-24 Joel Brobecker <brobecker@adacore.com>
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.
9848 2005-02-15 Joel Brobecker <brobecker@adacore.com>
9850 * gdb.ada/packed_array/pa.adb: New file.
9851 * gdb.ada/packed_array.exp: New testcase.
9853 2005-02-10 Mark Kettenis <kettenis@gnu.org>
9855 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
9858 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
9859 on *-*-openbsd*. Correctly match whitespace in regukar
9862 2005-02-10 Daniel Jacobowitz <dan@debian.org>
9864 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
9866 * gdb.base/gdb1821.c: New test file.
9867 * gdb.base/gdb1821.exp: New test file.
9869 2005-02-09 Joel Brobecker <brobecker@adacore.com>
9871 * gdb.base/start.c: New file.
9872 * gdb.base/start.exp: New testcase.
9874 2005-02-09 Joel Brobecker <brobecker@adacore.com>
9876 * gdb.ada/start/dummy.adb: New file.
9877 * gdb.ada/start.exp: New testcase.
9879 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
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"
9888 2005-02-09 Andreas Schwab <schwab@suse.de>
9890 Committed by Andrew Cagney <cagney@gnu.org>
9891 * gdb.base/remotetimeout.exp: New file.
9893 2005-02-07 Mark Kettenis <kettenis@gnu.org>
9895 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
9897 2005-02-03 Joel Brobecker <brobecker@adacore.com>
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.
9914 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
9916 * gdb.base/interp.exp: New test.
9918 2005-01-24 Andrew Cagney <cagney@gnu.org>
9920 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
9922 2005-01-19 Andrew Cagney <cagney@gnu.org>
9924 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
9925 configure.ac not configure.in.
9927 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
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.
9934 2005-01-16 Andrew Cagney <cagney@gnu.org>
9936 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
9938 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
9940 2005-01-14 Andrew Cagney <cagney@gnu.org>
9942 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
9943 * gdb.mi/mi2-var-cmd.exp: Ditto.
9945 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
9947 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
9949 2005-01-07 Andrew Cagney <cagney@gnu.org>
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
9959 * gdb.hp/gdb.objdbg/configure: Re-generate.
9960 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
9962 * gdb.hp/gdb.defects/configure: Re-generate.
9963 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
9965 * gdb.hp/gdb.compat/configure: Re-generate.
9966 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
9968 * gdb.hp/gdb.base-hp/configure: Re-generate.
9969 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
9971 * gdb.hp/gdb.aCC/configure: Re-generate.
9973 2004-12-15 Jim Blandy <jimb@redhat.com>
9975 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
9976 under NPTL when there is debugging info available for libpthread.
9978 2004-12-13 Jerome Guitton <guitton@gnat.com>
9980 * gdb.ada/fixed_points.c: New file.
9981 * gdb.ada/fixed_points.exp: New file.
9983 2004-12-03 Randolph Chung <tausq@debian.org>
9985 * gdb.arch/pa-nullify.exp: New file.
9986 * gdb.arch/pa-nullify.s: New file.
9988 2004-11-30 Randolph Chung <tausq@debian.org>
9990 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
9991 instead of "tbug". Fix regexp to work properly with gdb_test.
9993 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
9995 * gdb.base/bitfields2.exp: New test.
9996 * gdb.base/bitfields2.c: New file.
9998 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
10000 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
10002 2004-11-16 Randolph Chung <tausq@debian.org>
10004 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
10006 2004-11-14 Daniel Jacobowitz <dan@debian.org>
10008 * gdb.threads/threadapply.exp: Correct "macro details" test.
10010 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
10012 * gdb.threads/threadapply.exp: New test.
10013 * gdb.threads/threadapply.c: New file.
10015 2004-11-07 Mark Kettenis <kettenis@gnu.org>
10017 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
10020 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
10022 * gdb.base/cursal.exp: New file.
10023 * gdb.base/cursal.c: New file.
10025 2004-11-03 Andrew Cagney <cagney@gnu.org>
10027 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
10029 2004-10-30 Mark Kettenis <kettenis@gnu.org>
10031 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
10032 NetBSD/ELF targets.
10034 2004-10-29 Joel Brobecker <brobecker@gnat.com>
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.
10041 2004-10-20 Joel Brobecker <brobecker@gnat.com>
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.
10047 2004-10-14 Andrew Cagney <cagney@gnu.org>
10049 * gdb.mi/gdb701.c (main): Return 0.
10051 2004-10-13 Daniel Jacobowitz <dan@debian.org>
10053 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
10055 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
10057 * gdb.threads/schedlock.c: Add comment markers to use to find
10059 * gdb.threads/schedlock.exp: Adjust regex to handle the new
10061 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
10064 2004-10-12 Daniel Jacobowitz <dan@debian.org>
10066 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
10068 2004-10-12 Daniel Jacobowitz <dan@debian.org>
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.
10077 2004-10-11 Orjan Friberg <orjanf@axis.com>
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.
10084 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
10086 * gdb.base/overlays.exp: Update copyright years.
10088 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
10090 * gdb.base/overlays.exp: Disable if target is Linux.
10092 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
10094 * config/gdbserver.exp (gdb_load): Use right filename on remote.
10096 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
10098 * gdb.asm/asm-source.exp: Add m32r-linux target.
10099 * gdb.asm/m32r-linux.inc: New file.
10101 2004-09-24 Andrew Cagney <cagney@redhat.com>
10102 David Anderson <anderson@redhat.com>
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
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.
10116 2004-09-23 Andrew Cagney <cagney@gnu.org>
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.
10122 2004-09-23 Mark Kettenis <kettenis@gnu.org>
10124 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
10127 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
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):
10134 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
10136 * gdb.java/jprint.exp: New test case for java inferior call.
10137 * gdb.java/jprint.java: Ditto.
10139 2004-09-15 Joel Brobecker <brobecker@gnat.com>
10141 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
10143 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10145 * gdb.threads/killed.c: Include <stdlib.h>.
10146 * gdb.threads/pthreads.c: Likewise.
10148 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
10150 * gdb.threads/killed.c: Add copyright notice.
10152 2004-09-10 Jason Molenda (jmolenda@apple.com)
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
10158 2004-09-08 Andrew Cagney <cagney@gnu.org>
10160 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
10161 delivery test with duplicate at end of file.
10163 2004-09-06 Mark Kettenis <kettenis@jive.nl>
10165 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
10167 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10169 * config/hppro.exp: Removed.
10171 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10173 * config/sparclet.exp: Removed.
10175 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
10177 * config/udi.exp: Removed.
10179 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
10181 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
10183 (advancei): Likewise.
10185 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10187 * gdb.base/unload.exp: Fix so messages aren't duplicated.
10189 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
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.
10197 2004-09-01 Andrew Cagney <cagney@gnu.org>
10199 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10202 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
10204 * gdb.base/unload.exp: Fix expected warning message to match
10207 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
10209 * gdb.base/call-rt-st.exp: Fix typos.
10211 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
10213 * gdb.threads/thread_check.exp: New testcase.
10214 * gdb.threads/thread_check.c: New testcase.
10216 2004-08-31 Andrew Cagney <cagney@gnu.org>
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.
10222 2004-08-30 Andrew Cagney <cagney@gnu.org>
10224 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
10227 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
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.
10240 2004-08-27 Joel Brobecker <brobecker@gnat.com>
10242 * gdb.threads/bp_in_thread.exp: New testcase.
10244 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
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.
10251 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10253 * gdb.base/unload.c: Include <stdlib.h>.
10255 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
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".
10261 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
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>.
10267 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
10269 * gdb.threads/schedlock.c: Add copyright notice.
10271 2004-08-25 Andrew Cagney <cagney@gnu.org>
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
10277 * gdb.base/sigstep.c (main): Change to use an infinite loop.
10279 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
10281 * gdb.mi/basics.c: Add copyright notice.
10282 * gdb.mi/var-cmd.c: Add copyright notice.
10284 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10286 * lib/gdb.exp: Remove signed_keyword_not_used.
10287 * lib/compiler.c: Likewise.
10288 * lib/compiler.cc: Likewise.
10290 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10292 * gdb.base/whatis.c: Remove conditional disabling of "signed".
10293 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
10295 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
10297 * gdb.base/whatis.c: Add copyright notice.
10299 2004-08-20 Mark Kettenis <kettenis@gnu.org>
10301 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
10302 it to skip the breakpoints encoded in the inline assembly.
10304 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10306 * Makefile.in: Add gdb.fortran.
10308 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
10310 * gdb.base/call-sc.exp (test_scalar_returns):
10311 Fix cut-and-paste glitch in "Make fun return now".
10313 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
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.
10320 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
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.
10332 2004-08-15 Mark Kettenis <kettenis@gnu.org>
10334 * gdb.base/unload.c (main): Make local variable msg const.
10336 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
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.
10363 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
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.
10369 2004-08-14 Mark Kettenis <kettenis@gnu.org>
10371 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
10373 2004-08-14 Eli Zaretskii <eliz@gnu.org>
10375 * ChangeLog: Prefix Local Variables with semi-colons and indent
10376 the reference to older ChangeLog files, to fix fontification in
10379 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10381 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
10382 * gdb.mi/mi2-break.exp: Likewise.
10384 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10386 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
10388 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10390 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
10392 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
10394 * gdb.cp/classes.exp: Remove unused declarations. Just let
10395 test names default instead of providing special names. Remove
10396 extraneous demangler test.
10398 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
10400 * gdb.base/unload.exp: New test for breakpoints in dynamically
10402 * gdb.base/unload.c: Ditto.
10403 * gdb.base/unloadshr.c: Ditto.
10405 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
10407 * gdb.cp/classes.exp (test_ptype_class_objects): Call
10408 cp_test_ptype_class.
10409 (test_enums): Likewise.
10411 2004-08-10 Andrew Cagney <cagney@gnu.org>
10413 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
10416 2004-08-10 Andrew Cagney <cagney@gnu.org>
10418 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
10421 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
10423 * ChangeLog: Add copyright notice. The notice is copied
10424 from emacs 21.3 top level ChangeLog.
10426 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
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.
10435 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
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.
10447 2004-08-09 Mark Kettenis <kettenis@gnu.org>
10449 * gdb.base/sigaltstack.exp: Provide proper anchoring.
10451 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
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.
10463 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10466 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
10467 from a breakpoint with a pending signal.
10469 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10472 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
10473 * gdb.base/sigaltstack.exp (finish_test): Consume output until
10475 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
10477 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10479 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
10481 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10484 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
10487 2004-08-08 Daniel Jacobowitz <dan@debian.org>
10489 * gdb.arch/i386-prologue.exp: Compile without debug information.
10491 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
10493 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
10494 rather than asking gdb to search.
10496 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10498 * gdb.base/gcore.c: Include <string.h>.
10500 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
10502 * gdb.base/gcore.c: Add copyright notice.
10504 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
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>.
10512 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10514 * gdb.base/complex.c: Include <stdlib.h>.
10516 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10518 * gdb.base/complex.c: Add copyright notice.
10520 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10522 * gdb.base/charset.c: Include <stdlib.h>.
10524 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10526 * gdb.base/auxv.c: Include <stdlib.h>.
10528 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10530 * gdb.base/auxv.c: Add copyright notice.
10532 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
10534 * gdb.base/coremaker.c: Add copyright notice.
10535 * gdb.base/coremaker2.c: Add copyright notice.
10537 2004-08-04 Andrew Cagney <cagney@gnu.org>
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.
10543 2004-08-01 Andrew Cagney <cagney@gnu.org>
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.
10552 2004-08-01 Mark Kettenis <kettenis@gnu.org>
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.
10558 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10560 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
10562 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
10564 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
10566 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
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".
10572 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10574 * gdb.cp/classes.exp: Accept more varieties of ptype output.
10576 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
10578 * gdb.base/asm-source.exp: Properly convert target board
10579 debug flags from gcc format to binutils format.
10581 2004-07-28 Mark Kettenis <kettenis@gnu.org>
10583 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
10584 gdb1718". PR backtrace/1718 partially fixed.
10586 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
10588 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
10590 2004-07-26 Nick Clifton <nickc@redhat.com>
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.
10599 2004-07-23 Mark Kettenis <kettenis@gnu.org>
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.
10605 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
10607 Test for PR exp/1715.
10608 * gdb.base/radix.exp: Refactor common procedures. Make all
10609 test names unique. Change XFAIL to KFAIL.
10611 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
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.
10618 2004-07-20 Andrew Cagney <cagney@gnu.org>
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.
10625 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10628 * gdb.base/annota1.exp: Honor gdb,nosignals.
10629 * gdb.base/annota3.exp: Likewise.
10631 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
10633 * lib/java.exp: Update copyright notice.
10635 2004-07-19 Andrew Cagney <cagney@gnu.org>
10637 * gdb.base/selftest.exp: Copy file from here ...
10638 * gdb.gdb/selftest.exp: ... to here.
10640 2004-07-16 Andrew Cagney <cagney@redhat.com>
10642 * lib/insight-support.exp: Delete file.
10643 * lib/java.exp (java_init): Fix copyright.
10645 2004-07-16 Andrew Cagney <cagney@gnu.org>
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.
10654 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
10656 * gdb.base/restore.c: Add copyright notice.
10658 2004-07-16 Andrew Cagney <cagney@gnu.org>
10660 * gdb.base/logical.exp: Update copyright.
10661 (evaluate): New procedure. Use to re-implement tests using
10664 2004-07-14 Martin Hunt <hunt@redhat.com>
10666 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
10667 which fixes some problems where init.tcl was not found.
10669 2004-07-13 Andrew Cagney <cagney@gnu.org>
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.
10676 * gdb.base/step-test.exp: Update copyright. Use
10677 gdb_test_multiple. Ensure that test names do not include
10678 architecture dependent output.
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.
10692 * gdb.base/signull.exp (test_segv): Prefix all tests with
10693 "${name}". Clean up test messages.
10695 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
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.
10702 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
10704 * gdb.base/attach.exp: Remove cleanupfile handling.
10706 2004-07-12 Andrew Cagney <cagney@gnu.org>
10708 * gdb.base/annota1.exp: Cleanup corefile test name.
10709 * gdb.base/annota3.exp: Ditto.
10711 2004-07-12 Andrew Cagney <cagney@gnu.org>
10713 * gdb.base/signals.exp: Clean up copyright, re-indent.
10715 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
10716 gdb_test and gdb_test_multiple.
10718 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
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.
10724 2004-07-08 Andrew Cagney <cagney@gnu.org>
10726 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
10728 * gdb.base/sigbpt.exp: Make the common part of each test name a
10729 prefix instead of suffix.
10731 2004-07-07 Bob Rossi <bob_rossi@cox.net>
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
10740 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
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.
10746 2004-07-07 Andrew Cagney <cagney@gnu.org>
10748 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
10751 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
10753 * gdb.cp/templates.exp: Accept whitespace change in demangler
10756 2004-07-06 Andrew Cagney <cagney@gnu.org>
10758 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
10760 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
10762 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
10763 * lib/compiler.cc: Likewise.
10765 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
10767 * lib/compiler.cc: Work around string preprocessing problem
10768 with old hp c++ compiler.
10769 * lib/compiler.c: Likewise.
10771 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
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.
10782 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
10784 * gdb.base/bigcore.exp: Skip test on Cygwin.
10786 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
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.
10792 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
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
10797 (do_attach_tests): Add a test for user interaction when attaching
10798 to a process with no matching symbol table already loaded.
10800 2004-06-26 Andrew Cagney <cagney@gnu.org>
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.
10806 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
10808 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
10810 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
10812 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
10815 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
10817 * gdb.cp/pr-1553.exp: Remove.
10819 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
10821 * gdb.cp/pr-1553.cc: Remove.
10822 * gdb.cp/pr-1553.exp: Disable this test.
10824 2004-06-20 Jim Blandy <jimb@redhat.com>
10826 Fix PR testsuite/1680.
10827 * gdb.arch/i386-sse.exp: Properly quote curly braces in
10828 regular expressions.
10830 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
10832 Fix PR testsuite/1679.
10833 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
10834 Issue an UNSUPPORTED result instead.
10836 2004-06-18 Jim Blandy <jimb@redhat.com>
10838 * gdb.base/charset.exp: Only send a control-C if we see a new
10839 prompt and incomplete command.
10841 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
10843 * gdb.cp/pr-574.cc: Add copyright notice.
10845 2004-06-17 Jim Blandy <jimb@redhat.com>
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.
10851 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
10853 * gdb.cp/printmethod.cc: Add copyright notice.
10855 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
10857 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
10859 2004-06-16 Andrew Cagney <cagney@gnu.org>
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
10870 2004-06-16 Andrew Cagney <cagney@gnu.org>
10872 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
10874 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
10876 * gdb.base/long_long.c: Add copyright notice.
10878 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
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.
10884 2004-06-14 Jim Blandy <jimb@redhat.com>
10886 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
10889 2004-06-14 Andrew Cagney <cagney@gnu.org>
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.
10898 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10900 * gdb.cp/ref-types.cc: Add copyright notice.
10902 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
10904 * lib/compiler.c: Remove gcc_compiled, hp_cc_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.
10911 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
10913 * gdb.cp/try_catch.cc: Add copyright notice.
10915 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
10917 * gdb.cp/userdef.cc: Add copyright notice.
10919 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
10921 * gdb.cp/virtfunc.cc: Add copyright notice.
10923 2004-06-11 Randolph Chung <tausq@debian.org>
10925 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
10928 2004-06-10 Andrew Cagney <cagney@gnu.org>
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.
10935 2004-06-09 Andrew Cagney <cagney@gnu.org>
10937 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
10938 gdb/1455, bug is specific to "long long" and "double".
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
10945 2004-06-09 Andrew Cagney <cagney@gnu.org>
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".
10953 2004-06-08 Martin Hunt <hunt@redhat.com>
10955 * gdb.base/float.exp: Add pattern for mips targets.
10957 2004-06-08 Randolph Chung <tausq@debian.org>
10959 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
10960 message for unknown architectures more clear.
10962 2004-06-08 Joel Brobecker <brobecker@gnat.com>
10964 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
10965 start the execution of the program.
10967 2004-06-07 Jim Blandy <jimb@redhat.com>
10969 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
10970 * gdb.arch/i386-cpuid.h: New helper file.
10972 2004-06-07 Randolph Chung <tausq@debian.org>
10974 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
10977 2004-06-04 Roland McGrath <roland@redhat.com>
10980 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
10981 differently to be robust to output buffering differences.
10983 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
10985 * gdb.threads/pthreads.exp: Update copyright years.
10986 (check_control_c): Change asynchronous 'after' to synchronous.
10988 2004-06-04 Roland McGrath <roland@redhat.com>
10990 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
10993 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
10996 * gdb.threads/manythreads.exp: Change asynchronous 'after'
10997 calls to synchronous.
10999 2004-05-26 Jim Blandy <jimb@redhat.com>
11001 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
11003 2004-05-24 Randolph Chung <tausq@debian.org>
11005 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
11006 * gdb.asm/pa.inc: New file.
11008 2004-05-22 Mark Kettenis <kettenis@gnu.org>
11010 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
11012 2004-05-21 Joel Brobecker <brobecker@gnat.com>
11013 Daniel Jacobowitz <drow@mvista.com>
11015 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
11018 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11020 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
11021 setjmp/longjmp. Use sigaction instead of signal.
11023 2004-05-19 J. Brobecker <brobecker@gnat.com>
11024 Michael Snyder <msnyder@redhat.com>
11026 * gdb.threads/pthread_cond_wait.c: New file.
11027 * gdb.threads/pthread_cond_wait.exp: New testcase.
11029 2004-05-13 Andrew Cagney <cagney@redhat.com>
11031 * gdb.base/signull.exp, gdb.base/signull.c: New files.
11032 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
11034 2004-05-11 Andrew Cagney <cagney@redhat.com>
11036 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
11037 fixed but revealed gdb/1639.
11039 2004-05-10 Andrew Cagney <cagney@redhat.com>
11041 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
11042 func1" and "next to 2nd alarm", kernel bug avoided.
11044 2004-05-10 Daniel Jacobowitz <dan@debian.org>
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.
11052 2004-05-07 Joel Brobecker <brobecker@gnat.com>
11054 * gdb.arch/powerpc-aix-prologue.c: New file.
11055 * gdb.arch/powerpc-aix-prologue.exp: New file.
11057 2004-05-07 Jim Blandy <jimb@redhat.com>
11059 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
11060 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
11062 2004-05-06 Joel Brobecker <brobecker@gnat.com>
11064 * gdb.base/sep.exp: No longer setup_kfail when the program was
11067 2004-05-05 Jim Ingham <jingham@apple.com>
11069 * gdb.base/pending.exp: Make sure pending breakpoints
11070 preserve the ignore count.
11072 2004-04-27 Jerome Guitton <guitton@gnat.com>
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.
11078 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11080 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
11083 2004-04-28 Mark Kettenis <kettenis@gnu.org>
11085 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
11088 2004-04-25 Mark Kettenis <kettenis@gnu.org>
11090 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
11091 expression that checks the return type.
11093 2004-04-23 Andrew Cagney <cagney@redhat.com>
11095 * gdb.base/call-sc.exp: New test of scalar call/return values.
11096 * gdb.base/call-sc.c: Ditto.
11098 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11100 * gdb.threads/manythreads.c: Reduce thread stack size.
11102 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
11104 * gdb.threads/manythreads.c: Add copyright notice.
11106 2004-04-23 Andrew Cagney <cagney@redhat.com>
11108 * gdb.base/siginfo.exp: Better handle step out of signal.
11109 * gdb.base/sigstep.exp: Ditto.
11111 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
11112 Daniel Jacobowitz <drow@mvista.com>
11114 * gdb.threads/manythreads.c: New testcase.
11115 * gdb.threads/manythreads.exp: Ditto.
11117 2004-04-22 Jim Blandy <jimb@redhat.com>
11119 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
11120 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
11122 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
11124 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
11126 2004-04-21 Andrew Cagney <cagney@redhat.com>
11128 * gdb.base/sigstep.c: New file.
11129 * gdb.base/sigstep.exp: New file.
11131 2004-04-16 Joel Brobecker <brobecker@gnat.com>
11133 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
11134 call to observer_notify_normal_stop.
11136 2004-04-15 Andrew Cagney <cagney@redhat.com>
11138 * gdb.base/siginfo.c: New file.
11139 * gdb.base/siginfo.exp: New file.
11141 2004-04-12 J. Brobecker <brobecker@gnat.com>
11143 * gdb.base/sep.exp: Fix typo in comment.
11145 2004-04-12 J. Brobecker <brobecker@gnat.com>
11147 * gdb.base/sep.c: New file.
11148 * gdb.base/sep-proc.c: New file.
11149 * gdb.base/sep.exp: New testcase.
11151 2004-04-09 Mark Kettenis <kettenis@gnu.org>
11153 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
11156 2004-04-05 Andrew Cagney <cagney@redhat.com>
11158 * gdb.base/sigaltstack.c: New file.
11159 * gdb.base/sigaltstack.exp: New file.
11161 2004-04-04 Joel Brobecker <brobecker@gnat.com>
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.
11167 2004-04-01 Joel Brobecker <brobecker@gnat.com>
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.
11176 2004-04-01 Joel Brobecker <brobecker@gnat.com>
11178 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
11179 * configure: Regenerate.
11181 2004-04-01 Joel Brobecker <brobecker@gnat.com>
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.
11187 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11189 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
11190 * gdb.ada (null_record.exp): New testcase.
11192 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11194 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
11196 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11198 * gdb.ada: New subdirectory.
11199 * gdb.ada/Makefile.in: New file.
11200 * gdb.ada/gnat_ada.gpr.in: New file.
11202 2004-03-31 Joel Brobecker <brobecker@gnat.com>
11204 * lib/ada.exp: New file.
11206 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
11208 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
11209 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
11211 2004-03-22 Andrew Cagney <cagney@redhat.com>
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.
11217 2004-03-17 David Carlton <carlton@kealia.com>
11219 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
11222 2004-03-16 Roland McGrath <roland@redhat.com>
11224 * gdb.base/auxv.exp: New file.
11225 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
11227 2004-03-12 David Carlton <carlton@kealia.com>
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
11234 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
11236 * gdb.cp/templates.exp: Accept more template types.
11238 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
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.
11246 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11248 * gdb.cp/classes.cc: New file, copied from misc.cc.
11249 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
11251 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
11253 * gdb.cp/misc.cc: Add copyright notice.
11255 2004-03-05 David Carlton <carlton@kealia.com>
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.
11266 2004-03-04 Mark Kettenis <kettenis@gnu.org>
11268 * gdb.asm/openbsd.inc: Fix typo.
11270 2004-03-03 Fred Fish <fnf@redhat.com>
11272 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
11273 "val" instead of unused "size". Update copyright year.
11275 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
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.
11282 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
11284 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
11287 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11289 * gdb.base/relocate.c (dummy): Initialize.
11291 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
11293 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
11294 a breakpoint at exit.
11296 2004-02-27 Fred Fish <fnf@redhat.com>
11298 * gdb.base/chng-syms.exp: Add expect condition to match failing
11299 case that isn't a timeout.
11301 2004-02-27 Andrew Cagney <cagney@redhat.com>
11303 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
11306 2004-02-26 Fred Fish <fnf@redhat.com>
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.
11313 2004-02-26 J. Brobecker <brobecker@gnat.com>
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.
11320 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
11322 * gdb.base/langs.exp: Update query string to match the
11323 new nquery format used for pending breakpoints.
11325 2004-02-26 Andrew Cagney <cagney@redhat.com>
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.
11334 2004-02-24 Andrew Cagney <cagney@redhat.com>
11336 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
11337 mmapped data in core file" PASS and FAIL messages consistent.
11339 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
11340 setting a breakpoint. Work around PR java/1565.
11342 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
11344 * lib/gdb.exp (gdb_breakpoint): Update query string to match
11346 * gdb.base/pending.exp: Ditto.
11348 2004-02-22 Mark Kettenis <kettenis@gnu.org>
11350 * configure.in: Run stabs tests on *BSD.
11351 * configure: Regenerated.
11353 2004-02-21 Mark Kettenis <kettenis@gnu.org>
11355 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
11357 2004-02-20 Fred Fish <fnf@redhat.com>
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.
11363 2004-02-19 Fred Fish <fnf@redhat.com>
11365 New testcase for PR breakpoint/1558.
11366 * gdb.arch/gdb1558.exp: New file.
11367 * gdb.arch/gdb1558.c: New file.
11369 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
11371 * gdb.base/nodebug.exp: Fix typo.
11373 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11375 Committed by Jim Blandy <jimb@redhat.com>.
11377 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
11379 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
11381 * gdb.base/float.exp: Support s390*-*-* targets.
11383 2004-02-17 Adam Fedor <fedor@gnu.org>
11385 * gdb.base/gdb1555.exp: New file.
11386 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
11388 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
11390 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
11392 2004-02-16 Fred Fish <fnf@redhat.com>
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.
11400 2004-02-16 Andrew Cagney <cagney@redhat.com>
11402 * gdb.base/bigcore.exp: New file.
11403 * gdb.base/bigcore.c: New file.
11405 2004-02-13 Andrew Cagney <cagney@redhat.com>
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.
11418 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
11420 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
11421 executed is an alloc instruction.
11423 2004-02-11 David Carlton <carlton@kealia.com>
11425 * gdb.cp/breakpoint.exp: New.
11426 * gdb.cp/breakpoint.cc: New.
11428 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
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:
11446 2004-02-10 Andrew Cagney <cagney@redhat.com>
11448 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
11449 using gdb_internal_error_resync.
11451 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
11453 * gdb.threads/thread-specific.exp: Stop early if no threads are
11456 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
11458 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
11460 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
11462 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
11465 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
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.
11471 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
11473 * gdb.base/maint.exp: Update test to reflect
11476 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
11478 * gdb.base/pendshr.c (pendfunc): New function that calls
11480 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
11482 2004-02-04 Fred Fish <fnf@redhat.com>
11484 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
11485 function symbols and update copyright years.
11486 * gdb.arch/gdb1291.c: Ditto.
11488 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11490 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
11492 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11494 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
11496 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
11498 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
11500 2004-02-02 Fred Fish <fnf@redhat.com>
11502 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
11503 remote targets. Update copyright years.
11505 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
11507 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
11509 * gdb.base/langs.exp: Fix test which attempts to create
11510 breakpoint on non-existent function to handle new pending
11512 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
11514 * gdb.base/pending.exp: New test.
11515 * gdb.base/pending.c: New file.
11516 * gdb.base/pendshr.c: Ditto.
11518 2004-02-02 David Carlton <carlton@kealia.com>
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.
11525 2004-02-01 Fred Fish <fnf@redhat.com>
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.
11535 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11537 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
11539 2004-02-01 Mark Kettenis <kettenis@gnu.org>
11541 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
11542 that opening the file succeeds on OpenBSD.
11544 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
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
11551 2004-02-01 Mark Kettenis <kettenis@gnu.org>
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.
11557 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
11559 * gdb.base/completion.exp: Kill a stray backslash.
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.
11565 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
11567 * gdb.base/chng-syms.exp: Remove stray newline.
11569 2004-01-31 Mark Kettenis <kettenis@gnu.org>
11571 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
11573 * gdb.asm/openbsd.inc: New file.
11575 2004-01-30 Mark Kettenis <kettenis@gnu.org>
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.
11582 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
11584 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
11585 for all tests. Remove old hp-ux and cygnus xfail cases.
11587 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
11589 * gdb.base/chng-syms.exp: New file.
11590 * gdb.base/chng-syms.c: New file.
11592 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
11594 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
11595 Provide arms for current output in all my configurations.
11597 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
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.
11608 2004-01-24 Mark Kettenis <kettenis@gnu.org>
11610 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
11613 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
11615 * gdb.mi/mi-stack.exp: Update copyright.
11617 2004-01-23 David Carlton <carlton@kealia.com>
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;
11624 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
11626 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
11629 2004-01-23 David Carlton <carlton@kealia.com>
11631 * gdb.cp/namespace.cc (C::ensureRefs): New.
11632 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
11634 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
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".
11641 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
11643 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
11645 2004-01-18 Mark Kettenis <kettenis@gnu.org>
11647 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
11648 used with gdb_test_multiple.
11650 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
11651 read at address 0. This fixes PR testsuite/1504.
11653 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
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.
11668 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11670 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
11673 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
11675 * gdb.cp/templates.exp: Fix typo in test name of
11676 "print Foo<volatile char*>::foo".
11678 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11680 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
11682 2004-01-16 Ben Elliston <bje@wasabisystems.com>
11684 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
11685 (clean mostlyclean): Remove empty rm.
11687 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
11689 * gdb.base/setvar.exp: Add copyright years.
11691 2004-01-14 David Carlton <carlton@bactrian.org>
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.
11699 2004-01-14 David Carlton <carlton@kealia.com>
11701 * gdb.cp/namespace.exp: Add tests involving classes defined within
11703 * gdb.cp/namespace.cc (C::CClass): New.
11704 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
11706 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
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.
11712 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11714 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
11716 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
11718 * gdb.base/callfuncs.c: Add copyright notice.
11720 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
11722 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
11723 inheritance. PR gdb/1498, PR gcc/13539.
11725 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
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.
11734 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
11736 * gdb.cp/member-ptr.cc: Add copyright notice.
11738 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
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.
11746 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
11748 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
11751 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
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.
11758 2004-01-12 Andrew Cagney <cagney@redhat.com>
11760 * gdb.mi/ChangeLog: Delete file. Renamed to ...
11761 * gdb.mi/ChangeLog-1999-2003: New file.
11763 2004-01-12 Andrew Cagney <cagney@redhat.com>
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.
11769 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
11771 * gdb.base/scope.exp: Remove obsolete setup_xfail for
11774 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11776 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
11779 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
11781 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
11782 and "(aCC)" decorations. Remove obsolete doco about old
11785 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11787 * gdb.cp/exception.exp: Fix typo in doco.
11789 2004-01-09 Mark Kettenis <kettenis@gnu.org>
11791 * gdb.base/gdb1476.exp: Fix typo.
11793 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
11795 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
11798 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
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.
11807 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
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
11814 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
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.
11819 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
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.
11826 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
11828 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
11829 semicolon after end of function.
11831 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
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.
11838 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11840 * gdb.cp/bs15503.cc: Add copyright notice.
11841 * gdb.cp/bs15503.exp: Adjust line number.
11843 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
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.
11848 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11850 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
11853 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
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.
11859 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
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.
11866 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
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.
11872 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
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.
11879 2004-01-07 Mark Kettenis <kettenis@gnu.org>
11881 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
11882 memory at address 0.
11884 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
11886 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
11887 to test for hp-ux assembler. Fix copyright years.
11889 2004-01-07 Andrew Cagney <cagney@redhat.com>
11891 * gdb.base/fileio.c (strerrno): Add "EBUSY".
11893 2004-01-07 Andrew Cagney <cagney@redhat.com>
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
11899 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11901 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
11903 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11905 * gdb.base/cvexpr.c: Be type-safe with function pointers and
11908 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
11910 * gdb.cp/m-static.exp: Compile one source file at a time.
11911 Delete unused call to get_compiler_info.
11913 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
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.
11922 2004-01-05 Mark Kettenis <kettenis@gnu.org>
11924 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
11926 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
11928 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
11931 2004-01-04 Mark Kettenis <kettenis@gnu.org>
11933 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11936 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
11937 sparc64-*-* and sparc*-solaris2*.
11939 2004-01-04 Mark Kettenis <kettenis@gnu.org>
11941 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
11942 return ${tests}" test. The ${tests} already mentions the
11945 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11947 * gdb.cp/local.exp: Accept gcc abi 2.
11949 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11951 * gdb.cp/templates.exp: Accept gcc abi 2.
11953 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
11955 * lib/compiler.cc: Remove supports_template_debugging.
11956 * gdb.cp/templates.exp: Do not test supports_template_debugging.
11958 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11960 * gdb.cp/namespace.exp: Accept gcc abi 2.
11962 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11964 * gdb.cp/method.exp: Accept gcc abi 2.
11966 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
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.
11973 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
11975 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
11976 mysterious bug with sourceware version of expect.
11978 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
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.
11986 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
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.
11993 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
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.
12000 2004-01-01 Mark Kettenis <kettenis@gnu.org>
12002 * gdb.asm/asm-source.exp: Update copyright year. Link statically
12005 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
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.
12012 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
12014 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
12017 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12019 * gdb.base/environ.exp: Handle compiling test case from multiple
12022 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12024 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
12026 2003-12-17 Jim Blandy <jimb@redhat.com>
12028 * gdb.base/freebpcmd.c: Add copyright notice.
12030 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
12032 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
12034 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
12036 2003-12-13 Jim Blandy <jimb@redhat.com>
12038 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
12040 2003-12-12 Kevin Buettner <kevinb@redhat.com>
12042 * gdb.asm/frv.inc: New file.
12043 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
12045 2003-12-09 Fred Fish <fnf@redhat.com>
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.
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.
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.
12069 * gdb.base/completion.exp: Use "break1" for completion tests since
12070 "break" is no longer a unique prefix.
12072 2003-12-06 Andrew Cagney <cagney@redhat.com>
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
12078 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
12080 * gdb.cp/rtti.exp: Accept new wording of warning from
12081 cp_lookup_rtti_type.
12083 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
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.
12091 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
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.
12097 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
12099 * gdb.base/so-impl-ld.exp: Update copyright notice.
12101 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
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.
12107 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
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.
12113 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
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.
12119 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
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.
12125 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
12127 Partial fix for PR testsuite/1456.
12128 * gdb.base/list.exp (test_list_function): Delete unused declaration
12131 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
12133 Partial fix for PR testsuite/1456.
12134 * gdb.base/complex.exp: Replace reference to gcc_compiled with
12135 call to test_compiler_info.
12137 2003-11-29 Mark Kettenis <kettenis@gnu.org>
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.
12146 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
12148 Partial fix for PR testsuite/1456.
12149 * gdb.base/constvars.exp: Replace references to gcc_compiled with
12150 calls to test_compiler_info.
12152 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
12154 Partial fix for PR testsuite/1456.
12155 * gdb.base/volatile.exp: Replace references to gcc_compiled with
12156 calls to test_compiler_info.
12158 2003-11-27 Mark Kettenis <kettenis@gnu.org>
12160 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
12161 pattern for the KFAILs.
12163 2003-11-25 Adam Fedor <fedor@gnu.org>
12165 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
12166 * gdb.objc/objcdecode.m: New file.
12168 2003-11-25 Adam Fedor <fedor@gnu.org>
12170 * gdb.objc/nondebug.exp: Test for PR objc/1236.
12171 * gdb.objc/nondebug.m: New file.
12173 2003-11-26 Ben Elliston <bje@wasabisystems.com>
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.
12182 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12184 * gdb.cp/method.exp: Accept output of new demangler.
12186 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12188 * gdb/class2.exp: New file.
12189 * gdb/class2.cc: New file.
12191 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
12193 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
12196 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12198 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
12201 2003-11-23 Mark Kettenis <kettenis@gnu.org>
12203 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
12204 "continue" into "run".
12206 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
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.
12217 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
12219 Fix PR testsuite/1463.
12220 * gdb.base/structs.exp (start_structs_test): Call
12221 get_debug_format before using the debug format.
12223 2003-11-22 Andrew Cagney <cagney@redhat.com>
12225 * lib/gdb.exp (gdb_test_multiple): Add simple example.
12226 * gdb.base/structs.exp: Use gdb_test_multiple.
12228 2003-11-20 Andrew Cagney <cagney@redhat.com>
12230 * gdb.base/structs.exp: Handle and recover from internal errors.
12231 Replace "foo${n}" with "foo<n>" in test messages.
12233 * gdb.base/structs.exp: Update copyright. Rewrite.
12234 * gdb.base/structs.c: Update copyright. Rewrite.
12236 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
12237 resync count exceeded.
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.
12245 2003-11-19 Andrew Cagney <cagney@redhat.com>
12247 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
12250 2003-11-17 Mark Kettenis <kettenis@gnu.org>
12252 New testcase for PR backtrace/1435.
12253 * gdb.arch/i386-unwind.exp: New file.
12254 * gdb.arch/i386-unwind.c: New file.
12256 2003-11-17 Andrew Cagney <cagney@redhat.com>
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>.
12264 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
12266 * gdb.trace/configure: Remove.
12268 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
12270 * gdb.base/break.c: Add comments to aid finding line numbers for
12272 * gdb.base/break.exp: Remove all references to explicit line
12275 2003-11-11 Nick Clifton <nickc@redhat.com>
12277 * gdb.base/shreloc.exp: Do not run for targets which do not
12278 support shared objects.
12280 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
12282 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
12283 Don't run tests if nofileio flag is given.
12285 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
12287 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
12288 as well as 'Watchpoint'.
12290 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12292 Reported by Jim Ingham <jingham@apple.com>:
12293 * gdb.base/annota1.exp: Match at least one occurrence of the
12294 signal handler annotation.
12296 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
12298 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
12299 as well as 'Watchpoint'.
12301 2003-11-05 Michael Chastain <mec@shout.net>
12303 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
12305 2003-11-03 Kris Warkentin <kewarken@qnx.com>
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.
12312 2003-10-22 Michael Chastain <mec@shout.net>
12314 * gdb.mi/pthreads.c: Add copyright notice.
12316 2003-10-22 Michael Chastain <mec@shout.net>
12318 * gdb.threads/pthreads.c: Add copyright notice.
12320 2003-10-20 Michael Chastain <mec@shout.net>
12322 * gdb.base/gdb1056.exp: New test script.
12324 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
12326 * gdb.threads/killed.exp: Use gdb_run_cmd.
12328 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
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.
12334 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
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.
12345 2003-10-11 Michael Chastain <mec@shout.net>
12347 * gdb.base/call-rt-st.exp: Update copyright year.
12349 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
12351 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
12352 * gdb.disasm/sh3.s: Ditto.
12354 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
12356 * gdb.threads/switch-threads.exp: New test.
12357 * gdb.threads/switch-threads.c: New source file.
12359 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
12361 * gdb.base/ending-run.exp: Add sh specific case.
12363 2003-10-06 Andrew Cagney <cagney@redhat.com>
12365 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
12366 * gdb.disasm/mn10200.exp: Delete obsolete file.
12368 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
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.
12374 2003-09-25 David Carlton <carlton@kealia.com>
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.
12381 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
12383 * lib/java.exp (java_init): Import target_alias before using it.
12385 2003-09-25 David Carlton <carlton@kealia.com>
12387 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
12389 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
12391 * gdb.base/selftest.exp: Accomodate more instruction reordering
12394 2003-09-17 Michael Chastain <mec@shout.net>
12396 * gdb.cp/gdb1355.exp: New file.
12397 * gdb.cp/gdb1355.c: New file.
12399 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
12401 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
12402 * gdb.asm/sh.inc: New file.
12404 2003-09-11 David Carlton <carlton@kealia.com>
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.
12410 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
12412 * gdb.base/relocate.exp: Handle new gdb output at startup.
12413 * gdb.stabs/weird.exp: Ditto.
12415 2003-09-08 Michael Chastain <mec@shout.net>
12417 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
12419 2003-09-07 Michael Chastain <mec@shout.net>
12421 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
12424 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
12426 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
12428 2003-08-30 Michael Chastain <mec@shout.net>
12430 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
12431 * gdb.gdb/observer.exp: Ditto.
12432 * gdb.gdb/xfullpath.exp: Ditto.
12434 2003-08-29 Mark Kettenis <kettenis@gnu.org>
12436 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
12439 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
12441 * gdb.base/dump.exp: Skip for ia64.
12443 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
12445 * gdb.asm/asm-source.exp: Add ia64 support.
12446 * gdb.asm/ia64.inc: New file.
12448 2003-08-22 Michael Chastain <mec@shout.net>
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.
12457 2003-08-18 Mark Kettenis <kettenis@gnu.org>
12459 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
12460 * gdb.arch/i386-prologue.c (gdb1338): Add function.
12462 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
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.
12469 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
12471 * gdb.base/annota3.exp: Add missing newline.
12473 2003-08-06 Michael Chastain <mec@shout.net>
12475 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
12477 2003-08-12 Michael Snyder <msnyder@redhat.com>
12479 * gdb.base/float.exp: Add test for SH.
12481 2003-08-10 Mark Kettenis <kettenis@gnu.org>
12483 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
12485 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
12487 * gdb.base/completion.exp: Remove reduntant completion test
12490 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
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
12497 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
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.
12505 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
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.
12512 2003-08-02 Andrew Cagney <cagney@redhat.com>
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.
12519 2003-07-29 Michael Chastain <mec@shout.net>
12521 * gdb.threads/tls.c (spin): Check errno only if sem_wait
12523 (do_pass): Likewise.
12524 * gdb.threads/tls.exp: Always initialize no_of_threads.
12526 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
12528 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
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
12534 2003-07-27 Andrew Cagney <cagney@redhat.com>
12536 * gdb.base/fileio.exp: Use SH when running commands using
12539 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
12541 From Kei Sakamoto <sakamoto.kei@renesas.com>:
12542 * gdb.base/relocate.c (dummy): New padding array.
12544 2003-07-22 Michael Snyder <msnyder@redhat.com>
12546 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
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
12554 2003-07-23 Michael Snyder <msnyder@redhat.com>
12556 * gdb.base/return2.exp: Don't test long-long return.
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.
12585 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
12587 * gdb.threads/tls.exp :Add kfail for 'info address' case.
12589 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
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.
12597 2003-07-22 Andreas Schwab <schwab@suse.de>
12599 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
12601 2003-07-20 Andreas Schwab <schwab@suse.de>
12603 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
12604 due to insn reordering.
12606 2003-07-15 Andrew Cagney <cagney@redhat.com>
12608 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
12610 2003-07-15 Michael Chastain <mec@shout.net>
12612 * gdb.base/gdb1250.exp: New file.
12613 * gdb.base/gdb1250.c: New file.
12615 2003-07-09 Michal Ludvig <mludvig@suse.cz>
12617 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
12618 expansion of size_t to 'unsigned long', not only to 'unsigned'.
12620 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
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.
12628 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
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.
12634 2003-07-07 Andreas Schwab <schwab@suse.de>
12636 * gdb.asm/m68k.inc: New file.
12637 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
12639 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
12640 arguments"): Also match negative number.
12642 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
12644 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
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
12653 * gdb.base/store.exp: Accomodate store.c changes.
12655 2003-06-30 David Carlton <carlton@kealia.com>
12657 * gdb.c++/maint.exp (test_invalid_name): New.
12658 (test_first_component): Add tests for invalid names.
12660 2003-06-29 Michael Chastain <mec@shout.net>
12662 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
12663 output of '<VTT for class>' for virtual base classes.
12665 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12667 * gdb.base/completion.exp: Tab-complete "complet" instead of
12669 * gdb.base/complex.exp, gdb.base/complex.c: New files.
12671 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12673 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
12674 * gdb.base/volatile.exp: Likewise.
12676 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
12678 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
12681 2003-06-28 Michael Chastain <mec@shout.net>
12682 Daniel Jacobowitz <drow@mvista.com>
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.
12689 2003-06-24 Joel Brobecker <brobecker@gnat.com>
12691 * gdb.base/bang.exp: New testcase.
12693 2003-06-23 Joel Brobecker <brobecker@gnat.com>
12695 * gdb.base/langs.exp: Add some tests for the "minimal" language
12698 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
12700 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
12703 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
12705 * gdb.base/relocate.exp: Test add-symbol-file with a variable
12708 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
12710 * gdb.c++/pr-1210.cc: New file.
12711 * gdb.c++/pr-1210.exp: New file.
12713 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
12715 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
12718 2003-06-15 Mark Kettenis <kettenis@gnu.org>
12720 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
12721 on *-*-*bsd* instead of *-*-freebsd*.
12723 2003-06-14 Andrew Cagney <cagney@redhat.com>
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.
12731 2003-06-14 Andrew Cagney <cagney@redhat.com>
12733 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
12734 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
12736 * gdb.base/fileio.exp: Disable target when nointerrupts and
12737 noinferiorio, instead of limiting it to remote. Use remote_exec
12740 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
12742 * gdb.base/float.exp: Add ia64 support.
12744 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
12746 * gdb.base/fileio.exp: Run only on remote targets.
12748 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
12750 * gdb.base/fileio.c: New file, testing File-I/O.
12751 * gdb.base/fileio.exp: Ditto.
12753 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
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.
12760 2003-06-08 Mark Kettenis <kettenis@gnu.org>
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.
12766 * gdb.base/signals.exp: XFAIL "continue to func1" on
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*.
12773 2003-06-02 Richard Henderson <rth@redhat.com>
12775 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
12777 2003-06-02 Richard Henderson <rth@redhat.com>
12779 * gdb.base/selftest.exp: Next over lim_at_start initialization.
12781 2003-06-02 Richard Henderson <rth@redhat.com>
12783 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
12785 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
12787 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
12790 2003-06-01 Mark Kettenis <kettenis@gnu.org>
12792 * gdb.asm/asm-source.exp: Check for memory read errors in
12793 disassembler test on *BSD too.
12795 2003-06-01 Richard Henderson <rth@redhat.com>
12797 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
12799 (gdbasm_call): Lose ldgp.
12800 (gdbasm_startup): Add frame information.
12801 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
12803 2003-05-31 Mark Kettenis <kettenis@gnu.org>
12805 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
12808 2003-05-30 Mark Kettenis <kettenis@gnu.org>
12810 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
12813 2003-05-29 Richard Henderson <rth@redhat.com>
12815 * gdb.asm/alpha.inc: New file.
12816 * gdb.asm/asm-source.exp: Use it.
12818 2003-05-29 Jim Blandy <jimb@redhat.com>
12820 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
12823 2003-05-22 Jim Blandy <jimb@redhat.com>
12825 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
12828 2003-05-20 David Carlton <carlton@math.stanford.edu>
12830 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
12833 2003-05-19 David Carlton <carlton@bactrian.org>
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.
12838 2003-05-19 David Carlton <carlton@bactrian.org>
12840 * gdb.c++/namespace.exp: Add namespace scope and anonymous
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.
12847 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
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.
12853 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
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.
12859 2003-05-07 Jim Blandy <jimb@redhat.com>
12861 Add support for assembly source testing on the s390x.
12862 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
12864 * gdb.asm/s390x.inc: New file.
12866 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
12867 succession of 'if' statements.
12869 2003-05-05 Andrew Cagney <cagney@redhat.com>
12871 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
12873 2003-05-05 Andrew Cagney <cagney@redhat.com>
12875 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
12876 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
12878 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
12880 * gdb.base/charset.exp: Update based on new behavior of set/show
12883 2003-05-01 Andrew Cagney <cagney@redhat.com>
12885 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
12886 variable do not give memory errors.
12888 2003-04-30 Adam Fedor <fedor@gnu.org>
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
12895 * lib/gdb.exp (gdb_compile_objc): New procedure.
12897 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
12899 * gdb.base/signals.exp: Make backtrace tests more specific.
12901 2003-04-23 David Carlton <carlton@bactrian.org>
12903 * gdb.c++/maint.exp (test_first_component): Add tests for
12904 'operator' in more locations.
12906 2003-04-16 Kevin Buettner <kevinb@redhat.com>
12908 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
12910 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
12912 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
12913 func marke' instead. Update test name.
12915 2003-04-15 David Carlton <carlton@math.stanford.edu>
12917 * gdb.c++/maint.exp: New file.
12919 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
12921 * gdb.threads/schedlock.c: Change type of thread function argument
12922 to long, to avoid warnings on 64-bit platforms.
12924 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
12926 * gdb.base/attach.exp: Add new message from ptrace in case of
12927 attaching to nonexistent process.
12929 2003-04-11 Jim Blandy <jimb@redhat.com>
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.
12938 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
12940 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
12941 match on sourcefile name, instead of directory name.
12943 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
12945 * gdb.base/completion.exp: Use string_to_regexp to match the
12946 working directory name.
12948 2003-04-09 Jim Blandy <jimb@redhat.com>
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
12955 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12957 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12960 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
12962 * gdb.base/break.exp: Revert last patch.
12964 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
12966 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
12969 2003-04-02 Andrew Cagney <cagney@redhat.com>
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.
12982 2003-04-02 Bob Rossi <bob_rossi@cox.net>
12984 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
12986 2003-03-29 Andrew Cagney <cagney@redhat.com>
12988 * gdb.base/sizeof.c (main): Print the value of '\377'.
12989 * gdb.base/sizeof.exp: Check the sign of '\377'.
12991 2003-03-27 Michael Chastain <mec@shout.net>
12993 * gdb.base/gdb1090.exp: New file.
12994 * gdb.base/gdb1090.cc: New file.
12996 2003-03-27 J. Brobecker <brobecker@gnat.com>
12998 * gdb.gdb/observer.exp: New regression test.
13000 2003-03-27 Michael Chastain <mec@shout.net>
13002 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
13003 * gdb.base/ptype.exp: Likewise.
13005 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
13007 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
13009 2003-03-26 Michael Chastain <mec@shout.net>
13011 * gdb.base/ptype.exp: Actually use some typedef'd types.
13013 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
13015 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
13016 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
13018 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13020 * gdb.base/default.exp: Fix regular expression.
13022 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13024 * gdb.base/args.exp: Fix regular expression.
13026 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13028 * gdb.base/help.exp: Allow Win32 child process.
13030 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13032 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
13033 when stepping out of main().
13035 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13037 * gdb.base/default.exp: Check for win32 specific message when calling
13038 "run" without executable.
13040 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13042 * gdb.base/args.exp: Expect .exe in output.
13044 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
13046 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
13049 2003-03-17 Andrew Cagney <cagney@redhat.com>
13051 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
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.
13056 2003-03-17 David Carlton <carlton@math.stanford.edu>
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.
13064 2003-03-04 David Carlton <carlton@math.stanford.edu>
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.
13074 2003-03-03 David Carlton <carlton@math.stanford.edu>
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
13080 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
13081 respect to PR c++/57.
13083 2003-03-03 David Carlton <carlton@math.stanford.edu>
13085 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
13086 respect to PR c++/33 into FAILs.
13088 2003-03-03 Michael Chastain <mec@shout.net>
13090 * configure.in: Update copyright years.
13092 2003-03-03 Michael Chastain <mec@shout.net>
13094 * Makefile.in: Update copyright years.
13096 2003-02-28 David Carlton <carlton@math.stanford.edu>
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
13102 Delete FIXME from end of messages on tests that don't need
13105 2003-02-28 David Carlton <carlton@math.stanford.edu>
13107 * gdb.c++/templates.exp (do_tests): Allow const in the two
13108 Foo<volatile char *>::foo tests.
13110 2003-02-27 Michael Snyder <msnyder@redhat.com>
13112 * gdb.base/restore.c (main): Return zero, so exit code
13113 will be consistant.
13115 2003-02-26 David Carlton <carlton@math.stanford.edu>
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.
13122 2003-02-26 David Carlton <carlton@math.stanford.edu>
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.
13128 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
13130 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
13132 2003-02-13 Michael Chastain <mec@shout.net>
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.
13139 2003-02-14 David Carlton <carlton@math.stanford.edu>
13141 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
13142 pEe->D::vg()" from XFAIL to KFAIL.
13144 2003-02-13 Jason Molenda (jmolenda@apple.com)
13146 * gdb.base/maint.exp: Update maint print statistics regexp to include
13149 2003-02-13 Michael Chastain <mec@shout.net>
13151 * gdb.c++/inherit.exp: Remove call to get_debug_format.
13153 2003-02-12 Michael Chastain <mec@shout.net>
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.
13161 2003-02-06 Jason Molenda (jason-cl@molenda.com)
13163 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
13164 why the code is written that way.
13166 2003-02-05 Michael Chastain <mec@shout.net>
13168 * gdb.base/dump.exp: Add missing copyright line.
13170 2003-02-05 Jason Molenda (jason-cl@molenda.com)
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.
13175 2003-02-05 Michael Chastain <mec@shout.net>
13177 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
13178 output for configurations with gcc 2.95.3.
13180 2003-02-05 Keith Seitz <keiths@redhat.com>
13181 Andrew Cagney <ac131313@redhat.com>
13183 * gdb.mi/mi-cli.exp: New file.
13185 2003-02-04 Michael Chastain <mec@shout.net>
13187 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
13188 Call perror and then continue.
13190 2003-02-03 Michael Chastain <mec@shout.net>
13192 * gdb.c++/pr-1023.cc: New file.
13193 * gdb.c++/pr-1023.exp: New file.
13195 2003-02-05 Jim Blandy <jimb@redhat.com>
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
13200 * gdb.c++/local.cc (marker2): New function.
13201 (foobar): Call marker1.
13202 (main): Call marker2 instead of marker1.
13204 2003-02-04 Andrew Cagney <ac131313@redhat.com>
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.
13211 2003-02-04 David Carlton <carlton@math.stanford.edu>
13213 * gdb.c++/overload.exp: Test intToChar(1).
13214 * gdb.c++/overload.cc (intToChar): New.
13215 (main): Call intToChar.
13217 2003-02-03 David Carlton <carlton@math.stanford.edu>
13219 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
13221 KFAIL some of the continue_to_bp_overloaded calls, according to
13224 2003-02-01 Michael Chastain <mec@shout.net>
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.
13232 2003-02-02 Andrew Cagney <ac131313@redhat.com>
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.
13240 2003-02-01 Andrew Cagney <ac131313@redhat.com>
13242 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
13243 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
13245 * gdb.mi/mi-syn-frame.c: Part of same.
13247 2003-02-01 Mark Kettenis <kettenis@gnu.org>
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.
13253 2003-02-01 Mark Salter <msalter@redhat.com>
13255 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
13257 2003-01-31 Mark Salter <msalter@redhat.com>
13259 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
13262 2003-01-30 Michael Chastain <mec@shout.net>
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.
13268 2003-01-29 Michael Snyder <msnyder@redhat.com>
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.
13274 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
13276 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
13277 gdb_test. Accept a list of expect arguments as the third
13279 (gdb_test): Use it.
13281 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
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'.
13300 2003-01-17 David Carlton <carlton@math.stanford.edu>
13302 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
13303 corresponding to PR c++/945.
13306 2003-01-17 David Carlton <carlton@math.stanford.edu>
13308 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
13309 corresponding to PR c++/68.
13311 2003-01-17 David Carlton <carlton@math.stanford.edu>
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.
13317 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
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.
13325 2003-01-15 Mark Kettenis <kettenis@gnu.org>
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.
13332 2003-01-15 David Carlton <carlton@math.stanford.edu>
13334 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
13336 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
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.
13343 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
13345 * gdb.base/args.c: New file.
13346 * gdb.base/args.exp: New file.
13348 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13350 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
13352 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13354 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
13356 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
13358 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
13361 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13363 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
13365 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13367 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
13369 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
13371 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13373 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
13374 * gdb.mi/mi1-console.exp: Likewise.
13376 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13378 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
13379 * gdb.mi/mi1-console.exp: Likewise.
13381 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
13383 * gdb.c++/overload.exp: Remove some fixed XFAILs.
13385 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
13387 * gdb.base/detach.exp: New test.
13389 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
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.
13404 2003-01-09 David Carlton <carlton@math.stanford.edu>
13406 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
13407 Add copyright year 2003.
13409 2003-01-06 Michael Chastain <mec@shout.net>
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.
13415 2003-01-06 Andreas Schwab <schwab@suse.de>
13417 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
13420 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13423 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
13424 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
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.
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.
13436 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13438 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
13440 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
13441 * gdb.base/whatis.exp: Always allow (void) after function names.
13443 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
13445 * gdb.c++/casts.exp: Correct regexp.
13447 2003-01-04 Mark Kettenis <kettenis@gnu.org>
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.
13469 2003-01-03 Michael Chastain <mec@shout.net>
13471 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
13472 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
13474 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
13476 * gdb.base/store.exp: Fix regular expressions.
13478 2002-12-28 Mark Kettenis <kettenis@gnu.org>
13480 * configure.in: Rewrite.
13481 * configure: Regenerated.
13483 2003-01-03 David Carlton <carlton@math.stanford.edu>
13485 * gdb.base/psymtab.exp: New file.
13486 * gdb.base/psymtab1.c: Ditto.
13487 * gdb.base/psymtab2.c: Ditto.
13489 2002-12-23 Adam Fedor <fedor@gnu.org>
13491 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
13493 2002-12-23 David Carlton <carlton@math.stanford.edu>
13495 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
13496 and current_directory initialization.
13498 2002-12-22 Jim Blandy <jimb@redhat.com>
13500 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
13501 rather than as part of the output file name.
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.
13507 2002-12-21 Jim Blandy <jimb@redhat.com>
13509 * gdb.c++/psmang.exp: Doc fix.
13511 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
13514 2002-12-20 David Carlton <carlton@math.stanford.edu>
13516 * gdb.c++/annota2.exp: KFAIL annotate-quit.
13518 2002-12-18 Michael Chastain <mec@shout.net>
13520 * gdb.c++/annota2.exp: Add copyright year 2002.
13522 2002-12-17 David Carlton <carlton@math.stanford.edu>
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.
13531 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
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.
13538 2002-12-13 Andrew Cagney <ac131313@redhat.com>
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.
13581 2002-12-11 David Carlton <carlton@math.stanford.edu>
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.
13587 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
13589 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
13591 2002-12-06 David Carlton <carlton@math.stanford.edu>
13593 * gdb.base/store.c: Don't declare functions static.
13595 2002-12-04 Andrew Cagney <ac131313@redhat.com>
13597 * gdb.base/store.exp, gdb.base/store.c: New files.
13599 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13601 * gdb.base/selftest.exp: Update for current gdb.
13603 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13605 * gdb.base/maint.exp: Only dump symbols from one source file
13608 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
13610 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
13613 2002-11-25 Jim Blandy <jimb@redhat.com>
13615 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
13616 function appearing in error message.
13618 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
13620 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
13622 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
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.
13628 2002-09-18 Fernando Nasser <fnasser@redhat.com>
13630 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
13631 which explicitly prints the zero offset as "+0".
13633 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
13635 * gdb.threads/schedlock.c (args): Make unsigned.
13637 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
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
13645 * gdb.asm/mips.inc: New file.
13647 2002-10-18 Adam Fedor <fedor@gnu.org>
13649 * gdb.base/default.exp: Update expected output to include 'ObjC'.
13650 * gdb.base/help.exp: Likewise.
13652 2002-10-17 Kevin Buettner <kevinb@redhat.com>
13654 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
13655 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
13657 2002-10-02 Jim Blandy <jimb@redhat.com>
13659 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
13661 2002-10-01 Andrew Cagney <ac131313@redhat.com>
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.
13671 2002-09-29 Andrew Cagney <ac131313@redhat.com>
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.
13681 2002-09-27 Kevin Buettner <kevinb@redhat.com>
13683 * gdb.base/annota1.exp (info break): Make directory components of
13684 path optional since not all compilers emit this debug information.
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
13690 2002-09-26 Keith Seitz <keiths@redhat.com>
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.
13696 2002-09-25 Andrew Cagney <cagney@redhat.com>
13698 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
13700 2002-09-24 Andrew Cagney <ac131313@redhat.com>
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
13708 2002-09-19 Jim Blandy <jimb@redhat.com>
13710 * gdb.base/charset.exp, gdb.base/charset.c: New files.
13712 2002-09-19 Andrew Cagney <ac131313@redhat.com>
13714 * gdb.gdb/complaints.exp: New file.
13716 2002-09-18 Andrew Cagney <ac131313@redhat.com>
13718 * gdb.base/maint.exp: Check `help maint internal-warning'.
13720 2002-09-18 David Carlton <carlton@math.stanford.edu>
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.
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.
13730 * gdb.c++/printmethod.exp: New file.
13731 * gdb.c++/printmethod.cc: New file.
13733 * gdb.c++/pr-574.exp: New file.
13734 * gdb.c++/pr-574.cc: New file.
13736 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
13738 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
13739 embedded targets which never actually exit.
13741 2002-09-18 Fernando Nasser <fnasser@redhat.com>
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.
13746 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
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)"
13753 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
13755 * lib/gdb.exp (rerun_to_main): Allow restarting application.
13756 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
13758 2002-09-17 Tom Tromey <tromey@redhat.com>
13760 * gdb.base/printcmds.exp (test_print_string_constants): Expect
13761 \000, not \0, in double-quoted string.
13763 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
13765 * gdb.base/commands.exp: Don't expect a "Program exited normally"
13766 string after running the commands execution on breakpoint tests.
13768 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
13770 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
13772 2002-09-12 Joel Brobecker <brobecker@gnat.com>
13774 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
13776 2002-09-10 Keith Seitz <keiths@redhat.com>
13778 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
13780 (mi_run_to_main): Use mi_runto.
13781 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
13783 2002-09-10 Keith Seitz <keiths@redhat.com>
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.
13791 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
13793 * gdb.base/default.exp: Fix expected string in `info float' test.
13795 2002-09-09 Ben Elliston <bje@redhat.com>
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.
13806 2002-09-05 Jim Blandy <jimb@redhat.com>
13808 * gdb.threads/killed.exp: Fix test failure message.
13810 2002-09-04 Keith Seitz <keiths@redhat.com>
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.
13816 2002-09-03 Keith Seitz <keiths@redhat.com>
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.
13822 2002-09-03 Jim Blandy <jimb@redhat.com>
13824 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
13826 2002-08-29 Jim Blandy <jimb@redhat.com>
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.
13832 2002-08-29 Keith Seitz <keiths@redhat.com>
13834 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
13835 expect_out so that callers can get at it.
13837 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
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.
13844 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
13846 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
13849 2002-08-17 Mark Kettenis <kettenis@gnu.org>
13851 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
13852 targets. The problem should be fixed now.
13854 2002-08-15 Mark Kettenis <kettenis@gnu.org>
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.
13859 2002-08-13 Tom Tromey <tromey@redhat.com>
13861 * gdb.base/readline.exp: New file.
13863 2002-08-01 Andrew Cagney <ac131313@redhat.com>
13865 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
13868 2002-08-01 Andrew Cagney <cagney@redhat.com>
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.
13878 2002-07-30 Kevin Buettner <kevinb@redhat.com>
13880 * gdb.base/shlib-call.exp (additional_flags): Conditionally
13881 set Irix-specific compile and link flags.
13883 2002-07-29 Kevin Buettner <kevinb@redhat.com>
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.
13889 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
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.
13895 2002-07-18 Jim Blandy <jimb@redhat.com>
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
13901 * gdb.base/interrupt.exp: Correct logic for skipping tests on
13902 targets that don't support interrupts.
13904 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
13906 * gdb.base/attach.exp: Add patterns to match output from /proc-based
13908 Move comments in expect statements to inside the actions, so that they
13909 don't get matched against.
13911 2002-07-10 Mark Kettenis <kettenis@gnu.org>
13913 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
13914 function when asleep" test.
13916 2002-07-10 Andrew Cagney <ac131313@redhat.com>
13918 * gdb.base/page.exp: Rewrite to handle problems with very long
13919 `info set' output. Update copyright.
13921 2002-06-26 Andrew Cagney <ac131313@redhat.com>
13923 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
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.
13930 2002-06-22 Andrew Cagney <ac131313@redhat.com>
13932 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
13933 setlocale, bindtextdomain and textdomain.
13935 2002-06-11 Jim Blandy <jimb@redhat.com>
13937 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
13938 preprocessor macro information is present.
13940 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
13943 2002-06-06 Michael Snyder <msnyder@redhat.com>
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
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).
13954 2002-06-06 Michal Ludvig <mludvig@suse.cz>
13956 * gdb.asm/asm-source.exp: Add x86-64 target.
13957 * gdb.asm/x86_64.inc: New.
13959 2002-05-30 Michael Chastain <mec@shout.net>
13961 From Benjamin Kosnik <bkoz@redhat.com>:
13962 * gdb.c++/m-static.cc: New file.
13963 * gdb.c++/m-static.exp: New file.
13965 2002-05-28 Michael Snyder <msnyder@redhat.com>
13967 * gdb.base/call-ar-st.exp: Allow for reduced floating point
13970 2002-05-27 Michael Chastain <mec@shout.net>
13972 From Benjamin Kosnik <bkoz@redhat.com>:
13973 * gdb.c++/m-data.cc: New file.
13974 * gdb.c++/m-data.exp: New file.
13976 2002-05-27 Michael Chastain <mec@shout.net>
13978 From Benjamin Kosnik <bkoz@redhat.com>:
13979 * gdb.c++/try_catch.cc: New file.
13980 * gdb.c++/try_catch.exp: New file.
13982 2002-05-27 Michael Chastain <mec@shout.net>
13984 * gdb.c++/local.exp: Accept more nested types in output.
13986 2002-05-26 Michael Chastain <mec@shout.net>
13988 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
13990 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
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
13996 (default_gdb_init): Reset gdb_wrapper_initialized.
13998 2002-05-23 Michael Snyder <msnyder@redhat.com>
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.
14004 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
14005 * gdb.base/call-rt-st.exp: Ditto.
14007 2002-05-19 Michael Chastain <mec@shout.net>
14009 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
14011 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
14013 * configure.in (configdirs): Add gdb.arch.
14014 * configure: Regenerate.
14016 2002-05-17 Jim Blandy <jimb@redhat.com>
14018 * gdb.base/completion.exp: Recognize the more detailed error
14019 messages produced by the macro expander's lexical analyzer.
14021 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
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.
14028 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
14030 * gdb.base/maint.exp (maint print type): Update for new type
14033 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
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.
14040 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
14042 * gdb.asm/asm-source.exp: Add v850 as supported target.
14043 * gdb.asm/v850.inc: New file.
14045 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
14047 * gdb.c++/annota2.exp (annotate-quit): Add comment.
14049 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
14051 * gdb.base/break.exp: Check 'break "marker2"'.
14053 2002-05-10 Michael Snyder <msnyder@redhat.com>
14055 * gdb.base/long_long.exp: Fix typo.
14057 2002-05-10 Jim Blandy <jimb@redhat.com>
14059 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
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.
14067 2002-05-09 Mark Kettenis <kettenis@gnu.org>
14069 * gdb.c++/method.exp: Fix typo.
14071 2002-05-08 Michael Snyder <msnyder@redhat.com>
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.
14079 2002-05-06 Michael Snyder <msnyder@redhat.com>
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.
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.
14092 2002-05-06 Ben Elliston <bje@redhat.com>
14093 From Graydon Hoare <graydon@redhat.com>
14095 * config/sid.exp: Include support for "rawsid" protocol.
14097 2002-05-03 Jim Blandy <jimb@redhat.com>
14099 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
14100 * gdb.c++/hang3.C: New file.
14102 2002-05-04 Andrew Cagney <ac131313@redhat.com>
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.
14121 2002-05-02 Michael Snyder <msnyder@redhat.com>
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.
14127 2002-05-01 Jim Blandy <jimb@redhat.com>
14129 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
14130 gdb.c++/hang.exp: New test.
14132 2002-05-01 Fred Fish <fnf@redhat.com>
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.
14138 2002-04-29 Anthony Green <green@redhat.com>
14140 * gdb.java/jmisc1.exp: New file.
14141 * gdb.java/jmisc2.exp: New file.
14143 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
14145 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
14147 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
14149 * gdb.base/help.exp: Change 'help status' to allow for target
14150 dependent output differences.
14152 2002-04-22 Michael Chastain <mec@shout.net>
14154 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
14156 2002-04-22 Michael Chastain <mec@shout.net>
14158 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
14160 2002-04-17 David S. Miller <davem@redhat.com>
14162 * gdb.asm/sparc64.inc: New file.
14163 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
14165 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
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
14171 2002-04-18 David S. Miller <davem@redhat.com>
14173 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
14174 handle 64-bit platforms correctly.
14175 * gdb.base/maint.exp: Likewise.
14177 2002-04-18 Kevin Buettner <kevinb@redhat.com>
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.
14184 2002-04-18 Kevin Buettner <kevinb@redhat.com>
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.
14190 2002-04-17 Michael Chastain <mec@shout.net>
14191 From David S. Miller <davem@redhat.com>
14193 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
14194 handle 64-bit platforms correctly.
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.
14204 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
14205 manager doesn't automatically unmap overlays unnecessarily.
14207 2002-04-10 Martin M. Hunt <hunt@redhat.com>
14209 * gdb.base/ending-run.exp: Fix pattern for Mips targets
14210 stepping out of main.
14212 2002-04-09 Michael Chastain <mec@shout.net>
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.
14220 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
14222 * gdb.base/attach.exp: Correct target board test.
14224 2002-04-08 Michael Chastain <mec@shout.net>
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 ...".
14230 2002-04-07 Michael Chastain <mec@shout.net>
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.
14236 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
14238 Work around for PR gdb/285:
14239 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
14241 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
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
14247 * gdb.asm/configure.in: Delete creation of symlink.
14248 * gdb.asm/configure: Regenerate.
14250 2002-04-05 J. Brobecker <brobecker@gnat.com>
14252 * gdb.gdb/xfullpath.exp: New test, to exercise the new
14253 xfullpath () function.
14255 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14257 * gdb.asm/Makefile.in: Correct dependencies.
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.
14264 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
14266 * gdb.base/relocate.exp: New file.
14267 * gdb.base/relocate.c: New file.
14269 2002-04-04 Fred Fish <fnf@redhat.com>
14271 * gdb.base/step-test.exp: Update comment regarding stopping in
14272 memcpy/bcopy calls inserted as part of the compiler runtime.
14274 2002-04-04 Michael Snyder <msnyder@redhat.com>
14276 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
14278 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
14280 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
14281 (gdb_expect): Remove $notransfer hack.
14283 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
14285 * gdb.c++/classes.exp ("calling method for small class"): Match
14286 updated register output.
14288 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14291 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
14292 when finished. Make gdb_file_cmd send "exec-file" when
14295 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
14297 * gdb.base/attach.exp: Remove extra setup_xfail.
14299 2002-03-26 Michael Snyder <msnyder@redhat.com>
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.
14306 2002-03-27 Michael Snyder <msnyder@redhat.com>
14308 * gdb.base/help.exp: Modify expect strings to reflect
14309 clean-ups in help messages.
14311 2002-03-26 Fred Fish <fnf@redhat.com>
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.
14317 2002-03-26 Fred Fish <fnf@redhat.com>
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.
14322 2002-03-25 Michael Snyder <msnyder@redhat.com>
14324 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
14326 2002-03-25 Fred Fish <fnf@redhat.com>
14328 * gdb.base/list.exp: This test works on remote targets so remove
14329 the short circuit for remote targets. Update copyright.
14331 2002-03-25 Fred Fish <fnf@redhat.com>
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.
14338 2002-03-22 Michael Snyder <msnyder@redhat.com>
14340 * gdb.base/default.exp: Add test for gcore. Update copyright.
14341 * gdb.base/help.exp: Add test for gcore. Update copyright.
14343 2002-03-06 Fred Fish <fnf@redhat.com>
14345 * gdb.base/funcargs.c: Remove extraneous ';' character.
14346 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
14348 2002-03-04 Michael Chastain <mec@shout.net>
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.
14354 2002-02-24 Andrew Cagney <ac131313@redhat.com>
14356 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
14357 ``GNU/Linux'' or ``Linux kernel''
14358 * testsuite/gdb.threads/pthreads.c: Ditto.
14360 2002-02-24 Michael Chastain <mec@shout.net>
14362 * gdb.threads/pthreads.c (thread1): Add a return statement.
14363 (thread2): Likewise.
14366 2002-02-23 Michael Chastain <mec@shout.net>
14368 * gdb.threads/linux-dp.c (philosopher): Add a return statement
14371 2002-02-23 Michael Chastain <mec@shout.net>
14373 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
14374 test "ptype bint". The test passes on all my stabs configurations.
14376 2002-02-21 Jim Blandy <jimb@redhat.com>
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.
14381 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
14382 types of pointers to prototyped functions.
14384 2002-02-20 Andrew Cagney <ac131313@redhat.com>
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.
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.
14400 2002-02-20 Michael Chastain <mec@shout.net>
14402 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
14403 to setup_xfail. Document some of the remaining calls.
14405 2002-02-18 Michael Chastain <mec@shout.net>
14407 * gdb.c++/userdef.exp: Update copyright year.
14409 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
14411 * gdb.c++/userdef.exp: Test overloaded operators properly.
14414 2002-02-14 Michael Snyder <msnyder@redhat.com>
14416 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
14418 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
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.
14429 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
14431 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
14433 2002-02-10 Michael Chastain <mec@shout.net>
14435 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
14436 (call_after_alloca): Ditto.
14438 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
14440 * gdb.base/ending-run.exp: Guard "cont" test with
14441 gdb_skip_stdio_test.
14443 2002-02-06 Jim Blandy <jimb@redhat.com>
14445 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
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.
14450 2002-02-04 Michael Snyder <msnyder@redhat.com>
14452 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
14453 other than d10v and m32r.
14455 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
14457 * gdb.base/default.exp: Rewrite test patterns to reduce time
14458 taken to match them.
14460 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
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.
14466 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
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.
14472 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
14474 From Neil Booth <neil@daikokuya.demon.co.uk>:
14475 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
14478 2002-01-21 Fred Fish <fnf@redhat.com>
14480 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
14483 2002-01-21 Jim Blandy <jimb@redhat.com>
14485 * gdb.base/reread.exp: Check that GDB properly re-reads the
14486 executable file when it changes while no inferior is running.
14488 2002-01-21 Fred Fish <fnf@redhat.com>
14490 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
14491 optionally accept the "shlib events" variation.
14493 2002-01-21 Jim Blandy <jimb@redhat.com>
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.
14502 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
14504 * gdb.c++/inherit.exp: Update copyright years.
14505 * gdb.c++/method.exp: Likewise.
14507 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
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.
14516 2002-01-18 Andrew Cagney <ac131313@redhat.com>
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.
14525 2002-01-17 Jim Blandy <jimb@redhat.com>
14527 * gdb.asm/asm-source.exp (info symbol): Take another shot at
14528 anchoring the pattern matching the entry point symbol's name.
14530 2002-01-17 Andrew Cagney <ac131313@redhat.com>
14532 * gdb.base/maint.exp: Update ``maint internal-error'' to match
14533 continue/quit query. Update copyright.
14535 2002-01-14 Michael Snyder <msnyder@redhat.com>
14537 * gdb.base/gcore.exp: Remove extra debugging output.
14539 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14541 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
14542 for slightly dubious v2 mangled string.
14544 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
14546 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
14548 2002-01-10 Jason Merrill <jason@redhat.com>
14550 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
14552 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
14554 * gdb.c++/derivation.exp: Likewise.
14555 * gdb.c++/templates.exp: Likewise.
14556 * gdb.c++/virtfunc.exp: Likewise.
14558 2002-01-10 Michael Snyder <msnyder@redhat.com>
14560 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
14562 2002-01-08 Michael Snyder <msnyder@redhat.com>
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).
14568 2002-01-08 Jason Merrill <jason@redhat.com>
14570 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
14572 2002-01-07 Fred Fish <fnf@redhat.com>
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)
14595 2002-01-07 Michael Snyder <msnyder@redhat.com>
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.
14603 2002-01-07 Fred Fish <fnf@redhat.com>
14605 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
14606 g_instance.bfoo, and g_instance.cfoo.
14608 2002-01-07 Jeffrey A Law <law@redhat.com>
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
14616 * gdb.base/selftest.exp (backtrace through signal handler): Remove
14617 hppa*-*-hpux* expected failure.
14618 * gdb.base/structs.exp (do_function_calls): Similarly.
14620 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
14623 2002-01-06 Andrew Cagney <ac131313@redhat.com>
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.
14643 2002-01-04 Michael Snyder <msnyder@redhat.com>
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.
14648 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
14650 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
14652 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
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.
14659 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
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.
14668 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
14669 either HP's compilers or GCC.
14671 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
14672 a SIGBUS or SIGSEGV.
14674 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
14676 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
14677 can be compiled with either HP's compiler or GCC.
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.
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
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.
14703 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
14704 a SIGTRAP to the inferior.
14706 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
14708 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
14709 Substitute call to target_link by call to gdb_compile.
14711 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
14713 * gdb.base/break.exp: Fix HP specific search string when testing
14714 backtracing in a called function.
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.
14720 2001-12-19 Jim Blandy <jimb@redhat.com>
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.
14727 2001-12-17 Jim Blandy <jimb@redhat.com>
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.
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'
14739 * gdb.base/corefile.exp: Recognize the message saying that GDB
14740 can't find the core file's registers as a failure.
14742 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
14744 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
14745 test expect string more specific.
14747 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
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.
14754 2001-12-10 Fred Fish <fnf@redhat.com>
14756 * gdb.base/maint.exp: Update to match changes in type dumping code.
14758 2001-12-10 Jim Blandy <jimb@redhat.com>
14760 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
14761 matching the entry point symbol's name at the beginning of the
14764 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
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.
14772 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
14774 * gdb.c++/classes.exp: Add test for static member function.
14775 * gdb.c++/misc.cc: Add class with static member function.
14777 2001-12-07 Jim Blandy <jimb@redhat.com>
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.
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
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.
14794 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
14795 value of `timeout' for targets other than the mips*tx39-*.
14797 2001-12-06 Michael Snyder <msnyder@redhat.com>
14799 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
14800 and detect whether the start symbol has a leading underscore.
14802 2001-12-04 Jim Blandy <jimb@redhat.com>
14804 * gdb.base/completion.exp: Clarify indentation.
14806 2001-12-03 Jim Blandy <jimb@redhat.com>
14808 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
14809 variables on the S/390, not `.word'.
14811 2001-11-30 Jim Blandy <jimb@redhat.com>
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.
14819 2001-11-30 Michael Snyder <msnyder@redhat.com>
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.
14832 2001-11-26 Fernando Nasser <fnasser@redhat.com>
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.
14840 2001-11-24 Mark Kettenis <kettenis@gnu.org>
14842 * gdb.asm/configure.in: Fix recognition of ix86 target.
14843 * gdb.asm/configure: Regenerate.
14845 2001-11-21 Michael Snyder <msnyder@redhat.com>
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.
14852 2001-11-21 Michael Snyder <msnyder@redhat.com>
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.
14859 2001-11-20 Michael Snyder <msnyder@redhat.com>
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.
14866 * gdb.c++/namespace.exp: Fix quotes in output messages.
14868 2001-11-14 Michael Snyder <msnyder@redhat.com>
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).
14874 2001-11-13 Michael Snyder <msnyder@redhat.com>
14876 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
14877 Tests for expressions using 'const' and 'volatile'.
14879 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
14881 * gdb.asm/asm-sources.exp: Allow defining linker flags.
14883 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
14885 * lib/mi-support.exp (mi_run_to_helper): Move comments
14886 outside of gdb_expect.
14888 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
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.
14899 2001-11-10 Andrew Cagney <ac131313@redhat.com>
14901 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
14902 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
14904 2001-11-09 Andrew Cagney <ac131313@redhat.com>
14906 * gdb.base/restore.exp: Include $expected value in restored test
14909 2001-11-09 Andrew Cagney <ac131313@redhat.com>
14911 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
14914 2001-11-08 Michael Snyder <msnyder@redhat.com>
14916 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
14917 Add pass/fail message for stop at breakpoint in call dummy function.
14919 2001-11-07 Michael Snyder <msnyder@redhat.com>
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".
14942 2001-11-05 Jim Blandy <jimb@redhat.com>
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
14948 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
14951 2001-11-01 Michael Snyder <msnyder@redhat.com>
14953 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
14954 and regular expression operators by using quoting.
14956 2001-10-31 Michael Snyder <msnyder@redhat.com>
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 &"
14964 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
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.
14972 2001-10-30 Michael Snyder <msnyder@redhat.com>
14974 * gdb.base/jump.exp: Allow it to run for all targets.
14976 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
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
14986 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
14988 * gdb.base/ending-run.exp: Create identical output when passing
14989 `step to end of run' case. Add regular expression branch satisfying
14992 2001-10-28 Mark Kettenis <kettenis@gnu.org>
14994 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
14995 that we catch the expected failure under Linux/x86.
14997 2001-10-29 Orjan Friberg <orjanf@axis.com>
14999 * gdb.base/setvar.exp: Escape curly braces.
15000 * gdb.stabs/weird.exp: Ditto.
15002 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
15004 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
15005 * gdm.mi/mi0-hack-cli.exp: Likewise.
15007 2001-10-25 Andrew Cagney <ac131313@redhat.com>
15009 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
15012 2001-10-21 Andrew Cagney <ac131313@redhat.com>
15014 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
15015 checking MI enabled.
15017 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
15019 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
15021 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
15023 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
15024 if gdb child process crashes, just signal an error.
15026 2001-10-02 Jim Blandy <jimb@redhat.com>
15028 * lib/gdb.exp (test_xfail_format): Simplify.
15030 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
15031 front of the variable name `format'. Simplify `if'.
15033 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
15035 * gdb.threads/pthreads.exp: Wait for output and delay
15038 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
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.
15044 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
15046 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
15047 check to allow additional `int'.
15049 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
15051 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
15052 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
15054 2001-09-27 Michael Snyder <msnyder@redhat.com>
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.
15065 2001-09-27 Michael Snyder <msnyder@redhat.com>
15067 * gdb.base/cvexpr.exp: New file.
15068 * gdb.base/cvexpr.c: New file
15069 Test for expressions using const and volatile keywords.
15071 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
15073 * gdb.base/constvars.exp: Check for different orders of keywords
15074 and additional "int" strings in output.
15076 2001-09-22 Andrew Cagney <ac131313@redhat.com>
15078 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
15079 responses from "help maint".
15081 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
15083 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
15084 to localhost:NNN instead of :NNN, in case Xvfb is listening
15087 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
15089 * gdb.base/recurse.exp: When checking leaving the watchpoint
15090 scope, recognize when gdb is in function's epilogue and pass.
15092 2001-09-18 Keith Seitz <keiths@redhat.com>
15094 * lib/insight-support.exp (_gdbtk_export_target_info): Add
15095 support for running tests against sid targets.
15096 (gdbtk_done): Ditto.
15098 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
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.
15105 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
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'.
15112 2001-09-17 Jim Blandy <jimb@redhat.com>
15114 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
15115 overflowing the limited breakpoint tables on some ROM monitors
15118 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
15120 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
15121 the "-ac" (disable access control) flag.
15123 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
15125 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
15128 2001-08-30 Keith Seitz <keiths@redhat.com>
15130 * lib/gdb.exp: Move all insight-related functionality into
15132 * lib/insight-support.exp: New file.
15134 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
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.
15140 2001-08-18 Andrew Cagney <ac131313@redhat.com>
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.
15146 2001-08-18 Andrew Cagney <ac131313@redhat.com>
15148 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
15149 beginning of function. Fix PR gdb/191.
15151 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
15153 * config/sid.exp (sid_start): Don't warn if we cannot figure out
15154 what to force sid endianness to.
15156 2001-08-15 Keith Seitz <keiths@redhat.com>
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.
15162 2001-08-02 Michael Snyder <msnyder@redhat.com>
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.
15168 2001-08-02 Dave Brolley <brolley@redhat.com>
15170 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
15172 2001-07-25 Michael Snyder <msnyder@redhat.com>
15174 * gdb.base/consecutive.exp: New file. Test stepping over
15175 breakpoints on consecutive instructions.
15176 * gdb.base/consecutive.c: New file.
15178 * gdb.base/call-rt-st.exp: Use double-backslash to quote
15179 curly braces in regular expressions.
15181 2001-07-25 Michael Snyder <msnyder@redhat.com>
15183 * gdb.base/ending-run.exp: Accept "Program exited normally" as
15184 legitimate output from stepping out of main.
15186 2001-07-22 Keith Seitz <keiths@redhat.com>
15188 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
15189 the empty string, do not run the tests.
15191 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
15193 * gdb.base/long_long.exp: Detect size of pointer. Take into
15194 account 2-byte pointers when testing for p/a results.
15196 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
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.
15205 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
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.
15211 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
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.
15217 2001-07-12 Mark Kettenis <kettenis@gnu.org>
15219 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
15220 running this test on Linux.
15222 2001-06-24 Michael Chastain <chastain@redhat.com>
15224 * gdb.base/arithmet.exp: Remove some tests to make all test names
15227 2001-07-03 Michael Snyder <msnyder@redhat.com>
15229 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
15230 the output of the ptype command.
15232 2001-07-02 Michael Snyder <msnyder@redhat.com>
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.
15238 2001-06-28 Andrew Cagney <ac131313@redhat.com>
15240 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
15241 of files to delete.
15243 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
15244 * gdb.disasm/h8300s.exp: New file.
15245 gdb.disasm/h8300s.s: Likewise.
15247 2001-06-27 Andrew Cagney <ac131313@redhat.com>
15249 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
15250 empty breakpoint tables.
15252 2001-06-25 Andrew Cagney <ac131313@redhat.com>
15254 * lib/mi-support.exp: Update args=... part of stop-reason
15255 patterns. Accept either a list or a tuple.
15257 2001-06-23 Andrew Cagney <ac131313@redhat.com>
15259 * lib/mi-support.exp: Remove local emacs variable defining
15260 change-log-default-name.
15262 2001-06-22 Michael Chastain <chastain@redhat.com>
15264 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
15265 This is operationally compatible with the previous version.
15267 2001-06-13 Jim Blandy <jimb@redhat.com>
15269 * lib/gdb.exp (gdb_test): Doc fix.
15271 2001-06-10 Michael Chastain <chastain@redhat.com>
15273 * gdb.base/exprs.exp: Remove a duplicate test.
15275 2001-06-06 Jim Blandy <jimb@redhat.com>
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
15281 2001-06-04 Michael Snyder <msnyder@redhat.com>
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.
15287 2001-06-06 Jim Blandy <jimb@redhat.com>
15289 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
15290 Don't forget to match the GDB prompt.
15292 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
15294 2001-06-04 Jim Blandy <jimb@redhat.com>
15296 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
15299 2001-05-31 Kevin Buettner <kevinb@redhat.com>
15301 * gdb.base/annota1.exp (info break): Match four or more spaces
15304 2001-05-31 Michael Chastain <chastain@redhat.com>
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.
15311 2001-05-29 Kevin Buettner <kevinb@redhat.com>
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.
15317 2001-05-24 Michael Snyder <msnyder@redhat.com>
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
15323 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
15324 debugging. If test fails, issue an "unsupported" not a "fail".
15326 2001-05-24 Jim Blandy <jimb@redhat.com>
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,
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.
15338 2001-05-24 Michael Snyder <msnyder@redhat.com>
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.
15344 2001-05-23 Kevin Buettner <kevinb@redhat.com>
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.
15350 2001-05-19 Michael Chastain <chastain@redhat.com>
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.
15362 2001-05-21 Kevin Buettner <kevinb@redhat.com>
15364 * gdb.base/finish.exp (finish_void): Allow "finish" command to
15365 stop on the call statement as well as the statement after the
15368 2001-05-21 Michael Snyder <msnyder@redhat.com>
15370 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
15372 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
15374 * gdb.base/completion.exp: Revamp test. Make it execute on all
15377 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
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
15385 2001-05-07 Keith Seitz <keiths@cygnus.com>
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
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.
15400 2001-05-06 Jim Blandy <jimb@redhat.com>
15402 * restore.c: Make the code of caller0 correspond to its comment.
15404 2001-05-03 Michael Snyder <msnyder@redhat.com>
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.
15412 2001-04-24 Jim Blandy <jimb@redhat.com>
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.
15418 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
15421 2001-04-22 Michael Chastain <chastain@redhat.com>
15423 * gdb.c++/local.exp: Use the 'runto' library function.
15424 * gdb.c++/namespace.exp: Likewise.
15425 * gdb.c++/overload.exp: Likewise.
15427 2001-03-26 Kevin Buettner <kevinb@redhat.com>
15429 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
15430 * gdb.base/step-line.exp: New file. Test step/next in presence of
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.
15436 2001-03-21 Jim Blandy <jimb@redhat.com>
15438 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
15439 unmangled operator names.
15441 2001-03-20 Jim Blandy <jimb@redhat.com>
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.
15447 2001-03-19 Andrew Cagney <ac131313@redhat.com>
15449 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
15451 2001-03-12 Michael Chastain <chastain@redhat.com>
15453 * gdb.c++/derivation.exp: Use the 'runto' library function.
15455 2001-03-12 Michael Chastain <chastain@redhat.com>
15457 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
15459 2001-02-24 Michael Chastain <chastain@redhat.com>
15461 * gdb.c++/ref-types.exp: Change handwritten code to library
15464 2001-03-16 Orjan Friberg <orjanf@axis.com>
15466 * gdb.base/signals.exp: Set count to 0 explicitly.
15468 2001-03-15 Mark Salter <msalter@redhat.com>
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.
15475 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
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.
15481 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
15484 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
15487 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
15488 * gdb.c++/namespace.exp: Ditto.
15490 2001-03-07 Orjan Friberg <orjanf@axis.com>
15492 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
15493 * gdb.base/pointers.exp: Relax pattern match of decimals.
15495 2001-03-06 Kevin Buettner <kevinb@redhat.com>
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
15568 2001-02-27 Michael Snyder <msnyder@cygnus.com>
15570 * gdb.base/varargs.c (find_max_double): Fix printf format string:
15571 first arg is int not float.
15573 2001-02-22 Michael Snyder <msnyder@cygnus.com>
15575 * gdb.base/reread.exp: Unsupported for non-native targets;
15576 doesn't work for remote debugging.
15578 2001-02-19 Fernando Nasser <fnasser@redhat.com>
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.
15584 2001-02-19 John Moore <jmoore@redhat.com>
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.
15590 2001-02-18 Michael Chastain <chastain@redhat.com>
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.
15598 2001-02-14 Michael Chastain <chastain@redhat.com>
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.
15604 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
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.
15610 2001-02-11 Michael Chastain <chastain@redhat.com>
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.
15638 2001-01-30 Kevin Buettner <kevinb@redhat.com>
15640 * gdb.c++/templates.cc (printf): Remove unused function definition.
15642 2001-01-26 Felix Lee <flee@redhat.com>
15644 * sid.exp (sid_exit): Pass host, not target, to remote_close.
15646 2001-01-25 matthew green <mrg@redhat.com>
15648 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
15650 (sid_exit): Call `remote_pop_conn' after GDB is gone.
15652 2001-01-25 matthew green <mrg@redhat.com>
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.'
15658 2001-01-25 matthew green <mrg@redhat.com>
15660 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
15662 2001-01-28 Michael Chastain <chastain@redhat.com>
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
15684 2001-01-17 Ben Elliston <bje@redhat.com>
15686 * config/sid.exp: New file.
15688 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
15690 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
15692 2000-12-21 Michael Snyder <msnyder@cygnus.com>
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.
15697 2000-12-20 Fernando Nasser <fnasser@redhat.com>
15699 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
15701 2000-12-18 Michael Snyder <msnyder@cygnus.com>
15703 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
15704 in regexp. One '\' does not suffice on Linux.
15706 2000-12-09 Michael Chastain <chastain@redhat.com>
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).
15715 2000-12-07 Michael Snyder <msnyder@cygnus.com>
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.
15721 2000-12-05 Michael Snyder <msnyder@cygnus.com>
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.
15732 2000-12-05 Michael Snyder <msnyder@cygnus.com>
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.
15744 2000-11-22 Michael Chastain <chastain@redhat.com>
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.
15752 2000-11-17 Nick Duffek <nsd@redhat.com>
15754 * lib/gdb.exp (gdb_test): Override timeout with board info.
15756 2000-11-17 Nick Duffek <nsd@redhat.com>
15758 * gdb.base/display.exp: Don't kill running stub. Add "again" to
15759 the second kill and detach messages.
15761 2000-11-17 Nick Duffek <nsd@redhat.com>
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
15772 2000-11-17 Nick Duffek <nsd@redhat.com>
15774 * gdb.base/break.exp: Test backtrace and finish from called
15775 function on all platforms, not just HP-UX.
15777 2000-11-03 Michael Snyder <msnyder@cygnus.com>
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.
15783 2000-11-03 Michael Snyder <msnyder@cygnus.com>
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.
15800 2000-11-13 Fernando Nasser <fnasser@redhat.com>
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.
15806 2000-11-09 Fernando Nasser <fnasser@redhat.com>
15808 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
15809 spelling "cancelled" to U.S. spelling "canceled" to match changes
15811 * gdb.c++/ovldbreak.exp: Ditto.
15813 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
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.
15821 2000-10-24 Michael Snyder <msnyder@cygnus.com>
15823 * gdb.base/commands.exp: Break up long lines, and re-indent.
15825 2000-10-19 Michael Snyder <msnyder@cygnus.com>
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.
15831 2000-10-16 Michael Snyder <msnyder@cygnus.com>
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.
15838 2000-10-13 Michael Snyder <msnyder@cygnus.com>
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.
15847 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
15849 * gdb.base/sizeof.c: include <stdio.h>.
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.
15855 2000-07-26 Scott Bambrough <scottb@netwinder.org>
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
15863 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
15865 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
15866 * gdb.java/configure: Rebuild.
15868 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
15870 * gdb.java/jv-exp.exp: New file.
15872 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
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.
15883 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
15885 * gdb.base/exprs.exp: Test casts to a pointer including over and
15888 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
15890 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
15891 and the compilers sizes.
15893 2000-07-09 Nick Duffek <nsd@redhat.com>
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.
15901 2000-07-09 Nick Duffek <nsd@redhat.com>
15903 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
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().
15912 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
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.
15919 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
15921 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
15923 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
15925 * gdb.base/maint.exp: Add 'maint print architecture' item to output
15926 of 'help maint print' command.
15928 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
15930 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
15931 they use gdb_expect_list.
15933 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
15935 * gdb.base/commands.exp: Use ``set remote
15936 memory-read-packet-size'' instead of ``set endian big'' to test
15939 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
15941 * gdb.c++/templates.exp (do_tests): Make all of these work under
15942 g++, and stop skipping them.
15944 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
15947 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
15950 2000-06-02 Michael Snyder <msnyder@cygnus.com>
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.
15957 2000-06-02 Michael Snyder <msnyder@cygnus.com>
15959 * gdb.c++/local.exp: This test has never been known to work with g++.
15961 2000-05-18 Michael Snyder <msnyder@cygnus.com>
15963 * gdb.base/annota1.exp (annotate-signal-handler-caller):
15964 Relax the regular expression a little, make it pass on Solaris 8.
15966 2000-05-12 Kevin Buettner <kevinb@redhat.com>
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
15973 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
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.
15984 2000-05-08 Michael Snyder <msnyder@cygnus.com>
15986 * gdb.base/interrupt.exp: Make "pass" message say "send"
15987 rather than "send_gdb" (for consistancy).
15989 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
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
15995 2000-04-28 Michael Snyder <msnyder@cygnus.com>
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.
16000 2000-04-26 Michael Snyder <msnyder@cygnus.com>
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.
16008 2000-04-24 Michael Snyder <msnyder@cygnus.com>
16010 * gdb.base/miscexprs.exp: make sizeof long array test portable.
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'.
16018 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16020 * gdb.base/help.exp: Update output for add-symbol-file command.
16022 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
16024 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16025 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
16027 2000-04-07 J.T. Conklin <jtc@redback.com>
16029 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
16031 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
16033 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
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
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.
16044 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16046 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
16048 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
16050 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
16052 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
16054 * gdb.base/commands.exp (deprecated_command_test): Add test for
16055 deprecate with no arguments.
16057 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
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
16063 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
16065 From David Whedon <dwhedon@gordian.com>
16066 * gdb.base/commands.exp : Added command deprecator tests.
16068 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
16070 * gdb.base/help.exp: Added test for new apropos command.
16072 2000-03-21 Kevin Buettner <kevinb@redhat.com>
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.]
16081 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16083 * gdb.base/printcmds.c: Add typedeffed arrays.
16085 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
16086 procedure to test arrays that are typedef'd.
16088 2000-03-13 James Ingham <jingham@leda.cygnus.com>
16090 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
16091 the library directories.
16093 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
16095 * configure.in (configdirs): Add sub directory gdb.mi.
16096 * configure: Re-generate.
16098 * gdb.mi: New directory.
16100 2000-02-25 Scott Bambrough <scottb@netwinder.org>
16102 * gdb.base/long_long.exp: Correct test suite failure when printing
16103 a long long value as a double on ARM platforms.
16105 2000-02-16 Jim Blandy <jimb@redhat.com>
16107 * gdb.base/break.exp ("breakpoint line number"): Make sure the
16108 default source file is set properly before running this test.
16110 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16112 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
16113 gdbtk/library directory, not in gdbtcl2.
16115 2000-02-04 Jim Blandy <jimb@redhat.com>
16117 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
16118 backslash from regexp pattern.
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.
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.
16131 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
16133 * gdb.base/ptype.exp: Establish a default source file before
16134 calling get_debug_format.
16136 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
16138 * gdb.base/watchpoint.exp: Remove duplication of test messages.
16140 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
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.
16146 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
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().
16151 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
16153 * gdb.base/default.exp: Fix expected pattern.
16154 * gdb.base/help.exp: Same.
16156 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.
16161 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
16164 * gdb.base/selftest.exp: Update to reflect changes to main.c.
16166 2000-01-07 Michael Snyder <msnyder@cygnus.com>
16168 * gdb.base/display.exp: Some yacc parsers like to say
16169 "A syntax error" rather than "A parse error". Accept both.
16171 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
16173 * gdb.base/default.exp: Remove OS dependent string from "target
16175 * gdb.base/help.exp: Same for "help target remote" test.
16177 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16179 From Jim Kingdon <kingdon@redhat.com>:
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).
16185 2000-01-02 Fred Fish <fnf@cygnus.com>
16187 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
16188 AIX, which defines them in <sys/types.h>.
16190 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
16192 * gdb.base/default.exp: Match arm* etc instead of arm in "info
16195 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
16197 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
16199 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
16200 outermost frame disallowed".
16202 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
16204 * gdb.base/setvar.exp: New tests for setting the value of a struct
16205 with a constant list.
16207 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
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.
16212 1999-12-06 Jim Blandy <jimb@cygnus.com>
16214 * gdb.base/default.exp: Expect the new 'info float' command on
16215 all i386 platforms.
16217 * gdb.threads/linux-dp.exp: Expand our ability to recognize
16218 LinuxThreads libraries that don't support debugging.
16220 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16222 * gdb.base/remote.c: Fill the buffer with truely random data.
16223 Change the buffer type to ``unsigned char'' to simplify size
16226 * gdb.base/remote.exp: Reduce download numbers by one. Typical
16227 stub only handles 400-1 byte packets. Verify that the download
16230 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
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.
16236 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
16238 * lib/gdb.exp (gdb_expect_list): Fix spelling.
16240 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16242 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
16245 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16247 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
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.
16257 1999-11-22 Jim Blandy <jimb@cygnus.com>
16259 * gdb.base/step-test.exp: Properly await GDB's response to setting
16260 a breakpoint on the call to large_struct_by_value.
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.
16265 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
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.
16272 1999-11-18 Tom Tromey <tromey@cygnus.com>
16274 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
16276 1999-11-18 Fred Fish <fnf@cygnus.com>
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.
16282 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
16284 * gdb.base/dollar.exp: Remove, now in gdb.hp.
16286 1999-11-10 Jimmy Guo <guo@cup.hp.com>
16288 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
16290 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
16293 * gdb.c++/derivation.exp: remove redundant get compiler info code.
16295 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
16296 'continue with watch' test point.
16298 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
16300 Merged from p2linux-990323-branch:
16302 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
16304 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
16306 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
16307 {limit,fixed}''. Test ``set download-write-size''.
16309 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
16311 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
16314 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
16316 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
16318 1999-11-03 Mark Salter <msalter@cygnus.com>
16320 * gdb.base/break.exp: Fix "stub continue" pattern.
16322 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
16324 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
16326 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
16328 * gdb.base/display.exp ("finish"): Add timeout clause.
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
16334 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
16335 breakpoint hit messages include an address.
16337 * gdb.base/display.exp: Don't forget to escape parens in regular
16338 expressions. Unix regexp notatation sucks.
16340 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16342 * gdb.base/annota1.exp: Test for annotate-signalled: change output
16343 order for 'signalled' message.
16345 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
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.
16351 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
16353 * gdb.base/remote.exp: New test for remote downloading settings.
16354 * gdb.base/remote.c: New file with large .data.
16356 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
16358 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
16359 for LinuxThreads support, merged from the Code Fusion branch.
16361 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
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
16368 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
16370 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
16373 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
16375 * gdb.base/break.c (main): Added a statement that we can step
16377 * gdb.base/break.exp: Added tests for setting a breakpoint
16378 at an offset and stepping onto a breakpoint.
16380 1999-10-01 Fred Fish <fnf@cygnus.com>
16382 * gdb.base/help.exp (help add-symbol-file): Update to match current
16385 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
16387 * gdb.base/break.exp: Code locations are in hex, don't forget!
16390 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
16392 * condbreak.exp: Use break.c as test program.
16393 * condbreak.c: Remove, redundant with break.c.
16395 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
16397 * config/monitor.exp (gdb_target_monitor): Disable X- and
16398 Z-packets if the target needs it.
16400 1999-09-13 James Ingham <jingham@leda.cygnus.com>
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.
16406 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
16408 * long_long.exp: Add variations of test cases that work for
16409 targets with 16-bit ints and 32-bit doubles.
16411 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
16413 * break.c (main): Compare a possibly-uninitialized argc with an
16414 unlikely value that fits in 16 bits.
16416 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
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.
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.
16431 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
16433 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
16435 * gdb.base/corefile.exp (up): Allow a parameter to appear
16436 in the frame that we're going up to.
16438 From Jim Blandy <jimb@cygnus.com>:
16440 * gdb.base/default.exp (info float): Expect some output now.
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.
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
16452 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
16454 * gdb.base/selftest.exp: Add case for when version prints as
16455 constant string instead of char pointer.
16457 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
16459 * gdb.base/ending-run.exp: Add Solaris case for what happens when
16460 stepping out of main.
16462 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
16465 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
16466 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
16468 * gdb.c++/ovldbreak.exp: Update match string in test that
16469 includes a warning of multiple breakpoints.
16471 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
16473 * gdb.base/display.exp: Improve precision of step-after-finish
16476 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
16479 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
16480 configs when using G++, not just hppa*.
16482 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16484 * gdb.base/async.c: New file.
16485 * gdb.base/async.exp: New file.
16487 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
16489 * gdb.base/break.exp: Tweak PA specific tests to properly handle
16492 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
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.
16498 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
16501 * gdb.base/attach.exp: Handle another hpux11 error message variant
16502 when attaching to a process that does not exist.
16504 1999-08-19 J.T. Conklin <jtc@redback.com>
16506 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
16507 characters in 'continue to 1241' test.
16509 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
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.
16517 1999-08-13 Keith Seitz <keiths@cygnus.com>
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.
16528 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
16530 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
16533 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
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
16543 gdb.hp/tools: New directory, aux tools for HP-specific tests.
16545 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
16547 * gdb.base/display.exp: Help expect by putting a newline in the
16548 funky printf, remove a bogus p/a test.
16550 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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
16556 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
16558 * gdb.base/step-test.exp: Removed some extraneous messages.
16560 * gdb.base/long_long.exp: Don't run memory examination tests
16561 on little-endian targets (they will need a different set of
16564 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
16566 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
16567 until somebody decides to fix GDB.
16569 * gdb.base/long_long.c: Stop compiler complaint by specifying long
16571 * gdb.base/long_long.exp: Loosen x/c test, add partial result
16572 matches for a couple x/2 commands.
16574 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
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.
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
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
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.
16614 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16616 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
16618 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
16620 * gdb.base/signals.exp: Don't expect getting a backtrace from
16621 within a signal handler to fail on Linux.
16623 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
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
16633 (gdb_preprocess): Call get_compiler.
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
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.
16658 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16660 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
16663 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16665 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
16666 Fix run to main failures. Watchpoint can be hardware watchpoint.
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.
16671 From Jim Kingdon <kingdon@redhat.com>:
16672 * gdb.base/annota1.exp: If printf has debug info, deal with it.
16674 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
16676 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
16677 gdb.base/foll-vfork.exp: Don't run for crosses.
16679 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
16681 * gdb.base/configure.in: Check for gdbvars.exp instead of
16683 * gdb.base/configure: Re-generate.
16685 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
16687 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
16688 in trying to run first and name is too long.
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
16695 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
16697 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
16698 callfuncs2.c and callfuncs2.exp.
16700 * gdb.base/list.exp: Remove mistaken xfails.
16701 * gdb.base/list0.h: Add optional prototypes.
16703 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
16705 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
16707 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
16708 * ptype.exp: Move test for get_debug_format to before its first
16711 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.
16718 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
16720 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
16721 a consistent format.
16723 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
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.
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.
16750 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
16751 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
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.
16758 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
16760 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
16762 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
16763 gdb.base/solib.exp: Fix compiler invocation process.
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
16769 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
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
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
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.
16799 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
16802 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
16804 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
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
16811 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
16813 * Makefile.in: Add empty html and install-html targets.
16815 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
16817 * config/mt-*: Remove, these haven't been used since 1996.
16819 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
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++.
16825 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
16827 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
16828 simpler match case for the ptype of the big class.
16830 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16832 * gdb.exp: Fix test for gdb_prompt existence.
16834 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16836 * gdb.exp (gdb_test): Add fail after calls to perror.
16838 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16840 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
16842 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
16844 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
16846 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
16848 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
16849 malloc() is linked in.
16851 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
16853 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
16856 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
16858 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
16860 * gdb.java/jv-print.exp: New file. (Our first Java test!)
16862 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
16864 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
16865 * gdb.base/mips_pro.exp: Likewise.
16867 1999-06-02 Keith Seitz <keiths@cygnus.com>
16869 * gdb.c++/templates.cc: Change all "new" operators to throw
16871 * gdb.c++/cplusfuncs.cc: Likewise.
16873 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
16875 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
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.
16881 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
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.
16889 1999-05-17 Keith Seitz <keiths@cygnus.com>
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.
16903 1999-05-06 Keith Seitz <keiths@cygnus.com>
16905 * gdb.base/annota2.cc: Include stdio.h.
16907 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
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
16919 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
16921 * gdb.base/call-ar-st.exp: Fix one regular expression in test
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.
16929 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
16931 * config/cfdbug.exp: New file.
16933 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
16935 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
16936 Marcus Daniel's and Dale Hawkins's demangler crashes.
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.
16943 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
16945 * gdb.c++/demangle.exp: Include the current demangling style
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.
16957 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
16959 * gdb.base/signals.exp (test_handle_all_print): Use () for
16960 grouping in expressions, not {}.
16962 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
16965 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
16967 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
16970 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
16972 * gdb.stabs/weird.exp: Test for CC being defined before
16973 looking at its value.
16975 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
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.
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.
16989 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
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
16996 * gdb.c++/overload.cc: Pass string instead of char addr, always
16998 * gdb.c++/templates.cc: Fix syntax error.
17000 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17002 * gdb.base/commands.exp: Add test for correct position of '>'
17003 when issuing the 'commands' command after a 'while' or 'if'
17006 1999-03-18 James Ingham <jingham@cygnus.com>
17008 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
17010 * gdb.c++/method.exp: It was testing an uninitialized int on the
17011 stack and assuming it was positive.
17013 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
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.
17019 * gdb.base/sigall.exp: use gdb_continue_to_end.
17021 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
17023 * gdb.base/display.exp: use runto_main, not run.
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.
17029 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
17030 run which doesn't work with monitors.
17032 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
17034 * gdb.base/break.exp: use the gdb_continue_to_end proc.
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...
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.
17045 1999-03-18 Mark Salter <msalter@cygnus.com>
17047 * lib/gdb.exp (continue_to_exit): New function.
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.
17053 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
17055 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
17056 (suggested by Art Haas <ahaas@neosoft.com>).
17058 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
17060 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
17062 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
17064 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
17065 descriptions of types (short unsigned int vs unsigned short, etc).
17067 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
17069 * gdb.base/call-strs.exp: Don't assume that `step' will step over
17070 a call to strlen; sometimes we do have sources.
17072 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
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.
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.
17091 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
17094 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
17096 * lib/gdb.exp: Doc fixes.
17098 1999-03-05 Nick Clifton <nickc@cygnus.com>
17100 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
17102 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
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.
17108 1999-03-01 James Ingham <jingham@cygnus.com>
17110 * Changelog entries merged over from gdb development branch.
17112 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
17114 * lib/gdb.exp (gdbtk_analyze_results): Generic function
17115 for outputting results of test run.
17117 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
17119 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
17121 1999-02-25 Felix Lee <flee@cygnus.com>
17123 * lib/gdb.exp (debug_format): initialize
17125 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
17127 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
17128 * gdb.base/call-rt-st.c: Ditto.
17130 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
17132 * gdb.threads/pthreads.exp (horiz): New variable.
17133 (test_startup): Fix regexps that capture thread numbers.
17135 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
17137 * gdb.base/smoke.exp: Disambiguate two test case names (both
17140 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
17142 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
17145 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
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
17156 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
17158 * gdb.base/help.exp ("help delete display"): Fix test to match
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.
17167 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17169 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
17171 * gdb.c++/method.exp: Add missing close brace.
17173 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
17175 * gdb.base/maint.exp: Use 'set height 0' to disable page
17176 prompting, not 'set height 400'.
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.
17186 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
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
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.
17197 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
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
17206 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
17208 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
17209 gdb.trace/Makefile.in (clean): Remove all test executables.
17211 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
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.
17217 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
17219 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
17220 and compiled w/o GCC.
17222 * gdb.hp/watch-cmd.exp: ditto.
17224 * gdb.hp/watch-hp.exp: ditto.
17226 * gdb.hp/xdb1.exp: ditto.
17228 * gdb.hp/xdb2.exp: ditto.
17230 * gdb.hp/dbx.exp: ditto.
17232 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
17234 * constvars.c: Remove C++-isms.
17235 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
17238 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
17240 The following changes are part of the HP merge.
17242 * gdb.base/break.exp: new tests to verify that catchpoints for
17243 fork, vfork, and exec don't trigger inappropriately.
17245 * gdb.base/opaque.exp: compile one file at a time, then link.
17247 * gdb.base/signals.exp: be more restrictive about which hppa
17248 systems receive a setup_xfail. new tests.
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.
17256 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
17257 tests. New tests for enums inside classes.
17259 * gdb.c++/compiler.cc: indicate support of template debugging.
17261 * gdb.c++/demangle.exp: run hp style demangling tests.
17263 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
17266 * gdb.c++/misc.cc: changes to support new tests.
17268 * gdb.c++/templates.cc: changes to support HP's compiler; changes
17269 to support new tests.
17271 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
17272 gcc, then skip these tests.
17274 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
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.
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.
17326 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
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.
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.
17361 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
17363 * gdb.base/default.exp: Reflect wording change in remote.c.
17365 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
17367 * gdb.base/help.exp: Update to reflect current text.
17369 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
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.
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
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.
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.
17403 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
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
17410 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
17411 skip tests. When compiling pass c++ flag to gdb_compile.
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.
17419 * configure.in (hpdir): decide whether to configure gdb.hp.
17420 * configure: regenerated.
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
17434 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
17435 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
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.
17441 * gdb.threads/pthreads.exp: fix typo in message.
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.
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.
17511 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
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.
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)
17522 maint demangle __dt__11T1__pt__2_cFv
17523 T1<char>::~T1(void)
17525 (test_hp_style_demangling): new hp specific demangling test cases.
17527 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
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.
17546 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
17548 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
17550 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
17552 From Brendan Kehoe:
17553 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
17556 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
17558 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
17559 remote dos host testing right.
17561 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
17563 * gdb.base/corefile.exp: remove some xfails.
17565 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
17567 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
17568 have different timestamps.
17570 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
17572 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
17573 gdb.base/default.exp: Replace "exec" with "executable".
17575 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
17577 * gdb.base/default.exp: Change else if to elseif from previous
17580 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
17582 * gdb.base/default.exp: Add brace missing from previous delta.
17584 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
17586 * gdb.base/default.exp: Support test for info float for all
17587 varieties of arm toolchain.
17589 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
17591 * gdb.trace/*.exp: remove "remote_download" command.
17593 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
17595 * gdb.trace/*.exp: remove -gdwarf from compile.
17597 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
17599 * gdb.trace/configure.in(AC_INIT): typo
17600 * gdb.trace/configure: regenerated
17602 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
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.
17616 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
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.
17624 1998-08-11 Dawn Perchik <dawn@cygnus.com>
17626 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
17628 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
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.
17634 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
17636 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
17637 * gdb.disasm/am33.exp: Corresponding changes.
17639 1998-07-11 Felix Lee <flee@cygnus.com>
17641 * gdb.base/callfuncs.exp: add cmp10 test.
17642 * gdb.base/callfuncs.c (cmp10): new function.
17644 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
17646 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
17647 into two parts to get around a synchronization problem in expect.
17649 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
17651 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
17653 * configure.in: Add options for gdbtk testsuite.
17655 * configure: Regenerate.
17657 * gdb.gdbtk: New directory to hold gdbtk tests.
17659 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
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
17666 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
17668 * am33.exp: Just compile, do not link the testcase.
17669 * am33.s: Add ".am33" pseudoop to force am33 mode.
17671 1998-06-25 Felix Lee <flee@cygnus.com>
17673 * gdb.base/setshow.exp: make sure $pc is sane.
17675 * gdb.stabs/weird.exp: split expect patterns properly.
17677 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
17679 * gdb.disasm/am33.s: New disassembler testfile for the am33.
17680 * gdb.disasm/am33.exp: Run it.
17682 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
17684 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
17685 match processing (and eliminate spurious timeouts when running).
17687 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
17689 * gdb.base/signals.exp (test_handle_all_print): put back Mach
17690 exception test, but conditionalize it on target [mach | gnu].
17692 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
17694 * gdb.base/overlays.exp: fixup compile line for linker script.
17696 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
17698 * gdb.fortran/types.exp: don't guess at float size.
17700 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
17702 * gdb.base/exprs.exp: delete test that depends on int size.
17704 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
17706 * config/sim.exp: Removed checks for target triplets.
17707 (gdb_target_sim): Use gdb,target_sim_options.
17709 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
17711 * gdb.base/reread.exp: New file.
17712 * gdb.base/reread1.c: New file.
17713 * gdb.base/reread2.c: New file.
17715 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
17717 * config/sim.exp: Use 'target sim -sparclite' when running
17718 SPARClite programs.
17720 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
17722 * gdb.base/structs2.exp: New file.
17723 * gdb.base/structs2.c: New file.
17725 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
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.
17737 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
17739 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
17740 (t_enum_value2): ditto
17741 (t_enum_value3): ditto
17743 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
17745 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
17746 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
17748 Use gdb_test instead of send_gdb/gdb_expect sequences.
17750 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
17752 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
17755 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
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
17761 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
17763 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
17764 more rigorous EGCS C++ error checking.
17766 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
17768 * gdb.base/help.exp: Clean up `help set args' and `help show args'
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
17778 Adjust expect pattern in `handle all print' test to match Apr 28 1997
17779 target.[ch] change.
17781 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
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.
17789 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
17791 * config/cygmon.exp: New file.
17793 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
17795 * gdb.base/list.exp: Fix problem with "list default lines around
17796 main" test on remote targets.
17798 * gdb.base/scope.exp: Fix problem with filelocal_bss before
17799 run test on remote targets.
17801 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
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.
17809 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
17811 * config/mn10300-eval.exp: New file to support MN10300 eval board.
17813 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
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.
17819 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
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.
17826 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
17828 * gdb.base/overlays.c (main): Exit normally when result is
17831 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
17832 map. Include space for printf in .text segment.
17834 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
17835 updated d10v memory VMA/LMA map.
17836 (D10VCopy): Call D10VTranslate.
17838 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
17840 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
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.
17849 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
17852 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
17854 * gdb.base/overlays.exp: fix up and get working again.
17855 Add tests for backtraces from an overlay function.
17857 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
17859 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
17860 "calling function with watchpoint enabled".
17862 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
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.
17869 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
17871 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
17873 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
17875 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
17876 * config/dve.exp: New file to support Densan boards.
17878 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
17880 * gdb.base/interrupt.exp: Document problem of simulators, signals,
17883 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
17885 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
17888 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
17890 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
17892 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
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.
17900 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
17902 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
17905 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
17907 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
17908 Update test of set args help to match source change.
17910 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
17912 * gdb.base/default.exp: Expect help system output to be in
17913 alphabetical order.
17914 * gdb.base/help.exp: Ditto.
17916 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
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.
17923 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
17924 define vxworks when building the testcase.
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.
17932 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
17934 * gdb.base/callfuncs.exp: Fix indentation.
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
17941 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
17943 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
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.
17952 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
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
17958 (runto_main): Use gdb_step_for_stub.
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
17971 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
17972 * gdb.c++/cplusfuncs.cc: Ditto.
17973 * gdb.c++/virtfunc.cc: Ditto.
17975 * config/monitor.exp: Keep track of the last file we saw, rather
17976 than trying to get the info from gdb.
17978 * gdb.fortran/types.exp: Move comment to previous line.
17980 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
17982 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
17985 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
17988 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
17989 string from GDB when it connects.
17991 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
17993 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
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.
17999 * gdb.stabs/weird.exp: Fix quoting.
18001 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
18003 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
18005 * config/arm-ice.exp: New file.
18007 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
18009 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
18010 until it has been modified to work with the new testsuite.
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
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.
18021 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
18023 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
18025 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
18027 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
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.
18042 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
18044 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
18045 host doesn't have a currently-open connection.
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.
18051 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
18052 same thing in a totally different way.
18054 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
18056 (gdb_start): We set the global gdb_prompt variable in
18057 default_gdb_init now.
18059 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
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.
18065 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
18067 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
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.
18073 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
18075 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
18076 global variables. Handle getting a value for $timeout more
18079 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
18081 * lib/gdb.exp: Close connection to remote host if gdb doesn't
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.
18087 * config/monitor.exp(gdb_load): Fix typo in regexp.
18089 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
18091 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
18093 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
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.
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.
18106 * gdb.disasm/hppa.exp: Don't use exec_output.
18108 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
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.
18114 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
18115 test_calls after restarting.
18117 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
18120 * gdb.base/watchpoint.exp: Fix typo.
18122 * gdb.base/setshow.exp: Check for use_gdb_stub.
18124 * gdb.base/break.exp: Fix continue until exit test for the gdb
18126 * gdb.base/langs.exp: Ditto.
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.
18132 * config/i386-bozo.exp: New file.
18134 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
18136 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
18139 * config/proelf.exp: New entry.
18141 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
18143 * lib/gdb.exp: Remove spurious .* patterns at the beginning
18146 * gdb.base/watchpoint.exp: Don't run the test_stepping
18147 tests if gdb can't call functions on the target.
18149 * gdb.base/setshow.exp: Don't run the set prompt tests if
18150 the board has gdb_prompt set.
18152 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
18154 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
18155 * gdb.base/commands.exp: Likewise.
18156 * gdb.base/setshow.exp: Likewise.
18158 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
18160 * config/monitor.exp(gdb_start): Look for gdb_prompt target
18163 * config/i960.exp: New file.
18165 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
18167 * gdb.base/funcargs.exp: Check for gdb,short_int target
18168 feature instead of looking for explicit target triplets.
18170 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
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
18177 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
18179 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
18182 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
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".
18188 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
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
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.
18198 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
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.
18204 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
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.
18209 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
18210 "Tests restarted" messages.
18212 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
18214 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
18216 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
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.
18227 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
18229 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
18231 (gdb_stop_suppressing_tests): Note that tests have restarted.
18233 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
18235 * config/h8300.exp: New file.
18237 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
18239 * gdb.base/setshow.exp: Check for the existence of a
18240 feature, not its value.
18242 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
18244 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
18246 * gdb.base/scope.exp: It's now init0(), not init().
18248 * gdb.base/scope0.c: For now, change init() to be init0().
18250 * config/monitor.exp: Use gdb_serial in preference to serial
18253 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
18254 and it's not already set.
18256 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
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.
18261 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
18263 * config/udi.exp(gdb_start): Make sure UDICONF is set
18264 properly before starting gdb.
18266 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
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.
18272 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
18274 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
18275 specialized code to reboot the board, use remote_reboot instead.
18277 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
18279 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
18281 * config/monitor.exp: Make sure we disconnect from the target.
18282 Also, try a reboot/reload cycle instead of failing if the
18285 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
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.
18292 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
18293 set, use remote_ld to download the testcase instead of
18296 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
18298 * config/vr5000.exp: New file.
18300 * config/monitor.exp(gdb_target_monitor): Add pattern for
18301 "Ending remote" to detect errors in connecting.
18303 * gdb.base/setshow.exp: Add .* within auto language test.
18305 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
18308 * config/monitor.exp(gdb_load): Check for a failure when loading,
18309 and reboot the board if necessary.
18311 * gdb.base/setvar.exp(test_set): Handle multiple prints within
18312 a set of tests. Remove print.* from the patterns being checked.
18314 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
18316 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
18317 refer to gdb_spawn_id.
18319 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
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.
18327 * lib/gdb.exp:Remove references to gdb_spawn_id.
18328 (gdb_expect): Move to remote.exp.
18330 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
18332 * config/monitor.exp: Detect the "Couldn't establish connection"
18335 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
18337 * gdb.base/bitfields.exp: Use runto instead of explicit
18338 gdb_run_cmd/gdb_expect sequences.
18340 * gdb.base/break.exp(text_next_with_recursion): Add match for
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.
18347 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
18348 to 20000. Really. I mean it.
18350 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
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
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.
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.
18376 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
18378 * config/vr4300.exp: New file.
18380 * gdb.*/*.exp: Call gdb_expect instead of expect.
18382 * lib/gdb.exp(gdb_expect): New function.
18384 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
18386 * lib/gdb.exp(gdb_init): New function.
18388 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
18389 for each individual variable set.
18391 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
18394 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
18396 * gdb.base/scope.exp: Use gdb_test.
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.
18402 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18404 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
18406 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
18408 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
18409 and "add_tests" are not at the same address.
18411 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
18413 * gdb.base/ptype.exp: Use gdb_test.
18415 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
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.
18421 * gdb.stabs/*.mt; Deleted, no longer used.
18422 * gdb.stabs/configure.in: Remove references to target makefile
18424 * gdb.stabs/configure: Rebuilt.
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.
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.
18435 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
18437 * config/udi.exp: Use mondfe,name instead of remote_host.
18439 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
18441 * gdb.base/watchpoint.exp: Don't expect a failure when calling
18442 a function with a watchpoint enabled on the mn10200.
18444 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
18445 before trying to create it!
18447 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
18449 * config/vx.exp: Use hostname instead of netport.
18451 * config/vxworks.exp: New file.
18453 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
18455 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
18456 gdb before assuming everything worked. Send a ^C if a timeout
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.
18464 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
18466 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
18469 * gdb.base/recurse.exp: Relax final value test for 'b' so that
18470 it doesn't lose for 16bit integer systems.
18472 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
18474 * gdb.fortran/types.exp: If the target doesn't support "double"
18475 data types, then expect "real" types to only be 4 bytes.
18477 * gdb.c++/virtfunc.exp: Expect failure for virtual function
18478 call tests if the target doesn't support inferior function calls.
18480 * gdb.base/printcmds.exp: Allow minor deviation in FP values
18483 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
18485 * gdb.base/help.exp: Disable "help set", "help show", and
18486 "help support". Simplify regexp for "help stack".
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.
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.
18500 * gdb.base/recurse.exp: Enable for the mn10200.
18502 * configure.in: Do configure gdb.stabs directory for *-*-elf
18504 * configure: Rebuilt.
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.
18512 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
18514 * config/sh.exp: New file.
18516 * config/slite.exp: Try to connect multiple times to the board
18517 before rebooting. Only send a "monitor run" if need_monitor_run
18520 * gdb.base/break.exp: Don't do the "stub continue" test if
18521 the target has gdb_stub set.
18523 * gdb.base/callfuncs.exp: Increase the timeout.
18525 * gdb.base/interrupt.exp: Don't even try to compile the testcase
18526 if the target has gdb,noinferiorio set.
18528 * gdb.base/list.exp: Increase match_max to 10000 characters.
18530 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
18532 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
18535 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
18537 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
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.
18544 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
18546 * lib/gdb.exp(gdb_test): Surround the result pattern with
18547 parenthesis in case it contains multiple regexps separated
18550 * gdb.base/watchpoint.exp: Use gdb_test.
18551 * gdb.base/default.exp: Ditto.
18553 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
18555 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
18557 * gdb.base/scope.exp: Use gdb_test.
18558 * gdb.c++/classes.exp: Ditto.
18559 * gdb.c++/inherit.exp: Ditto.
18561 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
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.
18568 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
18570 * config/slite.exp: Miscellaneous fixes.
18572 * lib/gdb.exp: Fix runto.
18574 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
18577 * gdb.base/watchpoint.exp: Fix regexp.
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".
18583 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
18585 Major rewrite for testsuite revision.
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
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.
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.
18600 config/*-gdb.exp: Rename without the -gdb suffix.
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.
18607 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
18617 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
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.
18623 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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*.
18629 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
18631 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
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.
18642 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
18644 * configure, */configure: Rebuild with autoconf 2.12.
18646 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
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.
18655 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
18656 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
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.
18663 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
18674 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
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
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.
18688 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
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.
18694 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
18696 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
18697 force argument to an unsigned long type.
18699 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
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
18711 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
18713 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
18714 always failing and failure is now exposed by gdb.exp changes.
18716 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
18718 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
18719 weren't being noted.
18721 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
18723 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
18724 * gdb.stabs/weird.exp: Remove v_comb xfails.
18726 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
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)".
18732 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
18734 * config/monitor.exp: Increase download timeout to 1000 seconds.
18736 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
18738 * config/m32r.exp: Increase timeout to 120 seconds.
18740 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
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.
18747 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
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
18754 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
18756 * config/m32r.exp: New file.
18758 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
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.
18763 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
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.
18770 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
18772 * testsuite/gdb.base/break.exp: Make backtrace from factorial
18774 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
18777 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
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.
18784 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
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
18794 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
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.
18803 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
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.
18826 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
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.
18834 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
18836 * Makefile.in (VPATH): Add
18837 * Makefile.in (Makefile, config.status): Fix rules so things get
18838 remade when necessary.
18840 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
18842 * Makefile.in (just-check): Add path to sibling expect dir
18843 to environment variable specified by RPATH_ENVVAR.
18845 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
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
18851 * configure.in: Add support to recognize --enable-shared flag
18852 and generate correct value for RPATH_ENVVAR.
18853 * configure: Regenerated with autoconf.
18855 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
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.
18866 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
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.
18887 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
18889 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
18891 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
18893 * gdb.base/structs.exp: Undo last change.
18895 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
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"
18906 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
18907 for "runto test_calls(void)" test.
18909 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
18911 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
18912 and don't expect address info in breakpoint confirmations.
18914 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
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
18921 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
18923 * gdb.base/list.exp (test_forward_search): Fix to handle very
18924 long source line without overflowing expect's input buffer.
18926 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
18928 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
18931 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
18934 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
18937 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
18940 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
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.
18948 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
18950 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
18952 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
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
18961 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
18963 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
18966 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
18968 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
18970 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
18972 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
18973 timeout by 60 seconds.
18975 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
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
18981 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
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.
18988 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
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.
19010 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19012 * gdb.threads/Makefile.in (docdir): Removed.
19014 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
19016 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
19017 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
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.
19023 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
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.
19029 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
19031 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
19033 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
19035 * gdb.base/callfuncs.exp: Finish last change -- make sure the
19036 prototype information ends up in the compiler info file.
19038 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
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.
19062 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
19069 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
19071 * gdb.base/break.exp: Ignore compiler warnings when compiling
19073 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
19074 * gdb.base/default.exp: Add h8300 xfails. Handle messages
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
19083 * gdb.base/return.exp: Handle float/double precision problems
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.
19089 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
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
19096 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
19098 * sim-gdb.exp: Make the SH simulator allocate less space when
19101 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
19103 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
19106 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
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.
19121 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
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.
19127 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
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.
19140 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
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
19150 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
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
19156 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
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.
19178 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
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".
19184 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
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.
19190 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
19192 * gdb.base/return.exp (return_tests): Differentiate between
19193 two tests of continuing.
19195 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
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.
19202 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
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.
19207 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
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.
19224 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19226 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
19227 Feb 3 procfs.c change.
19229 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
19231 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
19233 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
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.
19240 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
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
19246 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
19248 * configure.in (CY_AC_PATH_TCLH): Remove.
19249 * configure: Regenerate.
19251 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
19253 * gdb.c++/Makefile.in (clean): Add missing '{'.
19255 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
19257 * lib/gdb.exp: Provide a default value for noinferior.
19259 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
19262 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
19264 * gdb.disasm/hppa.exp: Compile directly into an executable, use
19265 the executable, not the .o to run the tests from.
19267 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
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.
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.
19278 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
19280 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
19281 * gdb.base/signals.exp (continue to handler): Likewise.
19283 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
19285 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
19287 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
19289 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
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.
19296 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
19298 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
19299 [] tests with "test" and enclose string in quotes.
19300 * gdb.stabs/configure: Rebuild
19302 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
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.
19312 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
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.
19318 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
19320 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
19322 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
19323 which sed script to run. Expect failure for v_comb test
19326 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
19328 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
19329 "print func2::coremaker_local" and for "backtrace in corefile.exp"
19331 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
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".
19353 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
19355 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
19357 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
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
19362 * gdb.c++/*.exp: Likewise.
19364 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
19366 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
19367 "bt in signals.exp".
19369 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
19371 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
19372 "step over execarg initialization" and
19373 "step over corearg initialization".
19375 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
19377 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
19378 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
19380 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
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 :
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
19406 * lib/gdb.exp: Changes for testsuite to compile own test cases.
19408 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
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".
19415 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
19421 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
19423 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
19424 * gdb.base/corefile.exp: Likewise.
19425 * gdb.base/funcargs.exp: Likewise.
19427 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
19429 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
19430 * config/monitor.exp: Add support for setting baud rate.
19432 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
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".
19442 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
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.
19448 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
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.
19454 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
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.
19459 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
19461 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
19462 * gdb.disasm/hppa.s: Corresponding changes.
19464 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
19466 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
19468 * config/mt-hpux: Deleted.
19470 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
19472 * Many files: When warning about suppressed tests due to a
19473 nonexistant test binary, avoid incrementing the warning count.
19475 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
19477 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
19479 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19481 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
19482 "sparc-*-solaris2*".
19484 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
19497 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
19499 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
19500 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
19502 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
19504 * Makefile.in (maintainer-clean): New target, synonym for
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.
19513 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
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
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
19541 "whatis datalocal",
19544 "whatis bsslocal", and
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
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.
19570 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
19577 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19579 * gdb.base/setvar.exp: Add new testcases for truncation when
19580 assigning invalid values to bitfields.
19582 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
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.
19590 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
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.
19598 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
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
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"
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".
19645 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
19652 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
19654 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
19655 test for PRO targets.
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*
19662 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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".
19670 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
19672 * configure.in: Only configure gdb.chill for particular targets.
19674 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
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
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
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"
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.
19791 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
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.
19799 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
19801 * gdb.base/whatis.exp: Likewise.
19803 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
19805 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
19806 failure (opcode table has been fixed to match reality).
19808 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
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"
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"
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?).
19826 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
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".
19847 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
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.
19854 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
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.
19863 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
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".
19878 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
19880 * Update all FSF addresses except those in COPYING* files.
19882 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
19884 * gdb.base/a2-run.exp: Change messages to be more explicit about
19885 the status of args, and quote binfile in results.
19887 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
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.
19894 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19896 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
19898 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
19900 * config/vxworks29k.exp: New file, sources vxworks.exp.
19902 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19904 * config/gdbremote.exp: New file. Testing framework using
19907 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
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.
19921 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
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.
19928 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
19930 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
19932 * gdb.base/signals.exp: Disable whole file for lynx until
19935 * gdb.base/signals.exp: xfail test where "next" acts like
19936 "continue" for lynx.
19938 * gdb.base/interrupt.exp: xfail test for calling function while
19939 inferior is asleep for lynx.
19941 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
19942 than one cr-lf after each command.
19944 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19946 * configure.in: Reinstate setting of stabsdirs variable, fix
19947 typo in setting up configdirs for native builds.
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.
19953 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
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
19960 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19962 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
19963 after the inferior gdb has started.
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.
19977 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
19978 test if we can't handle IO to/from the inferior.
19980 * gdb.c++/misc.exp: Always check for a program already being
19981 started after sending a "run" command to gdb.
19983 * gdb.base/twice.exp: Start with a fresh gdb.
19985 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
19986 only depend on gdb's expression code, not the chill runtime.
19988 * gdb.base/return.c: Put return values into variables so we
19989 can have gdb print them rather than depending on the program
19991 * gdb.base/return.exp: Corresponding changes.
19993 * lib/gdb.exp: Provide default value for noinferiorio.
19994 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
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
20003 * gdb.base/commands.exp: Protect tests which need arguments with
20004 $noargs conditionals.
20006 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20008 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
20009 of structure member arrays to match gdb/valops.c:value_addr change.
20011 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
20013 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
20016 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
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.
20026 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
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.
20039 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
20041 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
20043 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
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.
20050 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20052 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
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".
20059 * gdb.base/setvar.exp: Make test names consistent between pass and
20060 fail cases. Use gdb_test more.
20062 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20064 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
20066 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20068 * gdb.base/help.exp: Fix expected help string for `show commands'.
20070 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
20072 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
20074 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
20077 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
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.
20083 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
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.
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
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.
20114 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
20116 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
20118 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20120 * lib/gdb.exp: Disable chill tests for irix5.
20122 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20124 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
20125 each test pass or fail.
20127 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20129 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
20132 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
20134 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
20136 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
20138 * config/est.exp: Fix copyright and comments. Remove dead code.
20139 Use targetname, serialport and baud variables instead of fixed
20141 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
20142 * config/cpu32bug.exp: New file to support cpu32bug monitors.
20144 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20146 * gdb.base/watchpoint.exp: Don't run
20147 test_watchpoint_triggered_in_syscall for sunos.
20149 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
20154 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20156 * gdb.base/a1-selftest.exp: Add alpha xfail.
20158 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
20166 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20168 * gdb.base/recurse.exp: Fix comment.
20170 * TODO: Remove item about printing variables in nodebug.exp. Add
20171 item about enabling tests which are only run on some targets.
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.).
20177 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
20178 fail, make test names unique, etc.).
20180 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20182 * gdb.base/nodebug.c: Change return type of top and middle to
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.
20188 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
20198 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20200 * gdb.base/break.exp: Look for different line number for
20201 breakpoint at main depending on usestubs.
20203 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
20210 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20212 * lib/gdb.exp: If nosignals is not set, set it to 0.
20214 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
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.
20220 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
20222 * gdb.base/list.exp: Adjust line contents after adding new lines in
20223 list0.c. Also fix a syntax error.
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.
20233 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
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.
20240 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
20242 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
20244 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
20250 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
20256 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20258 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20260 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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).
20269 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
20271 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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_*
20278 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20280 * gdb.base/break.exp (test_next_with_recursion): Accept any line
20281 number (we are already testing that the correct source line text
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.
20288 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
20290 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
20291 apparently went with a (very) old xfail.
20293 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
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
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
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.
20327 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20329 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
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.
20336 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
20338 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20340 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
20342 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
20344 * config/mt-slite: add LIBS and -nostdlib.
20345 * config/slite-gdb.exp: add this new file to support sparclite target.
20347 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
20349 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
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.
20355 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
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.
20361 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20363 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
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).
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.
20375 * gdb.base/nodebug.c (array_index): Call malloc.
20377 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
20379 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
20381 * gdb.base/recurse.exp: Update gdb_test invocation to use new
20382 conventions and slightly simplify the matching regexp.
20384 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20386 * gdb.base/break.exp: Update gdb_test invocation to use new
20389 * lib/gdb.exp: If noargs is not set, set it to 0.
20391 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
20394 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
20396 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20398 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
20399 one argument of type "<non-float parameter>".
20401 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
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.
20411 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
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.
20425 * gdb.base/signals.exp (signal_tests_1): Make pass message
20426 consistent with fail message.
20428 * gdb.base/whatis.exp: Remove xfails for printing char vs.
20429 unsigned char; the bug (PR 1821) is fixed.
20431 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
20433 * gdb.base/scope.exp (test_at_localscopes): Call pass for
20434 successful tests--makes xfailing them work right.
20436 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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
20446 * Many .exp files: Update callers.
20448 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
20449 clearer and does not spuriously match multiple ('s. Likewise for
20452 * gdb.base/nodebug.exp: Test ability to call a function and pass
20453 it a string (even with no debugging info).
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).
20460 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
20462 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20464 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
20465 1817) was fixed literally years ago.
20467 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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'
20475 * gdb.c++/templates.exp: Source templ-info.exp only if
20476 the templates executable exists.
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.
20483 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20485 * gdb.base/langs2.c (cppsub_): Don't prototype.
20486 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
20489 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20491 * lib/gdb.exp (skip_chill_tests): New procedure.
20493 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
20495 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
20497 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
20498 each expect pattern. Cuts runtime from 12 to about 4 seconds.
20500 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20502 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
20504 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
20505 disassemble 8, not 16, instructions for part 4.
20507 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
20508 support the latter anymore.
20510 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
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.
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
20522 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
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
20527 * config/mips-gdb.exp: Fix a couple regular exp bugs.
20529 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
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.
20535 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20537 * gdb.base/term.exp: Do not give a warning if not native, it is
20538 not an abnormal condition.
20540 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
20542 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
20545 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
20547 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
20548 are getting the version number.
20550 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
20551 if not native, it is not an abnormal condition.
20553 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20555 * lib/gdb.exp: Just use "file exists", rather than undocumented
20556 dejagnu procedure "findfile".
20558 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20560 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
20561 (LDFLAGS): Set to -Xlinker -Ur.
20563 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
20564 Removed, these values are set by lib/gdb.exp.
20566 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
20568 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
20570 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
20571 of replicating gdb startup code.
20573 * config/mt-vxworks (LDFLAGS): Set to -r.
20574 (CFLAGS_FOR_TARGET): Removed.
20576 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
20577 (gdb) and gdb for vxworks uses (vxgdb).
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
20584 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
20585 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
20587 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20589 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
20590 floats, chars, and shorts where there are ANSI-style function
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.
20598 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20600 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
20601 went with the const70 xfail. The xfail went away a year ago.
20603 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
20605 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
20608 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
20610 * gdb.base/a1-selftest.exp: Don't run on hp300.
20612 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20614 * Makefile.in (site.exp): Set host_alias and target_alias as well
20615 as host_triplet and target_triplet.
20617 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20619 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
20621 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
20622 places as other ecoff systems).
20624 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
20627 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20629 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
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.
20635 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
20637 * gdb.base/list1.c (long_line): Add additional statement at start
20639 * gdb.base/list.exp (test_forward_search): Update line number to
20640 reflect new statement.
20642 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20644 * gdb.base/signals.exp: Reinitialize searched source directories
20645 after gdb_start call.
20647 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
20649 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
20650 * gdb.stabs/Makefile.in: Likewise.
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.
20656 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
20661 * gdb.base/funcargs.exp: Modify many tests so that every test
20662 either passes or fails. Make some test names unique.
20664 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20666 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
20667 Call stty to set interrupt character.
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.
20673 * TODO: Suggest a few more stepping tests.
20675 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
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.
20685 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20687 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
20688 higher, these tests generate a lot of output.
20690 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
20702 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
20704 * gdb.base/commands.exp: Make test names unique; every test either
20705 passes or fails. Update some comments.
20707 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
20709 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
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.
20724 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
20726 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
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
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.
20752 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20754 * gdb.base/nodebug.exp: Update new tests to reflect improved
20755 wording of gdb output.
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.
20761 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20763 * gdb.base/setvar.c (dummy): Call malloc.
20765 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
20766 losing with the irix4 sed.
20768 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
20771 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20773 * TODO: Remove items about corefile.exp testing new exec-file and
20774 backtrace; both are now done. Add items about printing enums.
20776 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20778 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
20779 "get signal $thissig" test fails.
20781 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
20783 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20785 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
20786 compiler warning with dec alpha compiler.
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.
20793 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
20794 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
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.
20800 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
20802 * gdb.base/help.exp: Don't test "help show".
20804 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
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.
20811 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
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.
20821 * gdb.base/corefile.exp: Also test backtrace.
20823 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
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".
20829 * gdb.base/commands.exp: Test if/while commands as part of a
20830 breakpoint command list; verify they appear in breakpoint
20833 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20835 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
20836 than by dividing by zero.
20838 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
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
20845 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20847 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
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.
20854 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
20856 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
20858 * gdb.base/help.exp: Replace most of docstrings for "info signals"
20859 and "signal" with ".*".
20861 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
20863 * TODO: Add note about "handle all nostop".
20865 * gdb.base/{sigall.c, sigall.exp}: New test.
20866 * gdb.base/Makefile.in: Add it.
20868 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
20870 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
20871 when invoking GDB, suppresses any windowing interface.
20873 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
20875 * config/sim-gdb: New file, simulator testing support.
20877 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
20879 * gdb.base/interrupt.exp: Test calling func1 twice.
20881 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
20883 * gdb.base/list.exp (test_forward_search): Set timeout higher
20884 when we'll be getting lots of output from gdb.
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
20891 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20893 * gdb.base/printcmds.exp: New test, for printing register before
20894 program is running.
20896 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20898 * gdb.base/list.exp: Correct some alternate expect patterns
20899 to reflect changes in list1.c.
20901 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
20903 * TODO: Add item regarding large frames.
20905 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
20907 * TODO: Remove item about enabling return.exp; it
20908 is enabled. Suggest a few more "return" tests.
20910 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20912 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
20915 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
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
20921 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
20923 * gdb.base/list.exp: Adjust expectations to reflect changes in
20925 (test_forward_search): New test proc.
20926 * gdb.base/list1.c (long_line): New function, has long source line.
20928 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
20930 * gdb.base/a1-selftest.exp: Change initial stepping to know about
20931 additional line of code that was added.
20933 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
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.
20939 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
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
20953 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
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
20960 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20962 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
20963 through signal handler.
20965 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
20967 * configure.in (*-*-netware): Use config/mt-netware.
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
20974 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20976 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
20977 by the recent changes to use ANSI C arithmetic conversions.
20979 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
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
20985 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
20987 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
20988 match the current disassembler output.
20990 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
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).
20996 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
20998 * gdb.base/commands.exp: New tests for if/while commands.
21000 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
21002 * lib/gdb.exp (runto): Replace sub-pattern for hex value
21003 by .*, since hex values have different syntax in Chill mode.
21005 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21007 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
21008 linefeed from expect pattern for repeated types with indices > 9.
21010 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
21012 First part of Fortran test suite.
21013 * gdb.fortran: New directory.
21014 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
21016 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21018 * gdb.base/default.exp: Update expect pattern for load command
21021 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
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.
21028 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
21030 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
21031 patterns, since that is not a valid context for comments.
21033 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
21035 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
21036 repeated types and repeated types with indices > 9.
21038 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
21040 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
21041 2417; old bug has been fixed.
21043 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
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.
21049 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
21052 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
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
21060 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21062 * config/netware.exp: New file.
21064 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
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.
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.
21072 * gdb.base/types.c: Removed.
21074 * gdb.base/configure.in: Look for makefile fragments in ../config.
21075 Recognize i386-*-netware.
21076 * gdb.c++/configure.in: Likewise.
21078 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21080 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
21081 the correct TCL syntax.
21083 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21085 * gdb.base/opaque.exp: use runto instead of messing around with
21086 breakpoints. Simplify by using gdb_test.
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.
21092 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
21094 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
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.
21100 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
21102 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
21104 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
21107 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21109 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
21111 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
21113 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
21114 * gdb.base/funcargs.exp: Likewise.
21116 * gdb.base/bitfields.exp: Simplify by using gdb_test.
21117 * gdb.base/funcargs.exp: Likewise.
21119 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
21122 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21124 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
21125 return,signals,twice}.exp: Handle non-existant binaries
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.
21132 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21134 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
21135 runtest script is relative to ${srcdir}, not ${rootdir}.
21137 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
21139 * gdb.base/signals.exp: Allow for optionality of breakpoint
21142 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21144 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
21146 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
21148 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
21149 for size_t definition.
21150 * gdb.c++/templates.cc: Likewise
21152 * config/mt-i386-netware: New file.
21154 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
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.
21161 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21163 * gdb.base/return.exp: Add comment and message for `return double'
21164 test failure on Sparc Solaris.
21166 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
21168 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
21170 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
21179 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
21186 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
21194 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
21196 * lib/gdb.exp (string_to_regexp): Set a default result.
21197 (default_gdb_start): Fix misleading message.
21199 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
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.
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
21223 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
21225 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
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.
21231 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
21233 * lib/gdb.exp (string_to_regexp): Convert {\} also.
21235 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
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.
21246 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
21253 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
21254 don't give an error.
21256 * gdb.base/term.exp: Call delete_breakpoints before starting.
21258 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
21259 (t10): Add comment.
21261 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
21263 Reorganization of the GDB Test Suite.
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++,
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.
21296 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
21298 Various changes to gdb.t31:
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.
21304 * chillvars.exp: Use gdb_test_exact many places.
21305 Change expected output for arrays (which now includes index labels).
21307 * pr-5020.exp, gdme.ch (module PR_5020):
21308 New test, for PR-5020.
21310 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
21312 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
21313 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
21315 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
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.
21323 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
21325 * Revert the previous changes. Please see Rob's directory
21326 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
21328 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
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
21348 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
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.
21354 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
21356 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
21357 lib/gdb.exp: Replace error proc calls with perror.
21359 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
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.
21365 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
21367 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
21368 (CFLAGS): Delete it from here.
21370 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
21372 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
21374 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
21376 * Makefile.in (RUNTEST): Default to just "runtest".
21378 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
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.
21384 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21386 * gdb.t00/default.exp (set write): Allow any number of \r and/or
21387 \n, not just one of each.
21389 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
21390 /bin/cc gives a warning if you do.
21392 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
21394 * gdb.t24/demangle.exp: change expect pattern of
21395 __t10ListS_link1ZUiRCUiPT0
21397 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21399 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
21400 on local variables in recursive functions.
21402 * gdb.t07/Makefile.in: Build the new test.
21404 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21406 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
21407 directly. Instead compare the return values from actual calls.
21409 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
21411 * Makefile.in (check): Set TCL_LIBRARY for runtest.
21413 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
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.
21420 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
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.
21427 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
21428 conditions to work with latest dejagnu/expect.
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).
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.
21444 * hppa.sed: Enclose comments within a sed command to avoid
21445 losing with the old OSF1 sed.
21447 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21449 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
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
21456 * gdb.t15/gdbme.c: Add comment to closing brace of
21457 call_with_trampolines for funcargs.exp.
21459 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21461 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
21464 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21466 * gdb.t07/gdbme.c: More code for watchpoint testing.
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.
21473 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21475 * gdbme.c (call_with_trampolines): New function to try and step
21476 into. Tests trampoline problems on the PA.
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.
21482 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21484 * TODO: Add suggestions for static member function tests, and
21487 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21489 * TODO: Add suggestions for "p/a" tests.
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.
21495 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21497 * TODO: Add suggestions for shared library tests.
21499 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21501 * TODO: Add suggestions for x/s tests.
21503 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21505 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
21506 "enable once", and "enable breakpoints once" with ".*".
21508 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21510 * TODO: Add suggestions about structure passing tests.
21512 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
21521 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
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.
21527 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
21529 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
21531 * Makefile.in: Use a fresh expect if there is one, use runtest
21532 from the src tree if there is one.
21534 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
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.
21540 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
21541 with next over a breakpoint whose condition is false.
21543 * gdb.t00/help.exp: Comment out "help set print" tests just like
21544 (and for same reason as) "help set" test.
21546 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21548 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
21549 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
21551 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21553 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
21554 necessary gdb_target_udi.
21556 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
21558 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
21559 1838 and 2417; they are fixed.
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.
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.
21568 * gdb.t01/run.exp: Only run shell test if isnative.
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.
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
21579 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
21581 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
21583 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
21585 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
21593 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
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.
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.
21604 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
21605 string. No longer expected to fail.
21607 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21609 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
21610 No longer expected to fail.
21612 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
21613 string. No longer expected to fail.
21615 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
21623 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21625 * gdb.t00/default.exp: Match udi_attach error message as well as
21626 the one from child_attach.
21628 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
21630 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
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.
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
21644 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
21650 * gdb.t00/help.exp: Comment out "help support" test just like
21651 (and for same reason as) "help set" test.
21653 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
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
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
21667 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21669 * configure.in (hppa*-*-*): Also configure and build stabs-only
21672 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
21674 * gdb.t10/hppa.mt: A makefile fragment for the PA.
21675 * gdb.t10/configure.in (hppa*-*-*): Use it.
21677 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21679 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
21681 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21683 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
21684 versions prior to 1.13.5.
21686 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21688 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
21689 the prompt is at the start of a line.
21691 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
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
21700 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
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.
21709 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21711 * gdb.t16/printcmds.exp (test_print_strings): Accept
21712 "(unsigned char *) " before the string.
21714 * TODO: Add notes about printing of fancy types and GDB expressions.
21716 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
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.
21722 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
21724 * Most .exp files: Tweak to run under either version of expect.
21726 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
21731 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
21733 * config/unix-gdb.exp: Remove gdb_unload cause it's already
21734 defined in lib/gdb.exp.
21736 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
21743 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
21745 * TODO: Add suggestion for copyright year test.
21747 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
21749 * configure.in (*-*-lynxos*): Add stabs tests.
21751 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
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.
21756 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
21758 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
21760 (fpu_short_memory_tests): Likewise.
21762 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
21768 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21770 * TODO: New file, describing tests we could write.
21771 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
21773 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21775 * gdb.t06/signals.exp: Add kludge to force re-sync.
21777 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
21778 to xgdb instead of gdb, get out of gdb.
21780 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
21782 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
21785 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
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.
21791 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21793 * gdb.stabs: Re-write weird.def and configuration to use sed
21794 instead of cpp. sed is portable and POSIX; cpp is neither.
21796 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21798 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
21800 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21802 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
21804 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21806 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
21808 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
21809 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
21811 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21813 * lib/gdb.exp: Comment out code which depends on non-existent
21814 `transform' procedure.
21816 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
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.
21823 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21825 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
21827 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
21834 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
21836 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
21838 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21840 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
21842 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
21843 It is not from PR 3220.
21845 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
21852 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21854 * gdb.t09/corefile.exp: At end of test, use "core" command with
21857 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
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
21864 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21866 * gdb.t15/funcargs.exp: Don't put comments on same line as
21867 setup_xfail (@#$*%& tcl braindamage!).
21869 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21871 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
21873 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
21875 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
21876 * gdb.t20/inherit.exp: remove three dumplicate entries.
21878 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21880 * gdb.t06/break.exp: For "next over recursive call", fail on any
21881 incorrect output, not just on "factorial (value=2)".
21883 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
21889 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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?
21896 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
21898 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
21900 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
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.
21906 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21908 * gdb.t00/help.exp: Don't test "help set".
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.
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.
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.
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.
21924 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
21926 * gdb.t06/signals.exp: Add xfail for sun3.
21928 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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
21934 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
21942 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
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
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.
21959 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
21965 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
21967 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
21969 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
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.
21979 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
21980 Accept spaces various places.
21982 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
21984 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
21985 with watchpoint enabled.
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
21992 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
21994 * gdb.t17/callfuncs.exp: Add "return 0" to end.
21996 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
22002 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
22004 * config/vx-gdb.exp: Use fake device to load files rather than
22006 * lib/gdb.exp: New proc to do "file" command.
22007 * config/unix-gdb.exp: Use new "file" proc.
22009 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
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,
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.
22032 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
22034 * gdb.stabs: Renamed *wierd* to *weird*.
22036 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
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.
22041 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
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.
22046 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
22048 * Makefile.in: Made cross building work better by adding
22049 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
22051 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22053 * gdb.t15/{return.c,return.exp,Makefile.in}:
22054 New test, currently commented out.
22056 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
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
22062 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
22064 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
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.
22072 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22074 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
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.
22080 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
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.
22086 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
22088 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
22089 an expected fail for certain ptype commands.
22091 * gdb.t20/classes.exp: Update expected results of "ptype class
22092 Base1" to account for the constructor that now appears in the type.
22094 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
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.
22108 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22110 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
22112 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
22114 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22116 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
22117 as vax gdb will display them.
22119 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22121 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
22124 * scope.exp: Change "bad value for localval" messages so each one
22127 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
22128 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
22130 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
22132 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22134 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
22135 doesn't exist (due to optimization).
22137 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22139 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
22140 contains \r because the filename is long.
22142 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
22143 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
22145 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
22150 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
22152 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
22154 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
22156 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
22158 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
22159 to match does not match the passing case but still matches the
22162 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22164 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
22166 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
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
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
22179 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22181 * gdb.t24/demangle.exp: Add tests for PR 3220.
22183 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22185 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
22187 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
22189 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
22190 "i386-*-*". Works for i486 as well.
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.
22196 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22198 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
22200 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
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.
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.
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.
22213 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22215 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
22216 for dynamically linked binaries.
22218 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
22220 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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++.
22225 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22227 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
22228 while waiting for `Continuing'.
22230 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
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.
22237 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22239 * config/unix-gdb.exp (gdb_exit): Add "wait".
22241 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22243 * gdb.t06/signals.exp: xfail the continue from the handler for all
22246 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
22247 function with watchpoints enabled, the i386 call dummy starts with
22250 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
22251 386 bsd names its corefiles.
22253 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
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.
22261 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
22263 * gdb.t09/Makefile.in (clean): Remove corefile.
22265 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22267 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
22269 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22270 and Jim Kingdon (kingdon@cygnus.com)
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).
22276 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22278 * gdb.t17/interrupt.exp: Add xfail for hppa.
22280 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
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.
22291 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22293 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
22295 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22297 * gdb.t06/break.exp: Also test `clear' command.
22299 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22301 * gdb.t00/teststrategy.exp: Remove extra quote.
22303 * gdb.t07/watchpoint.exp: Change xfail for calling function with
22304 watchpoint enabled to be for all non-68k machines.
22306 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
22308 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
22314 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
22316 * lib/gdb.exp (runto): Don't insist that function we are running to
22317 was compiled with -g.
22319 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
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.
22325 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
22332 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22334 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
22336 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22338 * gdb.t16/printcmds.exp: Add another printf test.
22340 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
22342 * configure.in: If configured -with-stabs on any target, add
22343 stabsdirs to configdirs.
22345 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22347 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
22348 fun" so pattern does not match the command itself.
22350 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22352 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
22354 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22356 * gdb.t17/interrupt.exp: Test for more things.
22358 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22360 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
22361 compiler arranges the code and line numbers.
22363 * gdb.t17/interrupt.exp: Don't send \n after ^C.
22365 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22367 * gdb.t00/help.exp: Increase expect input buffer size.
22369 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22371 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
22373 * gdb.t07/watchpoint.exp: Add xfail for hppa.
22375 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
22377 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
22378 [0-9]*, not just [0-9].
22380 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22382 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
22384 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
22386 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22388 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
22390 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22392 * gdb.t06/signals.c: Add xfails for sun3.
22394 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
22396 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
22397 test_stepping tests.
22399 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22401 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
22403 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
22405 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
22406 rather than actually putting it through cpp twice.
22408 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
22410 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
22412 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
22415 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22417 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
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.
22422 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22424 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
22425 Don't require VA to print as "class" rather than "struct".
22427 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
22429 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
22431 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22433 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
22435 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22437 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
22440 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22442 * gdb.t16/printcmds.exp: Add printf tests.
22444 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
22446 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
22448 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
22450 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
22451 pass counts, to counteract any existing or future setup_xfails.
22453 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
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.
22465 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22467 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
22468 get the expected next to inheritance3.
22470 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22472 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
22473 now that gcc-2.4 gets it right.
22475 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22477 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
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.
22482 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
22484 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
22487 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
22489 * gdb.t01/run.exp: Start with a fresh gdb.
22490 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
22493 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
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
22501 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
22503 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
22504 test cases from bug reports.
22506 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
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.
22515 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
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
22524 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
22526 * gdb.t12/scope.exp: Test printing of variables before run.
22528 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
22529 printed in wrong order due to sorting.
22531 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
22533 * gdb.t00/teststrategy.exp: Fix expected results for printing
22534 user entered string constant. Is array of char, prints with no
22537 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
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.
22545 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
22547 * gdb.t16/printcmd.exp: Print a variable before running program
22548 (with xfail for AIX).
22550 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
22552 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
22554 * gdb.t16/printcmd.exp: Don't print variables before running program.
22556 * gdb.t06/break.exp: Don't require envp argument to main.
22558 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
22560 * gdb.t02/whatis.exp, gdb.t11/list.exp:
22561 Add xfails for rs6000.
22563 * gdb.t02/whatis.exp: Change other tests not to re-test something
22566 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
22567 each type used has a variable of that type.
22569 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
22571 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
22573 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
22575 * configure.in: change srctrigger to be a file, not a directory
22577 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
22579 * configure.in (mips-idt-ecoff*): Added trailing '*'.
22581 * gdb.t11/list.exp: Fixed a couple of typos.
22583 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
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".
22591 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
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
22597 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
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.
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.
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).
22610 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
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.
22621 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
22627 * gdb.t00/default.exp: update info line for new message.
22629 * gdb.t02/{whatis.exp,gdbme.c}:
22630 Test that "char *" doesn't print as "caddr_t".
22632 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22634 * gdb.t00/help.exp: Use .* in place of some help messages which
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.
22640 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
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.
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).
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).
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.
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.
22662 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
22664 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
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.
22672 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22674 * configure.in: Do gdb.stabs and C++ tests only for stabs.
22675 * gdb.stabs: New directory.
22677 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
22679 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
22680 not just "Quit anyway?".
22682 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
22684 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
22685 that all setup_xfails are immediately followed by clear_xfails.
22687 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
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.
22703 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
22705 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
22706 with 0.0, not integer 0.
22708 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
22710 * gdb.t06/break.exp: Update for "Kill the program" message change.
22712 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
22714 * Makefile.in (GDBFLAGS): Set to -nx.
22715 * Makefile.in (site.exp): Use GDBFLAGS.
22717 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
22719 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
22721 (check): depend on just-check.
22722 (just-check): added so that tests can be run without a noop
22725 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
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.
22733 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
22735 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
22738 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
22740 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
22741 in explicit rules. Apparently this is not supported by some makes.
22743 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
22745 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
22747 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22749 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
22752 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
22754 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
22756 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
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
22765 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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
22770 * gdb.t09/corefile.exp: Make expected pattern for core file
22771 failing signal and frame output format less sun specific.
22773 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
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.
22780 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
22782 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
22784 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
22786 * Makefile.in: Added --srcdir when invoking runtest, removed the
22787 need for a local config file. (optional now)
22789 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
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.
22795 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
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.
22802 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22804 * config/unix-gdb.exp: Add missing return 0.
22806 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22808 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
22811 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
22813 * configure.in (subdirs): Put back gdb.t17 which mysteriously
22816 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
22818 * gdb.t10/crossload.exp: Disable the i860-elf test until such
22819 time as i860 support works.
22821 * gdb.t15/funcargs.exp: Fix expected outputs to include
22822 "backtrace 100\r" rather than just "backtrace\r", to match last
22825 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
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
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.
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.
22856 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
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
22862 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
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
22869 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
22871 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
22873 * gdb.t31/chillvars.exp: Comment out tests that depend on that
22876 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
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.
22885 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
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
22894 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
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.
22907 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
22909 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
22910 expected output to match current "expect" expectations.
22912 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
22914 * gdb.t00/default.exp: Change expected output for default "source"
22915 command, to match new gdb behavior which requires a filename to
22918 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
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
22937 gdb.t21/demangle.exp: Change all cfront references to 'arm'
22940 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
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.
22946 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
22948 * config/*-gdb.exp: returns an error, rather than exiting on
22951 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
22953 * gdb.t03/gdbme.c: Add pointer to struct variable.
22954 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
22955 referencing struct members.
22957 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
22959 * configure.in (mips-idt-ecoff): New target.
22960 * config/mips-gdb.exp: New file for remote board using MIPS remote
22961 debugging protocol.
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
22969 * lib/gdb.exp (runto): Don't expect () after the function name,
22970 because it may have arguments.
22972 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
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
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
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.
22993 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
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
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.
23003 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
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
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
23013 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
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
23024 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
23026 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
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.
23032 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
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.
23042 For additional changes see gdb.mi/ChangeLog-1999-2003.
23044 ;; Local Variables:
23045 ;; mode: change-log
23048 ;; version-control: never
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.