1 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
6 2011-12-08 Tom Tromey <tromey@redhat.com>
8 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
11 2011-12-07 Stan Shebs <stan@codesourcery.com>
13 * gdb.trace/tfind.exp: Update for output changes.
15 2011-12-07 Pedro Alves <pedro@codesourcery.com>
17 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
18 throws "Cannot insert catchpoints in this configuration".
19 * gdb.ada/mi_catch_ex.exp: Likewise.
21 2011-12-06 Pedro Alves <pedro@codesourcery.com>
23 * gdb.base/break-always.exp: Test changing memory at addresses
24 with breakpoints inserted.
26 2011-12-06 Joel Brobecker <brobecker@acacore.com>
28 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
29 involving a fully qualified function name.
31 2011-12-06 Tom Tromey <tromey@redhat.com>
33 * gdb.ada/homonym.exp: Add three breakpoint tests.
35 2011-12-06 Tom Tromey <tromey@redhat.com>
37 * gdb.base/solib-weak.exp (do_test): Remove kfail.
38 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
39 * gdb.objc/objcdecode.exp: Update for output changes.
40 * gdb.linespec/linespec.exp: New file.
41 * gdb.linespec/lspec.cc: New file.
42 * gdb.linespec/lspec.h: New file.
43 * gdb.linespec/body.h: New file.
44 * gdb.linespec/base/two/thefile.cc: New file.
45 * gdb.linespec/base/one/thefile.cc: New file.
46 * gdb.linespec/Makefile.in: New file.
47 * gdb.cp/templates.exp (test_template_breakpoints): Update for
49 * gdb.cp/re-set-overloaded.exp: Remove kfail.
50 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
52 * gdb.cp/method2.exp (test_break): Update for output changes.
53 * gdb.cp/mb-templates.exp: Update for output changes.
54 * gdb.cp/mb-inline.exp: Update for output changes.
55 * gdb.cp/mb-ctor.exp: Update for output changes.
56 * gdb.cp/ovsrch.exp: Use fully-qualified names.
57 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
59 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
61 * gdb.base/list.exp (test_list_filename_and_number): Update for
63 * gdb.base/break.exp: Disable pending breakpoints. Update for
65 * configure.ac: Add gdb.linespec.
67 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
69 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
71 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
72 last_break register on s390*-*-* targets.
74 2011-12-06 Joel Brobecker <brobecker@adacore.com>
76 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
77 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
78 of parameter X in procedure Foo.
80 2011-12-05 Stan Shebs <stan@codesourcery.com>
82 * gdb.trace/tfind.exp: Update help string matches.
84 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
86 * gdb.server/ext-run.exp (get process list): Accept also systemd
89 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
90 Pedro Alves <pedro@codesourcery.com>
92 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
94 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
96 * gdb.base/display.exp: Likewise.
97 * gdb.base/ending-run.exp: Likewise.
98 * gdb.base/list.exp (test_listsize): Likewise.
99 * gdb.base/setshow.exp: Likewise.
100 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
101 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
102 check by global $use_gdb_stub.
103 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
104 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
105 (default_gdb_init): Unset global $use_gdb_stub.
106 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
107 by global $use_gdb_stub.
108 * lib/gdbserver-support.exp: Extend comments for set_board_info
109 gdb_protocol and gdb,socketport.
110 (gdbserver_start_extended): Set global gdbserver_protocol and
111 gdbserver_gdbport. Clear global use_gdb_stub.
112 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
113 from target use_gdb_stub.
114 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
116 2011-12-03 Doug Evans <dje@google.com>
118 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
119 (gdb_step_for_stub): Add comments.
121 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
123 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
125 (gdb_test_multiple): Likewise.
127 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
129 Fix gdb.mi/mi-solib.exp without system debug info installed.
130 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
131 expect attribute, return 0 for it. Update comments.
133 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
135 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
136 (corrupted list): Adjust the expectation.
138 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
141 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
142 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
143 * gdb.threads/tls-var-main.c: New file.
144 * gdb.threads/tls-var.c: New file.
145 * gdb.threads/tls-var.exp: New file.
147 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
150 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
151 Protect gdb_test_multiple by final $gdb_prompt match.
152 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
153 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
154 (test_tracepoints): Likewise.
156 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
159 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
160 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
161 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
163 2011-12-01 Joel Brobecker <brobecker@adacore.com>
165 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
166 * gdb.ada/homonym/homonym.adb: For use of all types defined
167 locally inside both Get_Value subprograms.
169 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
172 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
175 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
177 * gdb.base/testenv.exp: Skip on remote targets. Unset global
178 environment variable after test completed.
180 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
182 * gdb.base/solib-nodir.exp: Skip if remote target.
183 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
184 application. Call gdb_load_shlibs.
185 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
187 2011-11-29 Joel Brobecker <brobecker@adacore.com>
189 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
191 2011-11-28 Joel Brobecker <brobecker@adacore.com>
193 * gdb.ada/fullname_bp: New testcase.
195 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
198 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
199 Wrap send_gdb into a new gdb_test.
202 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
203 Convert send_gdb and gdb_expect to gdb_test_multiple.
205 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
207 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
209 2011-11-23 Keith Seitz <keiths@redhat.com>
211 * lib/mi-support.exp (varobj_tree): New namespace and procs.
212 (mi_varobj_tree_test_children_callback): New proc.
213 (mi_walk_varobj_tree): New proc.
215 2011-11-22 Tom Tromey <tromey@redhat.com>
217 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
218 Add "use_mi_command" argument.
219 (mi_run_cmd, mi_run_with_cli): New procs.
220 * gdb.mi/solib-lib.c: New file.
221 * gdb.mi/solib-main.c: New file.
222 * gdb.mi/mi-solib.exp: New file.
224 2011-11-21 Doug Evans <dje@google.com>
226 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
227 _Unwind_DebugHook is missing.
229 2011-11-20 Stan Shebs <stan@codesourcery.com>
231 * gdb.trace/tstatus.exp: New.
232 * gdb.trace/actions.c: Include string.h.
234 2011-11-18 Yao Qi <yao@codesourcery.com>
236 * gdb.trace/pending.exp: New.
237 * gdb.trace/pending.c: New.
238 * gdb.trace/pendshr1.c: New.
239 * gdb.trace/pendshr2.c: New.
240 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
241 tracepoint location becomes pending.
242 (tracepoint_change_loc_2): New.
244 2011-11-16 David S. Miller <davem@davemloft.net>
246 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
247 target is sparc*-*-linux*
249 2011-11-15 Paul Koning <paul_koning@dell.com>
251 * gdb.python/py-type.exp: New testcases for exceptions on scalar
254 2011-11-14 Doug Evans <dje@google.com>
256 * gdb.base/shell.exp: New file.
258 2011-11-14 Stan Shebs <stan@codesourcery.com>
260 * gdb.trace/ftrace.c: New.
261 * gdb.trace/ftrace.exp: New.
263 2011-11-14 Yao Qi <yao@codesourcery.com>
265 * gdb.trace/change-loc-1.c: New.
266 * gdb.trace/change-loc-2.c: New.
267 * gdb.trace/change-loc.c: New.
268 * gdb.trace/change-loc.exp: New.
269 * gdb.trace/change-loc.h: New.
270 * gdb.trace/trace-break.c (marker): Define new symbol.
271 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
273 (break_trace_same_addr_6): New.
275 2011-11-12 Matt Rice <ratmice@gmail.com>
277 * gdb.base/info-macros.exp: Make tests for info definitions
278 test info macro. Add tests for info macro argument processing.
281 2011-11-11 Keith Seitz <keiths@redhat.com>
284 * gdb.base/linespecs.exp: New file.
286 2011-11-11 Doug Evans <dje@google.com>
288 * gdb.threads/print-threads.exp: Extend timeout for slower
291 2011-11-10 Doug Evans <dje@google.com>
293 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
294 "record to end of main" test.
296 * gdb.python/py-type.c (TS): New typedef.
298 * gdb.python/py-type.exp: Test field list of typedef.
300 2011-11-10 Joel Brobecker <brobecker@adacore.com>
302 * gdb.ada/small_reg_param: New testcase.
304 2011-11-09 Tom Tromey <tromey@redhat.com>
306 * gdb.cp/destrprint.exp: New file.
307 * gdb.cp/destrprint.cc: New file.
309 2011-11-08 Meador Inge <meadori@codesourcery.com>
311 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
312 (switch_stack_to_other): New test function.
313 * gdb.arch/thumb-prologue.exp: New test cases.
315 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
317 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
319 2011-11-08 Yao Qi <yao@codesourcery.com>
321 * gdb.exp (supports_process_record): New.
322 (supports_reverse): New.
323 * gdb.reverse/break-precsave.exp: Call support_process_record
324 to run test conditionally.
325 * gdb.reverse/consecutive-precsave.exp: Likewise.
326 * gdb.reverse/i386-precsave.exp: Likewise.
327 * gdb.reverse/machinestate-precsave.exp: Likewise.
328 * gdb.reverse/solib-precsave.exp: Likewise.
329 * gdb.reverse/step-precsave.exp: Likewise.
330 * gdb.reverse/until-precsave.exp: Likewise.
331 * gdb.reverse/watch-precsave.exp: Likewise.
332 * gdb.reverse/break-reverse.exp: Call support_reverse to run
334 * gdb.reverse/consecutive-reverse.exp: Likewise.
335 * gdb.reverse/finish-precsave.exp: Likewise.
336 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
337 * gdb.reverse/finish-reverse.exp: Likewise.
338 * gdb.reverse/i386-reverse.exp: Likewise.
339 * gdb.reverse/i386-sse-reverse.exp: Likewise.
340 * gdb.reverse/machinestate.exp: Likewise.
341 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
342 * gdb.reverse/sigall-precsave.exp: Likewise.
343 * gdb.reverse/sigall-reverse.exp: Likewise.
344 * gdb.reverse/solib-reverse.exp: Likewise.
345 * gdb.reverse/step-reverse.exp: Likewise.
346 * gdb.reverse/until-reverse.exp: Likewise.
347 * gdb.reverse/watch-reverse.exp: Likewise.
349 2011-11-05 Yao Qi <yao@codesourcery.com>
351 * gdb.trace/trace-break.exp: Add test on setting two
352 fast tracepoints at the same address.
354 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
356 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
358 2011-11-02 Stan Shebs <stan@codesourcery.com>
360 * gdb.trace/collection.c: Add code using strings.
361 * gdb.trace/collection.exp: Add tests of string collection.
363 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
365 * gdb.base/skip-solib.exp (executable_main): New variable.
366 (binfile_main): Base it on that.
367 Use $executable_main in clean_restart calls. Drop gdb_exit and
370 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
373 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
374 breakpoint_re globals import by async. Set string_regex to .* for
375 async. Remove the optional thread_selected_re and breakpoint_re
376 globals expectations.
378 2011-11-01 Joseph Myers <joseph@codesourcery.com>
380 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
383 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
385 Add tests for skip command.
386 * gdb.base/skip-solib-lib.c: New
387 * gdb.base/skip-solib-main.c: New
388 * gdb.base/skip-solib.exp: New
389 * gdb.base/skip.c: New
390 * gdb.base/skip.exp: New
391 * gdb.base/skip1.c: New
392 * gdb.base/Makefile.in: Adding new files.
394 2011-10-31 Yao Qi <yao@codesourcery.com>
395 Pedro Alves <pedro@codesourcery.com>
397 * gdb.trace/trace-break.c: New.
398 * gdb.trace/trace-break.exp: New.
400 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
402 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
405 2011-10-28 Pedro Alves <pedro@codesourcery.com>
407 * gdb.threads/no-unwaited-for-left.c: New.
408 * gdb.threads/no-unwaited-for-left.exp: New.
409 * gdb.threads/non-ldr-exc-1.c: New.
410 * gdb.threads/non-ldr-exc-1.exp: New.
411 * gdb.threads/non-ldr-exc-2.c: New.
412 * gdb.threads/non-ldr-exc-2.exp: New.
413 * gdb.threads/non-ldr-exc-3.c: New.
414 * gdb.threads/non-ldr-exc-3.exp: New.
415 * gdb.threads/non-ldr-exc-4.c: New.
416 * gdb.threads/non-ldr-exc-4.exp: New.
418 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
420 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
421 * gdb.base/attach-pie-misread.exp: Likewise.
422 * gdb.base/break-interp.exp: Likewise.
423 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
424 testcases for use_gdb_stub.
425 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
426 (continue): New testcase.
427 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
428 * gdb.threads/attach-into-signal.exp: Likewise.
429 * gdb.threads/attach-stopped.exp: Likewise.
430 * gdb.threads/attachstop-mt.exp: Likewise.
432 2011-10-28 Paul Koning <paul_koning@dell.com>
434 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
436 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
438 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
439 (mi_gdb_test): Import globals thread_selected_re
440 and breakpoint_re. Expect them optionally at the regex start.
442 2011-10-27 Doug Evans <dje@google.com>
444 * gdb.python/python.exp: Test source -s.
446 2011-10-26 Paul Koning <paul_koning@dell.com>
448 * gdb.python/lib-types.cc (struct A): New structure.
449 * gdb.python/lib-types.exp (deepitems): New tests.
451 2011-10-25 Paul Koning <paul_koning@dell.com>
455 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
458 2011-10-24 Yao Qi <yao@codesourcery.com>
460 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
463 2011-10-21 Joel Brobecker <brobecker@adacore.com>
465 * gdb.ada/mi_task_info/task_switch.adb: New file.
466 * gdb.ada/mi_task_info.exp: New file.
468 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
470 * gdb.cp/expand-psymtabs-cxx.exp: New file.
471 * gdb.cp/expand-psymtabs-cxx.cc: New file.
473 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
477 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
480 2011-10-18 Tom Tromey <tromey@redhat.com>
482 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
484 2011-10-18 Tom Tromey <tromey@redhat.com>
486 * gdb.base/source.exp: Don't include full file name in test name.
487 * gdb.python/python.exp: Don't include full file name in test
490 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
492 * gdb.base/attach-pie-noexec.c: New files.
493 * gdb.base/attach-pie-noexec.exp: New files.
495 2011-10-17 Joseph Myers <joseph@codesourcery.com>
497 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
498 prompt for each extra line in command.
500 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
502 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
504 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
505 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
506 Change the expected string.
508 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
510 Fix results with system glibc debug info installed.
511 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
512 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
513 Accept also __libc_ symbol prefix and no prefix.
515 2011-10-14 Keith Seitz <keiths@redhat.com>
518 * gdb.cp/converts.cc (foo3_1): New function.
519 (foo3_2): New functions.
520 * gdb.cp/converts.exp: Add tests for int to pointer conversion
521 and null pointer conversions of integer constant zero.
522 Add test to check if all arguments are checked for incompatible
525 2011-10-14 Tom Tromey <tromey@redhat.com>
527 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
528 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
531 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
533 Fix internal error regression.
534 * gdb.dwarf2/implptr-optimized-out.S: New file.
535 * gdb.dwarf2/implptr-optimized-out.exp: New file.
537 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
539 Fix empty DWARF expressions DATA vs. SIZE conditionals.
540 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
543 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
544 Use prepare_for_testing, remove clean_restart.
545 (p arraynoloc, p arraycallnoloc): New tests.
547 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
549 * gdb.cp/namespace-enum.exp (executable): New variable.
550 (binfile): Use ${objdir}/${subdir}/ prefix.
551 Use ${executable} for clean_restart.
553 2011-10-11 Sterling Augustine <saugustine@google.com>
555 * gdb.cp/Makefile.in: Add namespace-enum test.
556 * gdb.cp/namespace-enum.exp: New file.
557 * gdb.cp/namespace-enum.c: New file.
558 * gdb.cp/namespace-enum-main.c: New file.
560 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
562 * gdb.python/py-shared.exp: Relax filename check to handle remote:
565 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
567 Reimplement @entry in input expressions.
568 * gdb.base/exprs.c (v_int_array_init): New variable.
569 * gdb.base/exprs.exp (print v_int_array_init)
570 (print *v_int_array_init@1, print *v_int_array_init@2)
571 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
572 (print v_int_array_init[1]@1): New tests.
574 2011-10-10 Joseph Myers <joseph@codesourcery.com>
576 * gdb.cp/gdb2495.exp: Do not include directories in filename in
579 2011-10-09 Doug Evans <dje@google.com>
581 * gdb.base/alias.exp: Add tests for alias command.
583 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
585 * gdb.arch/amd64-entry-value.s: New file.
586 * gdb.mi/mi2-amd64-entry-value.s: New file.
588 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
590 Display @entry parameter values even for references.
591 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
593 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
594 reference and datap_input.
595 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
597 (continue to breakpoint: entry_reference: reference)
598 (entry_reference: bt at entry)
599 (continue to breakpoint: entry_reference: breakhere_reference)
600 (entry_reference: bt, entry_reference: ptype regparam)
601 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
602 (entry_reference: p regparam@entry, entry_reference: p ®param@entry)
603 (entry_reference: p regcopy, entry_reference: p nodataparam)
604 (entry_reference: p nodataparam@entry): New tests.
606 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
608 Support @entry in input expressions.
609 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
610 (entry_stack: p s1@entry, entry_stack: p s2@entry)
611 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
612 (tailcall: p j@entry): New tests.
613 * gdb.cp/koenig.cc (A::entry): New function.
615 * gdb.cp/koenig.exp (p entry (c)): New test.
617 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
619 Display @entry parameter values (without references).
620 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
621 (different, validity, invalid): New functions.
623 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
624 stacktest, breakhere_stacktest, different, breakhere_different,
625 breakhere_validity and breakhere_invalid.
626 (entry: bt): Update for @entry.
627 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
628 (entry_validity: *, entry_invalid: *): Many new tests.
630 (run until breakpoint set at small function, optimized file): Accept
631 also the @entry suffix.
632 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
633 * gdb.mi/mi2-amd64-entry-value.c: New files.
634 * gdb.mi/mi2-amd64-entry-value.exp: New files.
636 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
638 Protect entry values against self tail calls.
639 * gdb.arch/amd64-entry-value.cc (self2, self): New.
641 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
642 (set debug entry-values 1, self: bt debug entry-values): New tests.
644 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
646 Recognize virtual tail call frames.
647 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
649 (main): Call a and b.
650 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
651 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
652 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
655 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
657 Implement basic support for DW_TAG_GNU_call_site.
658 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
659 * gdb.arch/amd64-entry-value.cc: New file.
660 * gdb.arch/amd64-entry-value.exp: New file.
662 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
664 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
665 * gdb.dwarf2/implptr-64bit.S: New file.
666 * gdb.dwarf2/implptr-64bit.exp: New file.
668 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
670 Fix initial language detection with -readnow.
671 * gdb.cp/readnow-language.cc: New file.
672 * gdb.cp/readnow-language.exp: New file.
674 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
676 Fix printed anonymous struct name.
677 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
679 2011-10-09 Joseph Myers <joseph@codesourcery.com>
681 * gdb.base/solib-symbol.exp: Do not include directories in
682 filenames in expected messages.
684 2011-10-07 Doug Evans <dje@google.com>
686 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
688 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
690 Allow Python notification of new object-file loadings.
691 * gdb.python/py-events.exp: Test newobjfile event.
692 * gdb.python/py-events.py: Register newobjfile callback.
693 * gdb.python/py-events.c: Add call to shared library
694 * gdb.python/py-events-shlib.c: New file.
696 2011-10-06 Joseph Myers <joseph@codesourcery.com>
698 * gdb.base/fixsection.exp: Do not include directories in filename
701 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
703 Add tests for passing of environment variables to inferior.
704 * gdb.base/testenv.c: New test source.
705 * gdb.base/testenv.exp: New expect test.
707 2011-10-04 Paul Koning <paul_koning@dell.com>
709 * gdb.python/py-value.c (main): Break before return.
711 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
713 PR python/12691: Add the inferior to Python exited event
714 * gdb.python/py-events.exp: Test the inferior attribute of exited
716 * gdb.python/py-events.py: Print inferior number on exit.
717 * gdb.python/py-events.c: Fork the inferior.
719 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
721 * gdb.base/jit.exp: Add testcase name to log message
723 2011-10-03 Paul Koning <paul_koning@dell.com>
724 Jan Kratochvil <jan.kratochvil@redhat.com>
726 * gdb.python/py-value.exp
727 (python inval = gdb.parse_and_eval('*(int*)0'))
728 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
729 (set argc=2, python print argc_lazy): New tests.
731 2011-10-02 Joel Brobecker <brobecker@adacore.com>
733 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
735 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
736 Pedro Alves <pedro@codesourcery.com>
738 * gdb.python/py-value.exp (test_value_in_inferior): New variable
739 can_read_0, test for it.
740 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
741 (parse_and_eval with memory error): ... here, make it untested if
744 2011-09-30 Marek Polacek <mpolacek@redhat.com>
746 * gdb.python/python.exp (verify pagination beforehand)
747 (verify pagination afterwards): Fix race by splitting the line.
749 2011-09-29 Joseph Myers <joseph@codesourcery.com>
751 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
752 for 64-bit multilibs from i?86-* targets.
754 2011-09-29 Marek Polacek <mpolacek@redhat.com>
756 * lib/gdb.exp: Fix a typo in one of the comments.
758 2011-09-29 Marek Polacek <mpolacek@redhat.com>
760 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
763 2011-09-28 Paul Koning <paul_koning@dell.com>
765 * gdb.python/py-type.c (enum E): New.
766 * gdb.python/py-type.exp (test_fields): Add tests for Python
767 mapping access to fields.
768 (test_enums): New test for field access on enums.
770 2011-09-27 Stan Shebs <stan@codesourcery.com>
772 * gdb.trace/collection.exp: Test collection of $_ret.
774 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
776 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
777 list of compilation switches for <*-*-freebsd*>.
779 2011-09-19 Stan Shebs <stan@codesourcery.com>
781 * gdb.trace/tspeed.exp: New file.
782 * gdb.trace/tspeed.c: New file.
784 2011-09-18 Yao Qi <yao@codesourcery.com>
786 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
788 (test_adr_32bit, test_pop_pc): Likewise.
789 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
791 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
792 in gdb_test_multiple.
793 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
795 2011-09-17 Yao Qi <yao@codesourcery.com>
797 * lib/gdb.exp (can_single_step_to_signal_handler): New.
798 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
799 support single step to signal handler.
801 2011-09-17 Yao Qi <yao@codesourcery.com>
803 * gdb.base/disp-step-fork.c: New.
804 * gdb.base/disp-step-syscall.exp: New.
805 * gdb.base/disp-step-vfork.c: New.
807 2011-09-16 Joel Brobecker <brobecker@adacore.com>
809 * gdb.ada/tasks.exp: Make the expected output for
810 the `info tasks' tests more resilient to spacing
813 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
815 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
816 (reached breakpoint 2, reached breakpoint 3): Update expected output.
818 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
820 PR Python/12692 Add gdb.selected_inferior() to Python interface.
821 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
823 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
825 Handle multiple breakpoint hits in Python interface:
826 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
828 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
831 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
832 Jan Kratochvil <jan.kratochvil@redhat.com>
834 * gdb.python/py-events.exp: Remove pretty printing comment.
835 * gdb.python/py-evsignal.exp: New file.
836 * gdb.python/py-evthreads.c: Include signal.h.
837 (thread3): Remove variable count3. Remove variable bad and use raise
839 (thread2): Remove variable count2. Move thread3 pthread_create here,
840 merge pthread_join to a single line.
841 (main): Remove variable count1. Merge pthread_join with pthread_create
843 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
844 KFAIL python/12966 for gdbserver. Test return value of
845 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
846 gdb_expect by gdb_test and gdb_test_multiple.
847 (thread 2, thread 3): New tests.
849 2011-09-12 Matt Rice <ratmice@gmail.com>
850 Pedro Alves <pedro@codesourcery.com>
854 * gdb.base/interp.exp: New tests.
855 * gdb.base/interp.c: New file.
857 2011-09-12 Doug Evans <dje@google.com>
859 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
860 * gdb.dwarf2/typeddwarf.exp: Ditto.
862 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
864 Fix compatibility with x32 arch.
865 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
866 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
868 * testsuite/gdb.trace/collection.exp: Likewise.
869 * testsuite/gdb.trace/report.exp: Likewise.
870 * testsuite/gdb.trace/unavailable.exp: Likewise.
871 * testsuite/gdb.trace/while-dyn.exp: Likewise.
872 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
873 (is_x86_like_target): Check also is_amd64_regs_target.
875 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
878 * gdb.arch/amd64-prologue-xmm.c: New file.
879 * gdb.arch/amd64-prologue-xmm.exp: New file.
880 * gdb.arch/amd64-prologue-xmm.s: New file.
882 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
884 * gdb.dwarf2/dw2-param-error-main.c: New file.
885 * gdb.dwarf2/dw2-param-error.S: New file.
886 * gdb.dwarf2/dw2-param-error.exp: New file.
888 2011-09-08 Pedro Alves <pedro@codesourcery.com>
890 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
891 inferior's pid and look for a core dump named core.$pid. Use
892 `remote_file' commands on the host instead of hand coding shell
893 commands on the build.
894 * gdb.base/valgrind-db-attach.exp: Kill the program before
897 2011-09-02 Matt Rice <ratmice@gmail.com>
899 * lib/prompt.exp: New file for testing the first prompt.
900 * gdb.python/py-prompt.exp: Ditto.
901 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
903 2011-09-02 Pedro Alves <pedro@codesourcery.com>
905 * gdb.threads/gcore-thread.exp: Set the global core_supported to
906 0, before testing gcore.
908 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
910 * dw2-ifort-parameter-debug.S: Update copyright year.
911 * dw2-ifort-parameter.c: Update copyright year.
912 * dw2-ifort-parameter.exp: Update copyright year.
914 * dw2-ifort-parameter-debug.S: New file.
915 * dw2-ifort-parameter.c: New file.
916 * dw2-ifort-parameter.exp: New file.
918 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
920 * gdb.base/commands.exp (error_clears_commands_left): New function.
923 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
925 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
927 * gdb.mi/mi-inheritance-syntax-error.exp
928 (-data-evaluate-expression $path): Expect `a' as 5.
930 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
933 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
934 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
935 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
936 keyword in output of -var-info-path-expression.
938 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
940 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
941 * gdb.trace/collection.exp: Likewise.
942 * gdb.trace/report.exp: Likewise.
943 * gdb.trace/unavailable.exp: Likewise.
944 * gdb.trace/while-dyn.exp: Likewise.
946 2011-08-18 Keith Seitz <keiths@redhat.com>
949 * gdb.cp/meth-typedefs.cc: New file.
950 * gdb.cp/meth-typedefs.exp: New file.
952 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
954 * gdb.python/python.exp: Add extended-prompt tests.
956 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
958 * gdb.arch/i386-dr3-watch.exp
959 (watchpoint on gap1 does not fit debug registers)
960 (delete all watchpoints): Fix racy expect strings.
962 2011-08-14 Yao Qi <yao@codesourcery.com>
964 * gdb.base/maint.exp: set data_section to ".neardata".
965 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
966 * gdb.base/savedregs.exp: Handle SIGILL.
967 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
968 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
970 2011-08-12 Doug Evans <dje@google.com>
972 * gdb.python/py-symbol.exp: Add test for symbol.type.
974 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
976 * gdb.threads/pthreads.exp: Enable on non-native configurations.
977 * gdb.mi/mi-pthreads.exp: Likewise.
978 * gdb.mi/mi2-pthreads.exp: Likewise.
979 * gdb.mi/gdb669.exp.exp: Likewise.
981 2011-08-09 Pedro Alves <pedro@codesourcery.com>
983 * lib/mi-support.exp (detect_async): Rename to...
984 (mi_detect_async): ... this.
985 * gdb.mi/mi-nonstop-exit.exp: Adjust.
986 * gdb.mi/mi-nonstop.exp: Adjust.
987 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
988 * gdb.mi/mi-nsintrall.exp: Adjust.
989 * gdb.mi/mi-nsmoribund.exp: Adjust.
990 * gdb.mi/mi-nsthrexec.exp: Adjust.
992 2011-08-09 Pedro Alves <pedro@codesourcery.com>
994 * gdb.base/display.c (do_loops): New `p_i' local.
995 * gdb.base/display.exp: Test displaying a variable that is
996 temporarily at a bad address.
998 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1000 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1001 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1003 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1005 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
1006 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1007 (p fuNC_symtab): Permit also ppc64 leading dot.
1009 2011-08-05 Pedro Alves <pedro@codesourcery.com>
1011 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1013 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1015 2011-08-05 Yao Qi <yao@codesourcery.com>
1017 * gdb.base/callfuncs.exp: Set language after main.
1018 * gdb.cp/cplusfuncs.exp: Likewise.
1019 * gdb.cp/inherit.exp: Likewise.
1021 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1023 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1024 * gdb.base/watch-vfork.exp: Skip on remote targets.
1026 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1028 * gdb.threads/thread-find.exp: Support remote targets.
1030 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1032 * gdb.base/jit.exp: Download solib_binfile to target.
1033 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1034 and call dlopen without full path name.
1035 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1036 dlopen without full path name.
1038 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1040 * gdb.base/break-always.exp: Complete the test
1041 with duplicated breakpoints and enabling/disabling them.
1043 2011-08-02 Tom Tromey <tromey@redhat.com>
1046 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1048 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1051 * gdb.base/float.exp: Add new test case for PR gdb/13045
1052 * gdb.base/float.c: New file.
1054 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1056 * gdb.python/py-mi.exp: Test printers returning string hint, and
1057 also not returning a value.
1058 * gdb.python/py-prettyprint.c: Add testcase for above.
1059 * gdb.python/py-prettyprint.py: Add test printer for above.
1061 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1063 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1064 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1065 (.Ldie30) Add as field "data4".
1066 (.Ldie32) Rename field "b" to "shl".
1067 (abbrev4) Change for the "data4" field.
1068 (abbrev5, abbrev6) Remove.
1069 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1070 (p &s.shl): ... here. Add comment.
1073 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1075 Fix crash on lval_computed values.
1076 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1078 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1080 * gdb.base/help.exp (help whatis): Update the expected string.
1082 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1084 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1085 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1086 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1087 Change the expected string.
1089 2011-07-26 Pedro Alves <pedro@codesourcery.com>
1091 * gdb.base/watchpoint.exp
1092 (test_disable_enable_software_watchpoint): New procedure.
1093 (top level): Run it.
1095 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
1097 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
1098 executable file "${binfile}", C++ version "${binfile}-cxx".
1099 * gdb.python/py-prettyprint.exp: Likewise.
1100 * gdb.python/py-symbol.exp: Likewise.
1101 * gdb.python/py-type.exp: Likewise.
1102 * gdb.python/py-value.exp: Likewise.
1103 * gdb.python/py-template.exp (test_template_arg): Pass full executable
1104 file name instead of just suffix.
1106 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1108 Fix implicit pointer offsets.
1109 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
1110 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
1111 (continue to breakpoint: continue to baz breakpoint for implptr)
1112 (sanity check element 0, sanity check element 1)
1113 (enter the inlined function, check element 0 for the offset)
1114 (check element 1 for the offset)
1115 (continue to breakpoint: ignore the second baz breakpoint): New tests.
1116 (set foo breakpoint for implptr): Update the breakpoint number.
1118 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1120 * gdb.python/py-mi.exp: Use different file names for different
1121 versions of the executable under test.
1122 * gdb.python/py-prettyprint.exp: Likewise.
1123 * gdb.python/py-symbol.exp: Likewise.
1124 * gdb.python/py-template.exp: Likewise.
1125 * gdb.python/py-type.exp: Likewise.
1126 * gdb.python/py-value.exp: Likewise.
1128 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1130 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
1131 flag after restarting GDB if necessary.
1133 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
1135 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
1137 2011-07-22 Pedro Alves <pedro@codesourcery.com>
1139 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
1140 backend doesn't leave used debug registers behind.
1142 2011-07-22 Tom Tromey <tromey@redhat.com>
1144 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
1145 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
1147 * gdb.dwarf2/typeddwarf-amd64.S: New file.
1149 2011-07-21 Matt Rice <ratmice@gmail.com>
1151 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
1152 in mostlyclean rule. Add files ending in .core.
1154 2011-07-21 Matt Rice <ratmice@gmail.com>
1157 * gdb.base/info-macros.c: New test sources.
1158 * gdb.base/info-macros.exp: New tests.
1160 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
1162 * gdb.python/python.exp: Add prompt substitution tests.
1164 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1166 Fix crash if referenced CU is aged out.
1167 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
1169 * gdb.dwarf2/implptr.exp: Likewise.
1171 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
1173 * gdb.dwarf2/implptr.S: Rebuilt.
1174 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
1175 (bar): Use them for j, k, l.
1176 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
1178 (print j in implptr:bar): Update for the intp typedef.
1179 (print p[0].x in implptr:foo): Use more exact regex.
1181 2011-07-18 Tom Tromey <tromey@redhat.com>
1183 * gdb.cp/static-method.exp: Add missing single quote.
1185 2011-07-18 Yao Qi <yao@codesourcery.com>
1187 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
1189 * gdb.mi/mi-nonstop-exit.exp: Likewise.
1190 * gdb.mi/mi-nonstop.exp: Likewise.
1191 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1192 * gdb.mi/mi-nsintrall.exp: Likewise.
1193 * gdb.mi/mi-nsmoribund.exp: Likewise.
1194 * gdb.mi/mi-nsthrexec.exp: Likewise.
1195 * gdb.python/py-evthreads.exp: Likewise.
1197 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1200 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
1201 it. Substitute it instead of test_compiler_info everywhere.
1203 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1205 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
1206 remote targets as well.
1208 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1210 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
1211 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
1213 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
1215 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
1216 a remote machine, not the host.
1217 (gdb_compile_shlib): Set soname if target is remote.
1219 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1221 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
1223 2011-07-13 Matt Rice <ratmice@gmail.com>
1225 * gdb.python/py-objfile-script-gdb.py: Renamed to
1226 py-objfile-script-gdb.py.in.
1227 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
1228 py-objfile-script-gdb.py.
1229 * gdb.python/py-objfile-script.exp: Update reference to
1230 py-objfile-script-gdb.py.
1232 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1234 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
1235 reference undefined label.
1237 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1239 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
1240 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
1241 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
1242 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
1244 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
1247 * gdb.python/python.exp: Add maint set/show python print-stack
1248 deprecated tests. Add set/show python print-backtrace tests.
1250 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1252 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
1255 2011-07-06 Matt Rice <ratmice@gmail.com>
1257 * gdb.python/python.exp: Update filename paths.
1258 * gdb.python/py-symtab.exp: Ditto.
1260 2011-07-06 Marek Polacek <mpolacek@redhat.com>
1262 * gdb.python/py-evthreads.exp: Add missing `$'.
1264 2011-07-06 Jie Zhang <jie.zhang@analog.com>
1266 * config/bfin.exp: New file.
1267 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
1268 * gdb.asm/bfin.inc: New file.
1270 2011-07-06 Marek Polacek <mpolacek@redhat.com>
1272 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
1275 2011-07-05 Tom Tromey <tromey@redhat.com>
1277 * gdb.java/jprint.java (jprint.hi): New field.
1278 * gdb.java/jprint.exp: Print string.
1280 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
1282 * gdb.base/call-sc.c: Fix typos.
1283 * gdb.base/ifelse.exp: Likewise.
1284 * gdb.base/structs.c: Likewise.
1286 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1288 * gdb.base/jit-so.exp: New test.
1289 * gdb.base/jit-dlmain.c: New file.
1290 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
1292 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1294 * gdb.cp/m-static.exp: Call get_compiler_info.
1295 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
1296 * gdb.cp/pr9167.exp (p b): Likewise.
1297 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
1298 (test value of P in inner_m, test type of Z in inner_m): Call
1299 setup_xfail for gcc <= 4.5.
1301 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1303 * gdb.cp/paren-type.cc: New files.
1304 * gdb.cp/paren-type.exp: New files.
1306 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1308 Stop on first linespec terminator instead of eating what we can.
1309 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
1310 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
1311 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
1312 (break C::f()): ... this one.
1313 (break C::operator()()): New test.
1314 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
1315 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
1318 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1320 Fall back linespec to minimal symbols.
1321 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
1323 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
1324 * gdb.cp/minsym-fallback-main.cc: New file.
1325 * gdb.cp/minsym-fallback.cc: New file.
1326 * gdb.cp/minsym-fallback.exp: New file.
1327 * gdb.cp/minsym-fallback.h: New file.
1329 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1331 * gdb.cp/no-dmgl-verbose.cc: New file.
1332 * gdb.cp/no-dmgl-verbose.exp: New file.
1334 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1336 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
1338 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
1340 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
1341 (complete p 'func<short>(): ... here.
1342 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
1343 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
1344 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
1345 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
1346 Make them KFAIL gcc/49546.
1348 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1350 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
1352 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1354 Test GCC PR debug/49546.
1355 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
1356 (test type of F in k3_m, test value of F in k3_m): New.
1357 * gdb.cp/temargs.cc (struct S3, struct K3): New.
1358 (main): New variable k3. Call k3.k3_m.
1360 2011-07-01 Jean-Charles Delay <delay@adacore.com>
1362 * gdb.ada/packed_array.exp: Fix expected outout.
1364 2011-07-01 Jean-Charles Delay <delay@adacore.com>
1366 * gdb.ada/packed_array.exp: fixed expected output.
1368 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1370 * gdb.ada/same_enum: New testcase.
1372 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1374 * gdb.ada/ptr_typedef: New testcase.
1376 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1378 * gdb.ada/arrayptr.exp: Add ptype test.
1380 2011-07-01 Joel Brobecker <brobecker@adacore.com>
1382 * gdb.ada/char_enum: New testcase.
1384 2011-07-01 Yao Qi <yao@codesourcery.com>
1386 * gdb.base/dump.exp (capture_pointer_with_type): New.
1387 Get value from address instead of name.
1388 Start GDB once, and do `dump' and `restore'
1391 2011-06-30 Jie Zhang <jie.zhang@analog.com>
1392 Mike Frysinger <vapier@gentoo.org>
1394 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
1395 helper functions for getting/setting remotetimeout variable.
1396 * lib/gdb.exp (gdb_load): If the target is remote, set
1397 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
1398 with $loadtimeout. Set $load_ok to 0 before doing the load.
1399 Instead of returning, immediately, set $load_ok to 0. Call
1400 set_remotetimeout with $oldremotetimeout, and then return if
1403 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
1405 * gdb.python/py-template.exp: Don't run this test if the target
1406 does not support c++ tests.
1408 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1410 Fix non-only rename list for Fortran modules import.
1411 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
1413 * gdb.fortran/module.f90 (module moduse): New.
1414 (program module): use moduse, test var_x, var_y and var_z.
1416 2011-06-29 Tom Tromey <tromey@redhat.com>
1419 * gdb.fortran/array-element.exp: Use f90, not f77.
1420 * gdb.fortran/complex.exp: Use f90, not f77.
1421 * gdb.fortran/derived-type.exp: Use f90, not f77.
1422 * gdb.fortran/library-module.exp: Use f90, not f77.
1423 * gdb.fortran/logical.exp: Use f90, not f77.
1424 * gdb.fortran/module.exp: Use f90, not f77.
1425 * gdb.fortran/multi-dim.exp: Use f90, not f77.
1426 * gdb.fortran/subarray.exp: Use f90, not f77.
1428 2011-06-29 Tom Tromey <tromey@redhat.com>
1430 * gdb.fortran/charset.exp: New file.
1431 * gdb.fortran/charset.f90: New file.
1433 2011-06-29 Tom Tromey <tromey@redhat.com>
1436 * lib/future.exp: New file, mostly extracted from ada.exp.
1437 Rewrote compatibility code to use rename.
1438 (gdb_find_gfortran): New proc.
1439 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
1441 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
1443 * lib/gdb.exp: Always load future.exp.
1445 2011-06-28 Yao Qi <yao@codesourcery.com>
1447 * gdb.cp/exception.cc: Don't include iostream.
1448 (bar): Remove print statement.
1450 (main): Remove print statements. Call function catcher.
1451 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
1452 Set breakpoint on catcher, and check the value of parameter.
1454 2011-06-23 Yao Qi <yao@codesourcery.com>
1456 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
1457 1.2 is disabled. KFAIL for uclinux.
1459 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1461 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
1464 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1466 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1468 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1470 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
1472 2011-06-23 Marek Polacek <mpolacek@redhat.com>
1474 * gdb.mi/mi2-basics.exp: Fix races. Honour the
1475 `test_exec_and_symbol_mi_operatons' return value.
1476 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1478 (test_exec_and_symbol_mi_operatons): Likewise.
1479 (test_path_specification): Likewise.
1481 2011-06-23 Yao Qi <yao@codesourcery.com>
1483 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
1485 * lib/gdb.exp (support_displaced_stepping): New.
1487 2011-06-23 Yao Qi <yao@codesourcery.com>
1489 * gdb.threads/execl.exp: Skip on remote target.
1491 2011-06-21 Marek Polacek <mpolacek@redhat.com>
1493 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
1496 2011-06-20 Marek Polacek <mpolacek@redhat.com>
1498 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
1500 2011-06-20 Marek Polacek <mpolacek@redhat.com>
1502 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
1505 2011-06-20 Marek Polacek <mpolacek@redhat.com>
1507 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
1509 2011-06-14 Yao Qi <yao@codesourcery.com>
1512 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
1514 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1516 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
1518 2011-06-10 Tom Tromey <tromey@redhat.com>
1520 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
1521 Add tests for pointer-to-member-function.
1522 * gdb.cp/temargs.cc (S::somefunc): New function.
1524 (main): Instantiate K2; call method.
1526 2011-06-08 Joel Brobecker <brobecker@adacore.com>
1528 * gdb.python/py-inferior.c (f2): Make str an array rather
1530 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
1532 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1534 * gdb.base/async-shell.c: New file.
1535 * gdb.base/async-shell.exp: New file.
1537 2011-06-06 Pedro Alves <pedro@codesourcery.com>
1539 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
1541 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
1543 From Stephen Kitt <steve@sk2.org>
1544 * gdb.base/help.exp: Adjust following some spelling corrections
1547 2011-06-01 Yao Qi <yao@codesourcery.com>
1549 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
1551 2010-05-31 Keith Seitz <keiths@redhat.com>
1554 * gdb.cp/static-method.cc: New file.
1555 * gdb.cp/static-method.exp: New file.
1557 2010-05-31 Keith Seitz <keiths@redhat.com>
1560 * gdb.cp/anon-ns.cc: New file.
1561 * gdb.cp/anon-ns.exp: New file.
1563 2011-05-31 Pedro Alves <pedro@codesourcery.com>
1565 * gdb.arch/i386-dr3-watch.c: New file.
1566 * gdb.arch/i386-dr3-watch.exp: New file.
1568 2011-05-30 Yao Qi <yao@codesourcery.com>
1570 * gdb.base/callfuncs.c (t_structs_fc): New.
1571 (t_structs_dc, t_structs_ldc): New.
1572 (t_double_many_args):
1573 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
1574 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
1575 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
1576 * gdb.base/callfuncs.exp: Call new functions.
1578 2011-05-30 Yao Qi <yao@codesourcery.com>
1580 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
1581 Call rerun_and_prepare for each test to isolate effects.
1583 2011-05-30 Yao Qi <yao@codesourcery.com>
1585 * gdb.base/varargs.c (find_max_float_real): New.
1586 (find_max_double_real, find_max_long_double_real): New.
1587 * gdb.base/varargs.exp: Call these new added functions.
1588 * lib/gdb.exp (setup_kfail_for_target): New.
1590 2011-05-30 Yao Qi <yao@codesourcery.com>
1592 * gdb.base/funcargs.c (callca, callcb, callcc): New.
1593 (callcd, callce, callcf, callc1a, callc1b): New.
1594 (callc2a, callc2b): New.
1595 * gdb.base/funcargs.exp (complex_args): New.
1596 (complex_integral_args, complex_float_integral_args): New.
1597 * lib/gdb.exp (support_complex_tests): New. Determine
1598 whether to run test cases on _Complex types.
1600 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1602 * gdb.threads/leader-exit.c: New file.
1603 * gdb.threads/leader-exit.exp: New file.
1605 2011-05-27 Marek Polacek <mpolacek@redhat.com>
1607 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
1609 2011-05-27 Marek Polacek <mpolacek@redhat.com>
1611 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
1612 remove the `supported' variable.
1613 * gdb.mi/mi-nonstop.exp: Likewise.
1614 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
1615 * gdb.mi/mi-nsintrall.exp: Likewise.
1616 * gdb.mi/mi-nsmoribund.exp: Likewise.
1617 * gdb.mi/mi-nsthrexec.exp: Likewise.
1619 2011-05-26 Pedro Alves <pedro@codesourcery.com>
1621 * gdb.reverse/finish-reverse-bkpt.exp: New test.
1623 2011-05-26 Pedro Alves <pedro@codesourcery.com>
1625 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
1627 2011-05-24 Keith Seitz <keiths@redhat.com>
1630 * gdb.cp/cmpd-minsyms.cc (a): New method.
1633 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
1635 2011-05-24 Pedro Alves <pedro@codesourcery.com>
1637 * gdb.base/commands.exp (watchpoint_command_test): Check that the
1638 watchpoint's command list didn't execute when the watchpoint went
1641 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
1643 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
1644 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
1645 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
1646 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1647 * gdb.arch/i386-permbkpt.exp: Likewise.
1648 * gdb.arch/i386-prologue.exp: Likewise.
1649 * gdb.arch/i386-size-overlap.exp: Likewise.
1650 * gdb.arch/i386-size.exp: Likewise.
1651 * gdb.arch/i386-unwind.exp: Likewise.
1652 * gdb.reverse/i386-precsave.exp: Likewise.
1653 * gdb.reverse/i386-reverse.exp: Likewise.
1654 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1655 * gdb.reverse/i387-env-reverse.exp: Likewise.
1656 * gdb.reverse/i387-stack-reverse.exp: Likewise.
1658 2011-05-24 Pedro Alves <pedro@codesourcery.com>
1660 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
1661 file doesn't error, using MI.
1663 2011-05-23 Tom Tromey <tromey@redhat.com>
1665 * gdb.base/charset.exp (string_display): Add tests to assign to
1667 * gdb.base/charset.c (short_array, int_array, long_array): New.
1669 2011-05-20 Pedro Alves <pedro@codesourcery.com>
1671 Cope with async mode.
1673 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
1674 into gdb_test + mi_expect_stop.
1676 2011-05-20 Pedro Alves <pedro@codesourcery.com>
1678 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
1679 (callme): Remove printf call.
1681 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
1683 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
1684 quote pattern to avoid problems with Cygwin/mingw expect versions.
1685 * gdb.base/default.exp (show convenience): Use double
1686 quote pattern for regular expressions.
1688 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1690 Fix -readnow for -gdwarf-4 unused type units.
1691 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
1692 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
1694 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1696 * gdb.base/kill-after-signal.c: New file.
1697 * gdb.base/kill-after-signal.exp: New file.
1699 2011-05-16 Pedro Alves <pedro@codesourcery.com>
1701 * gdb.ada/start.exp: Call untested with the correct test filename.
1702 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
1703 test filename. Make the test's binary unique.
1704 * gdb.arch/i386-signal.exp: Call untested with the correct test
1706 * gdb.arch/i386-size-overlap.exp: Ditto.
1707 * gdb.arch/Makefile.in (EXECUTABLES): Update.
1708 * gdb.base/gcore-buffer-overflow.exp: Ditto.
1709 * gdb.cp/call-c.exp: Ditto.
1710 * gdb.mi/mi-reverse.exp: Call untested with the correct test
1711 filename. Make the test's binary unique.
1712 * gdb.mi/Makefile.in (EXECUTABLES): Update.
1713 * gdb.python/py-mi.exp: Ditto.
1714 * gdb.python/Makefile.in (EXECUTABLES): Update.
1715 * gdb.reverse/i386-precsave.exp: Ditto.
1716 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
1718 * gdb.reverse/i387-stack-reverse.exp: Ditto.
1719 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
1721 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
1723 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
1724 * gdb.trace/tfile.exp: Ditto.
1726 2011-05-14 Yao Qi <yao@codesourcery.com>
1728 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
1731 2011-05-13 Doug Evans <dje@google.com>
1733 * gdb.python/py-objfile-script.exp: New file.
1734 * gdb.python/py-objfile-script.c: New file.
1735 * gdb.python/py-objfile-script-gdb.py: New file.
1736 * testsuite/gdb.python/py-section-script.exp: Test
1737 "info auto-load-scripts".
1739 2011-05-13 Tom Tromey <tromey@redhat.com>
1741 * gdb.dwarf2/clztest.exp: New file.
1742 * gdb.dwarf2/clztest.c: New file.
1743 * gdb.dwarf2/clztest.S: New file.
1745 2011-05-13 Doug Evans <dje@google.com>
1747 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
1750 2011-05-13 Tom Tromey <tromey@redhat.com>
1752 * lib/gdb.exp (is_x86_like_target): New proc.
1753 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
1754 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
1755 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
1756 -nostdlib to compiler.
1757 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
1758 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
1759 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
1760 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
1761 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
1763 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
1765 * gdb.python/py-function.exp: Test setting a value from a function
1766 which executes a command.
1768 2011-05-12 Tom Tromey <tromey@redhat.com>
1770 * gdb.dwarf2/typeddwarf.S: New file.
1771 * gdb.dwarf2/typeddwarf.c: New file.
1772 * gdb.dwarf2/typeddwarf.exp: New file.
1774 2011-05-12 Marek Polacek <mpolacek@redhat.com>
1776 * gdb.mi/mi-basics.exp: Fix races. Honour the
1777 `test_exec_and_symbol_mi_operatons' return value.
1778 (test_mi_interpreter_selection): Use mi_gdb_test instead of
1780 (test_exec_and_symbol_mi_operatons): Likewise.
1781 (test_path_specification): Likewise.
1783 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1785 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
1786 (gdb_touch_execfile): Remove catch wrappers. New variable time.
1787 Replace `file copy' and `file rename' by `file mtime'. Twice.
1789 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1791 * gdb.base/readline-ask.c: New file.
1792 * gdb.base/readline-ask.exp: New file.
1793 * gdb.base/readline-ask.inputrc: New file.
1795 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
1797 * gdb.cell/bt.exp: Delete breakpoints before running to signal
1798 to avoid race condition.
1799 * gdb.cell/coremaker.c: Use small stack size.
1800 * gdb.cell/ea-standalone.exp: Use file name without path as
1802 * gdb.cell/fork.exp: Allow other output when continuing to end.
1804 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1806 * gdb.threads/corethreads.c: New file.
1807 * gdb.threads/corethreads.exp: New file.
1809 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1811 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
1812 Try to compile the test using -Wl,-z,norelro first.
1813 (load_core): New variable libthread_db_seen, initialize it.
1814 (zeroed-threads cannot be listed): Protect it by XFAIL on
1815 !$libthread_db_seen.
1817 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1820 * gdb.dwarf2/dw2-skip-prologue.S: New file.
1821 * gdb.dwarf2/dw2-skip-prologue.c: New file.
1822 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
1824 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1826 * gdb.cp/psymtab-parameter.cc: New file.
1827 * gdb.cp/psymtab-parameter.exp: New file.
1829 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1832 * gdb.cp/static-print-quit.exp (print c): Split to ...
1833 (print c - <return>, print c - q <return>, print c - to quit):
1834 ... these. Make the testfile untested on gdb-7.1.
1836 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
1838 * lib/gdb.exp (exec_target_file, exec_symbol_file,
1839 gdb_rename_execfile, gdb_touch_execfile): New.
1840 * gdb.base/reread.exp: Use new procs to handle multiple
1843 2011-05-05 Yao Qi <yao@codesourcery.com>
1845 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
1846 (test_adr_32bit, test_pop_pc): New.
1847 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
1848 (test_adr_32bit, test_pop_pc): New.
1850 2011-05-04 Joseph Myers <joseph@codesourcery.com>
1852 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
1853 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
1855 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
1858 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1860 * gdb.base/completion.exp (complete help info wat): Rename to ...
1861 (complete 'help info wat'): ... here.
1862 Remove all `-re ".*' and `-re "^.*' redundant regexes.
1863 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
1865 2011-05-04 Pedro Alves <pedro@codesourcery.com>
1867 * gdb.base/completion.exp: Use gdb_test_multiple instead of
1868 gdb_test and explicit $gdb_prompt/timeout matches.
1870 2011-05-04 Yao Qi <yao@codesourcery.com>
1872 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
1875 2011-05-03 Marek Polacek <mpolacek@redhat.com>
1877 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
1878 in place of `gdb_test "delete breakpoints"'. This eliminates two
1881 2011-05-02 Pedro Alves <pedro@codesourcery.com>
1886 * gdb.base/completion.exp: Remove all sleep calls. Remove
1887 unnecessary regexs. Don't explicitly expect anything after the
1888 prompt. Eat the prompt if necessary.
1890 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
1892 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
1893 accept to show the caller line again as well as the line after.
1895 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
1899 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
1901 * gdb.python/py-prettyprint.exp: Add C++ object for
1902 CPLUS_FAKE_CHILD test.
1904 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
1906 * gdb.base/signest.exp: New file.
1907 * gdb.base/signest.c: Likewise.
1909 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1911 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
1912 thread and breakpoint notifications.
1914 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1916 * gdb.base/fortran-sym-case.c: New file.
1917 * gdb.base/fortran-sym-case.exp: New file.
1918 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
1919 * gdb.dwarf2/dw2-case-insensitive.c: New file.
1920 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
1922 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1924 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
1925 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
1926 false #1', `if true else false #2' and `if true else false #3'.
1928 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
1930 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
1931 while delivering signal.
1933 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
1935 MI breakpoint notifications.
1937 * testsuite/gdb.mi/mi-cli.exp: Adust.
1938 * testsuite/gdb.mi/mi2-cli.exp: Adust.
1939 * testsuite/gdb.mi/mi-watch.exp: Adust.
1940 * testsuite/gdb.mi/mi2-watch.exp: Adust.
1941 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
1944 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1946 * gdb.base/gdbindex-stabs-dwarf.c: New file.
1947 * gdb.base/gdbindex-stabs.c: New file.
1948 * gdb.base/gdbindex-stabs.exp: New file.
1950 2011-04-25 Yao Qi <yao@codesourcery.com>
1952 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
1954 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
1956 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1958 * gdb.python/py-value.exp (test_objfiles): Name the first test
1959 `py-value in file.filename'.
1961 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1963 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
1964 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
1965 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
1966 !gdbserver_reconnect_p..
1967 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
1969 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1971 * gdb.cp/cpcompletion.exp (complete class methods)
1972 (complete class methods beginning with F): Move them above runto. New
1973 comment about the runto delimiter.
1975 2011-04-20 Pedro Alves <pedro@codesourcery.com>
1977 * gdb.base/maint.exp: Test that "maint print registers" works
1978 without a running program.
1980 2011-04-20 Marek Polacek <mpolacek@redhat.com>
1982 * gdb.base/setshow.exp: Fix racy tests.
1983 ($old_gdb_prompt): New variable.
1985 2011-04-19 Tom Tromey <tromey@redhat.com>
1987 * gdb.mi/mi-nsmoribund.exp:
1988 * gdb.hp/gdb.objdbg/objdbg01.exp:
1989 * gdb.base/structs.exp (test_struct_returns):
1990 * gdb.base/call-sc.exp (test_scalar_returns):
1991 * gdb.base/bigcore.exp: Remove duplicate words.
1993 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1995 * gdb.base/break-interp-lib.c (v, vptr): New variables.
1996 * gdb.base/break-interp.exp (test_attach): New comment.
1998 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2000 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2001 (clear __stack_user.next, clear stack_used.next)
2002 (save a zeroed-threads corefile): New test.
2003 Call core_load for $core0file.
2004 (zeroed-threads cannot be listed): New test.
2006 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2008 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2010 ($srcfile): Preserve the original value.
2011 ($testfile): Match it the .exp filename.
2012 ($corefile): New variable. Substitute it around.
2014 ($prev_timeout): Remove.
2015 (load_core): Move core loading into this proc.
2016 Fix restore of $timeout if load_core fails.
2018 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2020 * gdb.base/eu-strip-infcall.c: New file.
2021 * gdb.base/eu-strip-infcall.exp: New file.
2023 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2025 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2026 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2028 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2030 Fix Python access to inlined frames.
2031 * gdb.python/py-frame-inline.c: New file.
2032 * gdb.python/py-frame-inline.exp: New file.
2034 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2036 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2037 content of 's24' correctly (avoiding "optimized out").
2038 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2040 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2042 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2044 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2046 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2047 expect a colon in watch -location output.
2049 2011-04-13 Marek Polacek <mpolacek@redhat.com>
2051 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
2052 New testcase `expect response to define backtrace'. Also remove
2053 redundant `default' block.
2055 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2057 * gdb.python/py-prettyprint.c (struct hint_error): New.
2058 (main): New variable hint_error.
2059 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2061 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2062 (register_pretty_printers): Register it.
2064 2011-04-04 Tom Tromey <tromey@redhat.com>
2066 * gdb.cp/maint.exp (test_help): Update.
2067 (test_namespace): Likewise.
2069 2011-04-01 Joel Brobecker <brobecker@adacore.com>
2071 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2072 * gdb.ada/arrayptr.exp: Add new tests.
2074 2011-04-01 Joel Brobecker <brobecker@adacore.com>
2076 * gdb.ada/mi_catch_ex: New testcase.
2078 2011-04-01 Pedro Alves <pedro@codesourcery.com>
2080 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2081 base::overload(void) method without specifying "const".
2083 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2085 * gdb.arch/thumb-singlestep.S: New file.
2086 * gdb.arch/thumb-singlestep.exp: Likewise.
2088 2011-03-31 Tom Tromey <tromey@redhat.com>
2090 * gdb.python/py-prettyprint.py (exception_flag): New global.
2091 (NoStringContainerPrinter._iterator.next): Check it.
2092 * gdb.python/py-prettyprint.c (main): New variable nstype2.
2093 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
2095 2011-03-29 Tom Tromey <tromey@redhat.com>
2097 * gdb.cp/anon-struct.cc: New file.
2098 * gdb.cp/anon-struct.exp: New file.
2100 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2102 Test STT_GNU_IFUNC support.
2103 * gdb.base/gnu-ifunc-lib.c: New file.
2104 * gdb.base/gnu-ifunc.c: New file.
2105 * gdb.base/gnu-ifunc.exp: New file.
2107 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2109 Support a ring of related breakpoints.
2110 * gdb.base/watchpoint-delete.c: New file.
2111 * gdb.base/watchpoint-delete.exp: New file.
2113 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2115 * gdb.ada/arrayparam.exp (print first after function call): Use
2116 explicit package name. Add a comment
2117 (print lasta after function call): Rename ...
2118 (print last after function call): ... it and use explicit package
2120 (print length after function call): Use explicit package name.
2121 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
2122 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
2123 (multiple matches for symbol i): Rename ...
2124 (multiple matches for symbol integervar): ... it.
2125 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
2126 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
2128 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
2130 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
2131 environment variable to make grep output more predictable. Move
2132 all the environment setup into gdb_init so it's done once per test
2133 case rather than each time we start gdb.
2135 2011-03-24 Tom Tromey <tromey@redhat.com>
2137 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
2140 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2142 * gdb.dwarf2/dw2-entry-value-main.c: New file.
2143 * gdb.dwarf2/dw2-entry-value.S: New file.
2144 * gdb.dwarf2/dw2-entry-value.exp: New file.
2146 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
2150 * gdb.python/py-function.exp: Add GdbError tests.
2152 2011-03-18 Pedro Alves <pedro@codesourcery.com>
2154 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
2155 (reglocal_test_func, statlocal_test_func): New functions.
2156 (globals_test_func): Call new functions.
2157 * gdb.trace/unavailable.exp (gdb_collect_args_test)
2158 (gdb_collect_locals_test): New procedure.
2159 (gdb_trace_collection_test): Call new procedures.
2161 2011-03-18 Pedro Alves <pedro@codesourcery.com>
2163 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
2164 (test_register, test_register_unavailable): New procedures.
2165 (gdb_unavailable_registers_test): New procedure.
2166 (gdb_trace_collection_test): Call it.
2168 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
2172 * gdb.python/python.exp: Add gdb.write tests.
2174 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
2176 * gdb.python/Makefile.in: Add py-objfile.
2177 * gdb.python/py-objfile.exp: New file.
2178 * gdb.python/py-objfile.c: New file.
2179 * gdb.python/py-block.exp: Add is_valid tests.
2180 * gdb.python/py-inferior.exp: Ditto.
2181 * gdb.python/py-infthread.exp: Ditto.
2182 * gdb.python/py-symbol.exp: Ditto.
2183 * gdb.python/py-symtab.exp: Ditto.
2185 2011-03-16 Keith Seitz <keiths@redhat.com>
2188 * gdb.cp/cmpd-minsyms.exp: New test.
2189 * gdb.cp/cmpd-minsyms.cc: New file.
2192 * gdb.cp/ovsrch.exp: New test.
2193 * gdb.cp/ovsrch.h: New file.
2194 * gdb.cp/ovsrch1.cc: New file.
2195 * gdb.cp/ovsrch2.cc: New file.
2196 * gdb.cp/ovsrch3.cc: New file.
2197 * gdb.cp/ovsrch4.cc: New file.
2199 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2202 * gdb.base/Makefile.in: Adjust EXECUTABLES.
2203 * gdb.base/break-on-linker-gcd-function.exp: New test.
2204 * gdb.base/break-on-linker-gcd-function.cc: New file.
2206 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
2208 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
2210 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
2212 * lib/gdb.exp (gdb_unload): Add another termination case.
2214 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2216 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
2217 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
2218 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
2219 Provide a stub byte there.
2220 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
2222 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
2224 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
2226 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
2227 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
2228 "generic ABI, auto".
2229 (altivec_abi_tests): Accept vectors returned by reference.
2231 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
2233 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
2235 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
2237 * gdb.python/py-section-script.exp: Skip test if no Python support.
2239 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
2241 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
2243 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
2245 * gdb.python/py-parameter.exp: Update tests to the new Python
2246 parameter API. Add "no documentation" test. Add deprecated API
2247 backward compatibility test.
2249 2011-03-09 Tom Tromey <tromey@redhat.com>
2251 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
2252 gdb_continue_to_end.
2254 2011-03-09 Mark Kettenis <kettenis@gnu.org>
2256 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
2259 2011-03-09 Tom Tromey <tromey@redhat.com>
2261 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
2263 (gdb_continue_to_end): Add "allow_extra" parameter. Use
2265 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
2266 argument to gdb_continue_to_end.
2267 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
2268 argument to gdb_continue_to_end.
2269 * gdb.cp/annota3.exp: Fix regex.
2270 * gdb.cp/annota2.exp: Fix regex.
2271 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
2272 gdb_continue_to_end.
2273 * gdb.base/call-signal-resume.exp: Revert earlier patch.
2274 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
2275 gdb_continue_to_end.
2277 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2279 * gdb.server/ext-run.exp
2280 (load new file without any gdbserver inferior): New test.
2282 2011-03-07 Tom Tromey <tromey@redhat.com>
2284 * Makefile.in (TAGS): Rewrite.
2286 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2288 * gdb.trace/report.exp (12.1: trace report #1): New match for the
2289 initial commands echo. New match for `Found trace'. Anchor all the
2290 other matches. Anchor and match for `No trace frame found' the final
2293 2011-03-07 Tom Tromey <tromey@redhat.com>
2295 * Makefile.in (TAGS): New target.
2297 2011-03-07 Tom Tromey <tromey@redhat.com>
2299 * lib/opencl.exp (skip_opencl_tests): Update for exit message
2301 * lib/mi-support.exp (mi_gdb_test): Update for exit message
2303 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
2304 exit message change.
2305 (skip_altivec_tests): Update for exit message change.
2306 (skip_vsx_tests): Likewise.
2307 (gdb_continue_to_end): Likewise. Add 'command' argument.
2308 * lib/cell.exp (skip_cell_tests): Update for exit message change.
2309 * gdb.threads/tls.exp: Update for exit message change.
2310 * gdb.threads/thread-unwindonsignal.exp: Use
2311 gdb_continue_to_end.
2312 * gdb.threads/step.exp (step_it): Update for exit message change.
2313 (continue_all): Likewise.
2314 * gdb.threads/print-threads.exp (test_all_threads): Update for
2315 exit message change.
2316 * gdb.threads/interrupted-hand-call.exp: Use
2317 gdb_continue_to_end.
2318 * gdb.threads/execl.exp: Use gdb_continue_to_end.
2319 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
2320 gdb_continue_to_end.
2321 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
2322 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
2323 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
2324 * gdb.cp/method.exp: Update for exit message change.
2325 * gdb.cp/mb-templates.exp: Update for exit message change.
2326 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
2327 * gdb.cp/annota3.exp: Update for exit message change.
2328 * gdb.cp/annota2.exp: Update for exit message change.
2329 * gdb.cell/fork.exp: Use gdb_continue_to_end.
2330 * gdb.base/term.exp: Update for exit message change.
2331 * gdb.base/step-test.exp (test_i): Update for exit message change.
2332 * gdb.base/sigstep.exp (advance): Update for exit message change.
2333 (advancei): Likewise.
2334 * gdb.base/siginfo.exp: Update for exit message change.
2335 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
2336 * gdb.base/reread.exp: Use gdb_continue_to_end.
2337 * gdb.base/langs.exp: Use gdb_continue_to_end.
2338 * gdb.base/interrupt.exp: Update for exit message change.
2339 * gdb.base/gdb1555.exp: Update for exit message change.
2340 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
2341 * gdb.base/ending-run.exp: Update for exit message change.
2342 * gdb.base/chng-syms.exp: Update for exit message change.
2343 * gdb.base/checkpoint.exp: Update for exit message change.
2344 * gdb.base/catch-syscall.exp (check_for_program_end): Use
2345 gdb_continue_to_end.
2346 (test_catch_syscall_with_wrong_args): Likewise.
2347 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
2348 * gdb.base/break-interp.exp (test_ld): Update for exit message
2350 * gdb.base/bang.exp: Update for exit message change.
2351 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
2352 (do_call_attach_tests): Likewise.
2353 * gdb.base/a2-run.exp: Update for exit message change.
2354 * gdb.arch/ppc-dfp.exp: Update for exit message change.
2355 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
2356 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
2358 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
2360 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
2362 2011-03-03 Tom Tromey <tromey@redhat.com>
2364 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
2365 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
2366 * gdb.hp/gdb.aCC/configure.ac: Remove.
2367 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
2368 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
2369 * gdb.hp/gdb.base-hp/configure.ac: Remove.
2370 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
2371 * gdb.hp/gdb.compat/configure (Makefile): Remove.
2372 * gdb.hp/gdb.compat/configure.ac: Remove.
2373 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
2374 * gdb.hp/gdb.defects/configure (Makefile): Remove.
2375 * gdb.hp/gdb.defects/configure.ac: Remove.
2376 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
2377 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
2378 * gdb.hp/gdb.objdbg/configure.ac: Remove.
2379 * gdb.hp/configure.ac: Remove.
2380 * gdb.hp/configure: Remove.
2381 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
2383 (Makefile): Remove rule.
2384 * gdb.cell/configure.ac: Remove.
2385 * gdb.cell/configure: Remove.
2386 * gdb.stabs/Makefile.in (Makefile): Remove.
2387 (distclean): Don't remove config.status or config.log.
2388 * gdb.stabs/configure (Makefile): Remove.
2389 * gdb.stabs/configure.ac: Remove.
2390 * configure: Rebuild.
2391 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
2392 Remove stabs- and cell-specific logic. Test for existence of
2393 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
2394 subdirectories, gdb.cell, and and gdb.stabs.
2395 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
2397 2011-03-03 Joel Brobecker <brobecker@adacore.com>
2399 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
2402 2011-03-02 Joel Brobecker <brobecker@adacore.com>
2404 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
2405 gdb_test when running a test where we expected no output back.
2407 2011-02-28 Michael Snyder <msnyder@vmware.com>
2409 * gdb.cp/overload.cc: Change initializer value to integer.
2411 2011-02-27 Michael Snyder <msnyder@vmware.com>
2413 * gdb.multi/base.exp: Add test for remove-inferiors.
2415 2011-02-26 Joel Brobecker <brobecker@adacore.com>
2417 * gdb.python/py-frame.exp: Simplify the initialization phase
2418 using prepare_for_testing.
2420 2011-02-25 Michael Snyder <msnyder@vmware.com>
2422 * gdb.multi/base.exp: Add tests for info inferiors with args.
2424 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2426 * gdb.dwarf2/dw2-ranges.S: Rename to ...
2427 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
2428 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
2429 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
2430 asmfile3. Comment the STABS (#3) file compilation. Compile
2431 everything through assembler. Provide KFAIL for symtab/12497.
2432 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
2433 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
2434 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
2435 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
2437 2011-02-24 Michael Snyder <msnyder@vmware.com>
2439 * gdb.base/break.exp: Add tests for delete breakpoints using
2440 convenience variables and value history references.
2442 2011-02-24 Michael Snyder <msnyder@vmware.com>
2444 * gdb.base/break.exp: Remove debugging 'printf' accidentally
2445 left behind in previous check-in.
2447 2011-02-23 Michael Snyder <msnyder@vmware.com>
2449 * gdb.base/break.exp: Add tests for "info break" with arguments.
2450 * gdb.trace/infotrace.exp: Update patterns for error and help.
2451 * gdb.base/completion.exp: Update pattern.
2452 * gdb.base/ena-dis-br.exp: Update pattern.
2453 * gdb.base/help.exp: Update patterns.
2455 2011-02-23 Michael Snyder <msnyder@vmware.com>
2457 * gdb.base/memattr.exp: New test.
2458 * gdb.base/memattr.c: Test load for memattr.exp.
2460 2011-02-22 Doug Evans <dje@google.com>
2462 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
2464 2011-02-22 Michael Snyder <msnyder@vmware.com>
2466 * Makefile.in: Make more clean.
2467 * gdb.ada/Makefile.in: Ditto.
2468 * gdb.arch/Makefile.in: Ditto.
2469 * gdb.asm/Makefile.in: Ditto.
2470 * gdb.base/Makefile.in: Ditto.
2471 * gdb.cp/Makefile.in: Ditto.
2472 * gdb.dwarf2/Makefile.in: Ditto.
2473 * gdb.java/Makefile.in: Ditto.
2474 * gdb.mi/Makefile.in: Ditto.
2475 * gdb.modula2/Makefile.in: Ditto.
2476 * gdb.python/Makefile.in: Ditto.
2477 * gdb.server/Makefile.in: Ditto.
2478 * gdb.stabs/Makefile.in: Ditto.
2479 * gdb.threads/Makefile.in: Ditto.
2480 * gdb.trace/Makefile.in: Ditto.
2482 2011-02-22 Michael Snyder <msnyder@vmware.com>
2484 * gdb.threads/thread-find.exp: Add tests for bad input to
2487 2011-02-22 Joel Brobecker <brobecker@adacore.com>
2489 * gdb.python/py-breakpoint.exp: Fix the expected output of
2490 one of the "maint info breakpoints" tests to accept the output
2491 generated on platforms that do not have hardware watchpoints.
2493 2011-02-22 Joel Brobecker <brobecker@adacore.com>
2495 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
2496 clean_restart. Be a little stricter in the expected output
2497 for one of the tests. Fix a typo in one of the comments.
2499 2011-02-22 Joel Brobecker <brobecker@adacore.com>
2501 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
2502 Delete variable binfile, no longer use. Add or modify test
2503 comments to make them unique.
2505 2011-02-21 Michael Snyder <msnyder@vmware.com>
2507 * Makefile.in: Update for make clean.
2508 * gdb.ada/Makefile.in: Ditto.
2509 * gdb.arch/Makefile.in: Ditto.
2510 * gdb.asm/Makefile.in: Ditto.
2511 * gdb.base/Makefile.in: Ditto.
2512 * gdb.cp/Makefile.in: Ditto.
2513 * gdb.dwarf2/Makefile.in: Ditto.
2514 * gdb.java/Makefile.in: Ditto.
2515 * gdb.mi/Makefile.in: Ditto.
2516 * gdb.modula2/Makefile.in: Ditto.
2517 * gdb.python/Makefile.in: Ditto.
2518 * gdb.server/Makefile.in: Ditto.
2519 * gdb.stabs/Makefile.in: Ditto.
2520 * gdb.threads/Makefile.in: Ditto.
2521 * gdb.trace/Makefile.in: Ditto.
2523 2011-02-21 Michael Snyder <msnyder@vmware.com>
2525 * gdb.threads/thread-find.exp: Update patterns for changes in
2526 output of "info threads" command.
2528 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
2529 Ulrich Weigand <uweigand@de.ibm.com>
2531 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
2532 (skip_hw_watchpoint_tests): Likewise.
2533 (skip_hw_watchpoint_multi_tests): Likewise.
2535 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
2537 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
2538 (skip_hw_watchpoint_tests): Likewise.
2539 (skip_hw_watchpoint_multi_tests): Likewise.
2540 (skip_hw_watchpoint_access_tests): Likewise.
2542 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
2543 * gdb.base/pr11022.exp: Likewise.
2544 * gdb.base/watch-read.exp: Likewise.
2545 * gdb.base/watch_thread_num.exp: Likewise.
2546 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
2547 * gdb.base/watchpoint-hw.exp: Likewise.
2548 * gdb.base/watchpoint.exp: Likewise.
2549 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
2550 * gdb.threads/watchthreads-reorder.exp: Likewise.
2551 * gdb.threads/watchthreads.exp: Likewise.
2552 * gdb.threads/watchthreads2.exp: Likewise.
2554 2011-02-21 Joel Brobecker <brobecker@adacore.com>
2556 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
2557 the debugger is unable to find the array bounds.
2559 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2561 * gdb.cp/typedef-operator.exp: New file.
2562 * gdb.cp/typedef-operator.cc: New file.
2564 2011-02-17 Michael Snyder <msnyder@vmware.com>
2566 * gdb.threads/thread-find.exp: Fix regular expressions.
2568 2011-02-17 Joel Brobecker <brobecker@adacore.com>
2570 * gdb.ada/packed_array: Expand testcase to test printing of
2571 unconstrained packed array.
2573 2011-02-17 Joel Brobecker <brobecker@adacore.com>
2575 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
2577 2011-02-16 Pedro Alves <pedro@codesourcery.com>
2579 * gdb.trace/collection.c (globalarr3): New global.
2580 (main): Initialize it before collecting, and and clear it
2582 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2583 collecting with '{type} addr', where the addr expression is not an
2586 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
2588 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
2589 a bool variable. Expect correct OpenCL names for vector types. Use the
2590 uc3 variable name instead of referring to the uchar3 built-in type.
2591 Escape the asterisk at the half pointer test.
2593 2011-02-16 Pedro Alves <pedro@codesourcery.com>
2595 * gdb.trace/collection.c (globalarr2): New global.
2596 (main): Initialize it before collecting, and and clear it
2598 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
2599 collecting overlapping memory ranges.
2601 2011-02-15 Michael Snyder <msnyder@vmware.com>
2603 * gdb.base/default.exp: Add tests for thread commands.
2604 * gdb.base/help.exp: Add tests for thread commands.
2605 * gdb.threads/thread-find.exp: New test for thread find command.
2607 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
2609 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
2611 2011-02-15 Yao Qi <yao@codesourcery.com>
2614 * gdb.arch/arm-disp-step.S : New test for str instruction.
2615 * gdb.arch/arm-disp-step.exp : Likewise.
2617 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
2619 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
2620 "vector_register2_vr" test strings. Test the extended floating
2621 point registers (F32~F63).
2622 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
2623 IBM XL C compiler. Make the test program use a register provided
2624 by the compiler for the lxvd2x instruction.
2626 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2628 * gdb.trace/unavailable.cc (class Base, class Middle, class
2629 Derived): New types.
2630 (derived_unavail, derived_partial, derived_whole): New globals.
2631 (virtual_partial): New global.
2632 (virtualp): Point at virtual_partial.
2633 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
2634 related to unavailable vptr.
2636 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2638 * gdb.trace/unavailable.cc (a, b, c): New globals.
2639 (main): Set and clear them.
2640 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
2641 `a' and `c', and check that `b' isn't collected, although `a' and
2644 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2646 * gdb.trace/unavailable.cc (struct Virtual): New.
2647 (virtualp): New global pointer.
2648 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
2649 printing a pointer to an object whose type has a vtable, with
2652 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2654 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
2655 value repeat handles unavailableness.
2657 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2659 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
2660 tests for building arrays from unavailable values, subscripting
2661 non-memory rvalue unvailable arrays, and accessing fields or
2662 baseclasses of non-lazy unavailable values,
2663 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
2665 (g_smallstruct, g_smallstruct_b): New globals.
2667 2011-02-14 Pedro Alves <pedro@codesourcery.com>
2669 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
2671 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2673 Fix const/volatile qualifiers of C++ types, PR c++/12328.
2674 * gdb.cp/overload-const.exp: New file.
2675 * gdb.cp/overload-const.cc: New file.
2677 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2679 * gdb.opencl/callfuncs.cl: New file.
2680 * gdb.opencl/callfuncs.exp: New test.
2681 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
2683 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
2685 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
2686 when computing result.
2687 * gdb.arch/altivec-abi.exp: Update expected results.
2689 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
2691 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
2692 * gdb.base/jit.exp: Likewise.
2693 * gdb.base/pie-execl.exp: Likewise.
2694 * gdb.base/solib-nodir.exp: Likewise.
2695 * gdb.base/solib-overlap.exp: Likewise.
2697 2011-02-07 Pedro Alves <pedro@codesourcery.com>
2699 * gdb.trace/collection.c (global_pieces): New.
2700 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
2702 (gdb_trace_collection_test): Call it.
2704 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
2706 * gdb.python/py-evthreads.c: New file.
2707 * gdb.python/py-evthreads.exp: New file.
2708 * gdb.python/py-events.py: New file.
2709 * gdb.python/py-events.exp: New file.
2710 * gdb.python/py-events.c: New file.
2712 2011-02-04 David Daney <ddaney@caviumnetworks.com>
2714 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
2716 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
2718 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
2719 gdb.base/disasm-end-cu.exp: New test for disassembling over the
2720 boundary between two compilation units.
2722 2011-02-02 Pedro Alves <pedro@codesourcery.com>
2724 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
2725 (Virtual): New structs.
2726 (virtual_o, virtual_middle_b): New globals.
2727 * gdb.cp/virtbase.exp: New tests.
2729 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
2731 * gdb.base/jit.exp: New file.
2732 * gdb.base/jit-main.c: New file.
2733 * gdb.base/jit-solib.c: New file.
2735 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
2737 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
2738 proceed to initial kernel entry point.
2739 * gdb.opencl/datatypes.exp: Likewise.
2740 * gdb.opencl/operators.exp: Likewise.
2741 * gdb.opencl/vec_comps.exp: Likewise.
2743 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
2745 * gdb.cp/nsnested.cc: New.
2746 * gdb.cp/nsnested.exp: New.
2747 * gdb.cp/nsnoimports.exp: New.
2748 * gdb.cp/nsnoimports.cc: New.
2750 2011-01-31 Joel Brobecker <brobecker@adacore.com>
2752 * gdb.base/interact.exp: Add extra tests that verify that
2753 the value of the interactive-mode setting does not change
2754 after the script is sourced.
2756 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2758 * gdb.cp/noparam.exp: New file.
2759 * gdb.cp/noparam.cc: New file.
2761 2011-01-28 Pedro Alves <pedro@codesourcery.com>
2763 * gdb.trace/tfile.exp: Test that with no traceframe selected,
2764 there's no stack or registers.
2766 2011-01-26 Tom Tromey <tromey@redhat.com>
2768 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
2769 space before string output. Add test for "set print pretty off"
2772 2011-01-25 Pedro Alves <pedro@codesourcery.com>
2774 * gdb.base/frame-args.exp: Adjust.
2775 * gdb.dwarf2/dw2-noloc.exp: Adjust.
2776 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
2777 * gdb.dwarf2/pieces.exp: Adjust.
2778 * gdb.opt/clobbered-registers-O2.exp: Adjust.
2779 * gdb.opt/inline-locals.exp: Adjust.
2780 * gdb.threads/fork-child-threads.exp: Adjust.
2782 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
2784 * gdb.opencl/convs_casts.cl: Move program scope variables into the
2785 OpenCL kernel function. Add a comment as marker. Add address space
2786 qualifiers for the remaining program scope variables.
2787 * gdb.opencl/datatypes.cl: Likewise.
2788 * gdb.opencl/operators.cl: Likewise.
2789 * gdb.opencl/vec_comps.cl: Likewise.
2790 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
2791 Add breakpoint at the marker comment.
2792 * gdb.opencl/datatypes.exp: Likewise.
2793 * gdb.opencl/operators.exp: Likewise.
2794 * gdb.opencl/vec_comps.exp: Likewise.
2796 2011-01-24 Pedro Alves <pedro@codesourcery.com>
2798 * gdb.base/printcmds.c (some_struct): New struct and instance.
2799 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
2801 <global scope>: Call it.
2803 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
2805 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
2806 argument to the gdb_compile_opencl_hostapp call.
2808 2011-01-19 Yao Qi <yao@codesourcery.com>
2810 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
2813 2011-01-19 Yao Qi <yao@codesourcery.com>
2815 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
2818 * gdb.xml/tdesc-regs.exp: Likewise.
2819 * gdb.python/py-section-script.exp: Replace ARM target triplet
2820 with canonical form.
2821 Match arm*-*-symbianelf*.
2822 * gdb.base/dup-sect.exp: Likewise.
2823 * lib/dwarf.exp: New.
2824 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
2826 * gdb.dwarf2/dup-psym.exp: Likewise.
2827 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
2828 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
2829 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
2830 * gdb.dwarf2/dw2-basic.exp: Likewise.
2831 * gdb.dwarf2/dw2-compressed.exp: Likewise.
2832 * gdb.dwarf2/dw2-const.exp: Likewise.
2833 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
2834 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
2835 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
2836 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
2837 * gdb.dwarf2/dw2-filename.exp: Likewise.
2838 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
2839 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
2840 * gdb.dwarf2/dw2-intercu.exp: Likewise.
2841 * gdb.dwarf2/dw2-intermix.exp: Likewise.
2842 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
2843 * gdb.dwarf2/dw2-noloc.exp: Likewise.
2844 * gdb.dwarf2/dw2-op-call.exp: Likewise.
2845 * gdb.dwarf2/dw2-producer.exp: Likewise.
2846 * gdb.dwarf2/dw2-ranges.exp: Likewise.
2847 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
2848 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
2849 * gdb.dwarf2/dw2-strp.exp: Likewise.
2850 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
2851 * gdb.dwarf2/implptr.exp: Likewise.
2852 * gdb.dwarf2/mac-fileno.exp: Likewise.
2853 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
2854 * gdb.dwarf2/pieces.exp: Likewise.
2855 * gdb.dwarf2/pr11465.exp: Likewise.
2856 * gdb.dwarf2/valop.exp: Likewise.
2857 * gdb.dwarf2/watch-notconst.exp: Likewise.
2858 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
2860 2011-01-19 Tom Tromey <tromey@redhat.com>
2862 * gdb.python/py-infthread.exp: Add thread tests.
2864 2011-01-14 Joel Brobecker <brobecker@adacore.com>
2866 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
2868 2011-01-14 Joel Brobecker <brobecker@adacore.com>
2870 * gdb.ada/widewide: New testcase.
2872 2011-01-13 Joel Brobecker <brobecker@adacore.com>
2874 * gdb.base/interact.exp: New testcase.
2876 2011-01-12 Tom Tromey <tromey@redhat.com>
2878 * gdb.mi/gdb2549.exp: Update for error message changes.
2879 * gdb.mi/mi-cli.exp: Likewise.
2880 * gdb.mi/mi-disassemble.exp: Likewise.
2881 * gdb.mi/mi-pthreads.exp: Likewise.
2882 * gdb.mi/mi-regs.exp: Likewise.
2883 * gdb.mi/mi-stack.exp: Likewise.
2884 * gdb.mi/mi-var-block.exp: Likewise.
2885 * gdb.mi/mi-var-cmd.exp: Likewise.
2886 * gdb.mi/mi2-cli.exp: Likewise.
2887 * gdb.mi/mi2-disassemble.exp: Likewise.
2888 * gdb.mi/mi2-pthreads.exp: Likewise.
2889 * gdb.mi/mi2-regs.exp: Likewise.
2890 * gdb.mi/mi2-stack.exp: Likewise.
2891 * gdb.mi/mi2-var-block.exp: Likewise.
2892 * gdb.mi/mi2-var-cmd.exp: Likewise.
2894 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
2895 Jan Kratochvil <jan.kratochvil@redhat.com>
2897 PR fortran/11104 and DWARF unbound arrays detection.
2898 * gdb.fortran/multi-dim.exp: New file.
2899 * gdb.fortran/multi-dim.f90: New file.
2901 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
2903 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
2904 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
2905 add new tests for opcode dumping.
2907 2011-01-11 Tom Tromey <tromey@redhat.com>
2909 * gdb.python/py-infthread.exp: Load gdb-python.exp.
2911 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
2913 Convert hardware watchpoints to use breakpoint_ops.
2914 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
2915 type is not supported.
2916 * gdb.base/foll-fork.exp: Likewise.
2917 * gdb.base/foll-vfork.exp: Likewise.
2919 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
2921 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
2922 Use load_lib gdb-python.exp.
2923 * gdb.python/python.exp: Ditto.
2924 * gdb.python/py-function.exp: Ditto.
2926 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
2928 * gdb.threads/tls.exp ("info address me"): Fix expected output.
2930 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2932 * configure: Regenerate.
2934 2011-01-06 Tom Tromey <tromey@redhat.com>
2936 * gdb.python/py-frame.exp: Test gdb.newest_frame.
2938 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2940 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
2941 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
2942 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
2943 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
2944 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
2945 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
2946 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
2947 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
2948 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
2949 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
2950 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
2951 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
2952 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
2953 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
2954 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
2955 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
2956 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
2957 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
2958 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
2959 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
2960 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
2961 gdb.ada/uninitialized_vars.exp,
2962 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
2963 Simplify by using clean_restart.
2965 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2967 Add marker to be used as anchor for inserting breakpoints.
2968 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
2969 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
2972 Remove uses of gdb_start_cmd.
2973 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
2974 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
2976 Do not run testcase if testing with GDBserver.
2977 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
2978 if testing with GDBserver.
2980 2011-01-06 Joel Brobecker <brobecker@adacore.com>
2982 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
2983 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
2986 2011-01-05 Joel Brobecker <brobecker@adacore.com>
2988 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
2989 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
2990 testsuite/gdb.fortran/complex.f,
2991 testsuite/gdb.fortran/derived-type.f90,
2992 testsuite/gdb.fortran/library-module-lib.f90,
2993 testsuite/gdb.fortran/library-module-main.f90,
2994 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
2995 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
2996 Copyright year update.
2998 2011-01-05 Joel Brobecker <brobecker@adacore.com>
3000 * gdb.base/langs1.f: Add copyright header.
3002 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3004 * gdb.base/morestack.exp: New file.
3005 * gdb.base/morestack.c: New file.
3007 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3009 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3011 2010-12-29 Joel Brobecker <brobecker@adacore.com>
3013 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3014 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3016 2010-12-29 Joel Brobecker <brobecker@adacore.com>
3018 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3020 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3022 * gdb.threads/tls.exp: Fix typo.
3024 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3025 * gdb.threads/execl.exp: Update.
3027 2010-12-23 Yao Qi <yao@codesourcery.com>
3029 * gdb.arch/arm-disp-step.exp: New.
3030 * gdb.arch/arm-disp-step.S: New.
3032 2010-12-21 Tom Tromey <tromey@redhat.com>
3034 * gdb.threads/execl.exp: Update.
3035 * gdb.threads/linux-dp.exp: Update.
3036 * gdb.threads/manythreads.exp: Update.
3037 * gdb.threads/tls.exp: Update.
3039 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3041 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3042 (NextOverThrowDerivates) <resumebpt>: New.
3043 (resumebpt_test): New.
3044 (main): Call resumebpt_test.
3045 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3047 2010-12-12 Stan Shebs <stan@codesourcery.com>
3049 * gdb.trace/tsv.exp: Test print command on trace state variables.
3051 2010-12-09 Tom Tromey <tromey@redhat.com>
3053 * gdb.base/interp.exp: Add regression test.
3055 2010-12-09 Tom Tromey <tromey@redhat.com>
3057 * gdb.java/jnpe.java: New file.
3058 * gdb.java/jnpe.exp: New file.
3059 * gdb.cp/nextoverthrow.exp: New file.
3060 * gdb.cp/nextoverthrow.cc: New file.
3062 2010-12-07 Doug Evans <dje@google.com>
3064 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3066 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3068 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3070 2010-11-29 Michael Snyder <msnyder@vmware.com>
3072 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3073 * gdb.base/call-sc.exp: Ditto.
3074 * gdb.base/finish.exp: Ditto.
3075 * gdb.base/return.exp: Ditto.
3076 * gdb.base/return2.exp: Ditto.
3078 2010-11-30 Doug Evans <dje@google.com>
3080 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3081 (gdb_expect_list): Fix spelling errors in comments.
3082 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3083 send_gdb/gdb_expect_list where applicable.
3084 * gdb.base/call-ar-st.exp: Ditto.
3085 * gdb.base/funcargs.exp: Ditto.
3086 * gdb.base/gcore.exp: Ditto.
3087 * gdb.base/page.exp: Ditto.
3088 * gdb.base/sigaltstack.exp: Ditto.
3089 * gdb.base/siginfo.exp: Ditto.
3090 * gdb.base/sigstep.exp: Ditto.
3091 * gdb.base/trace-commands.exp: Ditto.
3093 2010-11-29 Doug Evans <dje@google.com>
3095 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
3096 printer-name;subprinter-name.
3098 2010-11-29 Tom Tromey <tromey@redhat.com>
3100 * gdb.dwarf2/implptr.exp: New file.
3101 * gdb.dwarf2/implptr.c: New file.
3102 * gdb.dwarf2/implptr.S: New file.
3104 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
3108 * gdb.python/py-breakpoint.exp: Test the delete method.
3110 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3112 Fix step_resume_breakpoint unsaved during an infcall.
3113 * gdb.base/step-resume-infcall.exp: New file.
3114 * gdb.base/step-resume-infcall.c: New file.
3116 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
3118 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
3120 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
3122 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
3123 on ppc64's symbols; "finish" and "return" commands must accept to
3124 show the caller line again as well as the line after.
3125 * gdb.asm/powerpc64.inc: New file.
3127 2010-11-23 Doug Evans <dje@google.com>
3129 * lib/gdb.exp (gdb_test_sequence): New function.
3130 (gdb_expect_list): Add verbose -log call for each pattern.
3131 * gdb.base/signals.exp (test_handle_all_print): Call it.
3132 Reduce timeout increment from 6 minutes to 1 minute.
3133 * gdb.server/ext-run.exp: Call it.
3135 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
3139 * gdb.python/python.exp: Check that selected_thread raises an
3140 error when no inferior is loaded.
3142 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3144 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
3145 * gdb.dwarf2/dw2-stack-boundary.S: New file.
3147 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3149 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
3150 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
3152 2010-11-18 Doug Evans <dje@google.com>
3154 * gdb.server/ext-run.exp: Fix intermittent failures.
3156 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3158 * gdb.stabs/gdb11479.exp: Use runto_main.
3160 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3162 * gdb.base/break-entry.exp: Skip if using a stub.
3164 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
3166 * gdb.python/py-inferior.exp: Pack values in target endianness.
3168 2010-11-12 Tom Tromey <tromey@redhat.com>
3170 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
3171 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
3173 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
3175 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
3177 (test_subscript_regression): Update exception type.
3179 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
3181 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
3184 2010-11-09 Pedro Alves <pedro@codesourcery.com>
3186 * gdb.base/watchpoint.exp: Test "watch -location" with an
3187 innacessible location.
3189 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
3190 Luis Machado <luisgpm@br.ibm.com>
3192 * gdb.base/maint.exp: Expect "." prefix.
3193 * gdb.base/nodebug.exp: Expect "." Likewise.
3194 * gdb.base/sepsymtab.exp: Expect "." Likewise.
3195 * gdb.base/watchpoint-cond-gone.exp: Likewise.
3196 * gdb.base/watchpoint.exp: Expect a software watch to be created for
3197 POWER server processors.
3199 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
3200 Luis Machado <luisgpm@br.ibm.com>
3202 * gdb.base/break-entry.exp: convert entry point for
3203 ppc64 and expect leading `.' on ppc64's symbols
3205 2010-11-05 Doug Evans <dje@google.com>
3207 * gdb.base/help.exp: Update expected output.
3208 * gdb.python/py-param.exp: Delete, contents moved to ...
3209 * gdb.python/py-parameter.exp: ... here. New file.
3210 Add test for gdb.parameter ("directories").
3212 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
3214 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
3215 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
3216 * configure: Regenerate.
3217 * gdb.opencl/Makefile.in: New File.
3218 * gdb.opencl/datatypes.exp: Likewise.
3219 * gdb.opencl/datatypes.cl: Likewise.
3220 * gdb.opencl/operators.exp: Likewise.
3221 * gdb.opencl/operators.cl: Likewise.
3222 * gdb.opencl/vec_comps.exp: Likewise.
3223 * gdb.opencl/vec_comps.cl: Likewise.
3224 * gdb.opencl/convs_casts.exp: Likewise.
3225 * gdb.opencl/convs_casts.cl: Likewise.
3226 * lib/opencl.exp: Likewise.
3227 * lib/opencl_hostapp.c: Likewise.
3228 * lib/opencl_kernel.cl: Likewise.
3229 * lib/cl_util.c: Likewise.
3230 * lib/cl_util.c: Likewise.
3231 * gdb.base/default.exp (set language): Add "opencl" to the list of
3234 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
3236 * gdb.cp/overload.exp: Added test for inheritance overload.
3237 * gdb.cp/overload.cc: Ditto.
3238 * gdb.cp/oranking.exp: Removed releveant kfails.
3240 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3241 Joel Brobecker <brobecker@adacore.com>
3243 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
3244 check test_compiler_info.
3246 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
3248 * gdb.base/gnu_vector.exp: Adjust expect messages.
3250 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
3252 * gdb.base/gnu_vector.exp: Add unary operator tests.
3254 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
3256 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
3258 2010-11-02 Doug Evans <dje@google.com>
3260 * gdb.python/py-pp-maint.c: New file.
3261 * gdb.python/py-pp-maint.exp: New file.
3262 * gdb.python/py-pp-maint.py: New file.
3264 2010-11-02 Tom Tromey <tromey@redhat.com>
3266 * gdb.base/default.exp: Remove "scheme" from language list.
3268 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3271 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3272 * gdb.threads/sigstep-threads.exp: New file.
3273 * gdb.threads/sigstep-threads.c: New file.
3275 2010-10-20 Michael Snyder <msnyder@vmware.com>
3277 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
3279 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3281 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
3282 Skip test completely if gdb,no_hardware_watchpoints.
3284 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
3286 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
3287 strict, but do not check for any particular function name within libc.
3289 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3291 * gdb.cp/smartp.exp: New test.
3292 * gdb.cp/smartp.cc : New test.
3294 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
3296 * gdb.cp/converts.exp: Test pointer to bool conversion.
3297 Test pointer to long conversion.
3298 * gdb.cp/oranking.exp: Removed relevant kfail.
3300 2010-10-18 Tom Tromey <tromey@redhat.com>
3302 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
3303 argument to lazy_string.
3304 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
3305 (pp_ls.to_string): Use it.
3306 * gdb.python/py-prettyprint.c (main): Move declarations to top.
3307 Add "estring2" local.
3309 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3311 Fix s390x compatibility.
3312 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
3313 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
3315 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3317 * gdb.threads/sigstep-threads.exp: New file.
3318 * gdb.threads/sigstep-threads.c: New file.
3320 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3322 * gdb.base/pie-execl.exp: New file.
3323 * gdb.base/pie-execl.c: New file.
3325 2010-10-13 Doug Evans <dje@google.com>
3326 Jan Kratochvil <jan.kratochvil@redhat.com>
3329 * gdb.cp/ptype-cv-cp.cc: New file.
3330 * gdb.cp/ptype-cv-cp.exp: New file.
3332 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
3334 * gdb.cp/converts.cc: New test program.
3335 * gdb.cp/converts.exp: New test.
3336 * gdb.cp/overload.exp: Added test for void* vs int*.
3337 * gdb.cp/overload.exp: Ditto.
3338 * gdb.cp/oranking.exp: Removed related kfail.
3340 2010-10-13 Doug Evans <dje@google.com>
3342 * lib/gdb-python.exp (gdb_check_python_config): New function.
3343 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
3344 * gdb.python/lib-types.cc: New file.
3345 * gdb.python/lib-types.exp: New file.
3347 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3349 * gdb.python/py-error.exp: New file.
3350 * gdb.python/py-error.py: New file.
3352 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3354 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
3357 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
3359 * gdb.base/break-interp.exp: Use ldlags for linking flags.
3360 * gdb.base/prelink.exp: Likewise.
3361 * gdb.base/solib-nodir.exp: Likewise.
3362 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
3363 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
3364 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
3366 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
3368 * break-interp.exp (test_ld): Use two separate gdb_expect statements
3369 for the "info files" test to avoid timeouts on slow machines.
3371 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3373 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
3374 (main): Make openlib dummy call.
3376 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3378 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
3379 * break-interp.exp (reach): Move the core body ...
3380 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
3381 (test_ld): Provide always real argument, even to the linker. Replace
3382 dl_main by _dl_debug_state.
3384 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3386 Fix results of prelinked PIEs on ppc*.
3387 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
3388 Accept also DISPLACEMENT "PRESENT".
3389 (main): Replace "ZERO" displacements by "PRESENT".
3391 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
3393 * gdb.cp/oranking.exp: New test.
3394 * gdb.cp/oranking.cc: New test program.
3396 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
3398 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
3399 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
3401 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
3403 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
3404 lush, lynx) New constant.
3405 * gdb.base/constvars.exp: Test const array types.
3406 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
3408 2010-10-06 Doug Evans <dje@google.com>
3410 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
3411 of syscall staging area.
3413 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
3415 * gdb.base/gnu_vector.c: Add variable c4.
3416 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
3417 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
3419 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
3421 * gdb.arch/altivec-abi.exp: Fix a typo.
3423 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
3425 * lib/mi-support.exp (thread_selected_re): Correct pattern used
3426 to match a thread ID.
3428 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3430 Fix s390x testcase compatibility.
3431 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
3433 2010-10-01 Doug Evans <dje@google.com>
3435 * lib/gdb-python.exp: New file.
3436 * gdb.python/py-block.exp: Use it.
3437 * gdb.python/py-breakpoint.exp: Ditto.
3438 * gdb.python/py-frame.exp: Ditto.
3439 * gdb.python/py-inferior.exp: Ditto.
3440 * gdb.python/py-param.exp: Ditto.
3441 * gdb.python/py-prettyprint.exp: Ditto.
3442 * gdb.python/py-shared.exp: Ditto.
3443 * gdb.python/py-symbol.exp: Ditto.
3444 * gdb.python/py-symtab.exp: Ditto.
3445 * gdb.python/py-type.exp: Ditto.
3446 * gdb.python/py-value.exp: Ditto.
3447 * gdb.python/python.exp: Ditto.
3449 2010-09-30 Tom Tromey <tromey@redhat.com>
3451 * gdb.base/anon.exp: New file.
3452 * gdb.base/anon.c: New file.
3454 2010-09-30 Tom Tromey <tromey@redhat.com>
3456 * gdb.base/completion.exp: Test completion through anonymous
3458 * gdb.base/break1.c (struct some_struct): Add anonymous union.
3460 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3462 Fix printing parameters of inlined functions.
3463 * gdb.dwarf2/dw2-inline-param.exp: New file.
3464 * gdb.dwarf2/dw2-inline-param-main.c: New file.
3465 * gdb.dwarf2/dw2-inline-param.S: New file.
3467 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3470 * gdb.base/corefile.exp (quit with a process, no question: load core)
3471 (quit with a core file): New tests.
3473 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3475 Fix GDB crash on inferior calls with self-referencing classes.
3476 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
3477 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
3478 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
3480 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3482 Fix lost siginfo_t for inferior calls.
3483 * gdb.base/siginfo-infcall.exp: New file.
3484 * gdb.base/siginfo-infcall.c: New file.
3486 2010-09-22 Joel Brobecker <brobecker@adacore.com>
3488 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
3490 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3492 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
3494 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
3496 2010-09-22 Joel Brobecker <brobecker@adacore.com>
3498 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
3499 type of our const type.
3501 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
3503 * gdb.cp/pr12028.cc: New.
3504 * gdb.cp/pr12028.exp: New.
3506 2010-09-22 Joel Brobecker <brobecker@adacore.com>
3508 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
3510 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
3511 Jan Kratochvil <jan.kratochvil@redhat.com>
3514 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
3515 * gdb.mi/dw2-ref-missing-frame-main.c New File.
3516 * gdb.mi/dw2-ref-missing-frame.S New File.
3517 * gdb.mi/dw2-ref-missing-frame.exp New File.
3519 2010-09-14 Tom Tromey <tromey@redhat.com>
3522 * gdb.threads/tls.exp: Remove kfail. Update expected output.
3524 2010-09-14 Tom Tromey <tromey@redhat.com>
3527 * gdb.threads/tls.exp: Use C++.
3528 (check_thread_local): Use K::another_thread_local.
3529 * gdb.threads/tls.c (class K): New.
3530 (another_thread_local): Now a member of K.
3531 (spin): Update. No longer K&R C.
3533 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
3535 * gdb.cp/koenig.cc: created class for testing member lookup.
3536 * gdb.cp/koenig.exp: Added test for member lookup.
3538 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3540 Fix false FAILs on sourcetree topdir directory containing "kill".
3541 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
3542 source line matching regexp.
3544 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3546 * gdb.python/python.exp (set height 0, collect help from uiout)
3547 (verify help to uiout): New tests.
3549 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
3551 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
3552 is_lp64_target to check 64bit target.
3554 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
3556 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
3557 (test_ld) <powerpc64-*>: New.
3559 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3561 * gdb.cp/templates.exp (test_template_args): Allow "struct".
3563 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
3565 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
3566 (FunctionArg::method): New function.
3567 (empty, arg): New variables.
3568 (main): Call arg.method.
3569 * gdb.cp/templates.exp (test_template_args): New function.
3570 (do_tests): Call it.
3572 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3574 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
3575 of "next" to proceed over pthread_exit call.
3577 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
3579 * gdb.base/maint.exp: Avoid wildcards against potentially very long
3580 "maint print statistics" output to prevent expect timeouts.
3582 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3584 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
3585 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3586 (test_float_rejected): ... here.
3587 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
3588 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3589 (test_float_rejected): ... here.
3590 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
3591 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3592 (test_float_rejected): ... here.
3593 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
3594 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
3595 (test_float_rejected): ... here.
3597 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
3599 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
3600 before disabling hardware watchpoints.
3601 (test_inaccessible_watchpoint): Check that hardware watchpoints
3602 are used. Test for watchpoints on a constant address.
3604 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3606 * gdb.base/ui-redirect.exp: New file.
3608 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3609 Joel Brobecker <brobecker@adacore.com>
3611 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
3613 2010-08-31 Doug Evans <dje@google.com>
3615 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
3617 2010-08-30 Tom Tromey <tromey@redhat.com>
3620 * gdb.python/py-value.exp (test_subscript_regression): Add
3623 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
3625 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
3626 instead of running to main. Do not test the main function.
3627 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
3630 2010-08-26 Pedro Alves <pedro@codesourcery.com>
3632 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
3635 2010-08-24 Doug Evans <dje@google.com>
3638 * gdb.dwarf2/dw4-sig-types.cc: New file.
3639 * gdb.dwarf2/dw4-sig-types.h: New file.
3640 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
3641 * gdb.dwarf2/dw4-sig-types.exp: New file.
3643 2010-08-23 Tom Tromey <tromey@redhat.com>
3646 * gdb.python/py-value.c (Base, Derived): New types.
3648 * gdb.python/py-value.exp (test_subscript_regression): Add
3651 2010-08-23 Tom Tromey <tromey@redhat.com>
3654 * gdb.python/py-type.exp (test_fields): Add tests for type
3657 2010-08-23 Tom Tromey <tromey@redhat.com>
3660 * gdb.python/py-type.exp (test_fields): Add tests for array.
3662 2010-08-23 Keith Seitz <keiths@redhat.com>
3664 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
3665 have any children. Create a new abbrev for it.
3666 Add missing terminal sequence to .debug_abbrev.
3668 2010-08-20 Keith Seitz <keiths@redhat.com>
3671 * gdb.dwarf2/pr11465.exp: New test.
3672 * gdb.dwarf2/pr11465.S: New file.
3673 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
3674 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
3676 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
3678 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
3679 registers. Update data sets with the new v2_double element in the
3680 VSX register union. Add vector_register3_vr data set for the AltiVec
3681 registers. Use gdb_test_no_output instead of send_gdb.
3683 2010-08-19 Pedro Alves <pedro@codesourcery.com>
3685 * gdb.python/py-shared.exp: New file, factored out from
3687 * gdb.python/py-shared.c: New file.
3688 * gdb.python/py-shared-sl.c: New file.
3689 * gdb.python/python-1.c: New file.
3690 * gdb.python/python-sl.c: Delete.
3691 * gdb.python/python.c: Mention python-1.c.
3692 * gdb.python/python.exp: Move shared library tests to
3694 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
3695 (MISCELLANEOUS): New.
3696 (clean mostlyclean): Also remove $MISCELLANEOUS.
3698 2010-08-19 Doug Evans <dje@google.com>
3701 * gdb.base/printcmds.exp (test_float_accepted): New function.
3702 Move existing float tests there. Add tests for floats with suffixes.
3703 (test_float_rejected): New function.
3704 * gdb.java/jv-print.exp (test_float_accepted): New function.
3705 (test_float_rejected): New function.
3706 * gdb.objc/print.exp: New file.
3707 * gdb.pascal/print.exp: New file.
3708 * lib/objc.exp: New file.
3710 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
3712 * gdb.base/default.exp (info set): Avoid full buffer error and force
3713 reading up to final gdb prompt.
3716 2010-08-18 Tom Tromey <tromey@redhat.com>
3719 * gdb.base/completion.exp: Add test.
3721 2010-08-18 Doug Evans <dje@google.com>
3723 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
3724 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
3725 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
3726 Simplify, early exit if runto_main fails.
3727 * gdb.fortran/exprs.exp: load_lib fortran.exp.
3728 (set_lang_fortran): Moved to lib/fortran.exp.
3729 * gdb.fortran/types.exp: load_lib fortran.exp.
3730 (set_lang_fortran): Moved to lib/fortran.exp.
3731 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
3732 * gdb.java/jprint.exp (set_lang_java): Ditto.
3733 * gdb.java/jv-exp.exp: load_lib java.exp.
3734 If set_lang_java fails, issue a warning instead of failure to be
3735 consistent with other set_lang_foo uses.
3736 (set_lang_java): Moved to lib/java.exp.
3737 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
3738 If set_lang_java fails, issue a warning instead of failure to be
3739 consistent with other set_lang_foo uses.
3740 * gdb.pascal/types.exp: load_lib pascal.exp.
3741 (set_lang_pascal): Moved to lib/pascal.exp.
3742 * lib/fortran.exp: New file.
3743 * lib/java.exp (set_lang_java): New function.
3744 * lib/pascal.exp (set_lang_pascal): New function.
3746 2010-08-18 Yao Qi <yao@codesourcery.com
3748 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
3749 func_nofb_start and func_loopfb_start, so that address of functions
3750 is equal to these labels on Thumb.
3752 2010-08-18 Yao Qi <yao@codesourcery.com>
3754 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
3755 to reflect latest c source file.
3757 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3759 * gdb.cp/infcall-dlopen.exp: New file.
3760 * gdb.cp/infcall-dlopen.cc: New file.
3761 * gdb.cp/infcall-dlopen-lib.cc: New file.
3763 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3764 Pedro Alves <pedro@codesourcery.com>
3766 PR breakpoints/11371
3768 * gdb.base/watch-cond-infcall.exp: New file.
3769 * gdb.base/watch-cond-infcall.c: New file.
3771 2010-08-16 Tom Tromey <tromey@redhat.com>
3773 * gdb.base/help.exp: Update.
3774 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
3776 (test_watch_location): New proc.
3777 (test_watchpoint_in_big_blob): Delete watchpoint.
3778 * gdb.base/watchpoint.c (func5): New function.
3781 2010-08-16 Doug Evans <dje@google.com>
3783 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
3785 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3787 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
3790 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
3792 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
3793 * gdb.base/gnu_vector.c: New File.
3794 * gdb.base/gnu_vector.exp: Likewise.
3796 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
3798 * gdb.python/python.c: New File.
3799 * gdb.python/python-sl.c: New File.
3800 * gdb.python/python.exp: Test solib_address and decode_line
3803 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3805 * gdb.python/python.exp (show height, set height 10)
3806 (verify pagination beforehand, verify pagination beforehand: q)
3807 (gdb.execute does not page, verify pagination afterwards)
3808 (verify pagination afterwards: q): New.
3810 2010-08-02 Doug Evans <dje@google.com>
3812 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
3813 because of an older gcc, change test2
3814 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
3817 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
3819 * gdb.base/break-always.exp: Do not expect full paths to file
3821 * gdb.base/commands.exp: Likewise.
3823 2010-07-30 Doug Evans <dje@google.com>
3825 * gdb.cp/temargs.exp: For new tests that require newer gccs,
3826 xfail them when run with older gccs.
3828 * lib/gdb.exp (build_executable): Forward "c++" option to
3831 * gdb.python/py-type.exp (test_template): Mark as xfail tests
3832 "python print ttype.template_argument(1)" and
3833 "python print isinstance(ttype.template_argument(1), gdb.Value)"
3834 if using gcc 4.4 or earlier.
3836 * gdb.base/valgrind-db-attach.exp: Use unique test name for
3837 attach-to-debugger handling.
3839 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
3841 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
3842 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
3843 (main): Use copyreloc.
3844 * gdb.base/prelink.exp (split debug of executable)
3845 (.dynbss vs. .bss address shift): New tests.
3847 2010-07-29 Pedro Alves <pedro@codesourcery.com>
3849 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
3850 in gdb_test_multiple.
3852 2010-07-29 Pedro Alves <pedro@codesourcery.com>
3854 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
3857 2010-07-28 Tom Tromey <tromey@redhat.com>
3860 * gdb.python/py-type.c (Temargs): New template.
3861 (temvar): New variable.
3862 * gdb.python/py-type.exp (test_template): New proc.
3864 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
3866 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
3867 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
3869 2010-07-28 Tom Tromey <tromey@redhat.com>
3872 * gdb.cp/temargs.exp: New file.
3873 * gdb.cp/temargs.cc: New file.
3875 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3877 * gdb.base/help.exp (help disassemble): Update the content.
3879 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
3881 * gdb.threads/ia64-sigill.exp: New file.
3882 * gdb.threads/ia64-sigill.c: New file.
3884 2010-07-27 Tom Tromey <tromey@redhat.com>
3886 * gdb.opt/inline-cmds.c (ATTR): New define.
3890 (outer_inline1): Likewise.
3891 (outer_inline2): Likewise.
3892 * gdb.opt/inline-bt.c (ATTR): New define.
3895 * gdb.opt/inline-locals.c (ATTR): New define.
3899 2010-07-27 Tom Tromey <tromey@redhat.com>
3901 * gdb.stabs/gdb11479.c (hack): New function.
3904 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
3905 (int32_search_buf, int64_search_buf): No longer static.
3907 * gdb.base/relocate.c (hack): New function.
3909 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
3911 * gdb.python/py-value.exp (test_inferior_function_call): New function.
3912 * gdb.python/py-value.c (func1): New function.
3915 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
3917 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
3918 as not to clash with .data section.
3920 2010-07-26 Jerome Guitton <guitton@adacore.com>
3922 * gdb.base/code_elim.exp: New file.
3923 * gdb.base/code_elim1.c: New file.
3924 * gdb.base/code_elim2.c: New file.
3926 2010-07-21 Pedro Alves <pedro@codesourcery.com>
3930 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
3931 (some_volatile_enum): New variable.
3932 * gdb.base/printcmds.exp (test_print_enums): New.
3933 <top level>: Call it.
3935 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
3937 * gdb.cp/fpointer.cc: New test.
3938 * gdb.cp/fpointer.exp: New test.
3940 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3942 * gdb.base/solib-nodir.exp: New file.
3943 * lib/gdb.exp (runto): New case for a GDB internal error.
3945 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3946 Ulrich Weigand <uweigand@de.ibm.com>
3947 Tom Tromey <tromey@redhat.com>
3949 * gdb.base/charset-malloc.c: New file.
3950 * gdb.base/charset.c (malloc_stub): New prototype.
3951 (main): Call it instead of malloc itself.
3952 * gdb.base/charset.exp: Use only prepare_for_testing.
3953 (binfile): Remove the variable.
3955 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3957 Make core files the process_stratum.
3958 * gdb.base/corefile.exp (run: load core again)
3959 (run: sanity check we see the core file, run: with core)
3960 (run: core file is cleared, attach: load core again)
3961 (attach: sanity check we see the core file, attach: with core)
3962 (attach: core file is cleared): New tests.
3963 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
3965 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
3967 * gdb.arch/altivec-abi.exp: New tests.
3969 2010-07-13 Tom Tromey <tromey@redhat.com>
3971 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
3973 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
3975 2010-07-13 Tom Tromey <tromey@redhat.com>
3977 * gdb.base/label.exp: New file.
3978 * gdb.base/label.c: New file.
3980 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
3981 H.J. Lu <hongjiu.lu@intel.com>
3983 * lib/gdb.exp (is_ilp32_target): New.
3984 (is_lp64_target): Likewise.
3986 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
3988 * gdb.arch/amd64-disp-step.exp: Likewise.
3989 * gdb.arch/amd64-dword.exp: Likewise.
3990 * gdb.arch/amd64-i386-address.exp: Likewise.
3991 * gdb.arch/amd64-word.exp: Likewise.
3993 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
3995 * gdb.arch/i386-bp_permanent.exp: Likewise.
3996 * gdb.arch/i386-byte.exp: Likewise.
3997 * gdb.arch/i386-disp-step.exp: Likewise.
3998 * gdb.arch/i386-gnu-cfi.exp: Likewise.
3999 * gdb.arch/i386-prologue.exp: Likewise.
4000 * gdb.arch/i386-size-overlap.exp: Likewise.
4001 * gdb.arch/i386-size.exp: Likewise.
4002 * gdb.arch/i386-sse.exp: Likewise.
4003 * gdb.arch/i386-unwind.exp: Likewise.
4004 * gdb.arch/i386-word.exp: Likewise.
4006 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4007 test only when building 64-bit executables. Do not hard-code
4010 2010-07-07 Doug Evans <dje@google.com>
4012 * lib/gdb.exp (gdb_test_list_exact): New function.
4013 * gdb.base/default.exp (show convenience): Call it, add tests for
4014 $_sdata = void, $_thread = 0.
4016 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4017 Joel Brobecker <brobecker@adacore.com>
4019 Fix re-run of PIE executable, PR shlibs/11776.
4020 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4021 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4022 and re-"run" of the inferior.
4024 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4025 Joel Brobecker <brobecker@adacore.com>
4027 Cope with missing /usr/sbin/prelink.
4028 * lib/prelink-support.exp (prelink_no):
4029 <result == 1 && $output is "no such file or directory">: New.
4030 (prelink_yes): Likewise. Return on failed prelink_no.
4032 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4033 Joel Brobecker <brobecker@adacore.com>
4035 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4036 build_executable by build_executable_own_libs. Replace "prelink -R"
4037 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4039 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4040 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4041 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4042 Replace build_executable by build_executable_own_libs's function
4043 build_executable_own_libs.
4044 (prelinkNO): Create new stub to call prelink_no.
4045 (prelinkYES): Create new stub to call prelink_yes.
4046 (test_attach): Rename calls of copy to file_copy.
4047 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4049 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4050 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4051 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4052 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4053 special flags by gdb_compile_shlib. Replace second gdb_compile by
4054 build_executable_own_libs. Replace "prelink -R" execution by a call of
4055 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4056 a second call of prelink_yes. Replace restart commands by
4058 (prelink): Rename to ...
4059 (seen displacement message): ... this test. Extend its expectation
4062 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4064 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4065 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4066 displacement message exactly once.
4068 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4069 Joel Brobecker <brobecker@adacore.com>
4071 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4072 its restore after the <$relink_args != ""> loop. new comment.
4074 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4075 Joel Brobecker <brobecker@adacore.com>
4077 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4078 code for it. New variable relink_args.
4079 (prelinkYES): Call prelinkNO.
4080 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4081 in such case. Move the core code to ...
4082 (test_attach_gdb): ... a new function. Send GDB command "file".
4083 Extend expected "Attaching to " string.
4085 2010-07-02 Tom Tromey <tromey@redhat.com>
4087 * gdb.base/bitops.exp: Remove extraneous "pass".
4089 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
4091 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4093 2010-07-01 Pedro Alves <pedro@codesourcery.com>
4095 * gdb.base/help.exp: Adjust expected output.
4097 2010-07-01 Pedro Alves <pedro@codesourcery.com>
4099 * gdb.base/help.exp: Adjust expected output.
4101 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4103 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
4104 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
4107 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4108 Doug Evans <dje@google.com>
4110 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
4111 add .dynamic entry'.
4113 2010-06-29 Doug Evans <dje@google.com>
4116 * gdb.cp/m-static.exp: Add testcase.
4117 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
4119 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
4120 Tom Tromey <tromey@redhat.com>
4121 Thiago Jung Bauermann <bauerman@br.ibm.com>
4123 * gdb.python/py-inferior.c: New File.
4124 * gdb.python/py-infthread.c: New File.
4125 * gdb.python/py-inferior.exp: New File.
4126 * gdb.python/py-infthread.exp: New File.
4128 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4130 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
4131 (ptype ::C::OtherFileClass typedefs): New.
4132 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
4133 (C::OtherFileClass::cOtherFileClassVar2): New.
4134 (C::OtherFileClass::cOtherFileClassVar_use): Use also
4135 cOtherFileClassVar2.
4136 (C::cOtherFileType2, C::cOtherFileVar2): New.
4137 (C::cOtherFileVar_use): use also cOtherFileVar2.
4138 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
4140 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4142 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
4143 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
4144 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
4145 (print ::C::cOtherFileVar)
4146 (whatis C::OtherFileClass::cOtherFileClassType)
4147 (whatis ::C::OtherFileClass::cOtherFileClassType)
4148 (print C::OtherFileClass::cOtherFileClassVar)
4149 (print ::cOtherFileClassVar)
4150 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
4151 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
4153 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
4154 (C::OtherFileClass::cOtherFileClassVar)
4155 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
4156 (C::cOtherFileVar, C::cOtherFileVar_use): New.
4158 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4160 Test PR c++/11703 and PR gdb/1448.
4161 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
4164 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4166 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
4167 (main) <rtti_data>: New.
4168 * gdb.cp/virtbase.exp (print rtti_data): New.
4170 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4171 Joel Brobecker <brobecker@adacore.com>
4173 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
4175 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4177 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
4179 2010-06-28 Doug Evans <dje@google.com>
4181 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
4183 2010-06-27 Doug Evans <dje@google.com>
4185 * gdb.cp/m-static.exp: Update expected test output.
4187 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
4189 * gdb.gdb/selftest.exp: Adjust expected message for
4190 capturing start-up runtime.
4192 2010-06-25 Tom Tromey <tromey@redhat.com>
4195 * gdb.python/python.exp: Add new tests.
4197 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
4199 * gdb.cp/operator.cc: Created an import loop.
4200 * gdb.cp/operator.exp: Added testcase for import loop.
4202 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4204 Test PR python/11407.
4205 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
4206 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
4207 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
4208 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
4209 executable_nofb and executable_fb. New variables srcsfile, objsfile,
4210 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
4211 binfile. Call gdb_compile with clean_restart twice.
4212 (func_nofb print, func_nofb backtrace, func_loopfb print)
4213 (func_loopfb backtrace): New.
4215 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
4217 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
4218 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
4220 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
4221 i?86 requirement. Remove variables srcfile and binfile. New variable
4222 sources, executable_nofb and executable_fb. Call prepare_for_testing.
4224 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4226 * gdb.cell/dwarfaddr.exp: New file.
4227 * gdb.cell/dwarfaddr.S: New file.
4229 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4232 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
4234 2010-06-24 Hui Zhu <teawater@gmail.com>
4236 * gdb.base/eval.exp: New file.
4238 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4240 * gdb.cell/fork.exp: New file.
4241 * gdb.cell/fork.c: Likewise.
4242 * gdb.cell/fork-spu.c: Likewise.
4244 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
4246 * lib/gdb.exp (banned_variables_traced): New global variable.
4247 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
4248 (gdb_init): Use `trace add variable' instead of obsolete
4251 2010-06-21 Doug Evans <dje@google.com>
4253 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
4255 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4257 * gdb.arch/spu-ls.exp: New file.
4258 * gdb.arch/spu-ls.c: Likewise.
4260 2010-06-18 Stan Shebs <stan@codesourcery.com>
4262 * gdb.threads/thread-specific.exp: Add tests of $_thread.
4264 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4266 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
4267 * gdb.base/watch-cond.exp: Likewise.
4268 * gdb.python/py-breakpoint.exp: Likewise.
4270 2010-06-18 Pedro Alves <pedro@codesourcery.com>
4272 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
4273 clean_restart, make sure every test has a distinct message, and
4274 that messages don't include the executable' full path.
4276 2010-06-17 Doug Evans <dje@google.com>
4278 * gdb.arch/i386-size.exp: Updated expected output for
4279 DISASSEMBLY_OMIT_FNAME.
4281 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4282 Sergio Durigan Junior <sergiodj@redhat.com>
4284 * gdb.base/watch-notconst.c: New file.
4285 * gdb.base/watch-notconst.S: New file.
4286 * gdb.base/watch-notconst2.c: New file.
4287 * gdb.base/watch-notconst2.S: New file.
4288 * gdb.base/watch-notconst.exp: New file.
4289 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
4290 (func4): Add operations on `global_ptr_ptr'.
4291 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
4292 routine to test watchpoints created with a constant expression.
4293 (test_inaccessible_watchpoint): Include tests for watchpoints
4294 created with a constant expression.
4296 2010-06-14 Kevin Buettner <kevinb@redhat.com>
4298 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
4299 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
4300 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
4301 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
4302 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
4303 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
4304 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
4307 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4309 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
4310 not supported on the target.
4311 * gdb.mi/mi-nonstop-exit.exp: Likewise.
4312 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
4313 * gdb.mi/mi-nsintrall.exp: Likewise.
4314 * gdb.mi/mi-nsmoribund.exp: Likewise.
4315 * gdb.mi/mi-nsthrexec.exp: Likewise.
4317 2010-06-11 Stan Shebs <stan@codesourcery.com>
4319 * gdb.base/permissions.exp: New file.
4321 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4323 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
4324 does not support ELF executable class.
4326 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4328 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
4330 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4332 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
4333 (runto): Catch "The target does not support running in non-stop mode.".
4335 2010-06-11 Michael Snyder <msnyder@vmware.com>
4337 * gdb.base/setshow.exp (set language asm): Don't use
4338 gdb_test_no_output, fails on some targets.
4340 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4342 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
4343 * gdb.cp/pr9167.exp: Likewise.
4345 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4347 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
4349 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4351 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
4353 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4355 * gdb.base/charset.c (main): Make sure malloc gets linked in.
4357 2010-06-11 Tom Tromey <tromey@redhat.com>
4359 PR gdb/9977, PR exp/11636::
4360 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
4361 (pieces_test_f6): Update expected output.
4363 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4365 * gdb.base/moribund-step.exp: New.
4367 2010-06-08 Michael Snyder <msnyder@vmware.com>
4369 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
4370 * gdb.ada/boolean_expr.exp:
4371 * gdb.ada/frame_args.exp: Ditto.
4372 * gdb.ada/lang_switch.exp: Ditto.
4373 * gdb.ada/ptype_arith_binop.exp: Ditto.
4374 * gdb.ada/ref_param.exp: Ditto.
4375 * gdb.ada/type_coercion.exp:Ditto.
4377 * gdb.asm/asm-source.exp: Ditto.
4379 * gdb.base/attach.exp: Ditto.
4380 * gdb.base/bitfields2.exp: Ditto.
4381 * gdb.base/call-signal-resume.exp: Ditto.
4382 * gdb.base/callfuncs.exp: Ditto.
4383 * gdb.base/commands.exp: Ditto.
4384 * gdb.base/dbx.exp: Ditto.
4385 * gdb.base/default.exp: Ditto.
4386 * gdb.base/dump.exp: Ditto.
4387 * gdb.base/exprs.exp: Ditto.
4388 * gdb.base/freebpcmd.exp: Ditto.
4389 * gdb.base/interrupt.exp: Ditto.
4390 * gdb.base/list.exp: Ditto.
4391 * gdb.base/long_long.exp: Ditto.
4392 * gdb.base/maint.exp: Ditto.
4393 * gdb.base/ptype.exp: Ditto.
4394 * gdb.base/return.exp: Ditto.
4395 * gdb.base/setshow.exp: Ditto.
4396 * gdb.base/sigbpt.exp: Ditto.
4397 * gdb.base/sigrepeat.exp: Ditto.
4399 * gdb.cp/classes.exp: Ditto.
4401 * gdb.dwarf2/dw2-restore.exp: Ditto.
4403 * gdb.gdb/selftest.exp: Ditto.
4405 * gdb.multi/base.exp: Ditto.
4406 * gdb.multi/bkpt-multi-exec.exp: Ditto.
4408 * gdb.python/py-block.exp: Ditto.
4409 * gdb.python/py-prettyprint.exp: Ditto.
4410 * gdb.python/py-template.exp: Ditto.
4412 * gdb.server/ext-attach.exp: Ditto.
4413 * gdb.server/ext-run.exp: Ditto.
4414 * gdb.server/server-mon.exp: Ditto.
4416 * gdb.threads/fork-thread-pending.exp: Ditto.
4417 * gdb.threads/hand-call-in-threads.exp: Ditto.
4418 * gdb.threads/interrupted-hand-call.exp: Ditto.
4419 * gdb.threads/linux-dp.exp: Ditto.
4420 * gdb.threads/manythreads.exp: Ditto.
4421 * gdb.threads/print-threads.exp: Ditto.
4422 * gdb.threads/pthreads.exp: Ditto.
4423 * gdb.threads/schedlock.exp: Ditto.
4424 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4425 * gdb.threads/threadapply.exp: Ditto.
4427 2010-06-08 Michael Snyder <msnyder@vmware.com>
4429 * gdb.ada/exec_changed.exp:
4430 Use ".*" instead of "" as wildcard regexp.
4432 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
4433 * gdb.base/call-ar-st.exp: Ditto.
4434 * gdb.base/checkpoint.exp: Ditto.
4435 * gdb.base/default.exp: Ditto.
4436 * gdb.base/dump.exp: Ditto.
4437 * gdb.base/ending-run.exp: Ditto.
4438 * gdb.base/fileio.exp: Ditto.
4439 * gdb.base/miscexprs.exp: Ditto.
4440 * gdb.base/pointers.exp: Ditto.
4441 * gdb.base/readline.exp: Ditto.
4442 * gdb.base/reread.exp: Ditto.
4443 * gdb.base/restore.exp: Ditto.
4444 * gdb.base/shlib-call.exp: Ditto.
4445 * gdb.base/valgrind-db-attach.exp: Ditto.
4446 * gdb.base/volatile.exp: Ditto.
4447 * gdb.base/watchpoints.exp: Ditto.
4449 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
4451 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
4452 * gdb.python/py-value.exp: Ditto.
4454 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
4455 * gdb.trace/circ.exp: Ditto.
4456 * gdb.trace/collection.exp: Ditto.
4457 * gdb.trace/packetlen.exp: Ditto.
4458 * gdb.trace/passc-dyn.exp: Ditto.
4459 * gdb.trace/report.exp: Ditto.
4460 * gdb.trace/tfile.exp: Ditto.
4461 * gdb.trace/tfind.exp: Ditto.
4462 * gdb.trace/while-dyn.exp: Ditto.
4464 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4466 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
4468 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4471 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
4473 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
4475 * gdb.cp/koenig.exp: Test for ADL operators.
4476 * gdb.cp/koenig.cc: Added ADL operators.
4477 * gdb.cp/operator.exp: New test.
4478 * gdb.cp/operator.cc: New test.
4480 2010-06-04 Michael Snyder <msnyder@vmware.com>
4482 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
4483 * gdb.base/pending.exp: Ditto.
4485 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
4487 2010-06-04 Doug Evans <dje@google.com>
4489 * gdb.python/py-prettyprint.exp: Add new test for enabled and
4491 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
4492 (enable_lookup_function): New function.
4494 2010-06-04 Tom Tromey <tromey@redhat.com>
4496 * gdb.python/py-value.exp (test_value_hash): Don't test equality
4499 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4501 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
4503 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
4504 (empty verbose non-noisy clear, empty verbose noisy clear)
4505 (empty non-verbose noisy clear): Likewise.
4507 2010-06-03 Michael Snyder <msnyder@vmware.com>
4509 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
4510 * gdb.base/display.exp: Ditto.
4511 * gdb.base/find.exp: Ditto.
4512 * gdb.base/ifelse.exp: Ditto.
4513 * gdb.base/multi-forks.exp: Ditto.
4514 * gdb.base/recurse.exp: Ditto.
4515 * gdb.base/setshow.exp: Ditto.
4516 * gdb.base/value-double-free.exp: Ditto.
4517 * gdb.base/watch-vfork.exp: Ditto.
4518 * gdb.base/watch_thread_num.exp: Ditto.
4519 * gdb.base/watchpoint-solib.exp: Ditto.
4520 * gdb.base/watchpoint.exp: Ditto.
4521 * gdb.base/watchpoints.exp: Ditto.
4523 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
4524 * gdb.cp/overload.exp: Ditto.
4525 * gdb.cp/virtfunc.exp: Ditto.
4527 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
4529 * gdb.reverse/watch-precsave.exp:
4530 Replace gdb_test with gdb_test_no_output.
4532 * gdb.threads/attach-into-signal.exp:
4533 Replace gdb_test with gdb_test_no_output.
4534 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4535 * gdb.threads/watchthreads.exp: Ditto.
4536 * gdb.threads/watchthreads2.exp: Ditto.
4538 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
4539 * gdb.trace/tfind.exp: Ditto.
4541 2010-06-03 Joel Brobecker <brobecker@adacore.com>
4543 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
4544 successful test if message is the empty string.
4546 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4548 * gdb.fortran/module.exp (stopped language detection): New test.
4550 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4552 Support DW_TAG_module as separate namespaces.
4553 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
4554 gdb.fortran/library-module-lib.f90: New.
4555 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
4557 (continue to breakpoint: i-is-1, print var_i value 1)
4558 (continue to breakpoint: i-is-2, print var_i value 2)
4559 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
4560 (print var_d, print var_i value 14, ptype modmany, complete `modm)
4561 (complete `modmany, complete `modmany`, complete `modmany`var)
4562 (show language, setting breakpoint at module): New tests.
4563 * gdb.fortran/module.f90 (module mod): Remove.
4564 (module mod1, module mod2, module modmany, subroutine sub1)
4565 (subroutine sub2, program module): New.
4567 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4569 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
4570 (print value of rUC, print value of rI, print value of UI): ... here.
4571 * gdb.cp/anon-union.exp (pass): Rename to ...
4572 (print z 2): ... here.
4574 2010-06-02 Michael Snyder <msnyder@vmware.com>
4576 * gdb.trace/actions.exp: Use gdb_test_no_output.
4577 * gdb.trace/circ.exp: Ditto.
4578 * gdb.trace/packetlen.exp: Ditto.
4579 * gdb.trace/save-trace.exp: Ditto.
4580 * gdb.trace/tracecmd.exp: Ditto.
4581 * gdb.trace/tsv.exp: Ditto.
4583 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
4584 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
4585 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
4586 * gdb.threads/manythreads.exp: Ditto.
4587 * gdb.threads/print-threads.exp: Ditto.
4588 * gdb.threads/pthreads.exp: Ditto.
4589 * gdb.threads/schedlock.exp: Ditto.
4590 * gdb.threads/staticthreads.exp: Ditto.
4591 * gdb.threads/thread-specific.exp: Ditto.
4592 * gdb.threads/thread-unwindonsignal.exp: Ditto.
4593 * gdb.threads/threadapply.exp: Ditto.
4594 * gdb.threads/watchthreads.exp: Ditto.
4595 * gdb.threads/watchthreads2.exp: Ditto.
4597 * gdb.python/py-block.exp: Use gdb_test_no_output.
4598 * gdb.python/py-prettyprint.exp: Ditto.
4599 * gdb.python/py-template.exp: Ditto.
4600 * gdb.python/py-value.exp: Ditto.
4602 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
4603 * gdb.reverse/watch-reverse.exp: Ditto.
4605 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
4606 * gdb.server/ext-run.exp: Ditto.
4608 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
4609 * gdb.dwarf2/dw2-compressed.exp: Ditto.
4610 * gdb.dwarf2/dw2-intercu.exp: Ditto.
4611 * gdb.dwarf2/dw2-intermix.exp: Ditto.
4612 * gdb.dwarf2/dw2-producer.exp: Ditto.
4613 * gdb.dwarf2/mac-fileno.exp: Ditto.
4615 * gdb.gdb/observer.exp: Use gdb_test_no_output.
4616 * gdb.gdb/selftest.exp: Ditto.
4618 * gdb.multi/base.exp: Use gdb_test_no_output.
4620 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
4622 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4624 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
4626 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
4628 * gdb.cp/class2.exp: Use gdb_test_no_output.
4629 * gdb.cp/classes.exp: Ditto.
4630 * gdb.cp/extern-c.exp: Ditto.
4631 * gdb.cp/inherit.exp: Ditto.
4632 * gdb.cp/maint.exp: Ditto.
4633 * gdb.cp/mb-inline.exp: Ditto.
4634 * gdb.cp/mb-templates.exp: Ditto.
4635 * gdb.cp/method2.exp: Ditto.
4636 * gdb.cp/misc.exp: Ditto.
4637 * gdb.cp/ovldbreak.exp: Ditto.
4638 * gdb.cp/punctuator.exp: Ditto.
4639 * gdb.cp/templates.exp: Ditto.
4640 * gdb.cp/virtbase.exp: Ditto.
4642 * gdb.threads/attach-stopped.exp:
4643 Replace uses of send_gdb / gdb_expect.
4644 * gdb.threads/attachstop-mt.exp:
4645 Replace uses of send_gdb / gdb_expect.
4646 * gdb.threads/gcore-thread.exp:
4647 Replace uses of send_gdb / gdb_expect.
4648 * gdb.threads/hand-call-in-threads.exp:
4649 Replace uses of send_gdb / gdb_expect.
4650 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
4651 * gdb.threads/print-threads.exp:
4652 Replace uses of send_gdb / gdb_expect.
4653 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
4654 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
4655 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
4657 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
4658 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
4659 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
4660 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
4661 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
4662 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
4663 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
4664 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
4665 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
4666 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
4667 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
4669 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4671 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
4673 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
4675 * gdb.cp/koenig.exp: Added new test case.
4676 * gdb.cp/koenig.cc: Ditto.
4678 2010-06-01 Michael Snyder <msnyder@vmware.com>
4680 * gdb.base/arithmet.exp: Use gdb_test_no_output.
4681 * gdb.base/arrayidx.exp: Ditto.
4682 * gdb.base/attach.exp: Ditto.
4683 * gdb.base/auxv.exp: Ditto.
4684 * gdb.base/bigcre.exp: Ditto.
4685 * gdb.base/break-always.exp: Ditto.
4686 * gdb.base/break-interp.exp: Ditto.
4687 * gdb.base/break.exp: Ditto.
4688 * gdb.base/breakpoint-shadow.exp: Ditto.
4689 * gdb.base/call-ar-st.exp: Ditto.
4690 * gdb.base/call-sc.exp: Ditto.
4691 * gdb.base/call-signal-resume.exp: Ditto.
4692 * gdb.base/callfuncs.exp: Ditto.
4693 * gdb.base/catch-syscall.exp: Ditto.
4694 * gdb.base/charset.exp: Ditto.
4695 * gdb.base/code-expr.exp: Ditto.
4696 * gdb.base/commands.exp: Ditto.
4697 * gdb.base/cond-expr.exp: Ditto.
4698 * gdb.base/condbreak.exp: Ditto.
4699 * gdb.base/cursal.exp: Ditto.
4700 * gdb.base/cvexpr.exp: Ditto.
4701 * gdb.base/default.exp: Ditto.
4702 * gdb.base/del.exp: Ditto.
4703 * gdb.base/detach.exp: Ditto.
4704 * gdb.base/display.exp: Ditto.
4705 * gdb.base/ena-dis-br.exp: Ditto.
4706 * gdb.base/eval-skip.exp: Ditto.
4707 * gdb.base/foll-fork.exp: Ditto.
4708 * gdb.base/foll-vfork.exp: Ditto.
4709 * gdb.base/frame-args.exp: Ditto.
4710 * gdb.base/funcargs.exp: Ditto.
4711 * gdb.base/gcore-buffer-overflow.exp: Ditto.
4712 * gdb.base/gdbvars.exp: Ditto.
4713 * gdb.base/help.exp: Ditto.
4714 * gdb.base/ifelse.exp: Ditto.
4715 * gdb.base/included.exp: Ditto.
4716 * gdb.base/list.exp: Ditto.
4717 * gdb.base/macscp.exp: Ditto.
4718 * gdb.base/maint.exp: Ditto.
4719 * gdb.base/multi-fork.exp: Ditto.
4720 * gdb.base/overlays.exp: Ditto.
4721 * gdb.base/page.exp: Ditto.
4722 * gdb.base/pending.exp: Ditto.
4723 * gdb.base/pointers.exp: Ditto.
4724 * gdb.base/pr11022.exp: Ditto.
4725 * gdb.base/prelink.exp: Ditto.
4726 * gdb.base/printcmds.exp: Ditto.
4727 * gdb.base/psymtab.exp: Ditto.
4728 * gdb.base/randomize.exp: Ditto.
4729 * gdb.base/relational.exp: Ditto.
4730 * gdb.base/relocate.exp: Ditto.
4731 * gdb.base/remote.exp: Ditto.
4732 * gdb.base/sepdebug.exp: Ditto.
4733 * gdb.base/set-lang-auto.exp: Ditto.
4734 * gdb.base/setshow.exp: Ditto.
4735 * gdb.base/setvar.exp: Ditto.
4736 * gdb.base/signals.exp: Ditto.
4737 * gdb.base/signull.exp: Ditto.
4738 * gdb.base/sigstep.exp: Ditto.
4739 * gdb.base/sizeof.exp: Ditto.
4740 * gdb.base/solib-disc.exp: Ditto.
4741 * gdb.base/store.exp: Ditto.
4742 * gdb.base/structs.exp: Ditto.
4743 * gdb.base/structs2.exp: Ditto.
4744 * gdb.base/subst.exp: Ditto.
4745 * gdb.base/term.exp: Ditto.
4746 * gdb.base/trace-commands.exp: Ditto.
4747 * gdb.base/unwindonsignal.exp: Ditto.
4748 * gdb.base/valgrind-db-attach.exp: Ditto.
4749 * gdb.base/varargs.exp: Ditto.
4750 * gdb.base/watch-cond.exp: Ditto.
4751 * gdb.base/watch_thread_num.exp: Ditto.
4752 * gdb.base/watchpoint-cond-gone.exp: Ditto.
4753 * gdb.base/watchpoint.exp: Ditto.
4754 * gdb.base/whatis-exp.exp: Ditto.
4756 2010-06-01 Michael Snyder <msnyder@vmware.com>
4758 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
4759 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
4760 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
4761 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
4762 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
4763 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
4764 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
4765 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
4766 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
4767 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
4768 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
4769 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
4770 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
4771 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
4772 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
4774 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
4776 * gdb.base/commands.exp (begin commands on watch): Remove excessive
4778 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
4779 * gdb.java/jmisc.exp (p *args\n): Rename to ...
4780 (p *args): ... here and remove excessive trailing newline.
4782 2010-05-31 Joel Brobecker <brobecker@adacore.com>
4784 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
4786 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
4788 Accept the new Linux kernel "t (tracing stop)" string.
4789 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
4791 (state_wait) <T (tracing stop)>: New.
4792 (main): Update the state_wait expect string.
4794 2010-05-28 Pedro Alves <pedro@codesourcery.com>
4796 * limits.c, limits.exp: Delete files.
4797 * Makefile.in (clean mostlyclean): Adjust.
4798 * tracecmd.exp: Adjust.
4800 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4802 * gdb.base/tui-layout.exp: New.
4804 2010-05-28 Michael Snyder <msnyder@vmware.com>
4806 * gdb.reverse/break-precsave.exp:
4807 Replace uses of send_gdb / gdb_expect.
4808 * gdb.reverse/break-reverse.exp:
4809 Replace uses of send_gdb / gdb_expect.
4810 * gdb.reverse/consecutive-precsave.exp:
4811 Replace uses of send_gdb / gdb_expect.
4812 * gdb.reverse/consecutive-reverse.exp:
4813 Replace uses of send_gdb / gdb_expect.
4814 * gdb.reverse/finish-precsave.exp:
4815 Replace uses of send_gdb / gdb_expect.
4816 * gdb.reverse/finish-reverse.exp:
4817 Replace uses of send_gdb / gdb_expect.
4818 * gdb.reverse/i386-precsave.exp:
4819 Replace uses of send_gdb / gdb_expect.
4820 * gdb.reverse/i386-reverse.exp:
4821 Replace uses of send_gdb / gdb_expect.
4822 * gdb.reverse/i386-sse-reverse.exp:
4823 Replace uses of send_gdb / gdb_expect.
4824 * gdb.reverse/i387-env-reverse.exp:
4825 Replace uses of send_gdb / gdb_expect.
4826 * gdb.reverse/i387-stack-reverse.exp:
4827 Replace uses of send_gdb / gdb_expect.
4828 * gdb.reverse/machinestate-precsave.exp:
4829 Replace uses of send_gdb / gdb_expect.
4830 * gdb.reverse/machinestate.exp:
4831 Replace uses of send_gdb / gdb_expect.
4832 * gdb.reverse/sigall-precsave.exp:
4833 Replace uses of send_gdb / gdb_expect.
4834 * gdb.reverse/sigall-reverse.exp:
4835 Replace uses of send_gdb / gdb_expect.
4836 * gdb.reverse/solib-precsave.exp:
4837 Replace uses of send_gdb / gdb_expect.
4838 * gdb.reverse/solib-reverse.exp:
4839 Replace uses of send_gdb / gdb_expect.
4840 * gdb.reverse/step-precsave.exp:
4841 Replace uses of send_gdb / gdb_expect.
4842 * gdb.reverse/step-reverse.exp:
4843 Replace uses of send_gdb / gdb_expect.
4844 * gdb.reverse/until-precsave.exp:
4845 Replace uses of send_gdb / gdb_expect.
4846 * gdb.reverse/until-reverse.exp:
4847 Replace uses of send_gdb / gdb_expect.
4848 * gdb.reverse/watch-precsave.exp:
4849 Replace uses of send_gdb / gdb_expect.
4850 * gdb.reverse/watch-reverse.exp:
4851 Replace uses of send_gdb / gdb_expect.
4853 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4855 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
4858 2010-05-27 Michael Snyder <msnyder@vmware.com>
4860 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
4861 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
4862 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
4863 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
4864 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
4865 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
4866 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
4867 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
4868 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
4869 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
4870 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
4871 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
4872 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
4873 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
4874 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
4875 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
4876 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
4877 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
4878 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
4880 2010-05-26 Michael Snyder <msnyder@vmware.com>
4882 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
4883 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
4885 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
4886 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
4887 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
4889 * gdb.reverse/consecutive-reverse.exp:
4890 Replace uses of send_gdb / gdb_expect.
4891 * gdb.reverse/consecutive-precsave.exp:
4892 Replace uses of send_gdb / gdb_expect.
4894 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
4895 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
4896 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
4897 * gdb.mi/mi-ns-stale-regcache.exp:
4898 Replace uses of send_gdb / gdb_expect.
4899 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
4900 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
4901 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
4902 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
4903 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
4904 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
4905 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
4906 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
4907 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
4909 2010-05-26 Michael Snyder <msnyder@vmware.com>
4911 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
4913 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
4915 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
4916 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
4917 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
4918 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
4919 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
4920 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
4921 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
4922 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
4923 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
4925 2010-05-25 Tom Tromey <tromey@redhat.com>
4927 * gdb.base/macscp.exp: Add missing space after setup_kfail.
4929 2010-05-25 Tom Tromey <tromey@redhat.com>
4931 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
4933 * gdb.base/macscp.exp: Fix setup_kfail argument order.
4934 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
4936 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
4938 * gdb.base/call-sc.exp (setup_kfails): Remove.
4939 (setup_compiler_kfails): Remove.
4940 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
4942 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
4943 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
4944 (advancei): Fix setup_kfail argument order.
4945 * gdb.base/radix.exp: Fix setup_kfail argument order.
4946 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
4948 * gdb.base/structs.exp (setup_kfails): Remove.
4949 (setup_compiler_kfails): Fix setup_kfail argument order.
4950 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
4952 * gdb.java/jmain.exp: Fix setup_kfail argument order.
4953 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
4954 setup_kfail argument order.
4955 * gdb.cp/overload.exp: Fix setup_kfail argument order.
4957 2010-05-25 Tom Tromey <tromey@redhat.com>
4959 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
4961 2010-05-25 Michael Snyder <msnyder@vmware.com>
4963 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
4964 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
4965 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
4966 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
4967 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
4968 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
4969 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
4970 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
4971 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
4972 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
4973 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
4974 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
4975 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
4976 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
4977 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
4978 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
4979 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
4980 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
4981 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
4982 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
4983 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
4984 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
4985 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
4986 * gdb.base/default.exp: Replace send_gdb with gdb_test.
4987 * gdb.base/define.exp: Replace send_gdb with gdb_test.
4988 * gdb.base/display.exp: Replace send_gdb with gdb_test.
4989 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
4990 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
4991 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
4992 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
4993 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
4994 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
4995 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
4996 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
4997 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
4998 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
4999 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5000 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5001 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5002 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5003 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5004 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
5005 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5006 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5007 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5008 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5009 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
5010 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
5012 2010-05-25 Doug Evans <dje@google.com>
5014 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5017 2010-05-21 Tom Tromey <tromey@redhat.com>
5019 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5021 * gdb.dwarf2/pieces.S: Update.
5022 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5024 2010-05-21 Tom Tromey <tromey@redhat.com>
5026 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5028 * gdb.dwarf2/pieces.c (struct C): New.
5030 * gdb.dwarf2/pieces.S: Replace.
5032 2010-05-21 Tom Tromey <tromey@redhat.com>
5034 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5037 2010-05-21 Tom Tromey <tromey@redhat.com>
5039 * gdb.dwarf2.pieces.exp: New file.
5040 * gdb.dwarf2.pieces.S: New file.
5041 * gdb.dwarf2.pieces.c: New file.
5043 2010-05-20 Pedro Alves <pedro@codesourcery.com>
5044 Joel Brobecker <brobecker@adacore.com>
5046 * lib/gdb.exp (gdb_test_no_output): New function.
5047 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5048 when testing commands that should produce no output.
5050 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5052 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5053 parameter that we want to watch being a constant.
5055 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5057 * gdb.ada/cond_lang: New testcase.
5059 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5061 * lib/gdb.exp (banned_variables): New variable/constant.
5062 (gdb_init): Add write trace on variables listed in banned_variables.
5063 (gdb_finish): Remove write traces on variables listed in
5066 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5068 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5069 * gdb.cp/koenig.exp: Likewise.
5071 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5075 * gdb.python/py-value.exp (test_value_hash): New function.
5077 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5080 * gdb.base/gdb11530.c: New file.
5081 * gdb.base/gdb11530.exp: New file.
5083 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5085 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5086 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5088 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
5090 * gdb.cp/koenig.exp: New test.
5091 * gdb.cp/koenig.cc: New test program.
5093 2010-05-05 Joel Brobecker <brobecker@adacore.com>
5095 Remove the use of prms_id and bug_id throughout the testsuite.
5097 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
5100 * testsuite/gdb.cp/ref-types.exp: Add test to examine
5101 use a reference local variable.
5103 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5105 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
5106 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
5107 variable different_dir. Move debugfile into a full directory pathname
5108 under DIFFERENT_DIR.
5109 * lib/gdb.exp (separate_debug_filename): Remove.
5110 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
5111 variable debug_dir and mkdir of it. Update function comments.
5113 2010-04-29 Pedro Alves <pedro@codesourcery.com>
5117 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
5120 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
5122 * gdb.python/py-param.exp: New File.
5124 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
5126 * gdb.base/default.exp: Fix "set language" test.
5128 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
5130 PR breakpoints/11531.
5131 * gdb.base/gdb11531.c: New file.
5132 * gdb.base/gdb11531.exp: New file.
5134 2010-04-26 Tom Tromey <tromey@redhat.com>
5136 * gdb.base/completion.exp: Add tests for completion and deprecated
5139 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5141 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
5142 (print /x char_array): Escape curly brackets.
5144 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
5146 Fix deadlock on looped list of loaded shared objects.
5147 * gdb.base/solib-corrupted.exp: New.
5149 2010-04-23 Doug Evans <dje@google.com>
5151 * gdb.python/py-section-script.c: New file.
5152 * gdb.python/py-section-script.exp: New file.
5153 * gdb.python/py-section-script.py: New file.
5155 2010-04-20 Chris Moller <cmoller@redhat.com>
5159 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
5160 * gdb.base/pr10179-a.c:
5161 * gdb.base/pr10179-b.c:
5162 * gdb.base/pr10179.exp: New files.
5164 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5166 Fix crashes on dangling display expressions.
5167 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
5169 (lib_flags): Remove the "debug" keyword.
5170 (libsepdebug): New variable for iterating new loop.
5171 (save_pf_prefix): New variable wrapping the loop.
5172 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
5173 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
5175 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5177 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
5179 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5182 * gdb.stabs/gdb11479.exp: New file.
5183 * gdb.stabs/gdb11479.c: New file.
5185 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
5187 * gdb.base/charset.c (Strin16, String32): New variables.
5188 * gdb.base/charset.exp (gdb_test): Test correct display
5189 of 16 or 32 bit strings.
5191 2010-04-21 Chris Moller <cmoller@redhat.com>
5194 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
5195 * gdb.cp/pr9167.cc: New file.
5196 * gdb.cp/pr9167.exp: New file.
5199 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
5202 * gdb.pascal/gdb11492.pas: New file.
5203 * gdb.pascal/gdb11492.exp: New file.
5205 2010-04-20 Joel Brobecker <brobecker@adacore.com>
5207 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
5209 2010-04-20 Joel Brobecker <brobecker@adacore.com>
5211 * gdb.ada/dyn_loc: New testcase.
5213 2010-04-20 Chris Moller <cmoller@redhat.com>
5217 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
5218 * gdb.cp/pr10687.cc: New file.
5219 * gdb.cp/pr10687.exp: New file.
5222 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5223 Sergio Durigan Junior <sergiodj@redhat.com>
5225 * gdb.fortran/logical.exp: New testcase.
5226 * gdb.fortran/logical.f90: New file.
5228 2010-04-19 Doug Evans <dje@google.com>
5230 * gdb.base/help.exp (help source): Update expected output.
5232 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5234 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
5235 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
5236 gdb_exit and return.
5237 (executable): New variable.
5240 2010-04-19 Pedro Alves <pedro@codesourcery.com>
5242 PR breakpoints/8554.
5244 * gdb.trace/save-trace.exp: Adjust.
5246 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
5249 * gdb.arch/system-gcore.exp: New.
5250 * gdb.arch/gcore.c: Likewise.
5252 2010-04-15 Doug Evans <dje@google.com>
5254 * gdb.python/py-progspace.c: New file.
5255 * gdb.python/py-progspace.exp: New file.
5257 * gdb.base/source.exp: Add tests for "source -s".
5259 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
5261 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
5262 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
5263 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
5264 * gdb.python/py-mi.exp: New test for to_string returning None.
5266 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
5268 * gdb.python/py-breakpoint.c: Make result global.
5270 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5272 Fix non-GNU make compatibility.
5273 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
5275 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
5277 * gdb.python/py-breakpoint.exp: New File.
5278 * gdb.python/py-breakpoint.C: Ditto.
5280 2010-04-08 Stan Shebs <stan@codesourcery.com>
5282 * gdb.trace/actions.exp: Clear default-collect.
5283 * gdb.trace/save-trace.exp: Clear default-collect.
5285 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
5287 * gdb.python/py-value: Add null string variable.
5288 (test_lazy_string): Test zero length, NULL address lazy
5291 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
5293 * gdb.arch/i386-avx.c: New.
5294 * gdb.arch/i386-avx.exp: Likewise.
5296 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
5298 2010-04-06 Doug Evans <dje@google.com>
5300 * gdb.base/source-test.gdb: New file.
5301 * gdb.base/source.exp: Test source -v.
5303 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5305 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
5307 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
5309 * gdb.stabs/aout.sed: Convert all backslash to double backslash
5310 within one line, unless it is followed by a double quote.
5311 * gdb.stabs/hppa.sed: Idem.
5312 * gdb.stabs/weird.def: Add char and String constants
5313 * gdb.stabs/weird.exp: Check for correct parsing of
5314 char and string constants.
5315 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
5316 in .stabs to .stabx substitution.
5318 2010-04-05 Stan Shebs <stan@codesourcery.com>
5320 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
5322 * gdb.trace/tfile.exp: Try to print them.
5324 2010-04-04 Stan Shebs <stan@codesourcery.com>
5326 * gdb.base/completion.exp: Update for new "info watchpoints".
5327 * gdb.base/default.exp: Ditto.
5328 * gdb.base/help.exp: Ditto.
5329 * gdb.base/watchpoint.exp: Ditto.
5330 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
5332 2010-04-04 Stan Shebs <stan@codesourcery.com>
5334 * gdb.trace/tfile.exp: Sharpen tfind test.
5336 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5338 * gdb.base/break-entry.exp: New.
5340 2010-04-02 Hui Zhu <teawater@gmail.com>
5341 Michael Snyder <msnyder@vmware.com>
5343 * gdb.reverse/i386-sse-reverse.exp: New file.
5344 * gdb.reverse/i386-sse-reverse.c: New file.
5346 2010-04-02 Pedro Alves <pedro@codesourcery.com>
5348 * gdb.trace/tfind.exp: Adjust expected disassembly output.
5350 2010-04-01 Stan Shebs <stan@codesourcery.com>
5352 * gdb.trace/actions.exp: Tweak expected output.
5353 * gdb.trace/while-stepping.exp: Tweak expected output.
5355 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
5357 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
5359 2010-04-01 Pedro Alves <pedro@codesourcery.com>
5361 * gdb.base/commands.exp: Adjust.
5362 * gdb.cp/extern-c.exp: Adjust.
5364 2010-04-01 Pedro Alves <pedro@codesourcery.com>
5366 * gdb.trace/collection.c (local_test_func): Define a local struct,
5369 2010-04-01 Pedro Alves <pedro@codesourcery.com>
5371 * gdb.trace/collection.exp (gdb_collect_args_test)
5372 (gdb_collect_argarray_test): XFAIL the tests that assume the
5373 argarray argument's elements are collected.
5375 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5377 * gdb.dwarf2/dw2-bad-parameter-type.exp,
5378 gdb.dwarf2/dw2-bad-parameter-type.S: New.
5380 2010-03-31 Stan Shebs <stan@codesourcery.com>
5382 * gdb.trace/save-trace.exp: Test save/restore of default-collect
5383 and tracepoint conditionals.
5384 (gdb_verify_tracepoints): Delete unused return.
5386 2010-03-26 Keith Seitz <keiths@redhat.com>
5388 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
5389 appear in the output before main.
5390 Remove KFAIL for gdb/2215 aka bz 9320.
5392 2010-03-30 Doug Evans <dje@google.com>
5394 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
5396 * gdb.arch/amd64-dword.exp: Ditto.
5398 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
5400 (break printf): Ditto.
5402 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
5404 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
5406 * gdb.cp/shadow.exp: Ditto.
5408 2010-03-29 Pedro Alves <pedro@codesourcery.com>
5410 * gdb.trace/collection.exp (run_trace_experiment): Make sure
5413 2010-03-29 Pedro Alves <pedro@codesourcery.com>
5415 * gdb.trace/collection.exp (executable): New.
5417 (fpreg, spreg, pcreg): New.
5418 (test_register): Use gdb_test_multiple. Pass /x to print.
5419 (prepare_for_trace_test): New.
5420 (run_trace_experiment): Use "continue", not gdb_run_cmd.
5421 (gdb_collect_args_test, gdb_collect_argstruct_test)
5422 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
5423 prepare_for_trace_test.
5424 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
5425 fpreg, spreg and pcreg.
5426 (gdb_collect_expression_test, gdb_collect_globals_test): Use
5427 prepare_for_trace_test.
5428 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
5429 try to detect tracing support here. Don't set breakpoints at
5430 `begin' or `end' here.
5431 <global scope>: Use clean_restart. Run to main before checking
5432 for tracing support. Check for for tracing support here.
5434 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5436 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
5437 " as $displacement" to "seen displacement message".
5439 2010-03-28 Pedro Alves <pedro@codesourcery.com>
5441 * gdb.trace/while-dyn.exp (executable): New variable.
5443 (test_while_stepping): New function. Move most tests here. Call
5444 it once for each of the while-stepping, stepping and ws aliases.
5446 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5448 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
5449 that do not provide the tagless_struct type name at all.
5450 (test_print_anon_union): Do not check value of uninitialized
5451 union member. Do not use cp_test_ptype_class, so we can accept
5452 "long" as well as "long int".
5454 2010-03-26 Pedro Alves <pedro@codesourcery.com>
5456 * gdb.trace/tfile.c (tohex, bin2hex): New.
5457 (write_error_trace_file): Hexify error description.
5459 2010-03-25 Stan Shebs <stan@codesourcery.com>
5461 * gdb.trace/tfile.c: Generate an additional trace file, improve
5463 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
5464 files in a better way.
5466 2010-03-25 Keith Seitz <keiths@redhat.com>
5468 * gdb.java/jprint.exp: XFAIL printing of static class members
5469 because of GCC debuginfo problem.
5471 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5473 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
5475 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5477 * gdb.base/completion.exp: Allow long instead of long int.
5478 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
5479 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
5481 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
5482 * gdb.base/pointers.exp: Allow long instead of long int.
5483 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
5484 * gdb.base/step-line.exp: Allow a directory before the source file name.
5486 2010-03-24 Tom Tromey <tromey@redhat.com>
5488 PR breakpoints/9352:
5489 * gdb.base/default.exp: Update.
5490 * gdb.base/commands.exp: Update.
5491 * gdb.cp/extern-c.exp: Test setting commands on multiple
5492 breakpoints at once.
5494 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5496 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
5498 * gdb.base/watchpoints.c: Do not include unnecessary headers.
5499 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
5502 2010-03-24 Stan Shebs <stan@codesourcery.com>
5504 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
5506 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
5508 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
5509 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
5510 argument. Handle "short" and "long".
5511 (Top level): Pass overprototyped output for old_fptr and xptr.
5513 2010-03-23 Pedro Alves <pedro@codesourcery.com>
5515 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
5516 format strings and add casts to avoid compiler warnings.
5518 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
5520 * lib/trace-support.exp (gdb_trace_setactions):
5521 Don't expect whitespace after ">" prompt.
5522 * gdb.trace/actions.exp: Adjust for output changes.
5523 * gdb.trace/while-stepping.exp: Likewise.
5525 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5527 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
5530 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5532 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
5535 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
5537 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
5538 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
5540 2010-03-19 Stan Shebs <stan@codesourcery.com>
5542 * gdb.trace/ax.exp: New file.
5544 2010-03-19 Doug Evans <dje@google.com>
5546 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
5549 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
5550 named /usr/sbin/prelink<foo>.
5552 2010-03-18 Stan Shebs <stan@codesourcery.com>
5554 * gdb.trace/circ.exp: Test circular-trace-buffer.
5555 * gdb.trace/tfile.exp: Update tstatus test.
5557 2010-03-18 Joel Brobecker <brobecker@adacore.com>
5559 * gdb.dwarf2/dw2-anonymous-func.S: New file.
5560 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
5562 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5564 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
5566 2010-03-18 Pedro Alves <pedro@codesourcery.com>
5568 * gdb.base/default.exp: Adjust the expected output of the finish
5569 and until commands when the inferior is not being run.
5571 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
5573 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
5574 * gdb.cp/nsusing.exp: Ditto.
5576 2010-03-15 Tom Tromey <tromey@redhat.com>
5578 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
5579 * gdb.cp/userdef.cc (operator==): New function.
5580 (main): New locals mem1, mem2.
5582 2010-03-15 Jie Zhang <jie@codesourcery.com>
5584 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
5585 Declare and use new loadtimeout variable.
5587 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
5589 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
5592 2010-03-14 Pedro Alves <pedro@codesourcery.com>
5594 * gdb.base/solib-disc.c (main): Make format of fprintf a string
5595 literal. Add missing endlines to prints to stderr.
5597 2010-03-12 Tom Tromey <tromey@redhat.com>
5600 * gdb.cp/m-static.exp: Add regression test.
5601 * gdb.cp/m-static.cc (method): New method.
5604 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
5606 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
5607 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
5609 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5611 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
5613 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
5615 * lib/gdb.exp (skip_stl_tests): New.
5616 (gdb_compile): Symbian needs -ldl.
5617 (shlib_target_file): New.
5618 (shlib_symbol_file): New.
5619 (gdb_load_shlibs): Use shlib_target_file.
5620 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
5621 * gdb.cp/exception.exp: Use skip_stl_tests.
5622 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
5623 * gdb.cp/try_catch.exp: Use skip_stl_tests.
5624 * gdb.cp/mb-templates.exp: Ditto.
5625 * gdb.base/commands.exp: Relax regexes.
5626 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
5627 shlib_target_file and shlib_symbol_file.
5628 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
5630 * gdb.base/ending-run.exp: Accept E32Main for symbian.
5631 * gdb.base/solib-disc.exp: Use
5632 shlib_target_file and shlib_symbol_file.
5633 * gdb.base/unload.exp: Don't skip on symbian. Use
5634 shlib_target_file and shlib_symbol_file.
5635 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
5637 2010-03-12 Pedro Alves <pedro@codesourcery.com>
5639 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
5640 * gdb.trace/report.exp: Adjust for x86 and x86_64.
5641 Issue a tfind end before looking for a tracepoint frame.
5642 * gdb.trace/tfind.exp: Adjust tstatus output.
5643 Adjust disassembly output.
5644 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
5646 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5648 * gdb.base/break-interp.exp: Create new displacement parameter value
5649 for the test_ld calls.
5650 (reach): New parameter displacement, verify its content. New push of
5651 pf_prefix "reach-$func:". Import global expect_out.
5652 (test_core): New parameter displacement, verify its content. New push
5653 of pf_prefix "core:". New command "set verbose on". Import global
5655 (test_attach): New parameter displacement, verify its content. New
5656 push of pf_prefix "attach:". New command "set verbose on". Import
5658 (test_ld): New parameter displacement, pass it to the reach, test_core
5659 and test_attach calls and verify its content in the "ld.so exit" test.
5660 * gdb.base/prelink.exp: Remove gdb_exit and final return.
5661 (prelink): Update expected text, use gdb_test.
5663 2010-03-10 Doug Evans <dje@google.com>
5665 * gdb.base/checkpoint.exp: Fix comment.
5666 Lengthen timeout while doing >600 checkpoints test.
5667 Rename duplicate "kill all one" test to keep test names unique.
5669 2010-03-10 Pedro Alves <pedro@codesourcery.com>
5671 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
5673 2010-03-08 Keith Seitz <keiths@redhat.com>
5675 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
5676 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
5677 (dm_type_long): New function.
5678 (dm_type_unsigned_short): New function.
5679 (dm_type_unsigned_long): New function.
5680 (myint): New typedef.
5681 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
5682 long, unsigned shor and long, operator char*, and typedef.
5683 (test_lookup_operator_functions): Add operator char* test.
5684 (test_paddr_operator_functions): Likewise.
5685 (test_paddr_overloaded_functions): Use probe values for
5686 short, long, and unsigned short and long.
5687 (test_paddr_hairy_functions): If the demangler probe detected
5688 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
5690 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
5691 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
5692 and "print null_pmf".
5693 Add test "ptype a.*pmf".
5694 * gdb.cp/overload.exp: Allow optional "int" to appear with
5696 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
5697 long expect value for men_overload1arg.
5698 Allow "int" to appear with "short" and "long".
5699 When testing "info break", add argument for main (void).
5700 Also allow "int" to appear with "short" and "long".
5701 Ditto with "unsigned" and "long long".
5702 * gdb.java/jmain.exp: Do not enclose methods names in single
5704 * gdb.java/jmisc.exp: Likewise.
5705 * gdb.java/jprint.exp: Likewise.
5706 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
5708 From Jan Kratochvil <jan.kratochvil@redhat.com>:
5709 * gdb.cp/exception.exp (backtrace after first throw)
5710 (backtrace after second throw): Allow a namespace before __cxa_throw.
5711 (backtrace after first catch, backtrace after second catch): Allow
5712 a namespace before __cxa_begin_catch.
5714 * gdb.cp/cpexprs.exp: New file.
5715 * gdb.cp/cpexprs.cc: New file.
5717 From Daniel Jacobowitz <dan@codesourcery.com>
5718 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
5719 to use string_to_regexp.
5720 (ctor, dtor): New functions. Use them to match constructor
5721 and destructor function types.
5722 (Top level): Use runto_main.
5724 2010-03-05 Tom Tromey <tromey@redhat.com>
5726 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
5728 (pp_ns.to_string): Likewise.
5730 2010-03-04 Keith Seitz <keiths@redhat.com>
5732 * gdb.cp/overload.exp: Test that the filename portion of a linespec
5733 can be quoted. Test that both the filename and function/line
5734 portions can be quoted at the same time.
5736 2010-03-04 Pedro Alves <pedro@codesourcery.com>
5738 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
5740 2010-03-03 Doug Evans <dje@google.com>
5742 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
5743 libc contains libpthread.
5745 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
5746 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
5747 of gdb_compile. Add another pattern to match android backtrace.
5749 2010-03-03 Tom Tromey <tromey@redhat.com>
5752 * gdb.base/printcmds.exp (test_printf): Add test.
5754 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
5756 * gdb.arch/amd64-byte.exp: New.
5757 * gdb.arch/amd64-dword.exp: Likewise.
5758 * gdb.arch/amd64-pseudo.c: Likewise.
5759 * gdb.arch/amd64-word.exp: Likewise.
5760 * gdb.arch/i386-byte.exp: Likewise.
5761 * gdb.arch/i386-pseudo.c: Likewise.
5762 * gdb.arch/i386-word.exp: Likewise.
5764 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
5766 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
5767 types. Add structreg, bitfields, and flags registers.
5768 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
5771 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
5773 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
5774 (load_description): Set architecture if defined.
5776 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
5778 * gdb.python/py-frame.exp: Add read_var block tests.
5779 * gdb.python/py-frame.c (block): New function.
5781 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5782 Daniel Jacobowitz <dan@codesourcery.com>
5784 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
5786 2010-02-25 David S. Miller <davem@davemloft.net>
5788 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
5789 fix logic for setting all_syscalls_numbers.
5791 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5793 * Makefile.in: Add py-block and py-symbol.
5794 * gdb.python/py-symbol.exp: New File.
5795 * gdb.python/py-symtab.exp: New File.
5796 * gdb.python/py-block.exp: New File.
5797 * gdb.python/py-symbol.c: New File.
5798 * gdb.python/py-block.c: New File.
5800 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
5803 * lib/gdb.exp (skip_python_tests): New function.
5804 * gdb.python/py-cmd.exp: Use skip_python_tests.
5805 * gdb.python/py-frame.exp: Likewise.
5806 * gdb.python/py-function.exp: Likewise.
5807 * gdb.python/py-prettyprint.exp: Likewise.
5808 * gdb.python/py-template.exp: Likewise.
5809 * gdb.python/py-type.exp: Likewise.
5810 * gdb.python/py-value.exp: Likewise.
5812 2010-02-22 Pedro Alves <pedro@codesourcery.com>
5816 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
5818 2010-02-19 Tom Tromey <tromey@redhat.com>
5820 PR c++/8693, PR c++/9496:
5821 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
5824 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
5826 Fix compatibility with m68k as.
5827 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
5828 Use only /* comments */.
5830 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5832 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
5833 * configure: Regenerate.
5835 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
5837 * gdb.python/py-type.exp: Check for Python support.
5839 2010-02-17 Pedro Alves <pedro@codesourcery.com>
5841 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
5842 `regsub' syntax available.
5844 2010-02-17 Pedro Alves <pedro@codesourcery.com>
5846 * gdb.base/shmain.c (main): Remove printf call.
5847 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
5848 * gdb.base/unload.c (main): Make format of fprintf a string
5849 literal. Add missing endlines to prints to stderr.
5850 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
5852 2010-02-17 Tom Tromey <tromey@redhat.com>
5854 * gdb.java/jprint.java (jprint.props): New field.
5855 * gdb.java/jprint.exp (set_lang_java): Add regression test.
5857 2010-02-17 Pedro Alves <pedro@codesourcery.com>
5859 * gdb.base/charset.exp: Don't assume new `regsub' syntax
5862 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5864 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
5865 creation to support remote host testing.
5867 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5869 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
5870 Recognize "command not found".
5872 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5874 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
5877 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5879 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
5880 if arguments are not supported.
5882 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5884 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
5885 be const or non-const.
5887 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5889 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
5890 mi_send_resuming_command to send -exec-continue.
5892 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5894 * gdb.base/list.exp (test_list_filename_and_function): Add test
5896 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
5898 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
5899 Add KFAIL'd tests for PR gdb/11289.
5901 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5903 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
5905 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5907 * gdb.base/comp-dir/subdir/dummy.txt: New file.
5908 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
5909 a temporary directory.
5911 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
5913 * gdb.base/charset.exp: Use a single regular expression to match
5914 show host-charset and show target-charset output.
5916 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
5918 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
5919 "Illegal process-id" expect string more exact.
5920 (attach to digits-starting nonsense is prohibited): New.
5922 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5924 * gdb.base/prelink.exp (set verbose on): New.
5926 2010-02-12 Tomas Holmberg <th@virtutech.com>
5928 * mi-reverse.exp: New file. Test for reverse option to the
5929 following MI commands: exec-continue, exec-finish, exec-next,
5930 exec-step, exec-next-instruction, exec-step-instruction.
5932 2010-02-09 Joel Brobecker <brobecker@adacore.com>
5934 * gdb.ada/ptype_tagged_param: New testcase.
5936 2010-02-08 Tom Tromey <tromey@redhat.com>
5939 * gdb.cp/overload.exp: Add tests.
5940 * gdb.cp/overload.cc (struct K): New.
5942 (main): Call new functions.
5943 (K::staticoverload): Define.
5945 2010-02-08 Chris Moller <moller@mollerware.com>
5948 * gdb.cp/pr10728-x.h: New file.
5949 * gdb.cp/pr10728-x.cc: New file.
5950 * gdb.cp/pr10728-y.cc: New file.
5951 * gdb.cp/pr10728.exp: New file.
5952 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
5954 2010-02-08 Chris Moller <moller@mollerware.com>
5957 * gdb.cp/pr9067.exp: New
5958 * gdb.cp/pr9067.cc: New
5959 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
5961 2010-02-08 Joel Brobecker <brobecker@adacore.com>
5963 * lib/gdb.exp (gdb_test_timeout): New global variable.
5964 Set it to timeout if not already set.
5965 (gdb_init): Reset the value of timeout to gdb_test_timeout.
5967 2010-02-05 Doug Evans <dje@google.com>
5969 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
5972 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
5975 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
5977 2010-02-04 Tom Tromey <tromey@redhat.com>
5979 * gdb.cp/virtbase.exp: Make test case names unique.
5981 2010-02-02 Tom Tromey <tromey@redhat.com>
5983 * gdb.cp/virtbase.exp: Add regression tests.
5984 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
5985 (main): Instantiate RHC.
5987 2010-02-02 Tom Tromey <tromey@redhat.com>
5989 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
5990 type-printing change.
5992 2010-02-02 Tom Tromey <tromey@redhat.com>
5994 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
5995 * gdb.cp/virtbase.cc: New file.
5996 * gdb.cp/virtbase.exp: New file.
5997 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
5999 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6002 * gdb.threads/current-lwp-dead.c: Include features.h.
6004 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6006 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6008 * gdb.base/symbol-without-target_section.exp,
6009 gdb.base/symbol-without-target_section.c: New.
6011 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6013 * gdb.base/bigcore.exp: Reset increased timeout.
6014 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6016 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6018 * gdb.base/gcore.exp (capture_command_output): Use
6021 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6023 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6024 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6025 (Top level): Call it.
6027 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6029 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6031 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6033 * gdb.base/call-strs.exp, gdb.base/default.exp,
6034 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6035 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6036 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6037 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6038 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6039 * gdb.base/ending-run.exp: Correct restore of timeout.
6040 * gdb.base/page.exp: Remove unnecessary timeout setting.
6042 2010-01-29 Joel Brobecker <brobecker@adacore.com>
6044 * gdb.ada/rec_return: New testcase.
6046 2010-01-29 Joel Brobecker <brobecker@adacore.com>
6048 * gdb.ada/call_pn: New testcase.
6050 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6052 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6053 (Top level): Use it to resume.
6054 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6055 the Thumb mode displaced stepping error as unsupported.
6057 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6059 * gdb.cp/nsusing.exp: Added more tests.
6060 * gdb.cp/nsrecurs.exp: Ditto.
6061 * gdb.cp/nsusing.cc: Added test functions.
6062 * gdb.cp/nsrecurs.cc: Ditto.
6064 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6066 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6067 absolute directory pathnames in gdb.sum file.
6069 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6071 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6072 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6074 2010-01-26 Tom Tromey <tromey@redhat.com>
6077 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6080 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6082 * gdb.cp/nsrecurs.exp: New test.
6083 * gdb.cp/nsrecurs.cc: New test program.
6084 * gdb.cp/nsstress.exp: New test.
6085 * gdb.cp/nsstress.cc: New test program.
6086 * gdb.cp/nsdecl.exp: New test.
6087 * gdb.cp/nsdecl.cc: New test program.
6089 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
6091 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
6092 imported into file scope.
6093 Marked test as xfail.
6094 * gdb.cp/namespace-using.cc (marker5): New function.
6095 * gdb.cp/shadow.exp: New test.
6096 * gdb.cp/shadow.cc: New test program.
6097 * gdb.cp/nsimport.exp: New test.
6098 * gdb.cp/nsimport.cc: New test program.
6100 2010-01-25 Tom Tromey <tromey@redhat.com>
6103 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
6104 with "set print null-stop on".
6106 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6108 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
6109 Adjust it for DISASSEMBLY_OMIT_FNAME.
6111 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6114 * gdb.dwarf2/member-ptr-forwardref.exp,
6115 gdb.dwarf2/member-ptr-forwardref.S: New.
6117 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6119 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
6120 (thread1_func): Protect thread1_tid with thread1_tid_cond by
6121 thread1_tid_mutex. Remove gdbstop_mutex handling.
6122 (thread2_func): Protect thread2_tid with thread2_tid_cond by
6123 thread2_tid_mutex. Remove gdbstop_mutex handling.
6124 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
6125 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
6126 pthread_cond_wait conditionalizations by while loops.
6128 2010-01-20 Tom Tromey <tromey@redhat.com>
6131 * gdb.dwarf2/pr10770.exp: New file.
6132 * gdb.dwarf2/pr10770.c: New file.
6133 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
6135 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
6137 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
6138 that target was removed, and the test always runs native anyway.
6140 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6142 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
6143 gdb.base/watchpoint-cond-gone-stripped.c: New.
6145 2010-01-19 Tom Tromey <tromey@redhat.com>
6148 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
6150 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
6151 (main): Use AAA::SomeEnum.
6153 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6155 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
6156 (test_ignore_count): Declare line_callme_body global.
6157 (run to breakpoint with ignore count): Use line_callme_body.
6158 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
6159 (set line_main_hello, set line_main_return): Reindent.
6160 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
6162 (continue to callee4): Use line_callee4_body.
6163 (check *stopped from CLI command): Use line_callee4_next.
6164 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
6165 (set line_main_hello, set line_main_return): Reindent.
6166 (set line_callee4_head, set line_callee4_body): New.
6167 (continue to callee4): Use line_callee4_body.
6169 2010-01-18 Tom Tromey <tromey@redhat.com>
6172 * gdb.cp/casts.cc: Add new classes and variables.
6173 * gdb.cp/casts.exp: Test new operators.
6175 2010-01-18 Tom Tromey <tromey@redhat.com>
6176 Thiago Jung Bauermann <bauerman@br.ibm.com>
6178 * gdb.python/source2.py: New file.
6179 * gdb.python/source1: New file.
6180 * gdb.python/python.exp: Test "source" command.
6182 2010-01-15 Stan Shebs <stan@codesourcery.com>
6184 * gdb.trace/tfile.c: New file.
6185 * gdb.trace/tfile.exp: New file.
6187 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6189 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
6191 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6193 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
6195 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6197 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
6198 (libfunc): New parameter action. Implement also selectable "sleep".
6199 * gdb.base/break-interp-main.c: Include assert.h.
6200 (libfunc): New parameter action.
6201 (main): New parameters argc and argv. Assert argc. Pass argv.
6202 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
6203 (test_attach): New proc.
6204 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
6205 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
6207 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6209 * gdb.base/break-interp.exp (test_core): New proc.
6212 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6214 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
6215 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
6216 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
6217 and gdb_compile_shlib. Use new -Wl compiler options.
6218 (dl bt, main bt): New tests.
6220 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6222 Support PIEs with no symfile_objfile.
6223 * gdb.base/break-interp.exp: New argument at the test_ld calls.
6224 (test_ld): New parameter trynosym.
6225 (test_ld <$trynosym>): New block.
6227 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6229 * gdb.base/break-interp.exp: New file.
6231 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
6233 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
6234 * gdb.python/py-prettyprint.py (pp_ls): New printer.
6235 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
6237 * gdb.python/py-prettyprint.c: Define lazystring test structure.
6238 * gdb.python/py-mi.exp: Add lazy string test.
6240 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
6242 * lib/mi-support.exp (mi_check_thread_states): Handle
6243 core number in thread listing.
6245 2010-01-12 Joel Brobecker <brobecker@adacore.com>
6247 * gdb.base/maint.exp: Adjust the expected output for the
6248 "maint print type" test. Use gdb_test_multiple instead of
6249 gdb_sent/gdb_expect.
6251 2010-01-11 Doug Evans <dje@google.com>
6253 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
6254 from gdbserver_download. All callers updated.
6256 * gdb.server/ext-run.exp: "info os processes" requires xml support.
6258 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6260 Implement binary numbers parsing.
6261 * gdb.base/printcmds.exp (test_integer_literals_accepted)
6262 (test_integer_literals_rejected): New binary tests.
6264 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
6266 * gdb.cell/configure: Regenerate.
6268 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6270 * gdb.base/corefile.exp: Move the core finding block out and call it as
6271 core_find, new variable $corefile, replace corefile by $corefile and
6272 [file tail $corefile] for usage vs. test names resp.
6273 * lib/gdb.exp (core_find): Move it as a new function here. New
6274 parameter binfile and deletefiles. New variable $destcore. Pre-delete
6275 $destcore. Return "" on error.
6277 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6279 Workaround PR binutils/10802.
6280 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
6283 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
6285 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
6287 2010-01-08 Joel Brobecker <brobecker@adacore.com>
6289 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
6290 call, to avoid interruption.
6292 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6294 * gdb.stabs/weird.def (args93): New.
6296 2010-01-07 Doug Evans <dje@google.com>
6298 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
6300 2010-01-07 Tom Tromey <tromey@redhat.com>
6302 * gdb.base/source.exp: Use correct line number.
6304 2010-01-05 Stan Shebs <stan@codesourcery.com>
6306 * gdb.trace/tracecmd.exp: Test ftrace.
6308 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6310 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
6312 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6314 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
6315 "uint_for_mi_testing".
6317 2010-01-01 Joel Brobecker <brobecker@adacore.com>
6319 Test indented comment in file being sourced.
6320 * gdb.base/commands.exp: Test indented comment in file being sourced.
6322 2010-01-01 Joel Brobecker <brobecker@adacore.com>
6324 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
6325 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
6326 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
6329 2010-01-01 Joel Brobecker <brobecker@adacore.com>
6331 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
6334 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6336 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
6337 missing $after_stopped and comma (,) expectation.
6339 2009-12-31 Stan Shebs <stan@codesourcery.com>
6341 * gdb.trace/actions.exp: Test teval action.
6343 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
6345 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
6346 (top level): Call test_watchpoint_in_big_blob.
6347 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
6349 (func3): Write to buf.
6351 2009-12-29 Stan Shebs <stan@codesourcery.com>
6353 * gdb.trace/actions.exp: Test default-collect.
6355 2009-12-28 Stan Shebs <stan@codesourcery.com>
6357 * gdb.trace/tsv.exp: New file.
6358 * gdb.base/completion.exp: Update ambiguous info output.
6360 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
6362 * gdb.base/find.c (main): Reference search buffers.
6363 * gdb.base/included.c (main): Reference integer.
6364 * gdb.base/ptype.c (charfoo): Declare.
6365 (intfoo): Call charfoo.
6366 * gdb.base/scope0.c (useitp): New function.
6367 (usestatics): Use useitp.
6368 (useit): Add a type for val.
6369 * gdb.base/scope1.c (useit1): Take a pointer argument.
6370 (usestatics1): Update calls to useit1.
6371 * gdb.cp/call-c.cc: Declare foo.
6373 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
6374 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
6375 (main): Call C::ensureRefs and ensureOtherRefs.
6376 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
6378 (ensureOtherRefs): New function.
6379 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
6380 * gdb.cp/templates.cc (main): Call t5i.value.
6382 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
6384 Fix compatibility with G++-4.5.
6385 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
6386 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
6387 (uncaught return): Remove.
6389 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6390 Phil Muldoon <pmuldoon@redhat.com>
6392 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
6393 (bp_location13, bp_location14, bp_location17, bp_location18)
6394 (marker3_proto, marker4_proto): New variables.
6395 (breakpoint info): Update output.
6396 (run until breakpoint at marker3, run until breakpoint at marker4): New
6399 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6401 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
6402 Replace the printf call of Y by provided "y-set-1" label. New block
6403 for the second shared library.
6404 * gdb.base/unload.exp: Compile also the second library, call
6405 gdb_load_shlibs also for it. Use now gdb_breakpoint.
6406 (single pending breakpoint info): Rename to ...
6407 (pending breakpoint info before run): ... this extended test.
6408 (libfile2, libname2, libsrcfile2, libsrc2)
6409 (lib_sl2): New variables.
6410 (exec_opts): Set also SHLIB_NAME2.
6411 (pending breakpoint info on first run at shrfunc1)
6412 (pending breakpoint info on second run at shrfunc1)
6413 (pending breakpoint info on second run at shrfunc2)
6414 (print y from libfile, print y from libfile2): New tests.
6415 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
6416 * gdb.base/unloadshr2.c: New.
6418 2009-12-22 Hui Zhu <teawater@gmail.com>
6420 * gdb.reverse/sigall-reverse.exp: Adjust.
6422 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
6426 * gdb.mi/var-cmd.c (do_bitfield_tests): New
6427 (main): Call do_bitfield_tests.
6428 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
6430 2009-12-20 Joel Brobecker <brobecker@adacore.com>
6432 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
6433 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
6434 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
6435 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
6436 gdb.modula2/unbounded1.c: Update copyright header.
6438 2009-12-10 Chris Moller <moller@mollerware.com>
6441 * gdb.cp/virtfunc2.exp: New tests
6442 * gdb.cp/virtfunc2.cc: New tests
6443 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
6445 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
6447 * gdb.reverse/i387-env-reverse.c: New file.
6448 * gdb.reverse/i387-env-reverse.exp: New file.
6449 * gdb.reverse/i387-stack-reverse.c: New file.
6450 * gdb.reverse/i387-stack-reverse.exp: New file.
6452 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
6454 * gdb.python/py-type.exp (test_range): New test.
6456 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
6460 * gdb.python/py-type.exp: New file.
6461 * gdb.python/py-type.c: New file.
6462 * Makefile.in: Add py-type.
6464 2009-12-03 Tom Tromey <tromey@redhat.com>
6466 * gdb.python/py-value.exp (test_parse_and_eval): New
6469 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
6473 * gdb.base/pr11022.exp: New test.
6474 * gdb.base/pr11022.c: New test.
6476 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
6478 Fix spurious false FAILs.
6479 * gdb.base/structs.c (chartest): New.
6480 (main): Fill-in chartest.
6481 * gdb.base/structs.exp (anychar_re, first): New.
6482 (start_structs_test): Import global anychar_re and first.
6483 New gdb_test call "set print elements 300; ${testfile}"
6484 (start_structs_test <$first>): New block.
6485 (any): Import global anychar_re. New variable ac. Use ${ac}.
6487 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6489 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
6491 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
6493 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
6494 Force $srcfile file.
6495 * gdb.base/foll-fork.c (callee): Comment out the printf call.
6497 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6499 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
6500 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
6501 * gdb.threads/watchthreads-reorder.exp: Likewise.
6503 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
6507 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
6508 "if", and "thread". Correct matching in the previous test.
6510 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
6512 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
6514 2009-11-23 Michael Snyder <msnyder@vmware.com>
6516 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
6517 * gdb.reverse-watch-precsave.exp: Ditto.
6519 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
6521 * gdb.asm/asm-source.exp: Adjust.
6522 * gdb.base/help.exp: Adjust.
6524 2009-11-22 Pedro Alves <pedro@codesourcery.com>
6526 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
6527 (do_syscall_tests_without_xml): Set data-directory to
6528 /the/path/to/nowhere.
6530 2009-11-21 Pedro Alves <pedro@codesourcery.com>
6532 * gdb.threads/local-watch-wrong-thread.c,
6533 gdb.threads/local-watch-wrong-thread.exp: New files.
6535 2009-11-21 Pedro Alves <pedro@codesourcery.com>
6537 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
6538 assume new `regsub' syntax available.
6540 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6542 * gdb.base/watchpoint-hw-hit-once.exp,
6543 gdb.base/watchpoint-hw-hit-once.c: New.
6545 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6547 * gdb.threads/watchthreads-reorder.exp,
6548 gdb.threads/watchthreads-reorder.c: New.
6550 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
6552 * gdb.xml/tdesc-regs.exp: Use for m68k.
6554 2009-11-15 Pedro Alves <pedro@codesourcery.com>
6556 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
6558 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6560 * lib/gdb.exp (current_target_name): New procedure.
6561 (gdb_wrapper_target): New variable.
6562 (gdb_wrapper_init): Set gdb_wrapper_target.
6563 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
6566 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6568 * gdb.base/remote.exp: Delete the slowest load test.
6569 Do not load with fixed packet sizes.
6571 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6573 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
6575 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6577 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
6578 srcfile when setting a breakpoint.
6580 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
6582 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
6585 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
6587 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
6589 * gdb.base/display.c (force_mem): New.
6590 (do_loops): Use it. Add breakpoint comments.
6591 (do_vars): Add a breakpoint comment.
6592 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
6595 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
6597 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
6598 instead of a bare "run".
6600 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
6602 * gdb.python/py-prettyprint.exp: Adjust.
6604 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6606 * lib/cell.exp (skip_cell_tests): Clean up test files before
6609 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6611 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
6612 and the breakpoint menu. Do not call perror if a prompt is seen.
6613 Consume the following GDB prompt.
6614 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
6615 * gdb.cp/namespace.exp: Use gdb_test.
6616 * gdb.cp/templates.exp: Use gdb_test.
6617 (test_template_breakpoints): Use gdb_test_multiple.
6619 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6621 * gdb.base/break1.c (struct some_struct, values): Move earlier.
6622 (marker4): Reference values.
6624 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6626 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
6629 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6631 * gdb.base/break.c (need_malloc): New.
6632 * gdb.base/constvars.c (main): Reference crass and crisp.
6633 * gdb.base/gdb1821.c (main): Reference bar.
6634 * gdb.cp/gdb1355.cc (main): Reference s1.
6635 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
6637 * gdb.cp/hang2.cc (dummy2): Define.
6638 * gdb.cp/hang3.cc (dummy3): Define.
6639 * gdb.cp/m-data.cc (main): Reference shadow.
6641 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
6642 Nathan Froyd <froydnj@codesourcery.com>
6644 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
6647 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
6649 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
6650 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
6651 * gdb.dwarf2/dw2-compressed.exp: Likewise.
6652 * gdb.dwarf2/dw2-intercu.exp: Likewise.
6653 * gdb.dwarf2/dw2-intermix.exp: Likewise.
6654 * gdb.dwarf2/dw2-producer.exp: Likewise.
6655 * gdb.dwarf2/mac-fileno.exp: Likewise.
6656 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
6657 py-prettyprint.py to the remote host.
6658 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
6660 2009-11-11 Keith Seitz <keiths@redhat.com>
6662 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
6663 use it instead of "Foo".
6664 * gdb.cp/classes.exp (do_tests): Add a test to access
6665 a method through a typedef'd class name.
6667 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
6669 * gdb.base/long_long.exp: Permit leading zeros on floating-point
6671 * gdb.base/pointers.exp: Likewise.
6672 * gdb.cp/ref-types.exp: Likewise.
6674 2009-11-11 Keith Seitz <keiths@redhat.com>
6676 * gdb.cp/cplusfuncs.cc (class foo): Add operators
6678 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
6680 (probe_demangler): Remove all single-quoting of
6681 method and variable names.
6682 (info_func_regexp): Remove the word "void" from any
6683 occurrence of "(void)".
6684 (print_addr_2): Remove all single-quoting of
6686 (print_addr_2_kfail): Likewise.
6687 (print_addr): Single-quote C function names before
6688 passing to print_addr_2.
6689 (test_paddr_operator_functions): Remove single-quoting
6691 Add tests for operator new[] and operator delete[].
6693 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6695 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
6697 2009-11-09 Keith Seitz <keiths@redhat.com>
6699 * gdb.cp/overload.exp: Add tests for resolving overloaded
6700 methods in expression parsing/evaluation.
6702 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
6704 * lib/gdb.exp (default_gdb_version): Use --version instead of
6707 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
6709 * lib/gdb.exp (gdb_compile_test): New.
6710 (skip_ada_tests, skip_java_tests): New.
6711 (gdb_compile): Use gdb_compile_test for f77.
6712 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
6713 * lib/java.exp (compile_java_from_source): Remove runtests check,
6714 use gdb_compile_test to record result.
6715 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
6716 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
6717 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
6718 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
6719 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
6720 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
6721 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
6722 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
6723 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
6724 adjust gdb_compile invocations.
6726 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6728 * Makefile.in (abs_builddir): New.
6729 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
6730 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
6731 `$(abs_builddir)/site.exp'.
6733 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
6735 * config/m68k-emc.exp, lib/emc-support.exp,
6736 gdb.trace/gdb_c_test.c: Delete.
6737 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
6738 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
6739 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
6740 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
6741 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
6742 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
6743 casing for m68k-*-elf.
6745 2009-11-03 Pedro Alves <pedro@codesourcery.com>
6747 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
6748 * gdb.arch/i386-prologue.exp: Likewise.
6749 * gdb.arch/i386-unwind.exp: Likewise.
6751 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6753 * lib/gdb.exp (gdb_expect): Fix timeout typo.
6755 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6757 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
6759 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
6761 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
6763 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6765 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
6767 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6769 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
6770 * gdb.base/sepdebug2.c: New file.
6772 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
6774 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
6775 the modified warnings for catch syscall. Verify if GDB was compiled
6776 with support for lib expat, and choose which tests to run depending
6779 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
6781 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
6782 that composite commands are parsed OK. And also test
6783 that breakpoint commands do work.
6785 2009-10-23 Michael Snyder <msnyder@vmware.com>
6787 gdb.reverse/consecutive-precsave.exp: Change expect pattern
6788 to allow for new disassembly style.
6790 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
6792 * gdb.asm/asm-source.exp: Adjust.
6794 2009-10-22 Michael Snyder <msnyder@vmware.com>
6796 * gdb.reverse/break-precsave.exp: New test.
6797 * gdb.reverse/consecutive-precsave.exp: Ditto.
6798 * gdb.reverse/finish-precsave.exp: Ditto.
6799 * gdb.reverse/i386-precsave.exp: Ditto.
6800 * gdb.reverse/machinestate-precsave.exp: Ditto.
6801 * gdb.reverse/sigall-precsave.exp: Ditto.
6802 * gdb.reverse/solilb-precsave.exp: Ditto.
6803 * gdb.reverse/step-precsave.exp: Ditto.
6804 * gdb.reverse/until-precsave.exp: Ditto.
6805 * gdb.reverse/watch-precsave.exp: Ditto.
6807 2009-10-22 Michael Snyder <msnyder@vmware.com>
6809 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
6810 for gdb_expect. Adjust one test's expect strings for the new
6811 format of disassemble.
6812 * gdb.reverse/finish-reverse.exp: Delete 'return'.
6813 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
6815 * gdb.reverse/step-reverse.exp: Delete 'return'.
6816 * gdb.reverse/until-reverse.exp: Delete blank lines.
6817 * gdb.reverse/watch-reverse.exp: Delete blank lines.
6819 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
6821 * gdb.base/consecutive.exp: Adjust.
6822 * gdb.base/display.exp: Likewise.
6823 * gdb.base/pc-fp.exp: Likewise.
6824 * gdb.base/sigbpt.exp: Likewise.
6826 2009-10-19 Michael Snyder <msnyder@vmware.com>
6828 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
6829 * gdb.reverse/finish-reverse.c: Ditto.
6830 * gdb.reverse/sigall-reverse.c: Ditto.
6831 * gdb.reverse/solib-reverse.c: Ditto.
6832 * gdb.reverse/step-reverse.c: Ditto.
6833 * gdb.reverse/watch-reverse.c: Ditto.
6835 2009-10-19 Pedro Alves <pedro@codesourcery.com>
6836 Stan Shebs <stan@codesourcery.com>
6838 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
6839 * gdb.base/foll-exec.exp: Adjust to expect a process id before
6840 "Executing new program".
6841 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
6842 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
6843 left listed after having been killed.
6844 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
6845 * gdb.base/maint.exp: Adjust test.
6847 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
6848 * gdb.multi/Makefile.in: New.
6849 * gdb.multi/base.exp: New.
6850 * gdb.multi/goodbye.c: New.
6851 * gdb.multi/hangout.c: New.
6852 * gdb.multi/hello.c: New.
6853 * gdb.multi/bkpt-multi-exec.c: New.
6854 * gdb.multi/bkpt-multi-exec.exp: New.
6855 * gdb.multi/crashme.c: New.
6857 2009-10-13 Tristan Gingold <gingold@adacore.com>
6859 * gdb.base/sepdebug.exp: Check debug info are found.
6861 2009-10-08 Pedro Alves <pedro@codesourcery.com>
6863 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
6866 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6868 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
6870 2009-10-07 Joel Brobecker <brobecker@adacore.com>
6872 * gdb.base/watchpoints.c: Add copyright header. Reformat one
6875 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
6877 * gdb.base/annota1.exp: Remove obsolete match_max increase.
6878 * gdb.base/annota3.exp: Idem.
6879 * gdb.base/maint.exp: Idem.
6881 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
6883 * lib/gdb.exp (default_gdb_init): Set current value of match_max
6886 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6888 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
6889 mingw and cygwin targets.
6891 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
6892 Pedro Alves <pedro@codesourcery.com>
6894 * lib/gdb.exp (gdb_compile): Avoid adding
6895 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
6897 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6899 * gdb.base/shr1.c: Use %p in format string.
6900 * gdb.base/unload.c: Avoid warning in fprintf.
6901 * gdb.base/watchpoint-solib.c: Idem.
6903 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
6905 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
6907 (test_unlink): Correct printf string.
6908 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
6909 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
6911 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6913 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
6914 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
6915 * gdb.arch/ia64-breakpoint-shadow.S: New file.
6917 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6919 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
6920 * gdb.objc/nondebug.exp: Likewise.
6922 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6924 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
6925 target_info setting.
6927 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
6928 that detect new threads during "info threads".
6930 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6932 * gdb.threads/manythreads.c (main): Increase thread stack size
6933 to 2*PTHREAD_STACK_MIN.
6934 * gdb.threads/multi-create.c (main): Likewise.
6935 (create_function): Likewise.
6937 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6939 * gdb.base/dump.exp: Pass difference of pointer types instead
6940 of integer types as offset to restore in intarr3.srec case.
6942 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6944 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
6946 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6948 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
6950 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
6952 New test for two watchpoints, with disabling of
6954 * testsuite/gdb.base/watchpoints.c: New file.
6955 * testsuite/gdb.base/watchpoints.exp: New file.
6957 2009-09-25 Tom Tromey <tromey@redhat.com>
6959 * gdb.base/charset.exp: Test utf-16 strings with Python.
6961 2009-09-25 Tom Tromey <tromey@redhat.com>
6963 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
6965 * gdb.base/charset.c (utf_32_string): Rename.
6966 (init_utf32): Rename.
6969 2009-09-22 Tom Tromey <tromey@redhat.com>
6971 * gdb.python/py-function.exp: Add regression tests.
6973 2009-09-21 Keith Seitz <keiths@redhat.com>
6975 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
6976 with invalid operator.
6978 2009-09-21 Keith Seitz <keiths@redhat.com>
6980 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
6981 and destructor using typedef name of class.
6982 * gdb.cp/classes.cc (class Base1): Add a destructor.
6983 (base1): New typedef.
6984 (use_methods): Instanitate an object of type base1.
6985 * gdb.cp/templates.exp (test_template_typedef): New procedure.
6986 (do_tests): Call test_template_typedef.
6987 * gdb.cp/templates.cc (Baz::~Baz): New method.
6988 (intBazOne): New typedef.
6989 (main): Instantiate intBazOne.
6991 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
6995 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
6997 (run_lang_tests): Add print elements test.
6999 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7001 * gdb.python/py-value.exp (test_subscript_regression): New
7002 function. Test for invalid subscripts.
7003 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7004 (ptr_ref): New function.
7006 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7008 * gdb.base/default.exp: Fix "show convenience".
7010 2009-09-15 Tom Tromey <tromey@redhat.com>
7012 * lib/mi-support.exp (mi_create_varobj): Update.
7013 (mi_create_floating_varobj): Likewise.
7014 (mi_create_dynamic_varobj): New proc.
7015 (mi_varobj_update): Update.
7016 (mi_varobj_update_with_type_change): Likewise.
7017 (mi_varobj_update_kv_helper): New proc.
7018 (mi_varobj_update_dynamic_helper): Rewrite.
7019 (mi_varobj_update_dynamic): New proc.
7020 (mi_list_varobj_children): Update.
7021 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7022 * gdb.python/python-prettyprint.py (pp_outer): New class.
7023 (pp_nullstr): Likewise.
7024 (lookup_function): Register new printers.
7025 * gdb.python/python-prettyprint.c (struct substruct): New type.
7026 (struct outerstruct): Likewise.
7027 (substruct_test): New function.
7028 (struct nullstr): New type.
7029 (string_1, string_2): New globals.
7030 (main): Add new tests.
7031 * gdb.python/python-mi.exp: Added regression tests.
7032 * gdb.mi/mi2-var-display.exp: Update.
7033 * gdb.mi/mi2-var-cmd.exp: Update.
7034 * gdb.mi/mi2-var-child.exp: Update.
7035 * gdb.mi/mi2-var-block.exp: Update.
7036 * gdb.mi/mi-var-invalidate.exp: Update.
7037 * gdb.mi/mi-var-display.exp: Update.
7038 * gdb.mi/mi-var-cmd.exp: Update.
7039 * gdb.mi/mi-var-child.exp: Update.
7040 * gdb.mi/mi-var-block.exp: Update.
7041 * gdb.mi/mi-break.exp: Update.
7042 * gdb.mi/gdb701.exp: Update.
7044 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7046 * Makefile.in: Inclusion of catch-syscall object.
7047 * gdb.base/catch-syscall.c: New file.
7048 * gdb.base/catch-syscall.exp: New file.
7050 2009-09-12 Michael Snyder <msnyder@vmware.com>
7052 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7053 that can support reverse debuggnig.
7055 2009-09-11 Tom Tromey <tromey@redhat.com>
7057 * gdb.dwarf2/valop.S: New file.
7058 * gdb.dwarf2/valop.exp: New file.
7060 2009-09-11 Mark Kettenis <kettenis@gnu.org>
7062 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7064 2009-09-10 Doug Evans <dje@google.com>
7066 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7067 Add $gdb_prompt to second breakpoint regexp.
7069 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7071 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7072 names, add missing ones.
7073 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7074 * gdb.python/py-frame.c: Rename from python-frame.c.
7075 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7077 * gdb.python/py-function.exp: Rename from python-function.exp.
7078 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7080 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7081 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7082 Adjust testfile name.
7083 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7084 * gdb.python/py-template.cc: Rename from python-template.cc.
7085 * gdb.python/py-template.exp: Rename from python-template.exp.
7086 Adjust testfile name.
7087 * gdb.python/py-value.c: Rename from python-value.c.
7088 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
7091 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7093 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
7095 (Second breakpoint address is valid on ia64)
7096 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
7098 2009-09-03 Joseph Myers <joseph@codesourcery.com>
7100 * gdb.base/ending-run.exp: Restrict regular expression matching
7101 line number to require closing brace following.
7103 2009-09-03 Doug Evans <dje@google.com>
7105 * gdb.base/store.exp (check_set): Fix typo in expected value message.
7107 2009-09-02 Tom Tromey <tromey@redhat.com>
7109 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
7111 2009-09-02 Tom Tromey <tromey@redhat.com>
7113 * gdb.dwarf2/callframecfa.exp: New file.
7114 * gdb.dwarf2/callframecfa.S: New file.
7116 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7118 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
7119 gdb.base/solib-overlap-main.c: New.
7121 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
7125 * gdb.base/bitfields.c (struct container, container): New.
7126 (main): Initialize it and call break5.
7127 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
7129 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7131 Support constant DW_AT_data_member_location by GCC PR debug/40659.
7132 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
7134 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7136 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
7138 2009-08-26 Michael Snyder <msnyder@vmware.com>
7140 * gdb.base/i386-reverse.c: New file.
7141 * gdb.base/i386-reverse.exp: New file.
7142 * gdb.base/Makefile.in: Add new files to be removed.
7144 2009-08-26 Joseph Myers <joseph@codesourcery.com>
7146 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
7147 environment-pwd for remote host.
7148 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
7150 2009-08-24 Keith Seitz <keiths@redhat.com>
7152 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
7153 Add two new C++ completer tests which limit the output to a
7156 2009-08-24 Michael Snyder <msnyder@vmware.com>
7158 * gdb.base/del.exp: Fix typo in comment.
7159 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
7161 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7163 * configure: Regenerate.
7164 * gdb.hp/configure: Likewise.
7165 * gdb.hp/gdb.aCC/configure: Likewise.
7166 * gdb.hp/gdb.base-hp/configure: Likewise.
7167 * gdb.hp/gdb.compat/configure: Likewise.
7168 * gdb.hp/gdb.defects/configure: Likewise.
7169 * gdb.hp/gdb.objdbg/configure: Likewise.
7170 * gdb.stabs/configure: Likewise.
7172 2009-08-19 Doug Evans <dje@google.com>
7174 * gdb.base/gdbvars.c: New file.
7175 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
7177 2009-08-14 Pedro Alves <pedro@codesourcery.com>
7179 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
7180 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
7182 2009-08-13 Pedro Alves <pedro@codesourcery.com>
7184 * gdb.base/default.exp: Adjust "set language test": it's now an
7185 enum command. Larger help string moved to "help set language".
7186 * gdb.base/help.exp: Adjust "help set language" expected output,
7187 now lists all known languages.
7189 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
7191 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
7192 all frame arguments.
7193 * gdb.arch/altivec-regs.exp: Likewise.
7195 2009-08-07 Tom Tromey <tromey@redhat.com>
7197 * gdb.base/setshow.exp: Add tests for changes to set language, set
7198 check range, and set check type.
7200 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
7202 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
7203 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
7206 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7208 * configure.ac: Run gdb.cell tests when appropriate.
7209 * configure: Regenerate.
7210 * lib/cell.exp: New file.
7211 * gdb.cell: New directory.
7212 * gdb.cell/configure.ac: New file.
7213 * gdb.cell/configure: New file.
7214 * gdb.cell/Makefile.in: New file.
7215 * gdb.cell/arch.exp: New file.
7216 * gdb.cell/break.c: New file.
7217 * gdb.cell/break.exp: New file.
7218 * gdb.cell/break-spu.c: New file.
7219 * gdb.cell/bt.c: New file.
7220 * gdb.cell/bt2-spu.c: New file.
7221 * gdb.cell/bt-spu.c: New file.
7222 * gdb.cell/bt.exp: New file.
7223 * gdb.cell/coremaker.c: New file.
7224 * gdb.cell/coremaker-spu.c: New file.
7225 * gdb.cell/core.exp: New file.
7226 * gdb.cell/gcore.exp: New file.
7227 * gdb.cell/data.c: New file.
7228 * gdb.cell/data.exp: New file.
7229 * gdb.cell/data-spu.c: New file.
7230 * gdb.cell/ea-cache.exp: New file.
7231 * gdb.cell/ea-cache.c: New file.
7232 * gdb.cell/ea-cache-spu.c: New file.
7233 * gdb.cell/ea-standalone.c: New file.
7234 * gdb.cell/ea-standalone.exp: New file.
7235 * gdb.cell/ea-test.c: New file.
7236 * gdb.cell/ea-test.exp: New file.
7237 * gdb.cell/f-regs.exp: New file.
7238 * gdb.cell/mem-access.c: New file.
7239 * gdb.cell/mem-access.exp: New file.
7240 * gdb.cell/mem-access-spu.c: New file.
7241 * gdb.cell/ptype.exp: New file.
7242 * gdb.cell/registers.exp: New file.
7243 * gdb.cell/size.c: New file.
7244 * gdb.cell/sizeof.exp: New file.
7245 * gdb.cell/size-spu.c: New file.
7246 * gdb.cell/solib.exp: New file.
7247 * gdb.cell/solib-symbol.exp: New file.
7249 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7251 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
7253 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
7255 * gdb.base/float.exp: Handle VFP registers.
7257 2009-07-14 Michael Snyder <msnyder@vmware.com>
7259 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
7260 to bring gdb to the beginning of the calling line.
7262 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
7263 confusing the i386 epilogue unwinder.
7265 2009-07-14 Stan Shebs <stan@codesourcery.com>
7267 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
7269 2009-07-14 Michael Snyder <msnyder@vmware.com>
7271 * gdb.reverse/step-reverse.exp (stepi into function call):
7272 Call instruction may not be first instruction in the line.
7273 (reverse stepi from a function call): Used wrong line number.
7275 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7277 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
7279 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7281 Fix gdb.base/macscp.exp when using custom inputrc.
7282 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
7283 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
7285 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
7286 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
7288 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7290 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
7291 * gdb.base/annota1.exp (thread_test): Import global $testfile.
7292 Change the compilation target to match the testcase name.
7293 * gdb.base/sect-cmd.exp: Change the compilation target to match the
7295 * a2-run.exp: Use for setup prepare_for_testing. Change the
7296 compilation target to match the testcase name.
7297 * gdb.base/commands.exp: Likewise.
7298 * gdb.base/finish.exp: Likewise.
7299 * gdb.base/float.exp: Likewise.
7300 * gdb.base/info-target.exp: Likewise.
7301 * gdb.base/relational.exp: Likewise.
7302 * gdb.base/term.exp: Likewise.
7303 * gdb.base/until.exp: Likewise.
7304 * gdb.base/volatile.exp: Likewise.
7305 * gdb.base/whatis-exp.exp: Likewise.
7307 2009-07-11 Hui Zhu <teawater@gmail.com>
7309 * gdb.base/help.exp (disassemble): Update expected help text.
7311 2009-07-09 Tom Tromey <tromey@redhat.com>
7313 * lib/gdb.exp: Handle TRANSCRIPT.
7314 (remote_spawn, remote_close, send_gdb): New procs.
7316 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
7318 * gdb.python/python-prettyprint.c: Add counted null string
7320 * gdb.python/python-prettyprint.exp: Print null string. Test for
7322 * gdb.python/python-prettyprint.py (pp_ns): New Function.
7323 * gdb.python/python-value.exp (test_value_in_inferior): Add
7324 variable length string fetch tests.
7325 * gdb.python/python-value.c (main): Add strings for string fetch tests.
7327 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7329 * gdb.base/dump.exp (inaccessible memory is reported): New test.
7331 2009-07-07 Tom Tromey <tromey@redhat.com>
7333 * gdb.base/call-rt-st.exp: Update for change to escape output.
7334 * gdb.base/callfuncs.exp: Likewise.
7335 * gdb.base/charset.exp: Likewise.
7336 * gdb.base/constvars.exp: Likewise.
7337 * gdb.base/long_long.exp: Likewise.
7338 * gdb.base/pointers.exp: Likewise.
7339 * gdb.base/printcmds.exp: Likewise.
7340 * gdb.base/setvar.exp: Likewise.
7341 * gdb.base/store.exp: Likewise.
7342 * gdb.cp/ref-types.exp: Likewise.
7343 * gdb.mi/mi-var-child.exp: Likewise.
7344 * gdb.mi/mi-var-display.exp: Likewise.
7345 * gdb.mi/mi2-var-display.exp: Likewise.
7346 * gdb.base/charset.exp: Test octal escape sequence length.
7347 Update for change to escape output.
7349 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7351 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
7353 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
7355 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
7357 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7359 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
7360 gdbserver increasing $portnum if "Can't bind address" has been seen.
7362 2009-07-05 Pedro Alves <pedro@codesourcery.com>
7364 * gdb.base/ending-run.exp: Add "step out of main" pattern for
7367 2009-07-05 Pedro Alves <pedro@codesourcery.com>
7369 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
7372 2009-07-02 Pedro Alves <pedro@codesourcery.com>
7374 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
7375 linux. Adjust to use "inferior", "info inferiors", "detach
7376 inferior" and "kill inferior" instead of "restart", "info fork",
7377 "detach fork" and "delete fork".
7378 * gdb.base/ending-run.exp: Spell out "info".
7379 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
7382 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7384 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
7385 change to prefix TLS offset in hex with 0x.
7387 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7389 * gdb.base/default.exp: Update test case for "x" changes.
7391 2009-07-01 Tristan Gingold <gingold@adacore.com>
7393 * gdb.base/bigcore.exp: Make darwin untested.
7395 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7397 * gdb.base/completion.exp (directory completion): Create the directory.
7398 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
7400 (directory completion 2): Expect now ${escapeuniquesub}.
7401 (Glob remaining of directory test): Remove one excessive newline.
7402 Expect the real output.
7404 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7406 Fix `make check//%' target after `make check' has been ran.
7407 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
7409 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
7412 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7414 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
7415 the expected result record.
7417 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7419 Remove racy FAILs relying just on the timeouts.
7420 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
7421 (annotation_level 2): Remove racy FAILs.
7423 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
7426 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
7428 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
7430 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
7432 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
7434 * gdb.mi/mi-stack.exp: Testing symbolic options
7435 to -stack-list-locals and -stack-list-arguments.
7437 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7439 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
7441 2009-06-29 Tom Tromey <tromey@redhat.com>
7443 * dg-extract-results.sh: New file.
7444 * Makefile.in (FORCE_PARALLEL): New variable.
7445 (CHECK_TARGET): New conditional variable.
7446 (check): Use CHECK_TARGET.
7447 (DO_RUNTEST): New variable.
7448 (check-single): New target.
7449 (TEST_DIRS): New variable.
7450 (TEST_TARGETS): Likewise.
7451 (check-parallel): New target.
7452 (check-gdb.%): New pattern.
7453 (BASE1_FILES): New variable.
7454 (BASE2_FILES): Likewise.
7455 (check-gdb.base%): New pattern.
7456 (%/.dir): New pattern.
7457 * configure: Rebuild.
7458 * aclocal.m4 (AM_CONDITIONAL): New defun.
7459 * configure.ac: Check whether user is using GNU make.
7460 (GMAKE): New conditional.
7462 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
7464 * gdb.cp/namespace-nested-import.cc: New test.
7465 * gdb.cp/namespace-nested-import.exp: New test.
7467 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
7469 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
7470 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
7471 * gdb.opt/Makefile.in (EXECUTABLES): Update.
7472 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
7473 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
7474 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
7475 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
7476 gdb.opt/inline-markers.c: New files.
7477 * lib/gdb.exp (skip_inline_frame_tests): New function.
7478 (skip_inline_var_tests): New function.
7480 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
7482 * gdb.cp/exception.exp: Don't require $hex before inner frame in
7485 2009-06-27 Michael Snyder <msnyder@vmware.com>
7487 * gdb.reverse: New directory.
7488 * gdb.reverse/break-reverse.c: New test.
7489 * gdb.reverse/break-reverse.exp: New test.
7490 * gdb.reverse/consecutive-reverse.c: New test.
7491 * gdb.reverse/consecutive-reverse.exp: New test.
7492 * gdb.reverse/finish-reverse.c: New test.
7493 * gdb.reverse/finish-reverse.exp: New test.
7494 * gdb.reverse/machinestate.c: New test.
7495 * gdb.reverse/ms1.c: New test.
7496 * gdb.reverse/machinestate.exp: New test.
7497 * gdb.reverse/Makefile.in: New file.
7498 * gdb.reverse/shr2.c: New test.
7499 * gdb.reverse/solib-reverse.c: New test.
7500 * gdb.reverse/solib-reverse.exp: New test.
7501 * gdb.reverse/step-reverse.c: New test.
7502 * gdb.reverse/step-reverse.exp: New test.
7503 * gdb.reverse/until-reverse.c: New test.
7504 * gdb.reverse/ur1.c: New test.
7505 * gdb.reverse/until-reverse.exp: New test.
7506 * gdb.reverse/watch-reverse.c: New test.
7507 * gdb.reverse/watch-reverse.exp: New test.
7508 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
7509 * configure: Regenerate.
7511 2009-06-26 Doug Evans <dje@google.com>
7513 * gdb.base/psymtab.exp: Turn off pending breakpoints.
7515 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
7517 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
7518 windows problem for 'file delete $binfile'.
7520 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
7522 * gdb.cp/namespace-using.exp: New test.
7523 * gdb.cp/namespace-using.cc: New test.
7525 2009-05-20 Joel Brobecker <brobecker@adacore.com>
7527 * gdb.ada/variant_record_packed_array: New testcase.
7529 2009-06-23 Tom Tromey <tromey@redhat.com>
7531 * gdb.base/charset.exp (test_combination): Regression test.
7532 * gdb.base/charset.c (my_wchar_t): New typedef.
7533 (myvar): New global.
7536 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
7538 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
7541 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7543 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
7545 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7547 * gdb.mi/gdb680.exp: Update test for error message.
7549 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7551 * gdb.base/annota1.exp: Allow multiple occurrences of the
7552 frames-invalid annotation.
7553 * gdb.cp/annota2.exp: Likewise.
7555 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
7557 * gdb.cp/gdb2495.cc: New file.
7558 * gdb.cp/gdb2495.exp: New file.
7560 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
7562 Report error on GDB crash during runto.
7563 * lib/gdb.exp (runto <eof>): New.
7565 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
7567 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
7568 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
7569 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
7570 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
7571 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
7572 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
7573 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
7574 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
7575 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
7576 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
7577 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
7578 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
7579 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
7580 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
7581 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
7582 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
7583 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
7584 gdb.server/server-mon.exp, gdb.server/server-run.exp,
7585 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
7586 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
7587 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
7588 gdb.trace/passcount.exp, gdb.trace/report.exp,
7589 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
7590 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
7591 gdb.trace/while-stepping.exp: Use a unique name for the compiled
7594 2009-06-07 Pedro Alves <pedro@codesourcery.com>
7596 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
7597 defined before referencing it.
7599 2009-06-03 Doug Evans <dje@google.com>
7601 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
7602 * gdb.arch/i386-see.c: Ditto.
7604 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
7606 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
7607 (check_macro): Return 1 if undefined.
7608 If first test fails, check if macro debug information is available,
7609 and report unsupported test if no macro information is found.
7611 2009-05-29 Doug Evans <dje@google.com>
7613 * gdb.threads/hand-call-in-threads.exp: New.
7614 * gdb.threads/hand-call-in-threads.c: New.
7616 2009-05-29 Michael Snyder <msnyder@vmware.com>
7618 * gdb.base/break-always.exp: Change "1" to "on".
7619 Add confirmation check.
7621 2009-05-28 Pedro Alves <pedro@codesourcery.com>
7623 * gdb.threads/threxit-hop-specific.c: New.
7624 * gdb.threads/threxit-hop-specific.exp: New.
7625 * gdb.threads/thread-execl.c: New.
7626 * gdb.threads/thread-execl.exp: New.
7628 2009-05-27 Tom Tromey <tromey@redhat.com>
7629 Thiago Jung Bauermann <bauerman@br.ibm.com>
7631 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
7632 (mi_child_regexp): Likewise.
7633 (mi_list_varobj_children_range): Likewise.
7634 (mi_get_features): Likewise.
7635 (mi_list_varobj_children): Rewrite.
7636 * gdb.python/python-mi.exp: New file.
7638 2009-05-27 Tom Tromey <tromey@redhat.com>
7639 Thiago Jung Bauermann <bauerman@br.ibm.com>
7640 Phil Muldoon <pmuldoon@redhat.com>
7641 Paul Pluzhnikov <ppluzhnikov@google.com>
7643 * gdb.python/python-prettyprint.exp: New file.
7644 * gdb.python/python-prettyprint.c: New file.
7645 * gdb.python/python-prettyprint.py: New file.
7646 * gdb.base/display.exp: print/r is now valid.
7648 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
7649 Tom Tromey <tromey@redhat.com>
7650 Pedro Alves <pedro@codesourcery.com>
7651 Paul Pluzhnikov <ppluzhnikov@google.com>
7653 * gdb.python/python-template.exp: New file.
7654 * gdb.python/python-template.cc: New file.
7655 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7657 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7659 (test_value_after_death): New proc.
7660 * gdb.python/python-value.c (PTR): New typedef.
7661 (main): New variable 'x'.
7663 2009-05-27 Tom Tromey <tromey@redhat.com>
7665 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
7667 * gdb.python/python-value.exp (py_objfile_tests): New proc.
7670 2009-05-27 Pedro Alves <pedro@codesourcery.com>
7672 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
7674 2009-05-24 Pedro Alves <pedro@codesourcery.com>
7676 * gdb.threads/fork-thread-pending.c: New.
7677 * gdb.threads/fork-thread-pending.exp: New.
7679 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7681 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
7682 * gdb.dwarf2/dw2-strp.S (a_string2): New.
7684 2009-05-18 Jon Beniston <jon@beniston.com>
7686 * gdb.asm/asm-source.exp: Add lm32 target.
7688 2009-05-17 Pedro Alves <pedro@codesourcery.com>
7690 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
7691 `gdb_get_line_number'. Call `callee' in both parent and child.
7692 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
7693 `gdb_get_line_number' instead of hardcoding line numbers.
7694 (catch_fork_unpatch_child): New procedure to test detaching
7695 breakpoints from child fork.
7696 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
7697 hardcoding line numbers.
7698 (do_fork_tests): Run `catch_fork_unpatch_child'.
7700 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
7702 * gdb.mi/mi-cmd-var.exp: Check that when varobj
7703 of structure type enters or leaves the scope, it
7704 is reported by -var-update.
7706 2009-05-11 Doug Evans <dje@sebabeach.org>
7708 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
7709 * gdb.threads/pending-step.c (main): Fix off-by-one error.
7710 * gdb.threads/schedlock.c (main): Fix off-by-one error.
7712 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7714 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
7716 2009-04-30 Doug Evans <dje@google.com>
7718 * gdb.threads/watchthreads2.exp: New testcase.
7719 * gdb.threads/watchthreads2.c: New testcase.
7721 2009-04-29 Doug Evans <dje@google.com>
7723 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
7724 * gdb.cp/mb-ctor.cc: Ditto.
7725 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
7726 * gdb.cp/mb-inline.h (multi_line_foo): New function.
7727 * gdb.cp/mb-inline1.cc: Call it.
7728 * gdb.cp/mb-inline2.cc: Ditto.
7729 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
7730 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
7732 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7734 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
7735 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
7736 Replace all uses of `decimal' by `nonzero'.
7737 (info macro FROM_COMMANDLINE): New test.
7739 2009-04-27 Tom Tromey <tromey@redhat.com>
7741 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
7743 2009-04-27 Doug Evans <dje@google.com>
7745 * gdb.threads/watchthreads.c (main): Initialize args before starting
7746 the threads. Plus formatting cleanup.
7747 * gdb.threads/watchthreads.exp: Avoid errant failures due to
7748 biased scheduling of one thread.
7750 2009-04-27 Jerome Guitton <guitton@adacore.com>
7752 * gdb.cp/templates.cc (GetMax): New template.
7753 (main): Declare two instances of GetMax.
7754 * gdb.cp/templates.exp: Add new test.
7756 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7758 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
7760 2009-04-22 Joseph Myers <joseph@codesourcery.com>
7762 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
7764 2009-04-15 Tom Tromey <tromey@redhat.com>
7766 * gdb.base/charset.exp: Add regression test.
7768 2009-04-14 Joel Brobecker <brobecker@adacore.com>
7770 * gdb.base/exe-lock.exp: New testcase.
7772 2009-04-13 Tom Tromey <tromey@redhat.com>
7774 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
7777 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7779 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
7780 * gdb.server/ext-attach.exp: Likewise.
7782 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
7784 Eliminate some sleep usage.
7786 * gdb.mi/basics.c (do_nothing): New.
7787 (main): Use do_nothing instead of printf, so that
7788 not to introduce race condition between output of
7789 inferiour and output of gdb. Do not use sleep as it
7790 is not generally available on embedded targets.
7792 2009-04-02 Pedro Alves <pedro@codesourcery.com>
7794 * gdb.server/ext-attach.exp: Expect an optional process id after
7795 "Detached from remote process".
7797 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7799 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
7800 gdb.dwarf2/dw2-unresolved.exp: New.
7802 2009-04-02 Pedro Alves <pedro@codesourcery.com>
7804 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
7807 2009-04-02 Pedro Alves <pedro@codesourcery.com>
7809 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
7810 mi_run_to_main. Skip thread exit test on remote targets.
7811 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
7813 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
7815 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
7816 when expecting ^connected. Detect when the target doesn't support
7818 (mi_run_cmd): Detect if non-stop mode was requested by isn't
7819 supported. Return -1 on error, 0 on success.
7820 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
7821 (mi_runto): Return mi_runto_helper's result explicitly.
7823 2009-04-01 Pedro Alves <pedro@codesourcery.com>
7825 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
7827 2009-04-01 Tom Tromey <tromey@redhat.com>
7829 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
7830 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
7831 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
7832 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
7834 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
7835 Jan Kratochvil <jan.kratochvil@redhat.com>
7838 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
7840 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
7842 * dw2-strp.S (DW_AT_language): Change to C++.
7843 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
7845 2009-03-31 Joel Brobecker <brobecker@adacore.com>
7847 * gdb.ada/tasks: New testcase.
7849 2009-03-30 Stan Shebs <stan@codesourcery.com>
7851 * gdb.trace/actions.exp: Update to match new info trace format.
7852 * gdb.trace/deltrace.exp: Ditto.
7853 * gdb.trace/infotrace.exp: Ditto.
7854 * gdb.trace/passcount.exp: Ditto.
7855 * gdb.trace/save-trace.exp: Ditto.
7856 * gdb.trace/while-stepping.exp: Ditto.
7857 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
7859 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7861 * gdb.python/python-frame.c: New file.
7862 * gdb.python/python-frame.exp: New file.
7864 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
7866 * gdb.python/python-value.exp: Add tests for the address
7869 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
7871 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
7873 2009-03-26 Doug Evans <dje@google.com>
7875 * gdb.mi/mi-nonstop-exit.exp: New file.
7876 * gdb.mi/non-stop-exit.c: New file.
7878 2009-03-26 Tom Tromey <tromey@redhat.com>
7880 Update for change to prologue skipping:
7881 * gdb.mi/mi2-simplerun.exp: Update.
7882 * gdb.mi/mi2-break.exp: Update.
7883 * gdb.mi/mi-simplerun.exp: Update.
7884 * gdb.mi/mi-break.exp: Update.
7885 * gdb.base/ending-run.exp: Update.
7887 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
7889 * gdb.python/python-value.exp (test_value_in_inferior): Test
7890 gdb.Value.is_optimized_out attribute.
7892 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
7894 * gdb.dwarf2/dw2-noloc-main.c: New file.
7895 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
7898 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
7899 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
7900 (DW_TAG_subprogram func_cu1, noloc): Remove.
7902 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
7903 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
7904 (file_symbols): New procedure.
7906 2009-03-25 Tom Tromey <tromey@redhat.com>
7908 * gdb.base/charset.exp (valid_target_charset): New proc.
7909 Use it to skip tests on invalid charsets.
7911 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
7913 * gdb.base/completion.exp: Add a test for directory completion.
7915 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7918 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
7919 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
7921 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
7923 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
7924 * gdb.python/python-function.exp: Add test for function returning
7927 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
7929 * gdb.python/python-function.exp: New file.
7931 2009-03-20 Tom Tromey <tromey@redhat.com>
7933 * gdb.base/store.exp: Update for change to escape output.
7934 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
7936 * gdb.base/pointers.exp: Update for change to escape output.
7937 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
7939 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
7941 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
7943 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
7945 * gdb.base/setvar.exp: Update for change to escape output.
7946 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
7947 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
7949 (test_print_string_constants): Likewise.
7950 * gdb.base/charset.exp (valid_host_charset): Check size of
7951 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
7952 cases. Handle "auto"-related output.
7953 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
7954 (uvar, Uvar): New globals.
7956 2009-03-19 Jerome Guitton <guitton@adacore.com>
7958 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
7960 * gdb.ada/fixed_points.exp: Ditto.
7962 2009-03-18 Pedro Alves <pedro@codesourcery.com>
7964 * return-nodebug.c: Don't include stdio.h.
7966 (func): Delete definition and provide extern declaration.
7968 (main): Don't call printf. Call func and store its result in t.
7969 * return-nodebug1.c: New.
7970 * return-nodebug.exp: Don't expect stdio output. Instead, print
7971 the global variable t. Drop printf formatters and cast types from
7972 foreach loop. Don't use prepare_for_testing. Compile
7973 return-nodebug.c and return-nodebug1.c in separate steps. Don't
7974 define FORMAT or CAST.
7976 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7978 * gdb.base/solib-display.exp: Disable test for remote targers.
7980 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7982 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
7984 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7987 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
7988 code from `follow parent, print pids'.
7989 (`follow child, print pids', `follow parent, print pids'): Call it.
7990 Replace `gdb_test "break..."' by gdb_breakpoint.
7992 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
7994 * gdb.mi/mi-cli.exp: Adjust for output difference in
7995 sync and async modes.
7997 2009-03-12 Joel Brobecker <brobecker@adacore.com>
7999 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8000 that was checked in by mistake. Remove loading of ada.exp, since
8001 this is not necessary in this case.
8003 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8005 * gdb.ada/ptype_arith_binop.exp: New testcase.
8007 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8009 * gdb.ada/mod_from_name: New testcase.
8011 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8013 * gdb.ada/tick_last_segv: New testcase.
8015 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8017 * gdb.mi/mi-cli.exp: Remove debug print.
8019 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8021 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8022 include the token in ^running and frame info in *stopped.
8024 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8026 * solib-display.exp: New file.
8027 * solib-display-main.c: New file.
8028 * solib-display-lib.c: New file.
8030 2009-03-05 Pedro Alves <pedro@codesourcery.com>
8032 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8034 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8036 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8037 (list_and_check_macro): Use more specific test name.
8038 (next to definition): Make the test names unique.
8040 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8042 * gdb.pascal/floats.exp: Accept approximate results everywhere.
8044 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8046 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8048 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8049 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8050 * lib/mi-support.exp (library_loaded_re): New.
8051 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8053 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8055 * gdb.gdb/observer.exp: Use test_notification observer, not
8056 normal_stop, everywhere.
8057 (test_normal_stop_notifications): Rename to...
8058 (test_notifications): ...this.
8059 (test_observer_normal_stop): Rename to...
8060 (test_observer): ...this.
8062 2009-02-16 Doug Evans <dje@google.com>
8064 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8065 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8066 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8067 (test_prefixed_syscall,test_int3): New tests.
8068 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8069 (test_prefixed_syscall,test_int3): New tests.
8071 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8073 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8074 (mi_expect_interrupt): Likewise.
8075 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8078 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8080 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8081 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8082 Replace calls to get_valueofx by get_hexadecimal_valueof.
8084 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8086 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8087 (get_integer_valueof): New procedure.
8088 (get_sizeof): Use new get_integer_value_of.
8089 * gdb.base/sizeof.exp: Replace all uses of get_valueof
8090 by get_integer_valueof.
8092 2009-02-13 Tom Tromey <tromey@redhat.com>
8094 * gdb.base/remote.exp (get_sizeof): Remove.
8095 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
8096 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
8097 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
8098 * lib/gdb.exp (get_valueof): Move from long_long.exp.
8099 (get_sizeof): Likewise.
8101 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8104 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
8106 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8108 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
8110 2009-02-06 Pedro Alves <pedro@codesourcery.com>
8112 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
8114 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
8116 * gdb.python/python-cmd.exp: New file.
8118 2009-02-06 Tristan Gingold <gingold@adacore.com>
8120 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
8122 2009-02-05 Tristan Gingold <gingold@adacore.com>
8124 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
8125 pointer is dereferenced and use this signal name in regexp.
8126 * gdb.base/signull.exp: Ditto.
8127 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
8128 * gdb.base/signull.c (main): Ditto.
8130 2009-02-04 Tom Tromey <tromey@redhat.com>
8131 Thiago Jung Bauermann <bauerman@br.ibm.com>
8133 * gdb.python/python-value.exp: Use `gdb.history' instead of
8134 `gdb.value_from_history'.
8135 (test_value_numeric_ops): Add test for conversion of enum constant.
8136 * gdb.python/python-value.c (enum e): New type.
8137 (evalue): New global.
8140 2009-02-04 Jerome Guitton <guitton@adacore.com>
8142 * gdb.ada/uninitialized_vars: New test program.
8143 * gdb.ada/uninitialized_vars.exp: New testcase.
8145 2009-02-02 Tom Tromey <tromey@redhat.com>
8147 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
8148 * gdb.cp/pr2489.cc: Rename...
8149 * gdb.cp/pr9594.cc: ... to this.
8151 2009-02-02 Tom Tromey <tromey@redhat.com>
8153 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
8154 * gdb.cp/pr2489.cc: New file.
8155 * gdb.cp/cpcompletion.exp: New file.
8157 2009-02-02 Tom Tromey <tromey@redhat.com>
8160 * gdb.cp/call-c.exp: Add regression test.
8161 * gdb.cp/call-c.cc (FooHandle): New typedef.
8162 (main): New variable 'handle'.
8164 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8166 * lib/mi-support.exp (et_mi_thread_list)
8167 (check_mi_and_console_threads): Adjust for current thread in
8168 -thread-list-ids output.
8170 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
8172 * gdb.mi/mi-break.exp (test_disabled_creation): New.
8175 2009-01-28 Doug Evans <dje@google.com>
8177 * gdb.arch/amd64-disp-step.S: New file.
8178 * gdb.arch/amd64-disp-step.exp: New file.
8179 * gdb.arch/i386-disp-step.S: New file.
8180 * gdb.arch/i386-disp-step.exp: New file.
8182 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
8184 * gdb.base/find.exp: Set newline variable
8185 using quotes instead of braces to fix cygwin failures.
8187 2009-01-23 Pedro Alves <pedro@codesourcery.com>
8189 * gdb.base/radix.exp: Add tests to ensure that that set
8190 input-radix 0 and set output-radix 0 are really rejected.
8192 2009-01-23 Pedro Alves <pedro@codesourcery.com>
8194 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
8197 2009-01-23 Pedro Alves <pedro@codesourcery.com>
8200 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
8202 2009-01-22 Pedro Alves <pedro@codesourcery.com>
8205 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
8207 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
8209 * gdb.server/file-transfer.exp: Use EXEEXT variable for
8210 binfile definition to fix Windows OS failure.
8212 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
8215 * gdb.base/interrupt.c (sigint_handler): New.
8216 (main): Install a SIGINT handler if SIGNALS is defined. Exit
8218 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
8219 Test "signal SIGINT".
8221 2009-01-19 Doug Evans <dje@google.com>
8223 * gdb.base/break.exp: Update expected gdb output.
8224 * gdb.base/sepdebug.exp: Ditto.
8225 * gdb.mi/mi-syn-frame.exp: Ditto.
8226 * gdb.mi/mi2-syn-frame.exp: Ditto.
8227 * gdb.base/call-signal-resume.exp: New file.
8228 * gdb.base/call-signals.c: New file.
8229 * gdb.base/unwindonsignal.exp: New file.
8230 * gdb.base/unwindonsignal.c: New file.
8231 * gdb.threads/interrupted-hand-call.exp: New file.
8232 * gdb.threads/interrupted-hand-call.c: New file.
8233 * gdb.threads/thread-unwindonsignal.exp: New file.
8235 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
8237 * gdb.base/define.exp: Test defining and hooking prefix commands.
8238 * gdb.python/python.exp: Update test for "show user" output.
8240 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8242 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
8243 now the output exactly, using less wildcards. Expect also the output
8244 of gfortran-4.3. Update for the f-valprint.c modification from
8246 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
8247 Remove gdb_test test names where matching the command.
8249 2009-01-01 Pedro Alves <pedro@codesourcery.com>
8251 PR breakpoints/9681:
8252 * gdb.base/watchpoint.exp: Add regression test.
8254 2008-12-31 Pedro Alves <pedro@codesourcery.com>
8256 * gdb.threads/attach-into-signal.exp: Don't use
8257 gdb_suppress_entire_file.
8258 * gdb.threads/attach-stopped.exp: Ditto.
8259 * gdb.threads/attachstop-mt.exp: Ditto.
8261 2008-12-31 Pedro Alves <pedro@codesourcery.com>
8264 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
8266 2008-12-29 Pedro Alves <pedro@codesourcery.com>
8269 * gdb.base/radix.exp: Add tests to ensure invalid input radices
8270 and unsupported output radices are really rejected.
8272 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
8274 * gdb.cp/punctuator.exp: Backslash the '$' signs.
8276 2008-12-22 Tom Tromey <tromey@redhat.com>
8278 * gdb.cp/punctuator.exp: New file.
8280 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8282 * gdb.base/completion.exp (Completing non-existing component): New test.
8284 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8286 Fix for PR gdb/8648.
8287 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
8288 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
8289 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
8290 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
8292 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8294 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
8296 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
8298 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
8299 compiler actually generate code at the expected line number.
8301 2008-12-15 Jie Zhang <jie.zhang@analog.com>
8303 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
8305 2008-12-12 Tom Tromey <tromey@redhat.com>
8307 * gdb.base/commands.exp (redefine_hook_test): New proc.
8310 2008-12-11 Tom Tromey <tromey@redhat.com>
8312 * gdb.base/macscp.exp: New regression test.
8314 2008-12-11 Tom Tromey <tromey@redhat.com>
8316 * gdb.base/macscp.exp: Print "address.addr".
8317 * gdb.base/macscp1.c (struct outer): New struct.
8318 (address): New global.
8320 2008-12-09 Tom Tromey <tromey@redhat.com>
8322 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
8325 2008-12-04 Doug Evans <dje@google.com>
8327 * gdb.server/ext-run.exp: Relax regexp for init program.
8329 2008-12-03 Tristan Gingold <gingold@adacore.com>
8331 * gdb.base/macscp.exp: Generate an object file during compilation
8332 to work around Darwin dsymutil limitations.
8334 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8336 Test resolving external references to TLS variables.
8337 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
8339 (testfile2, srcfile2): New variables.
8340 * gdb.threads/tls.c (file2_thread_local)
8341 (function_referencing_file2_thread_local): New.
8342 * gdb.threads/tls2.c: New file.
8344 2008-11-28 Joel Brobecker <brobecker@adacore.com>
8346 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
8347 rather than integer, as integer might not be big enough when
8350 2008-11-27 Jerome Guitton <guitton@adacore.com>
8352 * gdb.cp/formatted-ref.exp: Add equality test.
8353 * gdb.ada/formatted_ref.exp: Ditto.
8355 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8357 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
8358 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
8360 2008-11-20 Andreas Schwab <schwab@suse.de>
8362 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
8363 matching syscall entry point.
8364 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8365 (tcatch_vfork_then_child_follow): Likewise. Finish through
8366 vfork even if we stopped at the syscall trampoline.
8368 2008-11-20 Doug Evans <dje@google.com>
8370 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
8372 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
8374 * gdb.arch/ppc-dfp.exp: New file.
8375 * gdb.arch/ppc-dfp.c: New file.
8377 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8379 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
8381 2008-11-17 Doug Evans <dje@google.com>
8383 * gdb.mi/mi-syn-frame.exp: Update expected output.
8384 * gdb.mi/mi2-syn-frame.exp: Update expected output.
8386 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8388 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
8389 "thread N" results in =thread-selected.
8390 * lib/mi-support (mi_run_cmd, mi_expect_stop)
8391 (mi_send_resuming_command_raw): Be prepared for
8394 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
8396 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
8397 * lib/mi-support.exp: Likewise.
8399 2008-11-16 Joel Brobecker <brobecker@adacore.com>
8401 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
8402 commands from the expected output for "help catch".
8404 2008-11-15 Joel Brobecker <brobecker@adacore.com>
8406 * gdb.ada/int_deref.exp: New testcase.
8408 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
8410 * gdb.mi/gdb2549.exp: New file.
8412 2008-11-11 Doug Evans <dje@google.com>
8414 * gdb.base/callexit.exp: New file.
8415 * gdb.base/callexit.c: New file.
8417 2008-11-10 Doug Evans <dje@google.com>
8419 * lib/gdb.exp (GDBFLAGS): Move -nx ...
8420 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
8421 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
8422 (default_gdb_start,default_gdb_exit): Ditto.
8423 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
8424 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
8425 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
8426 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
8427 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
8428 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
8430 2008-11-03 Andreas Schwab <schwab@suse.de>
8432 * gdb.base/hashline2.exp: Fix typo.
8433 * gdb.base/hashline3.exp: Likewise.
8435 2008-10-30 Tom Tromey <tromey@redhat.com>
8437 * gdb.base/pointers.exp: Add test.
8438 * gdb.base/pointers.c (k, S): New typedefs.
8439 (instance): New global.
8441 2008-10-30 Andreas Schwab <schwab@suse.de>
8443 * gdb.base/args.exp: Add tests for newlines.
8445 2008-10-30 Joel Brobecker <brobecker@adacore.com>
8447 gdb.base/foll-exec.exp: Update the expected output of a couple
8448 of "info breakpoints" tests.
8450 2008-10-28 Tom Tromey <tromey@redhat.com>
8452 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
8454 2008-10-24 Pedro Alves <pedro@codesourcery.com>
8456 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
8458 Use runto_main before any test that requires execution.
8460 2008-10-23 Pedro Alves <pedro@codesourcery.com>
8462 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
8465 2008-10-22 Joel Brobecker <brobecker@adacore.com>
8467 * gdb.base/completion.exp: Update expected output following
8468 the addition of the "info tasks" command.
8470 2008-10-22 Tom Tromey <tromey@redhat.com>
8472 * gdb.base/exprs.exp (test_expr): Add test for string
8475 2008-10-19 Pedro Alves <pedro@codesourcery.com>
8477 * configure.ac: Output gdb.python/Makefile.
8478 * configure: Regenerate.
8479 * gdb.python/Makefile.in: New.
8481 2008-10-16 Joel Brobecker <brobecker@adacore.com>
8483 * gdb.base/foll-fork.exp: Adjust the expected output to match
8484 the new description for fork/vfork catchpoints in the "info
8485 breakpoints" output.
8487 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
8489 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
8491 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8493 * gdb.python/python-value.c: New file.
8494 * gdb.python/python-value.exp: New file.
8496 2008-10-15 Pedro Alves <pedro@codesourcery.com>
8498 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
8500 2008-10-15 Denis Pilat <denis.pilat@st.com>
8502 * gdb.cp/mb-ctor.exp: Fix a typo.
8504 2008-10-09 Tom Tromey <tromey@redhat.com>
8506 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
8507 'fprintf' and 'stderr'.
8509 2008-10-07 Joel Brobecker <brobecker@adacore.com>
8511 * gdb.ada/ref_tick_size.exp: New testcase.
8513 2008-10-06 Doug Evans <dje@google.com>
8515 * gdb.dwarf2/dw2-cu-size.exp: New file.
8516 * gdb.dwarf2/dw2-cu-size.S: New file.
8518 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
8519 .Ltype_int for clarity.
8521 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
8524 * gdb.cp/gdb2384.exp: Extended to test more cases.
8525 * gdb.cp/gdb2384.cc: Likewise.
8526 * gdb.cp/gdb2384-base.h: Likewise.
8527 * gdb.cp/gdb2384-base.cc: Likewise.
8529 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8531 * gdb.base/maint.exp (maint print type): Remove printing
8532 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
8534 2008-09-30 Tom Tromey <tromey@redhat.com>
8536 * gdb.base/macscp.exp: Add completion tests.
8537 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
8538 (TWENTY_THREE): Likewise.
8539 (FORTY_EIGHT): Likewise.
8541 2008-09-30 Tom Tromey <tromey@redhat.com>
8543 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
8545 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
8547 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8549 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
8550 testcase is derived from. Fix racy dependency on an expected PID
8551 number. No longer support the testcase on Linux kernel 2.4.x.
8553 2008-09-27 Tom Tromey <tromey@redhat.com>
8555 * gdb.base/macscp.exp: Add tests for stringification, splicing,
8558 2008-09-22 Pedro Alves <pedro@codesourcery.com>
8560 * lib/mi-support.exp (mi_expect_interrupt): New.
8561 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
8562 from gdb.mi/mi-nonstop.exp.
8563 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
8564 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
8566 Use mi_check_thread_states throughout. Avoid ".*" and do not
8567 require an anchor after -exec-run.
8569 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
8571 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
8572 stop is pending. Avoid ".*" when two stops are pending.
8573 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
8574 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
8575 newlines in fullnames.
8576 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
8577 (mi_expect_stop): Update comments. Only anchor in sync mode.
8578 Do not match newlines.
8579 (mi_send_resuming_command_raw): Always return status.
8580 (mi_get_stop_line): Do not match more than one line by accident.
8581 Only anchor in sync mode.
8582 (mi_run_inline_test): If -exec-next fails, give up.
8584 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8586 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
8589 2008-09-10 Joel Brobecker <brobecker@adacore.com>
8591 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
8593 2008-09-10 Joel Brobecker <brobecker@adacore.com>
8595 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
8596 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8597 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
8598 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8599 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
8600 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
8601 gdb.ada/interface.exp, gdb.ada/null_array.exp,
8602 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8603 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8604 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8605 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
8606 Include the "= " sequence in the expected output of print tests.
8608 2008-09-10 Joel Brobecker <brobecker@adacore.com>
8610 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
8611 description for boolean types.
8613 2008-09-09 Pedro Alves <pedro@codesourcery.com>
8615 * gdb.base/hook-stop-continue.c: New.
8616 * gdb.base/hook-stop-continue.exp: New.
8618 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8620 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
8622 2008-09-08 Jerome Guitton <guitton@adacore.com>
8624 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
8625 (stack_check_probe_2, stack_check_probe_loop_1)
8626 (stack_check_probe_loop_2): New functions.
8627 (main): Add call to these new functions.
8628 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
8629 functions, check that the breakpoint is inserted at the appropriate
8631 (insert_breakpoint): Slightly refine this procedure so that it can
8632 be called several times in the test.
8634 2008-09-08 Jerome Guitton <guitton@adacore.com>
8636 * gdb.base/stack-checking.c: New file.
8637 * gdb.base/stack-checking.exp: New file.
8639 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8641 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
8642 * gdb.arch/altivec-regs.exp: Likewise.
8643 * gdb.arch/vsx-regs.exp: Likewise.
8645 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
8647 * gdb.arch/ppc-fp.exp: New file.
8648 * gdb.arch/ppc-fp.c: New file.
8650 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8652 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
8653 lest gcc-4.3.1 optimizes the whole thing away.
8655 2008-09-04 Michael Snyder <msnyder@vmware.com>
8657 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
8658 as "at" (for non-debug functions such as _start).
8660 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8662 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
8663 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
8664 software watchpoints.
8665 * gdb.base/watch_thread_num.exp: Likewise.
8667 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
8669 * gdb.arch/i386-bp_permanent.exp: New test.
8671 2008-08-24 Tom Tromey <tromey@redhat.com>
8673 * gdb.base/maint.exp: Update "maint print type".
8675 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
8677 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
8678 support. Adjust the order of "*running" notifications.
8679 * gdb.mi/non-stop.c: Don't cast from int to void* and
8682 2008-08-20 Mark Kettenis <kettenis@gnu.org>
8684 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
8685 expect to find it in the "info frame" output.
8687 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
8689 * gdb.base/interp.exp: Always consume both prompts.
8691 2008-08-20 Pedro Alves <pedro@codesourcery.com>
8693 * gdb.base/pending.exp: Test pending breakpoints without symbols
8696 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8698 * lib/mi-support.exp (mi_expect_stop): Produce
8699 more details on failures.
8700 * gdb.mi/mi-nonstop.exp: New.
8701 * gdb.mi/non-stop.c: New.
8703 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
8705 * gdb.mi/mi-async.exp: Use 'set target-async'.
8706 * lib/mi-support.exp: Use 'set/show target-async'.
8708 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
8710 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
8712 2008-08-17 Tom Tromey <tromey@redhat.com>
8714 * gdb.base/help.exp (help catch): Rewrite.
8716 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
8718 * gdb.base/define.exp: Test indented command documentation.
8719 * gdb.python/python.exp: Test indented multi-line command.
8721 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
8723 * testsuite/gdb.arch/vsx-regs.c: New source file.
8724 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
8725 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
8727 2008-08-14 Tom Tromey <tromey@redhat.com>
8729 * gdb.base/macscp.exp: Add regression test for "macro define" or
8730 "macro undef" with no arguments.
8732 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8734 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
8736 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8738 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
8740 2008-08-06 Tom Tromey <tromey@redhat.com>
8742 * gdb.python/python.exp: New file.
8744 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8746 Fix for PR gdb/1543.
8747 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
8749 (location): New variable.
8750 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
8751 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
8752 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
8753 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
8754 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
8755 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
8756 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
8757 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
8758 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
8759 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
8760 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
8761 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
8762 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
8763 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
8764 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
8765 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
8766 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
8767 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
8768 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
8769 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
8770 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
8771 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
8772 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
8773 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
8774 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
8775 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
8776 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
8777 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
8778 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
8779 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
8780 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
8781 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
8782 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
8783 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
8784 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
8785 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
8786 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
8787 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
8788 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
8789 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
8790 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
8791 gdb.base/type-opaque.exp, gdb.base/until.exp,
8792 gdb.base/value-double-free.c, gdb.base/varargs.exp,
8793 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
8794 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
8795 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
8796 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
8797 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
8798 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
8799 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
8800 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8801 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
8802 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
8803 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
8804 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
8805 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
8806 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
8807 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
8808 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
8809 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
8810 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
8811 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
8812 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
8813 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
8814 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
8815 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
8816 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
8817 gdb.pascal/types.exp, gdb.stabs/weird.exp,
8818 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
8819 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
8820 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
8821 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
8822 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
8823 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
8824 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8825 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
8826 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
8827 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
8828 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
8829 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
8830 lib/mi-support.exp, lib/trace-support.exp: Remove reference
8831 to bug-gdb@prep.ai.mit.edu .
8833 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
8835 * lib/mi-support.exp (mi_load_shlibs): New.
8836 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
8838 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
8840 * lib/mi-support.exp (get_mi_thread_list)
8841 (check_mi_and_console_threads): New, moved from ...
8842 * gdb.mi/mi-pthread.exp: ...here.
8843 * gdb.mi/gdb669.exp (get_mi_thread_list)
8844 (check_mi_and_console_threads): Delete.
8845 * gdb.mi/mi2-pthread.exp: Likewise.
8847 2008-07-28 Tom Tromey <tromey@redhat.com>
8849 * Makefile.in (just-check): Remove. Move body to...
8852 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8854 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
8855 Add a test for duplicated SIGINTs.
8857 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8859 * gdb.threads/schedlock.exp (get_args): Update to work for any
8861 (Top level): Report the number of threads that did not resume.
8863 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8865 * gdb.dwarf2/dw2-compressed.S: Also define __start.
8867 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
8869 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
8872 2008-07-26 Tom Tromey <tromey@redhat.com>
8874 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
8875 (function_struct, function_struct_ptr): New globals.
8876 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
8877 function pointer in a struct.
8879 2008-07-26 Tom Tromey <tromey@redhat.com>
8881 * gdb.base/macscp.exp: Add test for macro lexing bug.
8883 2008-07-18 Tom Tromey <tromey@redhat.com>
8885 * gdb.base/macscp.exp: Add macro tests.
8887 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8889 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
8891 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8893 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
8895 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
8897 * gdb.cp/class2.exp: fix for failure on spu-elf
8899 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
8901 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
8903 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8905 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
8907 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
8909 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
8911 2008-07-11 Kevin Buettner <kevinb@redhat.com>
8913 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
8914 of regexp to account for changes made to GDB in the printing of
8917 2008-07-11 Tom Tromey <tromey@redhat.com>
8919 * gdb.base/completion.exp: Add 'help' completion test.
8921 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8923 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
8925 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
8927 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
8929 2008-07-09 Pedro Alves <pedro@codesourcery.com>
8931 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
8933 2008-07-09 Pedro Alves <pedro@codesourcery.com>
8935 * gdb.base/fullname.exp: Restore pwd if compiling failed.
8937 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8939 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
8941 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8943 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
8944 previous commit. Add a comment.
8946 2008-06-28 Pedro Alves <pedro@codesourcery.com>
8948 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
8950 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
8952 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
8954 2008-06-27 Pedro Alves <pedro@codesourcery.com>
8956 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
8957 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
8958 compiling an executable, link in an object that forces unbuffered
8960 * lib/set_unbuffered_mode.c: New file.
8962 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
8964 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
8966 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
8968 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
8970 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
8971 Demand that *running is output.
8972 (detect_async): Perform checking every time.
8973 (mi_send_resuming_command): Extract everything into...
8974 (mi_send_resuming_command_raw): ...this.
8975 (mi_expect_stop): Don't accept any output before *stopped.
8977 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
8979 Robustify mi-simplerun.
8980 * gdb.mi/basics.c (main): Add a call to sleep.
8981 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
8982 * gdb.mi/mi2-cli.exp: Likewise.
8983 * gdb.mi/mi-break.exp: Likewise.
8985 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
8987 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
8989 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
8991 * gdb.mi/mi-console.exp: Adjust.
8992 * gdb.mi/mi-syn-frame.exp: Adjust.
8993 * gdb.mi/mi2-console.exp: Adjust.
8994 * gdb.mi/mi2-syn-frame.exp: Adjust.
8995 * lib/mi-support.exp (mi_run_cmd): Adjust.
8996 (mi_send_resuming_command): Adjust.
8998 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9000 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
9001 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9003 * gdb.mi/mi2-syn-frame.exp: Likewise.
9004 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9005 (async, detect_async): New.
9006 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9007 depending on if we're running in sync or async mode.
9009 2008-06-09 Tom Tromey <tromey@redhat.com>
9011 * gdb.base/completion.exp: New tests for field name completion
9012 with spaces, and field name completion with '->'.
9014 2008-06-06 Tom Tromey <tromey@redhat.com>
9016 * gdb.base/break1.c (struct some_struct): New struct.
9017 (values): New global.
9018 * gdb.base/completion.exp: Add field name completion test.
9020 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9022 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9024 * gdb.cp/call-c.cc: Likewise.
9026 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
9028 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9031 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9032 Pedro Alves <pedro@codesourcery.com>
9034 * gdb.threads/execl.c, gdb.threads/execl1.c,
9035 gdb.threads/execl.exp: New tests.
9037 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9038 Daniel Jacobowitz <dan@codesourcery.com>
9040 * gdb.cp/exception.exp: Activate test, make it work with pending
9043 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9045 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9047 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9049 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9051 * gdb.mi/mi2-var-cmd.exp: Likewise.
9053 2008-05-27 Andreas Schwab <schwab@suse.de>
9055 * gdb.base/frame-args.exp: Handle arguments that are optimized
9058 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
9060 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9061 quiet for ppc32 and group options into a single variable.
9063 2008-05-23 Joel Brobecker <brobecker@adacore.com>
9065 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9066 of zero-size elements.
9067 * gdb.ada/null_array.exp: Test printing this new array.
9069 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9071 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9073 2008-05-21 Joel Brobecker <brobecker@adacore.com>
9075 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9076 of the "finish" command.
9078 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
9080 * gdb.base/annota1.exp: Test for new annotation.
9082 2008-05-16 Pedro Alves <pedro@codesourcery.com>
9084 * gdb.base/fixsection.exp: New file.
9085 * gdb.base/fixsection0.c: New file.
9086 * gdb.base/fixsection1.c: New file.
9088 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9090 * gdb.base/annota1.exp: Accept printf@... in place of printf.
9091 * gdb.base/annota3.exp: Likewise.
9093 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
9095 * gdb.base/watch_thread_num.exp: Don't run tests that require
9096 watchpoints if the target doesn't support them.
9098 2008-05-12 Doug Evans <dje@google.com>
9100 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
9102 2008-05-09 Joel Brobecker <brobecker@adacore.com>
9104 * gdb.ada/assign_1.exp: New testcase.
9106 2008-05-09 Doug Evans <dje@google.com>
9108 * gdb.base/find.exp: New file.
9109 * gdb.base/find.c: New file.
9111 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
9113 * gdb.base/commands.exp (watchpoint_command_test): Handle
9114 gdb,no_hardware_watchpoints.
9115 * gdb.base/float.exp: Allow ARM targets without floating point.
9116 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
9118 2008-05-06 Jerome Guitton <guitton@adacore.com>
9119 Joel Brobecker <brobecker@adacore.com>
9121 * gdb.ada/lang_switch: New test program.
9122 * gdb.ada/lang_switch.exp: New testcase.
9124 2008-05-05 Doug Evans <dje@google.com>
9126 * gdb.base/help.exp (disassemble): Update expected help text.
9128 2008-05-04 Pedro Alves <pedro@codesourcery.com>
9130 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
9132 2008-05-04 Pedro Alves <pedro@codesourcery.com>
9134 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
9137 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9139 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
9140 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
9141 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
9142 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
9144 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
9146 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
9147 notification to appear.
9149 2008-05-04 Daniel Jacobowitz <dan@debian.org>
9151 * gdb.base/fullname.c: New file.
9152 * gdb.base/fullname.exp: New file.
9153 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
9155 2008-05-03 Pedro Alves <pedro@codesourcery.com>
9157 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
9158 expressions with macros.
9160 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
9162 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
9164 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
9166 * gdb.base/completion.exp: Handle lack of other symbols beginning
9169 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
9171 2008-05-02 Jim Blandy <jimb@codesourcery.com>
9173 * gdb.asm/asmsrc1.s: Add scratch space.
9175 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9176 Daniel Jacobowitz <dan@codesourcery.com>
9178 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
9179 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
9180 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
9182 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
9184 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
9186 2008-05-01 Joel Brobecker <brobecker@adacore.com>
9188 * gdb.base/info-target.exp: New testcase.
9190 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9192 * gdb.cp/hang.exp: Use .cc instead of .C.
9193 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
9194 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
9196 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
9198 * gdb.base/gdb1250.exp: Remove perror.
9199 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
9201 2008-04-30 Pedro Alves <pedro@codesourcery.com>
9203 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
9206 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
9208 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
9211 2008-04-25 Pedro Alves <pedro@codesourcery.com>
9213 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
9215 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9217 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
9218 * gdb.mi/mi2-syn-frame.exp: Likewise.
9219 * lib/mi-support.exp: Likewise.
9221 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9223 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
9224 to specify regexp for the location to stop at.
9225 * gdb.base/break-always.c: New.
9226 * gdb.base/break-always.exp: New.
9228 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
9230 * lib/mi-support.exp (mi_runto_helper): Adjust
9231 for the original-location field.
9232 (mi_create_breakpoint, mi_list_breakpoints): New.
9233 * gdb.mi/mi-break.exp: Adjust.
9234 * gdb.mi/mi2-break.exp: Adjust.
9235 * gdb.mi/mi-pending.exp: Adjust.
9236 * gdb.mi/mi-simplerun.exp: Adjust.
9237 * gdb.mi/mi2-simplerun.exp: Adjust.
9238 * gdb.mi/mi-syn-frame.exp: Adjust.
9239 * gdb.mi/mi2-syn-frame.exp: Adjust.
9240 * gdb.mi/mi-until.exp: Adjust.
9241 * gdb.mi/mi2-until.exp: Adjust.
9242 * gdb.mi/mi-var-display.exp: Adjust.
9243 * gdb.mi/mi2-var-display.exp: Adjust.
9244 * gdb.mi/mi-watch.exp: Adjust.
9245 * gdb.mi/mi2-watch.exp: Adjust.
9247 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
9249 * aclocal.m4: Add override.m4.
9250 * configure: Regenerate.
9252 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
9254 * gdb.mi/var-cmd.c (do_at_tests): Verify that
9255 '-var-update --all-values' reports new value even the type
9256 of a variable object has changed.
9258 2008-04-18 Craig Silverstein <csilvers@google.com>
9260 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
9263 2008-04-18 Joel Brobecker <brobecker@adacore.com>
9265 * gdb.ada/atomic_enum: New test program.
9266 * gdb.ada/atomic_enum.exp: New testcase.
9268 2008-04-17 Doug Evans <dje@google.com>
9270 * gdb.opt/Makefile.in: Fix whitespace.
9272 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
9274 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
9276 2008-04-17 Doug Evans <dje@google.com>
9278 * gdb.base/hashline1.exp: New testcase.
9279 * gdb.base/hashline2.exp: New testcase.
9280 * gdb.base/hashline2.exp: New testcase.
9282 2008-04-17 Pedro Alves <pedro@codesourcery.com>
9284 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
9286 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
9288 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
9289 temporary breakpoint to match "Temporary breakpoint".
9290 * gdb.base/break.exp (delete_breakpoints): Likewise.
9291 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
9292 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
9293 * gdb.base/display.exp: Likewise.
9294 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
9295 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
9296 * gdb.base/restore.exp (restore_tests): Likewise.
9297 * gdb.base/sepdebug.exp: Likewise.
9298 * gdb.base/watchpoint.exp: Likewise.
9299 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
9300 * gdb.mi/mi-pending.exp: Likewise.
9301 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
9302 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
9303 * gdb.mi/mi-var-cmd.exp: Likewise.
9304 * gdb.mi/mi-var-display.exp: Likewise.
9305 * gdb.mi/mi2-cli.exp: Likewise.
9306 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
9307 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
9308 * gdb.mi/mi2-var-display.exp: Likewise.
9309 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
9310 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
9312 (mi_expect_stop): Move after_reason argument to be really after
9313 reason. This is to support fix for PR2424.
9315 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
9317 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
9319 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
9321 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
9322 field. Add more floating varobj tests.
9323 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
9325 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
9326 (main): Call do_at_tests.
9327 * lib/mi-support.exp (mi_create_floating_varobj)
9328 (mi_varobj_update_with_type_change): New.
9330 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
9332 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
9333 option of -var-evaluate-expression.
9334 * gdb.mi/mi2-var-display.exp: Likewise.
9336 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
9338 Introduce test setup helpers.
9339 * lib/gdb.exp (build_executable, clean_restart)
9340 (prepare_for_testing): New.
9341 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
9342 * gdb.base/return.exp: Likewise.
9343 * gdb.base/ending-run.exp: Likewise.
9345 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
9347 * gdb.mi/mi-async.exp: New test for asynchronous Machine
9348 Interface (MI) responses.
9350 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
9352 * gdb.cp/breakpoint.cc: New code to test conditions involving
9354 * gdb.cp/breakpoint.exp: Test condition involving member
9357 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
9359 * lib/mi-support.exp (mi_expect_stop): New.
9360 (mi_run_cmd): Change the
9361 token. Use mi_send_resuming_command, use
9363 (mi_execute_to_helper): Rename to mi_execute_to.
9364 (mi_send_resuming_command): Add more error patterns.
9365 (mi_wait_for_stop): Renamed to...
9366 (mi_get_stop_line): ...this.
9367 (mi_run_inline_test): Adjust.
9369 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
9370 * gdb.mi/mi-console.exp: Likewise.
9371 * gdb.mi/mi-pending.exp: Likewise.
9372 * gdb.mi/mi-simplerun.exp: Likewise.
9373 * gdb.mi/mi-stack.exp: Likewise.
9374 * gdb.mi/mi-stepi.exp: Likewise.
9375 * gdb.mi/mi-syn-frame.exp: Add comment.
9376 * gdb.mi/mi-until.exp: Likewise.
9377 * gdb.mi/mi-var-display.exp: Likewise.
9378 * gdb.mi/mi-watch.exp: Likewise.
9379 * gdb.mi/mi2-cli.exp: Likewise.
9380 * gdb.mi/mi2-console.exp: Likewise.
9381 * gdb.mi/mi2-simplerun.exp: Likewise.
9382 * gdb.mi/mi2-stack.exp: Likewise.
9383 * gdb.mi/mi2-stepi.exp: Likewise.
9384 * gdb.mi/mi2-until.exp: Likewise.
9385 * gdb.mi/mi2-var-display.exp: Likewise.
9386 * gdb.mi/mi2-watch.exp: Likewise.
9388 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9390 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
9392 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
9394 2008-04-04 Pedro Alves <pedro@codesourcery.com>
9396 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
9397 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
9398 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
9399 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
9400 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
9401 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
9402 expect an mi error duplicated in stderr.
9404 2008-04-03 Joel Brobecker <brobecker@adacore.com>
9406 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
9407 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
9408 Add a couple of tests that verify the behavior when the new setting
9409 is set to "cancel" and "all".
9410 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
9411 "ask" before we start the testing.
9413 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
9415 * gdb.cp/casts.cc: Add class reference variables.
9416 * gdb.cp/casts.exp: New test cases for up/down casting references.
9418 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
9420 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
9421 instead of beginning to make an extra test pass.
9422 * gdb.mi/mi2-var-display.exp: Likewise.
9424 2008-03-31 Maciej W. Rozycki <macro@mips.com>
9426 * gdb.base/break.exp: Mark failures as such. Fix formatting.
9428 2008-03-31 Markus Deuling <deuling@de.ibm.com>
9429 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9431 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
9432 value. Add xfail for older kernels.
9434 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
9436 Bring mi-support in line with gdb.exp.
9437 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
9438 (mi_gdb_start): New function.
9440 2008-03-28 Maciej W. Rozycki <macro@mips.com>
9442 * gdb.mi/mi-var-cmd.exp: Fix a typo.
9444 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9446 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
9447 * gdb.mi/mi2-var-display.exp: Likewise.
9449 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
9451 * lib/mi-support.exp (mi_create_varobj_checked): New.
9452 (mi_list_varobj_children): Allow to check for a
9454 (mi_list_array_varobj_children): New.
9456 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
9457 and mi_list_varobj_children, as opposed to hardcoding
9459 * gdb.mi/gdb701.exp: Likewise.
9460 * gdb.mi/gdb792.exp: Likewise.
9461 * gdb.mi/mi-var-block.exp: Likewise.
9462 * gdb.mi/mi-var-cmd.exp: Likewise.
9463 * gdb.mi/mi-var-invalidate.exp: Likewise.
9464 * gdb.mi/mi2-var-block.exp: Likewise.
9465 * gdb.mi/mi2-var-child.exp: Likewise.
9466 * gdb.mi/mi2-var-cmd.exp: Likewise.
9467 * gdb.mi/mi2-var-display.exp: Likewise.
9469 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9471 Fix random false FAILs on i386.
9472 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
9474 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9477 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
9479 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
9482 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
9484 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9486 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
9489 2008-03-21 Pedro Alves <pedro@codesourcery.com>
9491 * gdb.threads/fork-child-threads.exp: Test next over fork.
9493 2008-03-21 Chris Demetriou <cgd@google.com>
9495 * gdb.base/break.exp (rbreak junk): New test for rbreak
9496 "Junk at end of arguments" issue.
9498 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9500 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
9501 *& to work on created array elements.
9502 (Top level): Test print $pc with a file. Test string operations
9504 * gdb.base/ptype.exp: Do not expect *& to work on created array
9507 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
9509 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
9510 gdb.threads/staticthreads.exp: Update exit query.
9512 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
9514 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
9516 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
9518 * gdb.base/watchpoint.c (global_ptr, func4): New.
9520 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
9521 (test_inaccessible_watchpoint): New.
9523 2008-02-29 Maciej W. Rozycki <macro@mips.com>
9525 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
9528 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
9530 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
9531 frames-invalid annotations.
9533 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
9535 * gdb.base/assign.exp: avoid same output for different tests.
9537 2008-02-27 Doug Evans <dje@google.com>
9539 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
9541 (breakpoint_to_handler_entry): Ditto.
9543 2008-02-27 Joel Brobecker <brobecker@adacore.com>
9545 * gdb.base/ending-run.exp: Use the first line of code inside
9546 function body to test breakpoints.
9547 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
9548 location where the breakpoint is inserted when using the line
9549 where a function is declared. Fix typo in the description of
9551 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
9553 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9555 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
9558 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
9560 * gdb.base/args.exp: avoid same output for tests
9563 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
9565 * gdb.base/annota1.exp: Adjust for 'info break'
9567 * gdb.base/annota3.exp: Likewise.
9568 * gdb.base/break.exp: Likewise.
9569 * gdb.base/condbreak.exp: Likewise.
9570 * gdb.base/pending.exp: Likewise.
9571 * gdb.base/sepdebug.exp: Likewise.
9572 * gdb.base/unload.exp: Likewise.
9573 * gdb.cp/ovldbreak.exp: Likewise.
9574 * gdb.mi/mi-pending.exp: Likewise.
9576 2008-02-07 Doug Evans <dje@google.com>
9578 * gdb.cp/mb-inline.exp: New.
9579 * gdb.cp/mb-inline.h: New.
9580 * gdb.cp/mb-inline1.cc: New.
9581 * gdb.cp/mb-inline2.cc: New.
9583 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
9585 * gdb.pascal/floats.pas: New test program.
9586 * gdb.pascal/floats.exp: New testcase.
9588 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9590 * gdb.base/callfuncs.c (t_float_many_args): New function.
9591 (t_double_many_args): New function.
9592 * gdb.base/callfuncs.exp: Add tests for exceeding float
9593 and double parameters passed through the stack.
9595 2008-02-05 Joel Brobecker <brobecker@adacore.com>
9597 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
9598 gdb.ada/complete/foo.adb: New files.
9599 * gdb.ada/complete.exp: New testcase.
9601 2008-02-03 Doug Evans <dje@google.com>
9603 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
9605 * gdb.cp/gdb2384.exp: New file.
9606 * gdb.cp/gdb2384.cc: New file.
9607 * gdb.cp/gdb2384-base.h: New file.
9608 * gdb.cp/gdb2384-base.cc: New file.
9610 2008-02-02 Doug Evans <dje@google.com>
9612 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
9614 2007-02-01 Joel Brobecker <brobecker@adacore.com>
9616 * gdb.ada/sym_print_name: New test program.
9617 * gdb.ada/sym_print_name.exp: New testcase.
9619 2007-02-01 Joel Brobecker <brobecker@adacore.com>
9621 * gdb.ada/nested/hello.adb: New file.
9622 * gdb.ada/nested.exp: New testcase.
9623 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9625 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9627 * gdb.mi/basic.c (return_1): New function.
9628 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
9629 don't cause future evaluations of function to report
9630 creation of internal breakpoints.
9632 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
9634 * gdb.mi/mi-break.exp (test_error): New.
9637 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
9639 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
9640 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
9642 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9644 * gdb.pascal/integers.pas: New test program.
9645 * gdb.pascal/integers.exp: New testcase.
9647 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
9649 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
9651 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
9653 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
9654 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
9656 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
9658 * gdb.ada/formatted_ref: New test program.
9659 * gdb.ada/formatted_ref.exp: New testcase.
9661 * gdb.cp/formatted-ref.cc: New file.
9662 * gdb.cp/formatted-ref.exp: New testcase.
9664 2008-01-30 Joel Brobecker <brobecker@adacore.com>
9666 * gdb.base/ptype.exp: Add testing of "ptype $pc".
9668 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
9670 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
9671 (test_file_list_exec_source_file): Update to new macro-info field.
9673 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
9675 * gdb.ada/exprs: New test program.
9676 * gdb.ada/exprs.exp: New testcase.
9678 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
9680 * dfp-test.c (DELTA, DELTA_B): New definitions.
9681 (double_val1, double_val2, double_val3, double_val4, double_val5,
9682 double_val6, double_val7, double_val8, double_val9, double_val10,
9683 double_val11, double_val12, double_val13, double_val14, dec32_val1,
9684 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
9685 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
9686 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
9687 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
9688 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
9689 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
9690 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
9691 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
9692 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
9693 dec128_val16): New global variables.
9694 (decimal_dec128_align): New function.
9695 (decimal_mixed): Likewise.
9696 (decimal_many_args_dec32): Likewise.
9697 (decimal_many_args_dec64): Likewise.
9698 (decimal_many_args_dec128): Likewise.
9699 (decimal_many_args_mixed): Likewise.
9700 * dfp-test.exp: Add tests calling new inferior functions.
9702 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9704 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
9705 gdb.server/ext-run.exp: New files.
9706 * lib/gdbserver-support.exp (gdbserver_download): New.
9707 (gdbserver_start): New. Update gdbserver expected
9709 (gdbserver_spawn): Use them.
9710 (gdbserver_start_extended): New.
9712 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
9714 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
9716 (do_exec_tests): Check for systems which do not support catchpoints.
9718 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
9719 Run on GNU/Linux. Enable verbose output.
9720 (check_fork_catchpoints): New.
9721 (explicit_fork_child_follow, catch_fork_child_follow)
9722 (tcatch_fork_parent_follow): Update expected messages.
9723 (do_fork_tests): Use check_fork_catchpoints.
9724 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
9725 Run on GNU/Linux. Enable verbose output.
9726 (check_vfork_catchpoints): New.
9727 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
9729 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
9731 2008-01-29 Jim Blandy <jimb@red-bean.com>
9733 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
9735 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
9737 2008-01-29 Jim Blandy <jimb@red-bean.com>
9739 * gdb.threads/sigthread.c: Use barriers to ensure that
9740 child_thread and child_thread_two are always initialized before we
9743 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
9745 * gdb.base/watchpoint-solib.exp: New.
9746 * gdb.base/watchpoint-solib.c: New.
9747 * gdb.base/watchpoint-solib-shr.c: New.
9749 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
9751 * gdb.base/gdb1056.exp: Add unsigned integer test.
9753 2008-01-28 Doug Evans <dje@google.com>
9755 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
9757 2008-01-27 Jim Blandy <jimb@codesourcery.com>
9759 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
9761 * gdb.base/expand-psymtabs.exp: Doc fix.
9763 2008-01-26 Mark Kettenis <kettenis@gnu.org>
9765 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
9767 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
9769 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
9772 2008-01-23 Chris Demetriou <cgd@google.com>
9774 * gdb.threads/thread_events.c: New testcase source file.
9775 * gdb.threads/thread_events.exp: New testcase expect file.
9777 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
9779 * lib/gdb.exp: Add the variable octal.
9781 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
9784 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
9785 Vladimir Prus <vladimir@codesourcery.com>
9787 * gdb.base/float.exp: Allow missing floating point for m68k and
9790 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
9792 * gdb.mi/basics.c: Setup for testing breakpoints
9794 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
9795 * gdb.mi/mi-cli.exp: Adjust.
9796 * gdb.mi/mi2-cli.exp: Adjust.
9798 2008-01-17 Pedro Alves <pedro@codesourcery.com>
9800 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
9801 and 'dummy_ptr' integer pointer. Initialize struct_declarations
9802 with dummy_ptr's address.
9803 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
9804 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
9806 * gdb.mi/mi2-var-child.exp: Likewise.
9808 2008-01-09 Joel Brobecker <brobecker@adacore.com>
9810 * gdb.ada/null_array: New test program.
9811 * gdb.ada/null_array.exp: New testcase.
9813 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
9815 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
9816 with required float modifiers.
9818 2008-01-08 Joel Brobecker <brobecker@adacore.com>
9820 * gdb.ada/funcall_param: New test program.
9821 * gdb.ada/funcall_param.exp: New testcase.
9823 2008-01-08 Joel Brobecker <brobecker@adacore.com>
9825 * gdb.ada/arrayparam: New test program.
9826 * gdb.ada/arrayparam.exp: New testcase.
9828 2008-01-08 Joel Brobecker <brobecker@adacore.com>
9830 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
9831 landed. Should also fix random failures in the test following it.
9833 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
9835 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
9836 for expressions with decimal float values.
9837 (test_dfp_conversions): New function to test casts to and from
9838 decimal float types.
9839 Call test_dfp_conversions.
9840 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
9842 (main): Initialize ds.float4 and ds.double8 elements.
9843 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
9844 string to new error message.
9845 (d64_set_tests): Likewise.
9846 (d128_set_tests): Likewise.
9847 Add tests for expressions with decimal float variables. Add tests for
9848 conversions to and from decimal float types.
9850 2008-01-05 Joel Brobecker <brobecker@adacore.com>
9852 * gdb.ada/packed_tagged/comp_bug.adb: New file.
9853 * gdb.ada/packed_tagged.exp: New testcase.
9855 2008-01-04 Joel Brobecker <brobecker@adacore.com>
9857 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
9858 gdb.ada/homonym/homonym_main.adb: New files.
9859 * gdb.ada/homonym.exp: New testcase.
9861 2008-01-04 Joel Brobecker <brobecker@adacore.com>
9863 * gdb.ada/packed_array.exp: Add testing of references to
9866 2008-01-04 Joel Brobecker <brobecker@adacore.com>
9868 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
9870 * gdb.ada/type_coercion.exp: New testcase.
9872 2008-01-04 Joel Brobecker <brobecker@adacore.com>
9874 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
9875 gdb.ada/tagged/foo.adb: New file.
9876 * gdb.ada/tagged.exp: New testcase.
9878 2008-01-04 Joel Brobecker <brobecker@adacore.com>
9880 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
9881 gdb.ada/ptype_field/foo.adb: New files.
9882 * gdb.ada/ptype_field.exp: New testcase.
9884 2008-01-03 Joel Brobecker <brobecker@adacore.com>
9886 * gdb.ada/print_pc.exp: New testcase.
9888 2008-01-03 Joel Brobecker <brobecker@adacore.com>
9890 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
9891 gdb.ada/taft_type/p.adb: New files.
9892 * gdb.ada/taft_type.exp: New testcase.
9894 2008-01-03 Joel Brobecker <brobecker@adacore.com>
9896 * gdb.ada/array_bounds/bar.adb: New file.
9897 * gdb.ada/array_bounds.exp: New testcase.
9899 2008-01-03 Joel Brobecker <brobecker@adacore.com>
9901 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
9902 gdb.ada/arrayptr/foo.adb: New files.
9903 * gdb.ada/arrayptr.exp: New testcase.
9905 2008-01-03 Joel Brobecker <brobecker@adacore.com>
9907 * gdb.base/set-lang-auto.exp: New testcase.
9909 2008-01-03 Joel Brobecker <brobecker@adacore.com>
9911 * gdb.ada/fun_addr/foo.adb: New file.
9912 * gdb.ada/fun_addr.exp: New testcase.
9914 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9916 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
9919 2008-01-02 Joel Brobecker <brobecker@adacore.com>
9921 * array_subscript_addr/p.adb: New file.
9922 * array_subscript_addr.exp: New testcase.
9924 2008-01-02 Joel Brobecker <brobecker@adacore.com>
9926 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
9928 * gdb.ada/str_cmp_ref.exp: New testcase.
9930 2008-01-01 Joel Brobecker <brobecker@adacore.com>
9932 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
9933 gdb.ada/fun_in_declare/foo.adb: New files.
9934 * gdb.ada/fun_in_declare.exp: New testcase.
9936 2008-01-01 Joel Brobecker <brobecker@adacore.com>
9938 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
9939 gdb.ada/ref_param/pck.ads: New files.
9940 * gdb.ada/ref_param.exp: New testcase.
9942 2008-01-01 Joel Brobecker <brobecker@adacore.com>
9944 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
9945 gdb.ada/interface/foo.adb: New files.
9946 * gdb.ada/interface.exp: New testcase.
9948 2007-12-31 Jim Blandy <jimb@codesourcery.com>
9950 * gdb.base/multi-forks.exp: Consume all output from child
9951 processes before proceeding to next test.
9953 2007-12-29 Jim Blandy <jimb@codesourcery.com>
9955 * configure: Regenerated.
9957 2007-12-27 Joel Brobecker <brobecker@adacore.com>
9959 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
9960 gdb.ada/fixed_cmp/fixed.adb: New files.
9961 * gdb.ada/fixed_cmp.exp: New testcase.
9963 2007-12-27 Joel Brobecker <brobecker@adacore.com>
9965 * gdb.ada/boolean_expr.exp: New testcase.
9967 2007-12-26 Jim Blandy <jimb@codesourcery.com>
9969 * gdb.base/multi-forks.exp: Doc fix.
9971 2007-12-26 Joel Brobecker <brobecker@adacore.com>
9973 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
9974 * gdb.ada/char_param.exp: Do not compile our test program with
9975 -gnata, this is unnecessary.
9976 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
9978 2007-12-24 Joel Brobecker <brobecker@adacore.com>
9980 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
9981 gdb.ada/print_chars/foo.adb: New files.
9982 * gdb.ada/print_chars.exp: New testcase.
9984 2007-12-24 Joel Brobecker <brobecker@adacore.com>
9986 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
9987 gdb.ada/char_param/foo.adb: New files.
9988 * gdb.ada/char_param.exp: New testcase.
9990 2007-12-22 Jim Blandy <jimb@codesourcery.com>
9992 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
9993 hard-coding source line numbers into the test.
9994 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
9995 gdb_get_line_number to find.
9997 2007-12-22 Joel Brobecker <brobecker@adacore.com>
9999 * gdb.base/ptype.c (highest): New struct type.
10000 (the_highest): New variable of that type.
10001 (main): Add dummy assignment to a field of variable the_highest.
10002 * gdb.base/ptype.exp: Test type printing of our new variable.
10004 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10006 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
10007 and record first explicitly generated thread number.
10008 Use that thread number for thread specific watchpoint test.
10009 Add iteration number to repetitive tests.
10011 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10012 Jim Blandy <jimb@codesourcery.com>
10014 * gdb.base/expand-psymtabs.c: New testcase
10016 * gdb.base/expand-psymtabs.exp: New testcase
10019 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
10021 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10022 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10024 2007-12-17 Joel Brobecker <brobecker@adacore.com>
10026 * gdb.ada/frame_args/foo.adb: New file.
10027 * gdb.ada/frame_args/pck.ads: New file.
10028 * gdb.ada/frame_args/pck.adb: New file.
10029 * gdb.ada/frame_args.exp: New testcase.
10031 2007-12-17 Joel Brobecker <brobecker@adacore.com>
10033 * gdb.base/frame-args.c: New file.
10034 * gdb.base/frame-args.exp: New testcase.
10036 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
10037 Joseph Myers <joseph@codesourcery.com>
10039 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10041 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
10043 * gdb.mi/mi-pending.exp: New.
10044 * gdb.mi/mi-pending.c: New.
10045 * gdb.mi/mi-pendshr.c: New.
10047 2007-12-06 Jim Blandy <jimb@codesourcery.com>
10049 * gdb.base/default.exp: Update expected output for 'info catch'.
10051 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10053 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10054 must be set to binary.
10056 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10058 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10060 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10062 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10063 gdb.mi/mi-file-transfer.exp: New.
10065 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10067 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10069 2007-11-22 Maciej W. Rozycki <macro@mips.com>
10071 * gdb.trace/backtrace.exp: Fix a typo.
10072 * gdb.trace/circ.exp: Likewise.
10073 * gdb.trace/collection.exp: Likewise.
10074 * gdb.trace/limits.exp: Likewise.
10075 * gdb.trace/report.exp: Likewise.
10076 * gdb.trace/tfind.exp: Likewise.
10077 * gdb.trace/while-dyn.exp: Likewise.
10079 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
10081 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10082 objects of pointers that can't be dereferenced are now
10085 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10087 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10088 (target_cpu): Remove.
10090 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
10092 * gdb.base/ending-run.exp: Expect the list of cleared
10093 breakpoint to come in natural order, not the reversed one.
10095 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
10097 * gdb.mi/mi-var-child.c (do_child_deletion): New.
10098 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
10100 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
10102 * gdb.base/printcmds.exp: New function
10103 test_printf_with_dfp.
10105 2007-11-02 Doug Evans <dje@google.com>
10107 * gdb.disasm/t01_mov.s: Remove carriage returns.
10108 * gdb.disasm/t02_mova.s: Ditto.
10109 * gdb.disasm/t03_add.s: Ditto.
10110 * gdb.disasm/t04_sub.s: Ditto.
10111 * gdb.disasm/t05_cmp.s: Ditto.
10112 * gdb.disasm/t06_ari2.s: Ditto.
10113 * gdb.disasm/t07_ari3.s: Ditto.
10114 * gdb.disasm/t08_or.s: Ditto.
10115 * gdb.disasm/t09_xor.s: Ditto.
10116 * gdb.disasm/t10_and.s: Ditto.
10117 * gdb.disasm/t11_logs.s: Ditto.
10118 * gdb.disasm/t12_bit.s: Ditto.
10119 * gdb.disasm/t13_otr.s: Ditto.
10121 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10123 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
10125 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10127 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
10128 provide DFP support.
10130 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
10132 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
10133 Test "set powerpc vector-abi". Skip auto-detection tests for old
10136 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10138 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
10139 with [string compare].
10141 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
10143 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
10144 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
10146 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
10148 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
10149 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
10150 * gdb.opt/Makefile.in: New makefile.
10151 * Makefile.in: Create new directory "gdb.opt".
10152 * configure.ac: Add "gdb.opt" directory.
10153 * configure: Regenerated.
10155 2007-10-25 Doug Evans <dje@google.com>
10157 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
10158 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
10160 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
10161 Thiago Jung Bauermann <bauerman@br.ibm.com>
10163 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
10164 Floating Point expressions.
10165 * gdb.base/dfp-test.exp: new file adding tests for Decimal
10166 Floating Point variables.
10167 * gdb.base/dfp-test.c: new file containing program with Decimal
10168 Floating variables, used by gdb.base/dfp-test.exp.
10170 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
10172 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
10174 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10176 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
10177 compiling test case with GCC.
10178 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
10180 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10182 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10185 2007-10-18 Michael Snyder <msnyder@specifix.com>
10187 * gdb.base/dbx.exp: Add missing "-re " operator.
10189 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
10191 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
10192 * configure.ac: Removed trailing spaces after backslash.
10193 * gdb.modula2: New directory.
10194 * gdb.modula2/Makefile.in: New file.
10195 * gdb.modula2/unbounded-array.exp: New file.
10196 * gdb.modula2/unbounded1.c: New file.
10198 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
10200 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
10202 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
10204 * gdb.base/sigstep.c (main): Add checks for
10205 return values for setitimer call.
10206 Call setitimer again with itimer = ITIMER_REAL
10207 if first call to setitimer fails.
10209 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
10211 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
10214 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
10216 * gdb.server/server-run.exp: Test for dynamic linker symbols.
10218 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
10220 * lib/gdb.exp (gdb_run_cmd): Move comment outside
10221 of gdb_expect call, to avoid interruption.
10223 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
10225 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
10226 (v_unsigned_long_long, v_long_long_array)
10227 (v_signed_long_long_array, v_unsigned_long_long_array)
10228 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
10229 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
10230 [!NO_LONG_LONG]: New.
10231 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
10232 v_long_long_member.
10234 (v_long_long_func, v_signed_long_long_func)
10235 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
10236 (main) [!NO_LONG_LONG]: Initialize long long variants.
10238 * gdb.base/whatis.exp: If board file requests no_long_long, build
10239 test with NO_LONG_LONG defined. Test long long, signed long long,
10240 and unsigned long long variants but only if board file doesn't
10243 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
10244 Daniel Jacobowitz <dan@codesourcery.com>
10246 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
10247 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
10248 * configure: Regenerated.
10249 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
10250 gdb.pascal/types.exp, lib/pascal.exp: New files.
10252 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
10254 * gdb.cp/classes.exp (do_tests): Always step to the line after the
10256 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
10257 to return to the call.
10258 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
10259 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
10260 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
10261 * gdb.mi/mi-until.exp (test_until): Likewise.
10262 * gdb.mi/mi2-until.exp (test_until): Likewise.
10264 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
10266 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
10268 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
10270 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
10272 * gdb.threads/watchthreads.c (thread_function): Sleep between
10274 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
10275 at once for S/390. Generate matching fails and passes.
10277 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
10279 * gdb.mi/var-cmd.c (do_children_tests): Initialize
10280 the 'struct_declarations' variable to zeros.
10282 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
10284 * gdb.cp/mb-ctor.cc: New.
10285 * gdb.cp/mb-ctor.exp: New.
10286 * gdb.cp/mb-templates.cc: New.
10287 * gdb.cp/mb-templates.exp: New.
10289 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
10291 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
10293 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
10295 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
10297 * configure: Regenerate.
10299 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
10301 * gdb.base/annota1.exp: Adjust for 'info break'
10303 * gdb.base/annota3.exp: Likewise.
10304 * gdb.base/break.exp: Likewise.
10305 * gdb.base/condbreak.exp: Likewise.
10306 * gdb.base/pending.exp: Likewise.
10307 * gdb.base/sepdebug.exp: Likewise.
10308 * gdb.base/unload.exp: Likewise.
10309 * gdb.base/ovldbreak.exp: Likewise.
10311 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
10313 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
10315 * gdb.base/chng-syms.exp: Likewise.
10316 * gdb.base/unload.exp: Likewise.
10318 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
10320 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
10322 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
10324 * schedlock.c (NUM): Change to 1.
10325 (main): Use args[0] for the main thread.
10326 * schedlock.exp: Only expect two threads. Only issue one pass or fail
10327 regardless of the number of threads.
10329 2007-09-14 Maciej W. Rozycki <macro@mips.com>
10331 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
10333 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10335 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
10336 watchpoint type down.
10337 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
10340 2007-09-14 Maciej W. Rozycki <macro@mips.com>
10342 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
10343 Move all the tests here and run them twice, once using software
10344 watchpoints and once using hardware watchpoints.
10345 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
10347 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
10349 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
10352 2007-09-10 Mark Kettenis <kettenis@gnu.org>
10354 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
10357 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
10358 know about $ORIGIN. Calculate output dir from $dest instead of
10359 using ${objdir}/{$subdir}.
10361 2007-09-09 Mark Kettenis <kettenis@gnu.org>
10363 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
10364 gcore, before continuing with the test.
10366 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
10368 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
10369 * gdb.mi/mi-watch.exp: Likewise.
10371 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10372 Jim Blandy <jimb@codesourcery.com>
10374 * gdb.arch/i386-sse.exp: Do not expect character constants.
10375 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
10376 * gdb.base/display.exp: Allow print/s.
10377 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
10378 and unsigned char array changes.
10380 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
10382 * gdb.base/display.exp: Add tests for printf %p.
10384 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
10386 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
10387 the dll name to unicode.
10389 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10391 * gdb.base/default.exp (show version): Update the version text.
10392 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
10394 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10396 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
10399 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10401 * lib/gdb.exp (build_id_debug_filename_get): New function.
10402 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
10403 Remove the generate DEBUG file for the future testcase runs.
10404 New testcase for the NT_GNU_BUILD_ID retrieval.
10405 Move the final testing step to ...
10406 (test_different_dir): ... a new function.
10407 New parameter XFAIL to XFAIL all the tests performed.
10408 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
10409 New parameter TYPE to PF_PREFIX all the tests performed.
10411 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
10413 * gdb.mi/mi-var-cp.cc (path_expression): New
10415 * gdb.mi/mi-var-cp.exp: Run path exression tests.
10417 2007-08-27 Markus Deuling <deuling@de.ibm.com>
10419 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
10420 to fit into SPU Local Store memory.
10422 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10424 * gdb.base/default.exp: Adjust the expected output of "info
10425 warranty" after the switch to GPLv3.
10427 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10429 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
10430 to 30000 (from 20000).
10432 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10434 Switch the license of all .exp files to GPLv3.
10435 Switch the license of all .f and .f90 files to GPLv3.
10436 Switch the license of all .s and .S files to GPLv3.
10438 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10440 * configure.ac: Switch license to GPLv3.
10442 2007-08-23 Joel Brobecker <brobecker@adacore.com>
10444 Switch the licensing to GPLv3 for all .ads and .adb files.
10446 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
10448 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
10450 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
10452 2007-08-17 Joel Brobecker <brobecker@adacore.com>
10454 * gdb.base/step-line.c: Switch license to GPL version 3, and
10455 update copyright year.
10456 * gdb.base/step-line.inp: Likewise.
10458 2007-08-17 Joel Brobecker <brobecker@adacore.com>
10460 * gdb.base/gdb1555.exp: Make expected output immune to formatting
10461 changes inside gdb1555.c.
10462 * gdb.base/pending.exp: Likewise.
10464 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
10466 * config/default.exp: New file.
10468 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
10470 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
10471 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
10473 2007-07-30 Maciej W. Rozycki <macro@mips.com>
10475 * gdb.base/dump.exp: Force the correct endianness for binary
10476 formats not carrying this information.
10478 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10480 * gdb.threads/staticthreads.exp: Match .*sem_post.
10482 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
10484 * gdb.base/readline.exp (operate_and_get_next): Match the final
10487 2007-07-23 Kevin Buettner <kevinb@redhat.com>
10489 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
10492 2007-07-18 Kevin Buettner <kevinb@redhat.com>
10494 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
10495 prior to `gdb_start'.
10497 2007-07-18 Kevin Buettner <kevinb@redhat.com>
10499 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
10500 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
10501 Remove call to gdb_unload.
10503 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
10504 Daniel Jacobowitz <dan@codesourcery.com>
10506 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
10508 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
10509 * gdb.base/unload.exp: Use shared library test routines.
10511 2007-07-03 Markus Deuling <deuling@de.ibm.com>
10513 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
10514 * gdb.base/solib-symbol-lib.c: Likewise.
10515 * gdb.base/solib-symbol-main.c: Likewise.
10517 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
10519 * config/gdbserver.exp (gdb_reconnect): New.
10520 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
10521 gdb.base/solib-disc.exp: New files.
10522 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
10524 (gdb_compile): Add shlib_load flag.
10525 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
10527 (gdbserver_reconnect): New.
10529 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
10530 Daniel Jacobowitz <dan@codesourcery.com>
10532 * gdb.base/annota3.exp: Test for if construct.
10534 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
10536 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
10538 2007-06-21 Chris Dearman <chris@mips.com>
10539 Maciej W. Rozycki <macro@mips.com>
10541 * gdb.base/display.exp: Allow a newline after display/i.
10542 * gdb.base/pc-fp.exp: Likewise.
10543 * gdb.base/sigbpt.exp: Likewise.
10545 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
10547 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
10548 required features to be included.
10550 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
10552 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
10553 in info threads output.
10555 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10556 Markus Deuling <deuling@de.ibm.com>
10558 * gdb.arch/spu-info.exp: New testcase.
10559 * gdb.arch/spu-info.c: New file.
10561 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
10563 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
10564 tpcs_offset. Restore lr after the call.
10565 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
10567 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
10569 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
10570 (gdbserver_run): Kill any running gdbserver.
10571 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
10573 2007-05-17 Maciej W. Rozycki <macro@mips.com>
10575 * gdb.base/sigbpt.exp: Preset segv_addr.
10577 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
10579 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
10580 (gdb_compile_shlib): Likewise.
10581 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
10582 (default_gdb_init): Clear cleanfiles.
10583 (gdb_finish): Delete recorded cleanfiles.
10584 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
10586 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
10587 Do not use isnative.
10588 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
10589 gdb.base/so-impl-ld.exp: Likewise.
10590 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
10591 * gdb.base/unload.exp: Likewise. Do not pass empty option to
10594 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
10596 * config/unknown.exp: Remove.
10598 2007-05-15 Markus Deuling <deuling@de.ibm.com>
10600 * gdb.base/info-proc.exp: Check is_remote.
10602 2007-05-14 Markus Deuling <deuling@de.ibm.com>
10604 * gdb.base/gcore.exp: Initialize variable core_supported.
10606 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10608 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
10610 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10612 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
10613 * gdb.threads/print-threads.exp (test_all_threads): Allow
10614 negative and hexadecimal thread IDs.
10616 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
10618 * gdb.java/jprint.java (public): Avoid invalid call to static
10621 2007-05-14 Denis Pilat <denis.pilat@st.com>
10623 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
10624 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
10625 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
10626 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
10627 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
10629 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10631 * gdb.base/overlays.exp: Add support for targets with only code
10632 overlay support, not data overlay. Support spu-*-* target in
10634 * gdb.base/ovlymgr.c: Provide stubs for spu target.
10635 * gdb.base/spu.ld: New file.
10637 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
10639 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
10641 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
10643 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
10645 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10647 * gdb.java/jmain.exp: Handle demangled names with and without method
10650 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
10652 * gdb.mi/mi-syn-frame.c (main, foo, bar)
10653 (have_a_very_merry_interrupt): Remove calls to puts.
10654 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
10656 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
10659 2007-04-29 Markus Deuling <deuling@de.ibm.com>
10660 Daniel Jacobowitz <dan@codesourcery.com>
10662 * gdb.base/auxv.exp (core_works): Also check is_remote.
10663 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
10665 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
10667 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
10668 message, not the undefined 'module' variable.
10669 * gdb.base/siginfo.exp: Likewise.
10670 * gdb.base/sigstep.exp: Likewise.
10671 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
10673 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
10675 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
10677 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
10678 target sim fails. Return 0 otherwise.
10679 (gdb_load): Return prematurely if gdb_target_sim fails.
10681 2007-04-16 Denis Pilat <denis.pilat@st.com>
10683 * gdb.base/setshow.exp: Reset height after having set it to 100.
10685 2007-04-16 Denis Pilat <denis.pilat@st.com>
10687 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
10689 2007-04-16 Denis Pilat <denis.pilat@st.com>
10691 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
10693 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
10695 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
10696 tests. Run the frozen varobjs test.
10697 * gdb.mi/var-cmd.c (do_frozen_tests): New.
10698 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
10700 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10702 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
10703 gdb.base/type-opaque.exp: New files.
10705 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
10707 * gdb.mi/mi-var-child.c
10708 (do_children_tests): User char[2] instead of
10709 char so that automatic printing of pointers to char
10710 don't give unpredicable result.
10711 * gdb.mi/var-cmd.c (do_locals_test): Initialize
10713 * gdb.mi/mi-var-child.exp: Step to right line
10714 of do_children_tests.
10715 * gdb.mi/mi2-var-child.exp: Likewise.
10716 * gdb.mi/mi-var-cmd.exp: Step to right line of
10718 (do_children_tests): User char[2] instead of
10719 char so that automatic printing of pointers to char
10720 don't give unpredicable result.
10721 * gdb.mi/mi2-var-cmd.exp: Likewise.
10722 * lib/mi-support.exp (mi_continue_to_line):
10723 Pass test name to mi_wait_for_stop.
10725 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10727 * gdb.asm/asm-source.exp: Remove d10v case.
10728 * lib/gdb.exp (skip_cplus_tests): Likewise.
10729 * gdb.asm/d10v.inc: Deleted.
10731 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10733 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
10735 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
10737 * config/netware.exp: Delete file.
10739 2007-03-29 Joel Brobecker <brobecker@adacore.com>
10741 * gdb.dwarf2/dw2-noloc.S: New file.
10742 * gdb.dwarf2/dw2-noloc.exp: New file.
10744 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
10746 * gdb.cp/method2.cc: New test.
10747 * gdb.cp/method2.exp: New test.
10748 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
10750 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10752 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
10754 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
10756 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
10758 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
10760 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
10761 (gdb_load): Delete, replace with...
10762 (gdb_reload): ...this.
10763 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
10764 * gdb.server/server-mon.exp: Likewise.
10765 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
10766 (gdb_start_cmd): New.
10767 (gdb_file_cmd): Save the last loaded file.
10769 (gdb_gnu_strip_debug): Use transform.
10770 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
10771 support here. Use new $last_loaded_file. Check mtime.
10772 (gdb_target_cmd): Handle ObjC failure case.
10773 (infer_host_exec): Delete.
10774 (gdbserver_load): Rename to...
10775 (gdbserver_run): ...this. Simplify.
10776 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
10777 (mi_gdb_load): Move most contents to a new function...
10778 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
10779 (mi_run_cmd): Use mi_gdb_target_load.
10780 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
10781 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
10783 * gdb.base/charsign.exp: Remove incorrect comment.
10784 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
10785 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
10786 gdb.base/start.exp: Use gdb_start_cmd.
10788 2007-03-23 Nigel Stephens <nigel@mips.com>
10789 Maciej W. Rozycki <macro@mips.com>
10791 * gdb.base/sigbpt.exp: Fix the message when skipping test.
10792 * gdb.base/signull.exp: Similarly.
10794 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10796 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
10797 messages available to test cases (like chng-sym.exp).
10799 2007-03-14 Andreas Schwab <schwab@suse.de>
10801 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
10804 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
10806 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
10807 (optimized_1): New.
10808 (main): Call optimized_1.
10809 (gdb2029): Correct typos. Call gdb2029_marker.
10810 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
10813 2007-03-12 Mark Kettenis <kettenis@gnu.org>
10815 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
10816 as tabs. Remove redundant test pattern.
10818 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10820 * gdb.base/long_long.exp: Accept optional symbol name in <...>
10821 for /a format output.
10823 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
10825 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
10826 collect output incrementally.
10828 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10830 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
10831 for -var-create lpcharacter test.
10832 * gdb.mi/mi2-var-cmd.exp: Likewise.
10834 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10836 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
10837 pass on targets where address zero is readable.
10839 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10841 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
10842 just a single architecture.
10844 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10846 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
10847 (fetch_all_registers): New function, uses gdb_test_multiple and
10848 exp_continue to fetch inferior output line-by-line.
10849 Replace all uses of do_get_all_registers by fetch_all_registers.
10851 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10853 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
10856 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10858 * gdb.threads/manythreads.exp: Use $message string for
10859 consistancy; add a default (timeout) case.
10861 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10863 * gdb.base/watchpoint.exp: Fix truncated comment.
10865 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
10867 * Makefile.in: Remove spurious single-quotes from sed command.
10869 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10871 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
10873 * gdb.mi/mi2-var-cmd.exp: Likewise.
10875 2007-02-27 Joel Brobecker <brobecker@adacore.com>
10877 * gdb.dwarf2/dw2-producer.S: New file.
10878 * gdb.dwarf2/dw2-producer.exp: New testcase.
10880 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
10882 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10883 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10884 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10885 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10886 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10887 Revert tests to use mi_gdb_test and include value field in output
10890 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10892 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
10894 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
10896 * gdb.base/maint.exp: Remove full paths from test names.
10897 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
10898 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
10900 2007-02-27 Joel Brobecker <brobecker@adacore.com>
10902 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
10904 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10906 * gdb.server/server-mon.exp: New test.
10908 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10910 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
10912 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
10914 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
10915 register capitalization.
10917 2007-02-13 Denis Pilat <denis.pilat@st.com>
10919 * gdb.mi/mi-var-invalidate.exp: New file.
10921 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10923 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
10925 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10927 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
10929 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
10931 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
10932 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
10934 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
10936 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
10937 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
10938 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
10939 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
10940 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
10941 * gdb.mi/gdb792.exp, lib/mi-support.exp:
10942 Update tests to include value field in output of -var-create.
10944 2007-02-08 Andreas Schwab <schwab@suse.de>
10946 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
10948 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
10950 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
10951 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
10953 2007-02-02 Denis Pilat <denis.pilat@st.com>
10955 * gdb.threads/threadapply.exp: check that frame is not changed by
10956 the thread apply all command.
10958 2007-01-31 Andreas Schwab <schwab@suse.de>
10960 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10962 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
10963 in the dwarf sections.
10964 * gdb.dwarf2/mac-fileno.S: Likewise.
10966 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
10967 bspstore register on ia64.
10969 2007-01-29 Andreas Schwab <schwab@suse.de>
10971 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
10972 "frame-begin" annotation.
10974 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
10975 number of "frames-invalid" annotations.
10977 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10979 * gdb.base/commands.exp: Call if_commands_test.
10980 (gdb_test_no_prompt, if_commands_test): New.
10982 2007-01-28 Mark Kettenis <kettenis@gnu.org>
10984 * gdb.threads/sigthread.c (NSIGS): Make bigger.
10986 2007-01-27 Andreas Schwab <schwab@suse.de>
10988 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
10989 .short/.int/.quad in the dwarf sections.
10990 * gdb.dwarf2/dw2-intercu.S: Likewise.
10991 * gdb.dwarf2/dw2-intermix.S: Likewise.
10993 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10995 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
10996 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
10998 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
10999 * gdb.base/setvar.exp: Likewise.
11001 2007-01-26 Andreas Schwab <schwab@suse.de>
11003 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11006 * gdb.base/multi-forks.exp ("restart $i"): Also match
11007 __kernel_syscall_via_break.
11009 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11011 * lib/mi-support.exp (mi_delete_varobj): New.
11012 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11014 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11015 (main): Call the above.
11016 (reference_update_test, base_in_reference_test)
11017 (reference_to_pointer): Delete the created varobjs.
11019 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11021 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11022 * configure: Regenerated.
11023 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11024 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11025 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11026 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11027 * lib/gdb.exp (gdb_skip_xml_test): New function.
11029 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11031 * gdb.base/sigrepeat.exp: Correct error message.
11033 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11034 Daniel Jacobowitz <dan@codesourcery.com>
11036 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11037 gdb.arch/i386-gnu-cfi-asm.S: New files.
11039 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11041 * lib/gdb.exp: Abort on missing `site.exp'.
11043 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11044 Daniel Jacobowitz <dan@codesourcery.com>
11046 * gdb.base/included.c, gdb.base/included.exp,
11047 gdb.base/included.h: New files.
11049 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11051 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11052 (maximize_rlimit): Reduce limits on 64-bit systems.
11054 2007-01-19 Mark Kettenis <kettenis@gnu.org>
11056 From Marcus Deuling <deuling@de.ibm.com>:
11057 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11060 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
11062 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11063 (test_path_specification): Use objdir instead of srcdir to always
11064 get an absolute filename.
11066 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11068 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11070 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11072 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11073 Make sure the variable we're using is in scope.
11074 (reference_to_pointer): Likewise.
11076 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11078 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11079 has no debug information.
11081 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11083 * gdb.base/annota1.exp: Remove extra send_gdb.
11085 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11087 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11089 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11091 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
11093 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
11094 Daniel Jacobowitz <dan@codesourcery.com>
11096 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
11097 lcharacter or linteger change. Correct duplicated test name.
11098 * gdb.mi/mi2-var-cmd.exp: Likewise.
11100 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11102 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
11104 2007-01-05 Joel Brobecker <brobecker@adacore.com>
11106 * gdb.base/nofield.c: New file.
11107 * gdb.base/nofield.exp: New testcase.
11109 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
11111 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
11113 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
11116 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11118 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
11120 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
11122 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
11125 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11127 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
11128 Expect ".exe" extension.
11130 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11132 * gdb.base/charset.exp: Add explicit filename to break.
11133 * gdb.base/dbx.exp: Add explicit filename to breaks.
11135 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
11137 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
11138 * gdb.mi/mi2-file.exp: Likewise.
11140 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11142 Implement specification of MI tests as comments
11143 in C and C++ sources.
11144 * lib/mi-support.exp (mi_autotest_data): New variable.
11145 (mi_autotest_source): New variable.
11146 (count_newlines, mi_prepare_inline_tests)
11147 (mi_get_inline_test, mi_continue_to_line)
11148 (mi_run_inline_test, mi_tbreak)
11149 (mi_send_resuming_command, mi_wait_for_stop): New functions.
11150 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
11152 * gdb.mi/mi-var-cp.cc: Define tests here.
11154 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
11156 Simplify usage of mi_continue_to.
11157 * lib/mi-support.exp (mi_runto_helper): Renamed
11158 from mi_runto, added new parameter 'run_or_continue'.
11159 (mi_runto): Use mi_runto_helper.
11160 (mi_continue_to): Accept just function name as parameter.
11161 Use mi_runto_helper.
11162 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
11163 * gdb.mi/mi2-var-cmd.exp: Likewise.
11165 2006-01-04 Joel Brobecker <brobecker@adacore.com>
11167 Make this testcase a bit more realistic. The current code
11168 is too simplistic, and allows the compiler to optimize out
11169 some of the entities we need for this testcase.
11170 * gdb.ada/null_record/bar.ads (Void_Star): New type.
11171 (Do_Nothing): Add extra parameter.
11172 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
11173 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
11174 by using a variable of type Void_Star.
11176 2006-01-04 Joel Brobecker <brobecker@adacore.com>
11178 * gdb.ada/catch_ex/foo.adb: New file.
11179 * gdb.ada/catch_ex.exp: New testcase.
11181 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
11183 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
11184 pass --image-base to linker.
11186 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11187 Daniel Jacobowitz <dan@codesourcery.com>
11189 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
11192 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11194 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
11195 output. Test the types of members and member pointers.
11196 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
11198 * gdb.cp/member-ptr.exp: Search for a comment instead of a
11199 statement. Enable for GCC. Update expected output for some tests
11200 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
11202 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
11203 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
11204 (Diamond::vget_base): New.
11205 (main): Add new tests.
11206 * gdb.cp/printmethod.exp: Update expected output for member functions.
11207 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
11208 print pEe->D::vg().
11210 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
11212 * gdb.threads/tls.exp: Allow stops in sem_post.
11214 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
11216 * gdb.base/annota1.exp: Allow .*printf in backtraces.
11217 * gdb.base/annota3.exp: Likewise.
11218 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
11219 again (instead of timing out).
11220 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
11222 * gdb.java/jmisc.exp: Adjust to work with method signatures including
11223 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
11224 test from jmisc1.exp.
11225 * gdb.java/jmisc1.exp: Delete.
11226 * gdb.java/jprint.exp: Adjust to work with method signatures including
11228 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
11229 * gdb.threads/linux-dp.exp: Don't be confused by program output.
11230 * lib/java.exp (compile_java_from_source): Pass the correct type
11233 2006-12-31 Joel Brobecker <brobecker@adacore.com>
11235 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
11236 (stack_align_edx): New function.
11237 (stack_align_eax): New function.
11238 (main): Add calls to stack_align_edx and stack_align_eax.
11239 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
11240 Add testing for the cases where the register used during a stack
11241 realignment is edx. Same for eax.
11243 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
11245 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
11246 and generic PE targets.
11248 2006-12-29 Joel Brobecker <brobecker@adacore.com>
11250 * gdb.ada/array_return.exp: Update copyright date list.
11252 2006-12-27 Joel Brobecker <brobecker@adacore.com>
11254 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
11255 (Create_Small_Float_Vector): New function.
11256 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
11258 * gdb.ada/array_return/p.adb: Use new type and function from
11260 * gdb.ada/array_return.exp: Add a test verifying that GDB is
11261 able to print the value returned by a function returning an
11264 2006-12-20 Joel Brobecker <brobecker@adacore.com>
11266 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
11267 The associated tests should be PASSing.
11269 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11271 Test for base in references.
11272 * gdb.mi/mi-var-cp.cc: Add test code.
11273 * gdb.mi/mi-var-cp.exp: Test for bases in references.
11274 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
11275 * gdb.mi/mi2-watch.exp: Likewise.
11276 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
11277 (mi_list_varobj_children): New function.
11279 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
11281 * lib/mi-support.exp
11282 (mi_runto): Accept "()" after function name.
11283 (mi_create_varobj): New function.
11284 (mi_varobj_update): New function.
11285 (mi_Check_varobj_value): New function.
11286 * gdb.mi/mi-var-cp.exp: New file.
11287 * gdb.mi/mi-var-cp.cc: New file.
11289 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
11291 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
11292 gdb.base/weaklib2.c: New files.
11294 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
11296 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
11297 info. Adjust test names.
11299 * gdb.base/break.c (main): Move position of malloc.
11300 * gdb.base/break.exp: Revert mistaken checkin.
11302 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
11304 * gdb.mi/mi-var-cmd.exp: Check -var-update after
11305 assignement of arrays and function pointers.
11306 * gdb.mi/var-cmd.c: Add declaration necessary for above
11309 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11311 * gdb.base/break.c (main): Call malloc.
11313 * gdb.threads/linux-dp.exp: Read thread table before and after
11314 creating each philosopher and verify it.
11316 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
11317 Paul Brook <paul@codesourcery.com>
11318 Daniel Jacobowitz <dan@codesourcery.com>
11320 * gdb.base/ending-run.exp: Flatten expect script stepping out of
11321 main to remove duplication. Add start function of the form
11322 '_*start[1-9]*'. Add RVDS start function.
11324 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11326 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
11328 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11330 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
11331 * gdb.asm/spu.inc: New file.
11332 * gdb.base/term.exp: Disable if [target_info exists noargs].
11333 * gdb.gdb/complaints.exp: Disable if ![isnative].
11334 * gdb.gdb/selftest.exp: Likewise.
11335 * gdb.gdb/observer.exp: Likewise.
11336 * gdb.gdb/xfullpath.exp: Likewise.
11337 * gdb.base/attach.exp: Disable on SPU target.
11338 * gdb.cp/bs145503.exp: Likewise.
11339 * gdb.cp/exception.exp: Likewise.
11340 * gdb.cp/userdef.exp: Likewise.
11342 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
11344 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
11346 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
11348 * gdb.base/completion.exp: Fix completion tests for
11349 'info' and 'info '.
11350 * gdb.base/help.exp (help_test_raw, test_class_help)
11351 (test_prefix_command_help): Move...
11352 * lib/gdb.exp: Here.
11353 * gdb.base/main.exp: Adjust.
11354 * gdb.cp/maint.exp: Adjust.
11355 * gdb.trace/tracecmd.exp: Use test_help_class.
11357 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11359 * gdb.stabs/weird.exp (print_weird_var): Use
11360 gdb_test_multiple instead of gdb_expect.
11362 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
11364 * gdb.base/help.exp (help_test_raw): New.
11365 (test_class_help): New.
11366 (test_prefix_command_help): New.
11369 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
11371 * gdb.base/constvars.c (main): Write to crass and crips, so that
11372 they are allocated by the compiler.
11374 2006-10-27 Andreas Schwab <schwab@suse.de>
11376 * gdb.base/multi-forks.exp: Use "detach fork" instead of
11379 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
11381 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
11384 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11386 * gdb.base/sepdebug.exp: Remove debug format test.
11387 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
11389 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
11391 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
11393 * gdb.threads/manythreads.c (thread_function, main): Don't cast
11394 int to pointer or pointer to int.
11395 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
11397 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
11399 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
11401 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11403 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
11405 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11408 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
11410 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11412 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
11413 the corresponding bug has been fixed in GDB (PR/2018).
11415 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11417 * gdb.base/subst.exp: New testcase.
11419 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11421 * gdb.ada/array_return/pck.ads: Add copyright notice.
11422 * gdb.ada/array_return/pck.adb: Likewise.
11423 * gdb.ada/array_return/p.adb: Likewise.
11424 * gdb.ada/exec_changed/first.adb: Likewise.
11425 * gdb.ada/exec_changed/second.adb: Likewise.
11427 2006-10-06 Joel Brobecker <brobecker@adacore.com>
11429 * gdb.ada/watch_arg/watch.adb: New file.
11430 * gdb.ada/watch_arg.exp: New testcase.
11432 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
11434 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
11435 via string_to_regexp.
11436 * gdb.mi/mi2-basics.exp: Likewise.
11438 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
11440 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
11441 Remove unused / obsolete files.
11443 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
11445 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
11447 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
11449 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
11450 HIGH_FRAME argument to -stack-list-arguments can be larger than
11451 the number of frames.
11453 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
11455 * gdb.base/args.c (main): Add breakpoint marker.
11456 * gdb.base/args.exp: Use args_test for tests. Add new tests which
11457 really test empty arguments.
11458 (args_load): Delete.
11461 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
11463 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
11464 check for one file.
11466 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
11468 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
11469 HIGH_FRAME argument to -stack-list-locals can be larger than
11470 the number of frames.
11472 2006-08-18 Fred Fish <fnf@specifix.com>
11474 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
11475 '$' in front of skip_vmx_tests_saved when setting that.
11477 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
11479 * gdb.base/trace-commands.exp: New file.
11481 2006-08-10 Joel Brobecker <brobecker@adacore.com>
11482 Daniel Jacobowitz <dan@codesourcery.com>
11484 * gdb.base/step-bt.exp: Make hexadecimal address optional in
11485 expected output of the backtrace commands.
11487 2006-08-09 Joel Brobecker <brobecker@adacore.com>
11489 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
11490 untested followed by return combination.
11491 * gdb.arch/altivec-regs.exp: Likewise.
11492 * gdb.arch/e500-abi.exp: Likewise.
11493 * gdb.arch/e500-regs.exp: Likewise.
11494 * gdb.arch/gdb1291.exp: Likewise.
11495 * gdb.arch/gdb1431.exp: Likewise.
11496 * gdb.arch/gdb1558.exp: Likewise.
11497 * gdb.arch/i386-prologue.exp: Likewise.
11498 * gdb.arch/i386-unwind.exp: Likewise.
11499 * gdb.asm/asm-source.exp: Likewise.
11500 * gdb.base/a2-run.exp: Likewise.
11501 * gdb.base/advance.exp: Likewise.
11502 * gdb.base/all-bin.exp: Likewise.
11503 * gdb.base/annota1.exp: Likewise.
11504 * gdb.base/annota3.exp: Likewise.
11505 * gdb.base/args.exp: Likewise.
11506 * gdb.base/arithmet.exp: Likewise.
11507 * gdb.base/assign.exp: Likewise.
11508 * gdb.base/async.exp: Likewise.
11509 * gdb.base/attach.exp: Likewise.
11510 * gdb.base/bang.exp: Likewise.
11511 * gdb.base/bigcore.exp: Likewise.
11512 * gdb.base/bitfields.exp: Likewise.
11513 * gdb.base/bitfields2.exp: Likewise.
11514 * gdb.base/break.exp: Likewise.
11515 * gdb.base/call-sc.exp: Likewise.
11516 * gdb.base/call-strs.exp: Likewise.
11517 * gdb.base/callfuncs.exp: Likewise.
11518 * gdb.base/checkpoint.exp: Likewise.
11519 * gdb.base/chng-syms.exp: Likewise.
11520 * gdb.base/code-expr.exp: Likewise.
11521 * gdb.base/commands.exp: Likewise.
11522 * gdb.base/completion.exp: Likewise.
11523 * gdb.base/cond-expr.exp: Likewise.
11524 * gdb.base/condbreak.exp: Likewise.
11525 * gdb.base/consecutive.exp: Likewise.
11526 * gdb.base/constvars.exp: Likewise.
11527 * gdb.base/corefile.exp: Likewise.
11528 * gdb.base/cvexpr.exp: Likewise.
11529 * gdb.base/dbx.exp: Likewise.
11530 * gdb.base/define.exp: Likewise.
11531 * gdb.base/detach.exp: Likewise.
11532 * gdb.base/display.exp: Likewise.
11533 * gdb.base/dump.exp: Likewise.
11534 * gdb.base/ena-dis-br.exp: Likewise.
11535 * gdb.base/ending-run.exp: Likewise.
11536 * gdb.base/environ.exp: Likewise.
11537 * gdb.base/eval-skip.exp: Likewise.
11538 * gdb.base/exprs.exp: Likewise.
11539 * gdb.base/fileio.exp: Likewise.
11540 * gdb.base/finish.exp: Likewise.
11541 * gdb.base/float.exp: Likewise.
11542 * gdb.base/foll-exec.exp: Likewise.
11543 * gdb.base/foll-fork.exp: Likewise.
11544 * gdb.base/foll-vfork.exp: Likewise.
11545 * gdb.base/freebpcmd.exp: Likewise.
11546 * gdb.base/funcargs.exp: Likewise.
11547 * gdb.base/gcore.exp: Likewise.
11548 * gdb.base/gdb1090.exp: Likewise.
11549 * gdb.base/gdb1250.exp: Likewise.
11550 * gdb.base/huge.exp: Likewise.
11551 * gdb.base/info-proc.exp: Likewise.
11552 * gdb.base/interrupt.exp: Likewise.
11553 * gdb.base/jump.exp: Likewise.
11554 * gdb.base/langs.exp: Likewise.
11555 * gdb.base/lineinc.exp: Likewise.
11556 * gdb.base/list.exp: Likewise.
11557 * gdb.base/logical.exp: Likewise.
11558 * gdb.base/long_long.exp: Likewise.
11559 * gdb.base/macscp.exp: Likewise.
11560 * gdb.base/maint.exp: Likewise.
11561 * gdb.base/mips_pro.exp: Likewise.
11562 * gdb.base/miscexprs.exp: Likewise.
11563 * gdb.base/multi-forks.exp: Likewise.
11564 * gdb.base/opaque.exp: Likewise.
11565 * gdb.base/overlays.exp: Likewise.
11566 * gdb.base/pc-fp.exp: Likewise.
11567 * gdb.base/pointers.exp: Likewise.
11568 * gdb.base/printcmds.exp: Likewise.
11569 * gdb.base/psymtab.exp: Likewise.
11570 * gdb.base/ptype.exp: Likewise.
11571 * gdb.base/recurse.exp: Likewise.
11572 * gdb.base/relational.exp: Likewise.
11573 * gdb.base/relocate.exp: Likewise.
11574 * gdb.base/remote.exp: Likewise.
11575 * gdb.base/reread.exp: Likewise.
11576 * gdb.base/restore.exp: Likewise.
11577 * gdb.base/return.exp: Likewise.
11578 * gdb.base/return2.exp: Likewise.
11579 * gdb.base/scope.exp: Likewise.
11580 * gdb.base/sect-cmd.exp: Likewise.
11581 * gdb.base/sep.exp: Likewise.
11582 * gdb.base/sepdebug.exp: Likewise.
11583 * gdb.base/setshow.exp: Likewise.
11584 * gdb.base/setvar.exp: Likewise.
11585 * gdb.base/sigall.exp: Likewise.
11586 * gdb.base/sigbpt.exp: Likewise.
11587 * gdb.base/signals.exp: Likewise.
11588 * gdb.base/signull.exp: Likewise.
11589 * gdb.base/sizeof.exp: Likewise.
11590 * gdb.base/solib.exp: Likewise.
11591 * gdb.base/step-line.exp: Likewise.
11592 * gdb.base/step-test.exp: Likewise.
11593 * gdb.base/structs.exp: Likewise.
11594 * gdb.base/structs2.exp: Likewise.
11595 * gdb.base/term.exp: Likewise.
11596 * gdb.base/twice.exp: Likewise.
11597 * gdb.base/until.exp: Likewise.
11598 * gdb.base/varargs.exp: Likewise.
11599 * gdb.base/volatile.exp: Likewise.
11600 * gdb.base/watchpoint.exp: Likewise.
11601 * gdb.base/whatis-exp.exp: Likewise.
11602 * gdb.base/whatis.exp: Likewise.
11603 * gdb.cp/ambiguous.exp: Likewise.
11604 * gdb.cp/annota2.exp: Likewise.
11605 * gdb.cp/annota3.exp: Likewise.
11606 * gdb.cp/bool.exp: Likewise.
11607 * gdb.cp/breakpoint.exp: Likewise.
11608 * gdb.cp/casts.exp: Likewise.
11609 * gdb.cp/class2.exp: Likewise.
11610 * gdb.cp/classes.exp: Likewise.
11611 * gdb.cp/cplusfuncs.exp: Likewise.
11612 * gdb.cp/ctti.exp: Likewise.
11613 * gdb.cp/derivation.exp: Likewise.
11614 * gdb.cp/exception.exp: Likewise.
11615 * gdb.cp/gdb1355.exp: Likewise.
11616 * gdb.cp/hang.exp: Likewise.
11617 * gdb.cp/inherit.exp: Likewise.
11618 * gdb.cp/local.exp: Likewise.
11619 * gdb.cp/m-data.exp: Likewise.
11620 * gdb.cp/m-static.exp: Likewise.
11621 * gdb.cp/member-ptr.exp: Likewise.
11622 * gdb.cp/method.exp: Likewise.
11623 * gdb.cp/misc.exp: Likewise.
11624 * gdb.cp/namespace.exp: Likewise.
11625 * gdb.cp/overload.exp: Likewise.
11626 * gdb.cp/ovldbreak.exp: Likewise.
11627 * gdb.cp/pr-1023.exp: Likewise.
11628 * gdb.cp/pr-1210.exp: Likewise.
11629 * gdb.cp/pr-574.exp: Likewise.
11630 * gdb.cp/printmethod.exp: Likewise.
11631 * gdb.cp/psmang.exp: Likewise.
11632 * gdb.cp/ref-params.exp: Likewise.
11633 * gdb.cp/ref-types.exp: Likewise.
11634 * gdb.cp/rtti.exp: Likewise.
11635 * gdb.cp/templates.exp: Likewise.
11636 * gdb.cp/try_catch.exp: Likewise.
11637 * gdb.cp/userdef.exp: Likewise.
11638 * gdb.cp/virtfunc.exp: Likewise.
11639 * gdb.disasm/am33.exp: Likewise.
11640 * gdb.disasm/h8300s.exp: Likewise.
11641 * gdb.disasm/mn10300.exp: Likewise.
11642 * gdb.disasm/sh3.exp: Likewise.
11643 * gdb.disasm/t01_mov.exp: Likewise.
11644 * gdb.disasm/t02_mova.exp: Likewise.
11645 * gdb.disasm/t03_add.exp: Likewise.
11646 * gdb.disasm/t04_sub.exp: Likewise.
11647 * gdb.disasm/t05_cmp.exp: Likewise.
11648 * gdb.disasm/t06_ari2.exp: Likewise.
11649 * gdb.disasm/t07_ari3.exp: Likewise.
11650 * gdb.disasm/t08_or.exp: Likewise.
11651 * gdb.disasm/t09_xor.exp: Likewise.
11652 * gdb.disasm/t10_and.exp: Likewise.
11653 * gdb.disasm/t11_logs.exp: Likewise.
11654 * gdb.disasm/t12_bit.exp: Likewise.
11655 * gdb.disasm/t13_otr.exp: Likewise.
11656 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
11657 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
11658 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
11659 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
11660 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
11661 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
11662 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
11663 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
11664 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
11665 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
11666 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
11667 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
11668 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
11669 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
11670 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
11671 * gdb.mi/gdb701.exp: Likewise.
11672 * gdb.mi/gdb792.exp: Likewise.
11673 * gdb.mi/mi-basics.exp: Likewise.
11674 * gdb.mi/mi-break.exp: Likewise.
11675 * gdb.mi/mi-cli.exp: Likewise.
11676 * gdb.mi/mi-console.exp: Likewise.
11677 * gdb.mi/mi-disassemble.exp: Likewise.
11678 * gdb.mi/mi-eval.exp: Likewise.
11679 * gdb.mi/mi-file.exp: Likewise.
11680 * gdb.mi/mi-read-memory.exp: Likewise.
11681 * gdb.mi/mi-regs.exp: Likewise.
11682 * gdb.mi/mi-return.exp: Likewise.
11683 * gdb.mi/mi-simplerun.exp: Likewise.
11684 * gdb.mi/mi-stack.exp: Likewise.
11685 * gdb.mi/mi-stepi.exp: Likewise.
11686 * gdb.mi/mi-syn-frame.exp: Likewise.
11687 * gdb.mi/mi-until.exp: Likewise.
11688 * gdb.mi/mi-var-block.exp: Likewise.
11689 * gdb.mi/mi-var-child.exp: Likewise.
11690 * gdb.mi/mi-var-cmd.exp: Likewise.
11691 * gdb.mi/mi-var-display.exp: Likewise.
11692 * gdb.mi/mi-watch.exp: Likewise.
11693 * gdb.mi/mi2-basics.exp: Likewise.
11694 * gdb.mi/mi2-break.exp: Likewise.
11695 * gdb.mi/mi2-cli.exp: Likewise.
11696 * gdb.mi/mi2-console.exp: Likewise.
11697 * gdb.mi/mi2-disassemble.exp: Likewise.
11698 * gdb.mi/mi2-eval.exp: Likewise.
11699 * gdb.mi/mi2-file.exp: Likewise.
11700 * gdb.mi/mi2-read-memory.exp: Likewise.
11701 * gdb.mi/mi2-regs.exp: Likewise.
11702 * gdb.mi/mi2-return.exp: Likewise.
11703 * gdb.mi/mi2-simplerun.exp: Likewise.
11704 * gdb.mi/mi2-stack.exp: Likewise.
11705 * gdb.mi/mi2-stepi.exp: Likewise.
11706 * gdb.mi/mi2-syn-frame.exp: Likewise.
11707 * gdb.mi/mi2-until.exp: Likewise.
11708 * gdb.mi/mi2-var-block.exp: Likewise.
11709 * gdb.mi/mi2-var-child.exp: Likewise.
11710 * gdb.mi/mi2-var-cmd.exp: Likewise.
11711 * gdb.mi/mi2-var-display.exp: Likewise.
11712 * gdb.mi/mi2-watch.exp: Likewise.
11713 * gdb.stabs/exclfwd.exp: Likewise.
11714 * gdb.stabs/weird.exp: Likewise.
11715 * gdb.threads/gcore-thread.exp: Likewise.
11716 * gdb.trace/actions.exp: Likewise.
11717 * gdb.trace/backtrace.exp: Likewise.
11718 * gdb.trace/circ.exp: Likewise.
11719 * gdb.trace/collection.exp: Likewise.
11720 * gdb.trace/deltrace.exp: Likewise.
11721 * gdb.trace/infotrace.exp: Likewise.
11722 * gdb.trace/limits.exp: Likewise.
11723 * gdb.trace/packetlen.exp: Likewise.
11724 * gdb.trace/passc-dyn.exp: Likewise.
11725 * gdb.trace/passcount.exp: Likewise.
11726 * gdb.trace/report.exp: Likewise.
11727 * gdb.trace/save-trace.exp: Likewise.
11728 * gdb.trace/tfind.exp: Likewise.
11729 * gdb.trace/tracecmd.exp: Likewise.
11730 * gdb.trace/while-dyn.exp: Likewise.
11731 * gdb.trace/while-stepping.exp: Likewise.
11733 2006-08-08 Joel Brobecker <brobecker@adacore.com>
11735 * gdb.base/step-bt.c: New file.
11736 * gdb.base/step-bt.exp: New testcase.
11738 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
11740 * config/monitor.exp (gdb_load): Remove support for obsolete
11741 download-write-size.
11742 * gdb.base/remote.exp: Likewise. Update all callers of
11745 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
11747 * cursal.exp: Pass binfile to gdb_load.
11749 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
11751 * gdb.base/cursal.exp: Add "" to gdb_load call.
11753 2006-07-29 Mark Kettenis <kettenis@gnu.org>
11755 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
11756 NetBSD/ELF targets.
11758 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
11760 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
11763 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
11765 * gdb.base/completion.exp: Update for change in "file" behavior.
11766 * gdb.stabs/weird.exp: Likewise.
11767 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
11768 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
11770 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
11772 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
11773 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
11775 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
11777 * gdb.base/default.exp: Update source command error message.
11778 * gdb.base/help.exp: Update 'help source' message.
11780 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
11782 * gdb.cp/bs15503.exp: Update comment for no longer crashing
11785 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
11787 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
11789 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11791 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
11793 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
11795 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
11797 2006-07-17 Mark Kettenis <kettenis@gnu.org>
11799 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
11800 *-*-openbsd* from targets for wich we expect ARM FPA floating
11803 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
11805 * gdb.cp/annota3.exp: Expect frame-begin annotation.
11807 2006-07-17 Mark Kettenis <kettenis@gnu.org>
11809 * gdb.base/annota3.exp: Expect frame-begin annotation.
11811 2006-07-14 Joel Brobecker <brobecker@adacore.com>
11813 * gdb.base/help.exp: Adjust "help unset" test to accept
11814 any list of unset commands.
11816 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
11817 Daniel Jacobowitz <dan@codesourcery.com>
11819 * gdb.cp/ref-params.exp: New test.
11820 * gdb.cp/ref-params.cc: New source file.
11821 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
11823 2006-07-08 Mark Kettenis <kettenis@gnu.org>
11825 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
11826 spaces/tabs in regular expressions since they might not be there.
11828 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
11830 * gdb.base/ifelse.exp: New file.
11832 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
11834 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
11836 * gdb.base/huge.exp: Loop over compilation to find a size that
11838 * gdb.base/remote.exp: Correct expected strings.
11839 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
11841 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11843 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
11845 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11847 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
11850 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11852 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
11853 enable stabs testing.
11855 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11857 * gdb.base/auxv.exp: Intercept undefined command messages before
11858 gdb_test_multiple does.
11860 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
11862 * Makefile.in (host_alias): Remove.
11863 (target_alias): Use @target_noncanonical@.
11864 (site.exp): Don't set host_alias.
11865 * aclocal.m4: Remove contents. Include acx.m4.
11866 * configure: Regenerated.
11867 * configure.ac: Use ACX_NONCANONICAL_TARGET.
11869 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
11871 * lib/gdb.exp (gdb_load_cmd): New.
11873 * gdb.base/fileio.c: Add system(NULL) test.
11874 * gdb.base/fileio.exp: Check it.
11876 * gdb.base/break.c: Add 10a breakpoint at }
11877 * gdb.base/break.exp: Add test for breakpoint at }
11878 * gdb.cp/anon-union.cc: Add code at end of function.
11879 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
11880 * gdb.mi/var-cmd.c: Add code at end of function.
11881 * gdb.mi/mi-var-display.exp: Adjust end of next.
11882 * gdb.mi/mi2-var-display.exp: Likewise.
11883 * gdb.base/fileio.c: Add stop function and insert calls at
11885 * gdb.base/fileio.exp: Breakpoint stop function and remove
11886 explicit line number references.
11888 2006-05-19 Joel Brobecker <brobecker@adacore.com>
11890 * gdb.base/del.exp (test_delete_alias): New function.
11891 Now check that both "del" and "d" work as aliases for "delete".
11893 2006-05-18 Fred Fish <fnf@specifix.com>
11895 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
11896 required. Check for spurious output after program exits normally.
11898 2006-05-17 Fred Fish <fnf@specifix.com>
11900 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
11901 gdb_load, so it works in the simulator.
11903 2006-05-11 Fred Fish <fnf@specifix.com>
11905 * gdb.base/bang.exp: Ignore unexpected output between the
11906 "program exited normally" and the gdb prompt, as many other
11909 2006-05-07 Mark Kettenis <kettenis@gnu.org>
11911 * gdb.base/help.exp: Make "delete checkpoint" part option for
11912 "help d" and "help delete" tests.
11914 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11916 * gdb.mi/mi-basics.exp: Add missing serial number to
11917 expected output in some mi_gdb_test statements.
11918 * gdb.mi/mi2-basics.exp: Likewise.
11920 2006-05-05 Joel Brobecker <brobecker@adacore.com>
11922 * gdb.base/del.c: New file.
11923 * gdb.base/del.exp: New testcase.
11925 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
11927 * gdb.base/break.exp: Do not assume a breakpoint on
11928 main will actually be in $srcfile when optimizing.
11929 * gdb.base/savedregs.exp: Do not require that the dummy
11930 frame location match up to a symbol and source file location.
11931 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
11932 will get printed without a mi_cmd_data_list_register_values prefix.
11933 (*-data-list-register-*): Correct regular expressions to expect the new
11934 pseudo d? floating point registers.
11935 * gdb.mi/mi2-regs.exp: Likewise.
11937 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
11939 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
11940 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
11941 is allocated by the compiler.
11942 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
11943 anons, e, anone to force their allocation by the compiler.
11945 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
11947 * gdb.base/help.exp: Update expected text for help d and
11950 2006-05-02 Mark Kettenis <kettenis@gnu.org>
11952 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
11953 NetBSD/ELF targets.
11955 2006-04-30 Mark Kettenis <kettenis@gnu.org>
11957 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
11958 single-step breakpoint fails; make this a KFAIL on
11960 * gdb.base/siginfo.exp: Likewise.
11961 * gdb.base/sigstep.exp (advance, advancei): Likewise.
11963 2006-04-26 Michael Snyder <msnyder@redhat.com>
11965 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
11966 which may have to consume output from other forks.
11967 Add tests to make sure that "delete fork" succeeded.
11969 2006-04-20 Michael Snyder <msnyder@redhat.com>
11971 * 2006-03-22 Jim Blandy <jimb@redhat.com>
11972 Add support for the Renesas M32C and M16C.
11974 * gdb.asm/asm-source.exp: Add m32c target.
11975 * gdb.asm/m32c.inc: Support for m32c target.
11977 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
11979 * gdb.base/commands.exp (recursive_source_test): New test.
11981 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
11983 * gdb.base/float.exp: Add pattern for sparc targets.
11985 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11987 * gdb.base/commands.exp (stray_arg0_test): New test.
11989 2006-03-30 Paul Brook <paul@codesourcery.com>
11991 * gdb.mi/mi-until.exp: kfail broken until command.
11992 * gdb.mi/mi2-until.exp: Ditto.
11994 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
11996 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
11998 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
12000 * gdb.base/prelink.exp: Anchor tested-for regular expression
12003 2006-03-07 Paul Brook <paul@codesourcery.com>
12005 * gdb.base/assign.exp: Correct fail message.
12007 2006-03-07 Paul Brook <paul@codesourcery.com>
12009 * lib/compiler.c: Extract armcc version number.
12010 * lib/compiler.cc: Ditto.
12012 2006-03-07 Paul Brook <paul@codesourcery.com>
12014 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12015 additional_flags=-w.
12016 * gdb.arch/altivec-regs.exp: Ditto.
12017 * gdb.arch/e500-abi.exp: Ditto.
12018 * gdb.arch/e500-regs.exp: Ditto.
12019 * gdb.base/all-bin.exp: Ditto.
12020 * gdb.base/annota1.exp: Ditto.
12021 * gdb.base/annota3.exp: Ditto.
12022 * gdb.base/args.exp: Ditto.
12023 * gdb.base/arithmet.exp: Ditto.
12024 * gdb.base/assign.exp: Ditto.
12025 * gdb.base/async.exp: Ditto.
12026 * gdb.base/bang.exp: Ditto.
12027 * gdb.base/break.exp: Ditto.
12028 * gdb.base/call-rt-st.exp: Ditto.
12029 * gdb.base/completion.exp: Ditto.
12030 * gdb.base/cond-expr.exp: Ditto.
12031 * gdb.base/condbreak.exp: Ditto.
12032 * gdb.base/consecutive.exp: Ditto.
12033 * gdb.base/define.exp: Ditto.
12034 * gdb.base/display.exp: Ditto.
12035 * gdb.base/ena-dis-br.exp: Ditto.
12036 * gdb.base/environ.exp: Ditto.
12037 * gdb.base/eval-skip.exp: Ditto.
12038 * gdb.base/info-proc.exp: Ditto.
12039 * gdb.base/jump.exp: Ditto.
12040 * gdb.base/logical.exp: Ditto.
12041 * gdb.base/long_long.exp: Ditto.
12042 * gdb.base/maint.exp: Ditto.
12043 * gdb.base/miscexprs.exp: Ditto.
12044 * gdb.base/pc-fp.exp: Ditto.
12045 * gdb.base/pointers.exp: Ditto.
12046 * gdb.base/relational.exp: Ditto.
12047 * gdb.base/reread.exp: Ditto.
12048 * gdb.base/sect-cmd.exp: Ditto.
12049 * gdb.base/sep.exp: Ditto.
12050 * gdb.base/sepdebug.exp: Ditto.
12051 * gdb.base/until.exp: Ditto.
12052 * gdb.base/whatis-exp.exp: Ditto.
12053 * gdb.cp/annota2.exp: Ditto.
12054 * gdb.cp/annota3.exp: Ditto.
12055 * gdb.trace/actions.exp: Ditto.
12056 * gdb.trace/backtrace.exp: Ditto.
12057 * gdb.trace/circ.exp: Ditto.
12058 * gdb.trace/collection.exp: Ditto.
12059 * gdb.trace/deltrace.exp: Ditto.
12060 * gdb.trace/infotrace.exp: Ditto.
12061 * gdb.trace/limits.exp: Ditto.
12062 * gdb.trace/packetlen.exp: Ditto.
12063 * gdb.trace/passc-dyn.exp: Ditto.
12064 * gdb.trace/passcount.exp: Ditto.
12065 * gdb.trace/report.exp: Ditto.
12066 * gdb.trace/save-trace.exp: Ditto.
12067 * gdb.trace/tfind.exp: Ditto.
12068 * gdb.trace/tracecmd.exp: Ditto.
12069 * gdb.trace/while-dyn.exp: Ditto.
12070 * gdb.trace/while-stepping.exp: Ditto.
12071 * lib/gdb.exp: Ditto.
12072 (gdb_compile): Handle nowarning option.
12074 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
12076 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12077 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12078 Rename executable to prelinkt. Don't re-prelink if we didn't
12079 get a core file. Test prelink -u exit status to tell whether
12080 prelinking failed. Use gdb_test_multiple.
12082 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12084 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12085 (do_tests): Call it.
12087 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
12089 * gdb.base/prelink.exp: New test.
12090 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
12092 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
12094 * gdb.fortran/derived-type.f90: New file.
12095 * gdb.fortran/derived-type.exp: New testcase.
12097 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
12099 * gdb.base/default.exp: Allow ';' as a directory separator.
12101 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12103 * gdb.base/help.exp (help add-symbol-file): Update.
12105 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
12107 * gdb.base/help.exp (help load): Update expected results.
12109 2006-02-19 Fred Fish <fnf@specifix.com>
12111 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
12112 specifix hex value as part of results.
12113 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
12115 2006-02-16 Fred Fish <fnf@specifix.com>
12117 * gdb.base/whatis.c: Define variables using typedefs char_addr,
12118 ushort_addr, and slong_addr, so the typedefs are not optimized
12120 * gdb.base/whatis.exp: Add tests using type name for struct type,
12121 union type, enum type, and typedef.
12123 2006-02-13 Mark Kettenis <kettenis@gnu.org>
12125 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
12127 2006-02-13 Jim Blandy <jimb@redhat.com>
12129 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
12130 case where it takes two "next" commands to skip past the init
12133 2006-02-12 Fred Fish <fnf@specifix.com>
12135 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
12136 to handle cases where it takes two "next" commands to skip
12137 past the init call.
12139 2006-02-07 Joel Brobecker <brobecker@adacore.com>
12141 * gdb.ada/array_return.exp: Mark the last test as expected to fail
12144 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
12146 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
12149 2006-01-29 Mark Kettenis <kettenis@gnu.org>
12151 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
12153 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
12155 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
12158 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
12160 * gdb.cp/maint.exp: Set complaints to a positive value.
12162 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12164 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
12165 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
12168 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
12170 * gdb.base/checkpoint.c: Update copyright notice. Include
12173 2006-01-04 Jim Blandy <jimb@redhat.com>
12175 * gdb.asm/asm-source.exp: Independently provide default values for
12176 asm-flags and debug-flags. Use 'string equal' to do the
12177 comparison, not the implicit expr's '==' operator. Remove
12178 now-unneeded assignments to asm-flags. In h8300 case, place
12179 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
12181 2006-01-04 Michael Snyder <msnyder@redhat.com>
12183 * gdb.base/checkpoint.c: New file.
12184 * gdb.base/checkpoint.exp: New file.
12185 * gdb.base/multi-fork.c: New file.
12186 * gdb.base/multi-fork.exp: New file.
12187 * gdb.base/pi.txt: New file (data for checkpoint.c test).
12189 2006-01-04 Fred Fish <fnf@specifix.com>
12191 * gdb.base/ptype.c (foo): Add typedef.
12192 (intfoo): Add function.
12193 * gdb.base/ptype1.c: New file.
12194 * gdb.base/ptype.exp: Handle compilation and linking with two
12195 source files. Test that proper type for "foo" is found based
12196 on source context rather than first match found in symtabs.
12198 2005-12-28 Mark Kettenis <kettenis@gnu.org>
12200 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
12201 * gdb.asm/openbsd.inc: Indent commands.
12203 2005-12-26 Mark Kettenis <kettenis@gnu.org>
12205 * gdb.base/freebpcmd.exp: Increase timeout.
12207 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
12209 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
12211 * gdb.base/default.exp: Update check for "show version".
12213 2005-12-09 Randolph Chung <tausq@debian.org>
12215 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
12216 * gdb.asm/pa64.inc: New file.
12218 2005-12-09 Randolph Chung <tausq@debian.org>
12220 * gdb.asm/common.inc: Indent commands.
12221 * gdb.asm/asmsrc1.s: Likewise.
12222 * gdb.asm/asmsrc2.s: Likewise.
12224 2005-12-09 Randolph Chung <tausq@debian.org>
12226 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
12227 (get_addr_of_sym): Remove duplicate print.
12228 (gen_core): xfail hppa*-*-hpux*, update expected output.
12229 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
12230 * gdb.arch/pa64-nullify.s: New file.
12232 2005-12-09 Randolph Chung <tausq@debian.org>
12234 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
12236 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
12238 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
12239 code generation for these functions.
12240 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
12243 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
12245 * gdb.base/help.exp (help b, help br, help bre, help brea)
12246 (help break): Update the expected message.
12248 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
12250 * gdb.asm/m68hc11.inc: Setup the data section.
12251 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
12252 script for this test.
12253 (m6812-*-*): Likewise.
12255 2005-11-09 Randolph Chung <tausq@debian.org>
12257 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
12259 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
12261 * gdb.base/break.exp: Fix a comment typo.
12263 2005-11-03 Jim Blandy <jimb@redhat.com>
12265 Checked in by Elena Zannoni <ezannoni@redhat.com>
12267 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
12269 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
12271 * gdb.arch/gdb1558.c: Include stdio.h.
12273 2005-10-31 Mark Kettenis <kettenis@gnu.org>
12275 * gdb.asm/asm-source.exp: Use -e instead of --entry.
12277 2005-10-31 Mark Kettenis <kettenis@gnu.org>
12279 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
12281 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
12283 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12284 vscr" tests to better match output.
12286 2005-10-12 Jim Blandy <jimb@redhat.com>
12288 * gdb.base/structs.exp (any): New function.
12289 (test_struct_returns): Don't make any assumptions at all about
12290 what value the function returns when GDB can't set the return
12293 2005-10-09 Joel Brobecker <brobecker@adacore.com>
12295 * gdb.ada/arrayidx/p.adb: New file.
12296 * gdb.ada/arrayidx.exp: New testcase
12298 2005-10-09 Joel Brobecker <brobecker@adacore.com>
12300 * gdb.ada/array_return/pck.ads: New file.
12301 * gdb.ada/array_return/pck.adb: New file.
12302 * gdb.ada/array_return/p.adb: New file.
12303 * gdb.ada/array_return.exp: New testcase.
12305 2005-10-03 Joel Brobecker <brobecker@adacore.com>
12307 * gdb.base/arrayidx.c: New file.
12308 * gdb.base/arrayidx.exp: New testcase.
12310 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
12312 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
12313 frames-invalid and breakpoints-invalid are no longer generated
12314 with level 3 so don't expect them in the output.
12316 2005-09-27 Bob Rossi <bob@brasko.net>
12318 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
12319 from test. Escape the | in mi_gdb_test call.
12320 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
12321 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
12322 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
12323 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
12324 expected regex's in mi_gdb_test calls.
12325 * lib/mi-support.exp: Remove arbitrary .* from tests.
12326 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
12327 Fully anchor GDB/MI expected results in mi_gdb_test.
12328 * lib/gdb.exp (string_to_regexp): Escape the ] character.
12329 * gdb.base/sizeof.exp: Remove escape character. Correct test.
12331 2005-09-26 Paul Brook <paul@codesourcery.com>
12333 * long_long.exp: Exclude eabi targets from arm FPA float format test.
12335 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12337 * bfp-test.c: New file.
12338 * bfp-test.exp: New testcase.
12340 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
12342 * gdb.fortran/subarray.exp: New testcase to test the evaluation
12343 of subarray and substring variable.
12344 * gdb.fortran/subarray.f: New source file for the test of subarray
12345 and substring variable evaluation.
12346 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
12347 of string constant.
12349 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
12351 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
12354 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
12356 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
12357 powerpc altivec' test with an almost identical 'info vector' test.
12359 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12361 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
12362 vscr" tests to match output.
12364 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
12366 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
12369 2005-09-11 Bob Rossi <bob@brasko.net>
12371 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
12372 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
12373 commands that return an MI output command and an asyncronous MI output
12375 * gdb.mi/mi-console.exp: Ditto.
12377 2005-09-11 Bob Rossi <bob@brasko.net>
12379 * gdb.mi/mi-var-child.c: Include <string.h>.
12381 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
12383 * killed.exp: Correct gdb_expect syntax.
12385 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
12387 * lib/mi-support.exp (mi_gdb_load): Fix typo.
12389 2005-08-02 Bob Rossi <bob@brasko.net>
12391 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
12392 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
12393 Change tests to inferior-tty-set/show.
12394 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
12395 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
12396 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
12397 inferior. Use mi_gdb_test to get GDB and Inferior output.
12398 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
12400 (mi_inferior_tty_name): Add inferior PTY file name.
12401 (mi_gdb_start): Add INFERIOR_PTY parameter.
12402 (mi_gdb_test): Add IPATTERN parameter.
12404 2005-08-02 Bob Rossi <bob@brasko.net>
12406 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
12407 parameter to mi_gdb_test.
12408 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
12410 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12412 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
12413 struct_declarations.
12414 * gdb.mi/mi-var-child.exp: Step over the initialization of
12415 struct_declarations.
12417 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
12419 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
12420 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
12421 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
12422 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
12423 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
12426 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
12428 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
12429 (do_children_tests): Assign values to the extra elements.
12431 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
12432 them for tests for "-var-update --no-values" and
12433 "-var-update --all-values".
12434 Add test for "-var-list-children --simple-values".
12436 * gdb.mi/basics.c (callee4): Add integer array D[3]...
12438 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
12439 "-stack-list-locals --simple-values" Improve doc strings and
12442 2005-07-18 Mark Kettenis <kettenis@gnu.org>
12444 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
12446 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
12448 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
12451 2005-07-14 Bob Rossi <bob@brasko.net>
12453 * gdb.base/default.exp (tty): Changed output of command.
12454 * gdb.base/help.exp (help tty): Ditto.
12456 2005-07-12 Mark Kettenis <kettenis@gnu.org>
12458 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
12460 2005-07-10 Mark Kettenis <kettenis@gnu.org>
12462 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
12463 -stack-select-frame without arguments.
12464 (test_stack_frame_listing): Add test for newly implemented command
12467 2005-07-06 Bob Rossi <bob@brasko.net>
12469 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
12471 (Copyright): Update copyright.
12473 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
12475 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
12476 tests to evaluate exponentiation expression.
12478 2005-06-29 Andreas Schwab <schwab@suse.de>
12480 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
12481 main to avoid warnings.
12483 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
12485 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
12487 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
12488 -stack-select-frame without arguments.
12489 (test_stack_frame_listing): Add test for newly implemented command
12492 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
12494 * gdb.fortran/array-element.f: New file.
12495 * gdb.fortran/array-element.exp: New testcase.
12497 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12499 * gdb.base/bigcore.exp: Correct checks for systems which can
12500 not dump a large core file.
12502 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
12504 * gdb.base/relocate.c: Add a copyright notice.
12506 * gdb.base/relocate.exp: Test printing the values of variables
12507 from a relocatable file.
12509 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
12511 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
12512 excess MI output after an error.
12514 2005-05-29 Joel Brobecker <brobecker@adacore.com>
12516 * gdb.arch/alpha-step.c: New file.
12517 * gdb.arch/alpha-step.exp: New testcase.
12519 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
12520 Dennis Brueni <dennis@slickedit.com>
12522 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
12523 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
12524 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
12525 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
12526 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
12527 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
12528 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
12530 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
12531 Wu Zhou <woodzltc@cn.ibm.com>
12533 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
12534 IBM's xlc compiler.
12535 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
12536 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
12538 2005-05-13 Jim Blandy <jimb@redhat.com>
12540 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
12541 calling gdb_suppress_entire_file.
12542 * gdb.base/charset.exp: Same.
12543 * gdb.base/call-rt-st.exp: Same.
12545 2005-05-05 Bob Rossi <bob_rossi@cox.net>
12547 * lib/gdb.exp (fullname_syntax): Added global regex.
12548 (fullname_syntax_POSIX): Ditto.
12549 (fullname_syntax_UNC): Ditto.
12550 (fullname_syntax_DOS_CASE): Ditto.
12551 (fullname_syntax_DOS): Ditto.
12552 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
12553 fullname_syntax variable to scope and use it.
12554 (test_file_list_exec_source_files): Ditto.
12555 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
12557 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
12559 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
12561 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
12563 * lib/gdb.exp (skip_altivec_tests): New function, based on
12564 check_vmx_hw_available from the GCC testsuite.
12565 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
12566 * lib/gdb.arch/altivec-regs.exp: Likewise.
12568 2005-05-02 Jim Blandy <jimb@redhat.com>
12570 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
12571 calling gdb_suppress_entire_file.
12573 2005-04-30 Randolph Chung <tausq@debian.org>
12575 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
12576 Slightly relax "sem_post" name checking.
12578 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12580 * gdb.base/unload.exp: Use new shared library infrastructure.
12582 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
12584 * gdb.base/so-impl-ld.exp: Use new shared library
12587 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
12589 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
12590 * gdb.asm/h8300.inc: New file.
12592 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12594 * gdb.base/shlib-call.exp: Change to use new shared library
12597 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12599 * gdb.base/pending.exp: Change to use new shared library
12602 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
12604 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
12605 use test_compiler_info instead of gcc_compiled, and update copyright.
12607 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
12609 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
12610 shared objects being adjusted and update copyright years.
12612 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
12614 * ChangeLog: Correct some 2003-01-13 dates.
12615 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
12616 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
12617 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
12618 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
12619 gdb.trace/tfind.exp: Update copyright years.
12621 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
12622 Daniel Jacobowitz <dan@codesourcery.com>
12624 * lib/gdb.exp (gdb_compile): Handle shlib=.
12625 (gdb_compile_shlib): New function.
12627 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
12629 * lib/gdb.exp (test_compiler_info): Give argument a default value.
12631 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12633 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
12635 * configure.ac: Likewise.
12636 * configure: Regenerated.
12637 * gdb.gdbserver/Makefile.in: Moved to...
12638 * gdb.server/Makefile.in: ... here.
12639 * gdb.gdbserver/server.c: Moved to...
12640 * gdb.server/server.c: ... here.
12641 * gdb.gdbserver/server-run.exp: Moved to...
12642 * gdb.server/server-run.exp: ... here.
12644 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
12646 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
12647 * configure.ac: Create gdb.gdbserver/Makefile.
12648 * configure: Regenerated.
12649 * lib/gdbserver-support.exp: New file, derived from
12650 config/gdbserver.exp.
12651 * config/gdbserver.exp: Use gdbserver-support.exp.
12652 * gdb.gdbserver/Makefile.in: New file.
12653 * gdb.gdbserver/server.c: New file.
12654 * gdb.gdbserver/server-run.exp: New file.
12656 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
12658 * lib/gdb.exp (test_compiler_info): Return compiler_info
12659 if no arguments are given.
12661 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
12663 * gdb.arch/altivec-abi.exp: Check for compiler and set
12664 use altivec' flag accordingly.
12665 * gdb.arch/altivec-regs.exp: Likewise.
12667 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
12669 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
12671 2005-03-27 Andreas Schwab <schwab@suse.de>
12673 * gdb.base/bigcore.c (main): Add missing mode argument in open
12676 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
12678 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
12680 * config/gdbserver.exp (gdb_load): Likewise.
12682 2005-03-14 Paul Brook <paul@codesourcery.com>
12684 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
12687 2005-03-09 Joel Brobecker <brobecker@adacore.com>
12689 * gdb.dwarf2/dup-psym.S: New file.
12690 * gdb.dwarf2/dup-psym.exp: New testcase.
12692 2005-03-09 Joel Brobecker <brobecker@adacore.com>
12694 * gdb.ada/exec_changed/first.adb: New file.
12695 * gdb.ada/exec_changed/second.adb: New file.
12696 * gdb.ada/exec_changed.exp: New testcase.
12698 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
12700 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
12702 (main): Test operator+.
12703 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
12706 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
12707 * gdb.base/signull.exp: Disable if gdb,nosignals.
12708 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
12709 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
12710 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
12711 * gdb.mi/mi2-console.exp: Likewise.
12712 * gdb.trace/collection.exp (run_trace_experiment): Consume the
12713 continue output at start.
12714 (gdb_collect_locals_test): Robustify regexp.
12715 * gdb.trace/passc-dyn.exp: Fix comment typo.
12716 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
12718 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
12720 * gdb.asm/asm-source.exp: Add iq2000 case.
12721 * gdb.asm/iq2000.inc: New file.
12723 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
12725 * gdb.base/command.exp: Change hardcoded value to regular expression.
12726 * gdb.base/float.exp: Add powerpc to the list of targets checked.
12728 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
12730 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
12731 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
12732 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
12733 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
12734 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
12736 2005-03-05 Mark Kettenis <kettenis@gnu.org>
12738 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
12741 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
12743 * lib/compiler.c: Add test for IBM's xlc compiler.
12744 * lib/compiler.cc: Likewise.
12746 2004-02-24 Joel Brobecker <brobecker@adacore.com>
12748 * gdb.ada/fixed_points.exp: Create compilation object directory
12749 before running the test.
12750 * gdb.ada/null_record.exp: Likewise.
12751 * gdb.ada/packed_array.exp: Likewise.
12752 * gdb.ada/start.exp: Likewise.
12754 2005-02-15 Joel Brobecker <brobecker@adacore.com>
12756 * gdb.ada/packed_array/pa.adb: New file.
12757 * gdb.ada/packed_array.exp: New testcase.
12759 2005-02-10 Mark Kettenis <kettenis@gnu.org>
12761 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
12764 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
12765 on *-*-openbsd*. Correctly match whitespace in regukar
12768 2005-02-10 Daniel Jacobowitz <dan@debian.org>
12770 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
12772 * gdb.base/gdb1821.c: New test file.
12773 * gdb.base/gdb1821.exp: New test file.
12775 2005-02-09 Joel Brobecker <brobecker@adacore.com>
12777 * gdb.base/start.c: New file.
12778 * gdb.base/start.exp: New testcase.
12780 2005-02-09 Joel Brobecker <brobecker@adacore.com>
12782 * gdb.ada/start/dummy.adb: New file.
12783 * gdb.ada/start.exp: New testcase.
12785 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
12787 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
12788 for printing symbols and statistics.
12789 Add test for using relative pathnames in "maint print msymbols" test.
12790 Mark "maint info sections DATA" XFAIL on Cygwin.
12791 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
12794 2005-02-09 Andreas Schwab <schwab@suse.de>
12796 Committed by Andrew Cagney <cagney@gnu.org>
12797 * gdb.base/remotetimeout.exp: New file.
12799 2005-02-07 Mark Kettenis <kettenis@gnu.org>
12801 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
12803 2005-02-03 Joel Brobecker <brobecker@adacore.com>
12805 * gdb.ada/gnat_ada.gpr: New file.
12806 * gdb.ada/gnat_ada.gin: Delete, no longer used.
12807 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
12808 * configure.ac: No longer generate gnat_ada.gpr.
12809 * configure: Regenerate.
12810 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
12811 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
12812 * gdb.ada/null_record/bar.ads: Likewise.
12813 * gdb.ada/null_record/bar.adb: Likewise.
12814 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
12815 * gdb.ada/null_record.exp (testdir): New variable.
12816 (testfile): executable is now in testdir subdirectory.
12817 (srcfile): Use full path to the main compilation unit.
12818 * gdb.ada/fixed_points.exp: Same changes as above.
12820 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
12822 * gdb.base/interp.exp: New test.
12824 2005-01-24 Andrew Cagney <cagney@gnu.org>
12826 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
12828 2005-01-19 Andrew Cagney <cagney@gnu.org>
12830 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
12831 configure.ac not configure.in.
12833 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
12835 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
12836 * gdb.base/list.exp (test_list_function)
12837 (test_list_filename_and_function): Ditto.
12838 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
12840 2005-01-16 Andrew Cagney <cagney@gnu.org>
12842 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
12844 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
12846 2005-01-14 Andrew Cagney <cagney@gnu.org>
12848 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
12849 * gdb.mi/mi2-var-cmd.exp: Ditto.
12851 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
12853 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
12855 2005-01-07 Andrew Cagney <cagney@gnu.org>
12857 * configure.ac: Rename configure.in, require autoconf 2.59.
12858 * configure: Re-generate.
12859 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
12860 * gdb.stabs/configure: Re-generate.
12861 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
12862 * gdb.hp/configure: Re-generate.
12863 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
12865 * gdb.hp/gdb.objdbg/configure: Re-generate.
12866 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
12868 * gdb.hp/gdb.defects/configure: Re-generate.
12869 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
12871 * gdb.hp/gdb.compat/configure: Re-generate.
12872 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
12874 * gdb.hp/gdb.base-hp/configure: Re-generate.
12875 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
12877 * gdb.hp/gdb.aCC/configure: Re-generate.
12879 2004-12-15 Jim Blandy <jimb@redhat.com>
12881 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
12882 under NPTL when there is debugging info available for libpthread.
12884 2004-12-13 Jerome Guitton <guitton@gnat.com>
12886 * gdb.ada/fixed_points.c: New file.
12887 * gdb.ada/fixed_points.exp: New file.
12889 2004-12-03 Randolph Chung <tausq@debian.org>
12891 * gdb.arch/pa-nullify.exp: New file.
12892 * gdb.arch/pa-nullify.s: New file.
12894 2004-11-30 Randolph Chung <tausq@debian.org>
12896 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
12897 instead of "tbug". Fix regexp to work properly with gdb_test.
12899 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
12901 * gdb.base/bitfields2.exp: New test.
12902 * gdb.base/bitfields2.c: New file.
12904 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
12906 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
12908 2004-11-16 Randolph Chung <tausq@debian.org>
12910 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
12912 2004-11-14 Daniel Jacobowitz <dan@debian.org>
12914 * gdb.threads/threadapply.exp: Correct "macro details" test.
12916 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
12918 * gdb.threads/threadapply.exp: New test.
12919 * gdb.threads/threadapply.c: New file.
12921 2004-11-07 Mark Kettenis <kettenis@gnu.org>
12923 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
12926 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
12928 * gdb.base/cursal.exp: New file.
12929 * gdb.base/cursal.c: New file.
12931 2004-11-03 Andrew Cagney <cagney@gnu.org>
12933 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
12935 2004-10-30 Mark Kettenis <kettenis@gnu.org>
12937 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
12938 NetBSD/ELF targets.
12940 2004-10-29 Joel Brobecker <brobecker@gnat.com>
12942 * gdb.threads/bp_in_thread.c: New file, copied from
12943 pthread_cond_wait.c.
12944 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
12945 file, rather than reusing the .c file from another testcase.
12947 2004-10-20 Joel Brobecker <brobecker@gnat.com>
12949 * gdb.ada/null_record.exp: Check where we stopped after
12950 sending the start command, instead of where the associated
12951 temporary breakpoint was inserted.
12953 2004-10-14 Andrew Cagney <cagney@gnu.org>
12955 * gdb.mi/gdb701.c (main): Return 0.
12957 2004-10-13 Daniel Jacobowitz <dan@debian.org>
12959 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
12961 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
12963 * gdb.threads/schedlock.c: Add comment markers to use to find
12965 * gdb.threads/schedlock.exp: Adjust regex to handle the new
12967 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
12970 2004-10-12 Daniel Jacobowitz <dan@debian.org>
12972 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
12974 2004-10-12 Daniel Jacobowitz <dan@debian.org>
12976 * configure.in: Add gdb.dwarf2.
12977 * configure: Regenerated.
12978 * Makefile.in: Add gdb.dwarf2.
12979 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
12980 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
12981 gdb.dwarf2/file1.txt: New files.
12983 2004-10-11 Orjan Friberg <orjanf@axis.com>
12985 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
12986 of "run", since the latter doesn't work with remote targets. Adjust
12987 the breakpoint numbering accordingly.
12988 * gdb.threads/pthread_cond_wait.exp: Ditto.
12990 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
12992 * gdb.base/overlays.exp: Update copyright years.
12994 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
12996 * gdb.base/overlays.exp: Disable if target is Linux.
12998 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
13000 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13002 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13004 * gdb.asm/asm-source.exp: Add m32r-linux target.
13005 * gdb.asm/m32r-linux.inc: New file.
13007 2004-09-24 Andrew Cagney <cagney@redhat.com>
13008 David Anderson <anderson@redhat.com>
13010 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13011 command fails, assume things will work.
13012 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13013 (_GNU_SOURCE): Define.
13014 (print_unsigned, print_hex): Change parameter to "long long".
13015 (print_byte_count): New function, use to print byte counts.
13016 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13018 (main): Compute an upper bound on a corefile in max_core_size.
13019 Limit memory chunk size to max_core_size. Limit total memory
13020 allocated to max_core_size.
13022 2004-09-23 Andrew Cagney <cagney@gnu.org>
13024 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13025 from a separate process with code that creates a corefile by
13026 making the inferior dump core.
13028 2004-09-23 Mark Kettenis <kettenis@gnu.org>
13030 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13033 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13035 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13036 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13037 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13040 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13042 * gdb.java/jprint.exp: New test case for java inferior call.
13043 * gdb.java/jprint.java: Ditto.
13045 2004-09-15 Joel Brobecker <brobecker@gnat.com>
13047 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13049 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13051 * gdb.threads/killed.c: Include <stdlib.h>.
13052 * gdb.threads/pthreads.c: Likewise.
13054 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13056 * gdb.threads/killed.c: Add copyright notice.
13058 2004-09-10 Jason Molenda (jmolenda@apple.com)
13060 * gdb.base/define.exp: Two new tests to verify zero space chars
13061 after 'if' and 'while' commands in a user-defined command is correctly
13064 2004-09-08 Andrew Cagney <cagney@gnu.org>
13066 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13067 delivery test with duplicate at end of file.
13069 2004-09-06 Mark Kettenis <kettenis@jive.nl>
13071 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13073 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13075 * config/hppro.exp: Removed.
13077 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13079 * config/sparclet.exp: Removed.
13081 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13083 * config/udi.exp: Removed.
13085 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13087 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13089 (advancei): Likewise.
13091 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13093 * gdb.base/unload.exp: Fix so messages aren't duplicated.
13095 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
13097 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
13098 to check for nodebug in executable.
13099 * gdb.gdb/observer.exp (setup_test): Likewise.
13100 * gdb.gdb/selftest.exp (test_with_self): Likewise.
13101 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
13103 2004-09-01 Andrew Cagney <cagney@gnu.org>
13105 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13108 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
13110 * gdb.base/unload.exp: Fix expected warning message to match
13113 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
13115 * gdb.base/call-rt-st.exp: Fix typos.
13117 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
13119 * gdb.threads/thread_check.exp: New testcase.
13120 * gdb.threads/thread_check.c: New testcase.
13122 2004-08-31 Andrew Cagney <cagney@gnu.org>
13124 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
13125 (skip_to_handler_entry): New procedures. Test stepping into a
13126 handler when the breakpoint is at the handler's entry point.
13128 2004-08-30 Andrew Cagney <cagney@gnu.org>
13130 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
13133 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13135 With code from Manoj Iyer <manjo@austin.ibm.com>:
13136 * lib/gdb.exp (gdb_file_cmd): Return more information in the
13137 return value. Add an arm for "no debugging symbols found".
13138 Change a stray "error" to "perror".
13139 (gdb_run_cmd): Adapt to new return value.
13140 * gdb.base/remote.exp: Adapt to new return value.
13141 * gdb.gdb/complaints.exp: Likewise.
13142 * gdb.gdb/observer.exp: Likewise.
13143 * gdb.gdb/selftest.exp: Likewise.
13144 * gdb.gdb/xfullpath.exp: Likewise.
13146 2004-08-27 Joel Brobecker <brobecker@gnat.com>
13148 * gdb.threads/bp_in_thread.exp: New testcase.
13150 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
13152 Fix PR testsuite/1735.
13153 * gdb.threads/schedlock.c (thread_function): Add a cast
13154 to suppress a gcc warning.
13155 * gdb.threads/thread-specific.c (thread_function): Likewise.
13157 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13159 * gdb.base/unload.c: Include <stdlib.h>.
13161 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13163 From Paul Gilliam <pgilliam@us.ibm.com>:
13164 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
13165 synchronized after the "return".
13167 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13169 * gdb.mi/basics.c: Include <stdio.h>.
13170 * gdb.mi/pthreads.c: Include <stdlib.h>.
13171 * gdb.mi/var-cmd.c: Include <stdlib.h>.
13173 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
13175 * gdb.threads/schedlock.c: Add copyright notice.
13177 2004-08-25 Andrew Cagney <cagney@gnu.org>
13179 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
13180 (skip_over_handler, breakpoint_over_hander): New test procedures.
13181 (advance, advancei): Add a proper prefix, do not use
13183 * gdb.base/sigstep.c (main): Change to use an infinite loop.
13185 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
13187 * gdb.mi/basics.c: Add copyright notice.
13188 * gdb.mi/var-cmd.c: Add copyright notice.
13190 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13192 * lib/gdb.exp: Remove signed_keyword_not_used.
13193 * lib/compiler.c: Likewise.
13194 * lib/compiler.cc: Likewise.
13196 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13198 * gdb.base/whatis.c: Remove conditional disabling of "signed".
13199 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
13201 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
13203 * gdb.base/whatis.c: Add copyright notice.
13205 2004-08-20 Mark Kettenis <kettenis@gnu.org>
13207 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
13208 it to skip the breakpoints encoded in the inline assembly.
13210 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13212 * Makefile.in: Add gdb.fortran.
13214 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
13216 * gdb.base/call-sc.exp (test_scalar_returns):
13217 Fix cut-and-paste glitch in "Make fun return now".
13219 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13221 * configure.in: Add gdb.fortran.
13222 * configure: Regenerate.
13223 * gdb.fortran/Makefile.in: New file.
13224 * lib/gdb.exp (skip_fortran_tests): New procedure.
13226 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
13228 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
13229 reference to bug-gnu@prep.ai.mit.edu.
13230 * gdb.mi/mi-var-child.exp: Likewise.
13231 * gdb.mi/mi-var-cmd.exp: Likewise.
13232 * gdb.mi/mi-var-display.exp: Likewise.
13233 * gdb.mi/mi2-var-block.exp: Likewise.
13234 * gdb.mi/mi2-var-child.exp: Likewise.
13235 * gdb.mi/mi2-var-cmd.exp: Likewise.
13236 * gdb.mi/mi2-var-display.exp: Likewise.
13238 2004-08-15 Mark Kettenis <kettenis@gnu.org>
13240 * gdb.base/unload.c (main): Make local variable msg const.
13242 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13244 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
13245 to bug-gnu@prep.ai.mit.edu.
13246 * gdb.mi/mi-disassemble.exp: Likewise.
13247 * gdb.mi/mi-eval.exp: Likewise.
13248 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
13249 default line number.
13250 * gdb.mi/mi-return.exp: Likewise.
13251 * gdb.mi/mi-simplerun.exp: Likewise.
13252 * gdb.mi/mi-stack.exp: Likewise.
13253 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
13254 number with explicit range test.
13255 * gdb.mi/mi-watch.exp: Likewise.
13256 * gdb.mi/mi2-break.exp: Likewise.
13257 * gdb.mi/mi2-cli.exp: Likewise.
13258 * gdb.mi/mi2-disassemble.exp: Likewise.
13259 * gdb.mi/mi2-eval.exp: Likewise.
13260 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
13261 default line number.
13262 * gdb.mi/mi2-return.exp: Likewise.
13263 * gdb.mi/mi2-simplerun.exp: Likewise.
13264 * gdb.mi/mi2-stack.exp: Likewise.
13265 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
13266 number with explicit range test.
13267 * gdb.mi/mi2-watch.exp: Likewise.
13269 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
13271 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
13272 * gdb.cp/m-static.exp: Likewise.
13273 * gdb.cp/rtti.exp: Likewise.
13275 2004-08-14 Mark Kettenis <kettenis@gnu.org>
13277 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
13279 2004-08-14 Eli Zaretskii <eliz@gnu.org>
13281 * ChangeLog: Prefix Local Variables with semi-colons and indent
13282 the reference to older ChangeLog files, to fix fontification in
13285 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13287 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
13288 * gdb.mi/mi2-break.exp: Likewise.
13290 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13292 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
13294 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13296 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
13298 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
13300 * gdb.cp/classes.exp: Remove unused declarations. Just let
13301 test names default instead of providing special names. Remove
13302 extraneous demangler test.
13304 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
13306 * gdb.base/unload.exp: New test for breakpoints in dynamically
13308 * gdb.base/unload.c: Ditto.
13309 * gdb.base/unloadshr.c: Ditto.
13311 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
13313 * gdb.cp/classes.exp (test_ptype_class_objects): Call
13314 cp_test_ptype_class.
13315 (test_enums): Likewise.
13317 2004-08-10 Andrew Cagney <cagney@gnu.org>
13319 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
13322 2004-08-10 Andrew Cagney <cagney@gnu.org>
13324 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
13327 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
13329 * ChangeLog: Add copyright notice. The notice is copied
13330 from emacs 21.3 top level ChangeLog.
13332 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13334 * lib/cp-support.exp: New file.
13335 * lib/cp-support.exp (cp_test_type_class): New function.
13336 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
13337 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
13338 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
13339 cp_test_ptype_class.
13341 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13343 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
13344 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
13345 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
13346 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
13347 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
13348 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
13349 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
13350 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
13351 gdb.mi/mi2-watch.exp: Update copyright years.
13353 2004-08-09 Mark Kettenis <kettenis@gnu.org>
13355 * gdb.base/sigaltstack.exp: Provide proper anchoring.
13357 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
13359 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
13360 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
13361 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
13362 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13363 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
13364 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
13365 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
13366 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
13367 gdb.mi/mi-watch.exp: Update copyright years.
13369 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13372 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
13373 from a breakpoint with a pending signal.
13375 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13378 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
13379 * gdb.base/sigaltstack.exp (finish_test): Consume output until
13381 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
13383 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13385 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
13387 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13390 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
13393 2004-08-08 Daniel Jacobowitz <dan@debian.org>
13395 * gdb.arch/i386-prologue.exp: Compile without debug information.
13397 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
13399 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
13400 rather than asking gdb to search.
13402 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13404 * gdb.base/gcore.c: Include <string.h>.
13406 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13408 * gdb.base/gcore.c: Add copyright notice.
13410 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
13412 * gdb.base/freebpcmd.c: Include <stdio.h>.
13413 * gdb.base/long_long.c: Include <string.h>.
13414 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
13415 * gdb.base/siginfo.c: Include <string.h>.
13416 * gdb.base/sigstep.c: Include <string.h>.
13418 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13420 * gdb.base/complex.c: Include <stdlib.h>.
13422 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13424 * gdb.base/complex.c: Add copyright notice.
13426 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13428 * gdb.base/charset.c: Include <stdlib.h>.
13430 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13432 * gdb.base/auxv.c: Include <stdlib.h>.
13434 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13436 * gdb.base/auxv.c: Add copyright notice.
13438 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
13440 * gdb.base/coremaker.c: Add copyright notice.
13441 * gdb.base/coremaker2.c: Add copyright notice.
13443 2004-08-04 Andrew Cagney <cagney@gnu.org>
13445 * gdb.base/store.exp: Update copyright.
13446 (check_set, up_set, check_struct, up_struct): Add a prefix to test
13447 names, do not import gdb_prompt.
13449 2004-08-01 Andrew Cagney <cagney@gnu.org>
13451 Fix PR testsuite/1729.
13452 * gdb.base/dump.exp: Add test name to callers of capture_value, do
13453 not use capture_value with value 4.
13454 (capture_value): Add optional test name parameter.
13455 (test_reload_saved_value, test_restore_saved_value): Use $msg as
13456 the prefix, pass to capture_value.
13458 2004-08-01 Mark Kettenis <kettenis@gnu.org>
13460 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
13461 * gdb.arch/i386-prologue.c (standard): New prototype and function.
13462 (main): Call new function.
13464 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13466 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
13468 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13470 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
13472 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
13474 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
13475 Accept more values of vtbl pointer. Remove some messages
13476 about "obsolete gcc or gdb".
13478 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13480 * gdb.cp/classes.exp: Accept more varieties of ptype output.
13482 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
13484 * gdb.base/asm-source.exp: Properly convert target board
13485 debug flags from gcc format to binutils format.
13487 2004-07-28 Mark Kettenis <kettenis@gnu.org>
13489 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
13490 gdb1718". PR backtrace/1718 partially fixed.
13492 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
13494 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
13496 2004-07-26 Nick Clifton <nickc@redhat.com>
13498 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
13499 good default value for a specific architecture is available then
13500 set it to that value. Otherwise default to the -gstabs switch.
13501 Remove the -g... switches from the asm-flags variable. Allow the
13502 target board info to override the value if it wants to. Pass the
13503 switch on the assembler command line.
13505 2004-07-23 Mark Kettenis <kettenis@gnu.org>
13507 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
13508 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
13509 (main): Call new function.
13511 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
13513 Test for PR exp/1715.
13514 * gdb.base/radix.exp: Refactor common procedures. Make all
13515 test names unique. Change XFAIL to KFAIL.
13517 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
13519 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
13520 * gdb.ada/gnat_ada.gin: ... to here.
13521 * configure.in: Use gnat_ada.gin.
13522 * configure: Regenerate.
13524 2004-07-20 Andrew Cagney <cagney@gnu.org>
13526 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
13527 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
13528 XFAILs. Clean up test messages and comments. Check backtraces.
13529 Delete re-sync code.
13531 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13534 * gdb.base/annota1.exp: Honor gdb,nosignals.
13535 * gdb.base/annota3.exp: Likewise.
13537 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
13539 * lib/java.exp: Update copyright notice.
13541 2004-07-19 Andrew Cagney <cagney@gnu.org>
13543 * gdb.base/selftest.exp: Copy file from here ...
13544 * gdb.gdb/selftest.exp: ... to here.
13546 2004-07-16 Andrew Cagney <cagney@redhat.com>
13548 * lib/insight-support.exp: Delete file.
13549 * lib/java.exp (java_init): Fix copyright.
13551 2004-07-16 Andrew Cagney <cagney@gnu.org>
13553 * gdb.base/restore.c: Append "prologue" to comments marking the a
13554 function's prologue.
13555 * gdb.base/restore.exp: Update copyright, re-indent.
13556 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
13557 callerN" prefix where needed. Update patterns that match a
13558 function's prologue.
13560 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
13562 * gdb.base/restore.c: Add copyright notice.
13564 2004-07-16 Andrew Cagney <cagney@gnu.org>
13566 * gdb.base/logical.exp: Update copyright.
13567 (evaluate): New procedure. Use to re-implement tests using
13570 2004-07-14 Martin Hunt <hunt@redhat.com>
13572 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
13573 which fixes some problems where init.tcl was not found.
13575 2004-07-13 Andrew Cagney <cagney@gnu.org>
13577 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
13578 (check_sizeof, check_valueof): Do not include the output in the
13579 test name. Use gdb_test.
13580 (get_valueof): Use gdb_test_multiple.
13582 * gdb.base/step-test.exp: Update copyright. Use
13583 gdb_test_multiple. Ensure that test names do not include
13584 architecture dependent output.
13586 * gdb.gdb/observer.exp: Update copyright.
13587 (setup_test): Use gdb_test_multiple.
13588 (attach_first_observer, attach_second_observer)
13589 (attach_third_observer, detach_first_observer)
13590 (detach_second_observer, detach_third_observer)
13591 (reset_counters, check_counters): Make $message a prefix.
13592 (test_normal_stop_notifications): Add "args" parameter - a list of
13593 init functions to be called. Make $message a prefix,
13594 (test_observer_normal_stop): Change the message prefixes so that
13595 they are unique, pass the attach / detach procedures to
13596 test_normal_stop_notifications.
13598 * gdb.base/signull.exp (test_segv): Prefix all tests with
13599 "${name}". Clean up test messages.
13601 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
13603 * gdb.base/ena-dis-br.exp: Update copyright.
13604 (break_at): New function. Replace send_gdb with gdb_test,
13605 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
13606 ignore count, not stopped at bpt", with KFAIL.
13608 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
13610 * gdb.base/attach.exp: Remove cleanupfile handling.
13612 2004-07-12 Andrew Cagney <cagney@gnu.org>
13614 * gdb.base/annota1.exp: Cleanup corefile test name.
13615 * gdb.base/annota3.exp: Ditto.
13617 2004-07-12 Andrew Cagney <cagney@gnu.org>
13619 * gdb.base/signals.exp: Clean up copyright, re-indent.
13621 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
13622 gdb_test and gdb_test_multiple.
13624 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
13626 * gdb.java/jmain.exp: Fix expected line number for main to
13627 break at. Set XFAIL for break at main test since gcj does not
13628 provide line number info for first statement in main.
13630 2004-07-08 Andrew Cagney <cagney@gnu.org>
13632 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
13634 * gdb.base/sigbpt.exp: Make the common part of each test name a
13635 prefix instead of suffix.
13637 2004-07-07 Bob Rossi <bob_rossi@cox.net>
13639 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
13640 test from test_tbreak_creation_and_listing to
13641 test_file_list_exec_source_file
13642 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
13643 Changed name of test from test_tbreak_creation_and_listing to
13644 test_file_list_exec_source_file
13646 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
13648 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
13649 the jmisc() constructor instead of <init>.
13650 * gdb.java/jmisc1.exp: Ditto.
13652 2004-07-07 Andrew Cagney <cagney@gnu.org>
13654 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
13657 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
13659 * gdb.cp/templates.exp: Accept whitespace change in demangler
13662 2004-07-06 Andrew Cagney <cagney@gnu.org>
13664 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
13666 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
13668 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
13669 * lib/compiler.cc: Likewise.
13671 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
13673 * lib/compiler.cc: Work around string preprocessing problem
13674 with old hp c++ compiler.
13675 * lib/compiler.c: Likewise.
13677 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
13679 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
13680 directives to conditionalize symbol prefixing.
13681 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
13682 additional_flags handling. Add underscore prefix for Cygwin.
13683 * gdb.arch/i386-unwind.c: Use preprocessor directives to
13684 conditionalize symbol prefixing.
13685 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
13686 additional_flags handling. Add underscore prefix for Cygwin.
13688 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
13690 * gdb.base/bigcore.exp: Skip test on Cygwin.
13692 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
13694 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
13695 formats for "info register". Use gdb_test_multiple. Fix
13696 the "invalid register" test.
13698 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
13700 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
13701 PID for Cygwin. Add Cygwin specific strings to check for in some
13703 (do_attach_tests): Add a test for user interaction when attaching
13704 to a process with no matching symbol table already loaded.
13706 2004-06-26 Andrew Cagney <cagney@gnu.org>
13708 Test PR java/1567 and PR java/1565.
13709 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
13710 * gdb.java/jmisc2.exp: Delete file.
13712 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
13714 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
13716 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
13718 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
13721 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
13723 * gdb.cp/pr-1553.exp: Remove.
13725 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
13727 * gdb.cp/pr-1553.cc: Remove.
13728 * gdb.cp/pr-1553.exp: Disable this test.
13730 2004-06-20 Jim Blandy <jimb@redhat.com>
13732 Fix PR testsuite/1680.
13733 * gdb.arch/i386-sse.exp: Properly quote curly braces in
13734 regular expressions.
13736 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
13738 Fix PR testsuite/1679.
13739 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
13740 Issue an UNSUPPORTED result instead.
13742 2004-06-18 Jim Blandy <jimb@redhat.com>
13744 * gdb.base/charset.exp: Only send a control-C if we see a new
13745 prompt and incomplete command.
13747 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
13749 * gdb.cp/pr-574.cc: Add copyright notice.
13751 2004-06-17 Jim Blandy <jimb@redhat.com>
13753 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
13754 cases where the regexp has no groups; this grabs random text from
13755 the previous test suite, whatever that was.
13757 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
13759 * gdb.cp/printmethod.cc: Add copyright notice.
13761 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
13763 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
13765 2004-06-16 Andrew Cagney <cagney@gnu.org>
13767 * gdb.base/signull.c: Update copyright. Include <string.h>.
13768 (bowler): Replace data_pointer with data_read
13769 and data_write cases. Add code_descriptor case.
13770 (zero, desc): New array and pointer.
13771 (data, code): Change to simple pointers.
13772 * gdb.base/signull.exp: Fix probe pattern matching a function
13773 descriptor SIGSEGV. Replace data_pointer with data_read and
13776 2004-06-16 Andrew Cagney <cagney@gnu.org>
13778 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
13780 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13782 * gdb.base/long_long.c: Add copyright notice.
13784 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
13786 * gdb.base/long_long.exp: Remove reference to
13787 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
13788 to gdb_breakpoint and gdb_continue_to_breakpoint.
13790 2004-06-14 Jim Blandy <jimb@redhat.com>
13792 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
13795 2004-06-14 Andrew Cagney <cagney@gnu.org>
13797 * gdb.base/gcore.exp (capture_command_output): Delete the always
13798 passing tests containing inferior values.
13799 * gdb.base/ending-run.exp: Do not include the breakpoint address
13800 in the test message. Update copyright.
13801 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
13802 size in the test name, use gdb_test_multiple. Update copyright.
13804 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13806 * gdb.cp/ref-types.cc: Add copyright notice.
13808 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
13810 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
13812 * lib/compiler.cc: Likewise.
13813 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
13814 'set' commands. Log diagnostics for other lines. Set
13815 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
13817 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
13819 * gdb.cp/try_catch.cc: Add copyright notice.
13821 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
13823 * gdb.cp/userdef.cc: Add copyright notice.
13825 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
13827 * gdb.cp/virtfunc.cc: Add copyright notice.
13829 2004-06-11 Randolph Chung <tausq@debian.org>
13831 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
13834 2004-06-10 Andrew Cagney <cagney@gnu.org>
13836 * lib/compiler.cc, lib/compiler.c: Append either
13837 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
13838 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
13839 instead of gcc-3-3.
13841 2004-06-09 Andrew Cagney <cagney@gnu.org>
13843 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
13844 gdb/1455, bug is specific to "long long" and "double".
13846 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
13847 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
13848 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
13851 2004-06-09 Andrew Cagney <cagney@gnu.org>
13853 * gdb.base/structs.exp (test_struct_returns): Replace
13854 "return_value_unknown" and "finish_value_unknown" by
13855 "return_value_known" and "finish_value_known". Instead of
13856 "return_value_unknown" iff "finish_value_unknown", check
13857 "return_value_known" implies "finish_value_known".
13859 2004-06-08 Martin Hunt <hunt@redhat.com>
13861 * gdb.base/float.exp: Add pattern for mips targets.
13863 2004-06-08 Randolph Chung <tausq@debian.org>
13865 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
13866 message for unknown architectures more clear.
13868 2004-06-08 Joel Brobecker <brobecker@gnat.com>
13870 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
13871 start the execution of the program.
13873 2004-06-07 Jim Blandy <jimb@redhat.com>
13875 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
13876 * gdb.arch/i386-cpuid.h: New helper file.
13878 2004-06-07 Randolph Chung <tausq@debian.org>
13880 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
13883 2004-06-04 Roland McGrath <roland@redhat.com>
13886 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
13887 differently to be robust to output buffering differences.
13889 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
13891 * gdb.threads/pthreads.exp: Update copyright years.
13892 (check_control_c): Change asynchronous 'after' to synchronous.
13894 2004-06-04 Roland McGrath <roland@redhat.com>
13896 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
13899 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
13902 * gdb.threads/manythreads.exp: Change asynchronous 'after'
13903 calls to synchronous.
13905 2004-05-26 Jim Blandy <jimb@redhat.com>
13907 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
13909 2004-05-24 Randolph Chung <tausq@debian.org>
13911 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
13912 * gdb.asm/pa.inc: New file.
13914 2004-05-22 Mark Kettenis <kettenis@gnu.org>
13916 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
13918 2004-05-21 Joel Brobecker <brobecker@gnat.com>
13919 Daniel Jacobowitz <drow@mvista.com>
13921 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
13924 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13926 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
13927 setjmp/longjmp. Use sigaction instead of signal.
13929 2004-05-19 J. Brobecker <brobecker@gnat.com>
13930 Michael Snyder <msnyder@redhat.com>
13932 * gdb.threads/pthread_cond_wait.c: New file.
13933 * gdb.threads/pthread_cond_wait.exp: New testcase.
13935 2004-05-13 Andrew Cagney <cagney@redhat.com>
13937 * gdb.base/signull.exp, gdb.base/signull.c: New files.
13938 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
13940 2004-05-11 Andrew Cagney <cagney@redhat.com>
13942 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
13943 fixed but revealed gdb/1639.
13945 2004-05-10 Andrew Cagney <cagney@redhat.com>
13947 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
13948 func1" and "next to 2nd alarm", kernel bug avoided.
13950 2004-05-10 Daniel Jacobowitz <dan@debian.org>
13953 * gdb.base/bigcore.exp: Check the size of the dumped core file.
13954 XFAIL if it is smaller than bytes_allocated.
13955 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
13956 (main): Make chunks_allocated unsigned. Correct comment.
13958 2004-05-07 Joel Brobecker <brobecker@gnat.com>
13960 * gdb.arch/powerpc-aix-prologue.c: New file.
13961 * gdb.arch/powerpc-aix-prologue.exp: New file.
13963 2004-05-07 Jim Blandy <jimb@redhat.com>
13965 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
13966 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
13968 2004-05-06 Joel Brobecker <brobecker@gnat.com>
13970 * gdb.base/sep.exp: No longer setup_kfail when the program was
13973 2004-05-05 Jim Ingham <jingham@apple.com>
13975 * gdb.base/pending.exp: Make sure pending breakpoints
13976 preserve the ignore count.
13978 2004-04-27 Jerome Guitton <guitton@gnat.com>
13980 * i386-prologue.exp: Add testcase for jump instruction as first
13981 instruction of the real code.
13982 * i386-prologue.c (jump_at_beginning): New function.
13984 2004-04-28 Mark Kettenis <kettenis@gnu.org>
13986 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
13989 2004-04-28 Mark Kettenis <kettenis@gnu.org>
13991 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
13994 2004-04-25 Mark Kettenis <kettenis@gnu.org>
13996 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
13997 expression that checks the return type.
13999 2004-04-23 Andrew Cagney <cagney@redhat.com>
14001 * gdb.base/call-sc.exp: New test of scalar call/return values.
14002 * gdb.base/call-sc.c: Ditto.
14004 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14006 * gdb.threads/manythreads.c: Reduce thread stack size.
14008 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14010 * gdb.threads/manythreads.c: Add copyright notice.
14012 2004-04-23 Andrew Cagney <cagney@redhat.com>
14014 * gdb.base/siginfo.exp: Better handle step out of signal.
14015 * gdb.base/sigstep.exp: Ditto.
14017 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
14018 Daniel Jacobowitz <drow@mvista.com>
14020 * gdb.threads/manythreads.c: New testcase.
14021 * gdb.threads/manythreads.exp: Ditto.
14023 2004-04-22 Jim Blandy <jimb@redhat.com>
14025 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14026 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14028 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14030 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14032 2004-04-21 Andrew Cagney <cagney@redhat.com>
14034 * gdb.base/sigstep.c: New file.
14035 * gdb.base/sigstep.exp: New file.
14037 2004-04-16 Joel Brobecker <brobecker@gnat.com>
14039 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14040 call to observer_notify_normal_stop.
14042 2004-04-15 Andrew Cagney <cagney@redhat.com>
14044 * gdb.base/siginfo.c: New file.
14045 * gdb.base/siginfo.exp: New file.
14047 2004-04-12 J. Brobecker <brobecker@gnat.com>
14049 * gdb.base/sep.exp: Fix typo in comment.
14051 2004-04-12 J. Brobecker <brobecker@gnat.com>
14053 * gdb.base/sep.c: New file.
14054 * gdb.base/sep-proc.c: New file.
14055 * gdb.base/sep.exp: New testcase.
14057 2004-04-09 Mark Kettenis <kettenis@gnu.org>
14059 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14062 2004-04-05 Andrew Cagney <cagney@redhat.com>
14064 * gdb.base/sigaltstack.c: New file.
14065 * gdb.base/sigaltstack.exp: New file.
14067 2004-04-04 Joel Brobecker <brobecker@gnat.com>
14069 * gdb.base/foll-fork.exp: Update the expected output for
14070 "help set follow-fork-mode", to match a change that was made
14071 to the help of this variable on 2004-01-13.
14073 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14075 * lib/ada.exp: Add copyright notice.
14076 * bar.ads: Likewise.
14077 * bar.adb: Likewise.
14078 * null_record.adb: Likewise.
14079 * null_record.exp: Likewise.
14080 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14082 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14084 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14085 * configure: Regenerate.
14087 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14089 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
14090 to build the application. Remove the message printed when in
14091 verbose mode, redundant with the UNSUPPORTED message above.
14093 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14095 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
14096 * gdb.ada (null_record.exp): New testcase.
14098 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14100 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
14102 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14104 * gdb.ada: New subdirectory.
14105 * gdb.ada/Makefile.in: New file.
14106 * gdb.ada/gnat_ada.gpr.in: New file.
14108 2004-03-31 Joel Brobecker <brobecker@gnat.com>
14110 * lib/ada.exp: New file.
14112 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
14114 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
14115 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
14117 2004-03-22 Andrew Cagney <cagney@redhat.com>
14119 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
14120 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
14121 Problem identified by Ulrich Weigand.
14123 2004-03-17 David Carlton <carlton@kealia.com>
14125 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
14128 2004-03-16 Roland McGrath <roland@redhat.com>
14130 * gdb.base/auxv.exp: New file.
14131 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
14133 2004-03-12 David Carlton <carlton@kealia.com>
14135 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
14136 * gdb.cp/pr-1553.cc: Ditto.
14137 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
14140 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
14142 * gdb.cp/templates.exp: Accept more template types.
14144 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14146 From Corinna Vinschen with modifications.
14147 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
14148 local variable obj_with_enum.
14149 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
14150 results with obj_with_enum.
14152 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14154 * gdb.cp/classes.cc: New file, copied from misc.cc.
14155 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
14157 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
14159 * gdb.cp/misc.cc: Add copyright notice.
14161 2004-03-05 David Carlton <carlton@kealia.com>
14163 * gdb.cp/rtti.exp: Add 'print *obj3' test.
14164 * gdb.cp/rtti.h: Update copyright.
14165 (namespace n2::n3): New.
14166 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
14167 (n2::n3::func3): New.
14168 (main): Call n2::n3::func3.
14169 * gdb.cp/rtti2.cc: Update copyright.
14170 (n2::create3): New.
14172 2004-03-04 Mark Kettenis <kettenis@gnu.org>
14174 * gdb.asm/openbsd.inc: Fix typo.
14176 2004-03-03 Fred Fish <fnf@redhat.com>
14178 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
14179 "val" instead of unused "size". Update copyright year.
14181 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
14183 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
14184 to use unsigned char.
14185 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
14186 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
14188 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
14190 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
14193 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
14195 * gdb.base/relocate.c (dummy): Initialize.
14197 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
14199 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
14200 a breakpoint at exit.
14202 2004-02-27 Fred Fish <fnf@redhat.com>
14204 * gdb.base/chng-syms.exp: Add expect condition to match failing
14205 case that isn't a timeout.
14207 2004-02-27 Andrew Cagney <cagney@redhat.com>
14209 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
14212 2004-02-26 Fred Fish <fnf@redhat.com>
14214 * gdb.arch/gdb1431.c: Remove.
14215 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
14216 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
14217 of "until" incorrectly.
14219 2004-02-26 J. Brobecker <brobecker@gnat.com>
14221 * gdb.cp/class2.cc (empty): New class.
14222 (refer): New function.
14223 (main): Declare an object of type empty and use it.
14224 * gdb.cp/class2.exp: Print the value of an object of type empty.
14226 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
14228 * gdb.base/langs.exp: Update query string to match the
14229 new nquery format used for pending breakpoints.
14231 2004-02-26 Andrew Cagney <cagney@redhat.com>
14234 * gdb.base/charset.c: Update copyright notice.
14235 (main, init_string): Remove the escape character '\e' tests.
14236 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
14237 * gdb.base/charset.exp (valid_host_charset): Ditto.
14238 * gdb.base/setvar.exp: Ditto.
14240 2004-02-24 Andrew Cagney <cagney@redhat.com>
14242 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
14243 mmapped data in core file" PASS and FAIL messages consistent.
14245 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
14246 setting a breakpoint. Work around PR java/1565.
14248 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
14250 * lib/gdb.exp (gdb_breakpoint): Update query string to match
14252 * gdb.base/pending.exp: Ditto.
14254 2004-02-22 Mark Kettenis <kettenis@gnu.org>
14256 * configure.in: Run stabs tests on *BSD.
14257 * configure: Regenerated.
14259 2004-02-21 Mark Kettenis <kettenis@gnu.org>
14261 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
14263 2004-02-20 Fred Fish <fnf@redhat.com>
14265 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
14266 blank in test for "returns short", for consistency with other
14267 "returns xxx" tests. Update copyright year.
14269 2004-02-19 Fred Fish <fnf@redhat.com>
14271 New testcase for PR breakpoint/1558.
14272 * gdb.arch/gdb1558.exp: New file.
14273 * gdb.arch/gdb1558.c: New file.
14275 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
14277 * gdb.base/nodebug.exp: Fix typo.
14279 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14281 Committed by Jim Blandy <jimb@redhat.com>.
14283 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
14285 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
14287 * gdb.base/float.exp: Support s390*-*-* targets.
14289 2004-02-17 Adam Fedor <fedor@gnu.org>
14291 * gdb.base/gdb1555.exp: New file.
14292 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
14294 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
14296 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
14298 2004-02-16 Fred Fish <fnf@redhat.com>
14300 * gdb.arch/gdb1291.c: Remove
14301 * gdb.arch/gdb1291.s: New test input file.
14302 * gdb.arch/gdb1291.exp: Expand test to check case that should not
14303 fail. Test for correct result, known incorrect result, other
14304 failures and timeouts.
14306 2004-02-16 Andrew Cagney <cagney@redhat.com>
14308 * gdb.base/bigcore.exp: New file.
14309 * gdb.base/bigcore.c: New file.
14311 2004-02-13 Andrew Cagney <cagney@redhat.com>
14313 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
14314 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
14315 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
14316 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
14317 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
14318 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
14319 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
14320 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
14321 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
14322 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
14324 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
14326 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
14327 executed is an alloc instruction.
14329 2004-02-11 David Carlton <carlton@kealia.com>
14331 * gdb.cp/breakpoint.exp: New.
14332 * gdb.cp/breakpoint.cc: New.
14334 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
14336 Partial fix for PR gdb/1543.
14337 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
14338 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
14339 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
14340 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
14341 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
14342 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
14343 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
14344 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
14345 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
14346 to bug-gdb@prep.ai.mit.edu .
14347 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
14348 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
14349 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
14352 2004-02-10 Andrew Cagney <cagney@redhat.com>
14354 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
14355 using gdb_internal_error_resync.
14357 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
14359 * gdb.threads/thread-specific.exp: Stop early if no threads are
14362 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
14364 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14366 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
14368 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
14371 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
14373 * config/sim.exp (gdb_load): Handle $arg == "".
14374 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
14375 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
14377 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
14379 * gdb.base/maint.exp: Update test to reflect
14382 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
14384 * gdb.base/pendshr.c (pendfunc): New function that calls
14386 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
14388 2004-02-04 Fred Fish <fnf@redhat.com>
14390 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
14391 function symbols and update copyright years.
14392 * gdb.arch/gdb1291.c: Ditto.
14394 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14396 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
14398 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14400 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14402 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
14404 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
14406 2004-02-02 Fred Fish <fnf@redhat.com>
14408 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
14409 remote targets. Update copyright years.
14411 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
14413 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
14415 * gdb.base/langs.exp: Fix test which attempts to create
14416 breakpoint on non-existent function to handle new pending
14418 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14420 * gdb.base/pending.exp: New test.
14421 * gdb.base/pending.c: New file.
14422 * gdb.base/pendshr.c: Ditto.
14424 2004-02-02 David Carlton <carlton@kealia.com>
14426 * gdb.cp/overload.exp: Add overloadNamespace tests.
14427 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
14428 (overloadNamespace, XXX): New.
14429 (main): Call XXX::marker2.
14431 2004-02-01 Fred Fish <fnf@redhat.com>
14433 * gdb.base/dump.exp: Use runto_main instead of "runto main".
14434 * gdb.base/finish.exp: Ditto.
14435 * gdb.base/gcore.exp: Ditto.
14436 * gdb.base/huge.exp: Ditto.
14437 * gdb.base/info-proc.exp: Ditto.
14438 * gdb.base/return2.exp: Ditto.
14439 * gdb.threads/gcore-thread.exp: Ditto.
14441 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
14443 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
14445 2004-02-01 Mark Kettenis <kettenis@gnu.org>
14447 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
14448 that opening the file succeeds on OpenBSD.
14450 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
14452 * gdb.threads/thread-specific.c: New file.
14453 * gdb.threads/threads-specific.exp: New test script.
14454 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
14457 2004-02-01 Mark Kettenis <kettenis@gnu.org>
14459 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
14460 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
14461 only on the "print_small_structs from print_long_arg_list" test.
14463 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
14465 * gdb.base/completion.exp: Kill a stray backslash.
14467 From Jim Ingham <jingham@apple.com>:
14468 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
14469 agrees with the result from sending a tab.
14471 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
14473 * gdb.base/chng-syms.exp: Remove stray newline.
14475 2004-01-31 Mark Kettenis <kettenis@gnu.org>
14477 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
14479 * gdb.asm/openbsd.inc: New file.
14481 2004-01-30 Mark Kettenis <kettenis@gnu.org>
14483 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
14484 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
14485 *-*solaris2*. Remove commented out default settings for
14486 asm-flags. Replace gdb_compile with target_link.
14488 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
14490 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
14491 for all tests. Remove old hp-ux and cygnus xfail cases.
14493 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
14495 * gdb.base/chng-syms.exp: New file.
14496 * gdb.base/chng-syms.c: New file.
14498 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14500 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
14501 Provide arms for current output in all my configurations.
14503 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
14505 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
14506 * lib/compiler.cc: Likewise.
14507 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
14508 get the right preprocessor. Eval the output directly. Remove
14509 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
14510 hp_f77_compiler and hp_f90_compiler completely.
14511 (gdb_preprocess): Delete.
14512 (get_compiler): Delete.
14514 2004-01-24 Mark Kettenis <kettenis@gnu.org>
14516 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
14519 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
14521 * gdb.mi/mi-stack.exp: Update copyright.
14523 2004-01-23 David Carlton <carlton@kealia.com>
14525 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
14526 test for cp_lookup_transparent_type.
14527 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
14530 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
14532 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
14535 2004-01-23 David Carlton <carlton@kealia.com>
14537 * gdb.cp/namespace.cc (C::ensureRefs): New.
14538 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
14540 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
14542 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
14543 case "-stack-list-locals 2".
14544 * gdb.mi/mi-var-child.exp: Test for case
14545 "-var-list-children --all-values NAME".
14547 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
14549 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
14551 2004-01-18 Mark Kettenis <kettenis@gnu.org>
14553 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
14554 used with gdb_test_multiple.
14556 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
14557 read at address 0. This fixes PR testsuite/1504.
14559 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
14561 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
14562 Remove downloading, guessing the host executable, the calls to
14563 gdb_file_cmd and gdb_target_cmd, and "load" support.
14564 (infer_host_exec): New function broken out from gdb_load.
14565 (gdb_load): New wrapper for gdbserver_gdb_load.
14566 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
14567 gdb_target_cmd. Use -target-select.
14568 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
14569 Download binaries to the host. Clear last_mi_remote_file when
14570 we load a new binary.
14571 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
14572 call gdbserver_gdb_load and mi_gdb_target_cmd.
14574 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14576 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
14579 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
14581 * gdb.cp/templates.exp: Fix typo in test name of
14582 "print Foo<volatile char*>::foo".
14584 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14586 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
14588 2004-01-16 Ben Elliston <bje@wasabisystems.com>
14590 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
14591 (clean mostlyclean): Remove empty rm.
14593 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
14595 * gdb.base/setvar.exp: Add copyright years.
14597 2004-01-14 David Carlton <carlton@bactrian.org>
14599 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
14600 PR c++/1511 and update coment.
14601 * gdb.cp/templates.exp: Update patterns to match current output.
14602 If changes involve something other than whitespace, KFAIL
14603 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
14605 2004-01-14 David Carlton <carlton@kealia.com>
14607 * gdb.cp/namespace.exp: Add tests involving classes defined within
14609 * gdb.cp/namespace.cc (C::CClass): New.
14610 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
14612 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
14614 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
14615 what debug info we have. Print a better message if something goes
14616 wrong while producing the separate debug info file.
14618 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14620 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
14622 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
14624 * gdb.base/callfuncs.c: Add copyright notice.
14626 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
14628 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
14629 inheritance. PR gdb/1498, PR gcc/13539.
14631 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
14633 * gdb.threads/gcore-thread.exp: Prefix name of binary with
14634 test specific name.
14635 * gdb.mi/gdb669.exp: Ditto.
14636 * gdb.mi/mi-pthreads.exp: Ditto.
14637 * gdb.mi/mi1-pthreads.exp: Ditto.
14638 * gdb.mi/mi2-pthreads.exp: Ditto.
14640 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14642 * gdb.cp/member-ptr.cc: Add copyright notice.
14644 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
14646 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
14647 some patterns for recent versions of gcc and hpacc. Delete
14648 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
14649 Delete tests that access a NULL pointer-to-member-data. This
14650 script is still disabled for gcc.
14652 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
14654 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
14657 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
14659 * gdb.base/sepdebug.exp: New file.
14660 * gdb.base/sepdebug.c: New file.
14661 * lib/gdb.exp (separate_debug_filename): New procedure.
14662 (gdb_gnu_strip_debug): New procedure.
14664 2004-01-12 Andrew Cagney <cagney@redhat.com>
14666 * gdb.mi/ChangeLog: Delete file. Renamed to ...
14667 * gdb.mi/ChangeLog-1999-2003: New file.
14669 2004-01-12 Andrew Cagney <cagney@redhat.com>
14671 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
14672 "Renaming a directory to a non-empty directory returns ENOTEMPTY
14673 or EEXIST", treat EBUSY as an XFAIL.
14675 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
14677 * gdb.base/scope.exp: Remove obsolete setup_xfail for
14680 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14682 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
14685 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
14687 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14688 and "(aCC)" decorations. Remove obsolete doco about old
14691 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14693 * gdb.cp/exception.exp: Fix typo in doco.
14695 2004-01-09 Mark Kettenis <kettenis@gnu.org>
14697 * gdb.base/gdb1476.exp: Fix typo.
14699 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14701 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
14704 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
14706 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
14707 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
14708 Use gdb_compile. Remove restriction on gcc. Add some patterns
14709 for recent version of gdb. Delete second half, which was a copy
14710 of the first half with different build flags. This test is
14711 still disabled because it is still not ready for production.
14713 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14715 * gdb.cp/exception.cc: Add copyright notice.
14716 * gdb.cp/exception.exp: Add a notice that this file is broken
14717 because of line number changes caused by addition of copyright
14720 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14722 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
14723 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
14725 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14727 * gdb.cp/classes.exp: Accept gnu abi 2.
14728 * gdb.cp/derivation.exp: Likewise.
14729 * gdb.cp/overload.exp: Likewise.
14730 * gdb.cp/virtfunc.exp: Likewise.
14732 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
14734 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
14735 semicolon after end of function.
14737 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14739 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
14740 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
14741 boilerplate code for compiling and running the program under
14742 test. Add some string method tests.
14744 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14746 * gdb.cp/bs15503.cc: Add copyright notice.
14747 * gdb.cp/bs15503.exp: Adjust line number.
14749 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14751 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
14752 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
14754 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14756 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
14759 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14761 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
14762 * gdb.cp/ctti.exp: Use the marker instead of "next".
14763 With gcc, run further before bailing.
14765 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14767 * gdb.cp/cttiadd.cc: Add copyright notice.
14768 * gdb.cp/cttiadd1.cc: Likewise.
14769 * gdb.cp/cttiadd2.cc: Likewise.
14770 * gdb.cp/cttiadd3.cc: Likewise.
14772 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14774 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
14775 Use gdb_test, gdb_test_multiple. Use floating-point values that
14776 have exact representations in IEEE-ish formats.
14778 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14780 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
14781 compilers. Delete duplicate call to get_compiler_info.
14782 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
14783 * gdb.base/volatile.exp: Likewise.
14785 2004-01-07 Mark Kettenis <kettenis@gnu.org>
14787 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
14788 memory at address 0.
14790 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
14792 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
14793 to test for hp-ux assembler. Fix copyright years.
14795 2004-01-07 Andrew Cagney <cagney@redhat.com>
14797 * gdb.base/fileio.c (strerrno): Add "EBUSY".
14799 2004-01-07 Andrew Cagney <cagney@redhat.com>
14801 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
14802 when creating the read-only file. From analysis by Roland McGrath
14805 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14807 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
14809 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14811 * gdb.base/cvexpr.c: Be type-safe with function pointers and
14814 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14816 * gdb.cp/m-static.exp: Compile one source file at a time.
14817 Delete unused call to get_compiler_info.
14819 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
14821 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
14822 * gdb.base/call-rt-st.exp: Likewise.
14823 * gdb.base/nodebug.exp: Likewise.
14824 * gdb.base/volatile.exp: Likewise.
14825 * gdb.cp/ref-types.exp: Likewise.
14826 * gdb.cp/templates.exp: Likewise.
14828 2004-01-05 Mark Kettenis <kettenis@gnu.org>
14830 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
14832 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
14834 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
14837 2004-01-04 Mark Kettenis <kettenis@gnu.org>
14839 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14842 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
14843 sparc64-*-* and sparc*-solaris2*.
14845 2004-01-04 Mark Kettenis <kettenis@gnu.org>
14847 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
14848 return ${tests}" test. The ${tests} already mentions the
14851 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14853 * gdb.cp/local.exp: Accept gcc abi 2.
14855 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14857 * gdb.cp/templates.exp: Accept gcc abi 2.
14859 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
14861 * lib/compiler.cc: Remove supports_template_debugging.
14862 * gdb.cp/templates.exp: Do not test supports_template_debugging.
14864 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14866 * gdb.cp/namespace.exp: Accept gcc abi 2.
14868 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14870 * gdb.cp/method.exp: Accept gcc abi 2.
14872 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14874 * gdb.cp/classes.exp: Generate identical results as old version.
14875 * gdb.cp/derivation.exp: Likewise.
14876 * gdb.cp/overload.exp: Likewise.
14877 * gdb.cp/virtfunc.exp: Likewise.
14879 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14881 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
14882 mysterious bug with sourceware version of expect.
14884 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14886 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
14887 current versions of gcc, including gcc abi 2. Remove gratuitous
14888 restart of test program. Use gdb_test_multiple and gdb_test for
14889 all tests. Add patterns to xfail missing "const" in "const char *"
14890 and kfail PR gdb/1155.
14892 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
14894 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
14895 current versions of gcc, including gcc abi 2. Remove gratuitous
14896 restart of test program. Use gdb_test_multiple and gdb_test for
14897 all tests. Add patterns to kfail PR gdb/1498.
14899 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14901 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
14902 current versions of gcc, including gcc abi 2. Use "breakpoint"
14903 and "continue" instead of restarting the target program. Use
14904 gdb_test_multiple and gdb_test for all tests.
14906 2004-01-01 Mark Kettenis <kettenis@gnu.org>
14908 * gdb.asm/asm-source.exp: Update copyright year. Link statically
14911 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
14913 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
14914 current versions of gcc, including gcc abi 2. Use "breakpoint"
14915 and "continue" instead of restarting the target program several
14916 times. Use gdb_test_multiple and gdb_test for all tests.
14918 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
14920 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
14923 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14925 * gdb.base/environ.exp: Handle compiling test case from multiple
14928 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14930 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
14932 2003-12-17 Jim Blandy <jimb@redhat.com>
14934 * gdb.base/freebpcmd.c: Add copyright notice.
14936 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
14938 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
14940 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
14942 2003-12-13 Jim Blandy <jimb@redhat.com>
14944 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
14946 2003-12-12 Kevin Buettner <kevinb@redhat.com>
14948 * gdb.asm/frv.inc: New file.
14949 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
14951 2003-12-09 Fred Fish <fnf@redhat.com>
14953 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
14954 functions to break1.c and leave prototypes behind. Add more
14955 "set breakpoint NN here" comments.
14956 * gdb.base/break1.c: New file.
14958 * gdb.base/break.exp: Handle compiling test case from multiple
14959 source files and change source file references as needed.
14960 * gdb.base/completion.exp: Ditto.
14961 * gdb.base/condbreak.exp: Ditto.
14962 * gdb.base/define.exp: Ditto.
14963 * gdb.base/ena-dis-br.exp: Ditto.
14964 * gdb.base/info-proc.exp: Ditto.
14965 * gdb.base/maint.exp: Ditto.
14966 * gdb.base/until.exp: Ditto.
14968 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
14969 hardcoded line numbers.
14970 * gdb.base/define.exp: Ditto.
14971 * gdb.base/ena-dis-br.exp: Ditto.
14972 * gdb.base/maint.exp: Ditto.
14973 * gdb.base/until.exp: Ditto.
14975 * gdb.base/completion.exp: Use "break1" for completion tests since
14976 "break" is no longer a unique prefix.
14978 2003-12-06 Andrew Cagney <cagney@redhat.com>
14980 * gdb.base/structs.exp (test_struct_returns): When applicable, set
14981 "return_value_unimplemented". When an unimplemented struct return
14982 architecture, report incorrect values as a KFAIL
14984 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14986 * gdb.cp/rtti.exp: Accept new wording of warning from
14987 cp_lookup_rtti_type.
14989 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
14991 Partial fix for PR testsuite/1456.
14992 * gdb.base/scope.exp (test_at_main): Replace references to
14993 gcc_compiled with calls to test_compiler_info.
14994 (test_at_foo): Likewise.
14995 (test_at_bar): Likewise.
14997 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
14999 Partial fix for PR testsuite/1456.
15000 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15001 to test_compiler_info.
15003 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15005 * gdb.base/so-impl-ld.exp: Update copyright notice.
15007 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15009 Partial fix for PR testsuite/1456.
15010 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15011 to test_compiler_info.
15013 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15015 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15016 from current versions of gdb. Clean up regular expressions.
15017 Delete redundant timeout case.
15019 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15021 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15022 from current versions of gdb. Clean up regular expressions.
15023 Delete redundant timeout case.
15025 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15027 Partial fix for PR testsuite/1456.
15028 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15029 gcc_compiled with call to test_compiler_info.
15031 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15033 Partial fix for PR testsuite/1456.
15034 * gdb.base/list.exp (test_list_function): Delete unused declaration
15037 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15039 Partial fix for PR testsuite/1456.
15040 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15041 call to test_compiler_info.
15043 2003-11-29 Mark Kettenis <kettenis@gnu.org>
15045 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15046 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15047 it to create the appropriate note.inc.
15048 * gdb.asm/asmsrc1.s: Include "note.inc".
15049 * gdb.asm/netbsd.inc: New file.
15050 * gdb.asm/empty.inc: New file.
15052 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15054 Partial fix for PR testsuite/1456.
15055 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15056 calls to test_compiler_info.
15058 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15060 Partial fix for PR testsuite/1456.
15061 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15062 calls to test_compiler_info.
15064 2003-11-27 Mark Kettenis <kettenis@gnu.org>
15066 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15067 pattern for the KFAILs.
15069 2003-11-25 Adam Fedor <fedor@gnu.org>
15071 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15072 * gdb.objc/objcdecode.m: New file.
15074 2003-11-25 Adam Fedor <fedor@gnu.org>
15076 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15077 * gdb.objc/nondebug.m: New file.
15079 2003-11-26 Ben Elliston <bje@wasabisystems.com>
15081 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15082 NetBSD as it does on FreeBSD. Modelled on a similar change by
15083 Mark Kettenis on 2003-05-30.
15084 (link-flags): Set to "--entry _start" regardless of target.
15085 Special linker flags are to be appended to $link-flags.
15086 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15088 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15090 * gdb.cp/method.exp: Accept output of new demangler.
15092 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15094 * gdb/class2.exp: New file.
15095 * gdb/class2.cc: New file.
15097 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
15099 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
15102 2003-11-23 Mark Kettenis <kettenis@gnu.org>
15104 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
15107 2003-11-23 Mark Kettenis <kettenis@gnu.org>
15109 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
15110 "continue" into "run".
15112 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15114 Partial fix for PR testsuite/1456.
15115 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
15116 call to test_compiler_info.
15117 * gdb.cp/ctti.exp: Likewise.
15118 * gdb.cp/derivation.exp: Likewise.
15119 * gdb.cp/member-ptr.exp: Likewise.
15120 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
15121 reference to gcc_compiled.
15123 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
15125 Fix PR testsuite/1463.
15126 * gdb.base/structs.exp (start_structs_test): Call
15127 get_debug_format before using the debug format.
15129 2003-11-22 Andrew Cagney <cagney@redhat.com>
15131 * lib/gdb.exp (gdb_test_multiple): Add simple example.
15132 * gdb.base/structs.exp: Use gdb_test_multiple.
15134 2003-11-20 Andrew Cagney <cagney@redhat.com>
15136 * gdb.base/structs.exp: Handle and recover from internal errors.
15137 Replace "foo${n}" with "foo<n>" in test messages.
15139 * gdb.base/structs.exp: Update copyright. Rewrite.
15140 * gdb.base/structs.c: Update copyright. Rewrite.
15142 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
15143 resync count exceeded.
15145 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
15146 from the internal error.
15147 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
15148 Original from Jim Blandy.
15149 (gdb_test_multiple): Use gdb_internal_error_resync.
15151 2003-11-19 Andrew Cagney <cagney@redhat.com>
15153 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
15156 2003-11-17 Mark Kettenis <kettenis@gnu.org>
15158 New testcase for PR backtrace/1435.
15159 * gdb.arch/i386-unwind.exp: New file.
15160 * gdb.arch/i386-unwind.c: New file.
15162 2003-11-17 Andrew Cagney <cagney@redhat.com>
15164 * lib/gdb.exp (compiler_info): New global.
15165 (test_compiler_info): New function.
15166 (get_compiler_info): Set compiler_info.
15167 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
15168 "compiler_info" to gcc-<major>-<minor>.
15170 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
15172 * gdb.trace/configure: Remove.
15174 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
15176 * gdb.base/break.c: Add comments to aid finding line numbers for
15178 * gdb.base/break.exp: Remove all references to explicit line
15181 2003-11-11 Nick Clifton <nickc@redhat.com>
15183 * gdb.base/shreloc.exp: Do not run for targets which do not
15184 support shared objects.
15186 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
15188 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
15189 Don't run tests if nofileio flag is given.
15191 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
15193 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
15194 as well as 'Watchpoint'.
15196 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
15198 Reported by Jim Ingham <jingham@apple.com>:
15199 * gdb.base/annota1.exp: Match at least one occurrence of the
15200 signal handler annotation.
15202 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
15204 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
15205 as well as 'Watchpoint'.
15207 2003-11-05 Michael Chastain <mec@shout.net>
15209 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
15211 2003-11-03 Kris Warkentin <kewarken@qnx.com>
15213 * gdb.arch/gdb1291.c: New test file.
15214 * gdb.arch/gdb1291.exp: New test script.
15215 * gdb.arch/gdb1431.c: New test file.
15216 * gdb.arch/gdb1431.exp: New test script.
15218 2003-10-22 Michael Chastain <mec@shout.net>
15220 * gdb.mi/pthreads.c: Add copyright notice.
15222 2003-10-22 Michael Chastain <mec@shout.net>
15224 * gdb.threads/pthreads.c: Add copyright notice.
15226 2003-10-20 Michael Chastain <mec@shout.net>
15228 * gdb.base/gdb1056.exp: New test script.
15230 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
15232 * gdb.threads/killed.exp: Use gdb_run_cmd.
15234 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
15236 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
15237 create a core file.
15238 * gdb.threads/gcore-thread.exp: Likewise.
15240 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
15242 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
15243 type, based on char type.
15244 (struct bit_flags_short_t): New bitfield type, based on short type.
15245 (init_bit_flags_char): New fuction.
15246 (init_bit_flags_short): Ditto.
15247 (print_bit_flags_char): Ditto.
15248 (print_bit_flags_short): Ditto.
15249 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
15251 2003-10-11 Michael Chastain <mec@shout.net>
15253 * gdb.base/call-rt-st.exp: Update copyright year.
15255 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
15257 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
15258 * gdb.disasm/sh3.s: Ditto.
15260 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
15262 * gdb.threads/switch-threads.exp: New test.
15263 * gdb.threads/switch-threads.c: New source file.
15265 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
15267 * gdb.base/ending-run.exp: Add sh specific case.
15269 2003-10-06 Andrew Cagney <cagney@redhat.com>
15271 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
15272 * gdb.disasm/mn10200.exp: Delete obsolete file.
15274 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
15276 * ChangeLog: Correct an entry command.exp -> commands.exp.
15277 * gdb.base/commands.exp (bp_deleted_in_command_test)
15278 (temporary_breakpoint_commands): Check noargs.
15280 2003-09-25 David Carlton <carlton@kealia.com>
15282 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
15283 of some print tests, where appropriate. Add tests for C::D::cd,
15284 E::ce, F::cXfX, G::XgX.
15285 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
15287 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
15289 * lib/java.exp (java_init): Import target_alias before using it.
15291 2003-09-25 David Carlton <carlton@kealia.com>
15293 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
15295 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
15297 * gdb.base/selftest.exp: Accomodate more instruction reordering
15300 2003-09-17 Michael Chastain <mec@shout.net>
15302 * gdb.cp/gdb1355.exp: New file.
15303 * gdb.cp/gdb1355.c: New file.
15305 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
15307 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
15308 * gdb.asm/sh.inc: New file.
15310 2003-09-11 David Carlton <carlton@kealia.com>
15312 * gdb.cp/namespace.exp: Add tests for namespace types.
15313 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
15314 (test_namespace): New.
15316 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
15318 * gdb.base/relocate.exp: Handle new gdb output at startup.
15319 * gdb.stabs/weird.exp: Ditto.
15321 2003-09-08 Michael Chastain <mec@shout.net>
15323 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
15325 2003-09-07 Michael Chastain <mec@shout.net>
15327 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
15330 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
15332 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
15334 2003-08-30 Michael Chastain <mec@shout.net>
15336 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
15337 * gdb.gdb/observer.exp: Ditto.
15338 * gdb.gdb/xfullpath.exp: Ditto.
15340 2003-08-29 Mark Kettenis <kettenis@gnu.org>
15342 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
15345 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
15347 * gdb.base/dump.exp: Skip for ia64.
15349 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
15351 * gdb.asm/asm-source.exp: Add ia64 support.
15352 * gdb.asm/ia64.inc: New file.
15354 2003-08-22 Michael Chastain <mec@shout.net>
15356 * gdb.cp: New directory.
15357 * gdb.cp/*: Copy from gdb.c++/*.
15358 * gdb.c++/*: Remove.
15359 * Makefile.in: Change gdb.c++ to gdb.cp.
15360 * configure.in: Ditto.
15361 * configure: Regnerate.
15363 2003-08-18 Mark Kettenis <kettenis@gnu.org>
15365 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
15366 * gdb.arch/i386-prologue.c (gdb1338): Add function.
15368 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
15370 * mi-var-display.exp (-var-list-children weird): Accept function
15371 pointers with argument types.
15372 * mi1-var-display.exp (-var-list-children weird): Likewise.
15373 * mi2-var-display.exp (-var-list-children weird): Likewise.
15375 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
15377 * gdb.base/annota3.exp: Add missing newline.
15379 2003-08-06 Michael Chastain <mec@shout.net>
15381 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
15383 2003-08-12 Michael Snyder <msnyder@redhat.com>
15385 * gdb.base/float.exp: Add test for SH.
15387 2003-08-10 Mark Kettenis <kettenis@gnu.org>
15389 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
15391 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
15393 * gdb.base/completion.exp: Remove reduntant completion test
15396 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
15398 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
15399 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
15400 gdb.trace/save-trace.exp: Make sure that full pathnames are
15403 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
15405 * configure.in: Don't generate config.h from config.hin.
15406 * configure: Regenerate.
15407 * config.hin: Remove file.
15408 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
15409 * gdb.threads/pthreads.c: Ditto.
15411 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
15413 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15414 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
15415 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
15416 Replace ld24 with seth/add3.
15418 2003-08-02 Andrew Cagney <cagney@redhat.com>
15420 * gdb.base/annota3.exp: New file.
15421 * gdb.base/annota3.c: New file.
15422 * gdb.c++/annota3.exp: New file.
15423 * gdb.c++/annota3.cc: New file.
15425 2003-07-29 Michael Chastain <mec@shout.net>
15427 * gdb.threads/tls.c (spin): Check errno only if sem_wait
15429 (do_pass): Likewise.
15430 * gdb.threads/tls.exp: Always initialize no_of_threads.
15432 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
15434 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
15436 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
15437 * gdb.threads/tls.exp: Recognize one case of the host library not
15440 2003-07-27 Andrew Cagney <cagney@redhat.com>
15442 * gdb.base/fileio.exp: Use SH when running commands using
15445 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
15447 From Kei Sakamoto <sakamoto.kei@renesas.com>:
15448 * gdb.base/relocate.c (dummy): New padding array.
15450 2003-07-22 Michael Snyder <msnyder@redhat.com>
15452 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
15454 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
15455 patterns to be more general, accepting old and new output.
15456 Some output chars (such as '+') also must be quoted.
15457 Some addresses are displayed numerically instead of
15460 2003-07-23 Michael Snyder <msnyder@redhat.com>
15462 * gdb.base/return2.exp: Don't test long-long return.
15464 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
15465 * gdb.disasm/t01_mov.exp: Ditto.
15466 * gdb.disasm/t02_mova.s: Ditto.
15467 * gdb.disasm/t02_mova.exp: Ditto.
15468 * gdb.disasm/t03_add.s: Ditto.
15469 * gdb.disasm/t03_add.exp: Ditto.
15470 * gdb.disasm/t04_sub.s: Ditto.
15471 * gdb.disasm/t04_sub.exp: Ditto.
15472 * gdb.disasm/t05_cmp.s: Ditto.
15473 * gdb.disasm/t05_cmp.exp: Ditto.
15474 * gdb.disasm/t06_ari2.s: Ditto.
15475 * gdb.disasm/t06_ari2.exp: Ditto.
15476 * gdb.disasm/t07_ari3.s: Ditto.
15477 * gdb.disasm/t07_ari3.exp: Ditto.
15478 * gdb.disasm/t08_or.s: Ditto.
15479 * gdb.disasm/t08_or.exp: Ditto.
15480 * gdb.disasm/t09_xor.s: Ditto.
15481 * gdb.disasm/t09_xor.exp: Ditto.
15482 * gdb.disasm/t10_and.s: Ditto.
15483 * gdb.disasm/t10_and.exp: Ditto.
15484 * gdb.disasm/t11_logs.s: Ditto.
15485 * gdb.disasm/t11_logs.exp: Ditto.
15486 * gdb.disasm/t12_bit.s: Ditto.
15487 * gdb.disasm/t12_bit.exp: Ditto.
15488 * gdb.disasm/t13_otr.s: Ditto.
15489 * gdb.disasm/t13_otr.exp: Ditto.
15491 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
15493 * gdb.threads/tls.exp :Add kfail for 'info address' case.
15495 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
15497 * gdb.threads/tls.c : New file.
15498 * gdb.threads/tls.exp : New file.
15499 * gdb.threads/tls-main.c : New file.
15500 * gdb.threads/tls-shared.c : New file.
15501 * gdb.threads/tls-shared.exp : New file.
15503 2003-07-22 Andreas Schwab <schwab@suse.de>
15505 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
15507 2003-07-20 Andreas Schwab <schwab@suse.de>
15509 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
15510 due to insn reordering.
15512 2003-07-15 Andrew Cagney <cagney@redhat.com>
15514 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
15516 2003-07-15 Michael Chastain <mec@shout.net>
15518 * gdb.base/gdb1250.exp: New file.
15519 * gdb.base/gdb1250.c: New file.
15521 2003-07-09 Michal Ludvig <mludvig@suse.cz>
15523 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
15524 expansion of size_t to 'unsigned long', not only to 'unsigned'.
15526 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
15528 * gdb.threads/tls.c: New file.
15529 * gdb.threads/tls.exp: New file.
15530 * gdb.threads/tls-main.c: New file.
15531 * gdb.threads/tls-shared.c: New file.
15532 * gdb.threads/tls-shared.exp: New file.
15534 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
15536 * gdb.base/annota1.exp: Make sure that we properly escape the
15537 full path of the source file. Xfail more permissive patterns,
15538 due to a compiler debug info problem.
15540 2003-07-07 Andreas Schwab <schwab@suse.de>
15542 * gdb.asm/m68k.inc: New file.
15543 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
15545 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
15546 arguments"): Also match negative number.
15548 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
15550 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
15552 * gdb.base/store.c (charest): New typedef.
15553 (add_char): Rename to add_charest, update.
15554 (wack_char): Rename to wack_charest, update types. Return l + r
15555 to keep r live across the call.
15556 (wack_short, wack_int, wack_long, wack_longest, wack_float)
15557 (wack_double, wack_doublest): Return l + r to keep r live across
15559 * gdb.base/store.exp: Accomodate store.c changes.
15561 2003-06-30 David Carlton <carlton@kealia.com>
15563 * gdb.c++/maint.exp (test_invalid_name): New.
15564 (test_first_component): Add tests for invalid names.
15566 2003-06-29 Michael Chastain <mec@shout.net>
15568 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
15569 output of '<VTT for class>' for virtual base classes.
15571 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
15573 * gdb.base/completion.exp: Tab-complete "complet" instead of
15575 * gdb.base/complex.exp, gdb.base/complex.c: New files.
15577 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
15579 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
15580 * gdb.base/volatile.exp: Likewise.
15582 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
15584 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
15587 2003-06-28 Michael Chastain <mec@shout.net>
15588 Daniel Jacobowitz <drow@mvista.com>
15590 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
15591 initial line count of 'captured_main' from 26 to 32.
15592 (test_with_self): Allow xmalloc call to be interleaved with the
15593 preceding two lines.
15595 2003-06-24 Joel Brobecker <brobecker@gnat.com>
15597 * gdb.base/bang.exp: New testcase.
15599 2003-06-23 Joel Brobecker <brobecker@gnat.com>
15601 * gdb.base/langs.exp: Add some tests for the "minimal" language
15604 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
15606 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
15609 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
15611 * gdb.base/relocate.exp: Test add-symbol-file with a variable
15614 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
15616 * gdb.c++/pr-1210.cc: New file.
15617 * gdb.c++/pr-1210.exp: New file.
15619 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
15621 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
15624 2003-06-15 Mark Kettenis <kettenis@gnu.org>
15626 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
15627 on *-*-*bsd* instead of *-*-freebsd*.
15629 2003-06-14 Andrew Cagney <cagney@redhat.com>
15631 * gdb.base/store.exp: Test longest and doublest. Test all
15632 parameters. Weaken return statement match.
15633 * gdb.base/store.c: Add longest and doublest - aka long long and
15634 long double functions. Put all parameters into local register
15635 variables. Use negative values.
15637 2003-06-14 Andrew Cagney <cagney@redhat.com>
15639 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
15640 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
15642 * gdb.base/fileio.exp: Disable target when nointerrupts and
15643 noinferiorio, instead of limiting it to remote. Use remote_exec
15646 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
15648 * gdb.base/float.exp: Add ia64 support.
15650 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
15652 * gdb.base/fileio.exp: Run only on remote targets.
15654 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
15656 * gdb.base/fileio.c: New file, testing File-I/O.
15657 * gdb.base/fileio.exp: Ditto.
15659 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
15661 * gdb.base/shreloc.exp: New file, check symbol values obtained from
15662 shared objects after relocation at load time (gdb PR/1132).
15663 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
15664 as above, part of the shared object relocation test.
15666 2003-06-08 Mark Kettenis <kettenis@gnu.org>
15668 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
15669 fully filled history list.
15670 * gdb.base/gdb_history: New file.
15672 * gdb.base/signals.exp: XFAIL "continue to func1" on
15675 * gdb.base/attach.exp: When trying to attach to a nonexistent
15676 process, make it possible to specify the PID based on the target,
15677 and do so for *-*-freebsd*.
15679 2003-06-02 Richard Henderson <rth@redhat.com>
15681 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
15683 2003-06-02 Richard Henderson <rth@redhat.com>
15685 * gdb.base/selftest.exp: Next over lim_at_start initialization.
15687 2003-06-02 Richard Henderson <rth@redhat.com>
15689 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
15691 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
15693 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
15696 2003-06-01 Mark Kettenis <kettenis@gnu.org>
15698 * gdb.asm/asm-source.exp: Check for memory read errors in
15699 disassembler test on *BSD too.
15701 2003-06-01 Richard Henderson <rth@redhat.com>
15703 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
15705 (gdbasm_call): Lose ldgp.
15706 (gdbasm_startup): Add frame information.
15707 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
15709 2003-05-31 Mark Kettenis <kettenis@gnu.org>
15711 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
15714 2003-05-30 Mark Kettenis <kettenis@gnu.org>
15716 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15719 2003-05-29 Richard Henderson <rth@redhat.com>
15721 * gdb.asm/alpha.inc: New file.
15722 * gdb.asm/asm-source.exp: Use it.
15724 2003-05-29 Jim Blandy <jimb@redhat.com>
15726 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
15729 2003-05-22 Jim Blandy <jimb@redhat.com>
15731 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
15734 2003-05-20 David Carlton <carlton@math.stanford.edu>
15736 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
15739 2003-05-19 David Carlton <carlton@bactrian.org>
15741 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
15742 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
15744 2003-05-19 David Carlton <carlton@bactrian.org>
15746 * gdb.c++/namespace.exp: Add namespace scope and anonymous
15748 Bump copyright date.
15749 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
15750 (main): Call C::D::marker2.
15751 * gdb.c++/namespace1.cc: New file.
15753 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
15755 Roland McGrath <roland@redhat.com>
15756 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
15757 there is no manager thread.
15759 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
15761 * gdb.threads/schedlock.exp: Remove assumption that all threads
15762 will run in a particular small time slice. Also ensure we break
15763 in one of the child threads rather than the main thread.
15765 2003-05-07 Jim Blandy <jimb@redhat.com>
15767 Add support for assembly source testing on the s390x.
15768 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
15770 * gdb.asm/s390x.inc: New file.
15772 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
15773 succession of 'if' statements.
15775 2003-05-05 Andrew Cagney <cagney@redhat.com>
15777 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
15779 2003-05-05 Andrew Cagney <cagney@redhat.com>
15781 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
15782 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
15784 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
15786 * gdb.base/charset.exp: Update based on new behavior of set/show
15789 2003-05-01 Andrew Cagney <cagney@redhat.com>
15791 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
15792 variable do not give memory errors.
15794 2003-04-30 Adam Fedor <fedor@gnu.org>
15796 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
15797 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
15798 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
15799 gdb.objc/basicclass.m: : New files
15801 * lib/gdb.exp (gdb_compile_objc): New procedure.
15803 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
15805 * gdb.base/signals.exp: Make backtrace tests more specific.
15807 2003-04-23 David Carlton <carlton@bactrian.org>
15809 * gdb.c++/maint.exp (test_first_component): Add tests for
15810 'operator' in more locations.
15812 2003-04-16 Kevin Buettner <kevinb@redhat.com>
15814 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
15816 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
15818 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
15819 func marke' instead. Update test name.
15821 2003-04-15 David Carlton <carlton@math.stanford.edu>
15823 * gdb.c++/maint.exp: New file.
15825 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
15827 * gdb.threads/schedlock.c: Change type of thread function argument
15828 to long, to avoid warnings on 64-bit platforms.
15830 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
15832 * gdb.base/attach.exp: Add new message from ptrace in case of
15833 attaching to nonexistent process.
15835 2003-04-11 Jim Blandy <jimb@redhat.com>
15837 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15838 gdb.c++/userdef.cc: Place comments on the lines to which the
15839 marker function might return.
15840 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15841 gdb.c++/userdef.exp: Look for those comments to check that we've
15842 returned to the right place, instead of checking line numbers.
15844 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
15846 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
15847 match on sourcefile name, instead of directory name.
15849 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
15851 * gdb.base/completion.exp: Use string_to_regexp to match the
15852 working directory name.
15854 2003-04-09 Jim Blandy <jimb@redhat.com>
15856 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
15857 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
15858 after an inferior function call, report the failure, but allow the
15861 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15863 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15866 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
15868 * gdb.base/break.exp: Revert last patch.
15870 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
15872 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
15875 2003-04-02 Andrew Cagney <cagney@redhat.com>
15877 * gdb.base/callfuncs.exp: Make "print add" messages unique.
15878 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
15879 matching directories by the name breakpoint.
15880 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
15881 Make "continue to marker1" consistent.
15882 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
15883 message consistent.
15884 * lib/gdb.exp: Put "the program is no longer running", and "the
15885 program exited" in parenthesis.
15886 * lib/mi-support.exp: Ditto.
15888 2003-04-02 Bob Rossi <bob_rossi@cox.net>
15890 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
15892 2003-03-29 Andrew Cagney <cagney@redhat.com>
15894 * gdb.base/sizeof.c (main): Print the value of '\377'.
15895 * gdb.base/sizeof.exp: Check the sign of '\377'.
15897 2003-03-27 Michael Chastain <mec@shout.net>
15899 * gdb.base/gdb1090.exp: New file.
15900 * gdb.base/gdb1090.cc: New file.
15902 2003-03-27 J. Brobecker <brobecker@gnat.com>
15904 * gdb.gdb/observer.exp: New regression test.
15906 2003-03-27 Michael Chastain <mec@shout.net>
15908 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
15909 * gdb.base/ptype.exp: Likewise.
15911 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
15913 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
15915 2003-03-26 Michael Chastain <mec@shout.net>
15917 * gdb.base/ptype.exp: Actually use some typedef'd types.
15919 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
15921 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
15922 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
15924 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15926 * gdb.base/default.exp: Fix regular expression.
15928 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15930 * gdb.base/args.exp: Fix regular expression.
15932 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15934 * gdb.base/help.exp: Allow Win32 child process.
15936 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15938 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
15939 when stepping out of main().
15941 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15943 * gdb.base/default.exp: Check for win32 specific message when calling
15944 "run" without executable.
15946 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15948 * gdb.base/args.exp: Expect .exe in output.
15950 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
15952 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
15955 2003-03-17 Andrew Cagney <cagney@redhat.com>
15957 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
15959 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
15960 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
15962 2003-03-17 David Carlton <carlton@math.stanford.edu>
15964 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
15965 test, for PR breakpoints/38.
15966 Call test_watchpoint_and_breakpoint.
15967 * gdb.base/watchpoint.c (func3): New function.
15968 (main): Call func3.
15970 2003-03-04 David Carlton <carlton@math.stanford.edu>
15972 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
15973 Garply<Garply<char> >:: garply".
15974 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
15975 with respect to PR c++/1111; note also PR c++/1113.
15976 (test_template_breakpoints): KFAIL "constructor breakpoint" with
15977 respect to PR c++/1062.
15978 KFAIL "destructor breakpoint" with respect to PR c++/1112.
15980 2003-03-03 David Carlton <carlton@math.stanford.edu>
15982 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
15983 with respect to PR c++/57.
15984 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
15986 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
15987 respect to PR c++/57.
15989 2003-03-03 David Carlton <carlton@math.stanford.edu>
15991 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
15992 respect to PR c++/33 into FAILs.
15994 2003-03-03 Michael Chastain <mec@shout.net>
15996 * configure.in: Update copyright years.
15998 2003-03-03 Michael Chastain <mec@shout.net>
16000 * Makefile.in: Update copyright years.
16002 2003-02-28 David Carlton <carlton@math.stanford.edu>
16004 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16005 print class instead of struct and/or superfluous protection
16006 specifiers, as long as the resulting output is equivalent to the
16008 Delete FIXME from end of messages on tests that don't need
16011 2003-02-28 David Carlton <carlton@math.stanford.edu>
16013 * gdb.c++/templates.exp (do_tests): Allow const in the two
16014 Foo<volatile char *>::foo tests.
16016 2003-02-27 Michael Snyder <msnyder@redhat.com>
16018 * gdb.base/restore.c (main): Return zero, so exit code
16019 will be consistant.
16021 2003-02-26 David Carlton <carlton@math.stanford.edu>
16023 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16024 char *>::foo" test with respect to PR c++/33. Create a new test
16025 which is identical to that one except that it doesn't put the
16026 space between the "char" and the "*"; KFAIL it, too.
16028 2003-02-26 David Carlton <carlton@math.stanford.edu>
16030 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16031 template types into either PASSes or KFAILs (corresponding to PR
16032 c++/57). Tweak indentation. Update copyright.
16034 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16036 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16038 2003-02-13 Michael Chastain <mec@shout.net>
16040 * gdb.base/exprs.exp: Remove i960 remnants.
16041 * gdb.base/funcargs.exp: Likewise.
16042 * gdb.base/list.exp: Likewise.
16043 * gdb.base/ptype.exp: Likewise.
16045 2003-02-14 David Carlton <carlton@math.stanford.edu>
16047 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16048 pEe->D::vg()" from XFAIL to KFAIL.
16050 2003-02-13 Jason Molenda (jmolenda@apple.com)
16052 * gdb.base/maint.exp: Update maint print statistics regexp to include
16055 2003-02-13 Michael Chastain <mec@shout.net>
16057 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16059 2003-02-12 Michael Chastain <mec@shout.net>
16061 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16062 * gdb.c++/inherit.exp: Likewise.
16063 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16064 * gdb.c++/templates.exp: Likewise.
16065 * gdb.c++/virtfunc.exp: Likewise.
16067 2003-02-06 Jason Molenda (jason-cl@molenda.com)
16069 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16070 why the code is written that way.
16072 2003-02-05 Michael Chastain <mec@shout.net>
16074 * gdb.base/dump.exp: Add missing copyright line.
16076 2003-02-05 Jason Molenda (jason-cl@molenda.com)
16078 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
16079 at the beginning so the breakpoint doesn't get set on the loop.
16081 2003-02-05 Michael Chastain <mec@shout.net>
16083 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16084 output for configurations with gcc 2.95.3.
16086 2003-02-05 Keith Seitz <keiths@redhat.com>
16087 Andrew Cagney <ac131313@redhat.com>
16089 * gdb.mi/mi-cli.exp: New file.
16091 2003-02-04 Michael Chastain <mec@shout.net>
16093 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
16094 Call perror and then continue.
16096 2003-02-03 Michael Chastain <mec@shout.net>
16098 * gdb.c++/pr-1023.cc: New file.
16099 * gdb.c++/pr-1023.exp: New file.
16101 2003-02-05 Jim Blandy <jimb@redhat.com>
16103 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
16104 it's local to foobar. Check for it there, and check that it's not
16106 * gdb.c++/local.cc (marker2): New function.
16107 (foobar): Call marker1.
16108 (main): Call marker2 instead of marker1.
16110 2003-02-04 Andrew Cagney <ac131313@redhat.com>
16112 * gdb.disasm/mn10200.exp: Obsolete file.
16113 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
16114 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
16115 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
16117 2003-02-04 David Carlton <carlton@math.stanford.edu>
16119 * gdb.c++/overload.exp: Test intToChar(1).
16120 * gdb.c++/overload.cc (intToChar): New.
16121 (main): Call intToChar.
16123 2003-02-03 David Carlton <carlton@math.stanford.edu>
16125 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
16127 KFAIL some of the continue_to_bp_overloaded calls, according to
16130 2003-02-01 Michael Chastain <mec@shout.net>
16132 * gdb.base/advance.c (marker1): New marker function.
16133 * gdb.base/advance.exp: When the 'advance' command lands on the
16134 return breakpoint, it can legitimately stop on either the
16135 current line or the next line. Accommodate both outcomes.
16136 * gdb.base/until.exp: Likewise.
16138 2003-02-02 Andrew Cagney <ac131313@redhat.com>
16140 2002-11-10 Jason Molenda (jason-cl@molenda.com):
16141 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
16142 now a list, not a tuple.
16143 * gdb.mi/mi-var-display.exp: Ditto.
16144 * gdb.mi/gdb792.exp: Ditto.
16146 2003-02-01 Andrew Cagney <ac131313@redhat.com>
16148 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
16149 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
16151 * gdb.mi/mi-syn-frame.c: Part of same.
16153 2003-02-01 Mark Kettenis <kettenis@gnu.org>
16155 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16156 gdb.mi/mi1-pthreads.exp: Return instead of calling
16157 gdb_suppress_entire_file.
16159 2003-02-01 Mark Salter <msalter@redhat.com>
16161 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
16163 2003-01-31 Mark Salter <msalter@redhat.com>
16165 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
16168 2003-01-30 Michael Chastain <mec@shout.net>
16170 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
16171 This was a workaround for a UTF-8 bug in readline 4.3. The bug
16172 has been fixed in gdb/readline on 2003-01-09.
16174 2003-01-29 Michael Snyder <msnyder@redhat.com>
16176 * gdb.base/maint.exp: Allow for leading underscore in symbol.
16177 * gdb.base/display.exp: Allow for leading underscore in symbol.
16178 * gdb.base/args.exp: Skip if target does not support args passing.
16180 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
16182 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
16183 gdb_test. Accept a list of expect arguments as the third
16185 (gdb_test): Use it.
16187 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
16189 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
16190 allow for different test tree configurations. Update some
16191 tescases accordingly.
16192 * gdb.arch/altivec-regs.exp: Ditto.
16193 * gdb.asm/asm-source.exp: Ditto.
16194 * gdb.base/advance.exp: Ditto.
16195 * gdb.base/display.exp: Ditto.
16196 * gdb.base/long_long.exp: Ditto.
16197 * gdb.base/mips_pro.exp: Ditto.
16198 * gdb.base/overlays.exp: Ditto.
16199 * gdb.base/relocate.exp: Ditto.
16200 * gdb.base/setshow.exp: Ditto.
16201 * gdb.base/step-line.exp: Ditto.
16202 * gdb.base/step-test.exp: Ditto.
16203 * gdb.base/until.exp: Ditto.
16204 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
16206 2003-01-17 David Carlton <carlton@math.stanford.edu>
16208 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
16209 corresponding to PR c++/945.
16212 2003-01-17 David Carlton <carlton@math.stanford.edu>
16214 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
16215 corresponding to PR c++/68.
16217 2003-01-17 David Carlton <carlton@math.stanford.edu>
16219 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
16220 (test_paddr_hairy_functions): Call print_addr_2_kfail for
16221 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
16223 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
16225 * gdb.base/break.exp: Fix change of default location, because of
16226 removal of until tests.
16227 * gdb.base/help.exp: Update test for new 'until' help message.
16228 Add test for help on 'advance'.
16229 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
16231 2003-01-15 Mark Kettenis <kettenis@gnu.org>
16233 * gdb.base/default.exp: Adapt "info float" test for recent changes
16234 to that command. Add test for "info vector".
16235 * gdb.base/float.exp: New file. Add test for "info float" that
16236 resembles the old test in gdb.base/default.exp.
16238 2003-01-15 David Carlton <carlton@math.stanford.edu>
16240 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
16242 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
16244 * gdb.base/break.exp: Move the tests of until command from here...
16245 * gdb.base/until.exp: ... to here. New file. Add other tests.
16246 * gdb.base/advance.c: New file.
16247 * gdb.base/advance.exp: New file.
16249 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
16251 * gdb.base/args.c: New file.
16252 * gdb.base/args.exp: New file.
16254 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
16256 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
16258 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
16260 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
16262 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
16264 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
16267 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16269 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
16271 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16273 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
16275 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
16277 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16279 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
16280 * gdb.mi/mi1-console.exp: Likewise.
16282 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16284 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
16285 * gdb.mi/mi1-console.exp: Likewise.
16287 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
16289 * gdb.c++/overload.exp: Remove some fixed XFAILs.
16291 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
16293 * gdb.base/detach.exp: New test.
16295 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
16297 * Makefile.in (ALL_SUBDIRS): New variable.
16298 (subdirs, clean, distclean): Use it.
16299 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
16300 regenerating Makefile, since it is generated from the top level.
16301 * gdb.asm/Makefile.in: Likewise.
16302 * gdb.base/Makefile.in: Likewise.
16303 * gdb.c++/Makefile.in: Likewise.
16304 * gdb.disasm/Makefile.in: Likewise.
16305 * gdb.java/Makefile.in: Likewise.
16306 * gdb.mi/Makefile.in: Likewise.
16307 * gdb.threads/Makefile.in: Likewise.
16308 * gdb.trace/Makefile.in: Likewise.
16310 2003-01-09 David Carlton <carlton@math.stanford.edu>
16312 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
16313 Add copyright year 2003.
16315 2003-01-06 Michael Chastain <mec@shout.net>
16317 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
16318 When selecting a thread, 'line' and 'file' are optional.
16319 * gdb.mi/mi1-pthreads.exp: Likewise.
16321 2003-01-06 Andreas Schwab <schwab@suse.de>
16323 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
16326 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
16329 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
16330 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
16332 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
16333 instead of calling gdb_suppress_entire_file.
16334 * gdb.threads/print-threads.exp: Likewise.
16335 * gdb.threads/schedlock.exp: Likewise.
16337 * gdb.threads/killed.exp: Return instead of calling
16338 gdb_suppress_entire_file.
16339 * gdb.threads/linux-dp.exp: Likewise.
16340 * gdb.threads/pthreads.exp: Likewise.
16342 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
16344 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
16346 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
16347 * gdb.base/whatis.exp: Always allow (void) after function names.
16349 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
16351 * gdb.c++/casts.exp: Correct regexp.
16353 2003-01-04 Mark Kettenis <kettenis@gnu.org>
16355 * configure.in: Call AC_CONFIG_HEADER. Don't call
16356 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
16357 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
16358 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
16359 aforementioned directories in the AC_OUPUT call.
16360 * config.hin: New file.
16361 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
16362 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
16363 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
16364 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
16365 pass -I$objdir instead of -I$objdir/$subdir in compilation.
16366 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
16367 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
16368 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
16369 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
16370 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
16371 gdb.threads/configure.in, gdb.threads/configure,
16372 gdb.threads/config.in, gdb.trace/configure.in,
16373 gdb.trace/configure: Removed.
16375 2003-01-03 Michael Chastain <mec@shout.net>
16377 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
16378 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
16380 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
16382 * gdb.base/store.exp: Fix regular expressions.
16384 2002-12-28 Mark Kettenis <kettenis@gnu.org>
16386 * configure.in: Rewrite.
16387 * configure: Regenerated.
16389 2003-01-03 David Carlton <carlton@math.stanford.edu>
16391 * gdb.base/psymtab.exp: New file.
16392 * gdb.base/psymtab1.c: Ditto.
16393 * gdb.base/psymtab2.c: Ditto.
16395 2002-12-23 Adam Fedor <fedor@gnu.org>
16397 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
16399 2002-12-23 David Carlton <carlton@math.stanford.edu>
16401 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
16402 and current_directory initialization.
16404 2002-12-22 Jim Blandy <jimb@redhat.com>
16406 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
16407 rather than as part of the output file name.
16409 * gdb.base/attach.exp: There's no need to copy the test program to
16410 /tmp; that was only ever necessary on HP/UX, and this test is
16411 entirely disabled there anyway.
16413 2002-12-21 Jim Blandy <jimb@redhat.com>
16415 * gdb.c++/psmang.exp: Doc fix.
16417 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
16420 2002-12-20 David Carlton <carlton@math.stanford.edu>
16422 * gdb.c++/annota2.exp: KFAIL annotate-quit.
16424 2002-12-18 Michael Chastain <mec@shout.net>
16426 * gdb.c++/annota2.exp: Add copyright year 2002.
16428 2002-12-17 David Carlton <carlton@math.stanford.edu>
16430 * gdb.c++/try_catch.cc: Add marker comments.
16431 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
16432 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
16433 * gdb.c++/m-static.cc: Ditto.
16434 * gdb.c++/m-static1.cc: Ditto.
16435 * gdb.c++/try_catch.cc: Ditto.
16437 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
16439 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
16440 to see whether we are using the new -environment-directory
16441 command which resets via -r or the old version of the command
16442 which may prompt the user. Part of fix for gdb/741.
16444 2002-12-13 Andrew Cagney <ac131313@redhat.com>
16446 * gdb.fortran/types.exp: Update obsolete comment.
16447 * gdb.fortran/exprs.exp: Ditto.
16448 * lib/gdb.exp: Delete obsolete code.
16449 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
16450 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
16451 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
16452 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
16453 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
16454 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
16455 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
16456 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
16457 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
16458 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
16459 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
16460 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
16461 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
16462 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
16463 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
16464 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
16465 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
16466 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
16467 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
16468 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
16469 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
16470 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
16471 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
16472 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
16473 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
16474 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
16475 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
16476 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
16477 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
16478 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
16479 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
16480 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
16481 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
16482 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
16483 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
16484 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
16485 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
16487 2002-12-11 David Carlton <carlton@math.stanford.edu>
16489 * gdb.c++/m-data.exp: Add test for members that shadow global
16490 variables: see PR gdb/804.
16491 * gdb.c++/m-data.cc: Ditto.
16493 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
16495 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
16497 2002-12-06 David Carlton <carlton@math.stanford.edu>
16499 * gdb.base/store.c: Don't declare functions static.
16501 2002-12-04 Andrew Cagney <ac131313@redhat.com>
16503 * gdb.base/store.exp, gdb.base/store.c: New files.
16505 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
16507 * gdb.base/selftest.exp: Update for current gdb.
16509 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
16511 * gdb.base/maint.exp: Only dump symbols from one source file
16514 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
16516 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
16519 2002-11-25 Jim Blandy <jimb@redhat.com>
16521 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
16522 function appearing in error message.
16524 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
16526 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
16528 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
16530 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
16531 for mi1 and current mi is in correct format. New mi startup message
16532 should be in mi console format. This is part of fix for PR gdb/604.
16534 2002-09-18 Fernando Nasser <fnasser@redhat.com>
16536 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
16537 which explicitly prints the zero offset as "+0".
16539 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
16541 * gdb.threads/schedlock.c (args): Make unsigned.
16543 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
16545 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
16546 numbers. Allow "foo2|selected stack frame".
16547 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
16548 * gdb.asm/asmsrc2.s: Likewise.
16549 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
16551 * gdb.asm/mips.inc: New file.
16553 2002-10-18 Adam Fedor <fedor@gnu.org>
16555 * gdb.base/default.exp: Update expected output to include 'ObjC'.
16556 * gdb.base/help.exp: Likewise.
16558 2002-10-17 Kevin Buettner <kevinb@redhat.com>
16560 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
16561 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
16563 2002-10-02 Jim Blandy <jimb@redhat.com>
16565 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
16567 2002-10-01 Andrew Cagney <ac131313@redhat.com>
16569 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
16570 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
16571 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
16572 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
16573 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
16574 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
16575 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
16577 2002-09-29 Andrew Cagney <ac131313@redhat.com>
16579 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
16580 * mi0-disassemble.exp, mi0-eval.exp: Delete.
16581 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
16582 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
16583 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
16584 * mi0-var-block.exp, mi0-var-child.exp: Delete.
16585 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
16587 2002-09-27 Kevin Buettner <kevinb@redhat.com>
16589 * gdb.base/annota1.exp (info break): Make directory components of
16590 path optional since not all compilers emit this debug information.
16592 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
16593 step ends up stepping out of the function instead of stopping on
16596 2002-09-26 Keith Seitz <keiths@redhat.com>
16598 * lib/insight-support.exp (gdbtk_start): Figure out where
16599 the insight executable is based on where gdb is. Use this
16600 executable to start insight instead of gdb.
16602 2002-09-25 Andrew Cagney <cagney@redhat.com>
16604 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
16606 2002-09-24 Andrew Cagney <ac131313@redhat.com>
16608 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
16609 test_isolated_complaints.
16610 (test_empty_complaint): New function.
16611 (test_empty_complaints): New function. Check no output when no
16614 2002-09-19 Jim Blandy <jimb@redhat.com>
16616 * gdb.base/charset.exp, gdb.base/charset.c: New files.
16618 2002-09-19 Andrew Cagney <ac131313@redhat.com>
16620 * gdb.gdb/complaints.exp: New file.
16622 2002-09-18 Andrew Cagney <ac131313@redhat.com>
16624 * gdb.base/maint.exp: Check `help maint internal-warning'.
16626 2002-09-18 David Carlton <carlton@math.stanford.edu>
16628 * gdb.c++/m-static.exp: Remove breakpoints depending on line
16629 numbers, and replace them by a single breakpoint after the
16630 constructors are all finished.
16632 * gdb.c++/m-static.cc: Add test 4.
16633 * gdb.c++/m-static.h: New file.
16634 * gdb.c++/m-static1.cc: New file.
16636 * gdb.c++/printmethod.exp: New file.
16637 * gdb.c++/printmethod.cc: New file.
16639 * gdb.c++/pr-574.exp: New file.
16640 * gdb.c++/pr-574.cc: New file.
16642 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
16644 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
16645 embedded targets which never actually exit.
16647 2002-09-18 Fernando Nasser <fnasser@redhat.com>
16649 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
16650 "don't step after run" as unresolved or unsupported, instead of xfail.
16652 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
16654 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
16655 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
16656 Add newline to expected string in "step out of main (status wrapper)"
16659 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
16661 * lib/gdb.exp (rerun_to_main): Allow restarting application.
16662 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
16664 2002-09-17 Tom Tromey <tromey@redhat.com>
16666 * gdb.base/printcmds.exp (test_print_string_constants): Expect
16667 \000, not \0, in double-quoted string.
16669 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
16671 * gdb.base/commands.exp: Don't expect a "Program exited normally"
16672 string after running the commands execution on breakpoint tests.
16674 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
16676 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
16678 2002-09-12 Joel Brobecker <brobecker@gnat.com>
16680 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
16682 2002-09-10 Keith Seitz <keiths@redhat.com>
16684 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
16686 (mi_run_to_main): Use mi_runto.
16687 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
16689 2002-09-10 Keith Seitz <keiths@redhat.com>
16691 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
16692 regexp for stopping at main. Could have multiple event notifications.
16693 Don't assume that main was declared with no parameters.
16694 (mi_next): Use mi_step_to.
16695 (mi_step): Use mi_next_to.
16697 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
16699 * gdb.base/default.exp: Fix expected string in `info float' test.
16701 2002-09-09 Ben Elliston <bje@redhat.com>
16703 * config/mips.exp: Update comments.
16704 * config/mips-idt.exp: Likewise.
16705 * config/nind.exp: Likewise.
16706 * config/slite.exp: Likewise.
16707 * config/sparclet.exp: Likewise.
16708 * config/udi.exp: Likewise.
16709 * config/vx.exp: Likewise.
16710 * config/vxworks29k.exp: Likewise.
16712 2002-09-05 Jim Blandy <jimb@redhat.com>
16714 * gdb.threads/killed.exp: Fix test failure message.
16716 2002-09-04 Keith Seitz <keiths@redhat.com>
16718 * lib/mi-support.exp: Update copyright.
16719 (mi_gdb_test): Increase the priority of the expected pattern
16720 so that it matches gdb_test.
16722 2002-09-03 Keith Seitz <keiths@redhat.com>
16724 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
16725 Use integer comparison instead of string comparison for testing
16726 whether binary was built.
16728 2002-09-03 Jim Blandy <jimb@redhat.com>
16730 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
16732 2002-08-29 Jim Blandy <jimb@redhat.com>
16734 * gdb.threads/pthreads.exp: Move the portable thread compilation
16735 code into a function in lib/gdb.exp, and call that from here.
16736 * lib/gdb.exp (gdb_compile_pthreads): New function.
16738 2002-08-29 Keith Seitz <keiths@redhat.com>
16740 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
16741 expect_out so that callers can get at it.
16743 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
16745 * gdb.threads/print-threads.c: New file.
16746 * gdb.threads/print-threads.exp: New file.
16747 * gdb.threads/schedlock.c: New file.
16748 * gdb.threads/schedlock.exp: New file.
16750 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
16752 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
16755 2002-08-17 Mark Kettenis <kettenis@gnu.org>
16757 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
16758 targets. The problem should be fixed now.
16760 2002-08-15 Mark Kettenis <kettenis@gnu.org>
16762 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
16763 2002-07-24 change that removes final dots from error messages.
16765 2002-08-13 Tom Tromey <tromey@redhat.com>
16767 * gdb.base/readline.exp: New file.
16769 2002-08-01 Andrew Cagney <ac131313@redhat.com>
16771 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
16774 2002-08-01 Andrew Cagney <cagney@redhat.com>
16776 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
16777 CHILL_FOR_TARGET and CHILL_LIB.
16778 * configure.in (configdirs): Remove gdb.chill.
16779 * configure: Regenerate.
16780 * lib/gdb.exp: Obsolete references to chill.
16781 * gdb.fortran/types.exp: Ditto.
16782 * gdb.fortran/exprs.exp: Ditto.
16784 2002-07-30 Kevin Buettner <kevinb@redhat.com>
16786 * gdb.base/shlib-call.exp (additional_flags): Conditionally
16787 set Irix-specific compile and link flags.
16789 2002-07-29 Kevin Buettner <kevinb@redhat.com>
16791 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
16792 source files. The ``-o'' option doesn't work with the ``-E'' option
16793 when using the Irix compiler.
16795 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
16797 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
16798 Improve support for reusing an exec file. Copy exec file
16799 to target, and run gdbserver on the target instead of on the host.
16801 2002-07-18 Jim Blandy <jimb@redhat.com>
16803 * gdb.base/ending-run.exp: Don't expect to see the program end in
16804 some orderly fashion when we're running on a real stand-alone
16807 * gdb.base/interrupt.exp: Correct logic for skipping tests on
16808 targets that don't support interrupts.
16810 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
16812 * gdb.base/attach.exp: Add patterns to match output from /proc-based
16814 Move comments in expect statements to inside the actions, so that they
16815 don't get matched against.
16817 2002-07-10 Mark Kettenis <kettenis@gnu.org>
16819 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
16820 function when asleep" test.
16822 2002-07-10 Andrew Cagney <ac131313@redhat.com>
16824 * gdb.base/page.exp: Rewrite to handle problems with very long
16825 `info set' output. Update copyright.
16827 2002-06-26 Andrew Cagney <ac131313@redhat.com>
16829 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
16831 * gdb.hp/configure: Regenerate.
16832 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
16833 * gdb.hp/gdb.threads-hp/configure: Delete file.
16834 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
16836 2002-06-22 Andrew Cagney <ac131313@redhat.com>
16838 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
16839 setlocale, bindtextdomain and textdomain.
16841 2002-06-11 Jim Blandy <jimb@redhat.com>
16843 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
16844 preprocessor macro information is present.
16846 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
16849 2002-06-06 Michael Snyder <msnyder@redhat.com>
16851 * gdb.base/overlays.exp: Record addresses of overlay
16852 functions in TCL variables rather than in GDB variables,
16853 to avoid having GDB convert them to pointers (with loss
16856 * gdb.base/d10v.ld: Merge in several years worth of
16857 default linker script changes.
16858 * gdb.base/long_long.exp: Add check for sizeof (long double).
16860 2002-06-06 Michal Ludvig <mludvig@suse.cz>
16862 * gdb.asm/asm-source.exp: Add x86-64 target.
16863 * gdb.asm/x86_64.inc: New.
16865 2002-05-30 Michael Chastain <mec@shout.net>
16867 From Benjamin Kosnik <bkoz@redhat.com>:
16868 * gdb.c++/m-static.cc: New file.
16869 * gdb.c++/m-static.exp: New file.
16871 2002-05-28 Michael Snyder <msnyder@redhat.com>
16873 * gdb.base/call-ar-st.exp: Allow for reduced floating point
16876 2002-05-27 Michael Chastain <mec@shout.net>
16878 From Benjamin Kosnik <bkoz@redhat.com>:
16879 * gdb.c++/m-data.cc: New file.
16880 * gdb.c++/m-data.exp: New file.
16882 2002-05-27 Michael Chastain <mec@shout.net>
16884 From Benjamin Kosnik <bkoz@redhat.com>:
16885 * gdb.c++/try_catch.cc: New file.
16886 * gdb.c++/try_catch.exp: New file.
16888 2002-05-27 Michael Chastain <mec@shout.net>
16890 * gdb.c++/local.exp: Accept more nested types in output.
16892 2002-05-26 Michael Chastain <mec@shout.net>
16894 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
16896 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
16898 * lib/gdb.exp (gdb_wrapper_init): Just because
16899 gdb_wrapper_file exists, this does not mean that the file
16900 should not be rebuilt. That is what gdb_wrapper_initialized
16902 (default_gdb_init): Reset gdb_wrapper_initialized.
16904 2002-05-23 Michael Snyder <msnyder@redhat.com>
16906 * gdb.base/all-bin.exp: Revise previous patch by just reducing
16907 the precision of the floating point test results.
16908 * gdb.base/call-rt-st.exp: Ditto.
16910 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
16911 * gdb.base/call-rt-st.exp: Ditto.
16913 2002-05-19 Michael Chastain <mec@shout.net>
16915 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
16917 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
16919 * configure.in (configdirs): Add gdb.arch.
16920 * configure: Regenerate.
16922 2002-05-17 Jim Blandy <jimb@redhat.com>
16924 * gdb.base/completion.exp: Recognize the more detailed error
16925 messages produced by the macro expander's lexical analyzer.
16927 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
16929 * gdb.arch/altivec-abi.c: New file.
16930 * gdb.arch/altivec-abi.exp: New file.
16931 * gdb.arch/altivec-regs.c: New file.
16932 * gdb.arch/altivec-regs.exp: New file.
16934 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
16936 * gdb.base/maint.exp (maint print type): Update for new type
16939 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
16941 * gdb.arch: New directory.
16942 * gdb.arch/configure.in: New file.
16943 * gdb.arch/configure: New file.
16944 * gdb.arch/Makefile.in: New file.
16946 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
16948 * gdb.asm/asm-source.exp: Add v850 as supported target.
16949 * gdb.asm/v850.inc: New file.
16951 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
16953 * gdb.c++/annota2.exp (annotate-quit): Add comment.
16955 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
16957 * gdb.base/break.exp: Check 'break "marker2"'.
16959 2002-05-10 Michael Snyder <msnyder@redhat.com>
16961 * gdb.base/long_long.exp: Fix typo.
16963 2002-05-10 Jim Blandy <jimb@redhat.com>
16965 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
16968 * gdb.base/printcmds.exp (test_integer_literals_rejected):
16969 Recognize more detailed error message produced by the macro
16970 expander's lexical analyzer.
16971 * lib/gdb.exp (test_print_reject): Same.
16973 2002-05-09 Mark Kettenis <kettenis@gnu.org>
16975 * gdb.c++/method.exp: Fix typo.
16977 2002-05-08 Michael Snyder <msnyder@redhat.com>
16979 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
16980 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
16981 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
16982 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
16983 Add iftarget clause for strongarm.
16985 2002-05-06 Michael Snyder <msnyder@redhat.com>
16987 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
16988 (gdb_continue_to_end): Accept output from status wrapper.
16989 * gdb.base/ending-run.exp: Add case for output from status wrapper.
16990 Clean up fail messages to match pass messages.
16992 Enable the "needs_status_wrapper" testsuite feature.
16993 * lib/gdb.exp (gdb_wrapper_init): New procedure.
16994 (gdb_compile): Conditionally call gdb_wrapper_init.
16995 * gdb.base/a2-run.exp: Recognize output from status wrapper.
16996 * gdb.c++/method.exp: Recognize output from status wrapper.
16998 2002-05-06 Ben Elliston <bje@redhat.com>
16999 From Graydon Hoare <graydon@redhat.com>
17001 * config/sid.exp: Include support for "rawsid" protocol.
17003 2002-05-03 Jim Blandy <jimb@redhat.com>
17005 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17006 * gdb.c++/hang3.C: New file.
17008 2002-05-04 Andrew Cagney <ac131313@redhat.com>
17010 * gdb.base/default.exp: Remove obsolete code.
17011 * gdb.c++/misc.exp: Ditto. Update copyright.
17012 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17013 * gdb.base/whatis.exp: Ditto. Update copyright.
17014 * gdb.base/scope.exp: Ditto. Update copyright.
17015 * gdb.base/ptype.exp: Ditto. Update copyright.
17016 * gdb.base/printcmds.exp: Ditto. Update copyright.
17017 * gdb.base/opaque.exp: Ditto. Update copyright.
17018 * gdb.base/list.exp: Ditto.
17019 * gdb.base/funcargs.exp: Ditto. Update copyright.
17020 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17021 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17022 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17023 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17024 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17025 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17027 2002-05-02 Michael Snyder <msnyder@redhat.com>
17029 * gdb.base/watchpoint.exp: Add xscale target.
17030 * gdb.base/long_long.exp: Add xscale target.
17031 * gdb.base/default.exp: Add xscale target.
17033 2002-05-01 Jim Blandy <jimb@redhat.com>
17035 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17036 gdb.c++/hang.exp: New test.
17038 2002-05-01 Fred Fish <fnf@redhat.com>
17040 * gdb.base/completion.exp: Handle completions of "./Make" for
17041 more than one completion possibility, as is the case when we
17042 build and test in the source tree.
17044 2002-04-29 Anthony Green <green@redhat.com>
17046 * gdb.java/jmisc1.exp: New file.
17047 * gdb.java/jmisc2.exp: New file.
17049 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
17051 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17053 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
17055 * gdb.base/help.exp: Change 'help status' to allow for target
17056 dependent output differences.
17058 2002-04-22 Michael Chastain <mec@shout.net>
17060 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17062 2002-04-22 Michael Chastain <mec@shout.net>
17064 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17066 2002-04-17 David S. Miller <davem@redhat.com>
17068 * gdb.asm/sparc64.inc: New file.
17069 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17071 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
17073 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17074 instruction file directly into the build tree. Clean up at end of
17077 2002-04-18 David S. Miller <davem@redhat.com>
17079 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17080 handle 64-bit platforms correctly.
17081 * gdb.base/maint.exp: Likewise.
17083 2002-04-18 Kevin Buettner <kevinb@redhat.com>
17085 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17086 ``-fpic'' when compiling files comprising a shared library, but
17087 it does need additional linker flags in order to find shared
17088 libraries at run time.
17090 2002-04-18 Kevin Buettner <kevinb@redhat.com>
17092 * gdb.base/cvexpr.c (use): New function.
17093 (main): Invoke use() on all global variables to prevent
17094 some linkers from deleting these otherwise unused symbols.
17096 2002-04-17 Michael Chastain <mec@shout.net>
17097 From David S. Miller <davem@redhat.com>
17099 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
17100 handle 64-bit platforms correctly.
17102 2002-04-12 Michael Snyder <msnyder@redhat.com>
17103 From Jim Blandy <jimb@redhat.com>
17104 * gdb.base/foo.c (foox): Remove section attribute; the linker
17105 script can handle this instead.
17106 * gdb.base/bar.c (barx): Same.
17107 * gdb.base/baz.c (bazx): Same.
17108 * gdb.base/grbx.c (grbxx): Same.
17110 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
17111 manager doesn't automatically unmap overlays unnecessarily.
17113 2002-04-10 Martin M. Hunt <hunt@redhat.com>
17115 * gdb.base/ending-run.exp: Fix pattern for Mips targets
17116 stepping out of main.
17118 2002-04-09 Michael Chastain <mec@shout.net>
17120 * gdb.c++/local.cc (main): Move call to marker1() inside nested
17121 scope so that the nested scope tests will make sense.
17122 * gdb.c++/local.exp: Write patterns that actually work with gcc
17123 (the HP patterns "were never known to work with gcc").
17124 Keep the old aCC patterns too.
17126 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
17128 * gdb.base/attach.exp: Correct target board test.
17130 2002-04-08 Michael Chastain <mec@shout.net>
17132 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
17133 in a const method. Add some xfail and fail cases for configurations
17134 that do not emit the "const ...".
17136 2002-04-07 Michael Chastain <mec@shout.net>
17138 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
17139 Accept "A * const" and "const A * const" as type of "this".
17140 Fix spelling of getFunky throughout. Make messages uniform.
17142 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
17144 Work around for PR gdb/285:
17145 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
17147 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
17149 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
17150 instructions file at run time instead of configure time.
17151 Sometimes we run the test in a directory that is not the one we
17153 * gdb.asm/configure.in: Delete creation of symlink.
17154 * gdb.asm/configure: Regenerate.
17156 2002-04-05 J. Brobecker <brobecker@gnat.com>
17158 * gdb.gdb/xfullpath.exp: New test, to exercise the new
17159 xfullpath () function.
17161 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
17163 * gdb.asm/Makefile.in: Correct dependencies.
17165 * gdb.asm/powerpc.inc: New file.
17166 * gdb.asm/asm-source.exp: Add PowerPC.
17167 * gdb.asm/configure.in: Likewise.
17168 * gdb.asm/configure: Regenerated.
17170 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
17172 * gdb.base/relocate.exp: New file.
17173 * gdb.base/relocate.c: New file.
17175 2002-04-04 Fred Fish <fnf@redhat.com>
17177 * gdb.base/step-test.exp: Update comment regarding stopping in
17178 memcpy/bcopy calls inserted as part of the compiler runtime.
17180 2002-04-04 Michael Snyder <msnyder@redhat.com>
17182 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
17184 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
17186 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
17187 (gdb_expect): Remove $notransfer hack.
17189 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
17191 * gdb.c++/classes.exp ("calling method for small class"): Match
17192 updated register output.
17194 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
17197 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
17198 when finished. Make gdb_file_cmd send "exec-file" when
17201 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
17203 * gdb.base/attach.exp: Remove extra setup_xfail.
17205 2002-03-26 Michael Snyder <msnyder@redhat.com>
17207 * gdb.base/default.exp: Add tests for dump, append, and restore.
17208 * gdb.base/help.exp: Add tests for dump, append, and restore.
17209 * gdb.base/dump.exp: New file, test dump, append and restore.
17210 * gdb.base/dump.c: New file.
17212 2002-03-27 Michael Snyder <msnyder@redhat.com>
17214 * gdb.base/help.exp: Modify expect strings to reflect
17215 clean-ups in help messages.
17217 2002-03-26 Fred Fish <fnf@redhat.com>
17219 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
17220 have debugging info for those functions and the compiler uses them
17221 internally to copy structs around.
17223 2002-03-26 Fred Fish <fnf@redhat.com>
17225 * gdb.base/list.exp: Revert the change made yesterday and add note
17226 about why we don't list the default lines for remote targets.
17228 2002-03-25 Michael Snyder <msnyder@redhat.com>
17230 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
17232 2002-03-25 Fred Fish <fnf@redhat.com>
17234 * gdb.base/list.exp: This test works on remote targets so remove
17235 the short circuit for remote targets. Update copyright.
17237 2002-03-25 Fred Fish <fnf@redhat.com>
17239 * gdb.base/attach.exp: Fix logic error that was suppressing this
17240 test for all non hppa*-*-hpux* targets, instead of the hp target.
17241 Move comments closer to the suppression point. Also now need to
17242 check that we are running natively.
17244 2002-03-22 Michael Snyder <msnyder@redhat.com>
17246 * gdb.base/default.exp: Add test for gcore. Update copyright.
17247 * gdb.base/help.exp: Add test for gcore. Update copyright.
17249 2002-03-06 Fred Fish <fnf@redhat.com>
17251 * gdb.base/funcargs.c: Remove extraneous ';' character.
17252 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
17254 2002-03-04 Michael Chastain <mec@shout.net>
17256 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
17257 accommodate gcc v3 function signature.
17258 * gdb.mi/mi0-var-cmd-exp: Ditto.
17260 2002-02-24 Andrew Cagney <ac131313@redhat.com>
17262 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
17263 ``GNU/Linux'' or ``Linux kernel''
17264 * testsuite/gdb.threads/pthreads.c: Ditto.
17266 2002-02-24 Michael Chastain <mec@shout.net>
17268 * gdb.threads/pthreads.c (thread1): Add a return statement.
17269 (thread2): Likewise.
17272 2002-02-23 Michael Chastain <mec@shout.net>
17274 * gdb.threads/linux-dp.c (philosopher): Add a return statement
17277 2002-02-23 Michael Chastain <mec@shout.net>
17279 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
17280 test "ptype bint". The test passes on all my stabs configurations.
17282 2002-02-21 Jim Blandy <jimb@redhat.com>
17284 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
17285 filename at a time, and watch for the ones we want to see.
17287 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
17288 types of pointers to prototyped functions.
17290 2002-02-20 Andrew Cagney <ac131313@redhat.com>
17292 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
17293 signed, unsigned and straight char.
17294 (padding_char, padding_short, padding_int, padding_long,
17295 padding_long_long, padding_float, padding_double,
17296 padding_long_double): New global variables.
17297 (fill, fill_structs): New functions.
17299 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
17300 for correctly sized writes. Update copyright.
17301 (get_valueof): New procedure.
17302 (get_sizeof): Call get_valueof.
17303 (check_valueof): New procedure.
17304 (check_padding): New procedure.
17306 2002-02-20 Michael Chastain <mec@shout.net>
17308 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
17309 to setup_xfail. Document some of the remaining calls.
17311 2002-02-18 Michael Chastain <mec@shout.net>
17313 * gdb.c++/userdef.exp: Update copyright year.
17315 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
17317 * gdb.c++/userdef.exp: Test overloaded operators properly.
17320 2002-02-14 Michael Snyder <msnyder@redhat.com>
17322 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
17324 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
17326 * gdb.base/a2-run.exp: Check for a remote target properly.
17327 * gdb.base/annota1.exp: Likewise.
17328 * gdb.base/list.exp: Likewise.
17329 * gdb.base/reread.exp: Likewise.
17330 * gdb.base/scope.exp: Likewise.
17331 * gdb.base/shlib-call.exp: Likewise.
17332 * gdb.base/term.exp: Likewise.
17333 * gdb.c++/annota2.exp: Likewise.
17335 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
17337 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
17339 2002-02-10 Michael Chastain <mec@shout.net>
17341 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
17342 (call_after_alloca): Ditto.
17344 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
17346 * gdb.base/ending-run.exp: Guard "cont" test with
17347 gdb_skip_stdio_test.
17349 2002-02-06 Jim Blandy <jimb@redhat.com>
17351 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
17353 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
17354 To here. Disable this test on non-HP platforms. Add big comment.
17356 2002-02-04 Michael Snyder <msnyder@redhat.com>
17358 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
17359 other than d10v and m32r.
17361 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
17363 * gdb.base/default.exp: Rewrite test patterns to reduce time
17364 taken to match them.
17366 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
17368 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
17369 Allow a start function above main.
17370 * gdb.threads/linux-dp.exp: Fix copyright date.
17372 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
17374 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
17375 (check_philosopher_stack): Check for manager thread before checking
17376 for a just-starting thread.
17378 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
17380 From Neil Booth <neil@daikokuya.demon.co.uk>:
17381 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
17384 2002-01-21 Fred Fish <fnf@redhat.com>
17386 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
17389 2002-01-21 Jim Blandy <jimb@redhat.com>
17391 * gdb.base/reread.exp: Check that GDB properly re-reads the
17392 executable file when it changes while no inferior is running.
17394 2002-01-21 Fred Fish <fnf@redhat.com>
17396 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
17397 optionally accept the "shlib events" variation.
17399 2002-01-21 Jim Blandy <jimb@redhat.com>
17401 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
17402 call `fflush' after every `printf', so that the output is produced
17403 at predictable points, regardless of whatever buffering does (or
17404 doesn't) take place.
17405 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
17406 at different points.
17408 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
17410 * gdb.c++/inherit.exp: Update copyright years.
17411 * gdb.c++/method.exp: Likewise.
17413 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
17415 * gdb.c++/classes.exp: Update for improved v3 support and skipping
17416 artificial methods/arguments.
17417 * gdb.c++/derivation.exp: Likewise.
17418 * gdb.c++/inherit.exp: Likewise.
17419 * gdb.c++/method.exp: Likewise.
17420 * gdb.c++/virtfunc.exp: Likewise.
17422 2002-01-18 Andrew Cagney <ac131313@redhat.com>
17424 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
17425 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
17426 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
17427 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
17428 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17429 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
17431 2002-01-17 Jim Blandy <jimb@redhat.com>
17433 * gdb.asm/asm-source.exp (info symbol): Take another shot at
17434 anchoring the pattern matching the entry point symbol's name.
17436 2002-01-17 Andrew Cagney <ac131313@redhat.com>
17438 * gdb.base/maint.exp: Update ``maint internal-error'' to match
17439 continue/quit query. Update copyright.
17441 2002-01-14 Michael Snyder <msnyder@redhat.com>
17443 * gdb.base/gcore.exp: Remove extra debugging output.
17445 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
17447 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
17448 for slightly dubious v2 mangled string.
17450 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
17452 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
17454 2002-01-10 Jason Merrill <jason@redhat.com>
17456 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
17458 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
17460 * gdb.c++/derivation.exp: Likewise.
17461 * gdb.c++/templates.exp: Likewise.
17462 * gdb.c++/virtfunc.exp: Likewise.
17464 2002-01-10 Michael Snyder <msnyder@redhat.com>
17466 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
17468 2002-01-08 Michael Snyder <msnyder@redhat.com>
17470 * gdb.base/gcore.exp: New test for generate-core-file command.
17471 * gdb.base/gcore.c: Testcase for above.
17472 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
17474 2002-01-08 Jason Merrill <jason@redhat.com>
17476 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
17478 2002-01-07 Fred Fish <fnf@redhat.com>
17480 * gdb.c++/overload.exp: Remove unconditional xfails for:
17481 print foo_instance1.overloadargs(1)
17482 print foo_instance1.overloadargs(1, 2)
17483 print foo_instance1.overloadargs(1, 2, 3)
17484 print foo_instance1.overloadargs(1, 2, 3, 4)
17485 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
17486 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
17487 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
17488 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
17489 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
17490 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
17491 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
17492 print foo_instance1.overload1arg()
17493 print foo_instance1.overload1arg((char)arg2)
17494 print foo_instance1.overload1arg((signed char)arg3)
17495 print foo_instance1.overload1arg((unsigned char)arg4)
17496 print foo_instance1.overload1arg((int)arg7)
17497 print foo_instance1.overload1arg((unsigned int)arg8)
17498 print foo_instance1.overload1arg((float)arg11)
17499 print foo_instance1.overload1arg((double)arg12)
17501 2002-01-07 Michael Snyder <msnyder@redhat.com>
17503 * gdb.base/huge.exp: New test. Print a very large target data object.
17504 (skip_huge_test): New test variable. Define if you want to skip this
17505 test. The test reads an 8 megabyte data object from the target, so it
17506 might be very time consuming on remote targets with a slow connection.
17507 * gdb.base/huge.c: New file. Test case for above.
17509 2002-01-07 Fred Fish <fnf@redhat.com>
17511 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
17512 g_instance.bfoo, and g_instance.cfoo.
17514 2002-01-07 Jeffrey A Law <law@redhat.com>
17516 * gdb.base/break.c (multi_line_if_conditional): New function.
17517 (multi_ilne_while_conditional): Likewise.
17518 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
17519 IF or WHILE condition puts the breakpoint at the start of
17522 * gdb.base/selftest.exp (backtrace through signal handler): Remove
17523 hppa*-*-hpux* expected failure.
17524 * gdb.base/structs.exp (do_function_calls): Similarly.
17526 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
17529 2002-01-06 Andrew Cagney <ac131313@redhat.com>
17532 * gdb.base/structs.exp: Replace skip for a29k with skip for
17533 gdb,cannot_call_functions.
17534 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
17535 * gdb.base/callfuncs.exp: Ditto.
17536 * gdb.base/call-rt-st.exp: Ditto.
17537 * gdb.base/call-strs.exp: Ditto.
17538 * gdb.base/callfwmall.exp: Ditto.
17539 * gdb.base/scope.exp: Obsolete xfail a29k.
17540 * gdb.c++/misc.exp: Ditto.
17541 * gdb.c++/cplusfuncs.exp: Ditto.
17542 * gdb.base/ptype.exp: Ditto.
17543 * gdb.base/printcmds.exp: Ditto.
17544 * gdb.base/opaque.exp: Ditto.
17545 * gdb.base/list.exp: Ditto.
17546 * gdb.base/funcargs.exp: Ditto.
17547 * gdb.base/default.exp: Ditto.
17549 2002-01-04 Michael Snyder <msnyder@redhat.com>
17551 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
17552 * gdb.base/maint.exp: Add tests for maint info sections options.
17554 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
17556 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
17558 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
17560 * gdb.asm/arm.inc: New file.
17561 * gdb.asm/asm-source.exp: Add arm targets.
17562 * gdb.asm/configure.in: Ditto.
17563 * gdb.asm/configure: Recreated from configure.in.
17565 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
17567 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
17568 with HP's compiler.
17569 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
17570 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
17571 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
17572 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
17574 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
17575 either HP's compilers or GCC.
17577 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
17578 a SIGBUS or SIGSEGV.
17580 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
17582 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
17583 can be compiled with either HP's compiler or GCC.
17585 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
17586 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
17587 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
17589 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
17590 to match current gdb output. Update due to using auto-solib-limit
17591 for limiting instead of overloading auto-solib-add.
17592 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
17595 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
17596 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
17597 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
17598 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
17599 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
17600 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
17601 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
17602 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
17603 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
17604 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
17605 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
17606 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
17607 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
17609 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
17610 a SIGTRAP to the inferior.
17612 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
17614 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
17615 Substitute call to target_link by call to gdb_compile.
17617 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
17619 * gdb.base/break.exp: Fix HP specific search string when testing
17620 backtracing in a called function.
17622 * gdb.base/constvars.exp: Only set lang to C++ if we're
17623 compiling the test with HP's compilers.
17624 * gdb.base/volatile.exp: Similarly.
17626 2001-12-19 Jim Blandy <jimb@redhat.com>
17628 * gdb.base/printcmds.exp: Expect the null character to be printed
17629 as '\0', and the '\013' to be printed as '\v'.
17630 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
17631 * gdb.base/setvar.exp: Same.
17633 2001-12-17 Jim Blandy <jimb@redhat.com>
17635 * gdb.base/completion.exp: Rather than completing very long
17636 filenames, which can make the readline library produce output we
17637 don't recognize, cd to the directory first, and then complete
17638 using nice, short relative paths.
17640 * gdb.base/completion.exp: On some systems, there is, in fact, a
17641 variable named `b' in scope, since GDB treats all static
17642 variables as being in scope. So use `no_var_named_this'
17645 * gdb.base/corefile.exp: Recognize the message saying that GDB
17646 can't find the core file's registers as a failure.
17648 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
17650 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
17651 test expect string more specific.
17653 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
17655 * gdb.asm/asm-source.exp: Add support for xstormy16.
17656 * gdb.asm/configure.in: Ditto.
17657 * gdb.asm/configure: Rebuild.
17658 * gdb.asm/xstormy16.inc: New file.
17660 2001-12-10 Fred Fish <fnf@redhat.com>
17662 * gdb.base/maint.exp: Update to match changes in type dumping code.
17664 2001-12-10 Jim Blandy <jimb@redhat.com>
17666 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
17667 matching the entry point symbol's name at the beginning of the
17670 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
17672 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
17673 gdb.c++/inherit.exp, gdb.c++/method.exp,
17674 gdb.c++/namespace.exp, gdb.c++/templates.exp,
17675 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
17676 and class layout support.
17678 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
17680 * gdb.c++/classes.exp: Add test for static member function.
17681 * gdb.c++/misc.cc: Add class with static member function.
17683 2001-12-07 Jim Blandy <jimb@redhat.com>
17685 If GDB says it can't find the struct the function returned, report
17686 those tests as `unsupported'.
17687 * gdb.base/call-rt-st.exp (print_struct_call): New function.
17688 Rewrite subsequent tests to use it.
17690 If GDB says it can't find the struct the function returned, report
17691 those tests as `unsupported'.
17692 * gdb.base/structs.exp (call_struct_func): New function.
17693 (do_function_calls): Use call_struct_func to call the functions
17696 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
17697 whether functions are prototyped or not, so we can't possibly pass
17698 arguments to t_float_values2 properly.
17700 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
17701 value of `timeout' for targets other than the mips*tx39-*.
17703 2001-12-06 Michael Snyder <msnyder@redhat.com>
17705 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
17706 and detect whether the start symbol has a leading underscore.
17708 2001-12-04 Jim Blandy <jimb@redhat.com>
17710 * gdb.base/completion.exp: Clarify indentation.
17712 2001-12-03 Jim Blandy <jimb@redhat.com>
17714 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
17715 variables on the S/390, not `.word'.
17717 2001-11-30 Jim Blandy <jimb@redhat.com>
17719 Add assembly-source tests for s390-ibm-linux.
17720 * gdb.asm/s390.inc: New file.
17721 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
17722 the S/390 architecture.
17723 * gdb.asm/configure: Regenerated.
17725 2001-11-30 Michael Snyder <msnyder@redhat.com>
17727 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
17728 next, info source, info sources, info line, global and static
17729 variables, and static functions.
17730 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
17731 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
17732 * gdb.asm/asmsrc1.s: Add a static function and some variables.
17733 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
17734 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
17735 (gdbasm_leave): Restore frame pointer.
17736 (gdbasm_startup): Copy stack set-up from crt0.S.
17738 2001-11-26 Fernando Nasser <fnasser@redhat.com>
17740 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
17741 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
17742 to a local (non-static) variable. Copy tstruct.a to a static buffer
17743 and return a pointer to that buffer.
17744 * gdb.base/callfwmall.c (t_structs_a): Ditto.
17746 2001-11-24 Mark Kettenis <kettenis@gnu.org>
17748 * gdb.asm/configure.in: Fix recognition of ix86 target.
17749 * gdb.asm/configure: Regenerate.
17751 2001-11-21 Michael Snyder <msnyder@redhat.com>
17753 * gdb.asm/sparc.inc: New file.
17754 * gdb.asm/asm-source.exp: Recognize sparc target.
17755 * gdb.asm/configure.in: Recognize sparc target.
17756 * gdb.asm/configure: Regenerate.
17758 2001-11-21 Michael Snyder <msnyder@redhat.com>
17760 * gdb.asm/m32r.inc: New file.
17761 * gdb.asm/asm-source.exp: Recognize m32r target.
17762 * gdb.asm/configure.in: Recognize m32r target.
17763 * gdb.asm/configure: Regenerate.
17765 2001-11-20 Michael Snyder <msnyder@redhat.com>
17767 * gdb.asm/i386.inc: New file.
17768 * gdb.asm/asm-source.exp: Recognize ix86 target.
17769 * gdb.asm/configure.in: Recognize ix86 target.
17770 * gdb.asm/configure: Regenerate.
17772 * gdb.c++/namespace.exp: Fix quotes in output messages.
17774 2001-11-14 Michael Snyder <msnyder@redhat.com>
17776 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
17777 qualifier in a type cast expression, to designate an address
17778 in the instruction space (Harvard architecture).
17780 2001-11-13 Michael Snyder <msnyder@redhat.com>
17782 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
17783 Tests for expressions using 'const' and 'volatile'.
17785 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
17787 * gdb.asm/asm-sources.exp: Allow defining linker flags.
17789 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
17791 * lib/mi-support.exp (mi_run_to_helper): Move comments
17792 outside of gdb_expect.
17794 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
17796 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
17797 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
17798 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
17799 mi0_run_to): New functions.
17800 * gdb.mi/mi-simplerun.exp: Use them.
17801 * gdb.mi/mi0-simplerun.exp: Likewise.
17802 * gdb.mi/mi-var-cmd.exp: Likewise.
17803 * gdb.mi/mi0-var-cmd.exp: Likewise.
17805 2001-11-10 Andrew Cagney <ac131313@redhat.com>
17807 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
17808 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
17810 2001-11-09 Andrew Cagney <ac131313@redhat.com>
17812 * gdb.base/restore.exp: Include $expected value in restored test
17815 2001-11-09 Andrew Cagney <ac131313@redhat.com>
17817 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
17820 2001-11-08 Michael Snyder <msnyder@redhat.com>
17822 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
17823 Add pass/fail message for stop at breakpoint in call dummy function.
17825 2001-11-07 Michael Snyder <msnyder@redhat.com>
17827 * gdb.c++/templates.exp (test_template_breakpoints):
17828 If we get an overload menu, but it does not match what
17829 we expect, we still need to issue the "cancel" command.
17830 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
17831 making the whitespace optional. Argument for "new" may be
17832 "unsigned" as well as "unsigned int/long".
17833 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
17834 making the whitespace optional. Also replace "(void) with
17835 "((void|)), making the keyword "void" optional.
17836 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
17837 making the whitespace optional. Also replace "(void) with
17838 "((void|)), making the keyword "void" optional.
17839 * gdb.base/callfuncs.c (t_float_values): This function must
17840 _not_ be prototyped, and the following function (t_float_values2)
17841 must be prototyped (if the compiler supports it), so that GDB
17842 can be tested against both cases. Usually one case involves
17843 promotion of float to double, while the other does not.
17844 * gdb.base/callfwmall.c: Ditto.
17845 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
17846 includes a stack frame for "start".
17848 2001-11-05 Jim Blandy <jimb@redhat.com>
17850 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
17851 pointers are 32 bits long, and that offsets of relocs are always
17852 stored in the data (REL-style), and not in the reloc entry itself
17854 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
17857 2001-11-01 Michael Snyder <msnyder@redhat.com>
17859 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
17860 and regular expression operators by using quoting.
17862 2001-10-31 Michael Snyder <msnyder@redhat.com>
17864 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
17865 depending on what the symbol table contains.
17866 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
17867 the output of the ptype command. Similarly, accept both "const &"
17870 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
17872 * gdb.base/miscexprs.c (main): Add usage of preprocessor
17873 symbol `STORAGE' to allow to choose the storage class of
17874 the local datastructures.
17875 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
17876 compiler directive.
17878 2001-10-30 Michael Snyder <msnyder@redhat.com>
17880 * gdb.base/jump.exp: Allow it to run for all targets.
17882 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
17884 * gdb.base/call-ar-st.c (print_double_array): Match for loop
17885 with new double_array size.
17886 (main): Change storage class of all local variables to static.
17887 Reduce size of double_array to 9.
17888 * gdb.base/call-ar-st.exp: Increase timeout value.
17889 Change expected output for double array to match new size in
17892 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
17894 * gdb.base/ending-run.exp: Create identical output when passing
17895 `step to end of run' case. Add regular expression branch satisfying
17898 2001-10-28 Mark Kettenis <kettenis@gnu.org>
17900 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
17901 that we catch the expected failure under Linux/x86.
17903 2001-10-29 Orjan Friberg <orjanf@axis.com>
17905 * gdb.base/setvar.exp: Escape curly braces.
17906 * gdb.stabs/weird.exp: Ditto.
17908 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
17910 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
17911 * gdm.mi/mi0-hack-cli.exp: Likewise.
17913 2001-10-25 Andrew Cagney <ac131313@redhat.com>
17915 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
17918 2001-10-21 Andrew Cagney <ac131313@redhat.com>
17920 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
17921 checking MI enabled.
17923 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
17925 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
17927 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
17929 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
17930 if gdb child process crashes, just signal an error.
17932 2001-10-02 Jim Blandy <jimb@redhat.com>
17934 * lib/gdb.exp (test_xfail_format): Simplify.
17936 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
17937 front of the variable name `format'. Simplify `if'.
17939 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
17941 * gdb.threads/pthreads.exp: Wait for output and delay
17944 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
17946 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
17947 some incorrect output instead of timing out.
17948 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
17950 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
17952 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
17953 check to allow additional `int'.
17955 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
17957 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
17958 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
17960 2001-09-27 Michael Snyder <msnyder@redhat.com>
17962 * lib/gdb.exp (test_debug_format): New proc.
17963 (setup_xfail_format): Use new proc test_debug_format.
17964 * gdb.base/constvars.exp (local_compiler_xfail_check): New
17965 proc; use new service proc test_debug_format.
17966 Replace all other "gcc_compiled" tests with this test.
17967 * gdb.base/volatile.exp (local_compiler_xfail_check): New
17968 proc; use new service proc test_debug_format.
17969 Replace all other "gcc_compiled" tests with this test.
17971 2001-09-27 Michael Snyder <msnyder@redhat.com>
17973 * gdb.base/cvexpr.exp: New file.
17974 * gdb.base/cvexpr.c: New file
17975 Test for expressions using const and volatile keywords.
17977 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
17979 * gdb.base/constvars.exp: Check for different orders of keywords
17980 and additional "int" strings in output.
17982 2001-09-22 Andrew Cagney <ac131313@redhat.com>
17984 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
17985 responses from "help maint".
17987 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
17989 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
17990 to localhost:NNN instead of :NNN, in case Xvfb is listening
17993 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
17995 * gdb.base/recurse.exp: When checking leaving the watchpoint
17996 scope, recognize when gdb is in function's epilogue and pass.
17998 2001-09-18 Keith Seitz <keiths@redhat.com>
18000 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18001 support for running tests against sid targets.
18002 (gdbtk_done): Ditto.
18004 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
18006 * gdb.base/ending-run.c (main): Set stdout buffersize
18007 to the same reasonable value for any target.
18008 * gdb.base/ending-run.exp: Add a regular expression
18009 to make testsuite happy on Sanyo Stormy16 target.
18011 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
18013 * gdb.base/display.c (do_loops): Add float variable `f'.
18014 Increment f in loop.
18015 * gdb.base/display.exp: Increment timeout by 60 seconds.
18016 Change float display test to use variable `f'.
18018 2001-09-17 Jim Blandy <jimb@redhat.com>
18020 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18021 overflowing the limited breakpoint tables on some ROM monitors
18024 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
18026 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18027 the "-ac" (disable access control) flag.
18029 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
18031 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18034 2001-08-30 Keith Seitz <keiths@redhat.com>
18036 * lib/gdb.exp: Move all insight-related functionality into
18038 * lib/insight-support.exp: New file.
18040 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
18042 * config/sid.exp (sid_start): Never set sid verbosity; disable
18043 expect_background {} that consumed its stdout; tolerate </dev/null.
18044 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18046 2001-08-18 Andrew Cagney <ac131313@redhat.com>
18048 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18049 CLI jump command to start it.
18050 (mi_run_to_main): Fail immediatly when unexpected output.
18052 2001-08-18 Andrew Cagney <ac131313@redhat.com>
18054 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18055 beginning of function. Fix PR gdb/191.
18057 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
18059 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18060 what to force sid endianness to.
18062 2001-08-15 Keith Seitz <keiths@redhat.com>
18064 * lib/gdb.exp (gdbtk_start): Don't set environment
18065 variables for TCL_LIBRARY and friends. Insight will
18066 now figure these out for itself.
18068 2001-08-02 Michael Snyder <msnyder@redhat.com>
18070 * gdb.base/completion.exp: Remove the symbol "a64l" from
18071 the expect string; this is target-specific, and not related
18072 to what is being tested.
18074 2001-08-02 Dave Brolley <brolley@redhat.com>
18076 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18078 2001-07-25 Michael Snyder <msnyder@redhat.com>
18080 * gdb.base/consecutive.exp: New file. Test stepping over
18081 breakpoints on consecutive instructions.
18082 * gdb.base/consecutive.c: New file.
18084 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18085 curly braces in regular expressions.
18087 2001-07-25 Michael Snyder <msnyder@redhat.com>
18089 * gdb.base/ending-run.exp: Accept "Program exited normally" as
18090 legitimate output from stepping out of main.
18092 2001-07-22 Keith Seitz <keiths@redhat.com>
18094 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
18095 the empty string, do not run the tests.
18097 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18099 * gdb.base/long_long.exp: Detect size of pointer. Take into
18100 account 2-byte pointers when testing for p/a results.
18102 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18104 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
18105 and defined to 1K for m68hc11.
18106 (random_data): Reduce table to 1K for embedded platforms (68hc11).
18107 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
18108 (sizeof_random_data): New variable to tell the size of the data table;
18109 don't test past this size; always run to main.
18111 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18113 * gdb.base/return2.exp: return of long long and double fails for
18114 68HC11; don't execute these tests on that platform.
18115 * gdb.base/return.exp: Return of a double fails for 68hc11.
18117 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
18119 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
18120 tests that print a float.
18121 * call-rt-st.exp: Likewise.
18123 2001-07-12 Mark Kettenis <kettenis@gnu.org>
18125 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
18126 running this test on Linux.
18128 2001-06-24 Michael Chastain <chastain@redhat.com>
18130 * gdb.base/arithmet.exp: Remove some tests to make all test names
18133 2001-07-03 Michael Snyder <msnyder@redhat.com>
18135 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
18136 the output of the ptype command.
18138 2001-07-02 Michael Snyder <msnyder@redhat.com>
18140 * gdb.base/completion.exp: Don't assume that break.c is the only
18141 source file that may contain functions named "marker".
18142 * gdb.base/corefile.exp: Quote the curly braces in regexp.
18144 2001-06-28 Andrew Cagney <ac131313@redhat.com>
18146 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
18147 of files to delete.
18149 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
18150 * gdb.disasm/h8300s.exp: New file.
18151 gdb.disasm/h8300s.s: Likewise.
18153 2001-06-27 Andrew Cagney <ac131313@redhat.com>
18155 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
18156 empty breakpoint tables.
18158 2001-06-25 Andrew Cagney <ac131313@redhat.com>
18160 * lib/mi-support.exp: Update args=... part of stop-reason
18161 patterns. Accept either a list or a tuple.
18163 2001-06-23 Andrew Cagney <ac131313@redhat.com>
18165 * lib/mi-support.exp: Remove local emacs variable defining
18166 change-log-default-name.
18168 2001-06-22 Michael Chastain <chastain@redhat.com>
18170 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
18171 This is operationally compatible with the previous version.
18173 2001-06-13 Jim Blandy <jimb@redhat.com>
18175 * lib/gdb.exp (gdb_test): Doc fix.
18177 2001-06-10 Michael Chastain <chastain@redhat.com>
18179 * gdb.base/exprs.exp: Remove a duplicate test.
18181 2001-06-06 Jim Blandy <jimb@redhat.com>
18183 * gdb.base/return2.exp (main): Use values to test float and double
18184 returns that are not NaN's, to avoid being confused by IEEE
18187 2001-06-04 Michael Snyder <msnyder@redhat.com>
18189 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
18190 non-zero if control_c fails. Terminate the test on failure,
18191 rather than wait for 12 more tests to time out.
18193 2001-06-06 Jim Blandy <jimb@redhat.com>
18195 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
18196 Don't forget to match the GDB prompt.
18198 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
18200 2001-06-04 Jim Blandy <jimb@redhat.com>
18202 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
18205 2001-05-31 Kevin Buettner <kevinb@redhat.com>
18207 * gdb.base/annota1.exp (info break): Match four or more spaces
18210 2001-05-31 Michael Chastain <chastain@redhat.com>
18212 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
18213 (dm_type_int_star): Likewise.
18214 (dm_type_long_star): Likewise.
18215 (dm_type_void_star): Likewise.
18217 2001-05-29 Kevin Buettner <kevinb@redhat.com>
18219 * gdb.base/completion.exp (INPUTRC): Set this environment variable
18220 to a known value in order to get consistent results regardless
18221 of the setting of INPUTRC or the presence or contents of .inputrc.
18223 2001-05-24 Michael Snyder <msnyder@redhat.com>
18225 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
18226 Don't require that the main thread and the manager thread are the
18229 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
18230 debugging. If test fails, issue an "unsupported" not a "fail".
18232 2001-05-24 Jim Blandy <jimb@redhat.com>
18234 Don't assume that short is shorter than int.
18235 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
18236 assume that shorts are smaller than ints. On a 16-bit machine,
18238 ("print unsigned char == (~0)"): Add test that verifies that ~0,
18239 an int, is not equal to ~0 stored in an unsigned char. This tests
18240 the same thing that the previous test meant to, but works on
18241 16-bit machines, too.
18242 ("print unsigned char != (~0)"): Same test, complemented.
18244 2001-05-24 Michael Snyder <msnyder@redhat.com>
18246 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
18247 test for (full_coverage == 0). This makes the test run faster,
18248 and prevents dejagnu getting out of step.
18250 2001-05-23 Kevin Buettner <kevinb@redhat.com>
18252 * gdb.base/finish.exp (finish_void): Revise pattern for
18253 stopping on the call statement to not permit stopping at
18254 the start of the instructions comprising the call sequence.
18256 2001-05-19 Michael Chastain <chastain@redhat.com>
18258 * gdb.base/callfuncs.exp: Make all test names unique.
18259 * gdb.base/commands.exp: Make all test names unique.
18260 * gdb.base/condbreak.exp: Make all test names unique.
18261 * gdb.base/dbx.exp: Make all test names unique.
18262 * gdb.base/default.exp: Make all test names unique.
18263 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
18264 and TIMEOUT messages to their corresponding PASS message.
18265 * gdb.base/ending-run.exp: Make all test names unique.
18266 * gdb.base/long_long.exp: Remove duplicate test.
18268 2001-05-21 Kevin Buettner <kevinb@redhat.com>
18270 * gdb.base/finish.exp (finish_void): Allow "finish" command to
18271 stop on the call statement as well as the statement after the
18274 2001-05-21 Michael Snyder <msnyder@redhat.com>
18276 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
18278 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
18280 * gdb.base/completion.exp: Revamp test. Make it execute on all
18283 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
18285 * config/gdbserver.exp (gdb_load): Handle the case
18286 in which the arguments to gdbserver are given in the
18287 baseboard configuration file.
18288 Also handle the case in which the server needs to do a
18291 2001-05-07 Keith Seitz <keiths@cygnus.com>
18293 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
18294 set up the display for testing.
18295 (gdbtk_start): Convert all paths to paths that tcl will like.
18296 Export target information to environment.
18297 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
18299 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
18300 (to_tcl_path): New proc to convert a given pathname into
18301 a path acceptible as an argument to a tcl command.
18302 (_gdbtk_export_target_info): New proc to export target info
18303 into the environment for gdbtk testing.
18304 (gdbtk_done): New proc to signal end-of-test.
18306 2001-05-06 Jim Blandy <jimb@redhat.com>
18308 * restore.c: Make the code of caller0 correspond to its comment.
18310 2001-05-03 Michael Snyder <msnyder@redhat.com>
18312 * config/sid.exp (gdb_target_sid): Check for error messages.
18313 On error or timeout, don't make expect exit (which will terminate
18314 all subsequent tests); instead just make gdb exit.
18315 (gdb_load): Check for error messages. On error or timeout,
18316 return a negative value.
18318 2001-04-24 Jim Blandy <jimb@redhat.com>
18320 * gdb.c++/templates.exp: If we see the prompt for the overload
18321 list, but we haven't recognized any of the longer patterns,
18322 arrange for this test to fail, not hang.
18324 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
18327 2001-04-22 Michael Chastain <chastain@redhat.com>
18329 * gdb.c++/local.exp: Use the 'runto' library function.
18330 * gdb.c++/namespace.exp: Likewise.
18331 * gdb.c++/overload.exp: Likewise.
18333 2001-03-26 Kevin Buettner <kevinb@redhat.com>
18335 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
18336 * gdb.base/step-line.exp: New file. Test step/next in presence of
18338 * gdb.base/step-line.c: New file. Test program for the above.
18339 * gdb.base/step-line.inp: New file. We pretend that this file has
18340 been transformed by some other tool into step-line.c.
18342 2001-03-21 Jim Blandy <jimb@redhat.com>
18344 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
18345 unmangled operator names.
18347 2001-03-20 Jim Blandy <jimb@redhat.com>
18349 * gdb.threads/linux-dp.exp: Recognize an additional message
18350 generated by GDB when it doesn't understand how to debug threads
18351 on the target system.
18353 2001-03-19 Andrew Cagney <ac131313@redhat.com>
18355 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
18357 2001-03-12 Michael Chastain <chastain@redhat.com>
18359 * gdb.c++/derivation.exp: Use the 'runto' library function.
18361 2001-03-12 Michael Chastain <chastain@redhat.com>
18363 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
18365 2001-02-24 Michael Chastain <chastain@redhat.com>
18367 * gdb.c++/ref-types.exp: Change handwritten code to library
18370 2001-03-16 Orjan Friberg <orjanf@axis.com>
18372 * gdb.base/signals.exp: Set count to 0 explicitly.
18374 2001-03-15 Mark Salter <msalter@redhat.com>
18376 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
18377 (gdb_target_monitor): Add check of gdb_target_cmd return value.
18378 (gdb_load): Add support for additional target_info: gdb_download_size
18379 and gdb_load_timeout.
18381 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
18383 * gdb.base/annota1.exp: Move test of isnative to earlier in the
18384 file -- to prevent failing when the compile fails but we have no
18385 intention of running the tests anyway.
18387 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
18390 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
18393 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
18394 * gdb.c++/namespace.exp: Ditto.
18396 2001-03-07 Orjan Friberg <orjanf@axis.com>
18398 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
18399 * gdb.base/pointers.exp: Relax pattern match of decimals.
18401 2001-03-06 Kevin Buettner <kevinb@redhat.com>
18403 * Makefile.in, config/abug.exp, config/cfdbug.exp,
18404 config/cpu32bug.exp, config/dve.exp, config/est.exp,
18405 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
18406 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
18407 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
18408 config/sh.exp, config/sid.exp, config/slite.exp,
18409 config/sparclet.exp, config/udi.exp, config/unknown.exp,
18410 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
18411 config/vxworks.exp, config/vxworks29k.exp,
18412 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
18413 gdb.base/all-bin.exp, gdb.base/annota1.exp,
18414 gdb.base/arithmet.exp, gdb.base/assign.exp,
18415 gdb.base/async.exp, gdb.base/attach.exp,
18416 gdb.base/bitfields.exp, gdb.base/bitops.exp,
18417 gdb.base/break.exp, gdb.base/call-ar-st.exp,
18418 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
18419 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
18420 gdb.base/commands.exp, gdb.base/completion.exp,
18421 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
18422 gdb.base/constvars.exp, gdb.base/corefile.exp,
18423 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
18424 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
18425 gdb.base/ending-run.exp, gdb.base/environ.exp,
18426 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
18427 gdb.base/finish.exp, gdb.base/foll-exec.exp,
18428 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
18429 gdb.base/funcargs.exp, gdb.base/help.exp,
18430 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
18431 gdb.base/logical.exp, gdb.base/long_long.exp,
18432 gdb.base/maint.exp, gdb.base/mips_pro.exp,
18433 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
18434 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
18435 gdb.base/pointers.exp, gdb.base/printcmds.exp,
18436 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
18437 gdb.base/regs.exp, gdb.base/relational.exp,
18438 gdb.base/remote.exp, gdb.base/reread.exp,
18439 gdb.base/restore.exp, gdb.base/return2.exp,
18440 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
18441 gdb.base/selftest.exp, gdb.base/setshow.exp,
18442 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
18443 gdb.base/sigall.exp, gdb.base/signals.exp,
18444 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
18445 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
18446 gdb.base/step-test.exp, gdb.base/structs.c,
18447 gdb.base/structs.exp, gdb.base/structs2.exp,
18448 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
18449 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
18450 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
18451 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
18452 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
18453 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
18454 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
18455 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
18456 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
18457 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
18458 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
18459 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
18460 gdb.fortran/types.exp, gdb.java/jmisc.exp,
18461 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
18462 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
18463 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
18464 gdb.trace/circ.exp, gdb.trace/collection.exp,
18465 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
18466 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
18467 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
18468 gdb.trace/report.exp, gdb.trace/save-trace.exp,
18469 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
18470 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
18471 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
18474 2001-02-27 Michael Snyder <msnyder@cygnus.com>
18476 * gdb.base/varargs.c (find_max_double): Fix printf format string:
18477 first arg is int not float.
18479 2001-02-22 Michael Snyder <msnyder@cygnus.com>
18481 * gdb.base/reread.exp: Unsupported for non-native targets;
18482 doesn't work for remote debugging.
18484 2001-02-19 Fernando Nasser <fnasser@redhat.com>
18486 From Drew Moseley <dmoseley@redhat.com>
18487 * gdb.base/ending-run.exp: Properly handle the BSP state when
18488 stepping past the end of main.
18490 2001-02-19 John Moore <jmoore@redhat.com>
18492 * gdb.base/commands.exp (infrun_breakpoint_command_test):
18493 Converted HPUX fix for non-expected items following multiple
18494 step commands into general solution for all platforms.
18496 2001-02-18 Michael Chastain <chastain@redhat.com>
18498 * gdb.c++/classes.exp (do_tests): Change runto statements
18499 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18500 statements demangler agnostic.
18501 * gdb.c++/virtfunc.exp (do_tests): Likewise.
18502 (gdb_virtfunc_restart): Likewise.
18504 2001-02-14 Michael Chastain <chastain@redhat.com>
18506 * gdb.c++/inherit.exp (do_tests): Change runto statements
18507 from "runto 'foo(void)'" to "runto 'foo'". This makes the
18508 statements demangler agnostic.
18510 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
18512 * gdb.threads/pthreads.exp: Unify pass/fail messages for
18513 ``continue to bkpt at common_routine in thread 2'' and ``stopped
18514 before calling common_routine 15 times'' tests.
18516 2001-02-11 Michael Chastain <chastain@redhat.com>
18518 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
18519 Helps the test script figure out which demangler is in use.
18520 (dm_type_foo_ref): Ditto.
18521 (dm_type_int_star): Ditto.
18522 (dm_type_long_star): Ditto.
18523 (dm_type_unsigned_int): Ditto.
18524 (dm_type_void): Ditto.
18525 (dm_type_void_star): Ditto.
18526 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
18527 Probe the gdb demangler and set variables to accommodate
18528 formatting differences.
18529 (info_func_regexp): New function. Same as info_func, but
18530 matches against a regexp.
18531 (info_func): Match against a literal string.
18532 (print_addr_2): New function. Match against a literal string,
18533 which can be different from the input to gdb.
18534 (print_addr): Simply call print_addr_2 with the same argument twice.
18535 (test_lookup_operator_functions): Use demangler formatting variables.
18536 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
18537 the tests in the same order as the C++ class declaration.
18538 (test_paddr_operator_functions): Ditto.
18539 (test_paddr_overloaded_functions): Ditto.
18540 (test_paddr_hairy_functions): Use demangler formatting variables.
18541 Add reference to gdb/19 for related tests.
18542 (do_tests): Call probe_demangler.
18544 2001-01-30 Kevin Buettner <kevinb@redhat.com>
18546 * gdb.c++/templates.cc (printf): Remove unused function definition.
18548 2001-01-26 Felix Lee <flee@redhat.com>
18550 * sid.exp (sid_exit): Pass host, not target, to remote_close.
18552 2001-01-25 matthew green <mrg@redhat.com>
18554 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
18556 (sid_exit): Call `remote_pop_conn' after GDB is gone.
18558 2001-01-25 matthew green <mrg@redhat.com>
18560 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
18561 Deprecate $sid_spawn_id.
18562 (sid_exit): Remove code necessary only for `spawn.'
18564 2001-01-25 matthew green <mrg@redhat.com>
18566 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
18568 2001-01-28 Michael Chastain <chastain@redhat.com>
18570 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
18571 to call when tests fail. It takes gdb out of the overloaded
18572 function choice menu back to the main prompt, so that the test
18573 program stays synchronized.
18574 (set_bp_overloaded): New proc to collect all the common
18575 code for setting a breakpoint on an overloaded name. Calls
18576 take_gdb_out_of_choice_menu when needed.
18577 (menu_overload1arg): New variable to collect the repeated
18578 instances of the expected menu for an overloaded name. Change
18579 the regular expression to handle changes in g++ type encoding:
18580 "void" can be either "void" or "", and "unsigned int" can be
18581 either "unsigned int" or "unsigned".
18582 (continue_to_bp_overloaded): Change regular expressions to handle
18583 changes in g++ type encoding.
18584 (no proc): Call take_gdb_out_of_choice_menu when needed.
18585 Remove redundant calls to "info break". Accept either "canceled"
18586 or "cancelled". Change regular expressions in "info break"
18587 calls to handle changes in g++ type encoding. Give all tests
18590 2001-01-17 Ben Elliston <bje@redhat.com>
18592 * config/sid.exp: New file.
18594 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
18596 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
18598 2000-12-21 Michael Snyder <msnyder@cygnus.com>
18600 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
18601 Add a RE to accept a non-ascii char if one is ever presented.
18603 2000-12-20 Fernando Nasser <fnasser@redhat.com>
18605 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
18607 2000-12-18 Michael Snyder <msnyder@cygnus.com>
18609 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
18610 in regexp. One '\' does not suffice on Linux.
18612 2000-12-09 Michael Chastain <chastain@redhat.com>
18614 * gdb.base/break.exp (test_clear_command): Use a marker function
18615 rather than 'main' for the test function. Also move this
18616 test to an execution point where the marker function names are
18617 guaranteed to be bound to functions. (Executing tests after a
18618 'finish' from main runs into name conflicts with local names
18619 in __libc_start_main).
18621 2000-12-07 Michael Snyder <msnyder@cygnus.com>
18623 * gdb.base/finish.exp: New test for gdb's "finish" command.
18624 * gdb.base/return2.exp: New test for gdb's "return" command.
18625 * gdb.base/return2.c: New source file for above.
18627 2000-12-05 Michael Snyder <msnyder@cygnus.com>
18629 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
18630 * gdb.base/miscexprs.exp: Ditto.
18631 * gdb.base/pointers.exp: Ditto.
18632 * gdb.c++/derivation.exp: Ditto.
18633 * gdb.c++/local.exp: Ditto.
18634 * gdb.c++/namespace.exp: Ditto.
18635 * gdb.c++/overload.exp: Ditto.
18636 * gdb.c++/ref-types.exp: Ditto.
18638 2000-12-05 Michael Snyder <msnyder@cygnus.com>
18640 * gdb.base/constvars.exp: Test result of "up" command.
18641 * gdb.base/miscexprs.exp: Ditto.
18642 * gdb.base/pointers.exp: Ditto.
18643 * gdb.base/scope.exp: Ditto.
18644 * gdb.c++/derivation.exp: Ditto.
18645 * gdb.c++/local.exp: Ditto.
18646 * gdb.c++/namespace.exp: Ditto.
18647 * gdb.c++/overload.exp: Ditto.
18648 * gdb.c++/ref-types.exp: Ditto.
18650 2000-11-22 Michael Chastain <chastain@redhat.com>
18652 * mips_pro.exp: Accept either "middle -> top -> main" or
18653 "middle -> main" in the backtrace, because gcc can optimize
18654 tail calls to jumps. Remove setup_xfail for the hppa case.
18655 Add a comment with the original warning messages from PR 3016,
18656 which was filed in 1993, to preserve them for posterity.
18658 2000-11-17 Nick Duffek <nsd@redhat.com>
18660 * lib/gdb.exp (gdb_test): Override timeout with board info.
18662 2000-11-17 Nick Duffek <nsd@redhat.com>
18664 * gdb.base/display.exp: Don't kill running stub. Add "again" to
18665 the second kill and detach messages.
18667 2000-11-17 Nick Duffek <nsd@redhat.com>
18669 * configure.in: Add AC_EXEEXT.
18670 * configure: Regenerate.
18671 * Makefile.in (just-check): Export EXEEXT.
18672 * lib/gdb.exp ($EXEEXT): Import from environment.
18673 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
18674 expect "maint dump-me" on Cygwin.
18675 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
18678 2000-11-17 Nick Duffek <nsd@redhat.com>
18680 * gdb.base/break.exp: Test backtrace and finish from called
18681 function on all platforms, not just HP-UX.
18683 2000-11-03 Michael Snyder <msnyder@cygnus.com>
18685 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
18686 code from gdb_target_monitor, so it can be used independantly
18687 for gdbserver. Also comment out an unnecessary PUTS.
18689 2000-11-03 Michael Snyder <msnyder@cygnus.com>
18691 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
18692 * gdb.base/corefile.exp: Expect the message "Program is being
18693 debugged already" when we send the "corefile" command, since
18694 the preceeding gdb_load may have connected gdb to a remote target.
18695 * gdb.base/display.exp: Disable hardware watchpoints if new
18696 board info variable "no_hardware_watchpoints" is true.
18697 Replace single-letter commands with more readable ones.
18698 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
18699 if new board info variable "no_hardware_watchpoints" is true.
18700 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
18701 to see if stdio (printf) testing is possible.
18702 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
18703 board info variable "no_hardware_watchpoints" is true. Use new
18704 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
18706 2000-11-13 Fernando Nasser <fnasser@redhat.com>
18708 From Orjan Friberg <orjanf@axis.com>:
18709 * gdb.base/printcmds.exp: Escape curly braces followed by a number
18710 in array print pattern match.
18712 2000-11-09 Fernando Nasser <fnasser@redhat.com>
18714 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
18715 spelling "cancelled" to U.S. spelling "canceled" to match changes
18717 * gdb.c++/ovldbreak.exp: Ditto.
18719 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
18721 * gdb.base/callfuncs.c (main): Moved to end of file, call
18722 t_double_values to initialize the FPU before inferior calls are made.
18723 * gdb.base/callfuncs.exp: Test for register preservation after calling
18724 inferior functions. Add tests for continuining, finishing and
18725 returning from a stop in a call dummy.
18727 2000-10-24 Michael Snyder <msnyder@cygnus.com>
18729 * gdb.base/commands.exp: Break up long lines, and re-indent.
18731 2000-10-19 Michael Snyder <msnyder@cygnus.com>
18733 * config/gdbserver.exp: Rewritten from the ground up, to make it
18734 compatible with the current dejagnu tree, and to make it work with
18735 the new "gdbserver" in libremote.
18737 2000-10-16 Michael Snyder <msnyder@cygnus.com>
18739 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
18740 * gdb.base/varargs.exp: Skip entire test if no printf support.
18741 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
18742 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
18744 2000-10-13 Michael Snyder <msnyder@cygnus.com>
18746 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
18747 no floating point support.
18748 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
18749 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
18750 * gdb.base/call-rt-st.exp: Ditto.
18751 * gdb.base/call-strs.exp: Ditto.
18753 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
18755 * gdb.base/sizeof.c: include <stdio.h>.
18757 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
18758 'finish', otherwise uncaptured gdb_prompt would potentially
18759 throw remaining test points out of sync.
18761 2000-07-26 Scott Bambrough <scottb@netwinder.org>
18763 * gdb.base/recurse.exp: Run tests for all targets.
18764 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
18765 gnu-oldld case on ARM.
18766 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
18769 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
18771 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
18772 * gdb.java/configure: Rebuild.
18774 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
18776 * gdb.java/jv-exp.exp: New file.
18778 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
18780 * configure: Rebuilt.
18781 * configure.in (configdirs): Add gdb.java.
18782 * gdb.java/jmisc.java: New file.
18783 * gdb.java/jmisc.exp: New file.
18784 * gdb.java/Makefile.in: New file.
18785 * gdb.java/configure: Rebuilt.
18786 * gdb.java/configure.in: New file.
18787 * lib/java.exp: New file.
18789 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
18791 * gdb.base/exprs.exp: Test casts to a pointer including over and
18794 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
18796 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
18797 and the compilers sizes.
18799 2000-07-09 Nick Duffek <nsd@redhat.com>
18801 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
18802 (use_methods): New function.
18803 (main): Call use_methods().
18804 * gdb.c++/classes.exp (test_method_param_class): New procedure.
18805 (do_tests): Call test_method_param_class.
18807 2000-07-09 Nick Duffek <nsd@redhat.com>
18809 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
18811 (test_enums): New procedure. Move enum tests from end of script
18812 to here. Set breakpoint on function name instead of line number.
18813 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
18814 (enums2): New marker function.
18815 (enums1): New function.
18816 (main): Call enums1(). Move enum tests to enums1().
18818 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
18820 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
18821 compile/link program. Update line numbers.
18822 * gdb.asm/d10v.inc: Define ``startup''.
18823 * gdb.asm/asmsrc1.s: Add definition of _start.
18825 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
18827 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
18829 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18831 * gdb.base/maint.exp: Add 'maint print architecture' item to output
18832 of 'help maint print' command.
18834 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
18836 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
18837 they use gdb_expect_list.
18839 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
18841 * gdb.base/commands.exp: Use ``set remote
18842 memory-read-packet-size'' instead of ``set endian big'' to test
18845 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
18847 * gdb.c++/templates.exp (do_tests): Make all of these work under
18848 g++, and stop skipping them.
18850 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
18853 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
18856 2000-06-02 Michael Snyder <msnyder@cygnus.com>
18858 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
18859 the regular expression: accept an (almost) arbitrary sequence of
18860 "frames-invalid" and "breakpoints-invalid" messages both before
18861 and after the "starting" message.
18863 2000-06-02 Michael Snyder <msnyder@cygnus.com>
18865 * gdb.c++/local.exp: This test has never been known to work with g++.
18867 2000-05-18 Michael Snyder <msnyder@cygnus.com>
18869 * gdb.base/annota1.exp (annotate-signal-handler-caller):
18870 Relax the regular expression a little, make it pass on Solaris 8.
18872 2000-05-12 Kevin Buettner <kevinb@redhat.com>
18874 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
18875 a call, do not require that gdb stop on the line after the call.
18876 Instead, it is permissible for gdb to stop on the line of the
18879 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
18881 * gdb.base/break.exp (bp on small function, optimized file):
18882 Add a second pass pattern. The behavior differs here between stabs
18883 and dwarf for one-line functions. Stabs preserves two line symbols
18884 (one before the prologue and one after) with the same line number,
18885 but dwarf regards these as duplicates and discards one of them.
18886 Therefore the address after the prologue (where the breakpoint is)
18887 has no exactly matching line symbol, and GDB reports the breakpoint
18888 as if it were in the middle of a line rather than at the beginning.
18890 2000-05-08 Michael Snyder <msnyder@cygnus.com>
18892 * gdb.base/interrupt.exp: Make "pass" message say "send"
18893 rather than "send_gdb" (for consistancy).
18895 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
18897 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
18898 * gdb.c++/templates.cc: Properly check for GCC version number.
18899 * lib/compiler.cc: Likewise
18901 2000-04-28 Michael Snyder <msnyder@cygnus.com>
18903 * gdb.base/break.exp: When compiled with -O2 optimization,
18904 gdb may not stop at the first line of main, due to code motion.
18906 2000-04-26 Michael Snyder <msnyder@cygnus.com>
18908 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
18909 This test depends on parsing the printf output from the target.
18910 Since the sparclet stub doesn't do stdio, this will never work.
18911 * gdb.base/call-rt-st.exp: ditto.
18912 * gdb.base/call-strs: ditto.
18914 2000-04-24 Michael Snyder <msnyder@cygnus.com>
18916 * gdb.base/miscexprs.exp: make sizeof long array test portable.
18918 * gdb.base/ending-run.exp: After connecting to a remote target,
18919 but before running, the target will appear to be in a random
18920 location. Specify both a file and a line for breakpoints.
18921 Also, the function that calls main may be called 'init'
18922 rather than 'start'.
18924 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18926 * gdb.base/help.exp: Update output for add-symbol-file command.
18928 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
18930 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18931 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
18933 2000-04-07 J.T. Conklin <jtc@redback.com>
18935 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
18937 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
18939 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
18941 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
18942 values that can be represented exactly.
18943 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
18944 above change, and to not check against the directory part of the source
18946 (step into print_long_arg_list): Likewise.
18947 (print print_small_structs from print_long_arg_list): Likewise.
18948 (print print_long_arg_list): Likewise.
18950 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18952 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
18954 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
18956 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
18958 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
18960 * gdb.base/commands.exp (deprecated_command_test): Add test for
18961 deprecate with no arguments.
18963 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
18965 * gdb.base/break.exp: Add new test for setting breakpoints on
18966 optimized code so we can test breakpoints work even when function
18967 prologues may be optimized away
18969 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
18971 From David Whedon <dwhedon@gordian.com>
18972 * gdb.base/commands.exp : Added command deprecator tests.
18974 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
18976 * gdb.base/help.exp: Added test for new apropos command.
18978 2000-03-21 Kevin Buettner <kevinb@redhat.com>
18980 * gdb.base/pointers.c (usevar): New function.
18981 (main): Make sure that global variables v_int_pointer2, rptr,
18982 and y are all referenced someplace in the program by calling
18983 usevar() on them. [Some linkers delete symbols which are
18984 never referenced. The space remains, but there's no way to
18985 get a (symbolic) handle on the variable from the debugger.]
18987 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
18989 * gdb.base/printcmds.c: Add typedeffed arrays.
18991 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
18992 procedure to test arrays that are typedef'd.
18994 2000-03-13 James Ingham <jingham@leda.cygnus.com>
18996 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
18997 the library directories.
18999 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19001 * configure.in (configdirs): Add sub directory gdb.mi.
19002 * configure: Re-generate.
19004 * gdb.mi: New directory.
19006 2000-02-25 Scott Bambrough <scottb@netwinder.org>
19008 * gdb.base/long_long.exp: Correct test suite failure when printing
19009 a long long value as a double on ARM platforms.
19011 2000-02-16 Jim Blandy <jimb@redhat.com>
19013 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19014 default source file is set properly before running this test.
19016 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19018 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
19019 gdbtk/library directory, not in gdbtcl2.
19021 2000-02-04 Jim Blandy <jimb@redhat.com>
19023 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19024 backslash from regexp pattern.
19026 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19027 procedure. Use it to run all the "continue to bp overloaded"
19028 tests. Note that this changes the names of the tests slightly.
19029 If the breakpoint hit message includes a hex PC value, because
19030 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19031 from the real source code, still consider that a pass.
19033 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19034 XFAIL here if the breakpoint message contains a hex address. Note
19035 similar change on 1999-11-02.
19037 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19039 * gdb.base/ptype.exp: Establish a default source file before
19040 calling get_debug_format.
19042 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19044 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19046 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19048 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19049 of successive stepi commands -- while in the prologue we should see
19050 the function entry bracket.
19052 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19054 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19055 reach __change_mode() when stepping through the end of main().
19057 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19059 * gdb.base/default.exp: Fix expected pattern.
19060 * gdb.base/help.exp: Same.
19062 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19064 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
19065 Don't use xfail's because that affects only the following test.
19067 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
19070 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19072 2000-01-07 Michael Snyder <msnyder@cygnus.com>
19074 * gdb.base/display.exp: Some yacc parsers like to say
19075 "A syntax error" rather than "A parse error". Accept both.
19077 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19079 * gdb.base/default.exp: Remove OS dependent string from "target
19081 * gdb.base/help.exp: Same for "help target remote" test.
19083 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19085 From Jim Kingdon <kingdon@redhat.com>:
19087 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19088 prompt (cleanup rather than necessity, but still might keep output
19089 from spilling to next test).
19091 2000-01-02 Fred Fish <fnf@cygnus.com>
19093 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
19094 AIX, which defines them in <sys/types.h>.
19096 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
19098 * gdb.base/default.exp: Match arm* etc instead of arm in "info
19101 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
19103 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
19105 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
19106 outermost frame disallowed".
19108 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
19110 * gdb.base/setvar.exp: New tests for setting the value of a struct
19111 with a constant list.
19113 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19115 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
19116 require the user to type a cast before setting the value of a struct.
19118 1999-12-06 Jim Blandy <jimb@cygnus.com>
19120 * gdb.base/default.exp: Expect the new 'info float' command on
19121 all i386 platforms.
19123 * gdb.threads/linux-dp.exp: Expand our ability to recognize
19124 LinuxThreads libraries that don't support debugging.
19126 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19128 * gdb.base/remote.c: Fill the buffer with truely random data.
19129 Change the buffer type to ``unsigned char'' to simplify size
19132 * gdb.base/remote.exp: Reduce download numbers by one. Typical
19133 stub only handles 400-1 byte packets. Verify that the download
19136 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
19138 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
19139 tests, using UNRESOLVED for the untested cases. Also, does not wait
19140 for a timeout if the prompt was received before a recognizable pattern.
19142 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
19144 * lib/gdb.exp (gdb_expect_list): Fix spelling.
19146 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19148 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
19151 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
19153 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
19155 * gdb.c++/local.exp: Be more flexible in recognizing local class
19156 name mangling. Don't allow horribly truncated method names.
19157 * gdb.c++/derivation.exp: Expect protected inheritance.
19158 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
19159 * gdb.c++/virtfunc.exp: Likewise.
19160 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
19161 when printing a nested enum.
19163 1999-11-22 Jim Blandy <jimb@cygnus.com>
19165 * gdb.base/step-test.exp: Properly await GDB's response to setting
19166 a breakpoint on the call to large_struct_by_value.
19168 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
19169 just because we have debug info for the `start' function.
19171 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
19173 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
19174 "Unknown signal" messages, which indicate (on LinuxThreads) that
19175 GDB doesn't know how to debug threads on this system. This is
19176 better than hanging while philosopher 0 dumps chatter into gdb.log.
19178 1999-11-18 Tom Tromey <tromey@cygnus.com>
19180 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
19182 1999-11-18 Fred Fish <fnf@cygnus.com>
19184 * gdb.base/coremaker2.c: Add sample program for generating
19185 cores that is more self contained than coremaker.c. Eventually
19186 I'll add more code to this and tie it into the testsuite.
19188 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
19190 * gdb.base/dollar.exp: Remove, now in gdb.hp.
19192 1999-11-10 Jimmy Guo <guo@cup.hp.com>
19194 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
19196 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
19199 * gdb.c++/derivation.exp: remove redundant get compiler info code.
19201 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
19202 'continue with watch' test point.
19204 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
19206 Merged from p2linux-990323-branch:
19208 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
19210 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
19212 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
19213 {limit,fixed}''. Test ``set download-write-size''.
19215 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
19217 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
19220 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
19222 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
19224 1999-11-03 Mark Salter <msalter@cygnus.com>
19226 * gdb.base/break.exp: Fix "stub continue" pattern.
19228 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
19230 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
19232 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
19234 * gdb.base/display.exp ("finish"): Add timeout clause.
19236 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
19237 plain prompt clause, so this doesn't have to time out in order to
19240 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
19241 breakpoint hit messages include an address.
19243 * gdb.base/display.exp: Don't forget to escape parens in regular
19244 expressions. Unix regexp notatation sucks.
19246 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19248 * gdb.base/annota1.exp: Test for annotate-signalled: change output
19249 order for 'signalled' message.
19251 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
19253 From Jimmy Guo <guo@cup.hp.com>:
19254 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
19255 * gdb.base/annota1.c: Add code for tests to work with.
19257 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
19259 * gdb.base/remote.exp: New test for remote downloading settings.
19260 * gdb.base/remote.c: New file with large .data.
19262 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
19264 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
19265 for LinuxThreads support, merged from the Code Fusion branch.
19267 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
19269 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
19270 containing exp_continue into a while within an expect. Don't
19271 attempt a start more than three times. Check return value from
19274 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
19276 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
19279 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
19281 * gdb.base/break.c (main): Added a statement that we can step
19283 * gdb.base/break.exp: Added tests for setting a breakpoint
19284 at an offset and stepping onto a breakpoint.
19286 1999-10-01 Fred Fish <fnf@cygnus.com>
19288 * gdb.base/help.exp (help add-symbol-file): Update to match current
19291 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
19293 * gdb.base/break.exp: Code locations are in hex, don't forget!
19296 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
19298 * condbreak.exp: Use break.c as test program.
19299 * condbreak.c: Remove, redundant with break.c.
19301 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
19303 * config/monitor.exp (gdb_target_monitor): Disable X- and
19304 Z-packets if the target needs it.
19306 1999-09-13 James Ingham <jingham@leda.cygnus.com>
19308 * gdb.c++/overload.exp: Added tests for listing overloaded
19309 functions with function pointers in the arg, explicitly calling
19310 out the version you want.
19312 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
19314 * long_long.exp: Add variations of test cases that work for
19315 targets with 16-bit ints and 32-bit doubles.
19317 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
19319 * break.c (main): Compare a possibly-uninitialized argc with an
19320 unlikely value that fits in 16 bits.
19322 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
19324 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
19325 0xfeeb, don't want negative numbers if ints are 16 bits.
19327 * lib/gdb.exp (skip_cplus_tests): New proc.
19328 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19329 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
19330 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
19331 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
19332 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
19333 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
19334 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
19335 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
19337 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
19339 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
19341 * gdb.base/corefile.exp (up): Allow a parameter to appear
19342 in the frame that we're going up to.
19344 From Jim Blandy <jimb@cygnus.com>:
19346 * gdb.base/default.exp (info float): Expect some output now.
19348 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
19349 returning floating-point values to fail on the x86.
19350 * gdb.base/callfwmall.exp (do_function_calls): Same.
19352 * gdb.base/list.exp (test_listsize): Correct expectations for
19353 listing line 1 with listsize 2. Also, listing a single line
19354 works now, as does listing three lines. [Kevin's note: There
19355 were a number of other cases fixed too where the expectations
19358 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
19360 * gdb.base/selftest.exp: Add case for when version prints as
19361 constant string instead of char pointer.
19363 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
19365 * gdb.base/ending-run.exp: Add Solaris case for what happens when
19366 stepping out of main.
19368 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
19371 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
19372 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
19374 * gdb.c++/ovldbreak.exp: Update match string in test that
19375 includes a warning of multiple breakpoints.
19377 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
19379 * gdb.base/display.exp: Improve precision of step-after-finish
19382 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
19385 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
19386 configs when using G++, not just hppa*.
19388 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19390 * gdb.base/async.c: New file.
19391 * gdb.base/async.exp: New file.
19393 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
19395 * gdb.base/break.exp: Tweak PA specific tests to properly handle
19398 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
19400 * gdb.base/display.exp: "finish" can leave us mid-line on many
19401 targets, deal with it. Add a small constant to main, instead of
19402 1000 since main+1000 may not be a valid address in the target.
19404 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
19407 * gdb.base/attach.exp: Handle another hpux11 error message variant
19408 when attaching to a process that does not exist.
19410 1999-08-19 J.T. Conklin <jtc@redback.com>
19412 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
19413 characters in 'continue to 1241' test.
19415 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
19417 * gdb.base/call-ar-st.exp: Add a shorter match case for the
19418 stop in print_long_arg_list, define and use a whitespace
19419 variable in print_small_structs test, add an XFAIL for Solaris.
19420 * gdb.base/dbx.exp: XFAIL func commands until somebody is
19421 interested enough to fix.
19423 1999-08-13 Keith Seitz <keiths@cygnus.com>
19425 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
19426 (dbx_gdb_load): Remove. Use gdb_load instead, since that
19427 proc knows about targets other than the natives.
19428 (test_assign): Use "gdb_run_cmd" to "run" the target.
19429 Check that we've actually hit the breakpoint at main.
19430 When we attempt to assign a value to a local variable, check
19431 that the variable is in the current scope, i.e., don't use
19432 a test with an empty result.
19434 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
19436 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
19439 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
19441 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19442 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
19443 gdb.compat, gdb.threads-hp.
19444 gdb.hp/configure, gdb.hp/configure.in: New files.
19445 gdb.hp/Makefile.in: Recurse into new subdirs.
19446 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
19447 gdb.hp/gdb.objdbg: New directory, tests for debugging info
19449 gdb.hp/tools: New directory, aux tools for HP-specific tests.
19451 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
19453 * gdb.base/display.exp: Help expect by putting a newline in the
19454 funky printf, remove a bogus p/a test.
19456 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19458 * gdb.base/display.exp: Make sure that when we say 'run', we are
19459 connected to the target. This is necessary when running not
19462 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
19464 * gdb.base/step-test.exp: Removed some extraneous messages.
19466 * gdb.base/long_long.exp: Don't run memory examination tests
19467 on little-endian targets (they will need a different set of
19470 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
19472 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
19473 until somebody decides to fix GDB.
19475 * gdb.base/long_long.c: Stop compiler complaint by specifying long
19477 * gdb.base/long_long.exp: Loosen x/c test, add partial result
19478 matches for a couple x/2 commands.
19480 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
19482 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
19483 by merging in ref-types2 tests.
19484 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
19486 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19487 * gdb.c++/Makefile.in: Add standard actions.
19488 (EXECUTABLES): Rename from PROGS, update list.
19489 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
19491 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
19492 foo and bar locals.
19493 * gdb.c++/anon-union.exp: Fix tests to match.
19494 * gdb.c++/classes.exp: Run if HP compiler used, add extra
19495 expect matches to handle output variations.
19496 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
19497 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
19498 output, add HP alternatives for new and delete prints.
19499 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
19500 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
19501 * gdb.c++/demangle.exp: Use $style when reporting failure.
19502 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
19503 * gdb.c++/inherit.exp: Run if HP compiler used, add some
19504 match alternatives.
19505 * gdb.c++/local.exp: Add match alternatives or xfails for HP
19507 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
19508 * gdb.c++/method.exp: Add match alternatives.
19509 * gdb.c++/misc.cc: Add bool types.
19510 * gdb.c++/misc.exp: Add tests for bool types.
19511 * gdb.c++/overload.exp: Add xfails.
19512 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
19513 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
19514 add some more template parameter tests (only for HP currently).
19515 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
19516 * gdb.c++/virtfunc.cc: Add return type and value for main.
19517 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
19518 match alternatives.
19520 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19522 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
19524 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
19526 * gdb.base/signals.exp: Don't expect getting a backtrace from
19527 within a signal handler to fail on Linux.
19529 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
19531 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19532 * lib/gdb.exp: Remove some gratuitious semicolons.
19533 (delete_breakpoints): Increase timeout.
19534 (gdb_expect): Add -notransfer option.
19535 (gdb_test): Use -notransfer option.
19536 (get_compiler_info): Add f77 case.
19537 (get_compiler): New proc, split out from gdb_preprocess, add f77
19539 (gdb_preprocess): Call get_compiler.
19541 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
19542 * gdb.base/attach.exp, gdb.base/display.exp,
19543 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
19544 gdb.base/long_long.exp, gdb.base/printcmds.exp,
19545 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
19546 third arg to gdb_test.
19547 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
19548 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
19549 HP-UX xfails, add others.
19550 * gdb.base/completion.exp: Reflect name change of self-test.
19551 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
19552 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
19553 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
19555 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
19556 useless HP-UX 10.30 references.
19557 * gdb.base/maint.exp: Loosen matches.
19558 * gdb.base/pointers.c (main): Declare more_code.
19559 * gdb.base/pointers.exp: Match on output of a `next'.
19560 * gdb.base/structs.c: Add prototypes.
19561 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
19562 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
19564 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19566 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
19569 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19571 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
19572 Fix run to main failures. Watchpoint can be hardware watchpoint.
19574 * gdb.base/annota1.exp: Clean up some more, in case printf has
19575 debug info. Deal with lack of signal hanlder info in stack.
19577 From Jim Kingdon <kingdon@redhat.com>:
19578 * gdb.base/annota1.exp: If printf has debug info, deal with it.
19580 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
19582 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
19583 gdb.base/foll-vfork.exp: Don't run for crosses.
19585 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
19587 * gdb.base/configure.in: Check for gdbvars.exp instead of
19589 * gdb.base/configure: Re-generate.
19591 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
19593 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
19594 in trying to run first and name is too long.
19596 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
19597 pointers2.c and pointers2.exp, respectively.
19598 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
19601 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
19603 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
19604 callfuncs2.c and callfuncs2.exp.
19606 * gdb.base/list.exp: Remove mistaken xfails.
19607 * gdb.base/list0.h: Add optional prototypes.
19609 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
19611 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
19613 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
19614 * ptype.exp: Move test for get_debug_format to before its first
19617 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19619 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
19620 * gdb.base/annota2.cc, annota2.exp: Move from here.
19621 * gdb.c++/annota2.cc, annota2.exp: To here.
19622 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
19624 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
19626 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
19627 a consistent format.
19629 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
19631 From Jimmy Guo <guo@cup.hp.com> and others at HP:
19632 * lib/gdb.exp (get_compiler_info): Add detection for assorted
19633 HP compilers, also set the globals $true and $false.
19635 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
19636 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
19637 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
19638 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
19639 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
19640 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
19641 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
19642 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
19643 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
19644 whatis.c} Add C++ compatible function definitions and return
19645 types, add includes for library functions.
19646 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
19647 * gdb.base/step-test.c (myglob): Rename from glob.
19648 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
19649 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
19650 files, move here from gdb.hp.
19651 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
19652 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
19653 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
19654 Adjust line numbers in regexps.
19656 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
19657 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
19660 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
19661 foll-vfork.exp: New files, move here from gdb.hp.
19662 * gdb.base/page.exp: New file, test of pagination command.
19664 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
19666 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
19668 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
19669 gdb.base/solib.exp: Fix compiler invocation process.
19671 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
19672 HP-UX 11, turn off overload resolution explicitly.
19673 * gdb.base/commands.exp: Set argument list explicitly, add
19675 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
19677 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
19678 expressions properly.
19679 * gdb.base/corefile.exp: Loosen the match slightly.
19680 * gdb.base/default.exp: Allow "Error accessing memory" message
19682 * gdb.base/display.exp: Skip over x/0 j if PA64.
19683 * gdb.base/funcargs.exp: Add xfails for HP-UX.
19684 * gdb.base/interrupt.exp: Ditto.
19685 * gdb.base/langs.exp: Add symbolic matches governed by compiler
19687 * gdb.base/list.exp: Add xfails for HP-UX.
19688 * gdb.base/long_long.exp: Refine some of the numeric matches.
19689 * gdb.base/mips_pro.exp: Xfail on HP-UX.
19690 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
19691 * gdb.base/nodebug.exp: Succeed on more varieties of output.
19692 * gdb.base/opaque.exp: Remove some HP-UX xfails.
19693 * gdb.base/ptype.exp: Succeed on more varieties of output.
19694 * gdb.base/scope.exp: Add xfails for HP-UX.
19695 * gdb.base/sect-cmd.exp: Add more cases.
19696 * gdb.base/setvar.exp: Add xfails for HP-UX.
19697 * gdb.base/shlib-call.exp: Loosen some matches slightly.
19698 * gdb.base/signals.exp: Match on void symbolically.
19699 * gdb.base/step-test.exp: Add case for PA64.
19700 * gdb.base/term.exp: Add exit and restart.
19701 * gdb.base/twice.exp: Clean up after self.
19702 * gdb.base/varargs.exp: Disable overload resolution explicitly.
19703 * gdb.base/whatis.exp: Allow more ways to pass tests.
19705 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
19708 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
19710 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
19712 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
19713 print_double_array(double_array)", "continuing to breakpoint
19714 1018", "print print_double_array(array_d)" and "continuing to
19717 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
19719 * Makefile.in: Add empty html and install-html targets.
19721 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
19723 * config/mt-*: Remove, these haven't been used since 1996.
19725 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
19727 * gdb.base/call-strs.c, gdb.base/ending-run.c,
19728 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
19729 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
19731 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
19733 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
19734 simpler match case for the ptype of the big class.
19736 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19738 * gdb.exp: Fix test for gdb_prompt existence.
19740 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19742 * gdb.exp (gdb_test): Add fail after calls to perror.
19744 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19746 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
19748 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
19750 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
19752 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
19754 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
19755 malloc() is linked in.
19757 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
19759 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
19762 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
19764 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
19766 * gdb.java/jv-print.exp: New file. (Our first Java test!)
19768 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
19770 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
19771 * gdb.base/mips_pro.exp: Likewise.
19773 1999-06-02 Keith Seitz <keiths@cygnus.com>
19775 * gdb.c++/templates.cc: Change all "new" operators to throw
19777 * gdb.c++/cplusfuncs.cc: Likewise.
19779 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
19781 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
19783 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
19784 * gdb.base/ending-run.exp: When stepping out of main, accept a
19785 step into an arbitrary assembler file.
19787 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19789 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
19790 "breakpoint-invalid" to be printed.
19791 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
19792 number of "frames-invalid" and "breakpoint-invalid" to be printed.
19793 * gdb.base/annota2.cc: Initialize a.x to 0.
19795 1999-05-17 Keith Seitz <keiths@cygnus.com>
19797 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
19798 when "skip_float_tests" set.
19799 Ditto for "print print_double_array(array_d)", "print print_small_structs",
19800 "print print_ten_doubles", and "step into print_long_arg_list".
19801 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
19802 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
19803 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
19804 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
19805 "skip_float_tests" is set.
19806 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
19807 when "skip_float_tests" set.
19809 1999-05-06 Keith Seitz <keiths@cygnus.com>
19811 * gdb.base/annota2.cc: Include stdio.h.
19813 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
19815 * gdb.base/crossload.exp: Remove, this has been disabled ever
19816 since BFD stopped including all targets, and cross-GDB gets
19817 plenty of testing anyway.
19818 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
19819 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
19820 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
19821 * gdb.base/README: Remove, was doc for this.
19822 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
19825 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19827 * gdb.base/call-ar-st.exp: Fix one regular expression in test
19830 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
19831 * gdb.base/annota2.exp: New file. More annotation tests.
19832 * gdb.base/annota1.c: New file. Source file for annota1.exp.
19833 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
19835 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
19837 * config/cfdbug.exp: New file.
19839 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
19841 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
19842 Marcus Daniel's and Dale Hawkins's demangler crashes.
19844 * gdb.c++/demangle.exp (test_gnu_style_demangling,
19845 test_lucid_style_demangling, test_arm_style_demangling,
19846 test_hp_style_demangling): Try Tom Tromey's core-dumping
19847 identifier under each demangling style.
19849 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
19851 * gdb.c++/demangle.exp: Include the current demangling style
19853 (current_demangling_style): New global variable.
19854 (set_demangling_style, test_demangling_core, test_demangling,
19855 test_demangling_exact): New functions.
19856 (test_gnu_style_demangling, test_lucid_style_demangling,
19857 test_arm_style_demangling, test_hp_style_demangling): Use those,
19858 instead of calling gdb_test and gdb_test_exact directly.
19859 (catch_demangling_errors): New function, which reports errors
19860 signalled by the demangling test functions in an orderly way.
19861 (do_tests): Use catch_demangling_errors.
19863 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
19865 * gdb.base/signals.exp (test_handle_all_print): Use () for
19866 grouping in expressions, not {}.
19868 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
19871 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
19873 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
19876 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
19878 * gdb.stabs/weird.exp: Test for CC being defined before
19879 looking at its value.
19881 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
19883 * gdb.base/call-ar-st.exp: Remove stray '#'.
19884 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
19885 "short int" and "long int".
19886 * gdb.c++/overload.cc: Cast the string added in the previous
19887 change, to mollify finicky HP compiler.
19888 * gdb.hp/reg-test.exp (testfile): Fix file name.
19889 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
19891 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
19892 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
19893 alternate form of enum ptype.
19895 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
19897 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
19898 * gdb.hp/*.exp: Change all to run compiler probe only after
19899 passing skip_hp_tests, so as not to waste time on guaranteed
19902 * gdb.c++/overload.cc: Pass string instead of char addr, always
19904 * gdb.c++/templates.cc: Fix syntax error.
19906 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19908 * gdb.base/commands.exp: Add test for correct position of '>'
19909 when issuing the 'commands' command after a 'while' or 'if'
19912 1999-03-18 James Ingham <jingham@cygnus.com>
19914 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
19916 * gdb.c++/method.exp: It was testing an uninitialized int on the
19917 stack and assuming it was positive.
19919 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
19921 * gdb.base/step-test.exp: Catch a case where finish is broken and
19922 keep it from killing the rest of the tests.
19923 Use gdb_continue_to_end.
19925 * gdb.base/sigall.exp: use gdb_continue_to_end.
19927 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
19929 * gdb.base/display.exp: use runto_main, not run.
19931 * gdb.base/default.exp: Check for the current error message in the
19932 r abbreviation test.
19933 Add strongarm to the targets that know info float.
19935 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
19936 run which doesn't work with monitors.
19938 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
19940 * gdb.base/break.exp: use the gdb_continue_to_end proc.
19942 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
19943 program. Traps the case (in Cygmon) when the program never really
19944 exits. Same as Mark's continue_to_exit, but I had put it in a lot
19945 more places, so I used my name. Sorry Mark...
19947 * config/monitor.exp (gdb_target_monitor): added another
19948 target_info parameter: remotebinarydownload. This will set the
19949 remotebinarydownload flag if this is causing some boards trouble.
19951 1999-03-18 Mark Salter <msalter@cygnus.com>
19953 * lib/gdb.exp (continue_to_exit): New function.
19955 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
19956 * gdb.base/ending-run.exp: Ditto.
19957 * gdb.base/step-test.exp: Ditto.
19959 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
19961 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
19962 (suggested by Art Haas <ahaas@neosoft.com>).
19964 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
19966 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
19968 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
19970 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
19971 descriptions of types (short unsigned int vs unsigned short, etc).
19973 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
19975 * gdb.base/call-strs.exp: Don't assume that `step' will step over
19976 a call to strlen; sometimes we do have sources.
19978 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
19980 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
19981 character, so GDB won't print garbage after its end.
19983 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
19984 breakpoint there instead. Sometimes GCC emits memcpy to handle
19985 the large structures being passed by value, so we step into that
19986 instead of sum_array_print, which obscures what we're really testing.
19987 * gdb.base/step-test.exp: However, we do want a test that notices
19988 the bizarre steps into memcpy, so do that here. Add check for
19989 stepping into function calls that pass large structures by value.
19990 ("Is that a noun clause, or are you just happy to see me?")
19991 Remove all references to specific line numbers.
19992 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
19993 New type and function.
19994 (main): Call large_struct_by_value, passing it a large struct by value.
19995 * lib/gdb.exp (gdb_get_line_number): New function.
19997 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20000 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20002 * lib/gdb.exp: Doc fixes.
20004 1999-03-05 Nick Clifton <nickc@cygnus.com>
20006 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
20008 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20010 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
20011 commands. They're not germane to this test, and they don't work
20012 that way on remote targets.
20014 1999-03-01 James Ingham <jingham@cygnus.com>
20016 * Changelog entries merged over from gdb development branch.
20018 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20020 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20021 for outputting results of test run.
20023 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
20025 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
20027 1999-02-25 Felix Lee <flee@cygnus.com>
20029 * lib/gdb.exp (debug_format): initialize
20031 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20033 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20034 * gdb.base/call-rt-st.c: Ditto.
20036 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20038 * gdb.threads/pthreads.exp (horiz): New variable.
20039 (test_startup): Fix regexps that capture thread numbers.
20041 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20043 * gdb.base/smoke.exp: Disambiguate two test case names (both
20046 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20048 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
20051 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20053 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20054 actual output formatting.
20055 * gdb.base/smoke.exp: GDB removes leading 0's.
20056 * gdb.base/volatile.exp: Don't check type of remuneration;
20057 that variable is no longer defined in constvars.c.
20058 * gdb.base/step-test.c (main): Exit with explicit exit code.
20059 * gdb.base/step-test.exp: Remove two nexti checks--they are
20062 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20064 * gdb.base/help.exp ("help delete display"): Fix test to match
20067 * gdb.base/long_long.c (known_types): Initialize values to zero.
20068 * gdb.base/long_long.exp: Step one more line
20069 so 'dec' is initialized in "get to known place". GDB removes
20070 leading zeros. Explicitly ask for hex formatting. Use
20071 unique test case names.
20073 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20075 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
20077 * gdb.c++/method.exp: Add missing close brace.
20079 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20081 * gdb.base/maint.exp: Use 'set height 0' to disable page
20082 prompting, not 'set height 400'.
20084 Fix a bunch of timeouts.
20085 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20086 four separate tests, so expect doesn't take forever to match a ton
20087 of text against a regexp with lots of .* forms.
20088 ("maint print psymbols", "maint print symbols"): Make some of
20089 these greps more selective, so that expect doesn't try to wade
20090 through huge piles of output and time out.
20092 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
20094 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
20095 tests: one which doesn't expect shlib events to be reported, and
20096 another which does, but is XFAIL for all platforms other than
20099 * gdb.base/break.exp: Teach the test suite that the `catch
20100 fork', `catch vfork', and `catch exec' commands produce error
20101 messages on platforms that don't provide these features.
20103 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20105 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
20106 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
20107 (shortening names from solib_threshold.exp etc), won't run on
20108 anything but HP-UX for the foreseeable future.
20109 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
20112 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
20114 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
20115 gdb.trace/Makefile.in (clean): Remove all test executables.
20117 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
20119 * gdb.base/shlib-call.exp: add test cases to verify that gdb
20120 successfully re-sets breakpoints in shared libraries.
20121 * gdb.base/shmain.c (main): return 0, don't fall off the end.
20123 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20125 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
20126 and compiled w/o GCC.
20128 * gdb.hp/watch-cmd.exp: ditto.
20130 * gdb.hp/watch-hp.exp: ditto.
20132 * gdb.hp/xdb1.exp: ditto.
20134 * gdb.hp/xdb2.exp: ditto.
20136 * gdb.hp/dbx.exp: ditto.
20138 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
20140 * constvars.c: Remove C++-isms.
20141 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
20144 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
20146 The following changes are part of the HP merge.
20148 * gdb.base/break.exp: new tests to verify that catchpoints for
20149 fork, vfork, and exec don't trigger inappropriately.
20151 * gdb.base/opaque.exp: compile one file at a time, then link.
20153 * gdb.base/signals.exp: be more restrictive about which hppa
20154 systems receive a setup_xfail. new tests.
20156 * gdb.base/solib_threshold.build: new file.
20157 * gdb.base/solib_threshold.exp: new file.
20158 * gdb.base/solib_threshold.link_opts: new file.
20159 * gdb.base/solib_threshold.mk: new file.
20160 * gdb.base/gen_solib_threshold.c: new file.
20162 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
20163 tests. New tests for enums inside classes.
20165 * gdb.c++/compiler.cc: indicate support of template debugging.
20167 * gdb.c++/demangle.exp: run hp style demangling tests.
20169 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
20172 * gdb.c++/misc.cc: changes to support new tests.
20174 * gdb.c++/templates.cc: changes to support HP's compiler; changes
20175 to support new tests.
20177 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
20178 gcc, then skip these tests.
20180 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
20182 The following files are part of the HP merge; some had longer
20183 names at HP, but have been renamed to be no more than 14
20184 characters in length.
20186 * gdb.hp/ambiguous.cc: new file.
20187 * gdb.hp/ambiguous.exp: new file.
20188 * gdb.hp/attach.exp: new file.
20189 * gdb.hp/attach2.exp: new file.
20190 * gdb.hp/classes-hp.exp: new file.
20191 * gdb.hp/ctti.exp: new file.
20192 * gdb.hp/ctti-add.cc: new file.
20193 * gdb.hp/ctti-add1.cc: new file.
20194 * gdb.hp/ctti-add2.cc: new file.
20195 * gdb.hp/ctti-add3.cc: new file.
20196 * gdb.hp/dbx.exp: new file.
20197 * gdb.hp/exception.cc: new file.
20198 * gdb.hp/exception.exp: new file.
20199 * gdb.hp/foll-exec.c: new file.
20200 * gdb.hp/foll-exec.exp: new file.
20201 * gdb.hp/foll-fork.c: new file.
20202 * gdb.hp/foll-fork.exp: new file.
20203 * gdb.hp/foll-vfork.c: new file.
20204 * gdb.hp/foll-vfork.exp: new file.
20205 * gdb.hp/inherit-hp.exp: new file.
20206 * gdb.hp/more-steps.exp: new file.
20207 * gdb.hp/namespace.cc: new file.
20208 * gdb.hp/namespace.exp: new file.
20209 * gdb.hp/optimize.exp: new file.
20210 * gdb.hp/pxdb.c: new file.
20211 * gdb.hp/pxdb.exp: new file.
20212 * gdb.hp/quicksort.exp: new file.
20213 * gdb.hp/reg-test.exp: new file.
20214 * gdb.hp/reg-test.s: new file.
20215 * gdb.hp/sized-enum.c: new file.
20216 * gdb.hp/sized-enum.exp: new file.
20217 * gdb.hp/start-stop.exp: new file.
20218 * gdb.hp/templ-hp.cc: new file.
20219 * gdb.hp/templ-hp.exp: new file.
20220 * gdb.hp/thr-lib.c: new file.
20221 * gdb.hp/thr-lib.exp: new file.
20222 * gdb.hp/thr-lib.h: new file.
20223 * gdb.hp/thr-liblib.c: new file.
20224 * gdb.hp/virtfun-hp.c: new file.
20225 * gdb.hp/virtfun-hp.exp: new file.
20226 * gdb.hp/watch-cmd.exp: new file.
20227 * gdb.hp/watch-hp.exp: new file.
20228 * gdb.hp/xdb1.exp: new file.
20229 * gdb.hp/xdb2.exp: new file.
20230 * gdb.hp/xdb3.exp: new file.
20232 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
20234 The following files are part of the HP merge; some had longer
20235 names at HP, but have been renamed to be no more than 14
20236 characters in length.
20238 * gdb.base/ss.h: new file.
20239 * gdb.base/call-ar-st.c: new file.
20240 * gdb.base/call-ar-st.exp: new file.
20241 * gdb.base/call-rt-st.c: new file.
20242 * gdb.base/call-rt-st-exp: new file.
20243 * gdb.base/call-strs.exp: new file.
20244 * gdb.base/ena-dis-br.exp: new file.
20245 * gdb.base/environ.exp: new file.
20246 * gdb.base/long_long.exp: new file.
20247 * gdb.base/sect-cmd.exp: new file.
20248 * gdb.base/shlib-cl2.exp: new file.
20249 * gdb.base/smoke.exp: new file.
20250 * gdb.base/so-impl-ld.c: new file.
20251 * gdb.base/so-impl-ld.exp: new file.
20252 * gdb.base/so-indr-cl.c: new file.
20253 * gdb.base/so-indr-cl.exp: new file.
20254 * gdb.base/varargs.exp: new file.
20255 * gdb.base/volatile.exp: new file.
20256 * gdb.base/whatis-exp.exp: new file.
20257 * gdb.base/display.exp: new file.
20258 * gdb.c++/derivation.exp: new file.
20259 * gdb.c++/local.exp: new file.
20260 * gdb.c++/member-ptr.exp: new file.
20261 * gdb.c++/overload.exp: new file.
20262 * gdb.c++/ovldbreak.exp: new file.
20263 * gdb.c++/ref-types.exp: new file.
20264 * gdb.c++/ref-types2.exp: new file.
20265 * gdb.c++/userdef.exp: new file.
20267 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
20269 * gdb.base/default.exp: Reflect wording change in remote.c.
20271 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
20273 * gdb.base/help.exp: Update to reflect current text.
20275 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
20277 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
20278 they're stack variables and contain garbage.
20279 * gdb.c++/anon-union.exp: new file.
20281 The following changes were made by David Taylor
20282 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20283 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20286 * gdb.base/bitops.exp: new file.
20287 * gdb.base/default.exp: change expected messages for catch and
20288 info catch tests to reflect HP merge changes.
20289 * gdb.base/enable-disable-break.exp
20290 * gdb.base/ending-run.c: new file.
20291 * gdb.base/long_long.c: new file.
20292 * gdb.base/maint.exp: new file.
20293 * gdb.base/pointers2.exp: new file.
20294 * gdb.base/shlib-call2.exp: new file.
20295 * gdb.base/solib.exp: new file.
20296 * gdb.base/step-test.c: new file.
20297 * gdb.c++/anon-union.cc: new file.
20298 * gdb.c++/local.cc: new file.
20299 * gdb.c++/member-pointer.cc: new file.
20300 * gdb.c++/method.cc: new file.
20301 * gdb.c++/ref-types.cc: new file.
20302 * gdb.c++/ref-types2.cc: new file.
20303 * gdb.c++/userdef.cc: new file.
20305 * gdb.base/scope.exp: compile one file at a time, then link.
20306 * gdb.base/langs.exp: ditto.
20307 * gdb.base/list.exp: ditto.
20309 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
20311 The following changes were made by David Taylor
20312 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
20313 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
20316 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
20317 skip tests. When compiling pass c++ flag to gdb_compile.
20320 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
20321 test for on hppa*-*-hpux*; use args to see if c++ was specified.
20322 (skip_hp_tests): new function.
20323 (gdb_preprocess): new function.
20325 * configure.in (hpdir): decide whether to configure gdb.hp.
20326 * configure: regenerated.
20328 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
20329 to delete on clean.
20330 (EXECUTABLES): update to reflect new additions.
20331 * gdb.base/commands.exp: update message expected.
20332 * gdb.base/default.exp: add copyright notice.
20333 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
20334 * gdb.base/help.exp: update messages to reflect current text.
20335 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
20336 targets for recurse tests.
20337 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
20340 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
20341 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
20343 * gdb.c++/misc.exp: ditto.
20344 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
20345 run the tests. tell gdb_compile that it's a c++ compilation.
20347 * gdb.threads/pthreads.exp: fix typo in message.
20349 * gdb.base/all-bin.exp: new file.
20350 * gdb.base/arithmet.exp: new file.
20351 * gdb.base/assign.exp: new file.
20352 * gdb.base/completion.exp: new file.
20353 * gdb.base/cond-expr.exp: new file.
20354 * gdb.base/condbreak.exp: new file.
20355 * gdb.base/define.exp: new file.
20356 * gdb.base/dollar.exp: new file.
20357 * gdb.base/environment.exp: new file.
20358 * gdb.base/eval-skip.exp: new file.
20359 * gdb.base/jump.exp: new file.
20360 * gdb.base/logical.exp: new file.
20361 * gdb.base/pointers.exp: new file.
20362 * gdb.base/relational.exp: new file.
20363 * gdb.base/section_command.exp: new file.
20364 * gdb.base/whatis-expr.exp: new file.
20366 * gdb.base/all-types.c: new file.
20367 * gdb.base/call-array-struct.c: new file.
20368 * gdb.base/call-return-struct.c: new file.
20369 * gdb.base/call-strings.c: new file.
20370 * gdb.base/callfuncs2.c: new file.
20371 * gdb.base/condbreak.c: new file.
20372 * gdb.base/constvars.c: new file.
20373 * gdb.base/display.c: new file.
20374 * gdb.base/int-type.c: new file.
20375 * gdb.base/jump.c: new file.
20376 * gdb.base/miscexprs.c: new file.
20377 * gdb.base/pointers.c: new file.
20378 * gdb.base/pointers2.c: new file.
20379 * gdb.base/shmain.c: new file.
20380 * gdb.base/shr1.c: new file.
20381 * gdb.base/shr2.c: new file.
20382 * gdb.base/solib.c: new file.
20383 * gdb.base/solib1.c: new file.
20384 * gdb.base/solib2.c: new file.
20385 * gdb.base/varargs.c: new file.
20386 * gdb.c++/derivation.cc: new file.
20387 * gdb.c++/overload.cc: new file.
20388 * gdb.c++/ovldbreak.cc: new file.
20389 * gdb.hp/attach.c: new file.
20390 * gdb.hp/attach2.c: new file.
20391 * gdb.hp/average.c: new file.
20392 * gdb.hp/compiler.c: new file.
20393 * gdb.hp/compiler.cc: new file.
20394 * gdb.hp/execd-program.c: new file.
20395 * gdb.hp/follow-exec.c: new file.
20396 * gdb.hp/follow-fork.c: new file.
20397 * gdb.hp/follow-vfork-and-exec.c: new file.
20398 * gdb.hp/misc-hp.cc: new file.
20399 * gdb.hp/more-steps.c: new file.
20400 * gdb.hp/optimize.c: new file.
20401 * gdb.hp/quicksort.c: new file.
20402 * gdb.hp/run-hp.c: new file.
20403 * gdb.hp/start-stop.c: new file.
20404 * gdb.hp/sum.c: new file.
20405 * gdb.hp/templates-hp.cc: new file.
20406 * gdb.hp/thread-local-in-lib.c: new file.
20407 * gdb.hp/thread-local-in-lib.h: new file.
20408 * gdb.hp/thread-local-in-lib.lib.c: new file.
20409 * gdb.hp/vforked-program.c: new file.
20410 * gdb.hp/virtfunc-hp.cc: new file.
20411 * gdb.hp/watchpoint-hp.c: new file.
20412 * gdb.hp/xdb.c: new file.
20413 * gdb.hp/xdb0.c: new file.
20414 * gdb.hp/xdb0.h: new file.
20415 * gdb.hp/xdb1.c: new file.
20417 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
20419 The following change was made by Edith Epstein
20420 <eepstein@cygnus.com> as part of a project to merge in changes
20421 originally made by HP; HP did not create ChangeLog entries.
20423 * gdb.c++/demangle.exp: changed the expected output for some
20424 ARM-style mangling -- removed second reference to datatype.
20425 For example, maint demangle __dt__11T1__pt__2_cFv
20426 T1<char>::~T1<char>(void)
20428 maint demangle __dt__11T1__pt__2_cFv
20429 T1<char>::~T1(void)
20431 (test_hp_style_demangling): new hp specific demangling test cases.
20433 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
20435 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
20436 * gdb.trace/backtrace.exp: Likewise.
20437 * gdb.trace/circ.exp: Likewise.
20438 * gdb.trace/collection.exp: Likewise.
20439 * gdb.trace/deltrace.exp: Likewise.
20440 * gdb.trace/infotrace.exp: Likewise.
20441 * gdb.trace/limits.exp: Likewise.
20442 * gdb.trace/packetlen.exp: Likewise.
20443 * gdb.trace/passc-dyn.exp: Likewise.
20444 * gdb.trace/passcount.exp: Likewise.
20445 * gdb.trace/report.exp: Likewise.
20446 * gdb.trace/save-trace.exp: Likewise.
20447 * gdb.trace/tfind.exp: Likewise.
20448 * gdb.trace/tracecmd.exp: Likewise.
20449 * gdb.trace/while-dyn.exp: Likewise.
20450 * gdb.trace/while-stepping.exp: Likewise.
20452 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
20454 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
20456 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
20458 From Brendan Kehoe:
20459 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
20462 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
20464 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
20465 remote dos host testing right.
20467 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
20469 * gdb.base/corefile.exp: remove some xfails.
20471 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
20473 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
20474 have different timestamps.
20476 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
20478 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
20479 gdb.base/default.exp: Replace "exec" with "executable".
20481 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
20483 * gdb.base/default.exp: Change else if to elseif from previous
20486 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
20488 * gdb.base/default.exp: Add brace missing from previous delta.
20490 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
20492 * gdb.base/default.exp: Support test for info float for all
20493 varieties of arm toolchain.
20495 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
20497 * gdb.trace/*.exp: remove "remote_download" command.
20499 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
20501 * gdb.trace/*.exp: remove -gdwarf from compile.
20503 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
20505 * gdb.trace/configure.in(AC_INIT): typo
20506 * gdb.trace/configure: regenerated
20508 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
20510 * config/m68k-emc.exp: New file.
20511 * lib/<emc-support.exp trace-support.exp}: New files.
20512 * configure.in: add new test directory gdb.trace.
20513 * gdb.trace/{configure configure.in Makefile.in}: New files.
20514 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
20515 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
20516 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
20517 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
20518 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
20519 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
20520 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
20522 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
20524 * gdb.c++/classes.exp: Change all regular expressions to match
20525 arbitrary combinations of newline/carriage-return, so that they
20526 will work equally well on Unix and Windows.
20527 * gdb.c++/inherit.exp: ditto.
20528 * gdb.c++/virtfunc.exp: ditto.
20530 1998-08-11 Dawn Perchik <dawn@cygnus.com>
20532 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
20534 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
20536 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
20537 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
20538 to use a0-a3/d0-d3 as needed.
20540 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
20542 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
20543 * gdb.disasm/am33.exp: Corresponding changes.
20545 1998-07-11 Felix Lee <flee@cygnus.com>
20547 * gdb.base/callfuncs.exp: add cmp10 test.
20548 * gdb.base/callfuncs.c (cmp10): new function.
20550 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
20552 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
20553 into two parts to get around a synchronization problem in expect.
20555 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
20557 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
20559 * configure.in: Add options for gdbtk testsuite.
20561 * configure: Regenerate.
20563 * gdb.gdbtk: New directory to hold gdbtk tests.
20565 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20567 * gdb.fortran/types.exp: Escape brackets in expect patterns
20568 for test_float_literal_types_accepted tests.
20569 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
20572 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
20574 * am33.exp: Just compile, do not link the testcase.
20575 * am33.s: Add ".am33" pseudoop to force am33 mode.
20577 1998-06-25 Felix Lee <flee@cygnus.com>
20579 * gdb.base/setshow.exp: make sure $pc is sane.
20581 * gdb.stabs/weird.exp: split expect patterns properly.
20583 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
20585 * gdb.disasm/am33.s: New disassembler testfile for the am33.
20586 * gdb.disasm/am33.exp: Run it.
20588 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
20590 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
20591 match processing (and eliminate spurious timeouts when running).
20593 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
20595 * gdb.base/signals.exp (test_handle_all_print): put back Mach
20596 exception test, but conditionalize it on target [mach | gnu].
20598 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
20600 * gdb.base/overlays.exp: fixup compile line for linker script.
20602 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
20604 * gdb.fortran/types.exp: don't guess at float size.
20606 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
20608 * gdb.base/exprs.exp: delete test that depends on int size.
20610 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
20612 * config/sim.exp: Removed checks for target triplets.
20613 (gdb_target_sim): Use gdb,target_sim_options.
20615 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
20617 * gdb.base/reread.exp: New file.
20618 * gdb.base/reread1.c: New file.
20619 * gdb.base/reread2.c: New file.
20621 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
20623 * config/sim.exp: Use 'target sim -sparclite' when running
20624 SPARClite programs.
20626 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
20628 * gdb.base/structs2.exp: New file.
20629 * gdb.base/structs2.c: New file.
20631 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
20633 * gdb.asm/common.inc: New file.
20634 * gdb.asm/d10v.inc: New file.
20635 * asm-source.exp: Pass -I's to gas to find .inc files.
20636 Update line numbers in expected output.
20637 * asmsrc1.s: Rewrite.
20638 * asmsrc2.s: Rewrite.
20639 * configure.in: Create arch.inc symlink.
20640 * configure: Regenerate.
20641 * Makefile.in (distclean): Delete arch.inc.
20643 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
20645 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
20646 (t_enum_value2): ditto
20647 (t_enum_value3): ditto
20649 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
20651 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
20652 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
20654 Use gdb_test instead of send_gdb/gdb_expect sequences.
20656 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
20658 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
20661 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
20663 * gdb.base/branches.c: Code with lots of loops and
20664 subroutines. Used to test gdbs ability to single step through PC
20665 changes, especially to test mips-tdep.c:mips_next_pc
20667 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
20669 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
20670 more rigorous EGCS C++ error checking.
20672 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
20674 * gdb.base/help.exp: Clean up `help set args' and `help show args'
20676 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
20677 function when asleep.
20678 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
20679 for i*86 Linux and SVR4 signal handling problems.
20680 Remove linux xfail for `next to handler in signals_tests_1', fixed
20681 by recent infrun.c change.
20682 Limit backtrace to 10 frames to avoid timeout problems with infinite
20684 Adjust expect pattern in `handle all print' test to match Apr 28 1997
20685 target.[ch] change.
20687 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
20689 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
20690 for a newline from gdb before continuing.
20691 (default_gdb_exit): Just look for y or n.
20692 (gdb_test): Detect abnormal exit from GDB running on DOS; if
20693 it does, fail the rests of the tests in the file.
20695 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
20697 * config/cygmon.exp: New file.
20699 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
20701 * gdb.base/list.exp: Fix problem with "list default lines around
20702 main" test on remote targets.
20704 * gdb.base/scope.exp: Fix problem with filelocal_bss before
20705 run test on remote targets.
20707 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
20709 * gdb.asm: New directory.
20710 * configure.in: Configure it.
20711 * configure: Regenerate.
20712 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
20713 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
20715 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
20717 * config/mn10300-eval.exp: New file to support MN10300 eval board.
20719 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
20721 * gdb.base/overlays (several files): Merge the two overlay
20722 managers into one. Change variables (foox, barx, bazx, grbxx)
20723 back into ints but force them to load in their proper sections.
20725 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
20727 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
20728 on-chip insn memory and IMAP1 to upper 128k.
20729 (D10VCopy): Handle memory regions crossing 16k boundaries.
20730 (D10VCopy): Transfer data in 32 bit chunks.
20732 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
20734 * gdb.base/overlays.c (main): Exit normally when result is
20737 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
20738 map. Include space for printf in .text segment.
20740 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
20741 updated d10v memory VMA/LMA map.
20742 (D10VCopy): Call D10VTranslate.
20744 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
20746 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
20748 * gdb.base/bar.c (barx, bar): Change variable to small array so
20749 that it won't be put into the .sdata - small data -
20750 section. Update reference.
20751 * gdb.base/baz.c (bazx, baz): Ditto.
20752 * gdb.base/foo.c (foox, foo): Ditto.
20753 * gdb.base/grbx.c (grbxx, grbx): Ditto.
20755 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
20758 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
20760 * gdb.base/overlays.exp: fix up and get working again.
20761 Add tests for backtraces from an overlay function.
20763 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
20765 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
20766 "calling function with watchpoint enabled".
20768 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
20770 * gdb.base/break.exp (test_next_with_recursion): Remove
20771 gdb_suppress_tests for d10v-*-*.
20772 * lib/gdb.exp (gdb_suppress_tests): Disable this function
20773 pending review of whether it is useful or not.
20775 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
20777 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
20779 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
20781 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
20782 * config/dve.exp: New file to support Densan boards.
20784 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
20786 * gdb.base/interrupt.exp: Document problem of simulators, signals,
20789 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
20791 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
20794 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
20796 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
20798 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
20801 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
20802 target_sizeof_long and target_bigendian_p.
20803 (structs_by_value, structs_by_reference): Check values according
20804 to targets word size and endianess.
20806 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
20808 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
20811 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
20813 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
20814 Update test of set args help to match source change.
20816 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
20818 * gdb.base/default.exp: Expect help system output to be in
20819 alphabetical order.
20820 * gdb.base/help.exp: Ditto.
20822 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
20824 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
20825 "i*86-pc-linux-gnu*".
20826 * gdb.base/interrupt.exp: Ditto.
20827 * gdb.base/corefile.exp: Ditto.
20829 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
20830 define vxworks when building the testcase.
20832 * gdb.base/ptype.exp: Fix testnames to be unique.
20833 * gdb.base/radix.exp: Ditto.
20834 * gdb.base/term.exp: Ditto.
20835 * gdb.base/whatis.exp: Ditto.
20836 * gdb.c++/classes.exp: Ditto.
20838 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
20840 * gdb.base/callfuncs.exp: Fix indentation.
20842 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
20843 suppress_flag has been set.
20844 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
20847 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
20849 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
20852 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
20853 set_debug_traps() and breakpoint().
20854 * gdb.c++/misc.cc (main): Ditto.
20855 * gdb.c++/templates.cc (main): Ditto.
20856 * gdb.c++/virtfunc.cc (main): Ditto.
20858 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
20860 * lib/gdb.exp(gdb_step_for_stub): New function.
20861 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
20862 exists, reload the executable and do a "continue" instead of
20864 (runto_main): Use gdb_step_for_stub.
20866 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
20867 tests to have unique names.
20868 * gdb.base/callfuncs.exp: Ditto.
20869 * gdb.base/commands.exp: Ditto.
20870 * gdb.base/default.exp: Ditto.
20871 * gdb.base/help.exp: Ditto.
20872 * gdb.base/list.exp: Ditto.
20873 * gdb.base/opaque.exp: Ditto.
20874 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
20877 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
20878 * gdb.c++/cplusfuncs.cc: Ditto.
20879 * gdb.c++/virtfunc.cc: Ditto.
20881 * config/monitor.exp: Keep track of the last file we saw, rather
20882 than trying to get the info from gdb.
20884 * gdb.fortran/types.exp: Move comment to previous line.
20886 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
20888 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
20891 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
20894 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
20895 string from GDB when it connects.
20897 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
20899 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
20901 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
20902 if we can't get a debug format from GDB (we may be testing an
20903 older GDB). Use a 10 second timeout when checking for the format.
20905 * gdb.stabs/weird.exp: Fix quoting.
20907 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
20909 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
20911 * config/arm-ice.exp: New file.
20913 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
20915 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
20916 until it has been modified to work with the new testsuite.
20918 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
20919 testcase won't compile, cause all of the testcases in the file to
20922 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
20923 (gdb_clear_suppressed): New procedure.
20924 (gdb_stop_suppressing_tests): Only clear suppress_flag if
20925 it contains a positive value.
20927 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
20929 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
20931 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
20933 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
20935 * lib/gdb.exp (setup_xfail_format): New function.
20936 (get_debug_format): New function to get debug format.
20937 (debug_format): New global variable to hold last value set
20938 by get_debug_format.
20939 * gdb.base/list.exp: Call get_debug_format and expect some
20940 tests to fail for DWARF 1 and COFF formats.
20941 * gdb.c++/ptype.exp: Ditto.
20942 * gdb.c++/classes.exp: Ditto.
20943 * gdb.c++/cplusfuncs.exp: Ditto.
20944 * gdb.c++/inherit.exp: Ditto.
20945 * gdb.c++/templates.exp: Ditto.
20946 * gdb.c++/virtfunc.exp: Ditto.
20948 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
20950 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
20951 host doesn't have a currently-open connection.
20953 * config/sparclet.exp: Cleanups and fixes to make it generic for
20954 any gdb stub target. Handle cases where gdb doesn't respond when
20955 interrupted in a sane fashion.
20957 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
20958 same thing in a totally different way.
20960 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
20962 (gdb_start): We set the global gdb_prompt variable in
20963 default_gdb_init now.
20965 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
20967 * gdb.base/printcmds.exp: Fix "check for floating addition"
20968 regexp to accept results within approx +/- .01 of exact value.
20969 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
20971 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
20973 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
20975 (gdb_expect): Add optional timeout parameter, and add timeout
20976 value to various calls.
20977 (gdb_suppress_tests): Only give one warning message per group.
20979 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
20981 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
20982 global variables. Handle getting a value for $timeout more
20985 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
20987 * lib/gdb.exp: Close connection to remote host if gdb doesn't
20989 (default_gdb_init): New procedure; allow gdb_init to be overridden
20990 by a target configuration file.
20991 (gdb_expect): Pass the timeout to remote_expect.
20993 * config/monitor.exp(gdb_load): Fix typo in regexp.
20995 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
20997 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
20999 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21001 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
21002 here. Call gdb_target_exec before rebooting the target, to make
21003 sure the connection to the target is closed.
21004 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21005 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21006 Also detect "Timeout reading from remote" error.
21008 * config/gdbserver.exp: Pass the executable being loaded to
21009 gdb_target_monitor. Don't call gdb_file_cmd here; let
21010 gdb_target_monitor do it.
21012 * gdb.disasm/hppa.exp: Don't use exec_output.
21014 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21016 * gdb.base/list.exp: If we're debugging a non-native target,
21017 try to set the pc register to point to the start of the
21018 program before doing the first list command.
21020 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
21021 test_calls after restarting.
21023 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
21026 * gdb.base/watchpoint.exp: Fix typo.
21028 * gdb.base/setshow.exp: Check for use_gdb_stub.
21030 * gdb.base/break.exp: Fix continue until exit test for the gdb
21032 * gdb.base/langs.exp: Ditto.
21034 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
21035 gdb_load_offset. If we weren't given a file to load, figure out
21036 what the current file is and use it.
21038 * config/i386-bozo.exp: New file.
21040 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21042 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21045 * config/proelf.exp: New entry.
21047 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21049 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21052 * gdb.base/watchpoint.exp: Don't run the test_stepping
21053 tests if gdb can't call functions on the target.
21055 * gdb.base/setshow.exp: Don't run the set prompt tests if
21056 the board has gdb_prompt set.
21058 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21060 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21061 * gdb.base/commands.exp: Likewise.
21062 * gdb.base/setshow.exp: Likewise.
21064 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21066 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21069 * config/i960.exp: New file.
21071 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21073 * gdb.base/funcargs.exp: Check for gdb,short_int target
21074 feature instead of looking for explicit target triplets.
21076 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
21078 * gdb.base/printcmds.exp: add a couple more tests a la
21079 "p 123DEADBEEF", to check parse_number.
21080 * top.c: change "to enable to enable" to "to enable" in a couple
21083 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21085 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21088 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
21090 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
21091 where the test executable is run with explicit args.
21092 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
21094 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
21096 * gdb.base/run.c: Use FAKEARGV to build test executable that
21097 does not require a command line arg, since most simulators
21098 don't currently support passing such an arg into the simulated
21100 * gdb.base/commands.exp: Change tests to insert the proper
21101 value as the arg to the first recursive factorial call. Change
21102 compilation line to define FAKEARGV at compile time.
21104 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
21106 * gdb.base/recurse.exp: Enable these tests for the mn10300.
21107 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
21108 function with watchpoint enabled" test.
21110 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
21112 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
21113 Don't call gdb_test when the command doesn't return to a gdb prompt.
21115 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
21116 "Tests restarted" messages.
21118 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
21120 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
21122 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
21124 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
21125 for INFO SYMBOL; add help tests for OVERLAY commands.
21126 * gdb.base/default.exp: add tests for INFO SYMBOL command;
21127 add tests for OVERLAY commands
21128 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
21129 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
21130 * gdb.base/sigall.c: add usestubs code frag
21131 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
21133 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
21135 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
21137 (gdb_stop_suppressing_tests): Note that tests have restarted.
21139 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
21141 * config/h8300.exp: New file.
21143 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
21145 * gdb.base/setshow.exp: Check for the existence of a
21146 feature, not its value.
21148 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
21150 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
21152 * gdb.base/scope.exp: It's now init0(), not init().
21154 * gdb.base/scope0.c: For now, change init() to be init0().
21156 * config/monitor.exp: Use gdb_serial in preference to serial
21159 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
21160 and it's not already set.
21162 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
21164 * gdb.base/setshow.exp: Only test the run command if the target
21165 isn't using a stub and if it supports argument passing.
21167 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
21169 * config/udi.exp(gdb_start): Make sure UDICONF is set
21170 properly before starting gdb.
21172 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
21174 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
21175 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
21176 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
21178 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
21180 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
21181 specialized code to reboot the board, use remote_reboot instead.
21183 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
21185 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
21187 * config/monitor.exp: Make sure we disconnect from the target.
21188 Also, try a reboot/reload cycle instead of failing if the
21191 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
21193 * gdb.base/default.exp: Don't set match_max.
21194 * gdb.base/help.exp: Ditto.
21195 * gdb.base/list.exp: Ditto.
21196 * gdb.base/signals.exp: Ditto.
21198 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
21199 set, use remote_ld to download the testcase instead of
21202 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
21204 * config/vr5000.exp: New file.
21206 * config/monitor.exp(gdb_target_monitor): Add pattern for
21207 "Ending remote" to detect errors in connecting.
21209 * gdb.base/setshow.exp: Add .* within auto language test.
21211 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
21214 * config/monitor.exp(gdb_load): Check for a failure when loading,
21215 and reboot the board if necessary.
21217 * gdb.base/setvar.exp(test_set): Handle multiple prints within
21218 a set of tests. Remove print.* from the patterns being checked.
21220 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
21222 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
21223 refer to gdb_spawn_id.
21225 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
21227 * config/sparclet.exp: Ditto.
21228 * config/sparclet-old.exp: Ditto.
21229 * config/slite.exp: Ditto.
21230 * config/sim.exp: Ditto.
21231 * gdb.base/funcargs.exp: Ditto.
21233 * lib/gdb.exp:Remove references to gdb_spawn_id.
21234 (gdb_expect): Move to remote.exp.
21236 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
21238 * config/monitor.exp: Detect the "Couldn't establish connection"
21241 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
21243 * gdb.base/bitfields.exp: Use runto instead of explicit
21244 gdb_run_cmd/gdb_expect sequences.
21246 * gdb.base/break.exp(text_next_with_recursion): Add match for
21249 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
21250 We also need to handle the "A program is being debugged already"
21251 prompt from gdb. Use gdb_test to set the baud rate.
21253 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
21254 to 20000. Really. I mean it.
21256 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21258 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
21259 fails. If suppress_flag is set, skip perror message about not
21260 being able to send to GDB.
21261 (send_gdb): If suppress_flag is set, don't try to send commands to
21263 (gdb_expect): If suppress_flag is set, always fail immediately.
21264 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
21265 (gdb_init): Call gdb_stop_suppressing_tests.
21266 (default_gdb_exit): Ditto.
21267 (default_gdb_start): Ditto.
21269 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
21270 gdb_stop_suppressing_tests as appropriate.
21271 * gdb.base/break.exp: Ditto.
21272 * gdb.base/callfuncs.exp: Ditto.
21273 * gdb.base/commands.exp: Ditto.
21274 * gdb.base/exprs.exp: Ditto.
21275 * gdb.base/funcargs.exp: Ditto.
21276 * gdb.base/list.exp: Ditto.
21277 * gdb.base/recurse.exp: Ditto.
21278 * gdb.base/scope.exp: Ditto.
21279 * gdb.base/structs.exp: Ditto.
21280 * gdb.c++/inherit.exp: Ditto.
21282 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
21284 * config/vr4300.exp: New file.
21286 * gdb.*/*.exp: Call gdb_expect instead of expect.
21288 * lib/gdb.exp(gdb_expect): New function.
21290 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
21292 * lib/gdb.exp(gdb_init): New function.
21294 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
21295 for each individual variable set.
21297 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
21300 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
21302 * gdb.base/scope.exp: Use gdb_test.
21304 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
21305 aborting; the testsuite driver will do that for us (see
21306 gdb_finish). Also, use gdb_test in a few more places.
21308 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
21310 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
21312 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
21314 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
21315 and "add_tests" are not at the same address.
21317 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
21319 * gdb.base/ptype.exp: Use gdb_test.
21321 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
21323 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
21324 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
21325 left in. No longer expect them to fail.
21327 * gdb.stabs/*.mt; Deleted, no longer used.
21328 * gdb.stabs/configure.in: Remove references to target makefile
21330 * gdb.stabs/configure: Rebuilt.
21332 * gdb.disasm/*.mt: Deleted, no longer used.
21333 * gdb.disasm/configure.in: Remove references to target makefile
21334 frags. Use "sh3.s" as the unique filename for this directory.
21335 * gdb.disasm/configure: Rebuilt.
21337 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
21338 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
21339 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
21341 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
21343 * config/udi.exp: Use mondfe,name instead of remote_host.
21345 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
21347 * gdb.base/watchpoint.exp: Don't expect a failure when calling
21348 a function with a watchpoint enabled on the mn10200.
21350 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
21351 before trying to create it!
21353 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
21355 * config/vx.exp: Use hostname instead of netport.
21357 * config/vxworks.exp: New file.
21359 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
21361 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
21362 gdb before assuming everything worked. Send a ^C if a timeout
21365 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
21366 $gdb_spawn_id directly.
21367 (gdb_run_cmd): Try _start as well as start. Use the target feature
21368 gdb,start_symbol as the symbol to start from when jumping.
21370 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
21372 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
21375 * gdb.base/recurse.exp: Relax final value test for 'b' so that
21376 it doesn't lose for 16bit integer systems.
21378 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
21380 * gdb.fortran/types.exp: If the target doesn't support "double"
21381 data types, then expect "real" types to only be 4 bytes.
21383 * gdb.c++/virtfunc.exp: Expect failure for virtual function
21384 call tests if the target doesn't support inferior function calls.
21386 * gdb.base/printcmds.exp: Allow minor deviation in FP values
21389 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
21391 * gdb.base/help.exp: Disable "help set", "help show", and
21392 "help support". Simplify regexp for "help stack".
21394 * gdb.base/default.exp: Set match_max to 5000 and the timeout
21395 to 60 seconds. Temporarily set match_max to 15000 around the
21396 "info copying" test.
21398 * gdb.base/nodebug.exp: Don't try to do an inferior function
21399 call if the target doesn't support them.
21400 * gdb.base/printcmds.exp: Likewise.
21401 * gdb.base/setvar.exp: Likewise.
21402 * gdb.base/structs.exp: Likewise.
21403 * gdb.c++/templates.exp: Likewise.
21404 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
21406 * gdb.base/recurse.exp: Enable for the mn10200.
21408 * configure.in: Do configure gdb.stabs directory for *-*-elf
21410 * configure: Rebuilt.
21412 * gdb.base/break.exp: Check for gdb,noresults before testing
21413 exit status and/or results from the target.
21414 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
21415 * lib/gdb.exp: Remove old (now bogus) initialization of
21416 noinferior, noargs, noresults and nosignals.
21418 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
21420 * config/sh.exp: New file.
21422 * config/slite.exp: Try to connect multiple times to the board
21423 before rebooting. Only send a "monitor run" if need_monitor_run
21426 * gdb.base/break.exp: Don't do the "stub continue" test if
21427 the target has gdb_stub set.
21429 * gdb.base/callfuncs.exp: Increase the timeout.
21431 * gdb.base/interrupt.exp: Don't even try to compile the testcase
21432 if the target has gdb,noinferiorio set.
21434 * gdb.base/list.exp: Increase match_max to 10000 characters.
21436 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
21438 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
21441 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
21443 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
21445 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
21446 trying to delete the copy of gdb. Catch the file delete so we
21447 don't die if the delete fails; also, the file should be copied to
21448 the host, not to the build.
21450 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
21452 * lib/gdb.exp(gdb_test): Surround the result pattern with
21453 parenthesis in case it contains multiple regexps separated
21456 * gdb.base/watchpoint.exp: Use gdb_test.
21457 * gdb.base/default.exp: Ditto.
21459 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
21461 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
21463 * gdb.base/scope.exp: Use gdb_test.
21464 * gdb.c++/classes.exp: Ditto.
21465 * gdb.c++/inherit.exp: Ditto.
21467 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
21469 * gdb.base/crossload.exp: Don't use execute_anywhere, use
21470 remote_exec instead.
21471 * gdb.base/corefile.exp: Don't be ridiculous.
21472 * gdb.base/*.c: Add missing stub invocations.
21474 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
21476 * config/slite.exp: Miscellaneous fixes.
21478 * lib/gdb.exp: Fix runto.
21480 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
21483 * gdb.base/watchpoint.exp: Fix regexp.
21485 * lib/gdb.exp(default_gdb_exit): Add a catch to the
21486 close and wait commands, as the descriptor may now be
21487 invalid. Always call "remote_close host".
21489 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
21491 Major rewrite for testsuite revision.
21493 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
21494 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
21495 instead of relying on spawn_id to always contain a valid
21497 (get_compiler_info): New procedure to build the ${binfile}.ci
21498 file, instead of replicating this in N different places.
21499 (gdb_compile): New procedure.
21501 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
21502 appropriate arguments) instead of compile. Use gdb_test in a lot
21503 more places. Use send_gdb instead of send. Always run gdb_start
21504 at the start of a testcase, as this is no longer done magically.
21506 config/*-gdb.exp: Rename without the -gdb suffix.
21508 config/mips.exp: Use remote_close instead of exit_remote_shell.
21509 config/monitor.exp: Use target_info instead of looking at
21510 baud, timeout, etc.
21511 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
21513 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21515 * gdb.c++/templates.exp (test_ptype_of_templates),
21516 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
21517 Update expect patterns for destructors and assignment operators
21518 to match corresponding c-typeprint.c changes.
21519 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
21520 to destructor breakpoint test, GDB should be able to set the
21521 destructor breakpoint without specifying arguments.
21523 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
21525 * gdb.threads/pthreads.exp: Change result for failure to compile due
21526 to lack of pthreads runtime support from an error to simply an
21527 unsupported test, per dejagnu standards.
21529 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21531 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
21532 where GDB exits to reduce pattern match time.
21533 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
21535 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
21537 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
21539 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
21540 * gdb.base/default.exp: ditto.
21541 * gdb.base/nodebug.exp: ditto.
21542 * gdb.base/printcmds.exp: ditto.
21543 * gdb.base/ptype.exp: ditto.
21544 * gdb.base/setvar.exp: ditto.
21545 * gdb.base/structs.exp: ditto.
21546 * gdb.base/setshow.c: Guard against uninitialized values of argc.
21548 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
21550 * configure, */configure: Rebuild with autoconf 2.12.
21552 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
21554 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
21555 use new i*86-pc-linux*-gnu quads.
21556 * gdb.base/corefile.exp: Ditto.
21557 * gdb.base/signals.exp: Ditto.
21558 * gdb.base/sigall.exp: Ditto.
21559 * gdb.base/interrupt.exp: Ditto.
21561 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
21562 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
21565 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
21566 linux. This allows the test case to at least compile on latest
21567 linux, but still not run due to missing the threads runtime library.
21569 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21571 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
21572 directory to search gdb directory. Accept and step over conditional
21573 stack alignment code. Consume $prompt in failure cases.
21574 Reset timeout to $oldtimeout instead of some arbitrary value.
21575 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
21576 timeout problems with infinite stack backtraces.
21577 * gdb.base/ptype.exp (ptype struct link, union tu_link):
21578 Accept function parameters for linkfunc member.
21580 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
21582 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
21583 (CXXFLAGS): Remove, unreferenced.
21584 (B_OPTIONS): Add for -B options and add code to initialize with
21585 previous -B options and also add -B option to pick up cross compiled
21587 (TARGET_INCLUDES): Add for -I options and add code to initialize when
21588 doing cross compiles.
21589 (target_alias): Declare global.
21590 (xgcc): Set variable to full path of gcc in build tree. Use findfile
21591 to verify that gcc exists in build tree, and if so set CC to that
21592 gcc and to use B_OPTIONS and TARGET_INCLUDES.
21594 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
21596 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
21597 ptype test for anonymous union. Fixup testcase to match
21598 current gcc debug output.
21600 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
21602 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
21603 force argument to an unsigned long type.
21605 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
21607 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
21608 tests and anonymous union print/ptype tests.
21609 * gdb.base/list.exp (test_forward-search): Increase timeout by
21610 5 minutes for the "search extremely long line" case.
21611 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
21612 completely optional and that the pass/fail messages use the command as
21613 the message if that third arg is a null string.
21614 (gdb_test_exact): Arrange that a null string pattern means match a
21615 null string output rather than any output, which might include random
21617 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
21619 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
21620 always failing and failure is now exposed by gdb.exp changes.
21622 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
21624 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
21625 weren't being noted.
21627 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21629 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
21630 * gdb.stabs/weird.exp: Remove v_comb xfails.
21632 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
21634 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
21635 list.exp scope.exp watchpoint.exp]
21636 Make all timeout error msgs explicitly say "(timeout)".
21638 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
21640 * config/monitor.exp: Increase download timeout to 1000 seconds.
21642 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
21644 * config/m32r.exp: Increase timeout to 120 seconds.
21646 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
21648 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
21649 and accept older ordering as obsolescent gcc or gdb.
21650 * gdb.c++/templates.exp: Ditto.
21651 * gdb.c++/virtfunc.exp: Ditto.
21653 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
21655 * gdb.base/coremaker.c: Add code to mmap some data so we
21656 can check that it ends up in the core file.
21657 * gdb.base/corefile.exp: Add test to read mmapped data
21660 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
21662 * config/m32r.exp: New file.
21664 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
21666 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
21667 that cflags can contains -gstabs, and work correctly for other tests.
21669 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
21671 * gdb.base/setshow.exp: New file, tests show and set.
21672 * gdb.base/setshow.c: New file, tests show and set.
21673 * gdb.base/help.exp: Add test for help set|show annotate.
21674 * gdb.base/default.exp: Add test for set|show annotate.
21676 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
21678 * testsuite/gdb.base/break.exp: Make backtrace from factorial
21680 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
21683 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
21685 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
21686 and width commands. This is done elsewhere.
21687 * (gdb_start): Don't call gdb_start_sim here. That's already
21688 done in gdb_load. This fixes lots of failures in default.exp.
21690 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
21692 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
21693 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
21694 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
21695 in the same we we treat other failures (since it may be an expected
21696 condition), rather than as an error.
21697 * gdb.base/signals.exp (test_handle_all_print): Revert back to
21700 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
21702 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21703 (distclean maintainer-clean realclean): No need to remove files
21704 twice. Nuke the duplicates.
21705 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
21706 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
21707 Remove config.h along with other config files.
21709 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
21711 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
21712 "p func1 ()" and note that rests of tests are skipped.
21713 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
21714 setup_xfails for "print func2::coremaker_local".
21715 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
21716 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
21717 affected by the previous run test.
21718 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
21719 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
21720 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
21721 "pass int powerset tuple" and "pass modeless int powerset tuple".
21722 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
21723 "real write 4" and "real write 8".
21724 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
21725 setup_xfails for "print vs1 after tuple assign 2",
21726 "print \$i after tuple assign 2", and
21727 "print vs2 after tuple assign 2".
21728 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
21729 meaningful error message and return -1 so the caller can
21730 suppress further tests and avoid a cascade of errors.
21732 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
21734 * gdb.base/a1-selftest.exp: Tweak tests to account for new
21735 format for printing version.
21736 * gdb.base/default.exp: Ditto.
21737 * gdb.base/interrupt.exp: Fix problem with cascade of
21738 errors if child process dies while calling a function.
21740 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
21742 * Makefile.in (VPATH): Add
21743 * Makefile.in (Makefile, config.status): Fix rules so things get
21744 remade when necessary.
21746 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
21748 * Makefile.in (just-check): Add path to sibling expect dir
21749 to environment variable specified by RPATH_ENVVAR.
21751 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
21753 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
21754 (just-check): Add shared library paths for libstdc++, tk,
21755 tcl, bfd, and opcodes to the environment variable specified
21757 * configure.in: Add support to recognize --enable-shared flag
21758 and generate correct value for RPATH_ENVVAR.
21759 * configure: Regenerated with autoconf.
21761 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
21763 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
21764 include all osf versions.
21765 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
21766 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
21767 when target is linux. When failing to build pthreads test
21768 executable, give more meaningful message.
21769 * gdb.threads/pthreads.c: Hpux also uses old definition of second
21770 arg for pthread_create.
21772 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
21774 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
21775 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
21776 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
21777 and -lpthreads (everybody else).
21778 (test_startup): Fail gracefully if threads are not supported.
21779 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
21780 "p/c array_index("abcdef",2)" when not gcc compiled.
21781 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
21782 "print func2::coremaker_local" when not gcc compiled.
21783 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
21784 "ptype on opaque struct tagname (statically)",
21785 "ptype on opaque struct tagname (dynamically) 1", and
21786 "ptype on opaque struct tagname (dynamically) 2"
21787 for not compiled with gcc.
21788 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
21789 backtrace when compiled with gcc.
21790 * lib/gdb.exp (runto_main): Return result of "runto main" rather
21791 than always return success.
21793 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
21795 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
21797 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
21799 * gdb.base/structs.exp: Undo last change.
21801 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
21803 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
21804 encapsulate all the steps/nexts done during self test, starting
21805 at main, and makes them less sensitive to optimization issues.
21806 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
21807 signal handler" test.
21808 * gdb.threads/pthreads.exp: Only run this for native configs.
21809 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
21810 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
21812 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
21813 for "runto test_calls(void)" test.
21815 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
21817 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
21818 and don't expect address info in breakpoint confirmations.
21820 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
21822 * gdb.base/list.exp (test_forward_search): Increase timeout
21823 temporarily by 60 seconds for searching extremely long line,
21824 and then reset to old value when done. Increase expect input
21827 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
21829 * gdb.base/list.exp (test_forward_search): Fix to handle very
21830 long source line without overflowing expect's input buffer.
21832 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
21834 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
21837 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
21840 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
21843 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
21846 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
21848 * configure.in (configdirs): Add gdb.threads.
21849 * configure: Regenerated with autoconf.
21850 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
21851 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
21852 * gdb.threads/configure: New, generated with autoconf.
21854 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
21856 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
21858 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
21860 * gdb.base/signals.exp (test_handle_all_print): Test separately for
21861 each signal's status in the output of "handle all print".
21862 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
21863 the \r\n sequence that immediately precedes the gdb prompt.
21864 * gdb.base/a1-selftest.exp: Save original timeout and restore
21867 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
21869 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
21872 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
21874 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
21876 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
21878 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
21879 timeout by 60 seconds.
21881 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
21883 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
21884 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
21887 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
21889 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
21890 gdb initialization, also report how long dejagnu waited. Restore
21891 old timeout before doing error return. Temporarily increase timeout
21892 by 3 minutes to allow for slow startups over heavy NFS use.
21894 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
21896 * lib/gdb.exp: Report timeout value for verbosity level 2.
21897 * config/gdbserver.exp: Ditto.
21898 * config/hppro.exp: Ditto.
21899 * config/mips-gdb.exp: Ditto.
21900 * config/monitor.exp: Ditto.
21901 * config/netware.exp: Ditto.
21902 * config/sim-gdb.exp: Ditto.
21903 * config/slite-gdb.exp: Ditto.
21904 * config/udi-gdb.exp: Ditto.
21905 * config/unix-gdb.exp: Ditto.
21906 * config/vx-gdb.exp: Ditto.
21907 * gdb.base/a1-selftest.exp: Ditto.
21908 * gdb.base/a2-run.exp: Ditto.
21909 * gdb.base/break.exp: Ditto.
21910 * gdb.base/corefile.exp: Ditto.
21911 * gdb.base/list.exp: Ditto.
21912 * gdb.base/recurse.exp: Ditto.
21913 * gdb.base/scope.exp: Ditto.
21914 * gdb.base/signals.exp: Ditto.
21916 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21918 * gdb.threads/Makefile.in (docdir): Removed.
21920 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
21922 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
21923 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
21925 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
21926 autoconf 2.5 or higher.
21927 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
21929 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
21931 * configure: Regenerated.
21932 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
21933 avoid name clashes with SunOS headers.
21935 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
21937 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
21939 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
21941 * gdb.base/callfuncs.exp: Finish last change -- make sure the
21942 prototype information ends up in the compiler info file.
21944 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
21946 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
21947 attempting to regenerate it. Eliminate use of a temporary file
21948 and just generate the info file directly. Source it immediately,
21949 for consistency of use.
21950 * gdb.base/corefile.exp: Ditto
21951 * gdb.base/exprs.exp: Ditto.
21952 * gdb.base/funcargs.exp: Ditto.
21953 * gdb.base/langs.exp: Ditto.
21954 * gdb.base/list.exp: Ditto.
21955 * gdb.base/mips_pro.exp: Ditto.
21956 * gdb.base/nodebug.exp: Ditto.
21957 * gdb.base/opaque.exp: Ditto.
21958 * gdb.base/ptype.exp: Ditto.
21959 * gdb.base/scope.exp: Ditto.
21960 * gdb.base/setvar.exp: Ditto.
21961 * gdb.base/signals.exp: Ditto.
21962 * gdb.base/whatis.exp: Ditto.
21963 * gdb.c++/templates.exp: Ditto.
21964 * gdb.c++/virtfunc.exp: Ditto.
21965 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
21966 whether or not to add -lstdc++ to the compile command line args.
21968 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21970 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
21971 it got fixed by the recent lookup_minimal_symbol_by_pc change.
21972 Increase timeout, a lot of single stepping might be needed if the
21973 target has no hardware watchpoints.
21975 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
21977 * gdb.base/break.exp: Ignore compiler warnings when compiling
21979 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
21980 * gdb.base/default.exp: Add h8300 xfails. Handle messages
21982 * gdb.base/exprs.exp: Add h8300 xfails.
21983 * gdb.base/funcargs.exp: Likewise.
21984 * gdb.base/nodebug.exp: Likewise.
21985 * gdb.base/printcmds.exp: Likewise.
21986 * gdb.base/ptype.exp: Likewise.
21987 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
21989 * gdb.base/return.exp: Handle float/double precision problems
21991 * gdb.base/funcargs.c: Explicitly make last constant argument to
21992 call_after_alloca_subr an unsigned long type.
21993 * gdb.base/return.c: Include stdio.h.
21995 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
21997 * config/abug.exp: New file for the older Motorola Bug monitor
21998 that runs on the mvme13x series VME boards.
21999 * config/monitor.exp: Use the new config array for target settings
22002 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22004 * sim-gdb.exp: Make the SH simulator allocate less space when
22007 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22009 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22012 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22014 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22015 "rs6000-*-*" for "list function in include file" when gcc compiled.
22016 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22017 for "p ctable1[120]".
22018 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22019 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22020 Remove setup_xfail for "rs6000-*-*" for
22021 "print 'scope0.c'::filelocal before run".
22022 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22023 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22024 since some compilers don't allow both options to be given
22025 on the same command line. Create object file and move it.
22027 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22029 * gdb.base/corefile.exp: Always regenerate the core file, since
22030 we always regenerate the coremaker program. Detect special case
22031 where registers cannot be read from core file.
22033 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22035 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22036 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22037 * gdb.c++/templates.exp: Only match on basename of file since
22038 some formats like xcoff don't encode directory information.
22039 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22040 and rs6000 AIX xcoff targets.
22041 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22042 * configure: Regenerate.
22043 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22044 here, rather than in distclean.
22046 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22048 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22049 defined, and use it to compile the test case with -O2. The
22050 native compilation still uses no optimization.
22051 * gdb.base/mips_pro.c: Remove inline assembly code since
22052 it is compiled PIC by default, which results in assembler
22053 warnings that make the testsuite think the compilation
22056 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22058 * gdb.c++/misc.exp: Add note to message for
22059 "print s.a for foo struct" that this is a known gcc 2.7.2
22062 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22064 * gdb.base/break.exp: Fix pattern for matching "Delete all
22065 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22066 setup_xfail for deleting all breakpoints test. Fix various
22067 timeout messages to include "(timeout)".
22068 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22069 for "p t_float_values2(3.14159,float_val2)".
22070 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22071 for "continue to call2g" when gcc compiled.
22072 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22073 "up to foo in langs.exp", "show language at foo in langs.exp",
22074 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22075 and "show language at fsub in langs.exp".
22076 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22077 "list line 1 in include file", "list message for lines past EOF",
22078 "list function in include file", "list list0.h:foo", and
22079 "list filename:function; nonexistant function".
22080 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22081 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22082 and "ptype t_char_array" to be for native cc only.
22084 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22086 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22087 setup_xfail for "print coremaker_bss", "print coremaker_ro",
22088 "print func2::coremaker_local", and "backtrace in corefile.exp".
22090 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
22092 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
22093 "bt in signals.exp". This problem only appears when running
22094 the testsuite, and then only intermittently.
22096 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
22098 * gdb.base/return.exp (return_tests): Differentiate between
22099 two tests of continuing.
22101 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
22103 * */Makefile.in (maintainer-clean): Remove config.log.
22104 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
22105 * gdb.c++/Makefile.in (PROGS): Add inherit.
22106 (clean): Remove *.ci.
22108 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
22110 * gdb.c++/misc.cc: Add test code from Mike Stump.
22111 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
22113 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
22115 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
22116 to "alpha-*-osf2*" and add comment.
22117 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
22118 setup_xfail for "step over execarg initialization" and
22119 "step over corearg initialization".
22120 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
22121 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
22122 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
22123 gcc compiled for "print coremaker_bss", "print coremaker_ro",
22124 "print func2::coremaker_local", and "backtrace in corefile.exp".
22125 * gdb.base/signals.exp: Build and source signals.ci.
22126 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
22127 to be for gcc only.
22128 * lib/gdb.exp: Move verbose statements outside conditionals.
22130 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22132 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
22133 Feb 3 procfs.c change.
22135 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
22137 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
22139 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
22141 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
22142 from dejagnu's apparent default of 10 seconds, which gives random
22143 results when running the tests over NFS on moderately loaded systems.
22144 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
22146 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
22148 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
22149 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
22152 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
22154 * configure.in (CY_AC_PATH_TCLH): Remove.
22155 * configure: Regenerate.
22157 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
22159 * gdb.c++/Makefile.in (clean): Add missing '{'.
22161 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
22163 * lib/gdb.exp: Provide a default value for noinferior.
22165 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
22168 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
22170 * gdb.disasm/hppa.exp: Compile directly into an executable, use
22171 the executable, not the .o to run the tests from.
22173 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
22175 * gdb.base/break.exp: Don't test for program exit or exit status
22176 if $noresults if nonzero.
22177 * gdb.base/langs.exp: Likewise.
22178 * gdb.base/watchpoint.exp: Likewise.
22180 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
22181 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
22182 trying to compile the testcase.
22184 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
22186 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
22187 * gdb.base/signals.exp (continue to handler): Likewise.
22189 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
22191 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
22193 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
22195 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
22197 * gdb.base/corefile.exp: Recognize "not found" as failure
22198 when trying to determine if a core file was generated.
22199 If no core file was generate the first time, try again without
22200 the ulimit -c to work around braindamaged shells.
22202 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
22204 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
22205 [] tests with "test" and enclose string in quotes.
22206 * gdb.stabs/configure: Rebuild
22208 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
22210 Changes in sync with expect:
22211 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22212 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
22213 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
22214 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
22215 argument to AC_REQUIRE.
22216 * configure: Regenerated.
22218 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
22220 * gdb.base/corefile.exp: When generating a core, discard any
22221 error messages about ulimit not found and the "core dumped"
22222 message from the shell that runs the coredumper.
22224 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
22226 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
22228 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
22229 which sed script to run. Expect failure for v_comb test
22232 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
22234 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
22235 "print func2::coremaker_local" and for "backtrace in corefile.exp"
22237 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
22239 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
22240 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
22241 "sparc-sun-solaris*" xfails for "p v_comb".
22242 * lib/gdb.exp (default_gdb_start): Fix typo.
22243 * gdb.base/corefile.exp: Allow "Core was generated by ..."
22244 messages to not include the full program name that caused
22245 the core dump since some systems (such as solaris) apparently
22246 truncate this path to about 80 characters.
22247 When generating a core file first try increasing the core file
22248 size limit to unlimited since some systems may default it to
22249 zero, and it is harmless to try it. Move the test for failing
22250 to generate a core file to where it will actually get executed.
22251 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
22252 new gdb result from g++ debug info improvements and make old
22253 pattern obsolescent. Also account for size_t differences
22254 (may be int or long).
22255 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
22256 initialization before function call is placed in the delay slot
22257 and thus appears to be skipped over by commands such as "next".
22259 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
22261 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
22263 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
22265 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
22266 input source file; fix code to compile test to deal with this
22268 * gdb.c++/*.exp: Likewise.
22270 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
22272 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
22273 "bt in signals.exp".
22275 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
22277 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
22278 "step over execarg initialization" and
22279 "step over corearg initialization".
22281 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
22283 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
22284 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
22286 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
22288 From Rob Savoye (rob@poseidon.cygnus.com)
22289 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
22290 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
22291 configure.in}, gdb.disasm/{Makefile.in, configure.in},
22292 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
22293 configure.in}: Major reworking for autoconfig.
22294 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
22295 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
22297 * config/unix-gdb.exp: Make GDB global.
22298 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
22299 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
22300 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
22301 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
22302 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
22303 term.exp, twice.exp, watchpoint.exp, whatis.exp},
22304 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
22305 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
22306 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
22307 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
22308 pr-8136.exp, result.exp, string.exp, tuples.exp},
22309 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
22310 to returns as necessary, arrange for test to compile own testcase
22312 * lib/gdb.exp: Changes for testsuite to compile own test cases.
22314 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
22316 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
22317 clear_xfail at end of test which might not call either pass or fail.
22318 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
22319 "backtrace through signal handler".
22321 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22323 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
22324 continuing from a job control stop signal.
22325 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
22327 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
22329 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
22330 * gdb.base/corefile.exp: Likewise.
22331 * gdb.base/funcargs.exp: Likewise.
22333 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
22335 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
22336 * config/monitor.exp: Add support for setting baud rate.
22338 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
22340 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
22341 i*86-*-linux* xfails for "backtrace through signal handler".
22342 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
22343 "print func2::coremaker_local".
22344 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
22345 alpha-dec-osf2* xfail for
22346 "delete all breakpoints when none".
22348 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
22350 * gdb.base/break.exp: Change test that deletes all breakpoints
22351 when no user breakpoints are installed. A post 4.15 change
22352 causes gdb to no longer prompt in this case.
22354 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
22356 * gdb.base/return.exp (return_tests): Change xfail for test
22357 "correct value returned double test" to stop xfailing at
22358 Solaris 2.5. Apparently the bug has been fixed.
22360 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
22362 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
22363 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
22365 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
22367 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
22368 * gdb.disasm/hppa.s: Corresponding changes.
22370 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
22372 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
22374 * config/mt-hpux: Deleted.
22376 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
22378 * Many files: When warning about suppressed tests due to a
22379 nonexistant test binary, avoid incrementing the warning count.
22381 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
22383 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
22385 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22387 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
22388 "sparc-*-solaris2*".
22390 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22392 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
22393 Add global and local variables and initialize them.
22394 * gdb.base/corefile.exp: Test correct mapping of corefile sections
22395 by printing variables. Remove rs6000 and powerpc xfails, BFD now
22396 extracts the file name and terminating signal from the core file.
22397 * TODO: Remove note about tests for correct mapping of corefile.
22398 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
22399 from optimizing it away.
22400 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
22401 handles common blocks.
22403 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
22405 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
22406 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
22408 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
22410 * Makefile.in (maintainer-clean): New target, synonym for
22412 * gdb.base/Makefile.in (maintainer-clean): Likewise.
22413 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
22414 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
22415 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
22416 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
22417 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
22419 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
22421 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
22422 xfails when not gcc compiled for "print foo::funclocal".
22423 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
22424 "print foo::funclocal at foo",
22425 "print 'scope1.c'::foo::funclocal at foo",
22426 "print foo::funclocal_bss at foo",
22427 "print 'scope1.c'::foo::funclocal_bss at foo",
22428 "print foo::funclocal_ro at foo",
22429 "print 'scope1.c'::foo::funclocal_ro at foo",
22430 "print bar::funclocal at foo" and
22431 "print 'scope1.c'::bar::funclocal at foo".
22432 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
22433 gcc compiled for "print foo::funclocal at bar".
22434 Expand all messages to ensure that they identify that
22435 the test is at bar().
22436 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
22438 "ptype on opaque struct pointer (statically)",
22439 "ptype on opaque struct tagname (statically)",
22440 "ptype on opaque struct pointer (dynamically) 1",
22441 "ptype on opaque struct tagname (dynamically) 1",
22442 "ptype on opaque struct pointer (dynamically) 2" and
22443 "ptype on opaque struct tagname (dynamically) 2
22444 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
22447 "whatis datalocal",
22450 "whatis bsslocal", and
22452 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
22453 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
22454 when not gcc compiled.
22455 * gdb.base/funcargs.exp (float_and_integral_args): Add
22456 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
22458 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
22459 "backtrace from call6a" when not gcc compiled.
22460 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
22461 "backtrace from call7a" when not gcc compiled.
22462 * gdb.base/callfuncs.exp (do_function_calls):
22463 Add "hppa*-*-hpux*" xfail when not gcc compiled for
22464 "p t_char_array_values(char_array_val2,char_array_val1)",
22465 "p t_char_array_values(char_array_val1,char_array_val2)",
22466 "p t_char_array_values("carray 1","carray 2")",
22467 "p t_char_array_values("carray 1",char_array_val2)",
22468 "p t_char_array_values(char_array_val1,"carray 2")",
22469 "p sum_args(1,{2})",
22470 "p sum_args(2,{2,3})",
22471 "p sum_args(3,{2,3,4})",
22472 "p sum_args(4,{2,3,4,5})"
22473 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
22474 "backtrace in corefile.exp" when not gcc compiled.
22476 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22478 * gdb.base/signals.exp: Rewrite `handle all print' test as
22479 a procedure. Accept blanks or TABs as whitespace, increase
22480 timeout and expect input buffer size for the large output
22481 from the command. Remove "i*86-*-bsdi2.0" xfail.
22483 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22485 * gdb.base/setvar.exp: Add new testcases for truncation when
22486 assigning invalid values to bitfields.
22488 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
22490 * gdb.base/callfuncs.exp (do_function_calls): Remove
22491 mips-sgi-irix* xfail for
22492 "call inferior func with struct - returns char *"
22493 and fix test so that an optional (unsigned char *) cast is
22494 accepted in the result.
22496 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
22498 * gdb.base/funcargs.exp (float_and_integral_args): Remove
22499 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22500 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
22501 * gdb.base/signals.exp: Remove duplicate "handle all print" test
22502 that accidentally got checked in.
22504 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
22506 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
22507 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
22509 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
22510 Add mips-sgi-irix5* xfail for not gcc compiled.
22511 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
22512 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
22513 "p top", "whatis top", "p middle", and "whatis middle".
22514 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
22515 "whatis signed char" for not gcc compiled.
22516 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22517 "set variable signed char=-1 (-1)" and
22518 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
22519 * gdb.base/funcargs.exp (float_and_integral_args):
22520 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
22521 Add mips-sgi-irix* xfail when not gcc compiled for
22522 "continue to call2b".
22523 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
22524 "continue to call2g".
22525 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
22526 "backtrace from call6a"
22527 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
22528 "backtrace from call7k".
22529 Add mips-sgi-irix5* xfail when not gcc compiled for
22530 "backtrace from call7a".
22531 (localvars_after_alloca): Fix gdb_test cmds for
22532 "print * after runto ...".
22533 Remove rs6000-*-* xfails for
22534 "print i after runto localvars_after_alloca" and
22535 "print l after runto localvars_after_alloca"
22537 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
22538 when not compiled with gcc, for:
22539 "print signed char == (minus)",
22540 "print signed char != (minus)",
22541 "print signed char < (minus)",
22542 "print signed char > (minus)".
22543 * gdb.base/callfuncs.exp (do_function_calls):
22544 Add mips-sgi-irix* xfail, when compiled with native compiler, for
22545 "call inferior func with struct - returns char *".
22546 * gdb.base/return.exp (return_tests): Change xfail for
22547 "correct value returned double test" to include Solaris 2.4.
22548 * gdb.base/funcargs.exp (float_and_integral_args):
22549 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
22551 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22553 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
22554 enumeration bitfields if compiling with GNU C.
22555 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
22558 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
22560 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
22561 test for PRO targets.
22563 * gdb.base/funcargs.exp: Avoid ever setting more than 8
22564 breakpoints in the inferior at any given time by making
22565 two groups of breakpoints for call2*, call6* and call7*
22568 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22570 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
22571 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
22572 from optimizing it away.
22573 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
22574 "call inferior func with struct".
22576 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
22578 * configure.in: Only configure gdb.chill for particular targets.
22580 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
22582 * gdb.base/Makefile.in: Add action to .c.o transformation
22583 rule that generates a .ci file for each .o file and remove
22584 explicit .c.o rules except for callfuncs.o.
22585 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
22586 generates a .ci file for each .o file and remove explicit
22588 (clean): Remove *.tmp *.ci files.
22589 (EXECUTABLES): Remove templ-info.exp.
22590 * gdb.base/compiler.c: New file.
22591 * gdb.c++/compiler.cc: New file
22592 * gdb.base/scope.exp: Source gdb.base/scope.ci.
22593 Change rs6000-*-* xfail for
22594 "print 'scope0.c'::filelocal_ro" and
22595 "print 'scope1.c'::filelocal" and
22596 "print 'scope1.c'::filelocal_bss" and
22597 "print 'scope1.c'::filelocal_ro" and
22598 "print 'scope1.c'::foo::funclocal" and
22599 "print 'scope1.c'::foo::funclocal_ro" and
22600 "print 'scope1.c'::bar::funclocal" and
22601 "print 'scope0.c'::filelocal_ro" and
22602 "print 'scope1.c'::filelocal at foo" and
22603 "print 'scope1.c'::filelocal_bss at foo" and
22604 "print 'scope1.c'::filelocal_ro at foo" and
22605 "print 'scope1.c'::foo::funclocal at foo" and
22606 "print 'scope1.c'::foo::funclocal_bss at foo" and
22607 "print 'scope1.c'::foo::funclocal_ro at foo" and
22608 "print 'scope1.c'::bar::funclocal at foo" and
22609 "print 'scope0.c'::filelocal_ro" and
22610 "print 'scope1.c'::filelocal" and
22611 "print 'scope1.c'::filelocal_bss" and
22612 "print 'scope1.c'::filelocal_ro" and
22613 "print 'scope1.c'::foo::funclocal" and
22614 "print 'scope1.c'::foo::funclocal_bss" and
22615 "print 'scope1.c'::foo::funclocal_ro" and
22616 "print 'scope1.c'::bar::funclocal" and
22617 "print 'scope1.c'::bar::funclocal_bss"
22618 to only be xfail'd when not compiled with gcc.
22619 Add rs6000-*-* xfail for
22620 "print 'scope0.c'::filelocal_bss before run"
22621 when compiled with gcc.
22622 (test_at_main): Add rs6000-*-* xfail for
22623 "print filelocal_ro in test_at_main"
22624 when compiled with gcc.
22625 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
22626 Add rs6000-*-aix* xfail for
22627 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
22628 "ptype t_char_array", not compiled with gcc.
22629 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
22630 xfail for "list foo (in include file)" when gcc compiled.
22631 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
22632 (integral_args): Add rs6000-*-* xfail for
22633 "run to call0a" if not compiled with gcc.
22634 (unsigned_integral_args): Add rs6000-*-* xfail for
22635 "run to call1a" if not compiled with gcc.
22636 (float_and_integral_args): Add rs6000-*-* xfail for
22637 "run to call2a" if not compiled with gcc and for
22638 "continue to call2b" for any compiler.
22639 Add rs6000-*-* xfail to
22640 "print f1 after run to call2a" for gcc compiled.
22641 (discard_and_shuffle): Add rs6000-*-* xfail for
22643 (shuffle_round_robin): Add rs6000-*-* xfail for
22644 "backtrace from call7a" if not compiled with gcc.
22645 Add rs6000-*-* xfail for
22646 "backtrace from call7b" if compiled with gcc.
22647 (call_after_alloca): Add rs6000-*-* xfail for
22648 "print c in call_after_alloca" and
22649 "print s in call_after_alloca" and
22650 "backtrace from call_after_alloca_subr"
22651 if not compiled with gcc.
22652 (localvars_in_indirect_call): Add rs6000-*-* xfail for
22653 "print c in localvars_in_indirect_call" and
22654 "print c in localvars_in_indirect_call" and
22655 "backtrace in indirectly called function" and
22656 "stepping into indirectly called function"
22657 if not compiled with gcc.
22658 (localvars_after_alloca): Add rs6000-*-* xfail for
22659 "print c after runto localvars_after_alloca" and
22660 "print s after runto localvars_after_alloca" and
22661 "print i after runto localvars_after_alloca" and
22662 "print l after runto localvars_after_alloca"
22664 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
22665 than whatis-info.exp.
22666 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
22667 than opaque-info.exp.
22668 Setup rs6000-*-* xfail for
22669 "ptype on opaque struct pointer (statically)" and
22670 "ptype on opaque struct pointer (dynamically)" when
22671 not compiled with gcc.
22672 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
22673 rather than callf-info.exp.
22674 (do_function_calls): Add clear_xfail for rs6000-*-* for
22675 "p t_float_values2(3.14159,float_val2)". Seems to work
22676 fine there, both with xlc and gcc. Need to find out what
22677 it is doing right and fix other platforms.
22678 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
22679 "call inferior func with struct - returns int",
22680 "call inferior func with struct - returns long",
22681 "call inferior func with struct - returns float",
22682 "call inferior func with struct - returns double",
22683 "call inferior func with struct - returns char *",
22684 but only if not gcc compiled (presumes xlc compiled).
22685 Change rs6000-*-* xfails for
22686 "call inferior func with struct - returns char" and
22687 " call inferior func with struct - returns short" to only
22688 xfail if not using gcc.
22689 (clean mostlyclean): Remove *.ci and *.tmp files.
22690 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
22691 than templ-info.exp.
22692 * gdb.base/langs.exp: Source gdb.base/langs.ci.
22693 Add rs6000-*-* xfail for "up to foo in langs.exp"
22694 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
22695 when not gcc compiled.
22697 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22699 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
22700 * gdb.base/corefile.exp: Likewise.
22701 * gdb.base/list.exp: Likewise.
22702 * gdb.base/scope.exp: Likewise.
22703 * gdb.base/siganls.exp: Likewise.
22705 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
22707 * gdb.base/whatis.exp: Likewise.
22709 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
22711 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
22712 failure (opcode table has been fixed to match reality).
22714 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
22716 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
22717 "call inferior func with struct - returns char",
22718 "call inferior func with struct - returns short"
22720 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
22721 "print 'scope0.c'::filelocal at main",
22722 "print 'scope0.c'::filelocal_bss in test_at_main",
22723 "print 'scope0.c'::filelocal at foo",
22724 "print 'scope0.c'::filelocal_bss in test_at_foo",
22725 "print 'scope0.c'::filelocal at bar",
22726 "print 'scope0.c'::filelocal_bss in test_at_bar"
22728 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
22729 in source file 1". This bug seems to have been fixed with both
22730 gcc and native cc (was native assembler bug?).
22732 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
22734 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
22735 "backtrace through signal handler" to "i*86-*-sysv4*".
22736 * gdb.base/signals.exp: Add xfail for "'next' behaved as
22737 continue" case. Add "known SVR4 bug" to fail message.
22738 Add "i*86-*-bsdi2.0" xfail for "handle all print".
22739 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
22740 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
22741 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
22742 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
22743 "up to foo in langs.exp", "show language at foo in
22744 langs.exp", "up to cppsub_ in langs.exp", "show
22745 language at cppsub_ in langs.exp", "up to fsub in
22746 langs.exp", and "show language at fsub in langs.exp".
22747 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
22748 "bactrace in corefile.exp".
22749 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
22750 "call inferior function with struct - returns float" and
22751 "call inferior function with struct - returns double".
22753 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
22755 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
22756 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
22757 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
22758 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
22760 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
22762 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
22763 (or overriden) "CHILL" macro rather then bare "gcc".
22764 Also look for ../../gcc/xgcc since that is what we will
22765 actually need, not "Makefile". Remove following assignment
22766 of CHILL to CHILL_FOR_TARGET because that results in
22767 recursive definition.
22769 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
22771 * gdb.base/corefile.exp: Change xfail for backtrace in
22772 corefile.exp from linuxaout to all linux.
22773 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
22774 cases where we miss the breakpoint at the signal handler
22775 for some reason. Setup xfail for linuxoldld/linuxaout and
22776 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
22777 hitting SIGURG breakpoint.
22778 * gdb.base/signals.exp: Setup xfail for "next" acting like
22779 continue to add linuxoldld. Setup xfail for all linux for
22780 "next to handler in signals_tests_1", "backtrace in
22781 signals_tests_1", "continue to func1", "pass SIGUSR1",
22782 and continue to handler".
22784 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
22786 * Update all FSF addresses except those in COPYING* files.
22788 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
22790 * gdb.base/a2-run.exp: Change messages to be more explicit about
22791 the status of args, and quote binfile in results.
22793 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
22795 * gdb.base/callfuncs.exp: Add tests for passing structs to
22796 inferior functions and return various types.
22797 * gdb.base/callfuncs.c: Add functions to receive a struct
22798 and return a member of the struct, in various types.
22800 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22802 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
22804 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
22806 * config/vxworks29k.exp: New file, sources vxworks.exp.
22808 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22810 * config/gdbremote.exp: New file. Testing framework using
22813 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
22815 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
22816 "call function when asleep" and "send end of file".
22817 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
22818 for "backtrace in corefile.exp".
22819 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
22820 for "backtrace through signal handler".
22821 * gdb.base/corefile.exp: Make sure we actually generate a core file
22822 before trying the core tests. Some systems allow the user to suppress
22823 generation of core files and default to that (linux for example).
22824 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
22825 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
22827 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22829 * gdb.threads: New directory with some crude multi-threaded
22830 gdb tests (step.exp and step2.exp).
22831 * config/mt-lynx (STEP_EXECUTABLE): Define.
22832 (THREADFLAGS): Define.
22834 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
22836 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
22838 * gdb.base/signals.exp: Disable whole file for lynx until
22841 * gdb.base/signals.exp: xfail test where "next" acts like
22842 "continue" for lynx.
22844 * gdb.base/interrupt.exp: xfail test for calling function while
22845 inferior is asleep for lynx.
22847 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
22848 than one cr-lf after each command.
22850 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22852 * configure.in: Reinstate setting of stabsdirs variable, fix
22853 typo in setting up configdirs for native builds.
22855 * gdb.base/return.exp: Fix typo in return double test.
22856 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
22857 compiler from optimizing them away.
22859 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
22861 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
22862 sequences to be echo'd by gdb when using gdb_test.
22863 * gdb.chill/chexp.exp: Likewise.
22864 * gdb.fortran/exprs.exp: Likewise
22866 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
22868 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
22869 after the inferior gdb has started.
22871 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
22872 after each command.
22873 * gdb.base/funcargs.exp: Likewise.
22874 * gdb.base/gdbvars.exp: Likewise.
22875 * gdb.base/interrupt.exp: Likewise.
22876 * gdb.base/list.exp: Likewise.
22877 * gdb.base/watchpoint.exp: Likewise.
22878 * gdb.c++/demangle.exp: Likewise.
22879 * gdb.c++/inherit.exp: Likewise.
22880 * gdb.chill/chexp.exp: Likewise.
22881 * gdb.fortran/exprs.exp: Likewise.
22883 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
22884 test if we can't handle IO to/from the inferior.
22886 * gdb.c++/misc.exp: Always check for a program already being
22887 started after sending a "run" command to gdb.
22889 * gdb.base/twice.exp: Start with a fresh gdb.
22891 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
22892 only depend on gdb's expression code, not the chill runtime.
22894 * gdb.base/return.c: Put return values into variables so we
22895 can have gdb print them rather than depending on the program
22897 * gdb.base/return.exp: Corresponding changes.
22899 * lib/gdb.exp: Provide default value for noinferiorio.
22900 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
22903 * gdb.base/break.exp: Always check for a program already being
22904 started after sending a "run" command to gdb.
22905 (text_next_with_recursion): Don't check the output from the
22906 program's printf statement. Instead just make sure the program
22909 * gdb.base/commands.exp: Protect tests which need arguments with
22910 $noargs conditionals.
22912 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22914 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
22915 of structure member arrays to match gdb/valops.c:value_addr change.
22917 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
22919 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
22922 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
22924 * configure.in (configdirs): Remove gdb.chill from default list
22925 of subdirs and then add it back in only if doing a native build.
22926 The current chill compiler does not yet work in any cross build.
22927 * Revert all signal changes from Jul 6.
22928 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
22929 for sh-hms targets, allowing these tests to link, with no other
22930 changes. Testing is suppressed by setting "nosignals" in site.exp.
22932 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
22934 * configure.in (signaldirs): Define and add to configdirs for all
22935 targets except some specific ones that are known to not support signals.
22936 Also clean up formatting.
22937 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
22938 (signals, sigall): Remove rules to build.
22939 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
22940 Moved to new gdb.signals directory.
22941 * gdb.signals: New test directory.
22942 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22943 signals.c signals.exp}: New or moved files.
22945 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
22947 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
22949 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
22951 * gdb.base/return.exp: Xfail `return double' test failure
22952 on at least Solaris 2.3 and handle future/past versions on
22953 a case by case basis as appropriate. Also update message
22954 to include i*86 failures.
22956 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22958 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
22960 * lib/gdb.exp: Fix comment which erroneously identified
22961 gdb_file_cmd as gdb_load (the 19 May change was in fact to
22962 gdb_file_cmd not gdb_load).
22963 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
22965 * gdb.base/setvar.exp: Make test names consistent between pass and
22966 fail cases. Use gdb_test more.
22968 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22970 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
22972 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22974 * gdb.base/help.exp: Fix expected help string for `show commands'.
22976 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
22978 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
22980 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
22983 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
22985 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
22986 that loop eventually terminates. Fix Connection refused logic so
22987 that testsuite will expire nicely.
22989 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
22991 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
22992 config/rom68k.exp: New tcl glue for the appropriate monitors.
22993 These all just end up calling monitor.exp.
22994 * config/monitor.exp (gdb_target_monitor): Handle `Connection
22995 refused' by retrying. Cleanup some timeout issues.
22996 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
22997 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
22998 callers don't have to set/restore global timeout variable.
23000 * The following set of changes centralizes management of the global
23001 timeout variable. This way, it can be set in one target dependent
23002 place instead of dozens of places scattered throughout the test suite.
23003 If you need to lengthen a timeout, then you should either set timeout
23004 in one of the config/{target}.exp files, or multiply it by a factor.
23005 Setting it to an absolute value is always going to lose for some
23007 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23008 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23009 * gdb.base/funcargs.exp: Don't set timeout.
23010 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23011 * gdb.base/printcmds.exp (test_print_string_constants
23012 test_print_array_constants): Don't set timeout.
23013 * gdb.base/ptype.exp: Don't set timeout.
23014 * gdb.base/recurse.exp: Don't set timeout.
23015 * gdb.base/return.exp: Don't set timeout.
23016 * gdb.base/watchpoint.exp: Don't set timeout.
23017 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23018 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23020 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23022 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23024 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23026 * lib/gdb.exp: Disable chill tests for irix5.
23028 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23030 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23031 each test pass or fail.
23033 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23035 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23038 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23040 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23042 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23044 * config/est.exp: Fix copyright and comments. Remove dead code.
23045 Use targetname, serialport and baud variables instead of fixed
23047 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23048 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23050 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23052 * gdb.base/watchpoint.exp: Don't run
23053 test_watchpoint_triggered_in_syscall for sunos.
23055 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23057 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23058 they don't seem to exist. Do include stdio.h.
23060 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23062 * gdb.base/a1-selftest.exp: Add alpha xfail.
23064 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23066 * gdb.base/watchpoint.c (main): Prompt before calling read().
23067 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23068 Revise accordingly. Remove cruft about sending "123" several
23069 times, until it gets noticed. Clean up the "print buf[0]" stuff
23070 so that it passes or fails, and waits for prompts in the usual way.
23072 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23074 * gdb.base/recurse.exp: Fix comment.
23076 * TODO: Remove item about printing variables in nodebug.exp. Add
23077 item about enabling tests which are only run on some targets.
23079 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23080 fail, make test names unique, use new gdb_test convention
23081 regarding pattern, use gdb_test more, etc.).
23083 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23084 fail, make test names unique, etc.).
23086 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23088 * gdb.base/nodebug.c: Change return type of top and middle to
23090 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
23091 are fixed by the recent mdebugread.c changes. Allow `short ()'
23092 as type for top and middle.
23094 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23096 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
23097 nearly as I can tell, the whole thing was an accident in Stu's
23098 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
23099 to replace a send/expect pair with gdb_test, but ended up only
23100 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
23101 of 30 Mar 1995 took care of it, but left this vestigial comment
23102 which I am now nuking.
23104 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23106 * gdb.base/break.exp: Look for different line number for
23107 breakpoint at main depending on usestubs.
23109 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23111 * gdb.base/list.exp: Adjust some alternate expect patterns to
23112 match recent list0.c change. Add alternate expect pattern for
23113 output from `list default lines around main' for optimizing
23116 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23118 * lib/gdb.exp: If nosignals is not set, set it to 0.
23120 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
23122 * config/slite-gdb.exp: Responds to load symbol table prompt.
23123 * gdb.base/break.exp: Adjust line number, fix rerun.
23124 * gdb.base/langs0.c: Add #ifdef usestubs.
23126 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
23128 * gdb.base/list.exp: Adjust line contents after adding new lines in
23129 list0.c. Also fix a syntax error.
23131 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
23132 * gdb.base/break.exp: ditto.
23133 * gdb.base/list.exp: ditto.
23134 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
23135 * gdb.base/run.c: ditto.
23136 * gdb.base/list0.c: ditto.
23137 * gdb.base/funcargs.c: ditto.
23139 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
23141 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
23142 $targetname, $serialport and $baud instead of hardwired variables.
23143 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
23144 target doesn't support signals.
23146 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
23148 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
23150 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23152 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
23153 Don't rely on the value of an auto variable before it has been
23154 initialized. Use gdb_test more.
23156 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23158 * lib/gdb.exp (default_gdb_version): A version number must start
23159 with a digit, but other than that contains all characters up to
23160 the first whitespace character.
23162 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23164 * gdb.base/commands.exp (breakpoint_command_test): New tests.
23166 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23168 * gdb.c++/*.exp: Warn if executable does not exist. The original
23169 reason for skipping the warning was that configure.in sometimes
23170 intentionally skipped building the executables but the tcl code
23171 had no way of knowing. That (a) was always bogus with respect to
23172 error handling, (b) is no longer true (right now there is no way
23173 to skip C++ tests).
23175 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
23177 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23179 * gdb.base/list.exp: Add expect patterns for output from
23180 SunPRO compiled executables.
23181 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
23184 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23186 * gdb.base/break.exp (test_next_with_recursion): Accept any line
23187 number (we are already testing that the correct source line text
23190 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
23191 that is what is intended, but something needed to be done to get
23192 sunos4 native working again.
23194 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
23196 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
23197 apparently went with a (very) old xfail.
23199 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
23201 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
23202 runto_main is a proc in gdb.exp that will do 'step' for target use
23204 * gdb.base/exprs.exp: ditto.
23205 * gdb.base/interrupt.exp: ditto.
23206 * gdb.base/opaque.exp: ditto.
23207 * gdb.base/printcmds.exp: ditto.
23208 * gdb.base/ptype.exp: ditto.
23209 * gdb.base/scope.exp: ditto.
23210 * gdb.base/setvar.exp: ditto.
23211 * gdb.base/signals.exp: ditto.
23212 * gdb.base/twice.exp: ditto.
23213 * gdb.c++/classes.exp: ditto.
23214 * gdb.c++/inherit.exp: ditto.
23215 * gdb.c++/templates.exp: ditto.
23216 * gdb.base/break.exp: no run and hit main for stubs. Change line
23217 numbers for breakpoints and info breakpoint.
23218 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
23220 * gdb.base/callfuncs.c: ditto.
23221 * gdb.base/exprs: ditto.
23222 * gdb.base/interrupt.c: ditto.
23223 * gdb.base/opaque0.c: ditto.
23224 * gdb.base/printcmds.c: ditto.
23225 * gdb.base/ptype.c: ditto.
23226 * gdb.base/scope0.c: ditto.
23227 * gdb.base/setvar.c: ditto.
23228 * gdb.base/signals.c: ditto.
23229 * gdb.base/twice.c: ditto.
23230 * gdb.c++/misc.cc: ditto.
23231 * gdb.c++/templates.cc: ditto.
23233 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23235 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
23237 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
23238 somewhere between `read' and `main.c'. I'm pretty sure the
23239 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
23240 and it isn't particularly useful.
23242 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
23244 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23246 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
23248 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
23250 * config/mt-slite: add LIBS and -nostdlib.
23251 * config/slite-gdb.exp: add this new file to support sparclite target.
23253 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
23255 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
23257 * gdb.base/a2-run.exp: Change argument to istarget from
23258 "*-*-vxworks" to "*-*-vxworks*".
23259 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
23261 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
23263 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
23264 will not runto main but do a 'step' to step out of breakpoint().
23265 * config/mt-slite: add -Dusestubs.
23267 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23269 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
23272 * gdb.base/signals.exp: Add test for "handle all print".
23273 * TODO: Remove "handle all print". Also remove item about
23274 checking copyright date (I don't like the idea of a spurious FAIL
23275 based on when we run the tests).
23277 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
23278 for SunOS4 (reason for failure not investigated). Remove
23279 redundant test for $binfile.
23281 * gdb.base/nodebug.c (array_index): Call malloc.
23283 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
23285 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
23287 * gdb.base/recurse.exp: Update gdb_test invocation to use new
23288 conventions and slightly simplify the matching regexp.
23290 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23292 * gdb.base/break.exp: Update gdb_test invocation to use new
23295 * lib/gdb.exp: If noargs is not set, set it to 0.
23297 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
23300 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
23302 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23304 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
23305 one argument of type "<non-float parameter>".
23307 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
23309 * config/rom68k.exp: New file to support Motorola IDP board.
23310 * gdb.base/a2-run.exp: Skip this file if noargs is set.
23311 * gdb.base/break.c: Change things around so that this program
23312 doesn't depend upon args. This is necessary to make remote
23313 targets work (in general, they can't take args).
23314 * gdb.base/break.exp: Don't try to send args to program. Don't
23315 expect output. Also, replace lots of code with gdb_test.
23317 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23319 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
23320 printing of '\'' (which is what the comment says we are testing,
23321 even though we were not), not '''.
23322 (test_integer_literals_rejected): Test that printing ''' is an error.
23324 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23325 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
23326 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
23327 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
23328 Use gdb_test not test_print_accept.
23329 * lib/gdb.exp: Remove test_print_accept.
23331 * gdb.base/signals.exp (signal_tests_1): Make pass message
23332 consistent with fail message.
23334 * gdb.base/whatis.exp: Remove xfails for printing char vs.
23335 unsigned char; the bug (PR 1821) is fixed.
23337 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
23339 * gdb.base/scope.exp (test_at_localscopes): Call pass for
23340 successful tests--makes xfailing them work right.
23342 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23344 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
23345 only \r\n, not .*. The test can pass .* as the last thing in
23346 $pattern if that is what it wants. In addition to providing this
23347 flexibility, this change should speed up pattern matching in cases
23348 where the pattern already ended with .* (there were a number of
23349 them). This change also helps catch bad patterns--in the old
23350 scheme the typo "char \*" instead of "char \\*" would pass. Now
23352 * Many .exp files: Update callers.
23354 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
23355 clearer and does not spuriously match multiple ('s. Likewise for
23358 * gdb.base/nodebug.exp: Test ability to call a function and pass
23359 it a string (even with no debugging info).
23361 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
23362 "p '\'", which is the same as "p ''" once tcl gets done with
23363 quoting, to "p '\\'", which I suspect is what is intended (one
23364 backslash gets sent to GDB).
23366 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
23368 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23370 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
23371 1817) was fixed literally years ago.
23373 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23375 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
23376 test, it causes stepping out of call_after_alloca_subr with
23377 optimizing compilers.
23378 (localvars_in_indirect_call): Consume GDB prompt if `finish'
23381 * gdb.c++/templates.exp: Source templ-info.exp only if
23382 the templates executable exists.
23384 * gdb.c++/misc.cc (class Contains_static_instance,
23385 class Contains_nested_static_instance),
23386 gdb.c++/classes.exp (test_static_members): Test printing of
23387 a class that contains a static instance of the class.
23389 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23391 * gdb.base/langs2.c (cppsub_): Don't prototype.
23392 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
23395 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23397 * lib/gdb.exp (skip_chill_tests): New procedure.
23399 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
23401 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
23403 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
23404 each expect pattern. Cuts runtime from 12 to about 4 seconds.
23406 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23408 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
23410 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
23411 disassemble 8, not 16, instructions for part 4.
23413 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
23414 support the latter anymore.
23416 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
23418 * gdb.base/callfuncs.c: Control use of prototypes based on
23419 NO_PROTOTYPES, not __STDC__.
23420 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
23421 t_float_values2 tests if prototypes in use.
23423 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
23424 t_double_values): When checking differences against DELTA, check
23425 that difference is within the range (-DELTA,DELTA), not just
23428 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
23430 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
23431 'file' command firts, then 'target', then 'load', this is due to gdb
23433 * config/mips-gdb.exp: Fix a couple regular exp bugs.
23435 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
23437 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
23438 FP load/store variants.
23439 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
23441 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23443 * gdb.base/term.exp: Do not give a warning if not native, it is
23444 not an abnormal condition.
23446 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
23448 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
23451 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
23453 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
23454 are getting the version number.
23456 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
23457 if not native, it is not an abnormal condition.
23459 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23461 * lib/gdb.exp: Just use "file exists", rather than undocumented
23462 dejagnu procedure "findfile".
23464 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23466 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
23467 (LDFLAGS): Set to -Xlinker -Ur.
23469 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
23470 Removed, these values are set by lib/gdb.exp.
23472 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
23474 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
23476 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
23477 of replicating gdb startup code.
23479 * config/mt-vxworks (LDFLAGS): Set to -r.
23480 (CFLAGS_FOR_TARGET): Removed.
23482 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
23483 (gdb) and gdb for vxworks uses (vxgdb).
23485 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
23486 executable is not in the tree and host != target, use sed and
23487 program_transform_name to determine the gdb name used by the
23490 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
23491 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
23493 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23495 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
23496 floats, chars, and shorts where there are ANSI-style function
23499 * gdb.base/langs.exp, gdb.base/langs*: New test.
23500 * gdb.base/Makefile.in: Build it.
23501 * TODO: Remove item about checking that C names don't get C++
23502 demangling applied; this test tests it.
23504 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23506 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
23507 went with the const70 xfail. The xfail went away a year ago.
23509 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
23511 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
23514 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
23516 * gdb.base/a1-selftest.exp: Don't run on hp300.
23518 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23520 * Makefile.in (site.exp): Set host_alias and target_alias as well
23521 as host_triplet and target_triplet.
23523 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23525 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
23527 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
23528 places as other ecoff systems).
23530 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
23533 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23535 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
23537 * gdb.base/nodebug.exp: Accept "function" in addition to "text
23538 variable and "variable" in addition to "data variable".
23539 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
23541 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
23543 * gdb.base/list1.c (long_line): Add additional statement at start
23545 * gdb.base/list.exp (test_forward_search): Update line number to
23546 reflect new statement.
23548 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23550 * gdb.base/signals.exp: Reinitialize searched source directories
23551 after gdb_start call.
23553 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
23555 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
23556 * gdb.stabs/Makefile.in: Likewise.
23558 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
23559 change. Instead split the tests into smaller pieces.
23560 * gdb.disasm/hppa.s: Corresponding changes.
23562 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23564 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23565 Quote ^C when passing it to stty. For some shells ^ is a pipe.
23567 * gdb.base/funcargs.exp: Modify many tests so that every test
23568 either passes or fails. Make some test names unique.
23570 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23572 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
23573 Call stty to set interrupt character.
23575 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
23576 for HP assembler versus GNU assembler based on actual behavior of
23577 $(CC), rather than assuming that $(AS) is always the GNU assembler.
23579 * TODO: Suggest a few more stepping tests.
23581 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
23583 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
23584 restart GDB for h8300 after a continue.
23585 (return): Add pattern to match a29k-udi behavior.
23586 * gdb.base/nodebug.exp: Remove obsolete comment.
23587 * gdb.base/regs.exp: New file, testing of register displays.
23588 * gdb.base/return.exp: Fix typo in reference to $objdir.
23589 * gdb.base/whatis.exp: Always start with a fresh GDB.
23591 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23593 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
23594 higher, these tests generate a lot of output.
23596 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23598 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
23599 code following the catch silently ignored some errors; without the
23600 catch they should be thrown like any other tcl error. Also, the
23601 catch used "" instead of {} which meant all the callers who wanted
23602 to include one of the characters "[]$ had to quote it an extra time.
23603 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
23604 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
23605 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
23606 Remove extra quoting.
23608 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
23610 * gdb.base/commands.exp: Make test names unique; every test either
23611 passes or fails. Update some comments.
23613 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
23615 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23617 The following fixes a FAIL caused by the fact that the alpha stabs
23618 configuration didn't use the ".if alpha" code in weird.def.
23619 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
23620 bit pointer, so the 32 bit version works even on the alpha.
23621 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
23622 Remove the stuff which allowed us to have separate versions for
23623 alpha and everything else.
23625 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
23626 regexp which "info func operator\[\](" is supposed to match. Fix
23627 string to send to GDB. Note that GDB still doesn't work right. Add a
23628 new test for "info func .perator\[\](" which GDB does handle correctly.
23630 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
23632 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23634 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
23635 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
23636 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
23637 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
23638 it makes the tests harder to understand and confuses test-o-matic.
23639 The preferred style is that each test provides a PASS or a FAIL,
23640 and has a unique message (e.g. "continue #54" not just "continue")
23641 which is the same for the pass and the fail.
23642 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
23643 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
23645 * gdb.base/printcmds.exp: Use test_print_accept. Remove
23646 prt_accept which was basically the same thing. Likewise for
23647 test_print_reject and prt_reject.
23648 * lib/gdb.exp (test_print_reject): Add some more error message
23649 patterns to match from the former printcmds.exp (prt_reject).
23650 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
23651 One defect of the passcount stuff is that some of it failed to
23652 report XPASS where appropriate.
23653 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
23654 stuff before and after arg in expected pattern.
23655 (test_paddr_operator_functions): Re-do test without print_addr_of;
23656 this is the only test which seems to want extra stuff there.
23658 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23660 * gdb.base/nodebug.exp: Update new tests to reflect improved
23661 wording of gdb output.
23663 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
23664 and "ptype" work on variables in files compiled without -g.
23665 Replaces commented out "maint print msymbol" tests.
23667 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23669 * gdb.base/setvar.c (dummy): Call malloc.
23671 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
23672 losing with the irix4 sed.
23674 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
23677 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23679 * TODO: Remove items about corefile.exp testing new exec-file and
23680 backtrace; both are now done. Add items about printing enums.
23682 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23684 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
23685 "get signal $thissig" test fails.
23687 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
23689 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23691 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
23692 compiler warning with dec alpha compiler.
23694 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
23695 extra \n from gdb_test call (this explains why the prompt test
23696 that I removed yesterday was there).
23697 (user_defined_command_test): Remove extra \n and prompt test.
23699 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
23700 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
23702 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
23703 Also remove alpha workaround, which turns out to be because
23704 SIGABRT == SIGLOST.
23706 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
23708 * gdb.base/help.exp: Don't test "help show".
23710 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23712 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
23713 "set print address" is on.
23714 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
23715 pass prompt to gdb_test; gdb_test already looks for the prompt.
23717 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
23719 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
23720 was a vestige of the manual TESTSTRATEGY, and the purpose of it
23721 was to make sure that gdb can read a core file. But (a) the "read
23722 the corefile" part didn't make it to a1-selftest.exp, we just
23723 delete the corefile after creating it, and (b) we test reading
23724 corefiles in corefile.exp anyway. Also, this test left around a
23725 xgdb process on Solaris.
23727 * gdb.base/corefile.exp: Also test backtrace.
23729 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
23731 * gdb.base/commands.exp: Test a simple user defined command with
23732 arguments and if/while statements; verify the full user command is
23733 printed by "show user".
23735 * gdb.base/commands.exp: Test if/while commands as part of a
23736 breakpoint command list; verify they appear in breakpoint
23739 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23741 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
23742 than by dividing by zero.
23744 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
23746 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
23747 performing an inferior call with watchpoints enabled.
23748 * gdb.base/watchpoint.c (main): Delete second unnecessary read
23751 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23753 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
23756 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
23757 Add additional pattern for when "int operator int(void);" appears
23758 in a different order.
23760 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
23762 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
23764 * gdb.base/help.exp: Replace most of docstrings for "info signals"
23765 and "signal" with ".*".
23767 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23769 * TODO: Add note about "handle all nostop".
23771 * gdb.base/{sigall.c, sigall.exp}: New test.
23772 * gdb.base/Makefile.in: Add it.
23774 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
23776 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
23777 when invoking GDB, suppresses any windowing interface.
23779 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
23781 * config/sim-gdb: New file, simulator testing support.
23783 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
23785 * gdb.base/interrupt.exp: Test calling func1 twice.
23787 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
23789 * gdb.base/list.exp (test_forward_search): Set timeout higher
23790 when we'll be getting lots of output from gdb.
23792 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
23793 "init_malloc" to after the expect statement. Run it if that
23794 regexp is taken, but also for two others which happen if source
23797 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23799 * gdb.base/printcmds.exp: New test, for printing register before
23800 program is running.
23802 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23804 * gdb.base/list.exp: Correct some alternate expect patterns
23805 to reflect changes in list1.c.
23807 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23809 * TODO: Add item regarding large frames.
23811 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
23813 * TODO: Remove item about enabling return.exp; it
23814 is enabled. Suggest a few more "return" tests.
23816 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23818 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
23821 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23823 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
23824 and pr-5646.o, so "make" is the same as "make all", not "make
23827 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
23829 * gdb.base/list.exp: Adjust expectations to reflect changes in
23831 (test_forward_search): New test proc.
23832 * gdb.base/list1.c (long_line): New function, has long source line.
23834 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
23836 * gdb.base/a1-selftest.exp: Change initial stepping to know about
23837 additional line of code that was added.
23839 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
23841 * gdb.disasm/hppa.s: Break the large branching tests into smaller
23842 tests so as not to overflow expect's input buffers.
23843 * gdb.disasm/hppa.exp: Corresponding changes.
23845 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23847 Beginnings of template debugging tests.
23848 * gdb.c++/templ-info.cc: New file to test for template
23849 debugging capability of the compiler.
23850 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
23852 * gdb.c++/templates.cc: Add explicit template instantiations
23853 to enable compiling with -fno-implicit-templates. Add destructor
23854 and 'value' method to T5 class for template tests.
23855 * gdb.c++/templates.exp: Add testcases for printing of template
23856 types, setting breakpoints on template methods and calling a
23859 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
23861 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
23862 branch target since some assemblers (gas-2.5) may emit a
23863 relocation for the branch instead of resolving it in the
23866 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23868 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
23869 through signal handler.
23871 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23873 * configure.in (*-*-netware): Use config/mt-netware.
23875 * config/mt-netware: New file.
23876 * config/mt-i386-netware: Removed, separate configs for different
23877 netware architectures are no longer needed now that we have
23880 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23882 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
23883 by the recent changes to use ANSI C arithmetic conversions.
23885 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23887 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
23888 bug involving using inferior_pid to figure out whether to select a
23891 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
23893 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
23894 match the current disassembler output.
23896 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
23898 * gdb.fortran/exprs.exp: Expect VOID instead of void.
23899 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
23900 types, expect "int" as type of integer values (for now).
23902 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
23904 * gdb.base/commands.exp: New tests for if/while commands.
23906 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
23908 * lib/gdb.exp (runto): Replace sub-pattern for hex value
23909 by .*, since hex values have different syntax in Chill mode.
23911 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23913 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
23914 linefeed from expect pattern for repeated types with indices > 9.
23916 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
23918 First part of Fortran test suite.
23919 * gdb.fortran: New directory.
23920 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
23922 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23924 * gdb.base/default.exp: Update expect pattern for load command
23927 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
23929 * configure.in: Change i386 to i[345]86.
23930 * gdb.base/configure.in: Likewise.
23931 * gdb.c++/configure.in: Likewise.
23932 * gdb.chill/configure.in: Likewise.
23934 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
23936 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
23937 patterns, since that is not a valid context for comments.
23939 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
23941 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
23942 repeated types and repeated types with indices > 9.
23944 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
23946 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
23947 2417; old bug has been fixed.
23949 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
23951 * gdb.base/interrupt.exp: When trying to wake up the inferior,
23952 send the newline ourselves instead of assuming gdb_test will do
23953 so when passed an empty input string.
23955 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
23958 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23960 * lib/gdb.exp (gdb_test): Don't send anything if the first
23961 argument is an empty string. This makes cases where we want to
23962 match output that is already in expect's buffers (for example,
23963 matching a breakpoint after gdb_run_cmd has been called) work
23966 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23968 * config/netware.exp: New file.
23970 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23972 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
23973 the -B and -L prefixes so we can find the debugging stub.
23975 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
23976 there and we are using the gcc from the tree.
23978 * gdb.base/types.c: Removed.
23980 * gdb.base/configure.in: Look for makefile fragments in ../config.
23981 Recognize i386-*-netware.
23982 * gdb.c++/configure.in: Likewise.
23984 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23986 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
23987 the correct TCL syntax.
23989 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
23991 * gdb.base/opaque.exp: use runto instead of messing around with
23992 breakpoints. Simplify by using gdb_test.
23994 * gdb.base/bitfields.exp: restart between tests on netware targets
23995 because breakpoints aren't relocated after target death. Run
23996 processes to completion.
23998 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24000 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24002 * Makefile.in: Remove extra tabs that confuse some versions
24003 of "make". Use the newly built gdb to test with by default,
24004 rather than the first one in the tester's search path.
24006 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24008 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24010 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24013 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24015 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24017 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24019 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24020 * gdb.base/funcargs.exp: Likewise.
24022 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24023 * gdb.base/funcargs.exp: Likewise.
24025 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24028 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24030 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24031 return,signals,twice}.exp: Handle non-existant binaries
24034 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24035 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24036 might testing a cross development system.
24038 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24040 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24041 runtest script is relative to ${srcdir}, not ${rootdir}.
24043 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24045 * gdb.base/signals.exp: Allow for optionality of breakpoint
24048 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24050 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24052 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24054 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24055 for size_t definition.
24056 * gdb.c++/templates.cc: Likewise
24058 * config/mt-i386-netware: New file.
24060 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24063 * gdb.base/Makefile.in: Added support for systems that name core
24064 files by appending "core" to the program name.
24065 * gdb.base/a1-selftest.exp: Likewise.
24067 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24069 * gdb.base/return.exp: Add comment and message for `return double'
24070 test failure on Sparc Solaris.
24072 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24074 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24076 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24078 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24079 from optimizing them away.
24080 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24081 patterns to include default constructors and assignment operators,
24082 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24083 character in the output of the virtual base pointer.
24085 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24087 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24088 expression match in print_addr_of to avoid unintented matches.
24089 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
24090 versions up to 2.5.8.
24092 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24094 * gdb.base/list.exp: Tweak alternate pattern for listing of an
24095 included file to run under newer versions of expect.
24096 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
24097 consecutive >'s in templates to accomodate recent cplus-dem.c change.
24098 Remove xfail for the virtual table of BDDHookV.
24100 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
24102 * lib/gdb.exp (string_to_regexp): Set a default result.
24103 (default_gdb_start): Fix misleading message.
24105 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
24107 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
24108 Remove all CC, etc definitions.
24109 * config/mt-hpux: New file.
24110 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
24111 (CFLAGS, LDFLAGS): Define.
24112 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
24114 * Makefile.in (site.exp): Don't insert host_os, etc.
24115 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
24116 (distclean): Check existence of subdir.
24117 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
24118 * gdb.base/Makefile.in: General cleanup and simplification.
24119 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24120 to build executables. Use default rule to build .o files.
24121 (EXPECT, RUNTEST, CC): Fix relative pathname.
24122 (site.exp): Don't insert host_os, etc.
24123 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
24124 and/or SIGUSR1 defined.
24125 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
24126 * gdb.c++/Makefile.in: General cleanup and simplification.
24127 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
24129 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
24131 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
24133 * gdb.base/recurse.exp: Misc changes to get tests running again
24134 after Kung's changes to the watchpoint code.
24135 * gdb.base/watchpoint.exp: Likewise.
24137 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
24139 * lib/gdb.exp (string_to_regexp): Convert {\} also.
24141 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
24143 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
24144 * lib/gdb.exp (default_gdb_start): Define.
24145 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
24146 gdb.base/funcargs.exp, gdb.base/opaque.exp,
24147 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
24148 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
24149 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
24150 Don't call gdb_target_udi in between tests.
24152 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24154 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
24155 (which was basically just a local version of the same thing). In
24156 addition to avoiding duplication, gdb_test_exact is faster.
24157 * lib/gdb.exp (gdb_test_exact): Fix typo.
24159 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
24160 don't give an error.
24162 * gdb.base/term.exp: Call delete_breakpoints before starting.
24164 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
24165 (t10): Add comment.
24167 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24169 Reorganization of the GDB Test Suite.
24171 * gdb.base: New directory, contains all the basic tests.
24172 * gdb.c++: New directory, tests specific to C++.
24173 * gdb.chill: New directory, tests specific to Chill.
24174 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
24175 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
24176 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
24177 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
24178 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
24180 * */gdbme.*: Rename to match appropriate expect scripts.
24181 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
24182 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
24183 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
24184 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
24185 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
24186 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
24187 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
24188 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
24189 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
24190 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
24191 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
24192 gdb.c++/virtfunc.cc: New names of C++ files.
24193 * gdb.chill/chillvars.ch: New name of Chill file.
24194 * gdb.base/configure.in, gdb.c++/configure.in,
24195 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
24196 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
24197 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
24198 * configure.in (configdirs): Update to reflect directory changes.
24199 (target_abbrev): No longer define for any configuration.
24200 * Makefile.in: Cosmetic improvements to header comments.
24202 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
24204 Various changes to gdb.t31:
24206 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
24207 * gdbme.ch: Make all key-words and predefineds be upper-case.
24208 * chillvars.exp: Expect key-words and predefinds in upper-case.
24210 * chillvars.exp: Use gdb_test_exact many places.
24211 Change expected output for arrays (which now includes index labels).
24213 * pr-5020.exp, gdme.ch (module PR_5020):
24214 New test, for PR-5020.
24216 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
24218 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
24219 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
24221 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
24223 * Makefile.in: Fix bit-rot in definitions of CHILL,
24224 CHILL_FOR_TARGET and Chill_LIB.
24225 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
24226 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
24227 CHILL, and CHILL_LIB.
24229 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
24231 * Revert the previous changes. Please see Rob's directory
24232 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
24234 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
24236 * Makefile.in, configure.in, config/mips-gdb.exp,
24237 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
24238 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
24239 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
24240 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
24241 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
24242 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
24243 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
24244 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
24245 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
24246 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
24247 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
24248 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
24249 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
24250 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
24251 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
24254 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
24256 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
24257 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
24258 Rob's new testing fragments.
24260 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
24262 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
24263 lib/gdb.exp: Replace error proc calls with perror.
24265 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
24267 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
24268 version also, match on casted version strings, and match on
24269 gdb startup case where the line numbers might be messed up.
24271 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
24273 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
24274 (CFLAGS): Delete it from here.
24276 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
24278 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
24280 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
24282 * Makefile.in (RUNTEST): Default to just "runtest".
24284 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24286 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
24287 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
24288 the code has been restructured.
24290 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24292 * gdb.t00/default.exp (set write): Allow any number of \r and/or
24293 \n, not just one of each.
24295 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
24296 /bin/cc gives a warning if you do.
24298 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
24300 * gdb.t24/demangle.exp: change expect pattern of
24301 __t10ListS_link1ZUiRCUiPT0
24303 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24305 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
24306 on local variables in recursive functions.
24308 * gdb.t07/Makefile.in: Build the new test.
24310 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24312 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
24313 directly. Instead compare the return values from actual calls.
24315 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
24317 * Makefile.in (check): Set TCL_LIBRARY for runtest.
24319 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24321 * From Peter Schauer with minor modifications.
24322 * gdb.t15/return.exp (return_tests): Handle targets where "return"
24323 stops in mid-line in the caller. Add xfail for returning a float
24324 value on X86 targets.
24326 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24328 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
24329 to avoid expect lossage.
24330 (fmem_LRbug_tests): Likewise.
24331 * gdb.disasm/hppa.s: Corresponding changes.
24333 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
24334 conditions to work with latest dejagnu/expect.
24336 * gdb.t15/funcargs.exp (finish from indirect call): No longer
24337 expected to fail on the PA.
24338 (backtrace in call with trampolines): Explicitly require main
24339 to be frame #1 (no trampolines should show up in backtrace).
24341 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
24342 "continue -expect".
24343 * gdb.t06/break.exp: Likewise.
24344 * gdb.t07/watchpoint.exp: Likewise.
24345 * gdb.t13/bitfields.exp: Likewise.
24346 * gdb.t15/{funcargs,return}.exp: Likewise.
24347 * gdb.stabs/weird.exp: Likewise.
24348 * config/{mips,udi}-gdb.exp: Likewise.
24350 * hppa.sed: Enclose comments within a sed command to avoid
24351 losing with the old OSF1 sed.
24353 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24355 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
24357 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
24358 * gdb.t15/funcargs.exp: Conditionally step again to really
24359 finish from marker_call_with_trampolines. Handle the case where
24360 the first step from within call_with_trampolines already steps
24362 * gdb.t15/gdbme.c: Add comment to closing brace of
24363 call_with_trampolines for funcargs.exp.
24365 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24367 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
24370 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24372 * gdb.t07/gdbme.c: More code for watchpoint testing.
24374 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
24375 "Hardware watchpoint" throughout file.
24376 (test_watchpoint_triggered_in_syscall): New test.
24377 (test_complex_watchpoint): New test.
24379 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24381 * gdbme.c (call_with_trampolines): New function to try and step
24382 into. Tests trampoline problems on the PA.
24384 * funcargs.exp (localvars_in_indirect_call): No longer expect
24385 stepping into indirect call to fail on PAs.
24386 (test_stepping_over_trampolines): New test.
24388 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24390 * TODO: Add suggestions for static member function tests, and
24393 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24395 * TODO: Add suggestions for "p/a" tests.
24397 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
24398 (default_gdb_exit): Replace all the hair with sending "quit" to
24399 the process with a simple close.
24401 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24403 * TODO: Add suggestions for shared library tests.
24405 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24407 * TODO: Add suggestions for x/s tests.
24409 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24411 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
24412 "enable once", and "enable breakpoints once" with ".*".
24414 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24416 * TODO: Add suggestions about structure passing tests.
24418 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24420 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
24421 the primary1 test, use work around if __GNUC__ < 2.
24422 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
24423 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
24424 Test for bad output rather than waiting for timeout. Issue
24425 second continue only if first continue failed.
24427 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24429 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
24430 operator[] test with gdb_test because the old code didn't seem to
24431 be getting the quoting right with the new dejagnu.
24433 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
24435 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
24437 * Makefile.in: Use a fresh expect if there is one, use runtest
24438 from the src tree if there is one.
24440 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24442 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
24443 next over recursive call. Revise the tests from that point on
24444 (which had been skipped) to match GDB's actual (correct) output.
24446 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
24447 with next over a breakpoint whose condition is false.
24449 * gdb.t00/help.exp: Comment out "help set print" tests just like
24450 (and for same reason as) "help set" test.
24452 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24454 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
24455 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
24457 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24459 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
24460 necessary gdb_target_udi.
24462 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
24464 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
24465 1838 and 2417; they are fixed.
24467 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
24468 gdb.t03/ptype.exp (ptype structure, ptype union):
24469 Remove xfails; the test is looser than when the xfails were added.
24471 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
24472 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
24474 * gdb.t01/run.exp: Only run shell test if isnative.
24476 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
24477 since "run" automatically loads if necessary. Call gdb_target_udi
24478 after the "file" since "file" kills any execution target.
24480 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
24481 GDB. GDB doesn't work that way (not anymore at least) on UDI.
24482 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
24485 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
24487 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
24489 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
24491 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24493 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
24494 properly quoting regexps. This makes the second argument to
24495 demangle a fixed string, which matches the callers, instead of a
24496 shell-style pattern which is what the previous implementation
24497 used. Update some of the callers.
24499 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24501 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
24502 (comib_nullified_tests): Fix typo.
24503 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
24504 strings. No longer expected to fail.
24506 * gdb.disasm/hppa.s (addib_tests): Fix typo.
24507 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
24508 strings. No longer expected to fail.
24510 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
24511 string. No longer expected to fail.
24513 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24515 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
24516 No longer expected to fail.
24518 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
24519 string. No longer expected to fail.
24521 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24523 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
24524 only in the names (I probably got most of them). I was even
24525 generous with some which differed in underscores in names, and
24526 probably missed a few, and I *still* was able to remove almost a
24527 third of the file with almost no impact on testsuite coverage.
24529 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24531 * gdb.t00/default.exp: Match udi_attach error message as well as
24532 the one from child_attach.
24534 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
24536 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
24538 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
24539 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
24541 * Move test with enums and partial symbols back to
24542 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
24543 Reverts the change of 26 May 93. Per today's change to
24544 stabs.texinfo, the behavior that weird.exp was expecting was
24545 unreasonable; what is important is that the compiler+gdb get
24546 things right, which happens with a recent gcc. Also fix the test
24547 to deal with native compilers which put out the stab gdb can't
24550 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24552 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
24553 in the names. The main thing these accomplish is to slow things down.
24554 Many more such duplicates surely remain.
24556 * gdb.t00/help.exp: Comment out "help support" test just like
24557 (and for same reason as) "help set" test.
24559 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
24561 * gdb.t06/break.exp: Remove setup_xfails for
24562 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
24563 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
24564 about known bug in gcc to include up through 2.5.8.
24565 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
24567 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
24568 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
24569 with latest gcc and gdb.
24570 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
24573 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24575 * configure.in (hppa*-*-*): Also configure and build stabs-only
24578 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24580 * gdb.t10/hppa.mt: A makefile fragment for the PA.
24581 * gdb.t10/configure.in (hppa*-*-*): Use it.
24583 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24585 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
24587 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24589 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
24590 versions prior to 1.13.5.
24592 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24594 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
24595 the prompt is at the start of a line.
24597 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
24599 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
24600 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
24601 in the copr tests now.
24602 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
24603 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
24606 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
24608 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
24609 gdb.t31/chillvars.exp, lib/gdb.exp:
24610 Tweak to run under either version of expect.
24611 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
24612 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
24613 * gdb.t11/list.exp: Remove extraneous whitespace.
24615 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24617 * gdb.t16/printcmds.exp (test_print_strings): Accept
24618 "(unsigned char *) " before the string.
24620 * TODO: Add notes about printing of fancy types and GDB expressions.
24622 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
24624 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
24625 * gdb.t06/configure.in: Don't try to compile signals test program
24626 if doing mips-idt-ecoff.
24628 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
24630 * Most .exp files: Tweak to run under either version of expect.
24632 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24634 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
24635 xfails; I'm not sure why they are failing, but not because of PR 1806.
24637 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
24639 * config/unix-gdb.exp: Remove gdb_unload cause it's already
24640 defined in lib/gdb.exp.
24642 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24644 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
24645 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
24646 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
24647 have to be typeless.
24649 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24651 * TODO: Add suggestion for copyright year test.
24653 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
24655 * configure.in (*-*-lynxos*): Add stabs tests.
24657 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24659 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
24660 so insert a tab before any assembler directive in column zero.
24662 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
24664 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
24666 (fpu_short_memory_tests): Likewise.
24668 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24670 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
24671 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
24672 .stabs directives in comments.
24674 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24676 * TODO: New file, describing tests we could write.
24677 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
24679 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24681 * gdb.t06/signals.exp: Add kludge to force re-sync.
24683 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
24684 to xgdb instead of gdb, get out of gdb.
24686 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
24688 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
24691 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
24693 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
24694 * gdb.stabs/configure.in (hppa*-*-*): Use it.
24695 * gdb.stabs/hppa.sed: New sed script for the PA.
24697 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24699 * gdb.stabs: Re-write weird.def and configuration to use sed
24700 instead of cpp. sed is portable and POSIX; cpp is neither.
24702 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24704 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
24706 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24708 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
24710 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24712 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
24714 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
24715 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
24717 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24719 * lib/gdb.exp: Comment out code which depends on non-existent
24720 `transform' procedure.
24722 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
24724 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
24725 * lib/gdb.exp: Transform tool name.
24726 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
24727 1.1's new error handling system.
24729 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24731 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
24733 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24735 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
24736 They made pattern matching so slow that timeouts happened on
24737 heavily loaded systems. Now any output from "show print" which
24738 gets us back to the GDB prompt is a PASS.
24740 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
24742 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
24744 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24746 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
24748 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
24749 It is not from PR 3220.
24751 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24753 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
24754 just started failing because they depended on the order the
24755 subcommands are presented, or exact docstring text. This kind of
24756 test is a pain and has minimal benefit.
24758 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24760 * gdb.t09/corefile.exp: At end of test, use "core" command with
24763 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
24765 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
24766 17}/Makefile.in: Make it possible to run the testsuite with Sun
24767 make and CC = cross gcc by adding explicit build rules for .o
24770 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24772 * gdb.t15/funcargs.exp: Don't put comments on same line as
24773 setup_xfail (@#$*%& tcl braindamage!).
24775 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24777 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
24779 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
24781 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
24782 * gdb.t20/inherit.exp: remove three dumplicate entries.
24784 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24786 * gdb.t06/break.exp: For "next over recursive call", fail on any
24787 incorrect output, not just on "factorial (value=2)".
24789 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24791 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
24792 working now. Add an xfail if accesing a bss variable causes
24793 a memory error if the target is not yet run.
24795 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24797 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
24798 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
24799 name of __st* demangling (2 strings). Did Kung really get the
24800 more than 95 others right without testing them?
24802 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
24804 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
24806 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
24808 * configure.in (configdirs): Add gdb.disasm
24809 * gdb.disasm: New directory for GDB disassembler tests.
24810 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
24812 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24814 * gdb.t00/help.exp: Don't test "help set".
24816 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
24817 from within expect statements. None of these happen anymore and
24818 they cause regressions to be silently unnoticed.
24820 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
24821 messages) about known failures with gcc cygnus-2.4.5-930417.
24823 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
24824 comp-info.exp so it gets built if it doesn't exist.
24826 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
24827 it is no longer used.
24828 * gdb.t13/comp-info.c: Removed.
24830 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
24832 * gdb.t06/signals.exp: Add xfail for sun3.
24834 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24836 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
24837 relevant because ^C doesn't get sent but failure can be reproduced
24840 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24842 * gdb.stabs/alpha.mt: New configuration file for alpha.
24843 * gdb.stabs/configure.in: Use it.
24844 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
24845 sharing with alpha.mt, redefine long to word via preprocessor.
24846 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
24848 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
24850 * gdb.t00/teststrategy.exp: Change expect string so that we
24851 consume the `(xgdb)' from the command echo and from the gdb prompt.
24852 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
24853 gdb currently compares all values as long, so this failure probably
24854 applies to any configuration where LONGEST is bigger than a target int.
24855 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
24857 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
24858 to handle opaque pointers, gcc is.
24859 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
24860 as first argument. Include <sys/types.h> and change all operator
24861 new definitions to use size_t.
24862 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
24863 now that we use size_t.
24865 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24867 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
24868 a long or float array cast all array members to the same type.
24869 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
24871 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
24873 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
24875 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24877 * gdb.t24 (demangle.exp): Constructors of templates have names like
24878 vector<int>::vector(int) not vector<int>::vector<int>(int). See
24879 section 14.6 of the ARM.
24881 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
24882 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
24883 accomplish little and slow down the testsuite.
24885 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
24886 Accept spaces various places.
24888 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24890 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
24891 with watchpoint enabled.
24893 * Makefile.in: Remove definition of CC and remove the second
24894 definition of CXX (the "CXX = gcc" one remains). These definitions
24895 were causing backquotes to be expanded within backquotes, which
24898 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
24900 * gdb.t17/callfuncs.exp: Add "return 0" to end.
24902 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24904 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
24905 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
24906 by mips cc and contains no stabs entries.
24908 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
24910 * config/vx-gdb.exp: Use fake device to load files rather than
24912 * lib/gdb.exp: New proc to do "file" command.
24913 * config/unix-gdb.exp: Use new "file" proc.
24915 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
24917 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
24918 Rework board rebooting slightly.
24919 (gdb_exit): Don't exit from the remote shell; there isn't one.
24920 * gdb.stabs/weird.exp: If a program is being debugged already,
24922 * gdb.t04/setvar.exp: Stop and restart gdb.
24923 * gdb.t05/expr.exp: Likewise.
24924 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
24925 restart gdb and reload the program.
24926 * gdb.t08/opaque.exp: Likewise.
24927 * gdb.t12/scope.exp: Likewise.
24928 * gdb.t13/bitfields.exp: Likewise.
24929 * gdb.t15/funcargs.exp: Likewise.
24930 * gdb.t20/classes.exp: Likewise.
24931 * gdb.t03/ptype.exp: Increase timeout.
24932 * gdb.t16/printcmds.exp (test_print_string_constants,
24933 test_print_array_constants): Likewise.
24934 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
24935 * gdb.t20/classes.exp (do_tests): Likewise.
24936 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
24938 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
24940 * gdb.stabs: Renamed *wierd* to *weird*.
24942 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24944 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
24945 for timeout. Add "known gcc 2.4.5 bug" to failure message.
24947 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
24949 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
24950 (do_tests): Remove xfail for whatis on one_var and two_var.
24952 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
24954 * Makefile.in: Made cross building work better by adding
24955 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
24957 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24959 * gdb.t15/{return.c,return.exp,Makefile.in}:
24960 New test, currently commented out.
24962 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
24964 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
24965 still running and removes the leftover named socket so GDb can do
24968 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
24970 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
24972 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
24973 cross testing works better with "make check"
24974 * config/unix-gdb: Use default procedures for exit and version.
24975 * config/vx-gdb.exp: Cleaned up and massaged back to working order
24976 with the newest VxWorks.
24978 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
24980 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
24983 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
24984 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
24986 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
24988 * config/unix-gdb.exp: Remove this version of gdb_exit
24989 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
24990 Rob says he'll look at it when he gets back to testing boards.
24992 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
24994 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
24995 an expected fail for certain ptype commands.
24997 * gdb.t20/classes.exp: Update expected results of "ptype class
24998 Base1" to account for the constructor that now appears in the type.
25000 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25002 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25003 disappeared from list.
25004 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25005 "alldone" proc with call to cleanup and exit.
25006 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25007 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25008 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25009 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25010 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25011 "alldone" proc with simple returns that suppress remaining
25012 tests. The alldone proc went away many months ago.
25014 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25016 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25018 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25020 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25022 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25023 as vax gdb will display them.
25025 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25027 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25030 * scope.exp: Change "bad value for localval" messages so each one
25033 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25034 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25036 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25038 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25040 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25041 doesn't exist (due to optimization).
25043 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25045 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25046 contains \r because the filename is long.
25048 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25049 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25051 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25053 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25054 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25056 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25058 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25060 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25062 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25064 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
25065 to match does not match the passing case but still matches the
25068 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25070 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25072 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25074 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25075 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25076 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25077 Remove various versions of gdb_exit.
25078 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25080 * config/unix-gdb.exp: gdb_exit remains here, and should override
25081 the generic version, since it's doing a lot of wierd stuff that
25082 the other versions aren't. FIXME, fold it in, or abandon this
25085 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25087 * gdb.t24/demangle.exp: Add tests for PR 3220.
25089 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25091 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
25093 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
25095 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
25096 "i386-*-*". Works for i486 as well.
25098 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
25099 bug, and expand domain of xfail to all SVR4 systems, since the
25100 actual problem is likely to be in generic SVR4 /proc support.
25102 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25104 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
25106 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
25108 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
25109 xfails for other systems. Match a missing 'Continuing.' as an
25110 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
25112 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
25113 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
25114 Only issue warning for missing executables if -all option is used.
25116 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
25117 file if -all option is used. It's like an unpredictable XFAIL.
25119 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25121 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
25122 for dynamically linked binaries.
25124 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
25126 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25128 * gdb.t20/inherit.exp: Change message for "print tagless struct"
25129 to state that this is a known bug in old versions of g++.
25131 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25133 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
25134 while waiting for `Continuing'.
25136 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
25138 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
25139 in text, data, and bss.
25140 * gdb.t10/nodebug.c: Add local and global test variables for
25141 initialized and uninitialized data.
25143 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25145 * config/unix-gdb.exp (gdb_exit): Add "wait".
25147 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25149 * gdb.t06/signals.exp: xfail the continue from the handler for all
25152 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
25153 function with watchpoints enabled, the i386 call dummy starts with
25156 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
25157 386 bsd names its corefiles.
25159 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
25161 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
25162 compilers don't grok it.
25163 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
25164 with small octal ints rather than character constants, which
25165 are signed and might not fit if first promoted to int.
25167 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
25169 * gdb.t09/Makefile.in (clean): Remove corefile.
25171 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25173 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
25175 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25176 and Jim Kingdon (kingdon@cygnus.com)
25178 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
25179 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
25180 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
25182 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25184 * gdb.t17/interrupt.exp: Add xfail for hppa.
25186 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25188 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
25189 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
25190 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
25191 to determine signed-ness of bitfields and use the result to setup
25193 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
25194 * gdb.t15/funcargs.exp: Use them to step until the second indirect
25195 call line is reached if necessary.
25197 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25199 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
25201 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25203 * gdb.t06/break.exp: Also test `clear' command.
25205 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25207 * gdb.t00/teststrategy.exp: Remove extra quote.
25209 * gdb.t07/watchpoint.exp: Change xfail for calling function with
25210 watchpoint enabled to be for all non-68k machines.
25212 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
25214 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25216 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
25217 targets use aout.mt instead of ecoff.mt as gas understands
25218 standard aout format.
25220 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25222 * lib/gdb.exp (runto): Don't insist that function we are running to
25223 was compiled with -g.
25225 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
25227 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
25228 to get back into the read system call.
25229 Accept leading newline in case where we woke it up.
25231 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25233 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
25234 to make the stabs test work on ecoff systems using gcc and -with-stabs.
25235 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
25236 enable ecoff configuration.
25238 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25240 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
25242 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25244 * gdb.t16/printcmds.exp: Add another printf test.
25246 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
25248 * configure.in: If configured -with-stabs on any target, add
25249 stabsdirs to configdirs.
25251 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25253 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
25254 fun" so pattern does not match the command itself.
25256 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25258 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
25260 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25262 * gdb.t17/interrupt.exp: Test for more things.
25264 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25266 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
25267 compiler arranges the code and line numbers.
25269 * gdb.t17/interrupt.exp: Don't send \n after ^C.
25271 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25273 * gdb.t00/help.exp: Increase expect input buffer size.
25275 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25277 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
25279 * gdb.t07/watchpoint.exp: Add xfail for hppa.
25281 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
25283 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
25284 [0-9]*, not just [0-9].
25286 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25288 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
25290 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
25292 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25294 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
25296 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25298 * gdb.t06/signals.c: Add xfails for sun3.
25300 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
25302 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
25303 test_stepping tests.
25305 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25307 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
25309 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
25311 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
25312 rather than actually putting it through cpp twice.
25314 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
25316 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
25318 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
25321 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25323 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
25325 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
25326 C++ features prints as "struct", make it a pass, not an xfail.
25328 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25330 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
25331 Don't require VA to print as "class" rather than "struct".
25333 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
25335 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
25337 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25339 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
25341 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25343 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
25346 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25348 * gdb.t16/printcmds.exp: Add printf tests.
25350 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
25352 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
25354 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
25356 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
25357 pass counts, to counteract any existing or future setup_xfails.
25359 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25361 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
25362 {BEGIN,END}_COMMON for common block instead of STAB.
25363 * gdb.stabs/wierd.exp: Add xfail for rs6000.
25365 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
25366 intp_var should be N_GSYM not N_LSYM.
25367 wierd-aout.S: Use a label for the value of the N_SO.
25368 wierd.def: Remove all backslashes.
25369 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
25371 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25373 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
25374 get the expected next to inheritance3.
25376 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25378 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
25379 now that gcc-2.4 gets it right.
25381 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25383 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
25385 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
25386 generating comp-info.exp which works for cross-compilation.
25388 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
25390 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
25393 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
25395 * gdb.t01/run.exp: Start with a fresh gdb.
25396 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
25399 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
25401 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
25402 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
25403 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
25404 Makefile.in (distclean, realclean): Remove gdbme.c from list of
25407 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
25409 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
25410 test cases from bug reports.
25412 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
25414 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
25415 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
25416 avoid spurious xfails.
25417 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
25418 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
25419 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
25421 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
25423 * gdb.t00/teststrategy.exp: Rework to provide more useful
25424 description of each test, fix problem with systems that define
25425 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
25426 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
25427 results for "next over recursive call" so timeouts aren't taken
25430 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
25432 * gdb.t12/scope.exp: Test printing of variables before run.
25434 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
25435 printed in wrong order due to sorting.
25437 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
25439 * gdb.t00/teststrategy.exp: Fix expected results for printing
25440 user entered string constant. Is array of char, prints with no
25443 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
25445 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
25446 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
25447 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
25448 of struct of char arrays.
25449 * gdb.t00/radix.exp: New tests for radix commands.
25451 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
25453 * gdb.t16/printcmd.exp: Print a variable before running program
25454 (with xfail for AIX).
25456 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
25458 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
25460 * gdb.t16/printcmd.exp: Don't print variables before running program.
25462 * gdb.t06/break.exp: Don't require envp argument to main.
25464 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
25466 * gdb.t02/whatis.exp, gdb.t11/list.exp:
25467 Add xfails for rs6000.
25469 * gdb.t02/whatis.exp: Change other tests not to re-test something
25472 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
25473 each type used has a variable of that type.
25475 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
25477 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
25479 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
25481 * configure.in: change srctrigger to be a file, not a directory
25483 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
25485 * configure.in (mips-idt-ecoff*): Added trailing '*'.
25487 * gdb.t11/list.exp: Fixed a couple of typos.
25489 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
25491 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
25492 is fixed and PR is closed.
25493 * gdb.t16 (gdbme.c): Add simple test string variable.
25494 * gdb.t16 (printcmds.exp): Add tests with simple test string
25495 variable, primarily for boundaries on "set print elements".
25497 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
25499 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
25500 Make leading 0's optional and don't expect a tab in the middle
25503 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
25505 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
25506 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
25507 don't end command passed to gdb_test with newline.
25509 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
25510 signed keyword away, don't expect signed bitfields to be signed.
25512 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
25513 printing with only as many 1's as are in the field as well as printing
25514 with 32 1's (see comment).
25516 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
25518 * gdb.t00/default.exp: Start with a fresh gdb.
25519 * configure.in (configdirs): Remove gdb.t31 until the chill
25520 compiler works again. It no longer is able to find chillrt0
25521 since it isn't in libchill.a anymore.
25522 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
25523 wierd.o, make more modular.
25524 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
25525 spurious newlines that caused problems.
25527 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25529 * Move test with enums and partial symbols from gdb.t03/ptype.exp
25530 to gdb.stabs/wierd.exp since GCC has worked around the bug.
25531 gdb.stabs/wierd.{exp,def}: Many new tests.
25533 * gdb.t00/default.exp: update info line for new message.
25535 * gdb.t02/{whatis.exp,gdbme.c}:
25536 Test that "char *" doesn't print as "caddr_t".
25538 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25540 * gdb.t00/help.exp: Use .* in place of some help messages which
25542 gdb.t00/default.exp: Update "info frame" test for new message.
25543 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
25546 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25548 * gdb.t03/{gdbme.c,ptype.exp}:
25549 Add tests for typedef'd struct and union without tags.
25550 Also check "whatis" on a variable of a typedef'd enum without a tag.
25552 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
25553 PRMS 1823; the bug still exists but isn't reproduced by this test
25554 anymore), and remove rs6000 XFAIL (the bug is fixed).
25556 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
25557 duplicated from whatis.exp. For those that are left, accept
25558 "long", "long int", or "int" for long variables (whatis.exp already
25559 has an XFAIL for "int", so no need to fail it here).
25561 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
25562 Deal with GCC's names for types now that GDB uses the compiler's names.
25564 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
25565 setup_xfail's for sunos4. If we #defined the signed keyword away,
25566 don't expect GDB to know that char it is signed.
25568 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
25570 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
25572 * configure.in (configdirs): Add gdb.t24 for C++ tests that
25573 should work on any system, regardless of debugging format.
25574 * gdb.t21/demangle.exp: Move to gdb.t24.
25575 * gdb.t24/demangle.exp: Move from gdb.t21.
25576 * gdb.t24/{Makefile.in, configure.in}: New files.
25578 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25580 * configure.in: Do gdb.stabs and C++ tests only for stabs.
25581 * gdb.stabs: New directory.
25583 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25585 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
25586 not just "Quit anyway?".
25588 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
25590 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
25591 that all setup_xfails are immediately followed by clear_xfails.
25593 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
25595 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
25596 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
25597 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
25598 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
25599 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
25600 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25601 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25602 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
25603 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
25604 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
25605 gdb.t31/chillvars.exp, lib/gdb.exp:
25606 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
25607 bug-gdb@prep.ai.mit.edu.
25609 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
25611 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
25612 with 0.0, not integer 0.
25614 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
25616 * gdb.t06/break.exp: Update for "Kill the program" message change.
25618 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
25620 * Makefile.in (GDBFLAGS): Set to -nx.
25621 * Makefile.in (site.exp): Use GDBFLAGS.
25623 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25625 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
25627 (check): depend on just-check.
25628 (just-check): added so that tests can be run without a noop
25631 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
25633 Switch to using configure's configdirs.
25634 * Makefile.in (Makefile): add configure.in dependency.
25635 (SUBDIRS): removed redundant assignment.
25636 * configure.in: switch subdirs assignment to configdirs.
25637 * gdb.t*/configure.in: new files.
25639 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
25641 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
25644 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
25646 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
25647 in explicit rules. Apparently this is not supported by some makes.
25649 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
25651 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
25653 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25655 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
25658 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
25660 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
25662 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
25664 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
25665 watchpoint problem that is now fixed.
25666 * gdb.t30/chexp.exp: Remove setup_xfail for printing
25667 uninitialized convenience variables.
25668 * gdb.t31/chillvars.exp: Fix expected patterns for printing
25671 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25673 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
25674 which causes expect to get out of sync with gdb on long output
25676 * gdb.t09/corefile.exp: Make expected pattern for core file
25677 failing signal and frame output format less sun specific.
25679 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
25681 * gdb.t31/chillvars.exp: Add and remove initial dummy
25682 breakpoint, so that symbol table is forced in.
25683 (Needed at least on Sunos4, though it seems not SVR4.)
25684 * gdb.t31/chillvars.exp: Update for changed output format.
25686 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
25688 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
25690 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
25692 * Makefile.in: Added --srcdir when invoking runtest, removed the
25693 need for a local config file. (optional now)
25695 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
25697 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
25698 failure count used to force early termination. Add some more
25699 expected failures for gnu style demangling.
25701 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25703 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
25704 pmi variable from gdb.t20/gdbme to get optimized away.
25705 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
25706 Check for written corefile upon timeout _and_ eof.
25708 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25710 * config/unix-gdb.exp: Add missing return 0.
25712 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25714 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
25717 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
25719 * configure.in (subdirs): Put back gdb.t17 which mysteriously
25722 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
25724 * gdb.t10/crossload.exp: Disable the i860-elf test until such
25725 time as i860 support works.
25727 * gdb.t15/funcargs.exp: Fix expected outputs to include
25728 "backtrace 100\r" rather than just "backtrace\r", to match last
25731 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
25733 * config/udi-gdb.exp (gdb_exit): Remove close command.
25734 (gdb_target_udi): New procedure to set the UDI target.
25735 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
25736 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
25737 Added waits for prompts after several question responses. Added
25738 some more responses used by a29k-amd-udi-gdb.
25739 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
25740 pass different arguments, restart UDI connection after program
25742 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
25743 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
25744 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
25745 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
25746 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
25747 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
25748 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
25749 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
25750 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
25751 after program completion.
25752 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
25753 compiled with a SELECT_VECS setting.
25754 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
25755 infinite recursion.
25757 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
25758 Added checks for COFF results, and made them expected failures for
25759 all targets. It would be better to make them expected failures
25760 for COFF targets only.
25762 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
25764 * Makefile.in: add null dvi target, don't bother to recurse
25765 through test directories for info and install-info; rename
25766 $(datadir) to be dejagnu instead of deja-gnu
25768 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
25770 * gdb.t31/gdbme.ch: Re-enable code that previously caused
25771 compiler to coredump.
25772 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
25775 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
25777 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
25779 * gdb.t31/chillvars.exp: Comment out tests that depend on that
25782 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
25784 * gdb.t03/ptype.exp: tests for return code from gdb_test.
25785 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
25786 which in a shell. Deletes xgdb when done.
25787 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
25788 Tests the return from the "set height" or "set width" commands.
25789 Added a few return codes where needed.
25791 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
25793 * Makefile.in (SUBDIRS): Add gdb.t17.
25794 * configure.in (subdirs): Add gdb.t17.
25795 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
25796 files to test gdb's calling of functions in the inferior with
25797 the correct arguments and gdb's ability to retrieve any
25800 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
25802 * config/unix-gdb.exp (gdb_exit): Remove close commands that
25803 may be called after gdb goes away. Previous versions of expect
25804 needed these to avoid file descriptor leaks, but they cause
25805 errors with the current revision of expect.
25806 * gdb.t00/gdbvars.exp: Use -re on expected output after
25807 setting sevenbit-strings.
25808 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
25809 to set sevenbit-strings consistent across tests.
25810 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
25811 set sevenbit-strings consistent across tests.
25813 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
25815 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
25816 expected output to match current "expect" expectations.
25818 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
25820 * gdb.t00/default.exp: Change expected output for default "source"
25821 command, to match new gdb behavior which requires a filename to
25824 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
25826 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
25827 expected fail for i486-*-* that misses the marker2 function.
25828 * gdb.t10/crossload.exp (bfddefault): Allow successful
25829 recognition of a format to pass even if no symbols are found.
25830 Explicitly catch failures where the format is not recognized
25831 or is ambiguous, and add the reason to the fail message.
25832 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
25833 the cause is and invalid target and add reason to failure message.
25834 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
25835 elf32-i386, elf32-sparc, and elf32-i860.
25836 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
25837 Set up expected failure for 'filename'::variable scope resolution,
25838 which is now apparently broken on all targets.
25839 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
25840 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
25841 gdb.t23/templates.exp: Change failure for missing binfile into
25843 gdb.t21/demangle.exp: Change all cfront references to 'arm'
25846 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
25848 * gdb.t00/default.exp: Add expected output for default "source"
25849 command, to match new gdb behavior.
25850 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
25852 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
25854 * config/*-gdb.exp: returns an error, rather than exiting on
25857 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
25859 * gdb.t03/gdbme.c: Add pointer to struct variable.
25860 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
25861 referencing struct members.
25863 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
25865 * configure.in (mips-idt-ecoff): New target.
25866 * config/mips-gdb.exp: New file for remote board using MIPS remote
25867 debugging protocol.
25869 * Redid configuration scheme. Removed gdb.t*/configure.in.
25870 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
25871 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
25872 distclean targets. Built executables via .o files. Adjusted
25873 tests to account for source files in $(srcdir) rather than
25875 * lib/gdb.exp (runto): Don't expect () after the function name,
25876 because it may have arguments.
25878 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
25880 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
25881 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
25882 expected failures for mips-idt-* and mips-sgi-*.
25883 * gdb.t00/default.exp (attach): Kill process if requested.
25884 * gdb.t00/help.exp (help target core, help target): Accept a gdb
25885 that does not read core files.
25886 * gdb.t01/run.exp: Removed checks for exit status code.
25887 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
25889 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
25890 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
25891 appropriate, rather than doing it by hand.
25892 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
25894 * gdb.t10/crossload.exp: Kill existing program if needed.
25895 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
25896 appropriate, rather than doing it by hand. Always increase
25897 timeout for this test, not just for VxWorks.
25899 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
25901 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
25902 of Chill STRUCT types and STRUCT values.
25903 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
25905 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
25906 struct2): New struct definitions and initializations to test
25907 simple Chill STRUCT types.
25909 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
25911 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
25912 the null byte at the end of strings.
25913 * gdb.t00/default.exp: Make show version insensitive to copyright
25915 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
25916 to avoid dependencies on target char signedness.
25917 * gdb.t16/printcmds.exp: Update expected results for explicitly
25919 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
25921 * gdb.t21/demangle.exp: Add many more patterns for template
25922 demangling, most of them being expected failures.
25923 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
25924 string we are matching for, to match on the whole string.
25925 * gdb.t21/demangle.exp: Add many new test strings to demangle,
25926 and fix a whole bunch that had incorrect expected output but were
25927 passing anyway because of the bug in "proc demangle".
25928 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
25930 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
25932 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
25934 * gdb/testsuite: made modifications to testcases, etc., to allow
25935 them to work properly given the reorganization of deja-gnu and the
25936 relocation of the testcases from deja-gnu to a "tool" subdirectory.
25938 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
25940 * gdb/testsuite: Initial creation of gdb/testsuite.
25941 Migrated dejagnu testcases and support files for testing nm to
25942 gdb/testsuite from deja-gnu. These files were moved "as is"
25943 with no modifications. This migration is part of a major overhaul
25944 of dejagnu. The modifications to these testcases, etc., which
25945 will allow them to work with the new version of dejagnu will be
25946 made in a future update.
25948 For additional changes see gdb.mi/ChangeLog-1999-2003.
25950 ;; Local Variables:
25951 ;; mode: change-log
25954 ;; version-control: never
25957 Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
25958 2003, 2004, 2005 Free Software Foundation, Inc.
25959 Copying and distribution of this file, with or without modification,
25960 are permitted provided the copyright notice and this notice are preserved.