1 2012-02-24 Pedro Alves <palves@redhat.com>
3 * gdb.threads/attach-into-signal.exp (corefunc): Use
6 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8 Fix false FAILs on old CPUs without SSE.
9 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
10 Return untested for Illegal instruction.
12 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14 Fix false FAILs with glibc debug infos installed.
15 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
16 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
18 2012-02-22 Sterling Augustine <saugustine@google.com>
20 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
23 2012-02-21 Pedro Alves <palves@redhat.com>
25 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
27 2012-02-21 Pedro Alves <palves@redhat.com>
29 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
31 2012-02-21 Pedro Alves <palves@redhat.com>
33 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
36 2012-02-21 Pedro Alves <palves@redhat.com>
38 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
39 with_test_prefix here.
40 (top level): Do it here instead. Remove `:' from the
41 with_test_prefix string.
42 * gdb.base/attach-pie-misread.exp: Remove the leading space the
43 the suffix `:' from the with_test_prefix prefix string.
44 * gdb.base/break-interp.exp: Ditto.
45 * gdb.base/catch-load.exp: Ditto.
46 * gdb.base/disp-step-syscall.exp: Ditto.
47 * gdb.base/jit-so.exp: Ditto.
48 * gdb.base/jit.exp: Ditto.
49 * gdb.base/sepdebug.exp: Ditto.
50 * gdb.base/solib-display.exp: Ditto.
51 * gdb.base/solib-overlap.exp: Ditto.
52 * gdb.base/watch-cond-infcall.exp: Ditto.
53 * gdb.base/watchpoint.exp: Ditto.
54 * gdb.dwarf2/dw2-noloc.exp: Ditto.
55 * gdb.mi/mi-watch.exp: Ditto.
56 * gdb.mi/mi2-watch.exp: Ditto.
57 * gdb.threads/non-ldr-exc-1.exp: Ditto.
58 * gdb.threads/non-ldr-exc-2.exp: Ditto.
59 * gdb.threads/non-ldr-exc-3.exp: Ditto.
60 * gdb.threads/non-ldr-exc-4.exp: Ditto.
61 * gdb.threads/watchpoint-fork.exp: Ditto.
62 * gdb.threads/watchthreads-reorder.exp: Ditto.
63 * gdb.trace/change-loc.exp: Ditto.
64 * gdb.trace/pending.exp: Ditto.
65 * gdb.trace/status-stop.exp: Ditto.
66 * gdb.trace/strace.exp: Ditto.
67 * gdb.trace/trace-break.exp: Ditto.
68 * gdb.trace/unavailable.exp: Ditto.
69 * lib/gdb.exp (with_test_prefix): Always prefix with space and
70 suffix with colon. Adjust leading comments.
72 2012-02-21 Pedro Alves <palves@redhat.com>
73 Tom Tromey <tromey@redhat.com>
75 * lib/gdb.exp: Add description of test prefixes.
76 (with_test_prefix): New procedure.
77 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
78 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
79 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
80 instead of lappend to append to pf_prefix.
81 * gdb.base/catch-load.exp: Use with_test_prefix.
82 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
83 * gdb.base/jit-so.exp: Use with_test_prefix.
84 * gdb.base/jit.exp: Use with_test_prefix.
85 * gdb.base/return-nodebug.exp (do_test): Use append instead of
86 lappend to append to pf_prefix.
87 * gdb.base/sepdebug.exp: Use with_test_prefix.
88 * gdb.base/solib-display.exp: Use with_test_prefix.
89 * gdb.base/solib-overlap.exp: Use with_test_prefix.
90 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
91 * gdb.base/watchpoint.exp: Use with_test_prefix.
92 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
93 * gdb.mi/mi-watch.exp: Use with_test_prefix.
94 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
95 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
96 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
97 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
98 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
99 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
100 append instead of lappend to append to pf_prefix.
101 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
102 * gdb.trace/change-loc.exp: Use with_test_prefix.
103 * gdb.trace/pending.exp: Use with_test_prefix.
104 * gdb.trace/status-stop.exp: Use with_test_prefix.
105 * gdb.trace/strace.exp: Use with_test_prefix.
106 * gdb.trace/trace-break.exp: Use with_test_prefix.
107 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
108 instead of lappend to append to pf_prefix.
110 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
113 * gdb.base/inferior-died.c (main): Add return of 0.
114 * gdb.base/inferior-died.exp (continue): Fix expectation of
118 2012-02-20 Pedro Alves <palves@redhat.com>
120 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
121 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
122 gdb's internal debug output. For the non-threaded case, look for
123 "Program received signal SIGLARM", for the threaded case, peek at
124 the thread's siginfo.
126 2012-02-20 Pedro Alves <palves@redhat.com>
128 General cleanup, make output test messages unique, and build
129 different executable files for the non-threaded and threaded
132 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
134 (executable_nothr, executable_thr): New globals.
135 (top level): Adjust to delete both executables.
136 (corefunc): New parameter $executable. Set $pf_prefix instead of
137 hand writing a prefix in tests. Issue a clean_restart and enable
138 lin-lwp debug output here.
139 (top level): Adjust. Use build_executable. Don't start gdb here,
140 and don't enable lin-lwp debug output here.
141 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
143 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
146 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
149 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
151 Fix for gdbserver non-extended mode.
152 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
155 2012-02-17 Tom Tromey <tromey@redhat.com>
157 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
158 * gdb.python/py-events.exp: Check 'dir' output.
159 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
161 2012-02-17 Yao Qi <yao@codesourcery.com>
163 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
165 2012-02-16 Tom Tromey <tromey@redhat.com>
167 * gdb.base/inferior-died.c: Don't include stdio.h.
169 2012-02-16 Tom Tromey <tromey@redhat.com>
171 * gdb.base/inferior-died.c: New file.
172 * gdb.base/inferior-died.exp: New file.
174 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
176 * gdb.base/break-inline.exp: New file.
177 * gdb.base/break-inline.c: New file.
179 2012-02-15 Tom Tromey <tromey@redhat.com>
181 * gdb.base/pc-fp.exp: Add "info register" tests.
183 2012-02-15 Tom Tromey <tromey@redhat.com>
185 * gdb.base/regs.exp: Remove.
187 2012-02-15 Pedro Alves <palves@redhat.com>
189 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
190 the target doesn't support tracepoints.
191 * gdb.trace/circ.exp: Ditto.
192 * gdb.trace/collection.exp: Ditto.
193 * gdb.trace/packetlen.exp: Ditto.
194 * gdb.trace/passc-dyn.exp: Ditto.
195 * gdb.trace/report.exp: Ditto.
196 * gdb.trace/tfind.exp: Ditto.
197 * gdb.trace/tspeed.exp: Ditto.
198 * gdb.trace/tsv.exp: Ditto.
199 * gdb.trace/unavailable.exp: Ditto.
200 * gdb.trace/while-dyn.exp: Ditto.
202 2012-02-15 Pedro Alves <palves@redhat.com>
204 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
205 gdb_test_multiple, and call unsupported instead of fail, if the
206 remote side does not support the request.
208 2012-02-15 Pedro Alves <palves@redhat.com>
210 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
211 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
212 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
213 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
214 * gdb.server/server-run.exp: Make sure gdb is disconnected.
215 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
216 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
217 doesn't start with "extended-" already.
219 2012-02-15 Pedro Alves <palves@redhat.com>
221 Support extended-remote. Avoid cascading timeouts.
223 * gdb.base/attach.exp (do_attach_tests): Add expected output for
224 the extended-remote target. If attaching with no file fails, load
226 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
228 2012-02-14 Stan Shebs <stan@codesourcery.com>
230 * gdb.base/ena-dis-br.exp: Add enable count test.
232 2012-02-13 Pedro Alves <palves@redhat.com>
234 * config/mips-idt.exp: Delete.
235 * gdb.base/a2-run.exp: Remove mips-idt xfails.
236 * gdb.base/bitfields.exp: Remove mips-idt restarts.
237 * gdb.base/break.exp: Remove mips-idt references.
238 * gdb.base/chng-syms.exp: Ditto.
239 * gdb.base/default.exp: Ditto.
240 * gdb.base/funcargs.exp (funcargs_reload): Delete.
241 (top level): Don't call it.
242 * gdb.base/opaque.exp: Remove mips-idt restarts.
243 * gdb.base/ptype.exp: Remove mips-idt xfails.
244 * gdb.base/scope.exp: Remove mips-idt restarts.
245 * gdb.base/sepdebug.exp: Remove mips-idt references.
246 * gdb.base/watchpoint.exp (maybe_clean_restart)
247 (maybe_reinitialize): Delete.
248 (test_disabling_watchpoints, test_disabling_watchpoints)
249 (test_watchpoint_triggered_in_syscall)
250 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
253 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
255 * gdb.server/server-exec-info.exp: New file.
257 2012-02-10 Pedro Alves <palves@redhat.com>
259 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
261 (test_attach): Always pass $exec to test_attach_gdb.
263 2012-02-08 Tom Tromey <tromey@redhat.com>
265 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
266 before inferior is started.
268 2012-02-07 Tom Tromey <tromey@redhat.com>
270 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
272 * gdb.python/py-symbol.c (qq): Set default value.
274 2012-02-07 Tom Tromey <tromey@redhat.com>
276 * gdb.python/py-symbol.c (qq): New global.
277 * gdb.python/py-symbol.exp: Add test for frame-less
279 * gdb.python/py-symtab.exp: Fix line number.
281 2012-02-03 Joel Brobecker <brobecker@adacore.com>
283 * gdb.ada/mi_task_arg: New testcase.
285 2012-02-02 Pedro Alves <palves@redhat.com>
287 * gdb.reverse/until-precsave.exp: Also put "record save" under the
290 2012-02-02 Pedro Alves <palves@redhat.com>
292 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
293 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
295 2012-02-02 Pedro Alves <palves@redhat.com>
297 * gdb.base/term.exp: Rewrite.
298 * gdb.base/term.c: New.
300 2012-02-02 Pedro Alves <palves@redhat.com>
302 * gdb.base/default.exp (run "r" abbreviation, run): Add
303 extended-remote expected output.
305 2012-02-02 Tom Tromey <tromey@redhat.com>
307 * gdb.cp/dispcxx.exp: New file.
308 * gdb.cp/dispcxx.cc: New file.
310 2012-02-01 Tom Tromey <tromey@redhat.com>
312 * gdb.base/jit-simple.exp: New file.
313 * gdb.base/jit-simple.c: New file.
315 2012-01-30 Yao Qi <yao@codesourcery.com>
317 * gdb.base/skip.exp: Make test result unique.
319 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
321 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
322 compatibility with valgrind-3.7.0.
324 2012-01-27 Pedro Alves <palves@redhat.com>
326 * gdb.base/watchpoint.exp (no_hw): New global.
327 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
328 disable hw watchpoints.
329 (test_wide_location_1, test_wide_location_2): If no_hw is set,
330 don't expect hw watchpoints.
331 (no_hw_watchpoints): Always clean restart.
332 (do_tests): New procedure, factored out from the top level.
333 (top level): Run tests twice. Once with hw watchpoints enabled,
334 another time with hw watchpoints disabled.
336 2012-01-27 Pedro Alves <palves@redhat.com>
338 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
339 out from the top level.
340 (top level): Call it instead.
342 2012-01-27 Pedro Alves <palves@redhat.com>
344 * gdb.base/watchpoint.exp (top level): Re-enable hardware
347 2012-01-27 Pedro Alves <palves@redhat.com>
349 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
351 2012-01-27 Pedro Alves <palves@redhat.com>
353 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
354 "You may have requested too many hardware
355 breakpoints/watchpoints".
357 2012-01-27 Pedro Alves <palves@redhat.com>
359 * gdb.base/watchpoint.exp (maybe_clean_restart)
360 (maybe_reinitialize): New.
361 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
362 expect "hit N times".
363 (test_disabling_watchpoints, test_complex_watchpoint)
364 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
365 Call maybe_clean_restart.
366 (top level): Use clean_restart. Remove "mips-idt-*"
369 2012-01-27 Pedro Alves <palves@redhat.com>
371 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
373 2012-01-27 Pedro Alves <palves@redhat.com>
375 * gdb.base/watchpoint.exp: Clean restart after tests that don't
376 require `initialize' anymore. Remove unnecessary `initialize'
379 2012-01-27 Pedro Alves <palves@redhat.com>
381 * gdb.base/watchpoint.exp (wp_set): Delete.
382 (initialize, test_simple_watchpoint, top level): Remove dead code.
384 2012-01-27 Pedro Alves <palves@redhat.com>
386 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
389 2012-01-27 Pedro Alves <palves@redhat.com>
391 * config/extended-gdbserver.exp: New file.
392 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
394 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
395 * boards/native-extended-gdbserver.exp: New file.
397 2012-01-26 Pedro Alves <palves@redhat.com>
399 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
400 and gdb_test_multiple.
402 2012-01-26 Pedro Alves <palves@redhat.com>
404 Make test messages unique, and more identifiable.
405 * gdb.multi/watchpoint-multi.exp: Change test messages.
407 2012-01-25 Tom Tromey <tromey@redhat.com>
409 * gdb.base/solib-disc.exp: Fix regexps.
411 2012-01-24 Tom Tromey <tromey@redhat.com>
413 * lib/mi-support.exp (mi_expect_stop): Add special case for
415 * gdb.base/catch-load-so.c: New file.
416 * gdb.base/catch-load.exp: New file.
417 * gdb.base/catch-load.c: New file.
418 * gdb.base/break-interp.exp (reach_1): Update regexp.
420 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
423 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
426 2012-01-24 Gary Benson <gbenson@redhat.com>
428 Delete #if 0'd out code.
429 * gdb.base/default.exp (info catch): Remove.
430 * gdb.base/gdb_history (info catch): Likewise.
431 * gdb.base/help.exp (info catch): Likewise.
433 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
435 Fix watchpoints to be specific for each inferior.
436 * gdb.multi/watchpoint-multi.c: New file.
437 * gdb.multi/watchpoint-multi.exp: New file.
439 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
441 Fix watchpoints across inferior fork.
442 * gdb.threads/watchpoint-fork-child.c: New file.
443 * gdb.threads/watchpoint-fork-mt.c: New file.
444 * gdb.threads/watchpoint-fork-parent.c: New file.
445 * gdb.threads/watchpoint-fork-st.c: New file.
446 * gdb.threads/watchpoint-fork.exp: New file.
447 * gdb.threads/watchpoint-fork.h: New file.
449 2012-01-23 Pedro Alves <palves@redhat.com>
451 * gdb.base/call-signal-resume.exp: Allow output after "return".
453 2012-01-20 Pedro Alves <palves@redhat.com>
455 * gdb.python/py-finish-breakpoint.py: Fix typo.
457 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
459 * gdb.base/info-proc.exp: Also run on remote targets. Main
460 "info proc" command is now always present; whether target supports
461 actual info proc operation is detected when attempting to issue
464 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
468 2012-01-19 Pedro Alves <palves@redhat.com>
470 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
471 look at the funtions' returns.
472 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
473 (jprint.print(int, int)): Change return type to int. Adjust.
475 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
478 * gdb.base/sepdebug.exp: New test.
480 2012-01-18 Pedro Alves <palves@redhat.com>
482 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
483 Allow output before ^done.
485 2012-01-16 Tom Tromey <tromey@redhat.com>
487 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
488 Add tests for relative directory.
490 2012-01-16 Tom Tromey <tromey@redhat.com>
492 * gdb.base/printcmds.c (enum flag_enum): New.
494 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
496 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
497 FlagEnumerationPrinter.
498 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
499 * gdb.python/py-pp-maint.c (enum flag_enum): New.
502 2012-01-16 Pedro Alves <palves@redhat.com>
504 * lib/gdb.exp (banned_procedures): New variable.
505 (banned_variables_traced): Rename to ...
506 (banned_traced): ... this.
507 (gdb_init): Also trace banned procedures.
508 (gdb_finish): Also untrace banned procedures.
510 2012-01-16 Pedro Alves <palves@redhat.com>
512 Remove all calls to strace.
514 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
516 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
517 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
519 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
521 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
522 * gdb.base/pie-execl.exp: Likewise.
524 2012-01-12 Keith Seitz <keiths@redhat.com>
527 * gdb.mi/var-cmd.c (struct anonymous): New structure.
528 (do_anonymous_type_tests): New function.
529 (main): Call do_anonymous_type_tests.
530 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
531 (verify_everything): New procedure.
532 * gdb.mi/mi-var-cp.cc (class A): New class.
533 (anonymous_structs_and_unions): New function.
534 (main): Call anonymous_structs_and_unions.
535 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
536 (verify_everything): New procedure.
538 2012-01-12 Keith Seitz <keiths@redhat.com>
540 * lib/mi-support.exp: Expand comments about PATH_EXPR.
541 (varobj_tree::get_path_expr): Assume that all varobjs are
542 compound unless they are known simple types.
543 Adjust path expressions based on parent type, path parent type,
545 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
547 (mi_walk_varobj_tree): Add LANGUAGE parameter.
549 2012-01-11 Pedro Alves <palves@redhat.com>
551 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
552 core files on this machine" anymore.
554 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
556 * gdb.base/watchpoint.c (recurser): Initialize local_x.
557 (main): Repeat recurser call.
558 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
559 equivalent to 'local_x'.
561 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
562 Joel Brobecker <brobecker@adacore.com>
564 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
566 2012-01-05 Pedro Alves <alves.ped@gmail.com>
568 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
569 * gdb.python/py-events.c (first): Add bits for new "step N" test.
570 * gdb.python/py-events.exp: Test that "step N" tripping on a
571 breakpoint emits a breakpoint event.
573 2012-01-03 Joel Brobecker <brobecker@adacore.com>
575 * gdb.base/auxv.exp: Reformat the copyright notice.
577 2012-01-03 Yao Qi <yao@codesourcery.com>
579 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
580 (strace_trace_on_diff_addr): New.
581 * gdb.trace/strace.c: (main): Add two local variables.
583 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
585 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
586 * gdb.cell/gcore.exp: Likewise.
587 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
588 to verify the correct instance of main is selected.
590 2012-01-02 Joel Brobecker <brobecker@adacore.com>
592 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
593 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
594 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
595 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
596 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
597 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
598 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
599 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
600 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
601 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
602 gdb.threads/thread_check.c: Reformat copyright header.
604 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
606 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
607 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
610 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
612 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
613 parameter to self_exec, adjust the function.
614 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
615 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
616 (set var do_exit = 0): Remove test.
617 (newline at end of file): Add one.
619 2011-12-27 Joel Brobecker <brobecker@adacore.com>
621 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
624 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
627 * gdb.threads/fork-thread-pending.c (barrier): New variable.
628 (thread_function, thread_forker): Call pthread_barrier_wait for it.
629 (main): Call pthread_barrier_init for it.
631 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
633 Fix double send_gdb leading to racy FAILs.
634 * gdb.base/break.exp (set silent break bp_location1): Replace
635 3x send_gdb and gdb_expect by gdb_test.
636 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
637 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
638 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
639 instead of send_gdb. Twice.
640 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
641 3x send_gdb and gdb_expect by gdb_test.
642 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
644 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
646 * gdb.linespec/linespec.exp: Compile using {c++}.
648 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
650 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
651 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
652 (verify GCC PR debug/51668): New test.
654 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
656 Introduce gdb.FinishBreakpoint in Python.
657 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
658 py-finish-breakpoint2
659 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
660 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
661 instead of line number.
662 * gdb.python/py-finish-breakpoint.c: New file.
663 * gdb.python/py-finish-breakpoint.exp: New file.
664 * gdb.python/py-finish-breakpoint.py: New file.
665 * gdb.python/py-finish-breakpoint2.cc: New file.
666 * gdb.python/py-finish-breakpoint2.exp: New file.
667 * gdb.python/py-finish-breakpoint2.py: New file.
669 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
671 Partial fix of compatibility with gcc-4.7.
672 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
673 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
674 Add comment to add a PASS case in the future.
676 Fix compatibility with gcc-4.7.
677 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
679 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
682 * gdb.base/callfuncs.exp: Remove KFAIL.
684 2011-12-21 Joel Brobecker <brobecker@adacore.com>
686 * gdb.ada/task_bp: New testcase.
688 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
690 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
692 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
694 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
696 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
697 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
698 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
699 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
700 conditional for gcc <= 4.5.
702 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
704 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
706 * gdb.cp/static-method.exp (info addr A::func())
707 (list static-method.cc:xxx::(anonymous namespace)::A::func)
708 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
709 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
710 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
711 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
712 (test value of F in k3_m): Likewise.
713 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
716 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
718 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
719 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
721 * gdb.threads/attachstop-mt.c: Remove.
722 * gdb.threads/attachstop-mt.exp: Remove.
724 2011-12-17 Mark Kettenis <kettenis@gnu.org>
726 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
728 2011-12-16 Doug Evans <dje@google.com>
730 * boards/native-stdio-gdbserver.exp: New file.
731 * boards/native-gdbserver.exp: New file.
733 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
735 (gdbserver_default_get_remote_address): New function.
736 (gdbserver_start): Call gdb,get_remote_address to compute argument
737 to "target remote" command.
739 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
741 * gdb.python/py-function.exp: Change "on" to "full" for
742 python print-stack. Add set/show python print-stack
743 off|full|message tests.
745 2011-12-15 Yao Qi <yao@codesourcery.com>
747 * gdb.trace/strace.c: New
748 * gdb.trace/strace.exp: New.
750 2011-12-14 Tom Tromey <tromey@redhat.com>
752 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
754 2011-12-14 Doug Evans <dje@google.com>
756 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
758 2011-12-14 Pedro Alves <pedro@codesourcery.com>
762 * gdb.mi/watch-nonstop.c: New file.
763 * gdb.mi/mi-watch-nonstop.exp: New file.
765 2011-12-13 Pedro Alves <pedro@codesourcery.com>
766 Doug Evans <dje@google.com>
768 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
769 (clean_restart): Remove references to the gdb_stub target board
771 (gdb_step_for_stub): Delete.
773 * gdb.base/annota1.exp: Remove all references to [target_info
774 exists gdb_stub], gdb_step_for_stub and usestubs.
775 * gdb.base/annota3.exp: Ditto.
776 * gdb.base/async.exp: Ditto.
777 * gdb.base/break.exp: Ditto.
778 * gdb.base/code-expr.exp: Ditto.
779 * gdb.base/commands.exp: Ditto.
780 * gdb.base/completion.exp: Ditto.
781 * gdb.base/condbreak.exp: Ditto.
782 * gdb.base/consecutive.exp: Ditto.
783 * gdb.base/cvexpr.exp: Ditto.
784 * gdb.base/define.exp: Ditto.
785 * gdb.base/display.exp: Ditto.
786 * gdb.base/ena-dis-br.exp: Ditto.
787 * gdb.base/environ.exp: Ditto.
788 * gdb.base/gnu-ifunc.exp: Ditto.
789 * gdb.base/maint.exp: Ditto.
790 * gdb.base/pending.exp: Ditto.
791 * gdb.base/sect-cmd.exp: Ditto.
792 * gdb.base/sepdebug.exp: Ditto.
793 * gdb.base/unload.exp: Ditto.
794 * gdb.base/watchpoint-solib.exp: Ditto.
795 * gdb.cp/annota2.exp: Ditto.
796 * gdb.cp/annota3.exp: Ditto.
797 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
798 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
799 * gdb.mi/mi-pending.exp: Ditto.
800 * gdb.trace/circ.exp: Ditto.
801 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
802 * gdb.base/list.exp: Ditto.
804 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
805 breakpoint function and all references to the usestubs macro.
806 * gdb.base/exprs.c: Ditto.
807 * gdb.base/freebpcmd.c: Ditto.
808 * gdb.base/bitfields.c: Ditto.
809 * gdb.base/bitfields2.c: Ditto.
810 * gdb.base/break.c: Ditto.
811 * gdb.base/call-sc.c: Ditto.
812 * gdb.base/call-signals.c: Ditto.
813 * gdb.base/callfuncs.c: Ditto.
814 * gdb.base/charset.c: Ditto.
815 * gdb.base/consecutive.c: Ditto.
816 * gdb.base/constvars.c: Ditto.
817 * gdb.base/funcargs.c: Ditto.
818 * gdb.base/int-type.c: Ditto.
819 * gdb.base/interrupt.c: Ditto.
820 * gdb.base/langs0.c: Ditto.
821 * gdb.base/list0.c: Ditto.
822 * gdb.base/mips_pro.c: Ditto.
823 * gdb.base/miscexprs.c: Ditto.
824 * gdb.base/nodebug.c: Ditto.
825 * gdb.base/opaque0.c: Ditto.
826 * gdb.base/pointers.c: Ditto.
827 * gdb.base/printcmds.c: Ditto.
828 * gdb.base/ptype.c: Ditto.
829 * gdb.base/recurse.c: Ditto.
830 * gdb.base/reread1.c: Ditto.
831 * gdb.base/reread2.c: Ditto.
832 * gdb.base/restore.c: Ditto.
833 * gdb.base/return.c: Ditto.
834 * gdb.base/run.c: Ditto.
835 * gdb.base/scope0.c: Ditto.
836 * gdb.base/sepdebug.c: Ditto.
837 * gdb.base/setshow.c: Ditto.
838 * gdb.base/setvar.c: Ditto.
839 * gdb.base/sigall.c: Ditto.
840 * gdb.base/signals.c: Ditto.
841 * gdb.base/structs.c: Ditto.
842 * gdb.base/structs2.c: Ditto.
843 * gdb.base/testenv.c: Ditto.
844 * gdb.base/twice.c: Ditto.
845 * gdb.base/unwindonsignal.c: Ditto.
846 * gdb.base/watchpoint.c: Ditto.
847 * gdb.base/watchpoints.c: Ditto.
848 * gdb.base/whatis.c: Ditto.
849 * gdb.cp/classes.cc: Ditto.
850 * gdb.cp/cplusfuncs.cc: Ditto.
851 * gdb.cp/derivation.cc: Ditto.
852 * gdb.cp/formatted-ref.cc: Ditto.
853 * gdb.cp/misc.cc: Ditto.
854 * gdb.cp/overload.cc: Ditto.
855 * gdb.cp/ovldbreak.cc: Ditto.
856 * gdb.cp/ref-params.cc: Ditto.
857 * gdb.cp/ref-types.cc: Ditto.
858 * gdb.cp/templates.cc: Ditto.
859 * gdb.cp/virtfunc.cc: Ditto.
860 * gdb.hp/gdb.aCC/run.c: Ditto.
861 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
862 * gdb.hp/gdb.compat/xdb0.c: Ditto.
863 * gdb.reverse/consecutive-reverse.c: Ditto.
864 * gdb.reverse/sigall-reverse.c: Ditto.
865 * gdb.reverse/until-reverse.c: Ditto.
866 * gdb.reverse/watch-reverse.c: Ditto.
867 * gdb.trace/actions.c: Ditto.
868 * gdb.trace/circ.c: Ditto.
869 * gdb.trace/collection.c: Ditto.
871 2011-12-13 Pedro Alves <pedro@codesourcery.com>
873 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
875 (main): Call func6 and func7.
876 * gdb.base/watchpoint.exp (test_wide_location_1)
877 (test_wide_location_2): New.
878 (top level): Re-enable hardware watchpoints if necessary. Call
879 test_wide_location_1 and test_wide_location_2.
881 2011-12-11 Yao Qi <yao@codesourcery.com>
883 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
885 2011-12-11 Joel Brobecker <brobecker@adacore.com>
887 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
888 expected output for unsupported case.
890 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
893 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
894 Protect gdb_test_multiple by final $gdb_prompt match.
896 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
898 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
899 New variable, new test.
900 (list static-method.cc:xxx::(anonymous namespace)::A::func)
901 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
902 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
903 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
904 them if HAVE_GCC_45682_FIXED is not set.
906 2011-12-10 Yao Qi <yao@codesourcery.com>
908 * gdb.trace/status-stop.exp: New.
909 * gdb.trace/status-stop.c: New.
911 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
913 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
916 2011-12-08 Tom Tromey <tromey@redhat.com>
918 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
921 2011-12-07 Stan Shebs <stan@codesourcery.com>
923 * gdb.trace/tfind.exp: Update for output changes.
925 2011-12-07 Pedro Alves <pedro@codesourcery.com>
927 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
928 throws "Cannot insert catchpoints in this configuration".
929 * gdb.ada/mi_catch_ex.exp: Likewise.
931 2011-12-06 Pedro Alves <pedro@codesourcery.com>
933 * gdb.base/break-always.exp: Test changing memory at addresses
934 with breakpoints inserted.
936 2011-12-06 Joel Brobecker <brobecker@acacore.com>
938 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
939 involving a fully qualified function name.
941 2011-12-06 Tom Tromey <tromey@redhat.com>
943 * gdb.ada/homonym.exp: Add three breakpoint tests.
945 2011-12-06 Tom Tromey <tromey@redhat.com>
947 * gdb.base/solib-weak.exp (do_test): Remove kfail.
948 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
949 * gdb.objc/objcdecode.exp: Update for output changes.
950 * gdb.linespec/linespec.exp: New file.
951 * gdb.linespec/lspec.cc: New file.
952 * gdb.linespec/lspec.h: New file.
953 * gdb.linespec/body.h: New file.
954 * gdb.linespec/base/two/thefile.cc: New file.
955 * gdb.linespec/base/one/thefile.cc: New file.
956 * gdb.linespec/Makefile.in: New file.
957 * gdb.cp/templates.exp (test_template_breakpoints): Update for
959 * gdb.cp/re-set-overloaded.exp: Remove kfail.
960 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
961 makes one breakpoint.
962 * gdb.cp/method2.exp (test_break): Update for output changes.
963 * gdb.cp/mb-templates.exp: Update for output changes.
964 * gdb.cp/mb-inline.exp: Update for output changes.
965 * gdb.cp/mb-ctor.exp: Update for output changes.
966 * gdb.cp/ovsrch.exp: Use fully-qualified names.
967 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
968 has multiple matches.
969 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
970 error message change.
971 * gdb.base/list.exp (test_list_filename_and_number): Update for
972 error message change.
973 * gdb.base/break.exp: Disable pending breakpoints. Update for
975 * configure.ac: Add gdb.linespec.
976 * configure: Rebuild.
977 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
979 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
981 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
982 last_break register on s390*-*-* targets.
984 2011-12-06 Joel Brobecker <brobecker@adacore.com>
986 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
987 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
988 of parameter X in procedure Foo.
990 2011-12-05 Stan Shebs <stan@codesourcery.com>
992 * gdb.trace/tfind.exp: Update help string matches.
994 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
996 * gdb.server/ext-run.exp (get process list): Accept also systemd
999 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1000 Pedro Alves <pedro@codesourcery.com>
1002 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
1004 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
1006 * gdb.base/display.exp: Likewise.
1007 * gdb.base/ending-run.exp: Likewise.
1008 * gdb.base/list.exp (test_listsize): Likewise.
1009 * gdb.base/setshow.exp: Likewise.
1010 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
1011 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
1012 check by global $use_gdb_stub.
1013 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
1014 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
1015 (default_gdb_init): Unset global $use_gdb_stub.
1016 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
1017 by global $use_gdb_stub.
1018 * lib/gdbserver-support.exp: Extend comments for set_board_info
1019 gdb_protocol and gdb,socketport.
1020 (gdbserver_start_extended): Set global gdbserver_protocol and
1021 gdbserver_gdbport. Clear global use_gdb_stub.
1022 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
1023 from target use_gdb_stub.
1024 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
1026 2011-12-03 Doug Evans <dje@google.com>
1028 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
1029 (gdb_step_for_stub): Add comments.
1031 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
1033 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
1035 (gdb_test_multiple): Likewise.
1037 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1039 Fix gdb.mi/mi-solib.exp without system debug info installed.
1040 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
1041 expect attribute, return 0 for it. Update comments.
1043 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1045 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
1046 (corrupted list): Adjust the expectation.
1048 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1051 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
1052 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
1053 * gdb.threads/tls-var-main.c: New file.
1054 * gdb.threads/tls-var.c: New file.
1055 * gdb.threads/tls-var.exp: New file.
1057 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1060 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
1061 Protect gdb_test_multiple by final $gdb_prompt match.
1062 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
1063 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
1064 (test_tracepoints): Likewise.
1066 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1068 PR breakpoints/13346
1069 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
1070 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
1071 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
1073 2011-12-01 Joel Brobecker <brobecker@adacore.com>
1075 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
1076 * gdb.ada/homonym/homonym.adb: For use of all types defined
1077 locally inside both Get_Value subprograms.
1079 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1082 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
1085 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1087 * gdb.base/testenv.exp: Skip on remote targets. Unset global
1088 environment variable after test completed.
1090 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
1092 * gdb.base/solib-nodir.exp: Skip if remote target.
1093 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
1094 application. Call gdb_load_shlibs.
1095 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
1097 2011-11-29 Joel Brobecker <brobecker@adacore.com>
1099 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
1101 2011-11-28 Joel Brobecker <brobecker@adacore.com>
1103 * gdb.ada/fullname_bp: New testcase.
1105 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1108 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
1109 Wrap send_gdb into a new gdb_test.
1112 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
1113 Convert send_gdb and gdb_expect to gdb_test_multiple.
1115 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1117 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
1119 2011-11-23 Keith Seitz <keiths@redhat.com>
1121 * lib/mi-support.exp (varobj_tree): New namespace and procs.
1122 (mi_varobj_tree_test_children_callback): New proc.
1123 (mi_walk_varobj_tree): New proc.
1125 2011-11-22 Tom Tromey <tromey@redhat.com>
1127 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
1128 Add "use_mi_command" argument.
1129 (mi_run_cmd, mi_run_with_cli): New procs.
1130 * gdb.mi/solib-lib.c: New file.
1131 * gdb.mi/solib-main.c: New file.
1132 * gdb.mi/mi-solib.exp: New file.
1134 2011-11-21 Doug Evans <dje@google.com>
1136 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
1137 _Unwind_DebugHook is missing.
1139 2011-11-20 Stan Shebs <stan@codesourcery.com>
1141 * gdb.trace/tstatus.exp: New.
1142 * gdb.trace/actions.c: Include string.h.
1144 2011-11-18 Yao Qi <yao@codesourcery.com>
1146 * gdb.trace/pending.exp: New.
1147 * gdb.trace/pending.c: New.
1148 * gdb.trace/pendshr1.c: New.
1149 * gdb.trace/pendshr2.c: New.
1150 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
1151 tracepoint location becomes pending.
1152 (tracepoint_change_loc_2): New.
1154 2011-11-16 David S. Miller <davem@davemloft.net>
1156 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
1157 target is sparc*-*-linux*
1159 2011-11-15 Paul Koning <paul_koning@dell.com>
1161 * gdb.python/py-type.exp: New testcases for exceptions on scalar
1164 2011-11-14 Doug Evans <dje@google.com>
1166 * gdb.base/shell.exp: New file.
1168 2011-11-14 Stan Shebs <stan@codesourcery.com>
1170 * gdb.trace/ftrace.c: New.
1171 * gdb.trace/ftrace.exp: New.
1173 2011-11-14 Yao Qi <yao@codesourcery.com>
1175 * gdb.trace/change-loc-1.c: New.
1176 * gdb.trace/change-loc-2.c: New.
1177 * gdb.trace/change-loc.c: New.
1178 * gdb.trace/change-loc.exp: New.
1179 * gdb.trace/change-loc.h: New.
1180 * gdb.trace/trace-break.c (marker): Define new symbol.
1181 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
1183 (break_trace_same_addr_6): New.
1185 2011-11-12 Matt Rice <ratmice@gmail.com>
1187 * gdb.base/info-macros.exp: Make tests for info definitions
1188 test info macro. Add tests for info macro argument processing.
1191 2011-11-11 Keith Seitz <keiths@redhat.com>
1194 * gdb.base/linespecs.exp: New file.
1196 2011-11-11 Doug Evans <dje@google.com>
1198 * gdb.threads/print-threads.exp: Extend timeout for slower
1201 2011-11-10 Doug Evans <dje@google.com>
1203 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
1204 "record to end of main" test.
1206 * gdb.python/py-type.c (TS): New typedef.
1208 * gdb.python/py-type.exp: Test field list of typedef.
1210 2011-11-10 Joel Brobecker <brobecker@adacore.com>
1212 * gdb.ada/small_reg_param: New testcase.
1214 2011-11-09 Tom Tromey <tromey@redhat.com>
1216 * gdb.cp/destrprint.exp: New file.
1217 * gdb.cp/destrprint.cc: New file.
1219 2011-11-08 Meador Inge <meadori@codesourcery.com>
1221 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
1222 (switch_stack_to_other): New test function.
1223 * gdb.arch/thumb-prologue.exp: New test cases.
1225 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
1227 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
1229 2011-11-08 Yao Qi <yao@codesourcery.com>
1231 * gdb.exp (supports_process_record): New.
1232 (supports_reverse): New.
1233 * gdb.reverse/break-precsave.exp: Call support_process_record
1234 to run test conditionally.
1235 * gdb.reverse/consecutive-precsave.exp: Likewise.
1236 * gdb.reverse/i386-precsave.exp: Likewise.
1237 * gdb.reverse/machinestate-precsave.exp: Likewise.
1238 * gdb.reverse/solib-precsave.exp: Likewise.
1239 * gdb.reverse/step-precsave.exp: Likewise.
1240 * gdb.reverse/until-precsave.exp: Likewise.
1241 * gdb.reverse/watch-precsave.exp: Likewise.
1242 * gdb.reverse/break-reverse.exp: Call support_reverse to run
1244 * gdb.reverse/consecutive-reverse.exp: Likewise.
1245 * gdb.reverse/finish-precsave.exp: Likewise.
1246 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
1247 * gdb.reverse/finish-reverse.exp: Likewise.
1248 * gdb.reverse/i386-reverse.exp: Likewise.
1249 * gdb.reverse/i386-sse-reverse.exp: Likewise.
1250 * gdb.reverse/machinestate.exp: Likewise.
1251 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
1252 * gdb.reverse/sigall-precsave.exp: Likewise.
1253 * gdb.reverse/sigall-reverse.exp: Likewise.
1254 * gdb.reverse/solib-reverse.exp: Likewise.
1255 * gdb.reverse/step-reverse.exp: Likewise.
1256 * gdb.reverse/until-reverse.exp: Likewise.
1257 * gdb.reverse/watch-reverse.exp: Likewise.
1259 2011-11-05 Yao Qi <yao@codesourcery.com>
1261 * gdb.trace/trace-break.exp: Add test on setting two
1262 fast tracepoints at the same address.
1264 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1266 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
1268 2011-11-02 Stan Shebs <stan@codesourcery.com>
1270 * gdb.trace/collection.c: Add code using strings.
1271 * gdb.trace/collection.exp: Add tests of string collection.
1273 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
1275 * gdb.base/skip-solib.exp (executable_main): New variable.
1276 (binfile_main): Base it on that.
1277 Use $executable_main in clean_restart calls. Drop gdb_exit and
1280 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1283 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
1284 breakpoint_re globals import by async. Set string_regex to .* for
1285 async. Remove the optional thread_selected_re and breakpoint_re
1286 globals expectations.
1288 2011-11-01 Joseph Myers <joseph@codesourcery.com>
1290 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
1293 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
1295 Add tests for skip command.
1296 * gdb.base/skip-solib-lib.c: New
1297 * gdb.base/skip-solib-main.c: New
1298 * gdb.base/skip-solib.exp: New
1299 * gdb.base/skip.c: New
1300 * gdb.base/skip.exp: New
1301 * gdb.base/skip1.c: New
1302 * gdb.base/Makefile.in: Adding new files.
1304 2011-10-31 Yao Qi <yao@codesourcery.com>
1305 Pedro Alves <pedro@codesourcery.com>
1307 * gdb.trace/trace-break.c: New.
1308 * gdb.trace/trace-break.exp: New.
1310 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1312 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
1315 2011-10-28 Pedro Alves <pedro@codesourcery.com>
1317 * gdb.threads/no-unwaited-for-left.c: New.
1318 * gdb.threads/no-unwaited-for-left.exp: New.
1319 * gdb.threads/non-ldr-exc-1.c: New.
1320 * gdb.threads/non-ldr-exc-1.exp: New.
1321 * gdb.threads/non-ldr-exc-2.c: New.
1322 * gdb.threads/non-ldr-exc-2.exp: New.
1323 * gdb.threads/non-ldr-exc-3.c: New.
1324 * gdb.threads/non-ldr-exc-3.exp: New.
1325 * gdb.threads/non-ldr-exc-4.c: New.
1326 * gdb.threads/non-ldr-exc-4.exp: New.
1328 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
1330 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
1331 * gdb.base/attach-pie-misread.exp: Likewise.
1332 * gdb.base/break-interp.exp: Likewise.
1333 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
1334 testcases for use_gdb_stub.
1335 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
1336 (continue): New testcase.
1337 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
1338 * gdb.threads/attach-into-signal.exp: Likewise.
1339 * gdb.threads/attach-stopped.exp: Likewise.
1340 * gdb.threads/attachstop-mt.exp: Likewise.
1342 2011-10-28 Paul Koning <paul_koning@dell.com>
1344 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
1346 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1348 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
1349 (mi_gdb_test): Import globals thread_selected_re
1350 and breakpoint_re. Expect them optionally at the regex start.
1352 2011-10-27 Doug Evans <dje@google.com>
1354 * gdb.python/python.exp: Test source -s.
1356 2011-10-26 Paul Koning <paul_koning@dell.com>
1358 * gdb.python/lib-types.cc (struct A): New structure.
1359 * gdb.python/lib-types.exp (deepitems): New tests.
1361 2011-10-25 Paul Koning <paul_koning@dell.com>
1365 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
1368 2011-10-24 Yao Qi <yao@codesourcery.com>
1370 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
1371 target is tic6x-*-*.
1373 2011-10-21 Joel Brobecker <brobecker@adacore.com>
1375 * gdb.ada/mi_task_info/task_switch.adb: New file.
1376 * gdb.ada/mi_task_info.exp: New file.
1378 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1380 * gdb.cp/expand-psymtabs-cxx.exp: New file.
1381 * gdb.cp/expand-psymtabs-cxx.cc: New file.
1383 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
1387 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
1390 2011-10-18 Tom Tromey <tromey@redhat.com>
1392 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
1394 2011-10-18 Tom Tromey <tromey@redhat.com>
1396 * gdb.base/source.exp: Don't include full file name in test name.
1397 * gdb.python/python.exp: Don't include full file name in test
1400 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1402 * gdb.base/attach-pie-noexec.c: New files.
1403 * gdb.base/attach-pie-noexec.exp: New files.
1405 2011-10-17 Joseph Myers <joseph@codesourcery.com>
1407 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
1408 prompt for each extra line in command.
1410 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1412 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
1414 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1415 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1416 Change the expected string.
1418 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1420 Fix results with system glibc debug info installed.
1421 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
1422 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
1423 Accept also __libc_ symbol prefix and no prefix.
1425 2011-10-14 Keith Seitz <keiths@redhat.com>
1428 * gdb.cp/converts.cc (foo3_1): New function.
1429 (foo3_2): New functions.
1430 * gdb.cp/converts.exp: Add tests for int to pointer conversion
1431 and null pointer conversions of integer constant zero.
1432 Add test to check if all arguments are checked for incompatible
1435 2011-10-14 Tom Tromey <tromey@redhat.com>
1437 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
1438 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
1441 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1443 Fix internal error regression.
1444 * gdb.dwarf2/implptr-optimized-out.S: New file.
1445 * gdb.dwarf2/implptr-optimized-out.exp: New file.
1447 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1449 Fix empty DWARF expressions DATA vs. SIZE conditionals.
1450 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
1453 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
1454 Use prepare_for_testing, remove clean_restart.
1455 (p arraynoloc, p arraycallnoloc): New tests.
1457 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
1459 * gdb.cp/namespace-enum.exp (executable): New variable.
1460 (binfile): Use ${objdir}/${subdir}/ prefix.
1461 Use ${executable} for clean_restart.
1463 2011-10-11 Sterling Augustine <saugustine@google.com>
1465 * gdb.cp/Makefile.in: Add namespace-enum test.
1466 * gdb.cp/namespace-enum.exp: New file.
1467 * gdb.cp/namespace-enum.c: New file.
1468 * gdb.cp/namespace-enum-main.c: New file.
1470 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
1472 * gdb.python/py-shared.exp: Relax filename check to handle remote:
1475 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1477 Reimplement @entry in input expressions.
1478 * gdb.base/exprs.c (v_int_array_init): New variable.
1479 * gdb.base/exprs.exp (print v_int_array_init)
1480 (print *v_int_array_init@1, print *v_int_array_init@2)
1481 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
1482 (print v_int_array_init[1]@1): New tests.
1484 2011-10-10 Joseph Myers <joseph@codesourcery.com>
1486 * gdb.cp/gdb2495.exp: Do not include directories in filename in
1489 2011-10-09 Doug Evans <dje@google.com>
1491 * gdb.base/alias.exp: Add tests for alias command.
1493 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1495 * gdb.arch/amd64-entry-value.s: New file.
1496 * gdb.mi/mi2-amd64-entry-value.s: New file.
1498 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1500 Display @entry parameter values even for references.
1501 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
1503 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
1504 reference and datap_input.
1505 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
1507 (continue to breakpoint: entry_reference: reference)
1508 (entry_reference: bt at entry)
1509 (continue to breakpoint: entry_reference: breakhere_reference)
1510 (entry_reference: bt, entry_reference: ptype regparam)
1511 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
1512 (entry_reference: p regparam@entry, entry_reference: p ®param@entry)
1513 (entry_reference: p regcopy, entry_reference: p nodataparam)
1514 (entry_reference: p nodataparam@entry): New tests.
1516 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1518 Support @entry in input expressions.
1519 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
1520 (entry_stack: p s1@entry, entry_stack: p s2@entry)
1521 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
1522 (tailcall: p j@entry): New tests.
1523 * gdb.cp/koenig.cc (A::entry): New function.
1525 * gdb.cp/koenig.exp (p entry (c)): New test.
1527 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1529 Display @entry parameter values (without references).
1530 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
1531 (different, validity, invalid): New functions.
1533 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
1534 stacktest, breakhere_stacktest, different, breakhere_different,
1535 breakhere_validity and breakhere_invalid.
1536 (entry: bt): Update for @entry.
1537 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
1538 (entry_validity: *, entry_invalid: *): Many new tests.
1539 * gdb.base/break.exp
1540 (run until breakpoint set at small function, optimized file): Accept
1541 also the @entry suffix.
1542 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
1543 * gdb.mi/mi2-amd64-entry-value.c: New files.
1544 * gdb.mi/mi2-amd64-entry-value.exp: New files.
1546 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1548 Protect entry values against self tail calls.
1549 * gdb.arch/amd64-entry-value.cc (self2, self): New.
1551 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
1552 (set debug entry-values 1, self: bt debug entry-values): New tests.
1554 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1556 Recognize virtual tail call frames.
1557 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
1558 (amb_b, amb_a): New.
1559 (main): Call a and b.
1560 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
1561 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
1562 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
1565 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1567 Implement basic support for DW_TAG_GNU_call_site.
1568 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
1569 * gdb.arch/amd64-entry-value.cc: New file.
1570 * gdb.arch/amd64-entry-value.exp: New file.
1572 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1574 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
1575 * gdb.dwarf2/implptr-64bit.S: New file.
1576 * gdb.dwarf2/implptr-64bit.exp: New file.
1578 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1580 Fix initial language detection with -readnow.
1581 * gdb.cp/readnow-language.cc: New file.
1582 * gdb.cp/readnow-language.exp: New file.
1584 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
1586 Fix printed anonymous struct name.
1587 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
1589 2011-10-09 Joseph Myers <joseph@codesourcery.com>
1591 * gdb.base/solib-symbol.exp: Do not include directories in
1592 filenames in expected messages.
1594 2011-10-07 Doug Evans <dje@google.com>
1596 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
1598 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
1600 Allow Python notification of new object-file loadings.
1601 * gdb.python/py-events.exp: Test newobjfile event.
1602 * gdb.python/py-events.py: Register newobjfile callback.
1603 * gdb.python/py-events.c: Add call to shared library
1604 * gdb.python/py-events-shlib.c: New file.
1606 2011-10-06 Joseph Myers <joseph@codesourcery.com>
1608 * gdb.base/fixsection.exp: Do not include directories in filename
1609 in expected message.
1611 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
1613 Add tests for passing of environment variables to inferior.
1614 * gdb.base/testenv.c: New test source.
1615 * gdb.base/testenv.exp: New expect test.
1617 2011-10-04 Paul Koning <paul_koning@dell.com>
1619 * gdb.python/py-value.c (main): Break before return.
1621 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
1623 PR python/12691: Add the inferior to Python exited event
1624 * gdb.python/py-events.exp: Test the inferior attribute of exited
1626 * gdb.python/py-events.py: Print inferior number on exit.
1627 * gdb.python/py-events.c: Fork the inferior.
1629 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1631 * gdb.base/jit.exp: Add testcase name to log message
1633 2011-10-03 Paul Koning <paul_koning@dell.com>
1634 Jan Kratochvil <jan.kratochvil@redhat.com>
1636 * gdb.python/py-value.exp
1637 (python inval = gdb.parse_and_eval('*(int*)0'))
1638 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
1639 (set argc=2, python print argc_lazy): New tests.
1641 2011-10-02 Joel Brobecker <brobecker@adacore.com>
1643 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
1645 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1646 Pedro Alves <pedro@codesourcery.com>
1648 * gdb.python/py-value.exp (test_value_in_inferior): New variable
1649 can_read_0, test for it.
1650 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
1651 (parse_and_eval with memory error): ... here, make it untested if
1654 2011-09-30 Marek Polacek <mpolacek@redhat.com>
1656 * gdb.python/python.exp (verify pagination beforehand)
1657 (verify pagination afterwards): Fix race by splitting the line.
1659 2011-09-29 Joseph Myers <joseph@codesourcery.com>
1661 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
1662 for 64-bit multilibs from i?86-* targets.
1664 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1666 * lib/gdb.exp: Fix a typo in one of the comments.
1668 2011-09-29 Marek Polacek <mpolacek@redhat.com>
1670 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
1673 2011-09-28 Paul Koning <paul_koning@dell.com>
1675 * gdb.python/py-type.c (enum E): New.
1676 * gdb.python/py-type.exp (test_fields): Add tests for Python
1677 mapping access to fields.
1678 (test_enums): New test for field access on enums.
1680 2011-09-27 Stan Shebs <stan@codesourcery.com>
1682 * gdb.trace/collection.exp: Test collection of $_ret.
1684 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
1686 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
1687 list of compilation switches for <*-*-freebsd*>.
1689 2011-09-19 Stan Shebs <stan@codesourcery.com>
1691 * gdb.trace/tspeed.exp: New file.
1692 * gdb.trace/tspeed.c: New file.
1694 2011-09-18 Yao Qi <yao@codesourcery.com>
1696 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
1698 (test_adr_32bit, test_pop_pc): Likewise.
1699 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
1701 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
1702 in gdb_test_multiple.
1703 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
1705 2011-09-17 Yao Qi <yao@codesourcery.com>
1707 * lib/gdb.exp (can_single_step_to_signal_handler): New.
1708 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
1709 support single step to signal handler.
1711 2011-09-17 Yao Qi <yao@codesourcery.com>
1713 * gdb.base/disp-step-fork.c: New.
1714 * gdb.base/disp-step-syscall.exp: New.
1715 * gdb.base/disp-step-vfork.c: New.
1717 2011-09-16 Joel Brobecker <brobecker@adacore.com>
1719 * gdb.ada/tasks.exp: Make the expected output for
1720 the `info tasks' tests more resilient to spacing
1723 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1725 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
1726 (reached breakpoint 2, reached breakpoint 3): Update expected output.
1728 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
1730 PR Python/12692 Add gdb.selected_inferior() to Python interface.
1731 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
1733 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
1735 Handle multiple breakpoint hits in Python interface:
1736 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
1738 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
1741 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
1742 Jan Kratochvil <jan.kratochvil@redhat.com>
1744 * gdb.python/py-events.exp: Remove pretty printing comment.
1745 * gdb.python/py-evsignal.exp: New file.
1746 * gdb.python/py-evthreads.c: Include signal.h.
1747 (thread3): Remove variable count3. Remove variable bad and use raise
1749 (thread2): Remove variable count2. Move thread3 pthread_create here,
1750 merge pthread_join to a single line.
1751 (main): Remove variable count1. Merge pthread_join with pthread_create
1753 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
1754 KFAIL python/12966 for gdbserver. Test return value of
1755 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
1756 gdb_expect by gdb_test and gdb_test_multiple.
1757 (thread 2, thread 3): New tests.
1759 2011-09-12 Matt Rice <ratmice@gmail.com>
1760 Pedro Alves <pedro@codesourcery.com>
1764 * gdb.base/interp.exp: New tests.
1765 * gdb.base/interp.c: New file.
1767 2011-09-12 Doug Evans <dje@google.com>
1769 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
1770 * gdb.dwarf2/typeddwarf.exp: Ditto.
1772 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1774 Fix compatibility with x32 arch.
1775 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
1776 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
1778 * testsuite/gdb.trace/collection.exp: Likewise.
1779 * testsuite/gdb.trace/report.exp: Likewise.
1780 * testsuite/gdb.trace/unavailable.exp: Likewise.
1781 * testsuite/gdb.trace/while-dyn.exp: Likewise.
1782 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
1783 (is_x86_like_target): Check also is_amd64_regs_target.
1785 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1787 PR breakpoints/12435
1788 * gdb.arch/amd64-prologue-xmm.c: New file.
1789 * gdb.arch/amd64-prologue-xmm.exp: New file.
1790 * gdb.arch/amd64-prologue-xmm.s: New file.
1792 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1794 * gdb.dwarf2/dw2-param-error-main.c: New file.
1795 * gdb.dwarf2/dw2-param-error.S: New file.
1796 * gdb.dwarf2/dw2-param-error.exp: New file.
1798 2011-09-08 Pedro Alves <pedro@codesourcery.com>
1800 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
1801 inferior's pid and look for a core dump named core.$pid. Use
1802 `remote_file' commands on the host instead of hand coding shell
1803 commands on the build.
1804 * gdb.base/valgrind-db-attach.exp: Kill the program before
1807 2011-09-02 Matt Rice <ratmice@gmail.com>
1809 * lib/prompt.exp: New file for testing the first prompt.
1810 * gdb.python/py-prompt.exp: Ditto.
1811 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
1813 2011-09-02 Pedro Alves <pedro@codesourcery.com>
1815 * gdb.threads/gcore-thread.exp: Set the global core_supported to
1816 0, before testing gcore.
1818 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1820 * dw2-ifort-parameter-debug.S: Update copyright year.
1821 * dw2-ifort-parameter.c: Update copyright year.
1822 * dw2-ifort-parameter.exp: Update copyright year.
1824 * dw2-ifort-parameter-debug.S: New file.
1825 * dw2-ifort-parameter.c: New file.
1826 * dw2-ifort-parameter.exp: New file.
1828 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1830 * gdb.base/commands.exp (error_clears_commands_left): New function.
1833 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1835 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
1836 (C): Initialize `a'.
1837 * gdb.mi/mi-inheritance-syntax-error.exp
1838 (-data-evaluate-expression $path): Expect `a' as 5.
1840 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
1843 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
1844 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
1845 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
1846 keyword in output of -var-info-path-expression.
1848 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1850 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
1851 * gdb.trace/collection.exp: Likewise.
1852 * gdb.trace/report.exp: Likewise.
1853 * gdb.trace/unavailable.exp: Likewise.
1854 * gdb.trace/while-dyn.exp: Likewise.
1856 2011-08-18 Keith Seitz <keiths@redhat.com>
1859 * gdb.cp/meth-typedefs.cc: New file.
1860 * gdb.cp/meth-typedefs.exp: New file.
1862 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
1864 * gdb.python/python.exp: Add extended-prompt tests.
1866 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1868 * gdb.arch/i386-dr3-watch.exp
1869 (watchpoint on gap1 does not fit debug registers)
1870 (delete all watchpoints): Fix racy expect strings.
1872 2011-08-14 Yao Qi <yao@codesourcery.com>
1874 * gdb.base/maint.exp: set data_section to ".neardata".
1875 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
1876 * gdb.base/savedregs.exp: Handle SIGILL.
1877 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
1878 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
1880 2011-08-12 Doug Evans <dje@google.com>
1882 * gdb.python/py-symbol.exp: Add test for symbol.type.
1884 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
1886 * gdb.threads/pthreads.exp: Enable on non-native configurations.
1887 * gdb.mi/mi-pthreads.exp: Likewise.
1888 * gdb.mi/mi2-pthreads.exp: Likewise.
1889 * gdb.mi/gdb669.exp.exp: Likewise.
1891 2011-08-09 Pedro Alves <pedro@codesourcery.com>
1893 * lib/mi-support.exp (detect_async): Rename to...
1894 (mi_detect_async): ... this.
1895 * gdb.mi/mi-nonstop-exit.exp: Adjust.
1896 * gdb.mi/mi-nonstop.exp: Adjust.
1897 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
1898 * gdb.mi/mi-nsintrall.exp: Adjust.
1899 * gdb.mi/mi-nsmoribund.exp: Adjust.
1900 * gdb.mi/mi-nsthrexec.exp: Adjust.
1902 2011-08-09 Pedro Alves <pedro@codesourcery.com>
1904 * gdb.base/display.c (do_loops): New `p_i' local.
1905 * gdb.base/display.exp: Test displaying a variable that is
1906 temporarily at a bad address.
1908 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1910 * gdb.dwarf2/dw2-op-stack-value.S: New file.
1911 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
1913 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1915 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
1916 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
1917 (p fuNC_symtab): Permit also ppc64 leading dot.
1919 2011-08-05 Pedro Alves <pedro@codesourcery.com>
1921 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
1923 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
1925 2011-08-05 Yao Qi <yao@codesourcery.com>
1927 * gdb.base/callfuncs.exp: Set language after main.
1928 * gdb.cp/cplusfuncs.exp: Likewise.
1929 * gdb.cp/inherit.exp: Likewise.
1931 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1933 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
1934 * gdb.base/watch-vfork.exp: Skip on remote targets.
1936 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1938 * gdb.threads/thread-find.exp: Support remote targets.
1940 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
1942 * gdb.base/jit.exp: Download solib_binfile to target.
1943 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
1944 and call dlopen without full path name.
1945 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
1946 dlopen without full path name.
1948 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1950 * gdb.base/break-always.exp: Complete the test
1951 with duplicated breakpoints and enabling/disabling them.
1953 2011-08-02 Tom Tromey <tromey@redhat.com>
1956 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
1958 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
1961 * gdb.base/float.exp: Add new test case for PR gdb/13045
1962 * gdb.base/float.c: New file.
1964 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
1966 * gdb.python/py-mi.exp: Test printers returning string hint, and
1967 also not returning a value.
1968 * gdb.python/py-prettyprint.c: Add testcase for above.
1969 * gdb.python/py-prettyprint.py: Add test printer for above.
1971 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1973 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
1974 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
1975 (.Ldie30) Add as field "data4".
1976 (.Ldie32) Rename field "b" to "shl".
1977 (abbrev4) Change for the "data4" field.
1978 (abbrev5, abbrev6) Remove.
1979 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
1980 (p &s.shl): ... here. Add comment.
1983 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1985 Fix crash on lval_computed values.
1986 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
1988 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1990 * gdb.base/help.exp (help whatis): Update the expected string.
1992 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1994 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
1995 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
1996 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
1997 Change the expected string.
1999 2011-07-26 Pedro Alves <pedro@codesourcery.com>
2001 * gdb.base/watchpoint.exp
2002 (test_disable_enable_software_watchpoint): New procedure.
2003 (top level): Run it.
2005 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
2007 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
2008 executable file "${binfile}", C++ version "${binfile}-cxx".
2009 * gdb.python/py-prettyprint.exp: Likewise.
2010 * gdb.python/py-symbol.exp: Likewise.
2011 * gdb.python/py-type.exp: Likewise.
2012 * gdb.python/py-value.exp: Likewise.
2013 * gdb.python/py-template.exp (test_template_arg): Pass full executable
2014 file name instead of just suffix.
2016 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2018 Fix implicit pointer offsets.
2019 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
2020 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
2021 (continue to breakpoint: continue to baz breakpoint for implptr)
2022 (sanity check element 0, sanity check element 1)
2023 (enter the inlined function, check element 0 for the offset)
2024 (check element 1 for the offset)
2025 (continue to breakpoint: ignore the second baz breakpoint): New tests.
2026 (set foo breakpoint for implptr): Update the breakpoint number.
2028 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2030 * gdb.python/py-mi.exp: Use different file names for different
2031 versions of the executable under test.
2032 * gdb.python/py-prettyprint.exp: Likewise.
2033 * gdb.python/py-symbol.exp: Likewise.
2034 * gdb.python/py-template.exp: Likewise.
2035 * gdb.python/py-type.exp: Likewise.
2036 * gdb.python/py-value.exp: Likewise.
2038 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2040 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
2041 flag after restarting GDB if necessary.
2043 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
2045 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
2047 2011-07-22 Pedro Alves <pedro@codesourcery.com>
2049 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
2050 backend doesn't leave used debug registers behind.
2052 2011-07-22 Tom Tromey <tromey@redhat.com>
2054 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
2055 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
2057 * gdb.dwarf2/typeddwarf-amd64.S: New file.
2059 2011-07-21 Matt Rice <ratmice@gmail.com>
2061 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
2062 in mostlyclean rule. Add files ending in .core.
2064 2011-07-21 Matt Rice <ratmice@gmail.com>
2067 * gdb.base/info-macros.c: New test sources.
2068 * gdb.base/info-macros.exp: New tests.
2070 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
2072 * gdb.python/python.exp: Add prompt substitution tests.
2074 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2076 Fix crash if referenced CU is aged out.
2077 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
2079 * gdb.dwarf2/implptr.exp: Likewise.
2081 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2083 * gdb.dwarf2/implptr.S: Rebuilt.
2084 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
2085 (bar): Use them for j, k, l.
2086 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
2088 (print j in implptr:bar): Update for the intp typedef.
2089 (print p[0].x in implptr:foo): Use more exact regex.
2091 2011-07-18 Tom Tromey <tromey@redhat.com>
2093 * gdb.cp/static-method.exp: Add missing single quote.
2095 2011-07-18 Yao Qi <yao@codesourcery.com>
2097 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
2099 * gdb.mi/mi-nonstop-exit.exp: Likewise.
2100 * gdb.mi/mi-nonstop.exp: Likewise.
2101 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2102 * gdb.mi/mi-nsintrall.exp: Likewise.
2103 * gdb.mi/mi-nsmoribund.exp: Likewise.
2104 * gdb.mi/mi-nsthrexec.exp: Likewise.
2105 * gdb.python/py-evthreads.exp: Likewise.
2107 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2110 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
2111 it. Substitute it instead of test_compiler_info everywhere.
2113 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2115 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
2116 remote targets as well.
2118 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2120 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
2121 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
2123 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
2125 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
2126 a remote machine, not the host.
2127 (gdb_compile_shlib): Set soname if target is remote.
2129 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2131 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
2133 2011-07-13 Matt Rice <ratmice@gmail.com>
2135 * gdb.python/py-objfile-script-gdb.py: Renamed to
2136 py-objfile-script-gdb.py.in.
2137 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
2138 py-objfile-script-gdb.py.
2139 * gdb.python/py-objfile-script.exp: Update reference to
2140 py-objfile-script-gdb.py.
2142 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2144 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
2145 reference undefined label.
2147 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2149 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
2150 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
2151 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
2152 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
2154 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
2157 * gdb.python/python.exp: Add maint set/show python print-stack
2158 deprecated tests. Add set/show python print-backtrace tests.
2160 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2162 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
2165 2011-07-06 Matt Rice <ratmice@gmail.com>
2167 * gdb.python/python.exp: Update filename paths.
2168 * gdb.python/py-symtab.exp: Ditto.
2170 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2172 * gdb.python/py-evthreads.exp: Add missing `$'.
2174 2011-07-06 Jie Zhang <jie.zhang@analog.com>
2176 * config/bfin.exp: New file.
2177 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
2178 * gdb.asm/bfin.inc: New file.
2180 2011-07-06 Marek Polacek <mpolacek@redhat.com>
2182 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
2185 2011-07-05 Tom Tromey <tromey@redhat.com>
2187 * gdb.java/jprint.java (jprint.hi): New field.
2188 * gdb.java/jprint.exp: Print string.
2190 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
2192 * gdb.base/call-sc.c: Fix typos.
2193 * gdb.base/ifelse.exp: Likewise.
2194 * gdb.base/structs.c: Likewise.
2196 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2198 * gdb.base/jit-so.exp: New test.
2199 * gdb.base/jit-dlmain.c: New file.
2200 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
2202 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2204 * gdb.cp/m-static.exp: Call get_compiler_info.
2205 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
2206 * gdb.cp/pr9167.exp (p b): Likewise.
2207 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
2208 (test value of P in inner_m, test type of Z in inner_m): Call
2209 setup_xfail for gcc <= 4.5.
2211 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2213 * gdb.cp/paren-type.cc: New files.
2214 * gdb.cp/paren-type.exp: New files.
2216 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2218 Stop on first linespec terminator instead of eating what we can.
2219 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
2220 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
2221 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
2222 (break C::f()): ... this one.
2223 (break C::operator()()): New test.
2224 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
2225 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
2228 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2230 Fall back linespec to minimal symbols.
2231 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
2233 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
2234 * gdb.cp/minsym-fallback-main.cc: New file.
2235 * gdb.cp/minsym-fallback.cc: New file.
2236 * gdb.cp/minsym-fallback.exp: New file.
2237 * gdb.cp/minsym-fallback.h: New file.
2239 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2241 * gdb.cp/no-dmgl-verbose.cc: New file.
2242 * gdb.cp/no-dmgl-verbose.exp: New file.
2244 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2246 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
2248 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
2250 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
2251 (complete p 'func<short>(): ... here.
2252 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
2253 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
2254 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
2255 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
2256 Make them KFAIL gcc/49546.
2258 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2260 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
2262 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2264 Test GCC PR debug/49546.
2265 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
2266 (test type of F in k3_m, test value of F in k3_m): New.
2267 * gdb.cp/temargs.cc (struct S3, struct K3): New.
2268 (main): New variable k3. Call k3.k3_m.
2270 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2272 * gdb.ada/packed_array.exp: Fix expected outout.
2274 2011-07-01 Jean-Charles Delay <delay@adacore.com>
2276 * gdb.ada/packed_array.exp: fixed expected output.
2278 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2280 * gdb.ada/same_enum: New testcase.
2282 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2284 * gdb.ada/ptr_typedef: New testcase.
2286 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2288 * gdb.ada/arrayptr.exp: Add ptype test.
2290 2011-07-01 Joel Brobecker <brobecker@adacore.com>
2292 * gdb.ada/char_enum: New testcase.
2294 2011-07-01 Yao Qi <yao@codesourcery.com>
2296 * gdb.base/dump.exp (capture_pointer_with_type): New.
2297 Get value from address instead of name.
2298 Start GDB once, and do `dump' and `restore'
2301 2011-06-30 Jie Zhang <jie.zhang@analog.com>
2302 Mike Frysinger <vapier@gentoo.org>
2304 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
2305 helper functions for getting/setting remotetimeout variable.
2306 * lib/gdb.exp (gdb_load): If the target is remote, set
2307 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
2308 with $loadtimeout. Set $load_ok to 0 before doing the load.
2309 Instead of returning, immediately, set $load_ok to 0. Call
2310 set_remotetimeout with $oldremotetimeout, and then return if
2313 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
2315 * gdb.python/py-template.exp: Don't run this test if the target
2316 does not support c++ tests.
2318 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2320 Fix non-only rename list for Fortran modules import.
2321 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
2323 * gdb.fortran/module.f90 (module moduse): New.
2324 (program module): use moduse, test var_x, var_y and var_z.
2326 2011-06-29 Tom Tromey <tromey@redhat.com>
2329 * gdb.fortran/array-element.exp: Use f90, not f77.
2330 * gdb.fortran/complex.exp: Use f90, not f77.
2331 * gdb.fortran/derived-type.exp: Use f90, not f77.
2332 * gdb.fortran/library-module.exp: Use f90, not f77.
2333 * gdb.fortran/logical.exp: Use f90, not f77.
2334 * gdb.fortran/module.exp: Use f90, not f77.
2335 * gdb.fortran/multi-dim.exp: Use f90, not f77.
2336 * gdb.fortran/subarray.exp: Use f90, not f77.
2338 2011-06-29 Tom Tromey <tromey@redhat.com>
2340 * gdb.fortran/charset.exp: New file.
2341 * gdb.fortran/charset.f90: New file.
2343 2011-06-29 Tom Tromey <tromey@redhat.com>
2346 * lib/future.exp: New file, mostly extracted from ada.exp.
2347 Rewrote compatibility code to use rename.
2348 (gdb_find_gfortran): New proc.
2349 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
2351 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
2353 * lib/gdb.exp: Always load future.exp.
2355 2011-06-28 Yao Qi <yao@codesourcery.com>
2357 * gdb.cp/exception.cc: Don't include iostream.
2358 (bar): Remove print statement.
2360 (main): Remove print statements. Call function catcher.
2361 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
2362 Set breakpoint on catcher, and check the value of parameter.
2364 2011-06-23 Yao Qi <yao@codesourcery.com>
2366 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check breakpoint
2367 1.2 is disabled. KFAIL for uclinux.
2369 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2371 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
2374 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2376 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2378 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2380 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
2382 2011-06-23 Marek Polacek <mpolacek@redhat.com>
2384 * gdb.mi/mi2-basics.exp: Fix races. Honour the
2385 `test_exec_and_symbol_mi_operatons' return value.
2386 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2388 (test_exec_and_symbol_mi_operatons): Likewise.
2389 (test_path_specification): Likewise.
2391 2011-06-23 Yao Qi <yao@codesourcery.com>
2393 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
2395 * lib/gdb.exp (support_displaced_stepping): New.
2397 2011-06-23 Yao Qi <yao@codesourcery.com>
2399 * gdb.threads/execl.exp: Skip on remote target.
2401 2011-06-21 Marek Polacek <mpolacek@redhat.com>
2403 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
2406 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2408 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
2410 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2412 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
2415 2011-06-20 Marek Polacek <mpolacek@redhat.com>
2417 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
2419 2011-06-14 Yao Qi <yao@codesourcery.com>
2422 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
2424 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2426 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
2428 2011-06-10 Tom Tromey <tromey@redhat.com>
2430 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
2431 Add tests for pointer-to-member-function.
2432 * gdb.cp/temargs.cc (S::somefunc): New function.
2434 (main): Instantiate K2; call method.
2436 2011-06-08 Joel Brobecker <brobecker@adacore.com>
2438 * gdb.python/py-inferior.c (f2): Make str an array rather
2440 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
2442 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2444 * gdb.base/async-shell.c: New file.
2445 * gdb.base/async-shell.exp: New file.
2447 2011-06-06 Pedro Alves <pedro@codesourcery.com>
2449 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
2451 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
2453 From Stephen Kitt <steve@sk2.org>
2454 * gdb.base/help.exp: Adjust following some spelling corrections
2457 2011-06-01 Yao Qi <yao@codesourcery.com>
2459 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
2461 2010-05-31 Keith Seitz <keiths@redhat.com>
2464 * gdb.cp/static-method.cc: New file.
2465 * gdb.cp/static-method.exp: New file.
2467 2010-05-31 Keith Seitz <keiths@redhat.com>
2470 * gdb.cp/anon-ns.cc: New file.
2471 * gdb.cp/anon-ns.exp: New file.
2473 2011-05-31 Pedro Alves <pedro@codesourcery.com>
2475 * gdb.arch/i386-dr3-watch.c: New file.
2476 * gdb.arch/i386-dr3-watch.exp: New file.
2478 2011-05-30 Yao Qi <yao@codesourcery.com>
2480 * gdb.base/callfuncs.c (t_structs_fc): New.
2481 (t_structs_dc, t_structs_ldc): New.
2482 (t_double_many_args):
2483 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
2484 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
2485 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
2486 * gdb.base/callfuncs.exp: Call new functions.
2488 2011-05-30 Yao Qi <yao@codesourcery.com>
2490 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
2491 Call rerun_and_prepare for each test to isolate effects.
2493 2011-05-30 Yao Qi <yao@codesourcery.com>
2495 * gdb.base/varargs.c (find_max_float_real): New.
2496 (find_max_double_real, find_max_long_double_real): New.
2497 * gdb.base/varargs.exp: Call these new added functions.
2498 * lib/gdb.exp (setup_kfail_for_target): New.
2500 2011-05-30 Yao Qi <yao@codesourcery.com>
2502 * gdb.base/funcargs.c (callca, callcb, callcc): New.
2503 (callcd, callce, callcf, callc1a, callc1b): New.
2504 (callc2a, callc2b): New.
2505 * gdb.base/funcargs.exp (complex_args): New.
2506 (complex_integral_args, complex_float_integral_args): New.
2507 * lib/gdb.exp (support_complex_tests): New. Determine
2508 whether to run test cases on _Complex types.
2510 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2512 * gdb.threads/leader-exit.c: New file.
2513 * gdb.threads/leader-exit.exp: New file.
2515 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2517 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
2519 2011-05-27 Marek Polacek <mpolacek@redhat.com>
2521 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
2522 remove the `supported' variable.
2523 * gdb.mi/mi-nonstop.exp: Likewise.
2524 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
2525 * gdb.mi/mi-nsintrall.exp: Likewise.
2526 * gdb.mi/mi-nsmoribund.exp: Likewise.
2527 * gdb.mi/mi-nsthrexec.exp: Likewise.
2529 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2531 * gdb.reverse/finish-reverse-bkpt.exp: New test.
2533 2011-05-26 Pedro Alves <pedro@codesourcery.com>
2535 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
2537 2011-05-24 Keith Seitz <keiths@redhat.com>
2540 * gdb.cp/cmpd-minsyms.cc (a): New method.
2543 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
2545 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2547 * gdb.base/commands.exp (watchpoint_command_test): Check that the
2548 watchpoint's command list didn't execute when the watchpoint went
2551 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
2553 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
2554 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
2555 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
2556 * gdb.arch/i386-gnu-cfi.exp: Likewise.
2557 * gdb.arch/i386-permbkpt.exp: Likewise.
2558 * gdb.arch/i386-prologue.exp: Likewise.
2559 * gdb.arch/i386-size-overlap.exp: Likewise.
2560 * gdb.arch/i386-size.exp: Likewise.
2561 * gdb.arch/i386-unwind.exp: Likewise.
2562 * gdb.reverse/i386-precsave.exp: Likewise.
2563 * gdb.reverse/i386-reverse.exp: Likewise.
2564 * gdb.reverse/i386-sse-reverse.exp: Likewise.
2565 * gdb.reverse/i387-env-reverse.exp: Likewise.
2566 * gdb.reverse/i387-stack-reverse.exp: Likewise.
2568 2011-05-24 Pedro Alves <pedro@codesourcery.com>
2570 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
2571 file doesn't error, using MI.
2573 2011-05-23 Tom Tromey <tromey@redhat.com>
2575 * gdb.base/charset.exp (string_display): Add tests to assign to
2577 * gdb.base/charset.c (short_array, int_array, long_array): New.
2579 2011-05-20 Pedro Alves <pedro@codesourcery.com>
2581 Cope with async mode.
2583 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
2584 into gdb_test + mi_expect_stop.
2586 2011-05-20 Pedro Alves <pedro@codesourcery.com>
2588 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
2589 (callme): Remove printf call.
2591 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
2593 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
2594 quote pattern to avoid problems with Cygwin/mingw expect versions.
2595 * gdb.base/default.exp (show convenience): Use double
2596 quote pattern for regular expressions.
2598 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2600 Fix -readnow for -gdwarf-4 unused type units.
2601 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
2602 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
2604 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
2606 * gdb.base/kill-after-signal.c: New file.
2607 * gdb.base/kill-after-signal.exp: New file.
2609 2011-05-16 Pedro Alves <pedro@codesourcery.com>
2611 * gdb.ada/start.exp: Call untested with the correct test filename.
2612 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
2613 test filename. Make the test's binary unique.
2614 * gdb.arch/i386-signal.exp: Call untested with the correct test
2616 * gdb.arch/i386-size-overlap.exp: Ditto.
2617 * gdb.arch/Makefile.in (EXECUTABLES): Update.
2618 * gdb.base/gcore-buffer-overflow.exp: Ditto.
2619 * gdb.cp/call-c.exp: Ditto.
2620 * gdb.mi/mi-reverse.exp: Call untested with the correct test
2621 filename. Make the test's binary unique.
2622 * gdb.mi/Makefile.in (EXECUTABLES): Update.
2623 * gdb.python/py-mi.exp: Ditto.
2624 * gdb.python/Makefile.in (EXECUTABLES): Update.
2625 * gdb.reverse/i386-precsave.exp: Ditto.
2626 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
2628 * gdb.reverse/i387-stack-reverse.exp: Ditto.
2629 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
2631 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
2633 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
2634 * gdb.trace/tfile.exp: Ditto.
2636 2011-05-14 Yao Qi <yao@codesourcery.com>
2638 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
2641 2011-05-13 Doug Evans <dje@google.com>
2643 * gdb.python/py-objfile-script.exp: New file.
2644 * gdb.python/py-objfile-script.c: New file.
2645 * gdb.python/py-objfile-script-gdb.py: New file.
2646 * testsuite/gdb.python/py-section-script.exp: Test
2647 "info auto-load-scripts".
2649 2011-05-13 Tom Tromey <tromey@redhat.com>
2651 * gdb.dwarf2/clztest.exp: New file.
2652 * gdb.dwarf2/clztest.c: New file.
2653 * gdb.dwarf2/clztest.S: New file.
2655 2011-05-13 Doug Evans <dje@google.com>
2657 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
2660 2011-05-13 Tom Tromey <tromey@redhat.com>
2662 * lib/gdb.exp (is_x86_like_target): New proc.
2663 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
2664 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
2665 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
2666 -nostdlib to compiler.
2667 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
2668 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
2669 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
2670 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
2671 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
2673 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2675 * gdb.python/py-function.exp: Test setting a value from a function
2676 which executes a command.
2678 2011-05-12 Tom Tromey <tromey@redhat.com>
2680 * gdb.dwarf2/typeddwarf.S: New file.
2681 * gdb.dwarf2/typeddwarf.c: New file.
2682 * gdb.dwarf2/typeddwarf.exp: New file.
2684 2011-05-12 Marek Polacek <mpolacek@redhat.com>
2686 * gdb.mi/mi-basics.exp: Fix races. Honour the
2687 `test_exec_and_symbol_mi_operatons' return value.
2688 (test_mi_interpreter_selection): Use mi_gdb_test instead of
2690 (test_exec_and_symbol_mi_operatons): Likewise.
2691 (test_path_specification): Likewise.
2693 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2695 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
2696 (gdb_touch_execfile): Remove catch wrappers. New variable time.
2697 Replace `file copy' and `file rename' by `file mtime'. Twice.
2699 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2701 * gdb.base/readline-ask.c: New file.
2702 * gdb.base/readline-ask.exp: New file.
2703 * gdb.base/readline-ask.inputrc: New file.
2705 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
2707 * gdb.cell/bt.exp: Delete breakpoints before running to signal
2708 to avoid race condition.
2709 * gdb.cell/coremaker.c: Use small stack size.
2710 * gdb.cell/ea-standalone.exp: Use file name without path as
2712 * gdb.cell/fork.exp: Allow other output when continuing to end.
2714 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2716 * gdb.threads/corethreads.c: New file.
2717 * gdb.threads/corethreads.exp: New file.
2719 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2721 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
2722 Try to compile the test using -Wl,-z,norelro first.
2723 (load_core): New variable libthread_db_seen, initialize it.
2724 (zeroed-threads cannot be listed): Protect it by XFAIL on
2725 !$libthread_db_seen.
2727 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2730 * gdb.dwarf2/dw2-skip-prologue.S: New file.
2731 * gdb.dwarf2/dw2-skip-prologue.c: New file.
2732 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
2734 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2736 * gdb.cp/psymtab-parameter.cc: New file.
2737 * gdb.cp/psymtab-parameter.exp: New file.
2739 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2742 * gdb.cp/static-print-quit.exp (print c): Split to ...
2743 (print c - <return>, print c - q <return>, print c - to quit):
2744 ... these. Make the testfile untested on gdb-7.1.
2746 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
2748 * lib/gdb.exp (exec_target_file, exec_symbol_file,
2749 gdb_rename_execfile, gdb_touch_execfile): New.
2750 * gdb.base/reread.exp: Use new procs to handle multiple
2753 2011-05-05 Yao Qi <yao@codesourcery.com>
2755 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
2756 (test_adr_32bit, test_pop_pc): New.
2757 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
2758 (test_adr_32bit, test_pop_pc): New.
2760 2011-05-04 Joseph Myers <joseph@codesourcery.com>
2762 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
2763 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
2765 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
2768 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2770 * gdb.base/completion.exp (complete help info wat): Rename to ...
2771 (complete 'help info wat'): ... here.
2772 Remove all `-re ".*' and `-re "^.*' redundant regexes.
2773 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
2775 2011-05-04 Pedro Alves <pedro@codesourcery.com>
2777 * gdb.base/completion.exp: Use gdb_test_multiple instead of
2778 gdb_test and explicit $gdb_prompt/timeout matches.
2780 2011-05-04 Yao Qi <yao@codesourcery.com>
2782 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
2785 2011-05-03 Marek Polacek <mpolacek@redhat.com>
2787 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
2788 in place of `gdb_test "delete breakpoints"'. This eliminates two
2791 2011-05-02 Pedro Alves <pedro@codesourcery.com>
2796 * gdb.base/completion.exp: Remove all sleep calls. Remove
2797 unnecessary regexs. Don't explicitly expect anything after the
2798 prompt. Eat the prompt if necessary.
2800 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
2802 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
2803 accept to show the caller line again as well as the line after.
2805 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
2809 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
2811 * gdb.python/py-prettyprint.exp: Add C++ object for
2812 CPLUS_FAKE_CHILD test.
2814 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
2816 * gdb.base/signest.exp: New file.
2817 * gdb.base/signest.c: Likewise.
2819 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2821 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
2822 thread and breakpoint notifications.
2824 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2826 * gdb.base/fortran-sym-case.c: New file.
2827 * gdb.base/fortran-sym-case.exp: New file.
2828 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
2829 * gdb.dwarf2/dw2-case-insensitive.c: New file.
2830 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
2832 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2834 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
2835 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
2836 false #1', `if true else false #2' and `if true else false #3'.
2838 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
2840 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
2841 while delivering signal.
2843 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
2845 MI breakpoint notifications.
2847 * testsuite/gdb.mi/mi-cli.exp: Adust.
2848 * testsuite/gdb.mi/mi2-cli.exp: Adust.
2849 * testsuite/gdb.mi/mi-watch.exp: Adust.
2850 * testsuite/gdb.mi/mi2-watch.exp: Adust.
2851 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
2854 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2856 * gdb.base/gdbindex-stabs-dwarf.c: New file.
2857 * gdb.base/gdbindex-stabs.c: New file.
2858 * gdb.base/gdbindex-stabs.exp: New file.
2860 2011-04-25 Yao Qi <yao@codesourcery.com>
2862 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
2864 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
2866 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2868 * gdb.python/py-value.exp (test_objfiles): Name the first test
2869 `py-value in file.filename'.
2871 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2873 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
2874 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
2875 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
2876 !gdbserver_reconnect_p..
2877 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
2879 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2881 * gdb.cp/cpcompletion.exp (complete class methods)
2882 (complete class methods beginning with F): Move them above runto. New
2883 comment about the runto delimiter.
2885 2011-04-20 Pedro Alves <pedro@codesourcery.com>
2887 * gdb.base/maint.exp: Test that "maint print registers" works
2888 without a running program.
2890 2011-04-20 Marek Polacek <mpolacek@redhat.com>
2892 * gdb.base/setshow.exp: Fix racy tests.
2893 ($old_gdb_prompt): New variable.
2895 2011-04-19 Tom Tromey <tromey@redhat.com>
2897 * gdb.mi/mi-nsmoribund.exp:
2898 * gdb.hp/gdb.objdbg/objdbg01.exp:
2899 * gdb.base/structs.exp (test_struct_returns):
2900 * gdb.base/call-sc.exp (test_scalar_returns):
2901 * gdb.base/bigcore.exp: Remove duplicate words.
2903 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2905 * gdb.base/break-interp-lib.c (v, vptr): New variables.
2906 * gdb.base/break-interp.exp (test_attach): New comment.
2908 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2910 * gdb.threads/gcore-thread.exp ($core0file): New variable.
2911 (clear __stack_user.next, clear stack_used.next)
2912 (save a zeroed-threads corefile): New test.
2913 Call core_load for $core0file.
2914 (zeroed-threads cannot be listed): New test.
2916 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2918 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
2920 ($srcfile): Preserve the original value.
2921 ($testfile): Match it the .exp filename.
2922 ($corefile): New variable. Substitute it around.
2924 ($prev_timeout): Remove.
2925 (load_core): Move core loading into this proc.
2926 Fix restore of $timeout if load_core fails.
2928 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2930 * gdb.base/eu-strip-infcall.c: New file.
2931 * gdb.base/eu-strip-infcall.exp: New file.
2933 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2935 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
2936 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
2938 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2940 Fix Python access to inlined frames.
2941 * gdb.python/py-frame-inline.c: New file.
2942 * gdb.python/py-frame-inline.exp: New file.
2944 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
2946 * gdb.base/gdb1090.exp: Change breakpoint location to read the
2947 content of 's24' correctly (avoiding "optimized out").
2948 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
2950 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2952 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
2954 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
2956 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
2957 expect a colon in watch -location output.
2959 2011-04-13 Marek Polacek <mpolacek@redhat.com>
2961 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
2962 New testcase `expect response to define backtrace'. Also remove
2963 redundant `default' block.
2965 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
2967 * gdb.python/py-prettyprint.c (struct hint_error): New.
2968 (main): New variable hint_error.
2969 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
2971 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
2972 (register_pretty_printers): Register it.
2974 2011-04-04 Tom Tromey <tromey@redhat.com>
2976 * gdb.cp/maint.exp (test_help): Update.
2977 (test_namespace): Likewise.
2979 2011-04-01 Joel Brobecker <brobecker@adacore.com>
2981 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
2982 * gdb.ada/arrayptr.exp: Add new tests.
2984 2011-04-01 Joel Brobecker <brobecker@adacore.com>
2986 * gdb.ada/mi_catch_ex: New testcase.
2988 2011-04-01 Pedro Alves <pedro@codesourcery.com>
2990 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
2991 base::overload(void) method without specifying "const".
2993 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
2995 * gdb.arch/thumb-singlestep.S: New file.
2996 * gdb.arch/thumb-singlestep.exp: Likewise.
2998 2011-03-31 Tom Tromey <tromey@redhat.com>
3000 * gdb.python/py-prettyprint.py (exception_flag): New global.
3001 (NoStringContainerPrinter._iterator.next): Check it.
3002 * gdb.python/py-prettyprint.c (main): New variable nstype2.
3003 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
3005 2011-03-29 Tom Tromey <tromey@redhat.com>
3007 * gdb.cp/anon-struct.cc: New file.
3008 * gdb.cp/anon-struct.exp: New file.
3010 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3012 Test STT_GNU_IFUNC support.
3013 * gdb.base/gnu-ifunc-lib.c: New file.
3014 * gdb.base/gnu-ifunc.c: New file.
3015 * gdb.base/gnu-ifunc.exp: New file.
3017 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3019 Support a ring of related breakpoints.
3020 * gdb.base/watchpoint-delete.c: New file.
3021 * gdb.base/watchpoint-delete.exp: New file.
3023 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3025 * gdb.ada/arrayparam.exp (print first after function call): Use
3026 explicit package name. Add a comment
3027 (print lasta after function call): Rename ...
3028 (print last after function call): ... it and use explicit package
3030 (print length after function call): Use explicit package name.
3031 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
3032 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
3033 (multiple matches for symbol i): Rename ...
3034 (multiple matches for symbol integervar): ... it.
3035 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
3036 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
3038 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
3040 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
3041 environment variable to make grep output more predictable. Move
3042 all the environment setup into gdb_init so it's done once per test
3043 case rather than each time we start gdb.
3045 2011-03-24 Tom Tromey <tromey@redhat.com>
3047 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
3050 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
3052 * gdb.dwarf2/dw2-entry-value-main.c: New file.
3053 * gdb.dwarf2/dw2-entry-value.S: New file.
3054 * gdb.dwarf2/dw2-entry-value.exp: New file.
3056 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
3060 * gdb.python/py-function.exp: Add GdbError tests.
3062 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3064 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
3065 (reglocal_test_func, statlocal_test_func): New functions.
3066 (globals_test_func): Call new functions.
3067 * gdb.trace/unavailable.exp (gdb_collect_args_test)
3068 (gdb_collect_locals_test): New procedure.
3069 (gdb_trace_collection_test): Call new procedures.
3071 2011-03-18 Pedro Alves <pedro@codesourcery.com>
3073 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
3074 (test_register, test_register_unavailable): New procedures.
3075 (gdb_unavailable_registers_test): New procedure.
3076 (gdb_trace_collection_test): Call it.
3078 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
3082 * gdb.python/python.exp: Add gdb.write tests.
3084 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
3086 * gdb.python/Makefile.in: Add py-objfile.
3087 * gdb.python/py-objfile.exp: New file.
3088 * gdb.python/py-objfile.c: New file.
3089 * gdb.python/py-block.exp: Add is_valid tests.
3090 * gdb.python/py-inferior.exp: Ditto.
3091 * gdb.python/py-infthread.exp: Ditto.
3092 * gdb.python/py-symbol.exp: Ditto.
3093 * gdb.python/py-symtab.exp: Ditto.
3095 2011-03-16 Keith Seitz <keiths@redhat.com>
3098 * gdb.cp/cmpd-minsyms.exp: New test.
3099 * gdb.cp/cmpd-minsyms.cc: New file.
3102 * gdb.cp/ovsrch.exp: New test.
3103 * gdb.cp/ovsrch.h: New file.
3104 * gdb.cp/ovsrch1.cc: New file.
3105 * gdb.cp/ovsrch2.cc: New file.
3106 * gdb.cp/ovsrch3.cc: New file.
3107 * gdb.cp/ovsrch4.cc: New file.
3109 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3112 * gdb.base/Makefile.in: Adjust EXECUTABLES.
3113 * gdb.base/break-on-linker-gcd-function.exp: New test.
3114 * gdb.base/break-on-linker-gcd-function.cc: New file.
3116 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
3118 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
3120 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
3122 * lib/gdb.exp (gdb_unload): Add another termination case.
3124 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3126 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
3127 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
3128 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
3129 Provide a stub byte there.
3130 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
3132 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
3134 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
3136 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
3137 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
3138 "generic ABI, auto".
3139 (altivec_abi_tests): Accept vectors returned by reference.
3141 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
3143 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
3145 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
3147 * gdb.python/py-section-script.exp: Skip test if no Python support.
3149 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
3151 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
3153 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
3155 * gdb.python/py-parameter.exp: Update tests to the new Python
3156 parameter API. Add "no documentation" test. Add deprecated API
3157 backward compatibility test.
3159 2011-03-09 Tom Tromey <tromey@redhat.com>
3161 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
3162 gdb_continue_to_end.
3164 2011-03-09 Mark Kettenis <kettenis@gnu.org>
3166 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
3169 2011-03-09 Tom Tromey <tromey@redhat.com>
3171 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
3173 (gdb_continue_to_end): Add "allow_extra" parameter. Use
3175 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
3176 argument to gdb_continue_to_end.
3177 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
3178 argument to gdb_continue_to_end.
3179 * gdb.cp/annota3.exp: Fix regex.
3180 * gdb.cp/annota2.exp: Fix regex.
3181 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
3182 gdb_continue_to_end.
3183 * gdb.base/call-signal-resume.exp: Revert earlier patch.
3184 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
3185 gdb_continue_to_end.
3187 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3189 * gdb.server/ext-run.exp
3190 (load new file without any gdbserver inferior): New test.
3192 2011-03-07 Tom Tromey <tromey@redhat.com>
3194 * Makefile.in (TAGS): Rewrite.
3196 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3198 * gdb.trace/report.exp (12.1: trace report #1): New match for the
3199 initial commands echo. New match for `Found trace'. Anchor all the
3200 other matches. Anchor and match for `No trace frame found' the final
3203 2011-03-07 Tom Tromey <tromey@redhat.com>
3205 * Makefile.in (TAGS): New target.
3207 2011-03-07 Tom Tromey <tromey@redhat.com>
3209 * lib/opencl.exp (skip_opencl_tests): Update for exit message
3211 * lib/mi-support.exp (mi_gdb_test): Update for exit message
3213 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
3214 exit message change.
3215 (skip_altivec_tests): Update for exit message change.
3216 (skip_vsx_tests): Likewise.
3217 (gdb_continue_to_end): Likewise. Add 'command' argument.
3218 * lib/cell.exp (skip_cell_tests): Update for exit message change.
3219 * gdb.threads/tls.exp: Update for exit message change.
3220 * gdb.threads/thread-unwindonsignal.exp: Use
3221 gdb_continue_to_end.
3222 * gdb.threads/step.exp (step_it): Update for exit message change.
3223 (continue_all): Likewise.
3224 * gdb.threads/print-threads.exp (test_all_threads): Update for
3225 exit message change.
3226 * gdb.threads/interrupted-hand-call.exp: Use
3227 gdb_continue_to_end.
3228 * gdb.threads/execl.exp: Use gdb_continue_to_end.
3229 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
3230 gdb_continue_to_end.
3231 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
3232 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
3233 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
3234 * gdb.cp/method.exp: Update for exit message change.
3235 * gdb.cp/mb-templates.exp: Update for exit message change.
3236 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
3237 * gdb.cp/annota3.exp: Update for exit message change.
3238 * gdb.cp/annota2.exp: Update for exit message change.
3239 * gdb.cell/fork.exp: Use gdb_continue_to_end.
3240 * gdb.base/term.exp: Update for exit message change.
3241 * gdb.base/step-test.exp (test_i): Update for exit message change.
3242 * gdb.base/sigstep.exp (advance): Update for exit message change.
3243 (advancei): Likewise.
3244 * gdb.base/siginfo.exp: Update for exit message change.
3245 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
3246 * gdb.base/reread.exp: Use gdb_continue_to_end.
3247 * gdb.base/langs.exp: Use gdb_continue_to_end.
3248 * gdb.base/interrupt.exp: Update for exit message change.
3249 * gdb.base/gdb1555.exp: Update for exit message change.
3250 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
3251 * gdb.base/ending-run.exp: Update for exit message change.
3252 * gdb.base/chng-syms.exp: Update for exit message change.
3253 * gdb.base/checkpoint.exp: Update for exit message change.
3254 * gdb.base/catch-syscall.exp (check_for_program_end): Use
3255 gdb_continue_to_end.
3256 (test_catch_syscall_with_wrong_args): Likewise.
3257 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
3258 * gdb.base/break-interp.exp (test_ld): Update for exit message
3260 * gdb.base/bang.exp: Update for exit message change.
3261 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
3262 (do_call_attach_tests): Likewise.
3263 * gdb.base/a2-run.exp: Update for exit message change.
3264 * gdb.arch/ppc-dfp.exp: Update for exit message change.
3265 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
3266 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
3268 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3270 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
3272 2011-03-03 Tom Tromey <tromey@redhat.com>
3274 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
3275 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
3276 * gdb.hp/gdb.aCC/configure.ac: Remove.
3277 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
3278 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
3279 * gdb.hp/gdb.base-hp/configure.ac: Remove.
3280 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
3281 * gdb.hp/gdb.compat/configure (Makefile): Remove.
3282 * gdb.hp/gdb.compat/configure.ac: Remove.
3283 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
3284 * gdb.hp/gdb.defects/configure (Makefile): Remove.
3285 * gdb.hp/gdb.defects/configure.ac: Remove.
3286 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
3287 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
3288 * gdb.hp/gdb.objdbg/configure.ac: Remove.
3289 * gdb.hp/configure.ac: Remove.
3290 * gdb.hp/configure: Remove.
3291 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
3293 (Makefile): Remove rule.
3294 * gdb.cell/configure.ac: Remove.
3295 * gdb.cell/configure: Remove.
3296 * gdb.stabs/Makefile.in (Makefile): Remove.
3297 (distclean): Don't remove config.status or config.log.
3298 * gdb.stabs/configure (Makefile): Remove.
3299 * gdb.stabs/configure.ac: Remove.
3300 * configure: Rebuild.
3301 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
3302 Remove stabs- and cell-specific logic. Test for existence of
3303 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
3304 subdirectories, gdb.cell, and and gdb.stabs.
3305 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
3307 2011-03-03 Joel Brobecker <brobecker@adacore.com>
3309 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
3312 2011-03-02 Joel Brobecker <brobecker@adacore.com>
3314 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
3315 gdb_test when running a test where we expected no output back.
3317 2011-02-28 Michael Snyder <msnyder@vmware.com>
3319 * gdb.cp/overload.cc: Change initializer value to integer.
3321 2011-02-27 Michael Snyder <msnyder@vmware.com>
3323 * gdb.multi/base.exp: Add test for remove-inferiors.
3325 2011-02-26 Joel Brobecker <brobecker@adacore.com>
3327 * gdb.python/py-frame.exp: Simplify the initialization phase
3328 using prepare_for_testing.
3330 2011-02-25 Michael Snyder <msnyder@vmware.com>
3332 * gdb.multi/base.exp: Add tests for info inferiors with args.
3334 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
3336 * gdb.dwarf2/dw2-ranges.S: Rename to ...
3337 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
3338 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
3339 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
3340 asmfile3. Comment the STABS (#3) file compilation. Compile
3341 everything through assembler. Provide KFAIL for symtab/12497.
3342 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
3343 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
3344 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
3345 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
3347 2011-02-24 Michael Snyder <msnyder@vmware.com>
3349 * gdb.base/break.exp: Add tests for delete breakpoints using
3350 convenience variables and value history references.
3352 2011-02-24 Michael Snyder <msnyder@vmware.com>
3354 * gdb.base/break.exp: Remove debugging 'printf' accidentally
3355 left behind in previous check-in.
3357 2011-02-23 Michael Snyder <msnyder@vmware.com>
3359 * gdb.base/break.exp: Add tests for "info break" with arguments.
3360 * gdb.trace/infotrace.exp: Update patterns for error and help.
3361 * gdb.base/completion.exp: Update pattern.
3362 * gdb.base/ena-dis-br.exp: Update pattern.
3363 * gdb.base/help.exp: Update patterns.
3365 2011-02-23 Michael Snyder <msnyder@vmware.com>
3367 * gdb.base/memattr.exp: New test.
3368 * gdb.base/memattr.c: Test load for memattr.exp.
3370 2011-02-22 Doug Evans <dje@google.com>
3372 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
3374 2011-02-22 Michael Snyder <msnyder@vmware.com>
3376 * Makefile.in: Make more clean.
3377 * gdb.ada/Makefile.in: Ditto.
3378 * gdb.arch/Makefile.in: Ditto.
3379 * gdb.asm/Makefile.in: Ditto.
3380 * gdb.base/Makefile.in: Ditto.
3381 * gdb.cp/Makefile.in: Ditto.
3382 * gdb.dwarf2/Makefile.in: Ditto.
3383 * gdb.java/Makefile.in: Ditto.
3384 * gdb.mi/Makefile.in: Ditto.
3385 * gdb.modula2/Makefile.in: Ditto.
3386 * gdb.python/Makefile.in: Ditto.
3387 * gdb.server/Makefile.in: Ditto.
3388 * gdb.stabs/Makefile.in: Ditto.
3389 * gdb.threads/Makefile.in: Ditto.
3390 * gdb.trace/Makefile.in: Ditto.
3392 2011-02-22 Michael Snyder <msnyder@vmware.com>
3394 * gdb.threads/thread-find.exp: Add tests for bad input to
3397 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3399 * gdb.python/py-breakpoint.exp: Fix the expected output of
3400 one of the "maint info breakpoints" tests to accept the output
3401 generated on platforms that do not have hardware watchpoints.
3403 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3405 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
3406 clean_restart. Be a little stricter in the expected output
3407 for one of the tests. Fix a typo in one of the comments.
3409 2011-02-22 Joel Brobecker <brobecker@adacore.com>
3411 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
3412 Delete variable binfile, no longer use. Add or modify test
3413 comments to make them unique.
3415 2011-02-21 Michael Snyder <msnyder@vmware.com>
3417 * Makefile.in: Update for make clean.
3418 * gdb.ada/Makefile.in: Ditto.
3419 * gdb.arch/Makefile.in: Ditto.
3420 * gdb.asm/Makefile.in: Ditto.
3421 * gdb.base/Makefile.in: Ditto.
3422 * gdb.cp/Makefile.in: Ditto.
3423 * gdb.dwarf2/Makefile.in: Ditto.
3424 * gdb.java/Makefile.in: Ditto.
3425 * gdb.mi/Makefile.in: Ditto.
3426 * gdb.modula2/Makefile.in: Ditto.
3427 * gdb.python/Makefile.in: Ditto.
3428 * gdb.server/Makefile.in: Ditto.
3429 * gdb.stabs/Makefile.in: Ditto.
3430 * gdb.threads/Makefile.in: Ditto.
3431 * gdb.trace/Makefile.in: Ditto.
3433 2011-02-21 Michael Snyder <msnyder@vmware.com>
3435 * gdb.threads/thread-find.exp: Update patterns for changes in
3436 output of "info threads" command.
3438 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
3439 Ulrich Weigand <uweigand@de.ibm.com>
3441 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
3442 (skip_hw_watchpoint_tests): Likewise.
3443 (skip_hw_watchpoint_multi_tests): Likewise.
3445 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
3447 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
3448 (skip_hw_watchpoint_tests): Likewise.
3449 (skip_hw_watchpoint_multi_tests): Likewise.
3450 (skip_hw_watchpoint_access_tests): Likewise.
3452 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
3453 * gdb.base/pr11022.exp: Likewise.
3454 * gdb.base/watch-read.exp: Likewise.
3455 * gdb.base/watch_thread_num.exp: Likewise.
3456 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
3457 * gdb.base/watchpoint-hw.exp: Likewise.
3458 * gdb.base/watchpoint.exp: Likewise.
3459 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
3460 * gdb.threads/watchthreads-reorder.exp: Likewise.
3461 * gdb.threads/watchthreads.exp: Likewise.
3462 * gdb.threads/watchthreads2.exp: Likewise.
3464 2011-02-21 Joel Brobecker <brobecker@adacore.com>
3466 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
3467 the debugger is unable to find the array bounds.
3469 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3471 * gdb.cp/typedef-operator.exp: New file.
3472 * gdb.cp/typedef-operator.cc: New file.
3474 2011-02-17 Michael Snyder <msnyder@vmware.com>
3476 * gdb.threads/thread-find.exp: Fix regular expressions.
3478 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3480 * gdb.ada/packed_array: Expand testcase to test printing of
3481 unconstrained packed array.
3483 2011-02-17 Joel Brobecker <brobecker@adacore.com>
3485 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
3487 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3489 * gdb.trace/collection.c (globalarr3): New global.
3490 (main): Initialize it before collecting, and and clear it
3492 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3493 collecting with '{type} addr', where the addr expression is not an
3496 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
3498 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
3499 a bool variable. Expect correct OpenCL names for vector types. Use the
3500 uc3 variable name instead of referring to the uchar3 built-in type.
3501 Escape the asterisk at the half pointer test.
3503 2011-02-16 Pedro Alves <pedro@codesourcery.com>
3505 * gdb.trace/collection.c (globalarr2): New global.
3506 (main): Initialize it before collecting, and and clear it
3508 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
3509 collecting overlapping memory ranges.
3511 2011-02-15 Michael Snyder <msnyder@vmware.com>
3513 * gdb.base/default.exp: Add tests for thread commands.
3514 * gdb.base/help.exp: Add tests for thread commands.
3515 * gdb.threads/thread-find.exp: New test for thread find command.
3517 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
3519 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
3521 2011-02-15 Yao Qi <yao@codesourcery.com>
3524 * gdb.arch/arm-disp-step.S : New test for str instruction.
3525 * gdb.arch/arm-disp-step.exp : Likewise.
3527 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
3529 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
3530 "vector_register2_vr" test strings. Test the extended floating
3531 point registers (F32~F63).
3532 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
3533 IBM XL C compiler. Make the test program use a register provided
3534 by the compiler for the lxvd2x instruction.
3536 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3538 * gdb.trace/unavailable.cc (class Base, class Middle, class
3539 Derived): New types.
3540 (derived_unavail, derived_partial, derived_whole): New globals.
3541 (virtual_partial): New global.
3542 (virtualp): Point at virtual_partial.
3543 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
3544 related to unavailable vptr.
3546 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3548 * gdb.trace/unavailable.cc (a, b, c): New globals.
3549 (main): Set and clear them.
3550 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
3551 `a' and `c', and check that `b' isn't collected, although `a' and
3554 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3556 * gdb.trace/unavailable.cc (struct Virtual): New.
3557 (virtualp): New global pointer.
3558 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
3559 printing a pointer to an object whose type has a vtable, with
3562 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3564 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
3565 value repeat handles unavailableness.
3567 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3569 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
3570 tests for building arrays from unavailable values, subscripting
3571 non-memory rvalue unvailable arrays, and accessing fields or
3572 baseclasses of non-lazy unavailable values,
3573 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
3575 (g_smallstruct, g_smallstruct_b): New globals.
3577 2011-02-14 Pedro Alves <pedro@codesourcery.com>
3579 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
3581 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3583 Fix const/volatile qualifiers of C++ types, PR c++/12328.
3584 * gdb.cp/overload-const.exp: New file.
3585 * gdb.cp/overload-const.cc: New file.
3587 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3589 * gdb.opencl/callfuncs.cl: New file.
3590 * gdb.opencl/callfuncs.exp: New test.
3591 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
3593 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
3595 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
3596 when computing result.
3597 * gdb.arch/altivec-abi.exp: Update expected results.
3599 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
3601 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
3602 * gdb.base/jit.exp: Likewise.
3603 * gdb.base/pie-execl.exp: Likewise.
3604 * gdb.base/solib-nodir.exp: Likewise.
3605 * gdb.base/solib-overlap.exp: Likewise.
3607 2011-02-07 Pedro Alves <pedro@codesourcery.com>
3609 * gdb.trace/collection.c (global_pieces): New.
3610 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
3612 (gdb_trace_collection_test): Call it.
3614 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
3616 * gdb.python/py-evthreads.c: New file.
3617 * gdb.python/py-evthreads.exp: New file.
3618 * gdb.python/py-events.py: New file.
3619 * gdb.python/py-events.exp: New file.
3620 * gdb.python/py-events.c: New file.
3622 2011-02-04 David Daney <ddaney@caviumnetworks.com>
3624 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
3626 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
3628 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
3629 gdb.base/disasm-end-cu.exp: New test for disassembling over the
3630 boundary between two compilation units.
3632 2011-02-02 Pedro Alves <pedro@codesourcery.com>
3634 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
3635 (Virtual): New structs.
3636 (virtual_o, virtual_middle_b): New globals.
3637 * gdb.cp/virtbase.exp: New tests.
3639 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3641 * gdb.base/jit.exp: New file.
3642 * gdb.base/jit-main.c: New file.
3643 * gdb.base/jit-solib.c: New file.
3645 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
3647 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
3648 proceed to initial kernel entry point.
3649 * gdb.opencl/datatypes.exp: Likewise.
3650 * gdb.opencl/operators.exp: Likewise.
3651 * gdb.opencl/vec_comps.exp: Likewise.
3653 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
3655 * gdb.cp/nsnested.cc: New.
3656 * gdb.cp/nsnested.exp: New.
3657 * gdb.cp/nsnoimports.exp: New.
3658 * gdb.cp/nsnoimports.cc: New.
3660 2011-01-31 Joel Brobecker <brobecker@adacore.com>
3662 * gdb.base/interact.exp: Add extra tests that verify that
3663 the value of the interactive-mode setting does not change
3664 after the script is sourced.
3666 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
3668 * gdb.cp/noparam.exp: New file.
3669 * gdb.cp/noparam.cc: New file.
3671 2011-01-28 Pedro Alves <pedro@codesourcery.com>
3673 * gdb.trace/tfile.exp: Test that with no traceframe selected,
3674 there's no stack or registers.
3676 2011-01-26 Tom Tromey <tromey@redhat.com>
3678 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
3679 space before string output. Add test for "set print pretty off"
3682 2011-01-25 Pedro Alves <pedro@codesourcery.com>
3684 * gdb.base/frame-args.exp: Adjust.
3685 * gdb.dwarf2/dw2-noloc.exp: Adjust.
3686 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
3687 * gdb.dwarf2/pieces.exp: Adjust.
3688 * gdb.opt/clobbered-registers-O2.exp: Adjust.
3689 * gdb.opt/inline-locals.exp: Adjust.
3690 * gdb.threads/fork-child-threads.exp: Adjust.
3692 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
3694 * gdb.opencl/convs_casts.cl: Move program scope variables into the
3695 OpenCL kernel function. Add a comment as marker. Add address space
3696 qualifiers for the remaining program scope variables.
3697 * gdb.opencl/datatypes.cl: Likewise.
3698 * gdb.opencl/operators.cl: Likewise.
3699 * gdb.opencl/vec_comps.cl: Likewise.
3700 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
3701 Add breakpoint at the marker comment.
3702 * gdb.opencl/datatypes.exp: Likewise.
3703 * gdb.opencl/operators.exp: Likewise.
3704 * gdb.opencl/vec_comps.exp: Likewise.
3706 2011-01-24 Pedro Alves <pedro@codesourcery.com>
3708 * gdb.base/printcmds.c (some_struct): New struct and instance.
3709 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
3711 <global scope>: Call it.
3713 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
3715 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
3716 argument to the gdb_compile_opencl_hostapp call.
3718 2011-01-19 Yao Qi <yao@codesourcery.com>
3720 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
3723 2011-01-19 Yao Qi <yao@codesourcery.com>
3725 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
3728 * gdb.xml/tdesc-regs.exp: Likewise.
3729 * gdb.python/py-section-script.exp: Replace ARM target triplet
3730 with canonical form.
3731 Match arm*-*-symbianelf*.
3732 * gdb.base/dup-sect.exp: Likewise.
3733 * lib/dwarf.exp: New.
3734 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
3736 * gdb.dwarf2/dup-psym.exp: Likewise.
3737 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
3738 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
3739 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
3740 * gdb.dwarf2/dw2-basic.exp: Likewise.
3741 * gdb.dwarf2/dw2-compressed.exp: Likewise.
3742 * gdb.dwarf2/dw2-const.exp: Likewise.
3743 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
3744 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
3745 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
3746 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
3747 * gdb.dwarf2/dw2-filename.exp: Likewise.
3748 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
3749 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
3750 * gdb.dwarf2/dw2-intercu.exp: Likewise.
3751 * gdb.dwarf2/dw2-intermix.exp: Likewise.
3752 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
3753 * gdb.dwarf2/dw2-noloc.exp: Likewise.
3754 * gdb.dwarf2/dw2-op-call.exp: Likewise.
3755 * gdb.dwarf2/dw2-producer.exp: Likewise.
3756 * gdb.dwarf2/dw2-ranges.exp: Likewise.
3757 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
3758 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
3759 * gdb.dwarf2/dw2-strp.exp: Likewise.
3760 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
3761 * gdb.dwarf2/implptr.exp: Likewise.
3762 * gdb.dwarf2/mac-fileno.exp: Likewise.
3763 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
3764 * gdb.dwarf2/pieces.exp: Likewise.
3765 * gdb.dwarf2/pr11465.exp: Likewise.
3766 * gdb.dwarf2/valop.exp: Likewise.
3767 * gdb.dwarf2/watch-notconst.exp: Likewise.
3768 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
3770 2011-01-19 Tom Tromey <tromey@redhat.com>
3772 * gdb.python/py-infthread.exp: Add thread tests.
3774 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3776 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
3778 2011-01-14 Joel Brobecker <brobecker@adacore.com>
3780 * gdb.ada/widewide: New testcase.
3782 2011-01-13 Joel Brobecker <brobecker@adacore.com>
3784 * gdb.base/interact.exp: New testcase.
3786 2011-01-12 Tom Tromey <tromey@redhat.com>
3788 * gdb.mi/gdb2549.exp: Update for error message changes.
3789 * gdb.mi/mi-cli.exp: Likewise.
3790 * gdb.mi/mi-disassemble.exp: Likewise.
3791 * gdb.mi/mi-pthreads.exp: Likewise.
3792 * gdb.mi/mi-regs.exp: Likewise.
3793 * gdb.mi/mi-stack.exp: Likewise.
3794 * gdb.mi/mi-var-block.exp: Likewise.
3795 * gdb.mi/mi-var-cmd.exp: Likewise.
3796 * gdb.mi/mi2-cli.exp: Likewise.
3797 * gdb.mi/mi2-disassemble.exp: Likewise.
3798 * gdb.mi/mi2-pthreads.exp: Likewise.
3799 * gdb.mi/mi2-regs.exp: Likewise.
3800 * gdb.mi/mi2-stack.exp: Likewise.
3801 * gdb.mi/mi2-var-block.exp: Likewise.
3802 * gdb.mi/mi2-var-cmd.exp: Likewise.
3804 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
3805 Jan Kratochvil <jan.kratochvil@redhat.com>
3807 PR fortran/11104 and DWARF unbound arrays detection.
3808 * gdb.fortran/multi-dim.exp: New file.
3809 * gdb.fortran/multi-dim.f90: New file.
3811 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
3813 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
3814 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
3815 add new tests for opcode dumping.
3817 2011-01-11 Tom Tromey <tromey@redhat.com>
3819 * gdb.python/py-infthread.exp: Load gdb-python.exp.
3821 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
3823 Convert hardware watchpoints to use breakpoint_ops.
3824 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
3825 type is not supported.
3826 * gdb.base/foll-fork.exp: Likewise.
3827 * gdb.base/foll-vfork.exp: Likewise.
3829 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
3831 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
3832 Use load_lib gdb-python.exp.
3833 * gdb.python/python.exp: Ditto.
3834 * gdb.python/py-function.exp: Ditto.
3836 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
3838 * gdb.threads/tls.exp ("info address me"): Fix expected output.
3840 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3842 * configure: Regenerate.
3844 2011-01-06 Tom Tromey <tromey@redhat.com>
3846 * gdb.python/py-frame.exp: Test gdb.newest_frame.
3848 2011-01-06 Joel Brobecker <brobecker@adacore.com>
3850 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
3851 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
3852 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
3853 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
3854 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
3855 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
3856 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
3857 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
3858 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
3859 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
3860 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
3861 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
3862 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
3863 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
3864 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
3865 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
3866 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
3867 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
3868 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
3869 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
3870 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
3871 gdb.ada/uninitialized_vars.exp,
3872 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
3873 Simplify by using clean_restart.
3875 2011-01-06 Joel Brobecker <brobecker@adacore.com>
3877 Add marker to be used as anchor for inserting breakpoints.
3878 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
3879 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
3882 Remove uses of gdb_start_cmd.
3883 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
3884 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
3886 Do not run testcase if testing with GDBserver.
3887 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
3888 if testing with GDBserver.
3890 2011-01-06 Joel Brobecker <brobecker@adacore.com>
3892 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
3893 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
3896 2011-01-05 Joel Brobecker <brobecker@adacore.com>
3898 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
3899 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
3900 testsuite/gdb.fortran/complex.f,
3901 testsuite/gdb.fortran/derived-type.f90,
3902 testsuite/gdb.fortran/library-module-lib.f90,
3903 testsuite/gdb.fortran/library-module-main.f90,
3904 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
3905 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
3906 Copyright year update.
3908 2011-01-05 Joel Brobecker <brobecker@adacore.com>
3910 * gdb.base/langs1.f: Add copyright header.
3912 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3914 * gdb.base/morestack.exp: New file.
3915 * gdb.base/morestack.c: New file.
3917 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3919 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
3921 2010-12-29 Joel Brobecker <brobecker@adacore.com>
3923 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
3924 * gdb.ada/arrayptr.exp: Add test printing that new variable.
3926 2010-12-29 Joel Brobecker <brobecker@adacore.com>
3928 * gdb.ada/lang_switch.exp: Correct expected parameter value.
3930 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
3932 * gdb.threads/tls.exp: Fix typo.
3934 * gdb.threads/thread-specific.exp (get_thread_list): Update.
3935 * gdb.threads/execl.exp: Update.
3937 2010-12-23 Yao Qi <yao@codesourcery.com>
3939 * gdb.arch/arm-disp-step.exp: New.
3940 * gdb.arch/arm-disp-step.S: New.
3942 2010-12-21 Tom Tromey <tromey@redhat.com>
3944 * gdb.threads/execl.exp: Update.
3945 * gdb.threads/linux-dp.exp: Update.
3946 * gdb.threads/manythreads.exp: Update.
3947 * gdb.threads/tls.exp: Update.
3949 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3951 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
3952 (NextOverThrowDerivates) <resumebpt>: New.
3953 (resumebpt_test): New.
3954 (main): Call resumebpt_test.
3955 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
3957 2010-12-12 Stan Shebs <stan@codesourcery.com>
3959 * gdb.trace/tsv.exp: Test print command on trace state variables.
3961 2010-12-09 Tom Tromey <tromey@redhat.com>
3963 * gdb.base/interp.exp: Add regression test.
3965 2010-12-09 Tom Tromey <tromey@redhat.com>
3967 * gdb.java/jnpe.java: New file.
3968 * gdb.java/jnpe.exp: New file.
3969 * gdb.cp/nextoverthrow.exp: New file.
3970 * gdb.cp/nextoverthrow.cc: New file.
3972 2010-12-07 Doug Evans <dje@google.com>
3974 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
3976 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
3978 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
3980 2010-11-29 Michael Snyder <msnyder@vmware.com>
3982 * gdb.base/callfuncs.exp: Test for skip_float_tests.
3983 * gdb.base/call-sc.exp: Ditto.
3984 * gdb.base/finish.exp: Ditto.
3985 * gdb.base/return.exp: Ditto.
3986 * gdb.base/return2.exp: Ditto.
3988 2010-11-30 Doug Evans <dje@google.com>
3990 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
3991 (gdb_expect_list): Fix spelling errors in comments.
3992 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
3993 send_gdb/gdb_expect_list where applicable.
3994 * gdb.base/call-ar-st.exp: Ditto.
3995 * gdb.base/funcargs.exp: Ditto.
3996 * gdb.base/gcore.exp: Ditto.
3997 * gdb.base/page.exp: Ditto.
3998 * gdb.base/sigaltstack.exp: Ditto.
3999 * gdb.base/siginfo.exp: Ditto.
4000 * gdb.base/sigstep.exp: Ditto.
4001 * gdb.base/trace-commands.exp: Ditto.
4003 2010-11-29 Doug Evans <dje@google.com>
4005 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
4006 printer-name;subprinter-name.
4008 2010-11-29 Tom Tromey <tromey@redhat.com>
4010 * gdb.dwarf2/implptr.exp: New file.
4011 * gdb.dwarf2/implptr.c: New file.
4012 * gdb.dwarf2/implptr.S: New file.
4014 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
4018 * gdb.python/py-breakpoint.exp: Test the delete method.
4020 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
4022 Fix step_resume_breakpoint unsaved during an infcall.
4023 * gdb.base/step-resume-infcall.exp: New file.
4024 * gdb.base/step-resume-infcall.c: New file.
4026 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4028 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
4030 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
4032 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
4033 on ppc64's symbols; "finish" and "return" commands must accept to
4034 show the caller line again as well as the line after.
4035 * gdb.asm/powerpc64.inc: New file.
4037 2010-11-23 Doug Evans <dje@google.com>
4039 * lib/gdb.exp (gdb_test_sequence): New function.
4040 (gdb_expect_list): Add verbose -log call for each pattern.
4041 * gdb.base/signals.exp (test_handle_all_print): Call it.
4042 Reduce timeout increment from 6 minutes to 1 minute.
4043 * gdb.server/ext-run.exp: Call it.
4045 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
4049 * gdb.python/python.exp: Check that selected_thread raises an
4050 error when no inferior is loaded.
4052 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4054 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
4055 * gdb.dwarf2/dw2-stack-boundary.S: New file.
4057 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4059 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
4060 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
4062 2010-11-18 Doug Evans <dje@google.com>
4064 * gdb.server/ext-run.exp: Fix intermittent failures.
4066 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4068 * gdb.stabs/gdb11479.exp: Use runto_main.
4070 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4072 * gdb.base/break-entry.exp: Skip if using a stub.
4074 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
4076 * gdb.python/py-inferior.exp: Pack values in target endianness.
4078 2010-11-12 Tom Tromey <tromey@redhat.com>
4080 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
4081 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
4083 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
4085 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
4087 (test_subscript_regression): Update exception type.
4089 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
4091 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
4094 2010-11-09 Pedro Alves <pedro@codesourcery.com>
4096 * gdb.base/watchpoint.exp: Test "watch -location" with an
4097 innacessible location.
4099 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
4100 Luis Machado <luisgpm@br.ibm.com>
4102 * gdb.base/maint.exp: Expect "." prefix.
4103 * gdb.base/nodebug.exp: Expect "." Likewise.
4104 * gdb.base/sepsymtab.exp: Expect "." Likewise.
4105 * gdb.base/watchpoint-cond-gone.exp: Likewise.
4106 * gdb.base/watchpoint.exp: Expect a software watch to be created for
4107 POWER server processors.
4109 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
4110 Luis Machado <luisgpm@br.ibm.com>
4112 * gdb.base/break-entry.exp: convert entry point for
4113 ppc64 and expect leading `.' on ppc64's symbols
4115 2010-11-05 Doug Evans <dje@google.com>
4117 * gdb.base/help.exp: Update expected output.
4118 * gdb.python/py-param.exp: Delete, contents moved to ...
4119 * gdb.python/py-parameter.exp: ... here. New file.
4120 Add test for gdb.parameter ("directories").
4122 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
4124 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
4125 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
4126 * configure: Regenerate.
4127 * gdb.opencl/Makefile.in: New File.
4128 * gdb.opencl/datatypes.exp: Likewise.
4129 * gdb.opencl/datatypes.cl: Likewise.
4130 * gdb.opencl/operators.exp: Likewise.
4131 * gdb.opencl/operators.cl: Likewise.
4132 * gdb.opencl/vec_comps.exp: Likewise.
4133 * gdb.opencl/vec_comps.cl: Likewise.
4134 * gdb.opencl/convs_casts.exp: Likewise.
4135 * gdb.opencl/convs_casts.cl: Likewise.
4136 * lib/opencl.exp: Likewise.
4137 * lib/opencl_hostapp.c: Likewise.
4138 * lib/opencl_kernel.cl: Likewise.
4139 * lib/cl_util.c: Likewise.
4140 * lib/cl_util.c: Likewise.
4141 * gdb.base/default.exp (set language): Add "opencl" to the list of
4144 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
4146 * gdb.cp/overload.exp: Added test for inheritance overload.
4147 * gdb.cp/overload.cc: Ditto.
4148 * gdb.cp/oranking.exp: Removed releveant kfails.
4150 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4151 Joel Brobecker <brobecker@adacore.com>
4153 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
4154 check test_compiler_info.
4156 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4158 * gdb.base/gnu_vector.exp: Adjust expect messages.
4160 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4162 * gdb.base/gnu_vector.exp: Add unary operator tests.
4164 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
4166 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
4168 2010-11-02 Doug Evans <dje@google.com>
4170 * gdb.python/py-pp-maint.c: New file.
4171 * gdb.python/py-pp-maint.exp: New file.
4172 * gdb.python/py-pp-maint.py: New file.
4174 2010-11-02 Tom Tromey <tromey@redhat.com>
4176 * gdb.base/default.exp: Remove "scheme" from language list.
4178 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4181 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4182 * gdb.threads/sigstep-threads.exp: New file.
4183 * gdb.threads/sigstep-threads.c: New file.
4185 2010-10-20 Michael Snyder <msnyder@vmware.com>
4187 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
4189 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4191 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
4192 Skip test completely if gdb,no_hardware_watchpoints.
4194 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
4196 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
4197 strict, but do not check for any particular function name within libc.
4199 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4201 * gdb.cp/smartp.exp: New test.
4202 * gdb.cp/smartp.cc : New test.
4204 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
4206 * gdb.cp/converts.exp: Test pointer to bool conversion.
4207 Test pointer to long conversion.
4208 * gdb.cp/oranking.exp: Removed relevant kfail.
4210 2010-10-18 Tom Tromey <tromey@redhat.com>
4212 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
4213 argument to lazy_string.
4214 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
4215 (pp_ls.to_string): Use it.
4216 * gdb.python/py-prettyprint.c (main): Move declarations to top.
4217 Add "estring2" local.
4219 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4221 Fix s390x compatibility.
4222 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
4223 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
4225 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4227 * gdb.threads/sigstep-threads.exp: New file.
4228 * gdb.threads/sigstep-threads.c: New file.
4230 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4232 * gdb.base/pie-execl.exp: New file.
4233 * gdb.base/pie-execl.c: New file.
4235 2010-10-13 Doug Evans <dje@google.com>
4236 Jan Kratochvil <jan.kratochvil@redhat.com>
4239 * gdb.cp/ptype-cv-cp.cc: New file.
4240 * gdb.cp/ptype-cv-cp.exp: New file.
4242 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
4244 * gdb.cp/converts.cc: New test program.
4245 * gdb.cp/converts.exp: New test.
4246 * gdb.cp/overload.exp: Added test for void* vs int*.
4247 * gdb.cp/overload.exp: Ditto.
4248 * gdb.cp/oranking.exp: Removed related kfail.
4250 2010-10-13 Doug Evans <dje@google.com>
4252 * lib/gdb-python.exp (gdb_check_python_config): New function.
4253 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
4254 * gdb.python/lib-types.cc: New file.
4255 * gdb.python/lib-types.exp: New file.
4257 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4259 * gdb.python/py-error.exp: New file.
4260 * gdb.python/py-error.py: New file.
4262 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4264 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
4267 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4269 * gdb.base/break-interp.exp: Use ldlags for linking flags.
4270 * gdb.base/prelink.exp: Likewise.
4271 * gdb.base/solib-nodir.exp: Likewise.
4272 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
4273 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
4274 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
4276 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
4278 * break-interp.exp (test_ld): Use two separate gdb_expect statements
4279 for the "info files" test to avoid timeouts on slow machines.
4281 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4283 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
4284 (main): Make openlib dummy call.
4286 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4288 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
4289 * break-interp.exp (reach): Move the core body ...
4290 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
4291 (test_ld): Provide always real argument, even to the linker. Replace
4292 dl_main by _dl_debug_state.
4294 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4296 Fix results of prelinked PIEs on ppc*.
4297 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
4298 Accept also DISPLACEMENT "PRESENT".
4299 (main): Replace "ZERO" displacements by "PRESENT".
4301 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
4303 * gdb.cp/oranking.exp: New test.
4304 * gdb.cp/oranking.cc: New test program.
4306 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
4308 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
4309 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
4311 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4313 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
4314 lush, lynx) New constant.
4315 * gdb.base/constvars.exp: Test const array types.
4316 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
4318 2010-10-06 Doug Evans <dje@google.com>
4320 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
4321 of syscall staging area.
4323 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
4325 * gdb.base/gnu_vector.c: Add variable c4.
4326 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
4327 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
4329 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
4331 * gdb.arch/altivec-abi.exp: Fix a typo.
4333 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
4335 * lib/mi-support.exp (thread_selected_re): Correct pattern used
4336 to match a thread ID.
4338 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4340 Fix s390x testcase compatibility.
4341 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
4343 2010-10-01 Doug Evans <dje@google.com>
4345 * lib/gdb-python.exp: New file.
4346 * gdb.python/py-block.exp: Use it.
4347 * gdb.python/py-breakpoint.exp: Ditto.
4348 * gdb.python/py-frame.exp: Ditto.
4349 * gdb.python/py-inferior.exp: Ditto.
4350 * gdb.python/py-param.exp: Ditto.
4351 * gdb.python/py-prettyprint.exp: Ditto.
4352 * gdb.python/py-shared.exp: Ditto.
4353 * gdb.python/py-symbol.exp: Ditto.
4354 * gdb.python/py-symtab.exp: Ditto.
4355 * gdb.python/py-type.exp: Ditto.
4356 * gdb.python/py-value.exp: Ditto.
4357 * gdb.python/python.exp: Ditto.
4359 2010-09-30 Tom Tromey <tromey@redhat.com>
4361 * gdb.base/anon.exp: New file.
4362 * gdb.base/anon.c: New file.
4364 2010-09-30 Tom Tromey <tromey@redhat.com>
4366 * gdb.base/completion.exp: Test completion through anonymous
4368 * gdb.base/break1.c (struct some_struct): Add anonymous union.
4370 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4372 Fix printing parameters of inlined functions.
4373 * gdb.dwarf2/dw2-inline-param.exp: New file.
4374 * gdb.dwarf2/dw2-inline-param-main.c: New file.
4375 * gdb.dwarf2/dw2-inline-param.S: New file.
4377 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4380 * gdb.base/corefile.exp (quit with a process, no question: load core)
4381 (quit with a core file): New tests.
4383 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4385 Fix GDB crash on inferior calls with self-referencing classes.
4386 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
4387 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
4388 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
4390 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4392 Fix lost siginfo_t for inferior calls.
4393 * gdb.base/siginfo-infcall.exp: New file.
4394 * gdb.base/siginfo-infcall.c: New file.
4396 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4398 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
4400 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4402 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
4404 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
4406 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4408 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
4409 type of our const type.
4411 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
4413 * gdb.cp/pr12028.cc: New.
4414 * gdb.cp/pr12028.exp: New.
4416 2010-09-22 Joel Brobecker <brobecker@adacore.com>
4418 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
4420 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
4421 Jan Kratochvil <jan.kratochvil@redhat.com>
4424 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
4425 * gdb.mi/dw2-ref-missing-frame-main.c New File.
4426 * gdb.mi/dw2-ref-missing-frame.S New File.
4427 * gdb.mi/dw2-ref-missing-frame.exp New File.
4429 2010-09-14 Tom Tromey <tromey@redhat.com>
4432 * gdb.threads/tls.exp: Remove kfail. Update expected output.
4434 2010-09-14 Tom Tromey <tromey@redhat.com>
4437 * gdb.threads/tls.exp: Use C++.
4438 (check_thread_local): Use K::another_thread_local.
4439 * gdb.threads/tls.c (class K): New.
4440 (another_thread_local): Now a member of K.
4441 (spin): Update. No longer K&R C.
4443 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
4445 * gdb.cp/koenig.cc: created class for testing member lookup.
4446 * gdb.cp/koenig.exp: Added test for member lookup.
4448 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4450 Fix false FAILs on sourcetree topdir directory containing "kill".
4451 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
4452 source line matching regexp.
4454 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4456 * gdb.python/python.exp (set height 0, collect help from uiout)
4457 (verify help to uiout): New tests.
4459 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4461 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
4462 is_lp64_target to check 64bit target.
4464 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
4466 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
4467 (test_ld) <powerpc64-*>: New.
4469 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4471 * gdb.cp/templates.exp (test_template_args): Allow "struct".
4473 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
4475 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
4476 (FunctionArg::method): New function.
4477 (empty, arg): New variables.
4478 (main): Call arg.method.
4479 * gdb.cp/templates.exp (test_template_args): New function.
4480 (do_tests): Call it.
4482 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4484 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
4485 of "next" to proceed over pthread_exit call.
4487 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
4489 * gdb.base/maint.exp: Avoid wildcards against potentially very long
4490 "maint print statistics" output to prevent expect timeouts.
4492 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
4494 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
4495 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4496 (test_float_rejected): ... here.
4497 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
4498 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4499 (test_float_rejected): ... here.
4500 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
4501 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4502 (test_float_rejected): ... here.
4503 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
4504 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
4505 (test_float_rejected): ... here.
4507 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
4509 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
4510 before disabling hardware watchpoints.
4511 (test_inaccessible_watchpoint): Check that hardware watchpoints
4512 are used. Test for watchpoints on a constant address.
4514 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4516 * gdb.base/ui-redirect.exp: New file.
4518 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
4519 Joel Brobecker <brobecker@adacore.com>
4521 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
4523 2010-08-31 Doug Evans <dje@google.com>
4525 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
4527 2010-08-30 Tom Tromey <tromey@redhat.com>
4530 * gdb.python/py-value.exp (test_subscript_regression): Add
4533 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
4535 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
4536 instead of running to main. Do not test the main function.
4537 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
4540 2010-08-26 Pedro Alves <pedro@codesourcery.com>
4542 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
4545 2010-08-24 Doug Evans <dje@google.com>
4548 * gdb.dwarf2/dw4-sig-types.cc: New file.
4549 * gdb.dwarf2/dw4-sig-types.h: New file.
4550 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
4551 * gdb.dwarf2/dw4-sig-types.exp: New file.
4553 2010-08-23 Tom Tromey <tromey@redhat.com>
4556 * gdb.python/py-value.c (Base, Derived): New types.
4558 * gdb.python/py-value.exp (test_subscript_regression): Add
4561 2010-08-23 Tom Tromey <tromey@redhat.com>
4564 * gdb.python/py-type.exp (test_fields): Add tests for type
4567 2010-08-23 Tom Tromey <tromey@redhat.com>
4570 * gdb.python/py-type.exp (test_fields): Add tests for array.
4572 2010-08-23 Keith Seitz <keiths@redhat.com>
4574 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
4575 have any children. Create a new abbrev for it.
4576 Add missing terminal sequence to .debug_abbrev.
4578 2010-08-20 Keith Seitz <keiths@redhat.com>
4581 * gdb.dwarf2/pr11465.exp: New test.
4582 * gdb.dwarf2/pr11465.S: New file.
4583 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
4584 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
4586 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
4588 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
4589 registers. Update data sets with the new v2_double element in the
4590 VSX register union. Add vector_register3_vr data set for the AltiVec
4591 registers. Use gdb_test_no_output instead of send_gdb.
4593 2010-08-19 Pedro Alves <pedro@codesourcery.com>
4595 * gdb.python/py-shared.exp: New file, factored out from
4597 * gdb.python/py-shared.c: New file.
4598 * gdb.python/py-shared-sl.c: New file.
4599 * gdb.python/python-1.c: New file.
4600 * gdb.python/python-sl.c: Delete.
4601 * gdb.python/python.c: Mention python-1.c.
4602 * gdb.python/python.exp: Move shared library tests to
4604 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
4605 (MISCELLANEOUS): New.
4606 (clean mostlyclean): Also remove $MISCELLANEOUS.
4608 2010-08-19 Doug Evans <dje@google.com>
4611 * gdb.base/printcmds.exp (test_float_accepted): New function.
4612 Move existing float tests there. Add tests for floats with suffixes.
4613 (test_float_rejected): New function.
4614 * gdb.java/jv-print.exp (test_float_accepted): New function.
4615 (test_float_rejected): New function.
4616 * gdb.objc/print.exp: New file.
4617 * gdb.pascal/print.exp: New file.
4618 * lib/objc.exp: New file.
4620 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
4622 * gdb.base/default.exp (info set): Avoid full buffer error and force
4623 reading up to final gdb prompt.
4626 2010-08-18 Tom Tromey <tromey@redhat.com>
4629 * gdb.base/completion.exp: Add test.
4631 2010-08-18 Doug Evans <dje@google.com>
4633 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
4634 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
4635 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
4636 Simplify, early exit if runto_main fails.
4637 * gdb.fortran/exprs.exp: load_lib fortran.exp.
4638 (set_lang_fortran): Moved to lib/fortran.exp.
4639 * gdb.fortran/types.exp: load_lib fortran.exp.
4640 (set_lang_fortran): Moved to lib/fortran.exp.
4641 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
4642 * gdb.java/jprint.exp (set_lang_java): Ditto.
4643 * gdb.java/jv-exp.exp: load_lib java.exp.
4644 If set_lang_java fails, issue a warning instead of failure to be
4645 consistent with other set_lang_foo uses.
4646 (set_lang_java): Moved to lib/java.exp.
4647 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
4648 If set_lang_java fails, issue a warning instead of failure to be
4649 consistent with other set_lang_foo uses.
4650 * gdb.pascal/types.exp: load_lib pascal.exp.
4651 (set_lang_pascal): Moved to lib/pascal.exp.
4652 * lib/fortran.exp: New file.
4653 * lib/java.exp (set_lang_java): New function.
4654 * lib/pascal.exp (set_lang_pascal): New function.
4656 2010-08-18 Yao Qi <yao@codesourcery.com
4658 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
4659 func_nofb_start and func_loopfb_start, so that address of functions
4660 is equal to these labels on Thumb.
4662 2010-08-18 Yao Qi <yao@codesourcery.com>
4664 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
4665 to reflect latest c source file.
4667 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4669 * gdb.cp/infcall-dlopen.exp: New file.
4670 * gdb.cp/infcall-dlopen.cc: New file.
4671 * gdb.cp/infcall-dlopen-lib.cc: New file.
4673 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4674 Pedro Alves <pedro@codesourcery.com>
4676 PR breakpoints/11371
4678 * gdb.base/watch-cond-infcall.exp: New file.
4679 * gdb.base/watch-cond-infcall.c: New file.
4681 2010-08-16 Tom Tromey <tromey@redhat.com>
4683 * gdb.base/help.exp: Update.
4684 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
4686 (test_watch_location): New proc.
4687 (test_watchpoint_in_big_blob): Delete watchpoint.
4688 * gdb.base/watchpoint.c (func5): New function.
4691 2010-08-16 Doug Evans <dje@google.com>
4693 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
4695 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4697 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
4700 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
4702 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
4703 * gdb.base/gnu_vector.c: New File.
4704 * gdb.base/gnu_vector.exp: Likewise.
4706 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
4708 * gdb.python/python.c: New File.
4709 * gdb.python/python-sl.c: New File.
4710 * gdb.python/python.exp: Test solib_address and decode_line
4713 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4715 * gdb.python/python.exp (show height, set height 10)
4716 (verify pagination beforehand, verify pagination beforehand: q)
4717 (gdb.execute does not page, verify pagination afterwards)
4718 (verify pagination afterwards: q): New.
4720 2010-08-02 Doug Evans <dje@google.com>
4722 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
4723 because of an older gcc, change test2
4724 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
4727 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
4729 * gdb.base/break-always.exp: Do not expect full paths to file
4731 * gdb.base/commands.exp: Likewise.
4733 2010-07-30 Doug Evans <dje@google.com>
4735 * gdb.cp/temargs.exp: For new tests that require newer gccs,
4736 xfail them when run with older gccs.
4738 * lib/gdb.exp (build_executable): Forward "c++" option to
4741 * gdb.python/py-type.exp (test_template): Mark as xfail tests
4742 "python print ttype.template_argument(1)" and
4743 "python print isinstance(ttype.template_argument(1), gdb.Value)"
4744 if using gcc 4.4 or earlier.
4746 * gdb.base/valgrind-db-attach.exp: Use unique test name for
4747 attach-to-debugger handling.
4749 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4751 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
4752 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
4753 (main): Use copyreloc.
4754 * gdb.base/prelink.exp (split debug of executable)
4755 (.dynbss vs. .bss address shift): New tests.
4757 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4759 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
4760 in gdb_test_multiple.
4762 2010-07-29 Pedro Alves <pedro@codesourcery.com>
4764 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
4767 2010-07-28 Tom Tromey <tromey@redhat.com>
4770 * gdb.python/py-type.c (Temargs): New template.
4771 (temvar): New variable.
4772 * gdb.python/py-type.exp (test_template): New proc.
4774 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
4776 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
4777 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
4779 2010-07-28 Tom Tromey <tromey@redhat.com>
4782 * gdb.cp/temargs.exp: New file.
4783 * gdb.cp/temargs.cc: New file.
4785 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4787 * gdb.base/help.exp (help disassemble): Update the content.
4789 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4791 * gdb.threads/ia64-sigill.exp: New file.
4792 * gdb.threads/ia64-sigill.c: New file.
4794 2010-07-27 Tom Tromey <tromey@redhat.com>
4796 * gdb.opt/inline-cmds.c (ATTR): New define.
4800 (outer_inline1): Likewise.
4801 (outer_inline2): Likewise.
4802 * gdb.opt/inline-bt.c (ATTR): New define.
4805 * gdb.opt/inline-locals.c (ATTR): New define.
4809 2010-07-27 Tom Tromey <tromey@redhat.com>
4811 * gdb.stabs/gdb11479.c (hack): New function.
4814 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
4815 (int32_search_buf, int64_search_buf): No longer static.
4817 * gdb.base/relocate.c (hack): New function.
4819 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
4821 * gdb.python/py-value.exp (test_inferior_function_call): New function.
4822 * gdb.python/py-value.c (func1): New function.
4825 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
4827 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
4828 as not to clash with .data section.
4830 2010-07-26 Jerome Guitton <guitton@adacore.com>
4832 * gdb.base/code_elim.exp: New file.
4833 * gdb.base/code_elim1.c: New file.
4834 * gdb.base/code_elim2.c: New file.
4836 2010-07-21 Pedro Alves <pedro@codesourcery.com>
4840 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
4841 (some_volatile_enum): New variable.
4842 * gdb.base/printcmds.exp (test_print_enums): New.
4843 <top level>: Call it.
4845 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
4847 * gdb.cp/fpointer.cc: New test.
4848 * gdb.cp/fpointer.exp: New test.
4850 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4852 * gdb.base/solib-nodir.exp: New file.
4853 * lib/gdb.exp (runto): New case for a GDB internal error.
4855 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4856 Ulrich Weigand <uweigand@de.ibm.com>
4857 Tom Tromey <tromey@redhat.com>
4859 * gdb.base/charset-malloc.c: New file.
4860 * gdb.base/charset.c (malloc_stub): New prototype.
4861 (main): Call it instead of malloc itself.
4862 * gdb.base/charset.exp: Use only prepare_for_testing.
4863 (binfile): Remove the variable.
4865 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4867 Make core files the process_stratum.
4868 * gdb.base/corefile.exp (run: load core again)
4869 (run: sanity check we see the core file, run: with core)
4870 (run: core file is cleared, attach: load core again)
4871 (attach: sanity check we see the core file, attach: with core)
4872 (attach: core file is cleared): New tests.
4873 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
4875 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
4877 * gdb.arch/altivec-abi.exp: New tests.
4879 2010-07-13 Tom Tromey <tromey@redhat.com>
4881 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
4883 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
4885 2010-07-13 Tom Tromey <tromey@redhat.com>
4887 * gdb.base/label.exp: New file.
4888 * gdb.base/label.c: New file.
4890 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
4891 H.J. Lu <hongjiu.lu@intel.com>
4893 * lib/gdb.exp (is_ilp32_target): New.
4894 (is_lp64_target): Likewise.
4896 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
4898 * gdb.arch/amd64-disp-step.exp: Likewise.
4899 * gdb.arch/amd64-dword.exp: Likewise.
4900 * gdb.arch/amd64-i386-address.exp: Likewise.
4901 * gdb.arch/amd64-word.exp: Likewise.
4903 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
4905 * gdb.arch/i386-bp_permanent.exp: Likewise.
4906 * gdb.arch/i386-byte.exp: Likewise.
4907 * gdb.arch/i386-disp-step.exp: Likewise.
4908 * gdb.arch/i386-gnu-cfi.exp: Likewise.
4909 * gdb.arch/i386-prologue.exp: Likewise.
4910 * gdb.arch/i386-size-overlap.exp: Likewise.
4911 * gdb.arch/i386-size.exp: Likewise.
4912 * gdb.arch/i386-sse.exp: Likewise.
4913 * gdb.arch/i386-unwind.exp: Likewise.
4914 * gdb.arch/i386-word.exp: Likewise.
4916 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
4917 test only when building 64-bit executables. Do not hard-code
4920 2010-07-07 Doug Evans <dje@google.com>
4922 * lib/gdb.exp (gdb_test_list_exact): New function.
4923 * gdb.base/default.exp (show convenience): Call it, add tests for
4924 $_sdata = void, $_thread = 0.
4926 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4927 Joel Brobecker <brobecker@adacore.com>
4929 Fix re-run of PIE executable, PR shlibs/11776.
4930 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
4931 Remove $displacement_main to match the solib-svr4.c change. New "kill"
4932 and re-"run" of the inferior.
4934 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4935 Joel Brobecker <brobecker@adacore.com>
4937 Cope with missing /usr/sbin/prelink.
4938 * lib/prelink-support.exp (prelink_no):
4939 <result == 1 && $output is "no such file or directory">: New.
4940 (prelink_yes): Likewise. Return on failed prelink_no.
4942 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4943 Joel Brobecker <brobecker@adacore.com>
4945 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
4946 build_executable by build_executable_own_libs. Replace "prelink -R"
4947 execution by a call of prelink_yes. Comment why "prelink -r" needs no
4949 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
4950 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
4951 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
4952 Replace build_executable by build_executable_own_libs's function
4953 build_executable_own_libs.
4954 (prelinkNO): Create new stub to call prelink_no.
4955 (prelinkYES): Create new stub to call prelink_yes.
4956 (test_attach): Rename calls of copy to file_copy.
4957 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
4959 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
4960 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
4961 * gdb.base/prelink.exp: Disable testcase also for is_remote and
4962 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
4963 special flags by gdb_compile_shlib. Replace second gdb_compile by
4964 build_executable_own_libs. Replace "prelink -R" execution by a call of
4965 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
4966 a second call of prelink_yes. Replace restart commands by
4968 (prelink): Rename to ...
4969 (seen displacement message): ... this test. Extend its expectation
4972 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4974 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
4975 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
4976 displacement message exactly once.
4978 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4979 Joel Brobecker <brobecker@adacore.com>
4981 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
4982 its restore after the <$relink_args != ""> loop. new comment.
4984 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
4985 Joel Brobecker <brobecker@adacore.com>
4987 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
4988 code for it. New variable relink_args.
4989 (prelinkYES): Call prelinkNO.
4990 (test_attach): Accept new parameter relink_args. Re-prelink the binary
4991 in such case. Move the core code to ...
4992 (test_attach_gdb): ... a new function. Send GDB command "file".
4993 Extend expected "Attaching to " string.
4995 2010-07-02 Tom Tromey <tromey@redhat.com>
4997 * gdb.base/bitops.exp: Remove extraneous "pass".
4999 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
5001 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
5003 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5005 * gdb.base/help.exp: Adjust expected output.
5007 2010-07-01 Pedro Alves <pedro@codesourcery.com>
5009 * gdb.base/help.exp: Adjust expected output.
5011 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
5013 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
5014 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
5017 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
5018 Doug Evans <dje@google.com>
5020 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
5021 add .dynamic entry'.
5023 2010-06-29 Doug Evans <dje@google.com>
5026 * gdb.cp/m-static.exp: Add testcase.
5027 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
5029 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
5030 Tom Tromey <tromey@redhat.com>
5031 Thiago Jung Bauermann <bauerman@br.ibm.com>
5033 * gdb.python/py-inferior.c: New File.
5034 * gdb.python/py-infthread.c: New File.
5035 * gdb.python/py-inferior.exp: New File.
5036 * gdb.python/py-infthread.exp: New File.
5038 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5040 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
5041 (ptype ::C::OtherFileClass typedefs): New.
5042 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
5043 (C::OtherFileClass::cOtherFileClassVar2): New.
5044 (C::OtherFileClass::cOtherFileClassVar_use): Use also
5045 cOtherFileClassVar2.
5046 (C::cOtherFileType2, C::cOtherFileVar2): New.
5047 (C::cOtherFileVar_use): use also cOtherFileVar2.
5048 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
5050 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5052 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
5053 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
5054 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
5055 (print ::C::cOtherFileVar)
5056 (whatis C::OtherFileClass::cOtherFileClassType)
5057 (whatis ::C::OtherFileClass::cOtherFileClassType)
5058 (print C::OtherFileClass::cOtherFileClassVar)
5059 (print ::cOtherFileClassVar)
5060 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
5061 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
5063 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
5064 (C::OtherFileClass::cOtherFileClassVar)
5065 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
5066 (C::cOtherFileVar, C::cOtherFileVar_use): New.
5068 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5070 Test PR c++/11703 and PR gdb/1448.
5071 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
5074 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5076 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
5077 (main) <rtti_data>: New.
5078 * gdb.cp/virtbase.exp (print rtti_data): New.
5080 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5081 Joel Brobecker <brobecker@adacore.com>
5083 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
5085 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5087 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
5089 2010-06-28 Doug Evans <dje@google.com>
5091 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
5093 2010-06-27 Doug Evans <dje@google.com>
5095 * gdb.cp/m-static.exp: Update expected test output.
5097 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
5099 * gdb.gdb/selftest.exp: Adjust expected message for
5100 capturing start-up runtime.
5102 2010-06-25 Tom Tromey <tromey@redhat.com>
5105 * gdb.python/python.exp: Add new tests.
5107 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
5109 * gdb.cp/operator.cc: Created an import loop.
5110 * gdb.cp/operator.exp: Added testcase for import loop.
5112 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5114 Test PR python/11407.
5115 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
5116 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
5117 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
5118 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
5119 executable_nofb and executable_fb. New variables srcsfile, objsfile,
5120 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
5121 binfile. Call gdb_compile with clean_restart twice.
5122 (func_nofb print, func_nofb backtrace, func_loopfb print)
5123 (func_loopfb backtrace): New.
5125 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5127 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
5128 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
5130 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
5131 i?86 requirement. Remove variables srcfile and binfile. New variable
5132 sources, executable_nofb and executable_fb. Call prepare_for_testing.
5134 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5136 * gdb.cell/dwarfaddr.exp: New file.
5137 * gdb.cell/dwarfaddr.S: New file.
5139 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
5142 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
5144 2010-06-24 Hui Zhu <teawater@gmail.com>
5146 * gdb.base/eval.exp: New file.
5148 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5150 * gdb.cell/fork.exp: New file.
5151 * gdb.cell/fork.c: Likewise.
5152 * gdb.cell/fork-spu.c: Likewise.
5154 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
5156 * lib/gdb.exp (banned_variables_traced): New global variable.
5157 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
5158 (gdb_init): Use `trace add variable' instead of obsolete
5161 2010-06-21 Doug Evans <dje@google.com>
5163 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
5165 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5167 * gdb.arch/spu-ls.exp: New file.
5168 * gdb.arch/spu-ls.c: Likewise.
5170 2010-06-18 Stan Shebs <stan@codesourcery.com>
5172 * gdb.threads/thread-specific.exp: Add tests of $_thread.
5174 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5176 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
5177 * gdb.base/watch-cond.exp: Likewise.
5178 * gdb.python/py-breakpoint.exp: Likewise.
5180 2010-06-18 Pedro Alves <pedro@codesourcery.com>
5182 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
5183 clean_restart, make sure every test has a distinct message, and
5184 that messages don't include the executable' full path.
5186 2010-06-17 Doug Evans <dje@google.com>
5188 * gdb.arch/i386-size.exp: Updated expected output for
5189 DISASSEMBLY_OMIT_FNAME.
5191 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5192 Sergio Durigan Junior <sergiodj@redhat.com>
5194 * gdb.base/watch-notconst.c: New file.
5195 * gdb.base/watch-notconst.S: New file.
5196 * gdb.base/watch-notconst2.c: New file.
5197 * gdb.base/watch-notconst2.S: New file.
5198 * gdb.base/watch-notconst.exp: New file.
5199 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
5200 (func4): Add operations on `global_ptr_ptr'.
5201 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
5202 routine to test watchpoints created with a constant expression.
5203 (test_inaccessible_watchpoint): Include tests for watchpoints
5204 created with a constant expression.
5206 2010-06-14 Kevin Buettner <kevinb@redhat.com>
5208 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
5209 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
5210 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
5211 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
5212 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
5213 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
5214 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
5217 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5219 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
5220 not supported on the target.
5221 * gdb.mi/mi-nonstop-exit.exp: Likewise.
5222 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
5223 * gdb.mi/mi-nsintrall.exp: Likewise.
5224 * gdb.mi/mi-nsmoribund.exp: Likewise.
5225 * gdb.mi/mi-nsthrexec.exp: Likewise.
5227 2010-06-11 Stan Shebs <stan@codesourcery.com>
5229 * gdb.base/permissions.exp: New file.
5231 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5233 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
5234 does not support ELF executable class.
5236 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5238 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
5240 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5242 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
5243 (runto): Catch "The target does not support running in non-stop mode.".
5245 2010-06-11 Michael Snyder <msnyder@vmware.com>
5247 * gdb.base/setshow.exp (set language asm): Don't use
5248 gdb_test_no_output, fails on some targets.
5250 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5252 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
5253 * gdb.cp/pr9167.exp: Likewise.
5255 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5257 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
5259 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5261 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
5263 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
5265 * gdb.base/charset.c (main): Make sure malloc gets linked in.
5267 2010-06-11 Tom Tromey <tromey@redhat.com>
5269 PR gdb/9977, PR exp/11636::
5270 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
5271 (pieces_test_f6): Update expected output.
5273 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5275 * gdb.base/moribund-step.exp: New.
5277 2010-06-08 Michael Snyder <msnyder@vmware.com>
5279 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
5280 * gdb.ada/boolean_expr.exp:
5281 * gdb.ada/frame_args.exp: Ditto.
5282 * gdb.ada/lang_switch.exp: Ditto.
5283 * gdb.ada/ptype_arith_binop.exp: Ditto.
5284 * gdb.ada/ref_param.exp: Ditto.
5285 * gdb.ada/type_coercion.exp:Ditto.
5287 * gdb.asm/asm-source.exp: Ditto.
5289 * gdb.base/attach.exp: Ditto.
5290 * gdb.base/bitfields2.exp: Ditto.
5291 * gdb.base/call-signal-resume.exp: Ditto.
5292 * gdb.base/callfuncs.exp: Ditto.
5293 * gdb.base/commands.exp: Ditto.
5294 * gdb.base/dbx.exp: Ditto.
5295 * gdb.base/default.exp: Ditto.
5296 * gdb.base/dump.exp: Ditto.
5297 * gdb.base/exprs.exp: Ditto.
5298 * gdb.base/freebpcmd.exp: Ditto.
5299 * gdb.base/interrupt.exp: Ditto.
5300 * gdb.base/list.exp: Ditto.
5301 * gdb.base/long_long.exp: Ditto.
5302 * gdb.base/maint.exp: Ditto.
5303 * gdb.base/ptype.exp: Ditto.
5304 * gdb.base/return.exp: Ditto.
5305 * gdb.base/setshow.exp: Ditto.
5306 * gdb.base/sigbpt.exp: Ditto.
5307 * gdb.base/sigrepeat.exp: Ditto.
5309 * gdb.cp/classes.exp: Ditto.
5311 * gdb.dwarf2/dw2-restore.exp: Ditto.
5313 * gdb.gdb/selftest.exp: Ditto.
5315 * gdb.multi/base.exp: Ditto.
5316 * gdb.multi/bkpt-multi-exec.exp: Ditto.
5318 * gdb.python/py-block.exp: Ditto.
5319 * gdb.python/py-prettyprint.exp: Ditto.
5320 * gdb.python/py-template.exp: Ditto.
5322 * gdb.server/ext-attach.exp: Ditto.
5323 * gdb.server/ext-run.exp: Ditto.
5324 * gdb.server/server-mon.exp: Ditto.
5326 * gdb.threads/fork-thread-pending.exp: Ditto.
5327 * gdb.threads/hand-call-in-threads.exp: Ditto.
5328 * gdb.threads/interrupted-hand-call.exp: Ditto.
5329 * gdb.threads/linux-dp.exp: Ditto.
5330 * gdb.threads/manythreads.exp: Ditto.
5331 * gdb.threads/print-threads.exp: Ditto.
5332 * gdb.threads/pthreads.exp: Ditto.
5333 * gdb.threads/schedlock.exp: Ditto.
5334 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5335 * gdb.threads/threadapply.exp: Ditto.
5337 2010-06-08 Michael Snyder <msnyder@vmware.com>
5339 * gdb.ada/exec_changed.exp:
5340 Use ".*" instead of "" as wildcard regexp.
5342 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
5343 * gdb.base/call-ar-st.exp: Ditto.
5344 * gdb.base/checkpoint.exp: Ditto.
5345 * gdb.base/default.exp: Ditto.
5346 * gdb.base/dump.exp: Ditto.
5347 * gdb.base/ending-run.exp: Ditto.
5348 * gdb.base/fileio.exp: Ditto.
5349 * gdb.base/miscexprs.exp: Ditto.
5350 * gdb.base/pointers.exp: Ditto.
5351 * gdb.base/readline.exp: Ditto.
5352 * gdb.base/reread.exp: Ditto.
5353 * gdb.base/restore.exp: Ditto.
5354 * gdb.base/shlib-call.exp: Ditto.
5355 * gdb.base/valgrind-db-attach.exp: Ditto.
5356 * gdb.base/volatile.exp: Ditto.
5357 * gdb.base/watchpoints.exp: Ditto.
5359 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
5361 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
5362 * gdb.python/py-value.exp: Ditto.
5364 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
5365 * gdb.trace/circ.exp: Ditto.
5366 * gdb.trace/collection.exp: Ditto.
5367 * gdb.trace/packetlen.exp: Ditto.
5368 * gdb.trace/passc-dyn.exp: Ditto.
5369 * gdb.trace/report.exp: Ditto.
5370 * gdb.trace/tfile.exp: Ditto.
5371 * gdb.trace/tfind.exp: Ditto.
5372 * gdb.trace/while-dyn.exp: Ditto.
5374 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5376 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
5378 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5381 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
5383 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
5385 * gdb.cp/koenig.exp: Test for ADL operators.
5386 * gdb.cp/koenig.cc: Added ADL operators.
5387 * gdb.cp/operator.exp: New test.
5388 * gdb.cp/operator.cc: New test.
5390 2010-06-04 Michael Snyder <msnyder@vmware.com>
5392 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
5393 * gdb.base/pending.exp: Ditto.
5395 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
5397 2010-06-04 Doug Evans <dje@google.com>
5399 * gdb.python/py-prettyprint.exp: Add new test for enabled and
5401 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
5402 (enable_lookup_function): New function.
5404 2010-06-04 Tom Tromey <tromey@redhat.com>
5406 * gdb.python/py-value.exp (test_value_hash): Don't test equality
5409 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
5411 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
5413 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
5414 (empty verbose non-noisy clear, empty verbose noisy clear)
5415 (empty non-verbose noisy clear): Likewise.
5417 2010-06-03 Michael Snyder <msnyder@vmware.com>
5419 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
5420 * gdb.base/display.exp: Ditto.
5421 * gdb.base/find.exp: Ditto.
5422 * gdb.base/ifelse.exp: Ditto.
5423 * gdb.base/multi-forks.exp: Ditto.
5424 * gdb.base/recurse.exp: Ditto.
5425 * gdb.base/setshow.exp: Ditto.
5426 * gdb.base/value-double-free.exp: Ditto.
5427 * gdb.base/watch-vfork.exp: Ditto.
5428 * gdb.base/watch_thread_num.exp: Ditto.
5429 * gdb.base/watchpoint-solib.exp: Ditto.
5430 * gdb.base/watchpoint.exp: Ditto.
5431 * gdb.base/watchpoints.exp: Ditto.
5433 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
5434 * gdb.cp/overload.exp: Ditto.
5435 * gdb.cp/virtfunc.exp: Ditto.
5437 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
5439 * gdb.reverse/watch-precsave.exp:
5440 Replace gdb_test with gdb_test_no_output.
5442 * gdb.threads/attach-into-signal.exp:
5443 Replace gdb_test with gdb_test_no_output.
5444 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5445 * gdb.threads/watchthreads.exp: Ditto.
5446 * gdb.threads/watchthreads2.exp: Ditto.
5448 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
5449 * gdb.trace/tfind.exp: Ditto.
5451 2010-06-03 Joel Brobecker <brobecker@adacore.com>
5453 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
5454 successful test if message is the empty string.
5456 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5458 * gdb.fortran/module.exp (stopped language detection): New test.
5460 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5462 Support DW_TAG_module as separate namespaces.
5463 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
5464 gdb.fortran/library-module-lib.f90: New.
5465 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
5467 (continue to breakpoint: i-is-1, print var_i value 1)
5468 (continue to breakpoint: i-is-2, print var_i value 2)
5469 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
5470 (print var_d, print var_i value 14, ptype modmany, complete `modm)
5471 (complete `modmany, complete `modmany`, complete `modmany`var)
5472 (show language, setting breakpoint at module): New tests.
5473 * gdb.fortran/module.f90 (module mod): Remove.
5474 (module mod1, module mod2, module modmany, subroutine sub1)
5475 (subroutine sub2, program module): New.
5477 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5479 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
5480 (print value of rUC, print value of rI, print value of UI): ... here.
5481 * gdb.cp/anon-union.exp (pass): Rename to ...
5482 (print z 2): ... here.
5484 2010-06-02 Michael Snyder <msnyder@vmware.com>
5486 * gdb.trace/actions.exp: Use gdb_test_no_output.
5487 * gdb.trace/circ.exp: Ditto.
5488 * gdb.trace/packetlen.exp: Ditto.
5489 * gdb.trace/save-trace.exp: Ditto.
5490 * gdb.trace/tracecmd.exp: Ditto.
5491 * gdb.trace/tsv.exp: Ditto.
5493 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
5494 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
5495 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
5496 * gdb.threads/manythreads.exp: Ditto.
5497 * gdb.threads/print-threads.exp: Ditto.
5498 * gdb.threads/pthreads.exp: Ditto.
5499 * gdb.threads/schedlock.exp: Ditto.
5500 * gdb.threads/staticthreads.exp: Ditto.
5501 * gdb.threads/thread-specific.exp: Ditto.
5502 * gdb.threads/thread-unwindonsignal.exp: Ditto.
5503 * gdb.threads/threadapply.exp: Ditto.
5504 * gdb.threads/watchthreads.exp: Ditto.
5505 * gdb.threads/watchthreads2.exp: Ditto.
5507 * gdb.python/py-block.exp: Use gdb_test_no_output.
5508 * gdb.python/py-prettyprint.exp: Ditto.
5509 * gdb.python/py-template.exp: Ditto.
5510 * gdb.python/py-value.exp: Ditto.
5512 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
5513 * gdb.reverse/watch-reverse.exp: Ditto.
5515 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
5516 * gdb.server/ext-run.exp: Ditto.
5518 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
5519 * gdb.dwarf2/dw2-compressed.exp: Ditto.
5520 * gdb.dwarf2/dw2-intercu.exp: Ditto.
5521 * gdb.dwarf2/dw2-intermix.exp: Ditto.
5522 * gdb.dwarf2/dw2-producer.exp: Ditto.
5523 * gdb.dwarf2/mac-fileno.exp: Ditto.
5525 * gdb.gdb/observer.exp: Use gdb_test_no_output.
5526 * gdb.gdb/selftest.exp: Ditto.
5528 * gdb.multi/base.exp: Use gdb_test_no_output.
5530 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
5532 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5534 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
5536 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
5538 * gdb.cp/class2.exp: Use gdb_test_no_output.
5539 * gdb.cp/classes.exp: Ditto.
5540 * gdb.cp/extern-c.exp: Ditto.
5541 * gdb.cp/inherit.exp: Ditto.
5542 * gdb.cp/maint.exp: Ditto.
5543 * gdb.cp/mb-inline.exp: Ditto.
5544 * gdb.cp/mb-templates.exp: Ditto.
5545 * gdb.cp/method2.exp: Ditto.
5546 * gdb.cp/misc.exp: Ditto.
5547 * gdb.cp/ovldbreak.exp: Ditto.
5548 * gdb.cp/punctuator.exp: Ditto.
5549 * gdb.cp/templates.exp: Ditto.
5550 * gdb.cp/virtbase.exp: Ditto.
5552 * gdb.threads/attach-stopped.exp:
5553 Replace uses of send_gdb / gdb_expect.
5554 * gdb.threads/attachstop-mt.exp:
5555 Replace uses of send_gdb / gdb_expect.
5556 * gdb.threads/gcore-thread.exp:
5557 Replace uses of send_gdb / gdb_expect.
5558 * gdb.threads/hand-call-in-threads.exp:
5559 Replace uses of send_gdb / gdb_expect.
5560 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
5561 * gdb.threads/print-threads.exp:
5562 Replace uses of send_gdb / gdb_expect.
5563 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
5564 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
5565 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
5567 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
5568 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
5569 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
5570 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
5571 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
5572 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
5573 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
5574 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
5575 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
5576 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
5577 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
5579 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5581 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
5583 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
5585 * gdb.cp/koenig.exp: Added new test case.
5586 * gdb.cp/koenig.cc: Ditto.
5588 2010-06-01 Michael Snyder <msnyder@vmware.com>
5590 * gdb.base/arithmet.exp: Use gdb_test_no_output.
5591 * gdb.base/arrayidx.exp: Ditto.
5592 * gdb.base/attach.exp: Ditto.
5593 * gdb.base/auxv.exp: Ditto.
5594 * gdb.base/bigcre.exp: Ditto.
5595 * gdb.base/break-always.exp: Ditto.
5596 * gdb.base/break-interp.exp: Ditto.
5597 * gdb.base/break.exp: Ditto.
5598 * gdb.base/breakpoint-shadow.exp: Ditto.
5599 * gdb.base/call-ar-st.exp: Ditto.
5600 * gdb.base/call-sc.exp: Ditto.
5601 * gdb.base/call-signal-resume.exp: Ditto.
5602 * gdb.base/callfuncs.exp: Ditto.
5603 * gdb.base/catch-syscall.exp: Ditto.
5604 * gdb.base/charset.exp: Ditto.
5605 * gdb.base/code-expr.exp: Ditto.
5606 * gdb.base/commands.exp: Ditto.
5607 * gdb.base/cond-expr.exp: Ditto.
5608 * gdb.base/condbreak.exp: Ditto.
5609 * gdb.base/cursal.exp: Ditto.
5610 * gdb.base/cvexpr.exp: Ditto.
5611 * gdb.base/default.exp: Ditto.
5612 * gdb.base/del.exp: Ditto.
5613 * gdb.base/detach.exp: Ditto.
5614 * gdb.base/display.exp: Ditto.
5615 * gdb.base/ena-dis-br.exp: Ditto.
5616 * gdb.base/eval-skip.exp: Ditto.
5617 * gdb.base/foll-fork.exp: Ditto.
5618 * gdb.base/foll-vfork.exp: Ditto.
5619 * gdb.base/frame-args.exp: Ditto.
5620 * gdb.base/funcargs.exp: Ditto.
5621 * gdb.base/gcore-buffer-overflow.exp: Ditto.
5622 * gdb.base/gdbvars.exp: Ditto.
5623 * gdb.base/help.exp: Ditto.
5624 * gdb.base/ifelse.exp: Ditto.
5625 * gdb.base/included.exp: Ditto.
5626 * gdb.base/list.exp: Ditto.
5627 * gdb.base/macscp.exp: Ditto.
5628 * gdb.base/maint.exp: Ditto.
5629 * gdb.base/multi-fork.exp: Ditto.
5630 * gdb.base/overlays.exp: Ditto.
5631 * gdb.base/page.exp: Ditto.
5632 * gdb.base/pending.exp: Ditto.
5633 * gdb.base/pointers.exp: Ditto.
5634 * gdb.base/pr11022.exp: Ditto.
5635 * gdb.base/prelink.exp: Ditto.
5636 * gdb.base/printcmds.exp: Ditto.
5637 * gdb.base/psymtab.exp: Ditto.
5638 * gdb.base/randomize.exp: Ditto.
5639 * gdb.base/relational.exp: Ditto.
5640 * gdb.base/relocate.exp: Ditto.
5641 * gdb.base/remote.exp: Ditto.
5642 * gdb.base/sepdebug.exp: Ditto.
5643 * gdb.base/set-lang-auto.exp: Ditto.
5644 * gdb.base/setshow.exp: Ditto.
5645 * gdb.base/setvar.exp: Ditto.
5646 * gdb.base/signals.exp: Ditto.
5647 * gdb.base/signull.exp: Ditto.
5648 * gdb.base/sigstep.exp: Ditto.
5649 * gdb.base/sizeof.exp: Ditto.
5650 * gdb.base/solib-disc.exp: Ditto.
5651 * gdb.base/store.exp: Ditto.
5652 * gdb.base/structs.exp: Ditto.
5653 * gdb.base/structs2.exp: Ditto.
5654 * gdb.base/subst.exp: Ditto.
5655 * gdb.base/term.exp: Ditto.
5656 * gdb.base/trace-commands.exp: Ditto.
5657 * gdb.base/unwindonsignal.exp: Ditto.
5658 * gdb.base/valgrind-db-attach.exp: Ditto.
5659 * gdb.base/varargs.exp: Ditto.
5660 * gdb.base/watch-cond.exp: Ditto.
5661 * gdb.base/watch_thread_num.exp: Ditto.
5662 * gdb.base/watchpoint-cond-gone.exp: Ditto.
5663 * gdb.base/watchpoint.exp: Ditto.
5664 * gdb.base/whatis-exp.exp: Ditto.
5666 2010-06-01 Michael Snyder <msnyder@vmware.com>
5668 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
5669 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
5670 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
5671 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
5672 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
5673 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
5674 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
5675 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
5676 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
5677 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
5678 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
5679 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
5680 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
5681 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
5682 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
5684 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5686 * gdb.base/commands.exp (begin commands on watch): Remove excessive
5688 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
5689 * gdb.java/jmisc.exp (p *args\n): Rename to ...
5690 (p *args): ... here and remove excessive trailing newline.
5692 2010-05-31 Joel Brobecker <brobecker@adacore.com>
5694 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
5696 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
5698 Accept the new Linux kernel "t (tracing stop)" string.
5699 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
5701 (state_wait) <T (tracing stop)>: New.
5702 (main): Update the state_wait expect string.
5704 2010-05-28 Pedro Alves <pedro@codesourcery.com>
5706 * limits.c, limits.exp: Delete files.
5707 * Makefile.in (clean mostlyclean): Adjust.
5708 * tracecmd.exp: Adjust.
5710 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5712 * gdb.base/tui-layout.exp: New.
5714 2010-05-28 Michael Snyder <msnyder@vmware.com>
5716 * gdb.reverse/break-precsave.exp:
5717 Replace uses of send_gdb / gdb_expect.
5718 * gdb.reverse/break-reverse.exp:
5719 Replace uses of send_gdb / gdb_expect.
5720 * gdb.reverse/consecutive-precsave.exp:
5721 Replace uses of send_gdb / gdb_expect.
5722 * gdb.reverse/consecutive-reverse.exp:
5723 Replace uses of send_gdb / gdb_expect.
5724 * gdb.reverse/finish-precsave.exp:
5725 Replace uses of send_gdb / gdb_expect.
5726 * gdb.reverse/finish-reverse.exp:
5727 Replace uses of send_gdb / gdb_expect.
5728 * gdb.reverse/i386-precsave.exp:
5729 Replace uses of send_gdb / gdb_expect.
5730 * gdb.reverse/i386-reverse.exp:
5731 Replace uses of send_gdb / gdb_expect.
5732 * gdb.reverse/i386-sse-reverse.exp:
5733 Replace uses of send_gdb / gdb_expect.
5734 * gdb.reverse/i387-env-reverse.exp:
5735 Replace uses of send_gdb / gdb_expect.
5736 * gdb.reverse/i387-stack-reverse.exp:
5737 Replace uses of send_gdb / gdb_expect.
5738 * gdb.reverse/machinestate-precsave.exp:
5739 Replace uses of send_gdb / gdb_expect.
5740 * gdb.reverse/machinestate.exp:
5741 Replace uses of send_gdb / gdb_expect.
5742 * gdb.reverse/sigall-precsave.exp:
5743 Replace uses of send_gdb / gdb_expect.
5744 * gdb.reverse/sigall-reverse.exp:
5745 Replace uses of send_gdb / gdb_expect.
5746 * gdb.reverse/solib-precsave.exp:
5747 Replace uses of send_gdb / gdb_expect.
5748 * gdb.reverse/solib-reverse.exp:
5749 Replace uses of send_gdb / gdb_expect.
5750 * gdb.reverse/step-precsave.exp:
5751 Replace uses of send_gdb / gdb_expect.
5752 * gdb.reverse/step-reverse.exp:
5753 Replace uses of send_gdb / gdb_expect.
5754 * gdb.reverse/until-precsave.exp:
5755 Replace uses of send_gdb / gdb_expect.
5756 * gdb.reverse/until-reverse.exp:
5757 Replace uses of send_gdb / gdb_expect.
5758 * gdb.reverse/watch-precsave.exp:
5759 Replace uses of send_gdb / gdb_expect.
5760 * gdb.reverse/watch-reverse.exp:
5761 Replace uses of send_gdb / gdb_expect.
5763 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5765 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
5768 2010-05-27 Michael Snyder <msnyder@vmware.com>
5770 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
5771 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
5772 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
5773 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
5774 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
5775 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
5776 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
5777 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
5778 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
5779 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
5780 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
5781 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
5782 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
5783 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
5784 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
5785 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
5786 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
5787 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
5788 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
5790 2010-05-26 Michael Snyder <msnyder@vmware.com>
5792 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
5793 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
5795 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
5796 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
5797 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
5799 * gdb.reverse/consecutive-reverse.exp:
5800 Replace uses of send_gdb / gdb_expect.
5801 * gdb.reverse/consecutive-precsave.exp:
5802 Replace uses of send_gdb / gdb_expect.
5804 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
5805 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
5806 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
5807 * gdb.mi/mi-ns-stale-regcache.exp:
5808 Replace uses of send_gdb / gdb_expect.
5809 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
5810 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
5811 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
5812 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
5813 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
5814 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
5815 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
5816 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
5817 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
5819 2010-05-26 Michael Snyder <msnyder@vmware.com>
5821 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
5823 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
5825 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
5826 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
5827 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
5828 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
5829 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
5830 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
5831 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
5832 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
5833 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
5835 2010-05-25 Tom Tromey <tromey@redhat.com>
5837 * gdb.base/macscp.exp: Add missing space after setup_kfail.
5839 2010-05-25 Tom Tromey <tromey@redhat.com>
5841 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
5843 * gdb.base/macscp.exp: Fix setup_kfail argument order.
5844 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
5846 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
5848 * gdb.base/call-sc.exp (setup_kfails): Remove.
5849 (setup_compiler_kfails): Remove.
5850 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
5852 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
5853 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
5854 (advancei): Fix setup_kfail argument order.
5855 * gdb.base/radix.exp: Fix setup_kfail argument order.
5856 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
5858 * gdb.base/structs.exp (setup_kfails): Remove.
5859 (setup_compiler_kfails): Fix setup_kfail argument order.
5860 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
5862 * gdb.java/jmain.exp: Fix setup_kfail argument order.
5863 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
5864 setup_kfail argument order.
5865 * gdb.cp/overload.exp: Fix setup_kfail argument order.
5867 2010-05-25 Tom Tromey <tromey@redhat.com>
5869 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
5871 2010-05-25 Michael Snyder <msnyder@vmware.com>
5873 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
5874 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
5875 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
5876 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
5877 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
5878 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
5879 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
5880 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
5881 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
5882 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
5883 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
5884 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
5885 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
5886 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
5887 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
5888 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
5889 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
5890 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
5891 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
5892 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
5893 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
5894 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
5895 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
5896 * gdb.base/default.exp: Replace send_gdb with gdb_test.
5897 * gdb.base/define.exp: Replace send_gdb with gdb_test.
5898 * gdb.base/display.exp: Replace send_gdb with gdb_test.
5899 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
5900 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
5901 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
5902 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
5903 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
5904 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
5905 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
5906 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
5907 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
5908 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
5909 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
5910 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
5911 * gdb.base/help.exp: Replace send_gdb with gdb_test.
5912 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
5913 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
5914 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
5915 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
5916 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
5917 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
5918 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
5919 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
5920 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
5922 2010-05-25 Doug Evans <dje@google.com>
5924 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
5927 2010-05-21 Tom Tromey <tromey@redhat.com>
5929 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
5931 * gdb.dwarf2/pieces.S: Update.
5932 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
5934 2010-05-21 Tom Tromey <tromey@redhat.com>
5936 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
5938 * gdb.dwarf2/pieces.c (struct C): New.
5940 * gdb.dwarf2/pieces.S: Replace.
5942 2010-05-21 Tom Tromey <tromey@redhat.com>
5944 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
5947 2010-05-21 Tom Tromey <tromey@redhat.com>
5949 * gdb.dwarf2.pieces.exp: New file.
5950 * gdb.dwarf2.pieces.S: New file.
5951 * gdb.dwarf2.pieces.c: New file.
5953 2010-05-20 Pedro Alves <pedro@codesourcery.com>
5954 Joel Brobecker <brobecker@adacore.com>
5956 * lib/gdb.exp (gdb_test_no_output): New function.
5957 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
5958 when testing commands that should produce no output.
5960 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5962 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
5963 parameter that we want to watch being a constant.
5965 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5967 * gdb.ada/cond_lang: New testcase.
5969 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5971 * lib/gdb.exp (banned_variables): New variable/constant.
5972 (gdb_init): Add write trace on variables listed in banned_variables.
5973 (gdb_finish): Remove write traces on variables listed in
5976 2010-05-17 Joel Brobecker <brobecker@adacore.com>
5978 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
5979 * gdb.cp/koenig.exp: Likewise.
5981 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
5985 * gdb.python/py-value.exp (test_value_hash): New function.
5987 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
5990 * gdb.base/gdb11530.c: New file.
5991 * gdb.base/gdb11530.exp: New file.
5993 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5995 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
5996 * gdb.dwarf2/dw2-modula2-self-type.S: New.
5998 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
6000 * gdb.cp/koenig.exp: New test.
6001 * gdb.cp/koenig.cc: New test program.
6003 2010-05-05 Joel Brobecker <brobecker@adacore.com>
6005 Remove the use of prms_id and bug_id throughout the testsuite.
6007 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
6010 * testsuite/gdb.cp/ref-types.exp: Add test to examine
6011 use a reference local variable.
6013 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6015 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
6016 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
6017 variable different_dir. Move debugfile into a full directory pathname
6018 under DIFFERENT_DIR.
6019 * lib/gdb.exp (separate_debug_filename): Remove.
6020 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
6021 variable debug_dir and mkdir of it. Update function comments.
6023 2010-04-29 Pedro Alves <pedro@codesourcery.com>
6027 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
6030 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
6032 * gdb.python/py-param.exp: New File.
6034 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
6036 * gdb.base/default.exp: Fix "set language" test.
6038 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
6040 PR breakpoints/11531.
6041 * gdb.base/gdb11531.c: New file.
6042 * gdb.base/gdb11531.exp: New file.
6044 2010-04-26 Tom Tromey <tromey@redhat.com>
6046 * gdb.base/completion.exp: Add tests for completion and deprecated
6049 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6051 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
6052 (print /x char_array): Escape curly brackets.
6054 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6056 Fix deadlock on looped list of loaded shared objects.
6057 * gdb.base/solib-corrupted.exp: New.
6059 2010-04-23 Doug Evans <dje@google.com>
6061 * gdb.python/py-section-script.c: New file.
6062 * gdb.python/py-section-script.exp: New file.
6063 * gdb.python/py-section-script.py: New file.
6065 2010-04-20 Chris Moller <cmoller@redhat.com>
6069 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
6070 * gdb.base/pr10179-a.c:
6071 * gdb.base/pr10179-b.c:
6072 * gdb.base/pr10179.exp: New files.
6074 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6076 Fix crashes on dangling display expressions.
6077 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
6079 (lib_flags): Remove the "debug" keyword.
6080 (libsepdebug): New variable for iterating new loop.
6081 (save_pf_prefix): New variable wrapping the loop.
6082 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
6083 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
6085 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6087 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
6089 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6092 * gdb.stabs/gdb11479.exp: New file.
6093 * gdb.stabs/gdb11479.c: New file.
6095 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
6097 * gdb.base/charset.c (Strin16, String32): New variables.
6098 * gdb.base/charset.exp (gdb_test): Test correct display
6099 of 16 or 32 bit strings.
6101 2010-04-21 Chris Moller <cmoller@redhat.com>
6104 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
6105 * gdb.cp/pr9167.cc: New file.
6106 * gdb.cp/pr9167.exp: New file.
6109 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
6112 * gdb.pascal/gdb11492.pas: New file.
6113 * gdb.pascal/gdb11492.exp: New file.
6115 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6117 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
6119 2010-04-20 Joel Brobecker <brobecker@adacore.com>
6121 * gdb.ada/dyn_loc: New testcase.
6123 2010-04-20 Chris Moller <cmoller@redhat.com>
6127 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
6128 * gdb.cp/pr10687.cc: New file.
6129 * gdb.cp/pr10687.exp: New file.
6132 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6133 Sergio Durigan Junior <sergiodj@redhat.com>
6135 * gdb.fortran/logical.exp: New testcase.
6136 * gdb.fortran/logical.f90: New file.
6138 2010-04-19 Doug Evans <dje@google.com>
6140 * gdb.base/help.exp (help source): Update expected output.
6142 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6144 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
6145 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
6146 gdb_exit and return.
6147 (executable): New variable.
6150 2010-04-19 Pedro Alves <pedro@codesourcery.com>
6152 PR breakpoints/8554.
6154 * gdb.trace/save-trace.exp: Adjust.
6156 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
6159 * gdb.arch/system-gcore.exp: New.
6160 * gdb.arch/gcore.c: Likewise.
6162 2010-04-15 Doug Evans <dje@google.com>
6164 * gdb.python/py-progspace.c: New file.
6165 * gdb.python/py-progspace.exp: New file.
6167 * gdb.base/source.exp: Add tests for "source -s".
6169 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
6171 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
6172 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
6173 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
6174 * gdb.python/py-mi.exp: New test for to_string returning None.
6176 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
6178 * gdb.python/py-breakpoint.c: Make result global.
6180 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
6182 Fix non-GNU make compatibility.
6183 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
6185 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
6187 * gdb.python/py-breakpoint.exp: New File.
6188 * gdb.python/py-breakpoint.C: Ditto.
6190 2010-04-08 Stan Shebs <stan@codesourcery.com>
6192 * gdb.trace/actions.exp: Clear default-collect.
6193 * gdb.trace/save-trace.exp: Clear default-collect.
6195 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
6197 * gdb.python/py-value: Add null string variable.
6198 (test_lazy_string): Test zero length, NULL address lazy
6201 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
6203 * gdb.arch/i386-avx.c: New.
6204 * gdb.arch/i386-avx.exp: Likewise.
6206 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
6208 2010-04-06 Doug Evans <dje@google.com>
6210 * gdb.base/source-test.gdb: New file.
6211 * gdb.base/source.exp: Test source -v.
6213 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6215 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
6217 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
6219 * gdb.stabs/aout.sed: Convert all backslash to double backslash
6220 within one line, unless it is followed by a double quote.
6221 * gdb.stabs/hppa.sed: Idem.
6222 * gdb.stabs/weird.def: Add char and String constants
6223 * gdb.stabs/weird.exp: Check for correct parsing of
6224 char and string constants.
6225 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
6226 in .stabs to .stabx substitution.
6228 2010-04-05 Stan Shebs <stan@codesourcery.com>
6230 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
6232 * gdb.trace/tfile.exp: Try to print them.
6234 2010-04-04 Stan Shebs <stan@codesourcery.com>
6236 * gdb.base/completion.exp: Update for new "info watchpoints".
6237 * gdb.base/default.exp: Ditto.
6238 * gdb.base/help.exp: Ditto.
6239 * gdb.base/watchpoint.exp: Ditto.
6240 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
6242 2010-04-04 Stan Shebs <stan@codesourcery.com>
6244 * gdb.trace/tfile.exp: Sharpen tfind test.
6246 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6248 * gdb.base/break-entry.exp: New.
6250 2010-04-02 Hui Zhu <teawater@gmail.com>
6251 Michael Snyder <msnyder@vmware.com>
6253 * gdb.reverse/i386-sse-reverse.exp: New file.
6254 * gdb.reverse/i386-sse-reverse.c: New file.
6256 2010-04-02 Pedro Alves <pedro@codesourcery.com>
6258 * gdb.trace/tfind.exp: Adjust expected disassembly output.
6260 2010-04-01 Stan Shebs <stan@codesourcery.com>
6262 * gdb.trace/actions.exp: Tweak expected output.
6263 * gdb.trace/while-stepping.exp: Tweak expected output.
6265 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
6267 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
6269 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6271 * gdb.base/commands.exp: Adjust.
6272 * gdb.cp/extern-c.exp: Adjust.
6274 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6276 * gdb.trace/collection.c (local_test_func): Define a local struct,
6279 2010-04-01 Pedro Alves <pedro@codesourcery.com>
6281 * gdb.trace/collection.exp (gdb_collect_args_test)
6282 (gdb_collect_argarray_test): XFAIL the tests that assume the
6283 argarray argument's elements are collected.
6285 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
6287 * gdb.dwarf2/dw2-bad-parameter-type.exp,
6288 gdb.dwarf2/dw2-bad-parameter-type.S: New.
6290 2010-03-31 Stan Shebs <stan@codesourcery.com>
6292 * gdb.trace/save-trace.exp: Test save/restore of default-collect
6293 and tracepoint conditionals.
6294 (gdb_verify_tracepoints): Delete unused return.
6296 2010-03-26 Keith Seitz <keiths@redhat.com>
6298 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
6299 appear in the output before main.
6300 Remove KFAIL for gdb/2215 aka bz 9320.
6302 2010-03-30 Doug Evans <dje@google.com>
6304 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
6306 * gdb.arch/amd64-dword.exp: Ditto.
6308 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
6310 (break printf): Ditto.
6312 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
6314 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
6316 * gdb.cp/shadow.exp: Ditto.
6318 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6320 * gdb.trace/collection.exp (run_trace_experiment): Make sure
6323 2010-03-29 Pedro Alves <pedro@codesourcery.com>
6325 * gdb.trace/collection.exp (executable): New.
6327 (fpreg, spreg, pcreg): New.
6328 (test_register): Use gdb_test_multiple. Pass /x to print.
6329 (prepare_for_trace_test): New.
6330 (run_trace_experiment): Use "continue", not gdb_run_cmd.
6331 (gdb_collect_args_test, gdb_collect_argstruct_test)
6332 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
6333 prepare_for_trace_test.
6334 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
6335 fpreg, spreg and pcreg.
6336 (gdb_collect_expression_test, gdb_collect_globals_test): Use
6337 prepare_for_trace_test.
6338 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
6339 try to detect tracing support here. Don't set breakpoints at
6340 `begin' or `end' here.
6341 <global scope>: Use clean_restart. Run to main before checking
6342 for tracing support. Check for for tracing support here.
6344 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6346 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
6347 " as $displacement" to "seen displacement message".
6349 2010-03-28 Pedro Alves <pedro@codesourcery.com>
6351 * gdb.trace/while-dyn.exp (executable): New variable.
6353 (test_while_stepping): New function. Move most tests here. Call
6354 it once for each of the while-stepping, stepping and ws aliases.
6356 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6358 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
6359 that do not provide the tagless_struct type name at all.
6360 (test_print_anon_union): Do not check value of uninitialized
6361 union member. Do not use cp_test_ptype_class, so we can accept
6362 "long" as well as "long int".
6364 2010-03-26 Pedro Alves <pedro@codesourcery.com>
6366 * gdb.trace/tfile.c (tohex, bin2hex): New.
6367 (write_error_trace_file): Hexify error description.
6369 2010-03-25 Stan Shebs <stan@codesourcery.com>
6371 * gdb.trace/tfile.c: Generate an additional trace file, improve
6373 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
6374 files in a better way.
6376 2010-03-25 Keith Seitz <keiths@redhat.com>
6378 * gdb.java/jprint.exp: XFAIL printing of static class members
6379 because of GCC debuginfo problem.
6381 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6383 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
6385 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6387 * gdb.base/completion.exp: Allow long instead of long int.
6388 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
6389 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
6391 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
6392 * gdb.base/pointers.exp: Allow long instead of long int.
6393 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
6394 * gdb.base/step-line.exp: Allow a directory before the source file name.
6396 2010-03-24 Tom Tromey <tromey@redhat.com>
6398 PR breakpoints/9352:
6399 * gdb.base/default.exp: Update.
6400 * gdb.base/commands.exp: Update.
6401 * gdb.cp/extern-c.exp: Test setting commands on multiple
6402 breakpoints at once.
6404 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6406 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
6408 * gdb.base/watchpoints.c: Do not include unnecessary headers.
6409 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
6412 2010-03-24 Stan Shebs <stan@codesourcery.com>
6414 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
6416 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
6418 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
6419 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
6420 argument. Handle "short" and "long".
6421 (Top level): Pass overprototyped output for old_fptr and xptr.
6423 2010-03-23 Pedro Alves <pedro@codesourcery.com>
6425 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
6426 format strings and add casts to avoid compiler warnings.
6428 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
6430 * lib/trace-support.exp (gdb_trace_setactions):
6431 Don't expect whitespace after ">" prompt.
6432 * gdb.trace/actions.exp: Adjust for output changes.
6433 * gdb.trace/while-stepping.exp: Likewise.
6435 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6437 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
6440 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6442 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
6445 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
6447 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
6448 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
6450 2010-03-19 Stan Shebs <stan@codesourcery.com>
6452 * gdb.trace/ax.exp: New file.
6454 2010-03-19 Doug Evans <dje@google.com>
6456 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
6459 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
6460 named /usr/sbin/prelink<foo>.
6462 2010-03-18 Stan Shebs <stan@codesourcery.com>
6464 * gdb.trace/circ.exp: Test circular-trace-buffer.
6465 * gdb.trace/tfile.exp: Update tstatus test.
6467 2010-03-18 Joel Brobecker <brobecker@adacore.com>
6469 * gdb.dwarf2/dw2-anonymous-func.S: New file.
6470 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
6472 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6474 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
6476 2010-03-18 Pedro Alves <pedro@codesourcery.com>
6478 * gdb.base/default.exp: Adjust the expected output of the finish
6479 and until commands when the inferior is not being run.
6481 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
6483 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
6484 * gdb.cp/nsusing.exp: Ditto.
6486 2010-03-15 Tom Tromey <tromey@redhat.com>
6488 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
6489 * gdb.cp/userdef.cc (operator==): New function.
6490 (main): New locals mem1, mem2.
6492 2010-03-15 Jie Zhang <jie@codesourcery.com>
6494 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
6495 Declare and use new loadtimeout variable.
6497 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
6499 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
6502 2010-03-14 Pedro Alves <pedro@codesourcery.com>
6504 * gdb.base/solib-disc.c (main): Make format of fprintf a string
6505 literal. Add missing endlines to prints to stderr.
6507 2010-03-12 Tom Tromey <tromey@redhat.com>
6510 * gdb.cp/m-static.exp: Add regression test.
6511 * gdb.cp/m-static.cc (method): New method.
6514 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
6516 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
6517 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
6519 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6521 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
6523 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
6525 * lib/gdb.exp (skip_stl_tests): New.
6526 (gdb_compile): Symbian needs -ldl.
6527 (shlib_target_file): New.
6528 (shlib_symbol_file): New.
6529 (gdb_load_shlibs): Use shlib_target_file.
6530 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
6531 * gdb.cp/exception.exp: Use skip_stl_tests.
6532 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
6533 * gdb.cp/try_catch.exp: Use skip_stl_tests.
6534 * gdb.cp/mb-templates.exp: Ditto.
6535 * gdb.base/commands.exp: Relax regexes.
6536 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
6537 shlib_target_file and shlib_symbol_file.
6538 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
6540 * gdb.base/ending-run.exp: Accept E32Main for symbian.
6541 * gdb.base/solib-disc.exp: Use
6542 shlib_target_file and shlib_symbol_file.
6543 * gdb.base/unload.exp: Don't skip on symbian. Use
6544 shlib_target_file and shlib_symbol_file.
6545 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
6547 2010-03-12 Pedro Alves <pedro@codesourcery.com>
6549 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
6550 * gdb.trace/report.exp: Adjust for x86 and x86_64.
6551 Issue a tfind end before looking for a tracepoint frame.
6552 * gdb.trace/tfind.exp: Adjust tstatus output.
6553 Adjust disassembly output.
6554 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
6556 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6558 * gdb.base/break-interp.exp: Create new displacement parameter value
6559 for the test_ld calls.
6560 (reach): New parameter displacement, verify its content. New push of
6561 pf_prefix "reach-$func:". Import global expect_out.
6562 (test_core): New parameter displacement, verify its content. New push
6563 of pf_prefix "core:". New command "set verbose on". Import global
6565 (test_attach): New parameter displacement, verify its content. New
6566 push of pf_prefix "attach:". New command "set verbose on". Import
6568 (test_ld): New parameter displacement, pass it to the reach, test_core
6569 and test_attach calls and verify its content in the "ld.so exit" test.
6570 * gdb.base/prelink.exp: Remove gdb_exit and final return.
6571 (prelink): Update expected text, use gdb_test.
6573 2010-03-10 Doug Evans <dje@google.com>
6575 * gdb.base/checkpoint.exp: Fix comment.
6576 Lengthen timeout while doing >600 checkpoints test.
6577 Rename duplicate "kill all one" test to keep test names unique.
6579 2010-03-10 Pedro Alves <pedro@codesourcery.com>
6581 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
6583 2010-03-08 Keith Seitz <keiths@redhat.com>
6585 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
6586 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
6587 (dm_type_long): New function.
6588 (dm_type_unsigned_short): New function.
6589 (dm_type_unsigned_long): New function.
6590 (myint): New typedef.
6591 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
6592 long, unsigned shor and long, operator char*, and typedef.
6593 (test_lookup_operator_functions): Add operator char* test.
6594 (test_paddr_operator_functions): Likewise.
6595 (test_paddr_overloaded_functions): Use probe values for
6596 short, long, and unsigned short and long.
6597 (test_paddr_hairy_functions): If the demangler probe detected
6598 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
6600 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
6601 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
6602 and "print null_pmf".
6603 Add test "ptype a.*pmf".
6604 * gdb.cp/overload.exp: Allow optional "int" to appear with
6606 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
6607 long expect value for men_overload1arg.
6608 Allow "int" to appear with "short" and "long".
6609 When testing "info break", add argument for main (void).
6610 Also allow "int" to appear with "short" and "long".
6611 Ditto with "unsigned" and "long long".
6612 * gdb.java/jmain.exp: Do not enclose methods names in single
6614 * gdb.java/jmisc.exp: Likewise.
6615 * gdb.java/jprint.exp: Likewise.
6616 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
6618 From Jan Kratochvil <jan.kratochvil@redhat.com>:
6619 * gdb.cp/exception.exp (backtrace after first throw)
6620 (backtrace after second throw): Allow a namespace before __cxa_throw.
6621 (backtrace after first catch, backtrace after second catch): Allow
6622 a namespace before __cxa_begin_catch.
6624 * gdb.cp/cpexprs.exp: New file.
6625 * gdb.cp/cpexprs.cc: New file.
6627 From Daniel Jacobowitz <dan@codesourcery.com>
6628 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
6629 to use string_to_regexp.
6630 (ctor, dtor): New functions. Use them to match constructor
6631 and destructor function types.
6632 (Top level): Use runto_main.
6634 2010-03-05 Tom Tromey <tromey@redhat.com>
6636 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
6638 (pp_ns.to_string): Likewise.
6640 2010-03-04 Keith Seitz <keiths@redhat.com>
6642 * gdb.cp/overload.exp: Test that the filename portion of a linespec
6643 can be quoted. Test that both the filename and function/line
6644 portions can be quoted at the same time.
6646 2010-03-04 Pedro Alves <pedro@codesourcery.com>
6648 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
6650 2010-03-03 Doug Evans <dje@google.com>
6652 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
6653 libc contains libpthread.
6655 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
6656 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
6657 of gdb_compile. Add another pattern to match android backtrace.
6659 2010-03-03 Tom Tromey <tromey@redhat.com>
6662 * gdb.base/printcmds.exp (test_printf): Add test.
6664 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
6666 * gdb.arch/amd64-byte.exp: New.
6667 * gdb.arch/amd64-dword.exp: Likewise.
6668 * gdb.arch/amd64-pseudo.c: Likewise.
6669 * gdb.arch/amd64-word.exp: Likewise.
6670 * gdb.arch/i386-byte.exp: Likewise.
6671 * gdb.arch/i386-pseudo.c: Likewise.
6672 * gdb.arch/i386-word.exp: Likewise.
6674 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
6676 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
6677 types. Add structreg, bitfields, and flags registers.
6678 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
6681 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
6683 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
6684 (load_description): Set architecture if defined.
6686 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
6688 * gdb.python/py-frame.exp: Add read_var block tests.
6689 * gdb.python/py-frame.c (block): New function.
6691 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6692 Daniel Jacobowitz <dan@codesourcery.com>
6694 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
6696 2010-02-25 David S. Miller <davem@davemloft.net>
6698 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
6699 fix logic for setting all_syscalls_numbers.
6701 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6703 * Makefile.in: Add py-block and py-symbol.
6704 * gdb.python/py-symbol.exp: New File.
6705 * gdb.python/py-symtab.exp: New File.
6706 * gdb.python/py-block.exp: New File.
6707 * gdb.python/py-symbol.c: New File.
6708 * gdb.python/py-block.c: New File.
6710 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
6713 * lib/gdb.exp (skip_python_tests): New function.
6714 * gdb.python/py-cmd.exp: Use skip_python_tests.
6715 * gdb.python/py-frame.exp: Likewise.
6716 * gdb.python/py-function.exp: Likewise.
6717 * gdb.python/py-prettyprint.exp: Likewise.
6718 * gdb.python/py-template.exp: Likewise.
6719 * gdb.python/py-type.exp: Likewise.
6720 * gdb.python/py-value.exp: Likewise.
6722 2010-02-22 Pedro Alves <pedro@codesourcery.com>
6726 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
6728 2010-02-19 Tom Tromey <tromey@redhat.com>
6730 PR c++/8693, PR c++/9496:
6731 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
6734 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6736 Fix compatibility with m68k as.
6737 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
6738 Use only /* comments */.
6740 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6742 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
6743 * configure: Regenerate.
6745 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
6747 * gdb.python/py-type.exp: Check for Python support.
6749 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6751 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
6752 `regsub' syntax available.
6754 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6756 * gdb.base/shmain.c (main): Remove printf call.
6757 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
6758 * gdb.base/unload.c (main): Make format of fprintf a string
6759 literal. Add missing endlines to prints to stderr.
6760 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
6762 2010-02-17 Tom Tromey <tromey@redhat.com>
6764 * gdb.java/jprint.java (jprint.props): New field.
6765 * gdb.java/jprint.exp (set_lang_java): Add regression test.
6767 2010-02-17 Pedro Alves <pedro@codesourcery.com>
6769 * gdb.base/charset.exp: Don't assume new `regsub' syntax
6772 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6774 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
6775 creation to support remote host testing.
6777 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6779 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
6780 Recognize "command not found".
6782 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6784 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
6787 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6789 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
6790 if arguments are not supported.
6792 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6794 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
6795 be const or non-const.
6797 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6799 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
6800 mi_send_resuming_command to send -exec-continue.
6802 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6804 * gdb.base/list.exp (test_list_filename_and_function): Add test
6806 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
6808 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
6809 Add KFAIL'd tests for PR gdb/11289.
6811 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6813 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
6815 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6817 * gdb.base/comp-dir/subdir/dummy.txt: New file.
6818 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
6819 a temporary directory.
6821 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
6823 * gdb.base/charset.exp: Use a single regular expression to match
6824 show host-charset and show target-charset output.
6826 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6828 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
6829 "Illegal process-id" expect string more exact.
6830 (attach to digits-starting nonsense is prohibited): New.
6832 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6834 * gdb.base/prelink.exp (set verbose on): New.
6836 2010-02-12 Tomas Holmberg <th@virtutech.com>
6838 * mi-reverse.exp: New file. Test for reverse option to the
6839 following MI commands: exec-continue, exec-finish, exec-next,
6840 exec-step, exec-next-instruction, exec-step-instruction.
6842 2010-02-09 Joel Brobecker <brobecker@adacore.com>
6844 * gdb.ada/ptype_tagged_param: New testcase.
6846 2010-02-08 Tom Tromey <tromey@redhat.com>
6849 * gdb.cp/overload.exp: Add tests.
6850 * gdb.cp/overload.cc (struct K): New.
6852 (main): Call new functions.
6853 (K::staticoverload): Define.
6855 2010-02-08 Chris Moller <moller@mollerware.com>
6858 * gdb.cp/pr10728-x.h: New file.
6859 * gdb.cp/pr10728-x.cc: New file.
6860 * gdb.cp/pr10728-y.cc: New file.
6861 * gdb.cp/pr10728.exp: New file.
6862 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
6864 2010-02-08 Chris Moller <moller@mollerware.com>
6867 * gdb.cp/pr9067.exp: New
6868 * gdb.cp/pr9067.cc: New
6869 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
6871 2010-02-08 Joel Brobecker <brobecker@adacore.com>
6873 * lib/gdb.exp (gdb_test_timeout): New global variable.
6874 Set it to timeout if not already set.
6875 (gdb_init): Reset the value of timeout to gdb_test_timeout.
6877 2010-02-05 Doug Evans <dje@google.com>
6879 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
6882 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
6885 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
6887 2010-02-04 Tom Tromey <tromey@redhat.com>
6889 * gdb.cp/virtbase.exp: Make test case names unique.
6891 2010-02-02 Tom Tromey <tromey@redhat.com>
6893 * gdb.cp/virtbase.exp: Add regression tests.
6894 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
6895 (main): Instantiate RHC.
6897 2010-02-02 Tom Tromey <tromey@redhat.com>
6899 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
6900 type-printing change.
6902 2010-02-02 Tom Tromey <tromey@redhat.com>
6904 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
6905 * gdb.cp/virtbase.cc: New file.
6906 * gdb.cp/virtbase.exp: New file.
6907 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
6909 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6912 * gdb.threads/current-lwp-dead.c: Include features.h.
6914 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
6916 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6918 * gdb.base/symbol-without-target_section.exp,
6919 gdb.base/symbol-without-target_section.c: New.
6921 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6923 * gdb.base/bigcore.exp: Reset increased timeout.
6924 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
6926 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6928 * gdb.base/gcore.exp (capture_command_output): Use
6931 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6933 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
6934 * gdb.arch/thumb2-it.exp (test_it_break): New function.
6935 (Top level): Call it.
6937 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
6939 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
6941 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
6943 * gdb.base/call-strs.exp, gdb.base/default.exp,
6944 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
6945 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
6946 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
6947 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
6948 gdb.base/watchpoint-solib.exp: Save and restore timeout.
6949 * gdb.base/ending-run.exp: Correct restore of timeout.
6950 * gdb.base/page.exp: Remove unnecessary timeout setting.
6952 2010-01-29 Joel Brobecker <brobecker@adacore.com>
6954 * gdb.ada/rec_return: New testcase.
6956 2010-01-29 Joel Brobecker <brobecker@adacore.com>
6958 * gdb.ada/call_pn: New testcase.
6960 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
6962 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
6963 (Top level): Use it to resume.
6964 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
6965 the Thumb mode displaced stepping error as unsupported.
6967 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
6969 * gdb.cp/nsusing.exp: Added more tests.
6970 * gdb.cp/nsrecurs.exp: Ditto.
6971 * gdb.cp/nsusing.cc: Added test functions.
6972 * gdb.cp/nsrecurs.cc: Ditto.
6974 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6976 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
6977 absolute directory pathnames in gdb.sum file.
6979 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
6981 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
6982 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
6984 2010-01-26 Tom Tromey <tromey@redhat.com>
6987 * gdb.base/printcmds.exp (test_print_string_constants): Remove
6990 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
6992 * gdb.cp/nsrecurs.exp: New test.
6993 * gdb.cp/nsrecurs.cc: New test program.
6994 * gdb.cp/nsstress.exp: New test.
6995 * gdb.cp/nsstress.cc: New test program.
6996 * gdb.cp/nsdecl.exp: New test.
6997 * gdb.cp/nsdecl.cc: New test program.
6999 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
7001 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
7002 imported into file scope.
7003 Marked test as xfail.
7004 * gdb.cp/namespace-using.cc (marker5): New function.
7005 * gdb.cp/shadow.exp: New test.
7006 * gdb.cp/shadow.cc: New test program.
7007 * gdb.cp/nsimport.exp: New test.
7008 * gdb.cp/nsimport.cc: New test program.
7010 2010-01-25 Tom Tromey <tromey@redhat.com>
7013 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
7014 with "set print null-stop on".
7016 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7018 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
7019 Adjust it for DISASSEMBLY_OMIT_FNAME.
7021 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7024 * gdb.dwarf2/member-ptr-forwardref.exp,
7025 gdb.dwarf2/member-ptr-forwardref.S: New.
7027 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7029 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
7030 (thread1_func): Protect thread1_tid with thread1_tid_cond by
7031 thread1_tid_mutex. Remove gdbstop_mutex handling.
7032 (thread2_func): Protect thread2_tid with thread2_tid_cond by
7033 thread2_tid_mutex. Remove gdbstop_mutex handling.
7034 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
7035 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
7036 pthread_cond_wait conditionalizations by while loops.
7038 2010-01-20 Tom Tromey <tromey@redhat.com>
7041 * gdb.dwarf2/pr10770.exp: New file.
7042 * gdb.dwarf2/pr10770.c: New file.
7043 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
7045 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
7047 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
7048 that target was removed, and the test always runs native anyway.
7050 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7052 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
7053 gdb.base/watchpoint-cond-gone-stripped.c: New.
7055 2010-01-19 Tom Tromey <tromey@redhat.com>
7058 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
7060 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
7061 (main): Use AAA::SomeEnum.
7063 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7065 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
7066 (test_ignore_count): Declare line_callme_body global.
7067 (run to breakpoint with ignore count): Use line_callme_body.
7068 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
7069 (set line_main_hello, set line_main_return): Reindent.
7070 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
7072 (continue to callee4): Use line_callee4_body.
7073 (check *stopped from CLI command): Use line_callee4_next.
7074 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
7075 (set line_main_hello, set line_main_return): Reindent.
7076 (set line_callee4_head, set line_callee4_body): New.
7077 (continue to callee4): Use line_callee4_body.
7079 2010-01-18 Tom Tromey <tromey@redhat.com>
7082 * gdb.cp/casts.cc: Add new classes and variables.
7083 * gdb.cp/casts.exp: Test new operators.
7085 2010-01-18 Tom Tromey <tromey@redhat.com>
7086 Thiago Jung Bauermann <bauerman@br.ibm.com>
7088 * gdb.python/source2.py: New file.
7089 * gdb.python/source1: New file.
7090 * gdb.python/python.exp: Test "source" command.
7092 2010-01-15 Stan Shebs <stan@codesourcery.com>
7094 * gdb.trace/tfile.c: New file.
7095 * gdb.trace/tfile.exp: New file.
7097 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7099 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
7101 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7103 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
7105 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7107 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
7108 (libfunc): New parameter action. Implement also selectable "sleep".
7109 * gdb.base/break-interp-main.c: Include assert.h.
7110 (libfunc): New parameter action.
7111 (main): New parameters argc and argv. Assert argc. Pass argv.
7112 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
7113 (test_attach): New proc.
7114 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
7115 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
7117 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7119 * gdb.base/break-interp.exp (test_core): New proc.
7122 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7124 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
7125 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
7126 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
7127 and gdb_compile_shlib. Use new -Wl compiler options.
7128 (dl bt, main bt): New tests.
7130 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7132 Support PIEs with no symfile_objfile.
7133 * gdb.base/break-interp.exp: New argument at the test_ld calls.
7134 (test_ld): New parameter trynosym.
7135 (test_ld <$trynosym>): New block.
7137 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
7139 * gdb.base/break-interp.exp: New file.
7141 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
7143 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
7144 * gdb.python/py-prettyprint.py (pp_ls): New printer.
7145 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
7147 * gdb.python/py-prettyprint.c: Define lazystring test structure.
7148 * gdb.python/py-mi.exp: Add lazy string test.
7150 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
7152 * lib/mi-support.exp (mi_check_thread_states): Handle
7153 core number in thread listing.
7155 2010-01-12 Joel Brobecker <brobecker@adacore.com>
7157 * gdb.base/maint.exp: Adjust the expected output for the
7158 "maint print type" test. Use gdb_test_multiple instead of
7159 gdb_sent/gdb_expect.
7161 2010-01-11 Doug Evans <dje@google.com>
7163 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
7164 from gdbserver_download. All callers updated.
7166 * gdb.server/ext-run.exp: "info os processes" requires xml support.
7168 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7170 Implement binary numbers parsing.
7171 * gdb.base/printcmds.exp (test_integer_literals_accepted)
7172 (test_integer_literals_rejected): New binary tests.
7174 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
7176 * gdb.cell/configure: Regenerate.
7178 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7180 * gdb.base/corefile.exp: Move the core finding block out and call it as
7181 core_find, new variable $corefile, replace corefile by $corefile and
7182 [file tail $corefile] for usage vs. test names resp.
7183 * lib/gdb.exp (core_find): Move it as a new function here. New
7184 parameter binfile and deletefiles. New variable $destcore. Pre-delete
7185 $destcore. Return "" on error.
7187 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7189 Workaround PR binutils/10802.
7190 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
7193 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
7195 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
7197 2010-01-08 Joel Brobecker <brobecker@adacore.com>
7199 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
7200 call, to avoid interruption.
7202 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7204 * gdb.stabs/weird.def (args93): New.
7206 2010-01-07 Doug Evans <dje@google.com>
7208 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
7210 2010-01-07 Tom Tromey <tromey@redhat.com>
7212 * gdb.base/source.exp: Use correct line number.
7214 2010-01-05 Stan Shebs <stan@codesourcery.com>
7216 * gdb.trace/tracecmd.exp: Test ftrace.
7218 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7220 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
7222 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7224 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
7225 "uint_for_mi_testing".
7227 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7229 Test indented comment in file being sourced.
7230 * gdb.base/commands.exp: Test indented comment in file being sourced.
7232 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7234 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
7235 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
7236 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
7239 2010-01-01 Joel Brobecker <brobecker@adacore.com>
7241 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
7244 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
7246 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
7247 missing $after_stopped and comma (,) expectation.
7249 2009-12-31 Stan Shebs <stan@codesourcery.com>
7251 * gdb.trace/actions.exp: Test teval action.
7253 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
7255 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
7256 (top level): Call test_watchpoint_in_big_blob.
7257 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
7259 (func3): Write to buf.
7261 2009-12-29 Stan Shebs <stan@codesourcery.com>
7263 * gdb.trace/actions.exp: Test default-collect.
7265 2009-12-28 Stan Shebs <stan@codesourcery.com>
7267 * gdb.trace/tsv.exp: New file.
7268 * gdb.base/completion.exp: Update ambiguous info output.
7270 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
7272 * gdb.base/find.c (main): Reference search buffers.
7273 * gdb.base/included.c (main): Reference integer.
7274 * gdb.base/ptype.c (charfoo): Declare.
7275 (intfoo): Call charfoo.
7276 * gdb.base/scope0.c (useitp): New function.
7277 (usestatics): Use useitp.
7278 (useit): Add a type for val.
7279 * gdb.base/scope1.c (useit1): Take a pointer argument.
7280 (usestatics1): Update calls to useit1.
7281 * gdb.cp/call-c.cc: Declare foo.
7283 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
7284 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
7285 (main): Call C::ensureRefs and ensureOtherRefs.
7286 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
7288 (ensureOtherRefs): New function.
7289 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
7290 * gdb.cp/templates.cc (main): Call t5i.value.
7292 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7294 Fix compatibility with G++-4.5.
7295 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
7296 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
7297 (uncaught return): Remove.
7299 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7300 Phil Muldoon <pmuldoon@redhat.com>
7302 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
7303 (bp_location13, bp_location14, bp_location17, bp_location18)
7304 (marker3_proto, marker4_proto): New variables.
7305 (breakpoint info): Update output.
7306 (run until breakpoint at marker3, run until breakpoint at marker4): New
7309 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
7311 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
7312 Replace the printf call of Y by provided "y-set-1" label. New block
7313 for the second shared library.
7314 * gdb.base/unload.exp: Compile also the second library, call
7315 gdb_load_shlibs also for it. Use now gdb_breakpoint.
7316 (single pending breakpoint info): Rename to ...
7317 (pending breakpoint info before run): ... this extended test.
7318 (libfile2, libname2, libsrcfile2, libsrc2)
7319 (lib_sl2): New variables.
7320 (exec_opts): Set also SHLIB_NAME2.
7321 (pending breakpoint info on first run at shrfunc1)
7322 (pending breakpoint info on second run at shrfunc1)
7323 (pending breakpoint info on second run at shrfunc2)
7324 (print y from libfile, print y from libfile2): New tests.
7325 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
7326 * gdb.base/unloadshr2.c: New.
7328 2009-12-22 Hui Zhu <teawater@gmail.com>
7330 * gdb.reverse/sigall-reverse.exp: Adjust.
7332 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
7336 * gdb.mi/var-cmd.c (do_bitfield_tests): New
7337 (main): Call do_bitfield_tests.
7338 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
7340 2009-12-20 Joel Brobecker <brobecker@adacore.com>
7342 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
7343 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
7344 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
7345 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
7346 gdb.modula2/unbounded1.c: Update copyright header.
7348 2009-12-10 Chris Moller <moller@mollerware.com>
7351 * gdb.cp/virtfunc2.exp: New tests
7352 * gdb.cp/virtfunc2.cc: New tests
7353 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
7355 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
7357 * gdb.reverse/i387-env-reverse.c: New file.
7358 * gdb.reverse/i387-env-reverse.exp: New file.
7359 * gdb.reverse/i387-stack-reverse.c: New file.
7360 * gdb.reverse/i387-stack-reverse.exp: New file.
7362 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
7364 * gdb.python/py-type.exp (test_range): New test.
7366 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
7370 * gdb.python/py-type.exp: New file.
7371 * gdb.python/py-type.c: New file.
7372 * Makefile.in: Add py-type.
7374 2009-12-03 Tom Tromey <tromey@redhat.com>
7376 * gdb.python/py-value.exp (test_parse_and_eval): New
7379 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
7383 * gdb.base/pr11022.exp: New test.
7384 * gdb.base/pr11022.c: New test.
7386 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
7388 Fix spurious false FAILs.
7389 * gdb.base/structs.c (chartest): New.
7390 (main): Fill-in chartest.
7391 * gdb.base/structs.exp (anychar_re, first): New.
7392 (start_structs_test): Import global anychar_re and first.
7393 New gdb_test call "set print elements 300; ${testfile}"
7394 (start_structs_test <$first>): New block.
7395 (any): Import global anychar_re. New variable ac. Use ${ac}.
7397 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7399 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
7401 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
7403 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
7404 Force $srcfile file.
7405 * gdb.base/foll-fork.c (callee): Comment out the printf call.
7407 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7409 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
7410 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7411 * gdb.threads/watchthreads-reorder.exp: Likewise.
7413 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
7417 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
7418 "if", and "thread". Correct matching in the previous test.
7420 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
7422 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
7424 2009-11-23 Michael Snyder <msnyder@vmware.com>
7426 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
7427 * gdb.reverse-watch-precsave.exp: Ditto.
7429 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
7431 * gdb.asm/asm-source.exp: Adjust.
7432 * gdb.base/help.exp: Adjust.
7434 2009-11-22 Pedro Alves <pedro@codesourcery.com>
7436 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
7437 (do_syscall_tests_without_xml): Set data-directory to
7438 /the/path/to/nowhere.
7440 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7442 * gdb.threads/local-watch-wrong-thread.c,
7443 gdb.threads/local-watch-wrong-thread.exp: New files.
7445 2009-11-21 Pedro Alves <pedro@codesourcery.com>
7447 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
7448 assume new `regsub' syntax available.
7450 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7452 * gdb.base/watchpoint-hw-hit-once.exp,
7453 gdb.base/watchpoint-hw-hit-once.c: New.
7455 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7457 * gdb.threads/watchthreads-reorder.exp,
7458 gdb.threads/watchthreads-reorder.c: New.
7460 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
7462 * gdb.xml/tdesc-regs.exp: Use for m68k.
7464 2009-11-15 Pedro Alves <pedro@codesourcery.com>
7466 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
7468 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7470 * lib/gdb.exp (current_target_name): New procedure.
7471 (gdb_wrapper_target): New variable.
7472 (gdb_wrapper_init): Set gdb_wrapper_target.
7473 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
7476 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7478 * gdb.base/remote.exp: Delete the slowest load test.
7479 Do not load with fixed packet sizes.
7481 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7483 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
7485 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7487 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
7488 srcfile when setting a breakpoint.
7490 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
7492 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
7495 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
7497 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
7499 * gdb.base/display.c (force_mem): New.
7500 (do_loops): Use it. Add breakpoint comments.
7501 (do_vars): Add a breakpoint comment.
7502 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
7505 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
7507 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
7508 instead of a bare "run".
7510 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7512 * gdb.python/py-prettyprint.exp: Adjust.
7514 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7516 * lib/cell.exp (skip_cell_tests): Clean up test files before
7519 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7521 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
7522 and the breakpoint menu. Do not call perror if a prompt is seen.
7523 Consume the following GDB prompt.
7524 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
7525 * gdb.cp/namespace.exp: Use gdb_test.
7526 * gdb.cp/templates.exp: Use gdb_test.
7527 (test_template_breakpoints): Use gdb_test_multiple.
7529 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7531 * gdb.base/break1.c (struct some_struct, values): Move earlier.
7532 (marker4): Reference values.
7534 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7536 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
7539 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7541 * gdb.base/break.c (need_malloc): New.
7542 * gdb.base/constvars.c (main): Reference crass and crisp.
7543 * gdb.base/gdb1821.c (main): Reference bar.
7544 * gdb.cp/gdb1355.cc (main): Reference s1.
7545 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
7547 * gdb.cp/hang2.cc (dummy2): Define.
7548 * gdb.cp/hang3.cc (dummy3): Define.
7549 * gdb.cp/m-data.cc (main): Reference shadow.
7551 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
7552 Nathan Froyd <froydnj@codesourcery.com>
7554 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
7557 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
7559 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
7560 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
7561 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7562 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7563 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7564 * gdb.dwarf2/dw2-producer.exp: Likewise.
7565 * gdb.dwarf2/mac-fileno.exp: Likewise.
7566 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
7567 py-prettyprint.py to the remote host.
7568 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
7570 2009-11-11 Keith Seitz <keiths@redhat.com>
7572 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
7573 use it instead of "Foo".
7574 * gdb.cp/classes.exp (do_tests): Add a test to access
7575 a method through a typedef'd class name.
7577 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
7579 * gdb.base/long_long.exp: Permit leading zeros on floating-point
7581 * gdb.base/pointers.exp: Likewise.
7582 * gdb.cp/ref-types.exp: Likewise.
7584 2009-11-11 Keith Seitz <keiths@redhat.com>
7586 * gdb.cp/cplusfuncs.cc (class foo): Add operators
7588 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
7590 (probe_demangler): Remove all single-quoting of
7591 method and variable names.
7592 (info_func_regexp): Remove the word "void" from any
7593 occurrence of "(void)".
7594 (print_addr_2): Remove all single-quoting of
7596 (print_addr_2_kfail): Likewise.
7597 (print_addr): Single-quote C function names before
7598 passing to print_addr_2.
7599 (test_paddr_operator_functions): Remove single-quoting
7601 Add tests for operator new[] and operator delete[].
7603 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7605 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
7607 2009-11-09 Keith Seitz <keiths@redhat.com>
7609 * gdb.cp/overload.exp: Add tests for resolving overloaded
7610 methods in expression parsing/evaluation.
7612 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
7614 * lib/gdb.exp (default_gdb_version): Use --version instead of
7617 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
7619 * lib/gdb.exp (gdb_compile_test): New.
7620 (skip_ada_tests, skip_java_tests): New.
7621 (gdb_compile): Use gdb_compile_test for f77.
7622 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
7623 * lib/java.exp (compile_java_from_source): Remove runtests check,
7624 use gdb_compile_test to record result.
7625 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
7626 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
7627 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
7628 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
7629 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
7630 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
7631 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
7632 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
7633 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
7634 adjust gdb_compile invocations.
7636 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
7638 * Makefile.in (abs_builddir): New.
7639 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
7640 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
7641 `$(abs_builddir)/site.exp'.
7643 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
7645 * config/m68k-emc.exp, lib/emc-support.exp,
7646 gdb.trace/gdb_c_test.c: Delete.
7647 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
7648 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
7649 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
7650 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
7651 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
7652 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
7653 casing for m68k-*-elf.
7655 2009-11-03 Pedro Alves <pedro@codesourcery.com>
7657 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
7658 * gdb.arch/i386-prologue.exp: Likewise.
7659 * gdb.arch/i386-unwind.exp: Likewise.
7661 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7663 * lib/gdb.exp (gdb_expect): Fix timeout typo.
7665 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7667 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
7669 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
7671 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
7673 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7675 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
7677 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7679 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
7680 * gdb.base/sepdebug2.c: New file.
7682 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7684 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
7685 the modified warnings for catch syscall. Verify if GDB was compiled
7686 with support for lib expat, and choose which tests to run depending
7689 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
7691 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
7692 that composite commands are parsed OK. And also test
7693 that breakpoint commands do work.
7695 2009-10-23 Michael Snyder <msnyder@vmware.com>
7697 gdb.reverse/consecutive-precsave.exp: Change expect pattern
7698 to allow for new disassembly style.
7700 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
7702 * gdb.asm/asm-source.exp: Adjust.
7704 2009-10-22 Michael Snyder <msnyder@vmware.com>
7706 * gdb.reverse/break-precsave.exp: New test.
7707 * gdb.reverse/consecutive-precsave.exp: Ditto.
7708 * gdb.reverse/finish-precsave.exp: Ditto.
7709 * gdb.reverse/i386-precsave.exp: Ditto.
7710 * gdb.reverse/machinestate-precsave.exp: Ditto.
7711 * gdb.reverse/sigall-precsave.exp: Ditto.
7712 * gdb.reverse/solilb-precsave.exp: Ditto.
7713 * gdb.reverse/step-precsave.exp: Ditto.
7714 * gdb.reverse/until-precsave.exp: Ditto.
7715 * gdb.reverse/watch-precsave.exp: Ditto.
7717 2009-10-22 Michael Snyder <msnyder@vmware.com>
7719 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
7720 for gdb_expect. Adjust one test's expect strings for the new
7721 format of disassemble.
7722 * gdb.reverse/finish-reverse.exp: Delete 'return'.
7723 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
7725 * gdb.reverse/step-reverse.exp: Delete 'return'.
7726 * gdb.reverse/until-reverse.exp: Delete blank lines.
7727 * gdb.reverse/watch-reverse.exp: Delete blank lines.
7729 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
7731 * gdb.base/consecutive.exp: Adjust.
7732 * gdb.base/display.exp: Likewise.
7733 * gdb.base/pc-fp.exp: Likewise.
7734 * gdb.base/sigbpt.exp: Likewise.
7736 2009-10-19 Michael Snyder <msnyder@vmware.com>
7738 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
7739 * gdb.reverse/finish-reverse.c: Ditto.
7740 * gdb.reverse/sigall-reverse.c: Ditto.
7741 * gdb.reverse/solib-reverse.c: Ditto.
7742 * gdb.reverse/step-reverse.c: Ditto.
7743 * gdb.reverse/watch-reverse.c: Ditto.
7745 2009-10-19 Pedro Alves <pedro@codesourcery.com>
7746 Stan Shebs <stan@codesourcery.com>
7748 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
7749 * gdb.base/foll-exec.exp: Adjust to expect a process id before
7750 "Executing new program".
7751 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
7752 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
7753 left listed after having been killed.
7754 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
7755 * gdb.base/maint.exp: Adjust test.
7757 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
7758 * gdb.multi/Makefile.in: New.
7759 * gdb.multi/base.exp: New.
7760 * gdb.multi/goodbye.c: New.
7761 * gdb.multi/hangout.c: New.
7762 * gdb.multi/hello.c: New.
7763 * gdb.multi/bkpt-multi-exec.c: New.
7764 * gdb.multi/bkpt-multi-exec.exp: New.
7765 * gdb.multi/crashme.c: New.
7767 2009-10-13 Tristan Gingold <gingold@adacore.com>
7769 * gdb.base/sepdebug.exp: Check debug info are found.
7771 2009-10-08 Pedro Alves <pedro@codesourcery.com>
7773 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
7776 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7778 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
7780 2009-10-07 Joel Brobecker <brobecker@adacore.com>
7782 * gdb.base/watchpoints.c: Add copyright header. Reformat one
7785 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
7787 * gdb.base/annota1.exp: Remove obsolete match_max increase.
7788 * gdb.base/annota3.exp: Idem.
7789 * gdb.base/maint.exp: Idem.
7791 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
7793 * lib/gdb.exp (default_gdb_init): Set current value of match_max
7796 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7798 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
7799 mingw and cygwin targets.
7801 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
7802 Pedro Alves <pedro@codesourcery.com>
7804 * lib/gdb.exp (gdb_compile): Avoid adding
7805 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
7807 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7809 * gdb.base/shr1.c: Use %p in format string.
7810 * gdb.base/unload.c: Avoid warning in fprintf.
7811 * gdb.base/watchpoint-solib.c: Idem.
7813 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
7815 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
7817 (test_unlink): Correct printf string.
7818 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
7819 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
7821 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7823 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
7824 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
7825 * gdb.arch/ia64-breakpoint-shadow.S: New file.
7827 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7829 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
7830 * gdb.objc/nondebug.exp: Likewise.
7832 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7834 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
7835 target_info setting.
7837 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
7838 that detect new threads during "info threads".
7840 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7842 * gdb.threads/manythreads.c (main): Increase thread stack size
7843 to 2*PTHREAD_STACK_MIN.
7844 * gdb.threads/multi-create.c (main): Likewise.
7845 (create_function): Likewise.
7847 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7849 * gdb.base/dump.exp: Pass difference of pointer types instead
7850 of integer types as offset to restore in intarr3.srec case.
7852 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7854 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
7856 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7858 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
7860 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
7862 New test for two watchpoints, with disabling of
7864 * testsuite/gdb.base/watchpoints.c: New file.
7865 * testsuite/gdb.base/watchpoints.exp: New file.
7867 2009-09-25 Tom Tromey <tromey@redhat.com>
7869 * gdb.base/charset.exp: Test utf-16 strings with Python.
7871 2009-09-25 Tom Tromey <tromey@redhat.com>
7873 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
7875 * gdb.base/charset.c (utf_32_string): Rename.
7876 (init_utf32): Rename.
7879 2009-09-22 Tom Tromey <tromey@redhat.com>
7881 * gdb.python/py-function.exp: Add regression tests.
7883 2009-09-21 Keith Seitz <keiths@redhat.com>
7885 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
7886 with invalid operator.
7888 2009-09-21 Keith Seitz <keiths@redhat.com>
7890 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
7891 and destructor using typedef name of class.
7892 * gdb.cp/classes.cc (class Base1): Add a destructor.
7893 (base1): New typedef.
7894 (use_methods): Instanitate an object of type base1.
7895 * gdb.cp/templates.exp (test_template_typedef): New procedure.
7896 (do_tests): Call test_template_typedef.
7897 * gdb.cp/templates.cc (Baz::~Baz): New method.
7898 (intBazOne): New typedef.
7899 (main): Instantiate intBazOne.
7901 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7905 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
7907 (run_lang_tests): Add print elements test.
7909 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
7911 * gdb.python/py-value.exp (test_subscript_regression): New
7912 function. Test for invalid subscripts.
7913 * gdb.python/py-value.c (main): Add test array, and pointer to it.
7914 (ptr_ref): New function.
7916 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
7918 * gdb.base/default.exp: Fix "show convenience".
7920 2009-09-15 Tom Tromey <tromey@redhat.com>
7922 * lib/mi-support.exp (mi_create_varobj): Update.
7923 (mi_create_floating_varobj): Likewise.
7924 (mi_create_dynamic_varobj): New proc.
7925 (mi_varobj_update): Update.
7926 (mi_varobj_update_with_type_change): Likewise.
7927 (mi_varobj_update_kv_helper): New proc.
7928 (mi_varobj_update_dynamic_helper): Rewrite.
7929 (mi_varobj_update_dynamic): New proc.
7930 (mi_list_varobj_children): Update.
7931 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
7932 * gdb.python/python-prettyprint.py (pp_outer): New class.
7933 (pp_nullstr): Likewise.
7934 (lookup_function): Register new printers.
7935 * gdb.python/python-prettyprint.c (struct substruct): New type.
7936 (struct outerstruct): Likewise.
7937 (substruct_test): New function.
7938 (struct nullstr): New type.
7939 (string_1, string_2): New globals.
7940 (main): Add new tests.
7941 * gdb.python/python-mi.exp: Added regression tests.
7942 * gdb.mi/mi2-var-display.exp: Update.
7943 * gdb.mi/mi2-var-cmd.exp: Update.
7944 * gdb.mi/mi2-var-child.exp: Update.
7945 * gdb.mi/mi2-var-block.exp: Update.
7946 * gdb.mi/mi-var-invalidate.exp: Update.
7947 * gdb.mi/mi-var-display.exp: Update.
7948 * gdb.mi/mi-var-cmd.exp: Update.
7949 * gdb.mi/mi-var-child.exp: Update.
7950 * gdb.mi/mi-var-block.exp: Update.
7951 * gdb.mi/mi-break.exp: Update.
7952 * gdb.mi/gdb701.exp: Update.
7954 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
7956 * Makefile.in: Inclusion of catch-syscall object.
7957 * gdb.base/catch-syscall.c: New file.
7958 * gdb.base/catch-syscall.exp: New file.
7960 2009-09-12 Michael Snyder <msnyder@vmware.com>
7962 * gdb.reverse/step-reverse.exp: Explicitly check for targets
7963 that can support reverse debuggnig.
7965 2009-09-11 Tom Tromey <tromey@redhat.com>
7967 * gdb.dwarf2/valop.S: New file.
7968 * gdb.dwarf2/valop.exp: New file.
7970 2009-09-11 Mark Kettenis <kettenis@gnu.org>
7972 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
7974 2009-09-10 Doug Evans <dje@google.com>
7976 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
7977 Add $gdb_prompt to second breakpoint regexp.
7979 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
7981 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
7982 names, add missing ones.
7983 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
7984 * gdb.python/py-frame.c: Rename from python-frame.c.
7985 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
7987 * gdb.python/py-function.exp: Rename from python-function.exp.
7988 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
7990 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
7991 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
7992 Adjust testfile name.
7993 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
7994 * gdb.python/py-template.cc: Rename from python-template.cc.
7995 * gdb.python/py-template.exp: Rename from python-template.exp.
7996 Adjust testfile name.
7997 * gdb.python/py-value.c: Rename from python-value.c.
7998 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
8001 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
8003 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
8005 (Second breakpoint address is valid on ia64)
8006 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
8008 2009-09-03 Joseph Myers <joseph@codesourcery.com>
8010 * gdb.base/ending-run.exp: Restrict regular expression matching
8011 line number to require closing brace following.
8013 2009-09-03 Doug Evans <dje@google.com>
8015 * gdb.base/store.exp (check_set): Fix typo in expected value message.
8017 2009-09-02 Tom Tromey <tromey@redhat.com>
8019 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
8021 2009-09-02 Tom Tromey <tromey@redhat.com>
8023 * gdb.dwarf2/callframecfa.exp: New file.
8024 * gdb.dwarf2/callframecfa.S: New file.
8026 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
8028 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
8029 gdb.base/solib-overlap-main.c: New.
8031 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
8035 * gdb.base/bitfields.c (struct container, container): New.
8036 (main): Initialize it and call break5.
8037 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
8039 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8041 Support constant DW_AT_data_member_location by GCC PR debug/40659.
8042 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
8044 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8046 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
8048 2009-08-26 Michael Snyder <msnyder@vmware.com>
8050 * gdb.base/i386-reverse.c: New file.
8051 * gdb.base/i386-reverse.exp: New file.
8052 * gdb.base/Makefile.in: Add new files to be removed.
8054 2009-08-26 Joseph Myers <joseph@codesourcery.com>
8056 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
8057 environment-pwd for remote host.
8058 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
8060 2009-08-24 Keith Seitz <keiths@redhat.com>
8062 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
8063 Add two new C++ completer tests which limit the output to a
8066 2009-08-24 Michael Snyder <msnyder@vmware.com>
8068 * gdb.base/del.exp: Fix typo in comment.
8069 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
8071 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
8073 * configure: Regenerate.
8074 * gdb.hp/configure: Likewise.
8075 * gdb.hp/gdb.aCC/configure: Likewise.
8076 * gdb.hp/gdb.base-hp/configure: Likewise.
8077 * gdb.hp/gdb.compat/configure: Likewise.
8078 * gdb.hp/gdb.defects/configure: Likewise.
8079 * gdb.hp/gdb.objdbg/configure: Likewise.
8080 * gdb.stabs/configure: Likewise.
8082 2009-08-19 Doug Evans <dje@google.com>
8084 * gdb.base/gdbvars.c: New file.
8085 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
8087 2009-08-14 Pedro Alves <pedro@codesourcery.com>
8089 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
8090 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
8092 2009-08-13 Pedro Alves <pedro@codesourcery.com>
8094 * gdb.base/default.exp: Adjust "set language test": it's now an
8095 enum command. Larger help string moved to "help set language".
8096 * gdb.base/help.exp: Adjust "help set language" expected output,
8097 now lists all known languages.
8099 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
8101 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
8102 all frame arguments.
8103 * gdb.arch/altivec-regs.exp: Likewise.
8105 2009-08-07 Tom Tromey <tromey@redhat.com>
8107 * gdb.base/setshow.exp: Add tests for changes to set language, set
8108 check range, and set check type.
8110 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
8112 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
8113 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
8116 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8118 * configure.ac: Run gdb.cell tests when appropriate.
8119 * configure: Regenerate.
8120 * lib/cell.exp: New file.
8121 * gdb.cell: New directory.
8122 * gdb.cell/configure.ac: New file.
8123 * gdb.cell/configure: New file.
8124 * gdb.cell/Makefile.in: New file.
8125 * gdb.cell/arch.exp: New file.
8126 * gdb.cell/break.c: New file.
8127 * gdb.cell/break.exp: New file.
8128 * gdb.cell/break-spu.c: New file.
8129 * gdb.cell/bt.c: New file.
8130 * gdb.cell/bt2-spu.c: New file.
8131 * gdb.cell/bt-spu.c: New file.
8132 * gdb.cell/bt.exp: New file.
8133 * gdb.cell/coremaker.c: New file.
8134 * gdb.cell/coremaker-spu.c: New file.
8135 * gdb.cell/core.exp: New file.
8136 * gdb.cell/gcore.exp: New file.
8137 * gdb.cell/data.c: New file.
8138 * gdb.cell/data.exp: New file.
8139 * gdb.cell/data-spu.c: New file.
8140 * gdb.cell/ea-cache.exp: New file.
8141 * gdb.cell/ea-cache.c: New file.
8142 * gdb.cell/ea-cache-spu.c: New file.
8143 * gdb.cell/ea-standalone.c: New file.
8144 * gdb.cell/ea-standalone.exp: New file.
8145 * gdb.cell/ea-test.c: New file.
8146 * gdb.cell/ea-test.exp: New file.
8147 * gdb.cell/f-regs.exp: New file.
8148 * gdb.cell/mem-access.c: New file.
8149 * gdb.cell/mem-access.exp: New file.
8150 * gdb.cell/mem-access-spu.c: New file.
8151 * gdb.cell/ptype.exp: New file.
8152 * gdb.cell/registers.exp: New file.
8153 * gdb.cell/size.c: New file.
8154 * gdb.cell/sizeof.exp: New file.
8155 * gdb.cell/size-spu.c: New file.
8156 * gdb.cell/solib.exp: New file.
8157 * gdb.cell/solib-symbol.exp: New file.
8159 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8161 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
8163 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8165 * gdb.base/float.exp: Handle VFP registers.
8167 2009-07-14 Michael Snyder <msnyder@vmware.com>
8169 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
8170 to bring gdb to the beginning of the calling line.
8172 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
8173 confusing the i386 epilogue unwinder.
8175 2009-07-14 Stan Shebs <stan@codesourcery.com>
8177 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
8179 2009-07-14 Michael Snyder <msnyder@vmware.com>
8181 * gdb.reverse/step-reverse.exp (stepi into function call):
8182 Call instruction may not be first instruction in the line.
8183 (reverse stepi from a function call): Used wrong line number.
8185 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8187 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
8189 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8191 Fix gdb.base/macscp.exp when using custom inputrc.
8192 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
8193 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
8195 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
8196 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
8198 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8200 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
8201 * gdb.base/annota1.exp (thread_test): Import global $testfile.
8202 Change the compilation target to match the testcase name.
8203 * gdb.base/sect-cmd.exp: Change the compilation target to match the
8205 * a2-run.exp: Use for setup prepare_for_testing. Change the
8206 compilation target to match the testcase name.
8207 * gdb.base/commands.exp: Likewise.
8208 * gdb.base/finish.exp: Likewise.
8209 * gdb.base/float.exp: Likewise.
8210 * gdb.base/info-target.exp: Likewise.
8211 * gdb.base/relational.exp: Likewise.
8212 * gdb.base/term.exp: Likewise.
8213 * gdb.base/until.exp: Likewise.
8214 * gdb.base/volatile.exp: Likewise.
8215 * gdb.base/whatis-exp.exp: Likewise.
8217 2009-07-11 Hui Zhu <teawater@gmail.com>
8219 * gdb.base/help.exp (disassemble): Update expected help text.
8221 2009-07-09 Tom Tromey <tromey@redhat.com>
8223 * lib/gdb.exp: Handle TRANSCRIPT.
8224 (remote_spawn, remote_close, send_gdb): New procs.
8226 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
8228 * gdb.python/python-prettyprint.c: Add counted null string
8230 * gdb.python/python-prettyprint.exp: Print null string. Test for
8232 * gdb.python/python-prettyprint.py (pp_ns): New Function.
8233 * gdb.python/python-value.exp (test_value_in_inferior): Add
8234 variable length string fetch tests.
8235 * gdb.python/python-value.c (main): Add strings for string fetch tests.
8237 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8239 * gdb.base/dump.exp (inaccessible memory is reported): New test.
8241 2009-07-07 Tom Tromey <tromey@redhat.com>
8243 * gdb.base/call-rt-st.exp: Update for change to escape output.
8244 * gdb.base/callfuncs.exp: Likewise.
8245 * gdb.base/charset.exp: Likewise.
8246 * gdb.base/constvars.exp: Likewise.
8247 * gdb.base/long_long.exp: Likewise.
8248 * gdb.base/pointers.exp: Likewise.
8249 * gdb.base/printcmds.exp: Likewise.
8250 * gdb.base/setvar.exp: Likewise.
8251 * gdb.base/store.exp: Likewise.
8252 * gdb.cp/ref-types.exp: Likewise.
8253 * gdb.mi/mi-var-child.exp: Likewise.
8254 * gdb.mi/mi-var-display.exp: Likewise.
8255 * gdb.mi/mi2-var-display.exp: Likewise.
8256 * gdb.base/charset.exp: Test octal escape sequence length.
8257 Update for change to escape output.
8259 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8261 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
8263 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
8265 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
8267 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8269 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
8270 gdbserver increasing $portnum if "Can't bind address" has been seen.
8272 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8274 * gdb.base/ending-run.exp: Add "step out of main" pattern for
8277 2009-07-05 Pedro Alves <pedro@codesourcery.com>
8279 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
8282 2009-07-02 Pedro Alves <pedro@codesourcery.com>
8284 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
8285 linux. Adjust to use "inferior", "info inferiors", "detach
8286 inferior" and "kill inferior" instead of "restart", "info fork",
8287 "detach fork" and "delete fork".
8288 * gdb.base/ending-run.exp: Spell out "info".
8289 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
8292 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8294 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
8295 change to prefix TLS offset in hex with 0x.
8297 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8299 * gdb.base/default.exp: Update test case for "x" changes.
8301 2009-07-01 Tristan Gingold <gingold@adacore.com>
8303 * gdb.base/bigcore.exp: Make darwin untested.
8305 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8307 * gdb.base/completion.exp (directory completion): Create the directory.
8308 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
8310 (directory completion 2): Expect now ${escapeuniquesub}.
8311 (Glob remaining of directory test): Remove one excessive newline.
8312 Expect the real output.
8314 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8316 Fix `make check//%' target after `make check' has been ran.
8317 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
8319 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
8322 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8324 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
8325 the expected result record.
8327 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8329 Remove racy FAILs relying just on the timeouts.
8330 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
8331 (annotation_level 2): Remove racy FAILs.
8333 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
8336 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
8338 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
8340 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
8342 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
8344 * gdb.mi/mi-stack.exp: Testing symbolic options
8345 to -stack-list-locals and -stack-list-arguments.
8347 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8349 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
8351 2009-06-29 Tom Tromey <tromey@redhat.com>
8353 * dg-extract-results.sh: New file.
8354 * Makefile.in (FORCE_PARALLEL): New variable.
8355 (CHECK_TARGET): New conditional variable.
8356 (check): Use CHECK_TARGET.
8357 (DO_RUNTEST): New variable.
8358 (check-single): New target.
8359 (TEST_DIRS): New variable.
8360 (TEST_TARGETS): Likewise.
8361 (check-parallel): New target.
8362 (check-gdb.%): New pattern.
8363 (BASE1_FILES): New variable.
8364 (BASE2_FILES): Likewise.
8365 (check-gdb.base%): New pattern.
8366 (%/.dir): New pattern.
8367 * configure: Rebuild.
8368 * aclocal.m4 (AM_CONDITIONAL): New defun.
8369 * configure.ac: Check whether user is using GNU make.
8370 (GMAKE): New conditional.
8372 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
8374 * gdb.cp/namespace-nested-import.cc: New test.
8375 * gdb.cp/namespace-nested-import.exp: New test.
8377 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
8379 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
8380 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
8381 * gdb.opt/Makefile.in (EXECUTABLES): Update.
8382 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
8383 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
8384 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
8385 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
8386 gdb.opt/inline-markers.c: New files.
8387 * lib/gdb.exp (skip_inline_frame_tests): New function.
8388 (skip_inline_var_tests): New function.
8390 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
8392 * gdb.cp/exception.exp: Don't require $hex before inner frame in
8395 2009-06-27 Michael Snyder <msnyder@vmware.com>
8397 * gdb.reverse: New directory.
8398 * gdb.reverse/break-reverse.c: New test.
8399 * gdb.reverse/break-reverse.exp: New test.
8400 * gdb.reverse/consecutive-reverse.c: New test.
8401 * gdb.reverse/consecutive-reverse.exp: New test.
8402 * gdb.reverse/finish-reverse.c: New test.
8403 * gdb.reverse/finish-reverse.exp: New test.
8404 * gdb.reverse/machinestate.c: New test.
8405 * gdb.reverse/ms1.c: New test.
8406 * gdb.reverse/machinestate.exp: New test.
8407 * gdb.reverse/Makefile.in: New file.
8408 * gdb.reverse/shr2.c: New test.
8409 * gdb.reverse/solib-reverse.c: New test.
8410 * gdb.reverse/solib-reverse.exp: New test.
8411 * gdb.reverse/step-reverse.c: New test.
8412 * gdb.reverse/step-reverse.exp: New test.
8413 * gdb.reverse/until-reverse.c: New test.
8414 * gdb.reverse/ur1.c: New test.
8415 * gdb.reverse/until-reverse.exp: New test.
8416 * gdb.reverse/watch-reverse.c: New test.
8417 * gdb.reverse/watch-reverse.exp: New test.
8418 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
8419 * configure: Regenerate.
8421 2009-06-26 Doug Evans <dje@google.com>
8423 * gdb.base/psymtab.exp: Turn off pending breakpoints.
8425 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
8427 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
8428 windows problem for 'file delete $binfile'.
8430 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
8432 * gdb.cp/namespace-using.exp: New test.
8433 * gdb.cp/namespace-using.cc: New test.
8435 2009-05-20 Joel Brobecker <brobecker@adacore.com>
8437 * gdb.ada/variant_record_packed_array: New testcase.
8439 2009-06-23 Tom Tromey <tromey@redhat.com>
8441 * gdb.base/charset.exp (test_combination): Regression test.
8442 * gdb.base/charset.c (my_wchar_t): New typedef.
8443 (myvar): New global.
8446 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
8448 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
8451 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8453 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
8455 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8457 * gdb.mi/gdb680.exp: Update test for error message.
8459 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8461 * gdb.base/annota1.exp: Allow multiple occurrences of the
8462 frames-invalid annotation.
8463 * gdb.cp/annota2.exp: Likewise.
8465 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
8467 * gdb.cp/gdb2495.cc: New file.
8468 * gdb.cp/gdb2495.exp: New file.
8470 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8472 Report error on GDB crash during runto.
8473 * lib/gdb.exp (runto <eof>): New.
8475 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
8477 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
8478 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
8479 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
8480 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
8481 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
8482 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
8483 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
8484 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
8485 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
8486 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
8487 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
8488 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
8489 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
8490 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
8491 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
8492 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
8493 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
8494 gdb.server/server-mon.exp, gdb.server/server-run.exp,
8495 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
8496 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
8497 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
8498 gdb.trace/passcount.exp, gdb.trace/report.exp,
8499 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
8500 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
8501 gdb.trace/while-stepping.exp: Use a unique name for the compiled
8504 2009-06-07 Pedro Alves <pedro@codesourcery.com>
8506 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
8507 defined before referencing it.
8509 2009-06-03 Doug Evans <dje@google.com>
8511 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
8512 * gdb.arch/i386-see.c: Ditto.
8514 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
8516 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
8517 (check_macro): Return 1 if undefined.
8518 If first test fails, check if macro debug information is available,
8519 and report unsupported test if no macro information is found.
8521 2009-05-29 Doug Evans <dje@google.com>
8523 * gdb.threads/hand-call-in-threads.exp: New.
8524 * gdb.threads/hand-call-in-threads.c: New.
8526 2009-05-29 Michael Snyder <msnyder@vmware.com>
8528 * gdb.base/break-always.exp: Change "1" to "on".
8529 Add confirmation check.
8531 2009-05-28 Pedro Alves <pedro@codesourcery.com>
8533 * gdb.threads/threxit-hop-specific.c: New.
8534 * gdb.threads/threxit-hop-specific.exp: New.
8535 * gdb.threads/thread-execl.c: New.
8536 * gdb.threads/thread-execl.exp: New.
8538 2009-05-27 Tom Tromey <tromey@redhat.com>
8539 Thiago Jung Bauermann <bauerman@br.ibm.com>
8541 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
8542 (mi_child_regexp): Likewise.
8543 (mi_list_varobj_children_range): Likewise.
8544 (mi_get_features): Likewise.
8545 (mi_list_varobj_children): Rewrite.
8546 * gdb.python/python-mi.exp: New file.
8548 2009-05-27 Tom Tromey <tromey@redhat.com>
8549 Thiago Jung Bauermann <bauerman@br.ibm.com>
8550 Phil Muldoon <pmuldoon@redhat.com>
8551 Paul Pluzhnikov <ppluzhnikov@google.com>
8553 * gdb.python/python-prettyprint.exp: New file.
8554 * gdb.python/python-prettyprint.c: New file.
8555 * gdb.python/python-prettyprint.py: New file.
8556 * gdb.base/display.exp: print/r is now valid.
8558 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
8559 Tom Tromey <tromey@redhat.com>
8560 Pedro Alves <pedro@codesourcery.com>
8561 Paul Pluzhnikov <ppluzhnikov@google.com>
8563 * gdb.python/python-template.exp: New file.
8564 * gdb.python/python-template.cc: New file.
8565 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8567 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8569 (test_value_after_death): New proc.
8570 * gdb.python/python-value.c (PTR): New typedef.
8571 (main): New variable 'x'.
8573 2009-05-27 Tom Tromey <tromey@redhat.com>
8575 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
8577 * gdb.python/python-value.exp (py_objfile_tests): New proc.
8580 2009-05-27 Pedro Alves <pedro@codesourcery.com>
8582 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
8584 2009-05-24 Pedro Alves <pedro@codesourcery.com>
8586 * gdb.threads/fork-thread-pending.c: New.
8587 * gdb.threads/fork-thread-pending.exp: New.
8589 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
8591 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
8592 * gdb.dwarf2/dw2-strp.S (a_string2): New.
8594 2009-05-18 Jon Beniston <jon@beniston.com>
8596 * gdb.asm/asm-source.exp: Add lm32 target.
8598 2009-05-17 Pedro Alves <pedro@codesourcery.com>
8600 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
8601 `gdb_get_line_number'. Call `callee' in both parent and child.
8602 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
8603 `gdb_get_line_number' instead of hardcoding line numbers.
8604 (catch_fork_unpatch_child): New procedure to test detaching
8605 breakpoints from child fork.
8606 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
8607 hardcoding line numbers.
8608 (do_fork_tests): Run `catch_fork_unpatch_child'.
8610 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
8612 * gdb.mi/mi-cmd-var.exp: Check that when varobj
8613 of structure type enters or leaves the scope, it
8614 is reported by -var-update.
8616 2009-05-11 Doug Evans <dje@sebabeach.org>
8618 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
8619 * gdb.threads/pending-step.c (main): Fix off-by-one error.
8620 * gdb.threads/schedlock.c (main): Fix off-by-one error.
8622 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8624 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
8626 2009-04-30 Doug Evans <dje@google.com>
8628 * gdb.threads/watchthreads2.exp: New testcase.
8629 * gdb.threads/watchthreads2.c: New testcase.
8631 2009-04-29 Doug Evans <dje@google.com>
8633 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
8634 * gdb.cp/mb-ctor.cc: Ditto.
8635 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
8636 * gdb.cp/mb-inline.h (multi_line_foo): New function.
8637 * gdb.cp/mb-inline1.cc: Call it.
8638 * gdb.cp/mb-inline2.cc: Ditto.
8639 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
8640 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
8642 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8644 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
8645 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
8646 Replace all uses of `decimal' by `nonzero'.
8647 (info macro FROM_COMMANDLINE): New test.
8649 2009-04-27 Tom Tromey <tromey@redhat.com>
8651 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
8653 2009-04-27 Doug Evans <dje@google.com>
8655 * gdb.threads/watchthreads.c (main): Initialize args before starting
8656 the threads. Plus formatting cleanup.
8657 * gdb.threads/watchthreads.exp: Avoid errant failures due to
8658 biased scheduling of one thread.
8660 2009-04-27 Jerome Guitton <guitton@adacore.com>
8662 * gdb.cp/templates.cc (GetMax): New template.
8663 (main): Declare two instances of GetMax.
8664 * gdb.cp/templates.exp: Add new test.
8666 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8668 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
8670 2009-04-22 Joseph Myers <joseph@codesourcery.com>
8672 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
8674 2009-04-15 Tom Tromey <tromey@redhat.com>
8676 * gdb.base/charset.exp: Add regression test.
8678 2009-04-14 Joel Brobecker <brobecker@adacore.com>
8680 * gdb.base/exe-lock.exp: New testcase.
8682 2009-04-13 Tom Tromey <tromey@redhat.com>
8684 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
8687 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
8689 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
8690 * gdb.server/ext-attach.exp: Likewise.
8692 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
8694 Eliminate some sleep usage.
8696 * gdb.mi/basics.c (do_nothing): New.
8697 (main): Use do_nothing instead of printf, so that
8698 not to introduce race condition between output of
8699 inferiour and output of gdb. Do not use sleep as it
8700 is not generally available on embedded targets.
8702 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8704 * gdb.server/ext-attach.exp: Expect an optional process id after
8705 "Detached from remote process".
8707 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8709 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
8710 gdb.dwarf2/dw2-unresolved.exp: New.
8712 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8714 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
8717 2009-04-02 Pedro Alves <pedro@codesourcery.com>
8719 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
8720 mi_run_to_main. Skip thread exit test on remote targets.
8721 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
8723 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
8725 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
8726 when expecting ^connected. Detect when the target doesn't support
8728 (mi_run_cmd): Detect if non-stop mode was requested by isn't
8729 supported. Return -1 on error, 0 on success.
8730 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
8731 (mi_runto): Return mi_runto_helper's result explicitly.
8733 2009-04-01 Pedro Alves <pedro@codesourcery.com>
8735 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
8737 2009-04-01 Tom Tromey <tromey@redhat.com>
8739 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
8740 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
8741 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
8742 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
8744 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
8745 Jan Kratochvil <jan.kratochvil@redhat.com>
8748 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
8750 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
8752 * dw2-strp.S (DW_AT_language): Change to C++.
8753 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
8755 2009-03-31 Joel Brobecker <brobecker@adacore.com>
8757 * gdb.ada/tasks: New testcase.
8759 2009-03-30 Stan Shebs <stan@codesourcery.com>
8761 * gdb.trace/actions.exp: Update to match new info trace format.
8762 * gdb.trace/deltrace.exp: Ditto.
8763 * gdb.trace/infotrace.exp: Ditto.
8764 * gdb.trace/passcount.exp: Ditto.
8765 * gdb.trace/save-trace.exp: Ditto.
8766 * gdb.trace/while-stepping.exp: Ditto.
8767 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
8769 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
8771 * gdb.python/python-frame.c: New file.
8772 * gdb.python/python-frame.exp: New file.
8774 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
8776 * gdb.python/python-value.exp: Add tests for the address
8779 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
8781 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
8783 2009-03-26 Doug Evans <dje@google.com>
8785 * gdb.mi/mi-nonstop-exit.exp: New file.
8786 * gdb.mi/non-stop-exit.c: New file.
8788 2009-03-26 Tom Tromey <tromey@redhat.com>
8790 Update for change to prologue skipping:
8791 * gdb.mi/mi2-simplerun.exp: Update.
8792 * gdb.mi/mi2-break.exp: Update.
8793 * gdb.mi/mi-simplerun.exp: Update.
8794 * gdb.mi/mi-break.exp: Update.
8795 * gdb.base/ending-run.exp: Update.
8797 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
8799 * gdb.python/python-value.exp (test_value_in_inferior): Test
8800 gdb.Value.is_optimized_out attribute.
8802 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
8804 * gdb.dwarf2/dw2-noloc-main.c: New file.
8805 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
8808 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
8809 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
8810 (DW_TAG_subprogram func_cu1, noloc): Remove.
8812 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
8813 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
8814 (file_symbols): New procedure.
8816 2009-03-25 Tom Tromey <tromey@redhat.com>
8818 * gdb.base/charset.exp (valid_target_charset): New proc.
8819 Use it to skip tests on invalid charsets.
8821 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
8823 * gdb.base/completion.exp: Add a test for directory completion.
8825 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8828 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
8829 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
8831 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
8833 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
8834 * gdb.python/python-function.exp: Add test for function returning
8837 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
8839 * gdb.python/python-function.exp: New file.
8841 2009-03-20 Tom Tromey <tromey@redhat.com>
8843 * gdb.base/store.exp: Update for change to escape output.
8844 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
8846 * gdb.base/pointers.exp: Update for change to escape output.
8847 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
8849 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
8851 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
8853 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
8855 * gdb.base/setvar.exp: Update for change to escape output.
8856 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
8857 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
8859 (test_print_string_constants): Likewise.
8860 * gdb.base/charset.exp (valid_host_charset): Check size of
8861 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
8862 cases. Handle "auto"-related output.
8863 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
8864 (uvar, Uvar): New globals.
8866 2009-03-19 Jerome Guitton <guitton@adacore.com>
8868 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
8870 * gdb.ada/fixed_points.exp: Ditto.
8872 2009-03-18 Pedro Alves <pedro@codesourcery.com>
8874 * return-nodebug.c: Don't include stdio.h.
8876 (func): Delete definition and provide extern declaration.
8878 (main): Don't call printf. Call func and store its result in t.
8879 * return-nodebug1.c: New.
8880 * return-nodebug.exp: Don't expect stdio output. Instead, print
8881 the global variable t. Drop printf formatters and cast types from
8882 foreach loop. Don't use prepare_for_testing. Compile
8883 return-nodebug.c and return-nodebug1.c in separate steps. Don't
8884 define FORMAT or CAST.
8886 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8888 * gdb.base/solib-display.exp: Disable test for remote targers.
8890 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8892 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
8894 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8897 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
8898 code from `follow parent, print pids'.
8899 (`follow child, print pids', `follow parent, print pids'): Call it.
8900 Replace `gdb_test "break..."' by gdb_breakpoint.
8902 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
8904 * gdb.mi/mi-cli.exp: Adjust for output difference in
8905 sync and async modes.
8907 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8909 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
8910 that was checked in by mistake. Remove loading of ada.exp, since
8911 this is not necessary in this case.
8913 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8915 * gdb.ada/ptype_arith_binop.exp: New testcase.
8917 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8919 * gdb.ada/mod_from_name: New testcase.
8921 2009-03-12 Joel Brobecker <brobecker@adacore.com>
8923 * gdb.ada/tick_last_segv: New testcase.
8925 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8927 * gdb.mi/mi-cli.exp: Remove debug print.
8929 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
8931 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
8932 include the token in ^running and frame info in *stopped.
8934 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8936 * solib-display.exp: New file.
8937 * solib-display-main.c: New file.
8938 * solib-display-lib.c: New file.
8940 2009-03-05 Pedro Alves <pedro@codesourcery.com>
8942 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
8944 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8946 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
8947 (list_and_check_macro): Use more specific test name.
8948 (next to definition): Make the test names unique.
8950 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
8952 * gdb.pascal/floats.exp: Accept approximate results everywhere.
8954 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8956 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
8958 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
8959 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
8960 * lib/mi-support.exp (library_loaded_re): New.
8961 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
8963 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
8965 * gdb.gdb/observer.exp: Use test_notification observer, not
8966 normal_stop, everywhere.
8967 (test_normal_stop_notifications): Rename to...
8968 (test_notifications): ...this.
8969 (test_observer_normal_stop): Rename to...
8970 (test_observer): ...this.
8972 2009-02-16 Doug Evans <dje@google.com>
8974 * gdb.arch/amd64-disp-step.S (test_int3): New test.
8975 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
8976 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
8977 (test_prefixed_syscall,test_int3): New tests.
8978 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
8979 (test_prefixed_syscall,test_int3): New tests.
8981 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
8983 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
8984 (mi_expect_interrupt): Likewise.
8985 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
8988 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8990 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
8991 * gdb.base/pc-fp.exp (get_valueofx): Remove.
8992 Replace calls to get_valueofx by get_hexadecimal_valueof.
8994 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
8996 * lib/gdb.exp (get_valueof): Accept anything as a return value.
8997 (get_integer_valueof): New procedure.
8998 (get_sizeof): Use new get_integer_value_of.
8999 * gdb.base/sizeof.exp: Replace all uses of get_valueof
9000 by get_integer_valueof.
9002 2009-02-13 Tom Tromey <tromey@redhat.com>
9004 * gdb.base/remote.exp (get_sizeof): Remove.
9005 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
9006 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
9007 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
9008 * lib/gdb.exp (get_valueof): Move from long_long.exp.
9009 (get_sizeof): Likewise.
9011 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
9014 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
9016 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9018 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
9020 2009-02-06 Pedro Alves <pedro@codesourcery.com>
9022 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
9024 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
9026 * gdb.python/python-cmd.exp: New file.
9028 2009-02-06 Tristan Gingold <gingold@adacore.com>
9030 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
9032 2009-02-05 Tristan Gingold <gingold@adacore.com>
9034 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
9035 pointer is dereferenced and use this signal name in regexp.
9036 * gdb.base/signull.exp: Ditto.
9037 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
9038 * gdb.base/signull.c (main): Ditto.
9040 2009-02-04 Tom Tromey <tromey@redhat.com>
9041 Thiago Jung Bauermann <bauerman@br.ibm.com>
9043 * gdb.python/python-value.exp: Use `gdb.history' instead of
9044 `gdb.value_from_history'.
9045 (test_value_numeric_ops): Add test for conversion of enum constant.
9046 * gdb.python/python-value.c (enum e): New type.
9047 (evalue): New global.
9050 2009-02-04 Jerome Guitton <guitton@adacore.com>
9052 * gdb.ada/uninitialized_vars: New test program.
9053 * gdb.ada/uninitialized_vars.exp: New testcase.
9055 2009-02-02 Tom Tromey <tromey@redhat.com>
9057 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
9058 * gdb.cp/pr2489.cc: Rename...
9059 * gdb.cp/pr9594.cc: ... to this.
9061 2009-02-02 Tom Tromey <tromey@redhat.com>
9063 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
9064 * gdb.cp/pr2489.cc: New file.
9065 * gdb.cp/cpcompletion.exp: New file.
9067 2009-02-02 Tom Tromey <tromey@redhat.com>
9070 * gdb.cp/call-c.exp: Add regression test.
9071 * gdb.cp/call-c.cc (FooHandle): New typedef.
9072 (main): New variable 'handle'.
9074 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9076 * lib/mi-support.exp (et_mi_thread_list)
9077 (check_mi_and_console_threads): Adjust for current thread in
9078 -thread-list-ids output.
9080 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
9082 * gdb.mi/mi-break.exp (test_disabled_creation): New.
9085 2009-01-28 Doug Evans <dje@google.com>
9087 * gdb.arch/amd64-disp-step.S: New file.
9088 * gdb.arch/amd64-disp-step.exp: New file.
9089 * gdb.arch/i386-disp-step.S: New file.
9090 * gdb.arch/i386-disp-step.exp: New file.
9092 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
9094 * gdb.base/find.exp: Set newline variable
9095 using quotes instead of braces to fix cygwin failures.
9097 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9099 * gdb.base/radix.exp: Add tests to ensure that that set
9100 input-radix 0 and set output-radix 0 are really rejected.
9102 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9104 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
9107 2009-01-23 Pedro Alves <pedro@codesourcery.com>
9110 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
9112 2009-01-22 Pedro Alves <pedro@codesourcery.com>
9115 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
9117 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
9119 * gdb.server/file-transfer.exp: Use EXEEXT variable for
9120 binfile definition to fix Windows OS failure.
9122 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
9125 * gdb.base/interrupt.c (sigint_handler): New.
9126 (main): Install a SIGINT handler if SIGNALS is defined. Exit
9128 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
9129 Test "signal SIGINT".
9131 2009-01-19 Doug Evans <dje@google.com>
9133 * gdb.base/break.exp: Update expected gdb output.
9134 * gdb.base/sepdebug.exp: Ditto.
9135 * gdb.mi/mi-syn-frame.exp: Ditto.
9136 * gdb.mi/mi2-syn-frame.exp: Ditto.
9137 * gdb.base/call-signal-resume.exp: New file.
9138 * gdb.base/call-signals.c: New file.
9139 * gdb.base/unwindonsignal.exp: New file.
9140 * gdb.base/unwindonsignal.c: New file.
9141 * gdb.threads/interrupted-hand-call.exp: New file.
9142 * gdb.threads/interrupted-hand-call.c: New file.
9143 * gdb.threads/thread-unwindonsignal.exp: New file.
9145 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
9147 * gdb.base/define.exp: Test defining and hooking prefix commands.
9148 * gdb.python/python.exp: Update test for "show user" output.
9150 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9152 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
9153 now the output exactly, using less wildcards. Expect also the output
9154 of gfortran-4.3. Update for the f-valprint.c modification from
9156 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
9157 Remove gdb_test test names where matching the command.
9159 2009-01-01 Pedro Alves <pedro@codesourcery.com>
9161 PR breakpoints/9681:
9162 * gdb.base/watchpoint.exp: Add regression test.
9164 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9166 * gdb.threads/attach-into-signal.exp: Don't use
9167 gdb_suppress_entire_file.
9168 * gdb.threads/attach-stopped.exp: Ditto.
9169 * gdb.threads/attachstop-mt.exp: Ditto.
9171 2008-12-31 Pedro Alves <pedro@codesourcery.com>
9174 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
9176 2008-12-29 Pedro Alves <pedro@codesourcery.com>
9179 * gdb.base/radix.exp: Add tests to ensure invalid input radices
9180 and unsupported output radices are really rejected.
9182 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
9184 * gdb.cp/punctuator.exp: Backslash the '$' signs.
9186 2008-12-22 Tom Tromey <tromey@redhat.com>
9188 * gdb.cp/punctuator.exp: New file.
9190 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9192 * gdb.base/completion.exp (Completing non-existing component): New test.
9194 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9196 Fix for PR gdb/8648.
9197 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
9198 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
9199 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
9200 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
9202 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9204 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
9206 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
9208 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
9209 compiler actually generate code at the expected line number.
9211 2008-12-15 Jie Zhang <jie.zhang@analog.com>
9213 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
9215 2008-12-12 Tom Tromey <tromey@redhat.com>
9217 * gdb.base/commands.exp (redefine_hook_test): New proc.
9220 2008-12-11 Tom Tromey <tromey@redhat.com>
9222 * gdb.base/macscp.exp: New regression test.
9224 2008-12-11 Tom Tromey <tromey@redhat.com>
9226 * gdb.base/macscp.exp: Print "address.addr".
9227 * gdb.base/macscp1.c (struct outer): New struct.
9228 (address): New global.
9230 2008-12-09 Tom Tromey <tromey@redhat.com>
9232 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
9235 2008-12-04 Doug Evans <dje@google.com>
9237 * gdb.server/ext-run.exp: Relax regexp for init program.
9239 2008-12-03 Tristan Gingold <gingold@adacore.com>
9241 * gdb.base/macscp.exp: Generate an object file during compilation
9242 to work around Darwin dsymutil limitations.
9244 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9246 Test resolving external references to TLS variables.
9247 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
9249 (testfile2, srcfile2): New variables.
9250 * gdb.threads/tls.c (file2_thread_local)
9251 (function_referencing_file2_thread_local): New.
9252 * gdb.threads/tls2.c: New file.
9254 2008-11-28 Joel Brobecker <brobecker@adacore.com>
9256 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
9257 rather than integer, as integer might not be big enough when
9260 2008-11-27 Jerome Guitton <guitton@adacore.com>
9262 * gdb.cp/formatted-ref.exp: Add equality test.
9263 * gdb.ada/formatted_ref.exp: Ditto.
9265 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9267 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
9268 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
9270 2008-11-20 Andreas Schwab <schwab@suse.de>
9272 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
9273 matching syscall entry point.
9274 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
9275 (tcatch_vfork_then_child_follow): Likewise. Finish through
9276 vfork even if we stopped at the syscall trampoline.
9278 2008-11-20 Doug Evans <dje@google.com>
9280 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
9282 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
9284 * gdb.arch/ppc-dfp.exp: New file.
9285 * gdb.arch/ppc-dfp.c: New file.
9287 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9289 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
9291 2008-11-17 Doug Evans <dje@google.com>
9293 * gdb.mi/mi-syn-frame.exp: Update expected output.
9294 * gdb.mi/mi2-syn-frame.exp: Update expected output.
9296 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9298 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
9299 "thread N" results in =thread-selected.
9300 * lib/mi-support (mi_run_cmd, mi_expect_stop)
9301 (mi_send_resuming_command_raw): Be prepared for
9304 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
9306 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
9307 * lib/mi-support.exp: Likewise.
9309 2008-11-16 Joel Brobecker <brobecker@adacore.com>
9311 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
9312 commands from the expected output for "help catch".
9314 2008-11-15 Joel Brobecker <brobecker@adacore.com>
9316 * gdb.ada/int_deref.exp: New testcase.
9318 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
9320 * gdb.mi/gdb2549.exp: New file.
9322 2008-11-11 Doug Evans <dje@google.com>
9324 * gdb.base/callexit.exp: New file.
9325 * gdb.base/callexit.c: New file.
9327 2008-11-10 Doug Evans <dje@google.com>
9329 * lib/gdb.exp (GDBFLAGS): Move -nx ...
9330 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
9331 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
9332 (default_gdb_start,default_gdb_exit): Ditto.
9333 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
9334 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
9335 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
9336 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
9337 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
9338 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
9340 2008-11-03 Andreas Schwab <schwab@suse.de>
9342 * gdb.base/hashline2.exp: Fix typo.
9343 * gdb.base/hashline3.exp: Likewise.
9345 2008-10-30 Tom Tromey <tromey@redhat.com>
9347 * gdb.base/pointers.exp: Add test.
9348 * gdb.base/pointers.c (k, S): New typedefs.
9349 (instance): New global.
9351 2008-10-30 Andreas Schwab <schwab@suse.de>
9353 * gdb.base/args.exp: Add tests for newlines.
9355 2008-10-30 Joel Brobecker <brobecker@adacore.com>
9357 gdb.base/foll-exec.exp: Update the expected output of a couple
9358 of "info breakpoints" tests.
9360 2008-10-28 Tom Tromey <tromey@redhat.com>
9362 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
9364 2008-10-24 Pedro Alves <pedro@codesourcery.com>
9366 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
9368 Use runto_main before any test that requires execution.
9370 2008-10-23 Pedro Alves <pedro@codesourcery.com>
9372 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
9375 2008-10-22 Joel Brobecker <brobecker@adacore.com>
9377 * gdb.base/completion.exp: Update expected output following
9378 the addition of the "info tasks" command.
9380 2008-10-22 Tom Tromey <tromey@redhat.com>
9382 * gdb.base/exprs.exp (test_expr): Add test for string
9385 2008-10-19 Pedro Alves <pedro@codesourcery.com>
9387 * configure.ac: Output gdb.python/Makefile.
9388 * configure: Regenerate.
9389 * gdb.python/Makefile.in: New.
9391 2008-10-16 Joel Brobecker <brobecker@adacore.com>
9393 * gdb.base/foll-fork.exp: Adjust the expected output to match
9394 the new description for fork/vfork catchpoints in the "info
9395 breakpoints" output.
9397 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9399 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
9401 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9403 * gdb.python/python-value.c: New file.
9404 * gdb.python/python-value.exp: New file.
9406 2008-10-15 Pedro Alves <pedro@codesourcery.com>
9408 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
9410 2008-10-15 Denis Pilat <denis.pilat@st.com>
9412 * gdb.cp/mb-ctor.exp: Fix a typo.
9414 2008-10-09 Tom Tromey <tromey@redhat.com>
9416 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
9417 'fprintf' and 'stderr'.
9419 2008-10-07 Joel Brobecker <brobecker@adacore.com>
9421 * gdb.ada/ref_tick_size.exp: New testcase.
9423 2008-10-06 Doug Evans <dje@google.com>
9425 * gdb.dwarf2/dw2-cu-size.exp: New file.
9426 * gdb.dwarf2/dw2-cu-size.S: New file.
9428 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
9429 .Ltype_int for clarity.
9431 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
9434 * gdb.cp/gdb2384.exp: Extended to test more cases.
9435 * gdb.cp/gdb2384.cc: Likewise.
9436 * gdb.cp/gdb2384-base.h: Likewise.
9437 * gdb.cp/gdb2384-base.cc: Likewise.
9439 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9441 * gdb.base/maint.exp (maint print type): Remove printing
9442 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
9444 2008-09-30 Tom Tromey <tromey@redhat.com>
9446 * gdb.base/macscp.exp: Add completion tests.
9447 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
9448 (TWENTY_THREE): Likewise.
9449 (FORTY_EIGHT): Likewise.
9451 2008-09-30 Tom Tromey <tromey@redhat.com>
9453 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
9455 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
9457 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9459 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
9460 testcase is derived from. Fix racy dependency on an expected PID
9461 number. No longer support the testcase on Linux kernel 2.4.x.
9463 2008-09-27 Tom Tromey <tromey@redhat.com>
9465 * gdb.base/macscp.exp: Add tests for stringification, splicing,
9468 2008-09-22 Pedro Alves <pedro@codesourcery.com>
9470 * lib/mi-support.exp (mi_expect_interrupt): New.
9471 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
9472 from gdb.mi/mi-nonstop.exp.
9473 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
9474 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
9476 Use mi_check_thread_states throughout. Avoid ".*" and do not
9477 require an anchor after -exec-run.
9479 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
9481 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
9482 stop is pending. Avoid ".*" when two stops are pending.
9483 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
9484 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
9485 newlines in fullnames.
9486 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
9487 (mi_expect_stop): Update comments. Only anchor in sync mode.
9488 Do not match newlines.
9489 (mi_send_resuming_command_raw): Always return status.
9490 (mi_get_stop_line): Do not match more than one line by accident.
9491 Only anchor in sync mode.
9492 (mi_run_inline_test): If -exec-next fails, give up.
9494 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9496 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
9499 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9501 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
9503 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9505 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
9506 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
9507 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
9508 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
9509 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
9510 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
9511 gdb.ada/interface.exp, gdb.ada/null_array.exp,
9512 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
9513 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
9514 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
9515 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
9516 Include the "= " sequence in the expected output of print tests.
9518 2008-09-10 Joel Brobecker <brobecker@adacore.com>
9520 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
9521 description for boolean types.
9523 2008-09-09 Pedro Alves <pedro@codesourcery.com>
9525 * gdb.base/hook-stop-continue.c: New.
9526 * gdb.base/hook-stop-continue.exp: New.
9528 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
9530 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
9532 2008-09-08 Jerome Guitton <guitton@adacore.com>
9534 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
9535 (stack_check_probe_2, stack_check_probe_loop_1)
9536 (stack_check_probe_loop_2): New functions.
9537 (main): Add call to these new functions.
9538 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
9539 functions, check that the breakpoint is inserted at the appropriate
9541 (insert_breakpoint): Slightly refine this procedure so that it can
9542 be called several times in the test.
9544 2008-09-08 Jerome Guitton <guitton@adacore.com>
9546 * gdb.base/stack-checking.c: New file.
9547 * gdb.base/stack-checking.exp: New file.
9549 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9551 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
9552 * gdb.arch/altivec-regs.exp: Likewise.
9553 * gdb.arch/vsx-regs.exp: Likewise.
9555 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
9557 * gdb.arch/ppc-fp.exp: New file.
9558 * gdb.arch/ppc-fp.c: New file.
9560 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9562 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
9563 lest gcc-4.3.1 optimizes the whole thing away.
9565 2008-09-04 Michael Snyder <msnyder@vmware.com>
9567 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
9568 as "at" (for non-debug functions such as _start).
9570 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9572 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
9573 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
9574 software watchpoints.
9575 * gdb.base/watch_thread_num.exp: Likewise.
9577 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
9579 * gdb.arch/i386-bp_permanent.exp: New test.
9581 2008-08-24 Tom Tromey <tromey@redhat.com>
9583 * gdb.base/maint.exp: Update "maint print type".
9585 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
9587 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
9588 support. Adjust the order of "*running" notifications.
9589 * gdb.mi/non-stop.c: Don't cast from int to void* and
9592 2008-08-20 Mark Kettenis <kettenis@gnu.org>
9594 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
9595 expect to find it in the "info frame" output.
9597 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
9599 * gdb.base/interp.exp: Always consume both prompts.
9601 2008-08-20 Pedro Alves <pedro@codesourcery.com>
9603 * gdb.base/pending.exp: Test pending breakpoints without symbols
9606 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9608 * lib/mi-support.exp (mi_expect_stop): Produce
9609 more details on failures.
9610 * gdb.mi/mi-nonstop.exp: New.
9611 * gdb.mi/non-stop.c: New.
9613 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
9615 * gdb.mi/mi-async.exp: Use 'set target-async'.
9616 * lib/mi-support.exp: Use 'set/show target-async'.
9618 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
9620 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
9622 2008-08-17 Tom Tromey <tromey@redhat.com>
9624 * gdb.base/help.exp (help catch): Rewrite.
9626 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
9628 * gdb.base/define.exp: Test indented command documentation.
9629 * gdb.python/python.exp: Test indented multi-line command.
9631 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
9633 * testsuite/gdb.arch/vsx-regs.c: New source file.
9634 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
9635 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
9637 2008-08-14 Tom Tromey <tromey@redhat.com>
9639 * gdb.base/macscp.exp: Add regression test for "macro define" or
9640 "macro undef" with no arguments.
9642 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9644 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
9646 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9648 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
9650 2008-08-06 Tom Tromey <tromey@redhat.com>
9652 * gdb.python/python.exp: New file.
9654 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
9656 Fix for PR gdb/1543.
9657 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
9659 (location): New variable.
9660 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
9661 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
9662 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
9663 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
9664 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
9665 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
9666 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
9667 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
9668 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
9669 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
9670 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
9671 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
9672 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
9673 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
9674 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
9675 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
9676 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
9677 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
9678 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
9679 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
9680 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
9681 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
9682 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
9683 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
9684 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
9685 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
9686 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
9687 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
9688 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
9689 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
9690 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
9691 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
9692 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
9693 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
9694 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
9695 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
9696 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
9697 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
9698 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
9699 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
9700 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
9701 gdb.base/type-opaque.exp, gdb.base/until.exp,
9702 gdb.base/value-double-free.c, gdb.base/varargs.exp,
9703 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
9704 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
9705 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9706 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
9707 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
9708 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9709 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9710 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9711 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
9712 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
9713 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
9714 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
9715 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
9716 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
9717 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
9718 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
9719 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
9720 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
9721 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
9722 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
9723 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
9724 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
9725 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
9726 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
9727 gdb.pascal/types.exp, gdb.stabs/weird.exp,
9728 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
9729 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
9730 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
9731 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
9732 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
9733 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
9734 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
9735 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
9736 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
9737 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
9738 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
9739 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
9740 lib/mi-support.exp, lib/trace-support.exp: Remove reference
9741 to bug-gdb@prep.ai.mit.edu .
9743 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
9745 * lib/mi-support.exp (mi_load_shlibs): New.
9746 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
9748 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
9750 * lib/mi-support.exp (get_mi_thread_list)
9751 (check_mi_and_console_threads): New, moved from ...
9752 * gdb.mi/mi-pthread.exp: ...here.
9753 * gdb.mi/gdb669.exp (get_mi_thread_list)
9754 (check_mi_and_console_threads): Delete.
9755 * gdb.mi/mi2-pthread.exp: Likewise.
9757 2008-07-28 Tom Tromey <tromey@redhat.com>
9759 * Makefile.in (just-check): Remove. Move body to...
9762 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9764 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
9765 Add a test for duplicated SIGINTs.
9767 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9769 * gdb.threads/schedlock.exp (get_args): Update to work for any
9771 (Top level): Report the number of threads that did not resume.
9773 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9775 * gdb.dwarf2/dw2-compressed.S: Also define __start.
9777 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
9779 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
9782 2008-07-26 Tom Tromey <tromey@redhat.com>
9784 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
9785 (function_struct, function_struct_ptr): New globals.
9786 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
9787 function pointer in a struct.
9789 2008-07-26 Tom Tromey <tromey@redhat.com>
9791 * gdb.base/macscp.exp: Add test for macro lexing bug.
9793 2008-07-18 Tom Tromey <tromey@redhat.com>
9795 * gdb.base/macscp.exp: Add macro tests.
9797 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9799 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
9801 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
9803 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
9805 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
9807 * gdb.cp/class2.exp: fix for failure on spu-elf
9809 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9811 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
9813 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9815 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
9817 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
9819 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
9821 2008-07-11 Kevin Buettner <kevinb@redhat.com>
9823 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
9824 of regexp to account for changes made to GDB in the printing of
9827 2008-07-11 Tom Tromey <tromey@redhat.com>
9829 * gdb.base/completion.exp: Add 'help' completion test.
9831 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9833 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
9835 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
9837 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
9839 2008-07-09 Pedro Alves <pedro@codesourcery.com>
9841 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
9843 2008-07-09 Pedro Alves <pedro@codesourcery.com>
9845 * gdb.base/fullname.exp: Restore pwd if compiling failed.
9847 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9849 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
9851 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9853 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
9854 previous commit. Add a comment.
9856 2008-06-28 Pedro Alves <pedro@codesourcery.com>
9858 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
9860 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
9862 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
9864 2008-06-27 Pedro Alves <pedro@codesourcery.com>
9866 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
9867 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
9868 compiling an executable, link in an object that forces unbuffered
9870 * lib/set_unbuffered_mode.c: New file.
9872 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9874 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
9876 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
9878 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
9880 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
9881 Demand that *running is output.
9882 (detect_async): Perform checking every time.
9883 (mi_send_resuming_command): Extract everything into...
9884 (mi_send_resuming_command_raw): ...this.
9885 (mi_expect_stop): Don't accept any output before *stopped.
9887 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
9889 Robustify mi-simplerun.
9890 * gdb.mi/basics.c (main): Add a call to sleep.
9891 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
9892 * gdb.mi/mi2-cli.exp: Likewise.
9893 * gdb.mi/mi-break.exp: Likewise.
9895 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
9897 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
9899 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9901 * gdb.mi/mi-console.exp: Adjust.
9902 * gdb.mi/mi-syn-frame.exp: Adjust.
9903 * gdb.mi/mi2-console.exp: Adjust.
9904 * gdb.mi/mi2-syn-frame.exp: Adjust.
9905 * lib/mi-support.exp (mi_run_cmd): Adjust.
9906 (mi_send_resuming_command): Adjust.
9908 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
9910 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
9911 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
9913 * gdb.mi/mi2-syn-frame.exp: Likewise.
9914 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
9915 (async, detect_async): New.
9916 (mi_expect_stop, mi_continue_to_line): Adjust expectation
9917 depending on if we're running in sync or async mode.
9919 2008-06-09 Tom Tromey <tromey@redhat.com>
9921 * gdb.base/completion.exp: New tests for field name completion
9922 with spaces, and field name completion with '->'.
9924 2008-06-06 Tom Tromey <tromey@redhat.com>
9926 * gdb.base/break1.c (struct some_struct): New struct.
9927 (values): New global.
9928 * gdb.base/completion.exp: Add field name completion test.
9930 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9932 * gdb.cp/call-c.exp: Test for incorrect handling of reference
9934 * gdb.cp/call-c.cc: Likewise.
9936 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
9938 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
9941 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9942 Pedro Alves <pedro@codesourcery.com>
9944 * gdb.threads/execl.c, gdb.threads/execl1.c,
9945 gdb.threads/execl.exp: New tests.
9947 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
9948 Daniel Jacobowitz <dan@codesourcery.com>
9950 * gdb.cp/exception.exp: Activate test, make it work with pending
9953 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9955 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
9957 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
9959 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
9961 * gdb.mi/mi2-var-cmd.exp: Likewise.
9963 2008-05-27 Andreas Schwab <schwab@suse.de>
9965 * gdb.base/frame-args.exp: Handle arguments that are optimized
9968 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
9970 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
9971 quiet for ppc32 and group options into a single variable.
9973 2008-05-23 Joel Brobecker <brobecker@adacore.com>
9975 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
9976 of zero-size elements.
9977 * gdb.ada/null_array.exp: Test printing this new array.
9979 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
9981 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
9983 2008-05-21 Joel Brobecker <brobecker@adacore.com>
9985 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
9986 of the "finish" command.
9988 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
9990 * gdb.base/annota1.exp: Test for new annotation.
9992 2008-05-16 Pedro Alves <pedro@codesourcery.com>
9994 * gdb.base/fixsection.exp: New file.
9995 * gdb.base/fixsection0.c: New file.
9996 * gdb.base/fixsection1.c: New file.
9998 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10000 * gdb.base/annota1.exp: Accept printf@... in place of printf.
10001 * gdb.base/annota3.exp: Likewise.
10003 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
10005 * gdb.base/watch_thread_num.exp: Don't run tests that require
10006 watchpoints if the target doesn't support them.
10008 2008-05-12 Doug Evans <dje@google.com>
10010 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
10012 2008-05-09 Joel Brobecker <brobecker@adacore.com>
10014 * gdb.ada/assign_1.exp: New testcase.
10016 2008-05-09 Doug Evans <dje@google.com>
10018 * gdb.base/find.exp: New file.
10019 * gdb.base/find.c: New file.
10021 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
10023 * gdb.base/commands.exp (watchpoint_command_test): Handle
10024 gdb,no_hardware_watchpoints.
10025 * gdb.base/float.exp: Allow ARM targets without floating point.
10026 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
10028 2008-05-06 Jerome Guitton <guitton@adacore.com>
10029 Joel Brobecker <brobecker@adacore.com>
10031 * gdb.ada/lang_switch: New test program.
10032 * gdb.ada/lang_switch.exp: New testcase.
10034 2008-05-05 Doug Evans <dje@google.com>
10036 * gdb.base/help.exp (disassemble): Update expected help text.
10038 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10040 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
10042 2008-05-04 Pedro Alves <pedro@codesourcery.com>
10044 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
10047 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10049 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
10050 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
10051 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
10052 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
10054 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
10056 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
10057 notification to appear.
10059 2008-05-04 Daniel Jacobowitz <dan@debian.org>
10061 * gdb.base/fullname.c: New file.
10062 * gdb.base/fullname.exp: New file.
10063 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
10065 2008-05-03 Pedro Alves <pedro@codesourcery.com>
10067 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
10068 expressions with macros.
10070 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
10072 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
10074 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
10076 * gdb.base/completion.exp: Handle lack of other symbols beginning
10079 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
10081 2008-05-02 Jim Blandy <jimb@codesourcery.com>
10083 * gdb.asm/asmsrc1.s: Add scratch space.
10085 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
10086 Daniel Jacobowitz <dan@codesourcery.com>
10088 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
10089 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
10090 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
10092 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
10094 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
10096 2008-05-01 Joel Brobecker <brobecker@adacore.com>
10098 * gdb.base/info-target.exp: New testcase.
10100 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10102 * gdb.cp/hang.exp: Use .cc instead of .C.
10103 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
10104 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
10106 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
10108 * gdb.base/gdb1250.exp: Remove perror.
10109 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
10111 2008-04-30 Pedro Alves <pedro@codesourcery.com>
10113 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
10116 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
10118 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
10119 (maybe_kfail): New.
10121 2008-04-25 Pedro Alves <pedro@codesourcery.com>
10123 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
10125 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10127 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
10128 * gdb.mi/mi2-syn-frame.exp: Likewise.
10129 * lib/mi-support.exp: Likewise.
10131 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10133 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
10134 to specify regexp for the location to stop at.
10135 * gdb.base/break-always.c: New.
10136 * gdb.base/break-always.exp: New.
10138 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
10140 * lib/mi-support.exp (mi_runto_helper): Adjust
10141 for the original-location field.
10142 (mi_create_breakpoint, mi_list_breakpoints): New.
10143 * gdb.mi/mi-break.exp: Adjust.
10144 * gdb.mi/mi2-break.exp: Adjust.
10145 * gdb.mi/mi-pending.exp: Adjust.
10146 * gdb.mi/mi-simplerun.exp: Adjust.
10147 * gdb.mi/mi2-simplerun.exp: Adjust.
10148 * gdb.mi/mi-syn-frame.exp: Adjust.
10149 * gdb.mi/mi2-syn-frame.exp: Adjust.
10150 * gdb.mi/mi-until.exp: Adjust.
10151 * gdb.mi/mi2-until.exp: Adjust.
10152 * gdb.mi/mi-var-display.exp: Adjust.
10153 * gdb.mi/mi2-var-display.exp: Adjust.
10154 * gdb.mi/mi-watch.exp: Adjust.
10155 * gdb.mi/mi2-watch.exp: Adjust.
10157 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
10159 * aclocal.m4: Add override.m4.
10160 * configure: Regenerate.
10162 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
10164 * gdb.mi/var-cmd.c (do_at_tests): Verify that
10165 '-var-update --all-values' reports new value even the type
10166 of a variable object has changed.
10168 2008-04-18 Craig Silverstein <csilvers@google.com>
10170 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
10173 2008-04-18 Joel Brobecker <brobecker@adacore.com>
10175 * gdb.ada/atomic_enum: New test program.
10176 * gdb.ada/atomic_enum.exp: New testcase.
10178 2008-04-17 Doug Evans <dje@google.com>
10180 * gdb.opt/Makefile.in: Fix whitespace.
10182 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
10184 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
10186 2008-04-17 Doug Evans <dje@google.com>
10188 * gdb.base/hashline1.exp: New testcase.
10189 * gdb.base/hashline2.exp: New testcase.
10190 * gdb.base/hashline2.exp: New testcase.
10192 2008-04-17 Pedro Alves <pedro@codesourcery.com>
10194 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
10196 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
10198 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
10199 temporary breakpoint to match "Temporary breakpoint".
10200 * gdb.base/break.exp (delete_breakpoints): Likewise.
10201 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
10202 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
10203 * gdb.base/display.exp: Likewise.
10204 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
10205 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
10206 * gdb.base/restore.exp (restore_tests): Likewise.
10207 * gdb.base/sepdebug.exp: Likewise.
10208 * gdb.base/watchpoint.exp: Likewise.
10209 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
10210 * gdb.mi/mi-pending.exp: Likewise.
10211 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
10212 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
10213 * gdb.mi/mi-var-cmd.exp: Likewise.
10214 * gdb.mi/mi-var-display.exp: Likewise.
10215 * gdb.mi/mi2-cli.exp: Likewise.
10216 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
10217 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
10218 * gdb.mi/mi2-var-display.exp: Likewise.
10219 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
10220 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
10222 (mi_expect_stop): Move after_reason argument to be really after
10223 reason. This is to support fix for PR2424.
10225 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10227 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
10229 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
10231 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
10232 field. Add more floating varobj tests.
10233 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
10235 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
10236 (main): Call do_at_tests.
10237 * lib/mi-support.exp (mi_create_floating_varobj)
10238 (mi_varobj_update_with_type_change): New.
10240 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
10242 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
10243 option of -var-evaluate-expression.
10244 * gdb.mi/mi2-var-display.exp: Likewise.
10246 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
10248 Introduce test setup helpers.
10249 * lib/gdb.exp (build_executable, clean_restart)
10250 (prepare_for_testing): New.
10251 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
10252 * gdb.base/return.exp: Likewise.
10253 * gdb.base/ending-run.exp: Likewise.
10255 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
10257 * gdb.mi/mi-async.exp: New test for asynchronous Machine
10258 Interface (MI) responses.
10260 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
10262 * gdb.cp/breakpoint.cc: New code to test conditions involving
10264 * gdb.cp/breakpoint.exp: Test condition involving member
10267 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
10269 * lib/mi-support.exp (mi_expect_stop): New.
10270 (mi_run_cmd): Change the
10271 token. Use mi_send_resuming_command, use
10273 (mi_execute_to_helper): Rename to mi_execute_to.
10274 (mi_send_resuming_command): Add more error patterns.
10275 (mi_wait_for_stop): Renamed to...
10276 (mi_get_stop_line): ...this.
10277 (mi_run_inline_test): Adjust.
10279 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
10280 * gdb.mi/mi-console.exp: Likewise.
10281 * gdb.mi/mi-pending.exp: Likewise.
10282 * gdb.mi/mi-simplerun.exp: Likewise.
10283 * gdb.mi/mi-stack.exp: Likewise.
10284 * gdb.mi/mi-stepi.exp: Likewise.
10285 * gdb.mi/mi-syn-frame.exp: Add comment.
10286 * gdb.mi/mi-until.exp: Likewise.
10287 * gdb.mi/mi-var-display.exp: Likewise.
10288 * gdb.mi/mi-watch.exp: Likewise.
10289 * gdb.mi/mi2-cli.exp: Likewise.
10290 * gdb.mi/mi2-console.exp: Likewise.
10291 * gdb.mi/mi2-simplerun.exp: Likewise.
10292 * gdb.mi/mi2-stack.exp: Likewise.
10293 * gdb.mi/mi2-stepi.exp: Likewise.
10294 * gdb.mi/mi2-until.exp: Likewise.
10295 * gdb.mi/mi2-var-display.exp: Likewise.
10296 * gdb.mi/mi2-watch.exp: Likewise.
10298 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10300 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
10302 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
10304 2008-04-04 Pedro Alves <pedro@codesourcery.com>
10306 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
10307 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
10308 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
10309 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
10310 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
10311 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
10312 expect an mi error duplicated in stderr.
10314 2008-04-03 Joel Brobecker <brobecker@adacore.com>
10316 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
10317 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
10318 Add a couple of tests that verify the behavior when the new setting
10319 is set to "cancel" and "all".
10320 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
10321 "ask" before we start the testing.
10323 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
10325 * gdb.cp/casts.cc: Add class reference variables.
10326 * gdb.cp/casts.exp: New test cases for up/down casting references.
10328 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
10330 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
10331 instead of beginning to make an extra test pass.
10332 * gdb.mi/mi2-var-display.exp: Likewise.
10334 2008-03-31 Maciej W. Rozycki <macro@mips.com>
10336 * gdb.base/break.exp: Mark failures as such. Fix formatting.
10338 2008-03-31 Markus Deuling <deuling@de.ibm.com>
10339 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10341 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
10342 value. Add xfail for older kernels.
10344 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
10346 Bring mi-support in line with gdb.exp.
10347 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
10348 (mi_gdb_start): New function.
10350 2008-03-28 Maciej W. Rozycki <macro@mips.com>
10352 * gdb.mi/mi-var-cmd.exp: Fix a typo.
10354 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10356 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
10357 * gdb.mi/mi2-var-display.exp: Likewise.
10359 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
10361 * lib/mi-support.exp (mi_create_varobj_checked): New.
10362 (mi_list_varobj_children): Allow to check for a
10364 (mi_list_array_varobj_children): New.
10366 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
10367 and mi_list_varobj_children, as opposed to hardcoding
10369 * gdb.mi/gdb701.exp: Likewise.
10370 * gdb.mi/gdb792.exp: Likewise.
10371 * gdb.mi/mi-var-block.exp: Likewise.
10372 * gdb.mi/mi-var-cmd.exp: Likewise.
10373 * gdb.mi/mi-var-invalidate.exp: Likewise.
10374 * gdb.mi/mi2-var-block.exp: Likewise.
10375 * gdb.mi/mi2-var-child.exp: Likewise.
10376 * gdb.mi/mi2-var-cmd.exp: Likewise.
10377 * gdb.mi/mi2-var-display.exp: Likewise.
10379 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
10381 Fix random false FAILs on i386.
10382 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
10384 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10387 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
10389 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
10392 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
10394 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10396 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
10399 2008-03-21 Pedro Alves <pedro@codesourcery.com>
10401 * gdb.threads/fork-child-threads.exp: Test next over fork.
10403 2008-03-21 Chris Demetriou <cgd@google.com>
10405 * gdb.base/break.exp (rbreak junk): New test for rbreak
10406 "Junk at end of arguments" issue.
10408 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10410 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
10411 *& to work on created array elements.
10412 (Top level): Test print $pc with a file. Test string operations
10414 * gdb.base/ptype.exp: Do not expect *& to work on created array
10417 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
10419 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
10420 gdb.threads/staticthreads.exp: Update exit query.
10422 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
10424 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
10426 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
10428 * gdb.base/watchpoint.c (global_ptr, func4): New.
10429 (main): Call func4.
10430 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
10431 (test_inaccessible_watchpoint): New.
10433 2008-02-29 Maciej W. Rozycki <macro@mips.com>
10435 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
10436 select the largest.
10438 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
10440 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
10441 frames-invalid annotations.
10443 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
10445 * gdb.base/assign.exp: avoid same output for different tests.
10447 2008-02-27 Doug Evans <dje@google.com>
10449 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
10451 (breakpoint_to_handler_entry): Ditto.
10453 2008-02-27 Joel Brobecker <brobecker@adacore.com>
10455 * gdb.base/ending-run.exp: Use the first line of code inside
10456 function body to test breakpoints.
10457 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
10458 location where the breakpoint is inserted when using the line
10459 where a function is declared. Fix typo in the description of
10461 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
10463 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10465 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
10468 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
10470 * gdb.base/args.exp: avoid same output for tests
10471 with single quotes.
10473 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
10475 * gdb.base/annota1.exp: Adjust for 'info break'
10477 * gdb.base/annota3.exp: Likewise.
10478 * gdb.base/break.exp: Likewise.
10479 * gdb.base/condbreak.exp: Likewise.
10480 * gdb.base/pending.exp: Likewise.
10481 * gdb.base/sepdebug.exp: Likewise.
10482 * gdb.base/unload.exp: Likewise.
10483 * gdb.cp/ovldbreak.exp: Likewise.
10484 * gdb.mi/mi-pending.exp: Likewise.
10486 2008-02-07 Doug Evans <dje@google.com>
10488 * gdb.cp/mb-inline.exp: New.
10489 * gdb.cp/mb-inline.h: New.
10490 * gdb.cp/mb-inline1.cc: New.
10491 * gdb.cp/mb-inline2.cc: New.
10493 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
10495 * gdb.pascal/floats.pas: New test program.
10496 * gdb.pascal/floats.exp: New testcase.
10498 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
10500 * gdb.base/callfuncs.c (t_float_many_args): New function.
10501 (t_double_many_args): New function.
10502 * gdb.base/callfuncs.exp: Add tests for exceeding float
10503 and double parameters passed through the stack.
10505 2008-02-05 Joel Brobecker <brobecker@adacore.com>
10507 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
10508 gdb.ada/complete/foo.adb: New files.
10509 * gdb.ada/complete.exp: New testcase.
10511 2008-02-03 Doug Evans <dje@google.com>
10513 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
10515 * gdb.cp/gdb2384.exp: New file.
10516 * gdb.cp/gdb2384.cc: New file.
10517 * gdb.cp/gdb2384-base.h: New file.
10518 * gdb.cp/gdb2384-base.cc: New file.
10520 2008-02-02 Doug Evans <dje@google.com>
10522 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
10524 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10526 * gdb.ada/sym_print_name: New test program.
10527 * gdb.ada/sym_print_name.exp: New testcase.
10529 2007-02-01 Joel Brobecker <brobecker@adacore.com>
10531 * gdb.ada/nested/hello.adb: New file.
10532 * gdb.ada/nested.exp: New testcase.
10533 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10535 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10537 * gdb.mi/basic.c (return_1): New function.
10538 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
10539 don't cause future evaluations of function to report
10540 creation of internal breakpoints.
10542 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
10544 * gdb.mi/mi-break.exp (test_error): New.
10547 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
10549 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
10550 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
10552 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10554 * gdb.pascal/integers.pas: New test program.
10555 * gdb.pascal/integers.exp: New testcase.
10557 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
10559 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
10561 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
10563 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
10564 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
10566 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
10568 * gdb.ada/formatted_ref: New test program.
10569 * gdb.ada/formatted_ref.exp: New testcase.
10571 * gdb.cp/formatted-ref.cc: New file.
10572 * gdb.cp/formatted-ref.exp: New testcase.
10574 2008-01-30 Joel Brobecker <brobecker@adacore.com>
10576 * gdb.base/ptype.exp: Add testing of "ptype $pc".
10578 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
10580 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
10581 (test_file_list_exec_source_file): Update to new macro-info field.
10583 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
10585 * gdb.ada/exprs: New test program.
10586 * gdb.ada/exprs.exp: New testcase.
10588 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
10590 * dfp-test.c (DELTA, DELTA_B): New definitions.
10591 (double_val1, double_val2, double_val3, double_val4, double_val5,
10592 double_val6, double_val7, double_val8, double_val9, double_val10,
10593 double_val11, double_val12, double_val13, double_val14, dec32_val1,
10594 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
10595 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
10596 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
10597 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
10598 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
10599 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
10600 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
10601 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
10602 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
10603 dec128_val16): New global variables.
10604 (decimal_dec128_align): New function.
10605 (decimal_mixed): Likewise.
10606 (decimal_many_args_dec32): Likewise.
10607 (decimal_many_args_dec64): Likewise.
10608 (decimal_many_args_dec128): Likewise.
10609 (decimal_many_args_mixed): Likewise.
10610 * dfp-test.exp: Add tests calling new inferior functions.
10612 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10614 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
10615 gdb.server/ext-run.exp: New files.
10616 * lib/gdbserver-support.exp (gdbserver_download): New.
10617 (gdbserver_start): New. Update gdbserver expected
10619 (gdbserver_spawn): Use them.
10620 (gdbserver_start_extended): New.
10622 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
10624 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
10626 (do_exec_tests): Check for systems which do not support catchpoints.
10627 Do not match START.
10628 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
10629 Run on GNU/Linux. Enable verbose output.
10630 (check_fork_catchpoints): New.
10631 (explicit_fork_child_follow, catch_fork_child_follow)
10632 (tcatch_fork_parent_follow): Update expected messages.
10633 (do_fork_tests): Use check_fork_catchpoints.
10634 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
10635 Run on GNU/Linux. Enable verbose output.
10636 (check_vfork_catchpoints): New.
10637 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
10639 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
10641 2008-01-29 Jim Blandy <jimb@red-bean.com>
10643 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
10645 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
10647 2008-01-29 Jim Blandy <jimb@red-bean.com>
10649 * gdb.threads/sigthread.c: Use barriers to ensure that
10650 child_thread and child_thread_two are always initialized before we
10653 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
10655 * gdb.base/watchpoint-solib.exp: New.
10656 * gdb.base/watchpoint-solib.c: New.
10657 * gdb.base/watchpoint-solib-shr.c: New.
10659 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
10661 * gdb.base/gdb1056.exp: Add unsigned integer test.
10663 2008-01-28 Doug Evans <dje@google.com>
10665 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
10667 2008-01-27 Jim Blandy <jimb@codesourcery.com>
10669 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
10671 * gdb.base/expand-psymtabs.exp: Doc fix.
10673 2008-01-26 Mark Kettenis <kettenis@gnu.org>
10675 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
10677 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
10679 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
10682 2008-01-23 Chris Demetriou <cgd@google.com>
10684 * gdb.threads/thread_events.c: New testcase source file.
10685 * gdb.threads/thread_events.exp: New testcase expect file.
10687 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
10689 * lib/gdb.exp: Add the variable octal.
10691 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
10694 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
10695 Vladimir Prus <vladimir@codesourcery.com>
10697 * gdb.base/float.exp: Allow missing floating point for m68k and
10700 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
10702 * gdb.mi/basics.c: Setup for testing breakpoints
10704 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
10705 * gdb.mi/mi-cli.exp: Adjust.
10706 * gdb.mi/mi2-cli.exp: Adjust.
10708 2008-01-17 Pedro Alves <pedro@codesourcery.com>
10710 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
10711 and 'dummy_ptr' integer pointer. Initialize struct_declarations
10712 with dummy_ptr's address.
10713 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
10714 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
10716 * gdb.mi/mi2-var-child.exp: Likewise.
10718 2008-01-09 Joel Brobecker <brobecker@adacore.com>
10720 * gdb.ada/null_array: New test program.
10721 * gdb.ada/null_array.exp: New testcase.
10723 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
10725 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
10726 with required float modifiers.
10728 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10730 * gdb.ada/funcall_param: New test program.
10731 * gdb.ada/funcall_param.exp: New testcase.
10733 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10735 * gdb.ada/arrayparam: New test program.
10736 * gdb.ada/arrayparam.exp: New testcase.
10738 2008-01-08 Joel Brobecker <brobecker@adacore.com>
10740 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
10741 landed. Should also fix random failures in the test following it.
10743 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
10745 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
10746 for expressions with decimal float values.
10747 (test_dfp_conversions): New function to test casts to and from
10748 decimal float types.
10749 Call test_dfp_conversions.
10750 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
10752 (main): Initialize ds.float4 and ds.double8 elements.
10753 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
10754 string to new error message.
10755 (d64_set_tests): Likewise.
10756 (d128_set_tests): Likewise.
10757 Add tests for expressions with decimal float variables. Add tests for
10758 conversions to and from decimal float types.
10760 2008-01-05 Joel Brobecker <brobecker@adacore.com>
10762 * gdb.ada/packed_tagged/comp_bug.adb: New file.
10763 * gdb.ada/packed_tagged.exp: New testcase.
10765 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10767 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
10768 gdb.ada/homonym/homonym_main.adb: New files.
10769 * gdb.ada/homonym.exp: New testcase.
10771 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10773 * gdb.ada/packed_array.exp: Add testing of references to
10776 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10778 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
10780 * gdb.ada/type_coercion.exp: New testcase.
10782 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10784 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
10785 gdb.ada/tagged/foo.adb: New file.
10786 * gdb.ada/tagged.exp: New testcase.
10788 2008-01-04 Joel Brobecker <brobecker@adacore.com>
10790 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
10791 gdb.ada/ptype_field/foo.adb: New files.
10792 * gdb.ada/ptype_field.exp: New testcase.
10794 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10796 * gdb.ada/print_pc.exp: New testcase.
10798 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10800 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
10801 gdb.ada/taft_type/p.adb: New files.
10802 * gdb.ada/taft_type.exp: New testcase.
10804 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10806 * gdb.ada/array_bounds/bar.adb: New file.
10807 * gdb.ada/array_bounds.exp: New testcase.
10809 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10811 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
10812 gdb.ada/arrayptr/foo.adb: New files.
10813 * gdb.ada/arrayptr.exp: New testcase.
10815 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10817 * gdb.base/set-lang-auto.exp: New testcase.
10819 2008-01-03 Joel Brobecker <brobecker@adacore.com>
10821 * gdb.ada/fun_addr/foo.adb: New file.
10822 * gdb.ada/fun_addr.exp: New testcase.
10824 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10826 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
10829 2008-01-02 Joel Brobecker <brobecker@adacore.com>
10831 * array_subscript_addr/p.adb: New file.
10832 * array_subscript_addr.exp: New testcase.
10834 2008-01-02 Joel Brobecker <brobecker@adacore.com>
10836 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
10838 * gdb.ada/str_cmp_ref.exp: New testcase.
10840 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10842 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
10843 gdb.ada/fun_in_declare/foo.adb: New files.
10844 * gdb.ada/fun_in_declare.exp: New testcase.
10846 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10848 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
10849 gdb.ada/ref_param/pck.ads: New files.
10850 * gdb.ada/ref_param.exp: New testcase.
10852 2008-01-01 Joel Brobecker <brobecker@adacore.com>
10854 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
10855 gdb.ada/interface/foo.adb: New files.
10856 * gdb.ada/interface.exp: New testcase.
10858 2007-12-31 Jim Blandy <jimb@codesourcery.com>
10860 * gdb.base/multi-forks.exp: Consume all output from child
10861 processes before proceeding to next test.
10863 2007-12-29 Jim Blandy <jimb@codesourcery.com>
10865 * configure: Regenerated.
10867 2007-12-27 Joel Brobecker <brobecker@adacore.com>
10869 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
10870 gdb.ada/fixed_cmp/fixed.adb: New files.
10871 * gdb.ada/fixed_cmp.exp: New testcase.
10873 2007-12-27 Joel Brobecker <brobecker@adacore.com>
10875 * gdb.ada/boolean_expr.exp: New testcase.
10877 2007-12-26 Jim Blandy <jimb@codesourcery.com>
10879 * gdb.base/multi-forks.exp: Doc fix.
10881 2007-12-26 Joel Brobecker <brobecker@adacore.com>
10883 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
10884 * gdb.ada/char_param.exp: Do not compile our test program with
10885 -gnata, this is unnecessary.
10886 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
10888 2007-12-24 Joel Brobecker <brobecker@adacore.com>
10890 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
10891 gdb.ada/print_chars/foo.adb: New files.
10892 * gdb.ada/print_chars.exp: New testcase.
10894 2007-12-24 Joel Brobecker <brobecker@adacore.com>
10896 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
10897 gdb.ada/char_param/foo.adb: New files.
10898 * gdb.ada/char_param.exp: New testcase.
10900 2007-12-22 Jim Blandy <jimb@codesourcery.com>
10902 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
10903 hard-coding source line numbers into the test.
10904 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
10905 gdb_get_line_number to find.
10907 2007-12-22 Joel Brobecker <brobecker@adacore.com>
10909 * gdb.base/ptype.c (highest): New struct type.
10910 (the_highest): New variable of that type.
10911 (main): Add dummy assignment to a field of variable the_highest.
10912 * gdb.base/ptype.exp: Test type printing of our new variable.
10914 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
10916 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
10917 and record first explicitly generated thread number.
10918 Use that thread number for thread specific watchpoint test.
10919 Add iteration number to repetitive tests.
10921 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
10922 Jim Blandy <jimb@codesourcery.com>
10924 * gdb.base/expand-psymtabs.c: New testcase
10926 * gdb.base/expand-psymtabs.exp: New testcase
10929 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
10931 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
10932 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
10934 2007-12-17 Joel Brobecker <brobecker@adacore.com>
10936 * gdb.ada/frame_args/foo.adb: New file.
10937 * gdb.ada/frame_args/pck.ads: New file.
10938 * gdb.ada/frame_args/pck.adb: New file.
10939 * gdb.ada/frame_args.exp: New testcase.
10941 2007-12-17 Joel Brobecker <brobecker@adacore.com>
10943 * gdb.base/frame-args.c: New file.
10944 * gdb.base/frame-args.exp: New testcase.
10946 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
10947 Joseph Myers <joseph@codesourcery.com>
10949 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
10951 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
10953 * gdb.mi/mi-pending.exp: New.
10954 * gdb.mi/mi-pending.c: New.
10955 * gdb.mi/mi-pendshr.c: New.
10957 2007-12-06 Jim Blandy <jimb@codesourcery.com>
10959 * gdb.base/default.exp: Update expected output for 'info catch'.
10961 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
10963 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
10964 must be set to binary.
10966 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
10968 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
10970 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
10972 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
10973 gdb.mi/mi-file-transfer.exp: New.
10975 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10977 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
10979 2007-11-22 Maciej W. Rozycki <macro@mips.com>
10981 * gdb.trace/backtrace.exp: Fix a typo.
10982 * gdb.trace/circ.exp: Likewise.
10983 * gdb.trace/collection.exp: Likewise.
10984 * gdb.trace/limits.exp: Likewise.
10985 * gdb.trace/report.exp: Likewise.
10986 * gdb.trace/tfind.exp: Likewise.
10987 * gdb.trace/while-dyn.exp: Likewise.
10989 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
10991 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
10992 objects of pointers that can't be dereferenced are now
10995 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10997 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
10998 (target_cpu): Remove.
11000 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
11002 * gdb.base/ending-run.exp: Expect the list of cleared
11003 breakpoint to come in natural order, not the reversed one.
11005 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
11007 * gdb.mi/mi-var-child.c (do_child_deletion): New.
11008 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
11010 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
11012 * gdb.base/printcmds.exp: New function
11013 test_printf_with_dfp.
11015 2007-11-02 Doug Evans <dje@google.com>
11017 * gdb.disasm/t01_mov.s: Remove carriage returns.
11018 * gdb.disasm/t02_mova.s: Ditto.
11019 * gdb.disasm/t03_add.s: Ditto.
11020 * gdb.disasm/t04_sub.s: Ditto.
11021 * gdb.disasm/t05_cmp.s: Ditto.
11022 * gdb.disasm/t06_ari2.s: Ditto.
11023 * gdb.disasm/t07_ari3.s: Ditto.
11024 * gdb.disasm/t08_or.s: Ditto.
11025 * gdb.disasm/t09_xor.s: Ditto.
11026 * gdb.disasm/t10_and.s: Ditto.
11027 * gdb.disasm/t11_logs.s: Ditto.
11028 * gdb.disasm/t12_bit.s: Ditto.
11029 * gdb.disasm/t13_otr.s: Ditto.
11031 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11033 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
11035 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11037 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
11038 provide DFP support.
11040 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
11042 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
11043 Test "set powerpc vector-abi". Skip auto-detection tests for old
11046 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11048 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
11049 with [string compare].
11051 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
11053 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
11054 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
11056 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
11058 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
11059 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
11060 * gdb.opt/Makefile.in: New makefile.
11061 * Makefile.in: Create new directory "gdb.opt".
11062 * configure.ac: Add "gdb.opt" directory.
11063 * configure: Regenerated.
11065 2007-10-25 Doug Evans <dje@google.com>
11067 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
11068 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
11070 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
11071 Thiago Jung Bauermann <bauerman@br.ibm.com>
11073 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
11074 Floating Point expressions.
11075 * gdb.base/dfp-test.exp: new file adding tests for Decimal
11076 Floating Point variables.
11077 * gdb.base/dfp-test.c: new file containing program with Decimal
11078 Floating variables, used by gdb.base/dfp-test.exp.
11080 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
11082 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
11084 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11086 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
11087 compiling test case with GCC.
11088 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
11090 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11092 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11095 2007-10-18 Michael Snyder <msnyder@specifix.com>
11097 * gdb.base/dbx.exp: Add missing "-re " operator.
11099 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
11101 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
11102 * configure.ac: Removed trailing spaces after backslash.
11103 * gdb.modula2: New directory.
11104 * gdb.modula2/Makefile.in: New file.
11105 * gdb.modula2/unbounded-array.exp: New file.
11106 * gdb.modula2/unbounded1.c: New file.
11108 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
11110 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
11112 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
11114 * gdb.base/sigstep.c (main): Add checks for
11115 return values for setitimer call.
11116 Call setitimer again with itimer = ITIMER_REAL
11117 if first call to setitimer fails.
11119 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
11121 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
11124 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
11126 * gdb.server/server-run.exp: Test for dynamic linker symbols.
11128 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
11130 * lib/gdb.exp (gdb_run_cmd): Move comment outside
11131 of gdb_expect call, to avoid interruption.
11133 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
11135 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
11136 (v_unsigned_long_long, v_long_long_array)
11137 (v_signed_long_long_array, v_unsigned_long_long_array)
11138 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
11139 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
11140 [!NO_LONG_LONG]: New.
11141 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
11142 v_long_long_member.
11144 (v_long_long_func, v_signed_long_long_func)
11145 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
11146 (main) [!NO_LONG_LONG]: Initialize long long variants.
11148 * gdb.base/whatis.exp: If board file requests no_long_long, build
11149 test with NO_LONG_LONG defined. Test long long, signed long long,
11150 and unsigned long long variants but only if board file doesn't
11153 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
11154 Daniel Jacobowitz <dan@codesourcery.com>
11156 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
11157 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
11158 * configure: Regenerated.
11159 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
11160 gdb.pascal/types.exp, lib/pascal.exp: New files.
11162 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
11164 * gdb.cp/classes.exp (do_tests): Always step to the line after the
11166 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
11167 to return to the call.
11168 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
11169 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
11170 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
11171 * gdb.mi/mi-until.exp (test_until): Likewise.
11172 * gdb.mi/mi2-until.exp (test_until): Likewise.
11174 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
11176 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
11178 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
11180 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
11182 * gdb.threads/watchthreads.c (thread_function): Sleep between
11184 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
11185 at once for S/390. Generate matching fails and passes.
11187 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
11189 * gdb.mi/var-cmd.c (do_children_tests): Initialize
11190 the 'struct_declarations' variable to zeros.
11192 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
11194 * gdb.cp/mb-ctor.cc: New.
11195 * gdb.cp/mb-ctor.exp: New.
11196 * gdb.cp/mb-templates.cc: New.
11197 * gdb.cp/mb-templates.exp: New.
11199 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
11201 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
11203 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
11205 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
11207 * configure: Regenerate.
11209 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
11211 * gdb.base/annota1.exp: Adjust for 'info break'
11213 * gdb.base/annota3.exp: Likewise.
11214 * gdb.base/break.exp: Likewise.
11215 * gdb.base/condbreak.exp: Likewise.
11216 * gdb.base/pending.exp: Likewise.
11217 * gdb.base/sepdebug.exp: Likewise.
11218 * gdb.base/unload.exp: Likewise.
11219 * gdb.base/ovldbreak.exp: Likewise.
11221 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
11223 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
11225 * gdb.base/chng-syms.exp: Likewise.
11226 * gdb.base/unload.exp: Likewise.
11228 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
11230 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
11232 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
11234 * schedlock.c (NUM): Change to 1.
11235 (main): Use args[0] for the main thread.
11236 * schedlock.exp: Only expect two threads. Only issue one pass or fail
11237 regardless of the number of threads.
11239 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11241 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
11243 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11245 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
11246 watchpoint type down.
11247 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
11250 2007-09-14 Maciej W. Rozycki <macro@mips.com>
11252 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
11253 Move all the tests here and run them twice, once using software
11254 watchpoints and once using hardware watchpoints.
11255 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
11257 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
11259 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
11262 2007-09-10 Mark Kettenis <kettenis@gnu.org>
11264 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
11267 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
11268 know about $ORIGIN. Calculate output dir from $dest instead of
11269 using ${objdir}/{$subdir}.
11271 2007-09-09 Mark Kettenis <kettenis@gnu.org>
11273 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
11274 gcore, before continuing with the test.
11276 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
11278 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
11279 * gdb.mi/mi-watch.exp: Likewise.
11281 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11282 Jim Blandy <jimb@codesourcery.com>
11284 * gdb.arch/i386-sse.exp: Do not expect character constants.
11285 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
11286 * gdb.base/display.exp: Allow print/s.
11287 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
11288 and unsigned char array changes.
11290 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
11292 * gdb.base/display.exp: Add tests for printf %p.
11294 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
11296 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
11297 the dll name to unicode.
11299 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11301 * gdb.base/default.exp (show version): Update the version text.
11302 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
11304 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11306 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
11309 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11311 * lib/gdb.exp (build_id_debug_filename_get): New function.
11312 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
11313 Remove the generate DEBUG file for the future testcase runs.
11314 New testcase for the NT_GNU_BUILD_ID retrieval.
11315 Move the final testing step to ...
11316 (test_different_dir): ... a new function.
11317 New parameter XFAIL to XFAIL all the tests performed.
11318 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
11319 New parameter TYPE to PF_PREFIX all the tests performed.
11321 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
11323 * gdb.mi/mi-var-cp.cc (path_expression): New
11325 * gdb.mi/mi-var-cp.exp: Run path exression tests.
11327 2007-08-27 Markus Deuling <deuling@de.ibm.com>
11329 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
11330 to fit into SPU Local Store memory.
11332 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11334 * gdb.base/default.exp: Adjust the expected output of "info
11335 warranty" after the switch to GPLv3.
11337 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11339 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
11340 to 30000 (from 20000).
11342 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11344 Switch the license of all .exp files to GPLv3.
11345 Switch the license of all .f and .f90 files to GPLv3.
11346 Switch the license of all .s and .S files to GPLv3.
11348 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11350 * configure.ac: Switch license to GPLv3.
11352 2007-08-23 Joel Brobecker <brobecker@adacore.com>
11354 Switch the licensing to GPLv3 for all .ads and .adb files.
11356 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
11358 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
11360 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
11362 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11364 * gdb.base/step-line.c: Switch license to GPL version 3, and
11365 update copyright year.
11366 * gdb.base/step-line.inp: Likewise.
11368 2007-08-17 Joel Brobecker <brobecker@adacore.com>
11370 * gdb.base/gdb1555.exp: Make expected output immune to formatting
11371 changes inside gdb1555.c.
11372 * gdb.base/pending.exp: Likewise.
11374 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
11376 * config/default.exp: New file.
11378 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
11380 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
11381 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
11383 2007-07-30 Maciej W. Rozycki <macro@mips.com>
11385 * gdb.base/dump.exp: Force the correct endianness for binary
11386 formats not carrying this information.
11388 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11390 * gdb.threads/staticthreads.exp: Match .*sem_post.
11392 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
11394 * gdb.base/readline.exp (operate_and_get_next): Match the final
11397 2007-07-23 Kevin Buettner <kevinb@redhat.com>
11399 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
11402 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11404 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
11405 prior to `gdb_start'.
11407 2007-07-18 Kevin Buettner <kevinb@redhat.com>
11409 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
11410 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
11411 Remove call to gdb_unload.
11413 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
11414 Daniel Jacobowitz <dan@codesourcery.com>
11416 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
11418 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
11419 * gdb.base/unload.exp: Use shared library test routines.
11421 2007-07-03 Markus Deuling <deuling@de.ibm.com>
11423 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
11424 * gdb.base/solib-symbol-lib.c: Likewise.
11425 * gdb.base/solib-symbol-main.c: Likewise.
11427 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
11429 * config/gdbserver.exp (gdb_reconnect): New.
11430 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
11431 gdb.base/solib-disc.exp: New files.
11432 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
11434 (gdb_compile): Add shlib_load flag.
11435 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
11437 (gdbserver_reconnect): New.
11439 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
11440 Daniel Jacobowitz <dan@codesourcery.com>
11442 * gdb.base/annota3.exp: Test for if construct.
11444 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
11446 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
11448 2007-06-21 Chris Dearman <chris@mips.com>
11449 Maciej W. Rozycki <macro@mips.com>
11451 * gdb.base/display.exp: Allow a newline after display/i.
11452 * gdb.base/pc-fp.exp: Likewise.
11453 * gdb.base/sigbpt.exp: Likewise.
11455 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
11457 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
11458 required features to be included.
11460 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
11462 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
11463 in info threads output.
11465 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11466 Markus Deuling <deuling@de.ibm.com>
11468 * gdb.arch/spu-info.exp: New testcase.
11469 * gdb.arch/spu-info.c: New file.
11471 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
11473 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
11474 tpcs_offset. Restore lr after the call.
11475 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
11477 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
11479 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
11480 (gdbserver_run): Kill any running gdbserver.
11481 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
11483 2007-05-17 Maciej W. Rozycki <macro@mips.com>
11485 * gdb.base/sigbpt.exp: Preset segv_addr.
11487 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
11489 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
11490 (gdb_compile_shlib): Likewise.
11491 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
11492 (default_gdb_init): Clear cleanfiles.
11493 (gdb_finish): Delete recorded cleanfiles.
11494 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
11496 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
11497 Do not use isnative.
11498 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
11499 gdb.base/so-impl-ld.exp: Likewise.
11500 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
11501 * gdb.base/unload.exp: Likewise. Do not pass empty option to
11504 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
11506 * config/unknown.exp: Remove.
11508 2007-05-15 Markus Deuling <deuling@de.ibm.com>
11510 * gdb.base/info-proc.exp: Check is_remote.
11512 2007-05-14 Markus Deuling <deuling@de.ibm.com>
11514 * gdb.base/gcore.exp: Initialize variable core_supported.
11516 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11518 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
11520 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11522 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
11523 * gdb.threads/print-threads.exp (test_all_threads): Allow
11524 negative and hexadecimal thread IDs.
11526 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
11528 * gdb.java/jprint.java (public): Avoid invalid call to static
11531 2007-05-14 Denis Pilat <denis.pilat@st.com>
11533 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
11534 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
11535 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
11536 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
11537 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
11539 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11541 * gdb.base/overlays.exp: Add support for targets with only code
11542 overlay support, not data overlay. Support spu-*-* target in
11544 * gdb.base/ovlymgr.c: Provide stubs for spu target.
11545 * gdb.base/spu.ld: New file.
11547 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
11549 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
11551 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
11553 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
11555 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11557 * gdb.java/jmain.exp: Handle demangled names with and without method
11560 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
11562 * gdb.mi/mi-syn-frame.c (main, foo, bar)
11563 (have_a_very_merry_interrupt): Remove calls to puts.
11564 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
11566 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
11569 2007-04-29 Markus Deuling <deuling@de.ibm.com>
11570 Daniel Jacobowitz <dan@codesourcery.com>
11572 * gdb.base/auxv.exp (core_works): Also check is_remote.
11573 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
11575 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
11577 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
11578 message, not the undefined 'module' variable.
11579 * gdb.base/siginfo.exp: Likewise.
11580 * gdb.base/sigstep.exp: Likewise.
11581 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
11583 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
11585 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
11587 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
11588 target sim fails. Return 0 otherwise.
11589 (gdb_load): Return prematurely if gdb_target_sim fails.
11591 2007-04-16 Denis Pilat <denis.pilat@st.com>
11593 * gdb.base/setshow.exp: Reset height after having set it to 100.
11595 2007-04-16 Denis Pilat <denis.pilat@st.com>
11597 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
11599 2007-04-16 Denis Pilat <denis.pilat@st.com>
11601 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
11603 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
11605 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
11606 tests. Run the frozen varobjs test.
11607 * gdb.mi/var-cmd.c (do_frozen_tests): New.
11608 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
11610 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11612 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
11613 gdb.base/type-opaque.exp: New files.
11615 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
11617 * gdb.mi/mi-var-child.c
11618 (do_children_tests): User char[2] instead of
11619 char so that automatic printing of pointers to char
11620 don't give unpredicable result.
11621 * gdb.mi/var-cmd.c (do_locals_test): Initialize
11623 * gdb.mi/mi-var-child.exp: Step to right line
11624 of do_children_tests.
11625 * gdb.mi/mi2-var-child.exp: Likewise.
11626 * gdb.mi/mi-var-cmd.exp: Step to right line of
11628 (do_children_tests): User char[2] instead of
11629 char so that automatic printing of pointers to char
11630 don't give unpredicable result.
11631 * gdb.mi/mi2-var-cmd.exp: Likewise.
11632 * lib/mi-support.exp (mi_continue_to_line):
11633 Pass test name to mi_wait_for_stop.
11635 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11637 * gdb.asm/asm-source.exp: Remove d10v case.
11638 * lib/gdb.exp (skip_cplus_tests): Likewise.
11639 * gdb.asm/d10v.inc: Deleted.
11641 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11643 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
11645 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
11647 * config/netware.exp: Delete file.
11649 2007-03-29 Joel Brobecker <brobecker@adacore.com>
11651 * gdb.dwarf2/dw2-noloc.S: New file.
11652 * gdb.dwarf2/dw2-noloc.exp: New file.
11654 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
11656 * gdb.cp/method2.cc: New test.
11657 * gdb.cp/method2.exp: New test.
11658 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
11660 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11662 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
11664 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
11666 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
11668 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
11670 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
11671 (gdb_load): Delete, replace with...
11672 (gdb_reload): ...this.
11673 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
11674 * gdb.server/server-mon.exp: Likewise.
11675 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
11676 (gdb_start_cmd): New.
11677 (gdb_file_cmd): Save the last loaded file.
11679 (gdb_gnu_strip_debug): Use transform.
11680 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
11681 support here. Use new $last_loaded_file. Check mtime.
11682 (gdb_target_cmd): Handle ObjC failure case.
11683 (infer_host_exec): Delete.
11684 (gdbserver_load): Rename to...
11685 (gdbserver_run): ...this. Simplify.
11686 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
11687 (mi_gdb_load): Move most contents to a new function...
11688 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
11689 (mi_run_cmd): Use mi_gdb_target_load.
11690 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
11691 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
11693 * gdb.base/charsign.exp: Remove incorrect comment.
11694 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
11695 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
11696 gdb.base/start.exp: Use gdb_start_cmd.
11698 2007-03-23 Nigel Stephens <nigel@mips.com>
11699 Maciej W. Rozycki <macro@mips.com>
11701 * gdb.base/sigbpt.exp: Fix the message when skipping test.
11702 * gdb.base/signull.exp: Similarly.
11704 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11706 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
11707 messages available to test cases (like chng-sym.exp).
11709 2007-03-14 Andreas Schwab <schwab@suse.de>
11711 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
11714 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
11716 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
11717 (optimized_1): New.
11718 (main): Call optimized_1.
11719 (gdb2029): Correct typos. Call gdb2029_marker.
11720 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
11723 2007-03-12 Mark Kettenis <kettenis@gnu.org>
11725 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
11726 as tabs. Remove redundant test pattern.
11728 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11730 * gdb.base/long_long.exp: Accept optional symbol name in <...>
11731 for /a format output.
11733 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
11735 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
11736 collect output incrementally.
11738 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11740 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
11741 for -var-create lpcharacter test.
11742 * gdb.mi/mi2-var-cmd.exp: Likewise.
11744 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11746 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
11747 pass on targets where address zero is readable.
11749 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11751 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
11752 just a single architecture.
11754 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11756 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
11757 (fetch_all_registers): New function, uses gdb_test_multiple and
11758 exp_continue to fetch inferior output line-by-line.
11759 Replace all uses of do_get_all_registers by fetch_all_registers.
11761 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11763 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
11766 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11768 * gdb.threads/manythreads.exp: Use $message string for
11769 consistancy; add a default (timeout) case.
11771 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11773 * gdb.base/watchpoint.exp: Fix truncated comment.
11775 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
11777 * Makefile.in: Remove spurious single-quotes from sed command.
11779 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
11781 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
11783 * gdb.mi/mi2-var-cmd.exp: Likewise.
11785 2007-02-27 Joel Brobecker <brobecker@adacore.com>
11787 * gdb.dwarf2/dw2-producer.S: New file.
11788 * gdb.dwarf2/dw2-producer.exp: New testcase.
11790 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
11792 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11793 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11794 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11795 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11796 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11797 Revert tests to use mi_gdb_test and include value field in output
11800 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11802 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
11804 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
11806 * gdb.base/maint.exp: Remove full paths from test names.
11807 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
11808 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
11810 2007-02-27 Joel Brobecker <brobecker@adacore.com>
11812 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
11814 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11816 * gdb.server/server-mon.exp: New test.
11818 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11820 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
11822 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
11824 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
11825 register capitalization.
11827 2007-02-13 Denis Pilat <denis.pilat@st.com>
11829 * gdb.mi/mi-var-invalidate.exp: New file.
11831 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11833 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
11835 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11837 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
11839 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
11841 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
11842 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
11844 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
11846 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
11847 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
11848 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
11849 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
11850 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
11851 * gdb.mi/gdb792.exp, lib/mi-support.exp:
11852 Update tests to include value field in output of -var-create.
11854 2007-02-08 Andreas Schwab <schwab@suse.de>
11856 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
11858 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
11860 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
11861 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
11863 2007-02-02 Denis Pilat <denis.pilat@st.com>
11865 * gdb.threads/threadapply.exp: check that frame is not changed by
11866 the thread apply all command.
11868 2007-01-31 Andreas Schwab <schwab@suse.de>
11870 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
11872 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
11873 in the dwarf sections.
11874 * gdb.dwarf2/mac-fileno.S: Likewise.
11876 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
11877 bspstore register on ia64.
11879 2007-01-29 Andreas Schwab <schwab@suse.de>
11881 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
11882 "frame-begin" annotation.
11884 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
11885 number of "frames-invalid" annotations.
11887 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11889 * gdb.base/commands.exp: Call if_commands_test.
11890 (gdb_test_no_prompt, if_commands_test): New.
11892 2007-01-28 Mark Kettenis <kettenis@gnu.org>
11894 * gdb.threads/sigthread.c (NSIGS): Make bigger.
11896 2007-01-27 Andreas Schwab <schwab@suse.de>
11898 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
11899 .short/.int/.quad in the dwarf sections.
11900 * gdb.dwarf2/dw2-intercu.S: Likewise.
11901 * gdb.dwarf2/dw2-intermix.S: Likewise.
11903 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11905 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
11906 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
11908 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
11909 * gdb.base/setvar.exp: Likewise.
11911 2007-01-26 Andreas Schwab <schwab@suse.de>
11913 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
11916 * gdb.base/multi-forks.exp ("restart $i"): Also match
11917 __kernel_syscall_via_break.
11919 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
11921 * lib/mi-support.exp (mi_delete_varobj): New.
11922 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
11924 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
11925 (main): Call the above.
11926 (reference_update_test, base_in_reference_test)
11927 (reference_to_pointer): Delete the created varobjs.
11929 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
11931 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
11932 * configure: Regenerated.
11933 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
11934 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
11935 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
11936 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
11937 * lib/gdb.exp (gdb_skip_xml_test): New function.
11939 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
11941 * gdb.base/sigrepeat.exp: Correct error message.
11943 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11944 Daniel Jacobowitz <dan@codesourcery.com>
11946 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
11947 gdb.arch/i386-gnu-cfi-asm.S: New files.
11949 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11951 * lib/gdb.exp: Abort on missing `site.exp'.
11953 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
11954 Daniel Jacobowitz <dan@codesourcery.com>
11956 * gdb.base/included.c, gdb.base/included.exp,
11957 gdb.base/included.h: New files.
11959 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
11961 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
11962 (maximize_rlimit): Reduce limits on 64-bit systems.
11964 2007-01-19 Mark Kettenis <kettenis@gnu.org>
11966 From Marcus Deuling <deuling@de.ibm.com>:
11967 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
11970 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
11972 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
11973 (test_path_specification): Use objdir instead of srcdir to always
11974 get an absolute filename.
11976 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
11978 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
11980 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
11982 * gdb.mi/mi-var-cp.cc (reference_update_tests):
11983 Make sure the variable we're using is in scope.
11984 (reference_to_pointer): Likewise.
11986 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11988 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
11989 has no debug information.
11991 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
11993 * gdb.base/annota1.exp: Remove extra send_gdb.
11995 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11997 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
11999 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12001 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
12003 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
12004 Daniel Jacobowitz <dan@codesourcery.com>
12006 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
12007 lcharacter or linteger change. Correct duplicated test name.
12008 * gdb.mi/mi2-var-cmd.exp: Likewise.
12010 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
12012 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
12014 2007-01-05 Joel Brobecker <brobecker@adacore.com>
12016 * gdb.base/nofield.c: New file.
12017 * gdb.base/nofield.exp: New testcase.
12019 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
12021 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
12023 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
12026 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12028 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
12030 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
12032 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
12035 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12037 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
12038 Expect ".exe" extension.
12040 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12042 * gdb.base/charset.exp: Add explicit filename to break.
12043 * gdb.base/dbx.exp: Add explicit filename to breaks.
12045 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
12047 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
12048 * gdb.mi/mi2-file.exp: Likewise.
12050 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12052 Implement specification of MI tests as comments
12053 in C and C++ sources.
12054 * lib/mi-support.exp (mi_autotest_data): New variable.
12055 (mi_autotest_source): New variable.
12056 (count_newlines, mi_prepare_inline_tests)
12057 (mi_get_inline_test, mi_continue_to_line)
12058 (mi_run_inline_test, mi_tbreak)
12059 (mi_send_resuming_command, mi_wait_for_stop): New functions.
12060 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
12062 * gdb.mi/mi-var-cp.cc: Define tests here.
12064 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
12066 Simplify usage of mi_continue_to.
12067 * lib/mi-support.exp (mi_runto_helper): Renamed
12068 from mi_runto, added new parameter 'run_or_continue'.
12069 (mi_runto): Use mi_runto_helper.
12070 (mi_continue_to): Accept just function name as parameter.
12071 Use mi_runto_helper.
12072 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
12073 * gdb.mi/mi2-var-cmd.exp: Likewise.
12075 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12077 Make this testcase a bit more realistic. The current code
12078 is too simplistic, and allows the compiler to optimize out
12079 some of the entities we need for this testcase.
12080 * gdb.ada/null_record/bar.ads (Void_Star): New type.
12081 (Do_Nothing): Add extra parameter.
12082 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
12083 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
12084 by using a variable of type Void_Star.
12086 2006-01-04 Joel Brobecker <brobecker@adacore.com>
12088 * gdb.ada/catch_ex/foo.adb: New file.
12089 * gdb.ada/catch_ex.exp: New testcase.
12091 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
12093 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
12094 pass --image-base to linker.
12096 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12097 Daniel Jacobowitz <dan@codesourcery.com>
12099 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
12102 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12104 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
12105 output. Test the types of members and member pointers.
12106 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
12108 * gdb.cp/member-ptr.exp: Search for a comment instead of a
12109 statement. Enable for GCC. Update expected output for some tests
12110 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
12112 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
12113 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
12114 (Diamond::vget_base): New.
12115 (main): Add new tests.
12116 * gdb.cp/printmethod.exp: Update expected output for member functions.
12117 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
12118 print pEe->D::vg().
12120 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
12122 * gdb.threads/tls.exp: Allow stops in sem_post.
12124 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
12126 * gdb.base/annota1.exp: Allow .*printf in backtraces.
12127 * gdb.base/annota3.exp: Likewise.
12128 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
12129 again (instead of timing out).
12130 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
12132 * gdb.java/jmisc.exp: Adjust to work with method signatures including
12133 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
12134 test from jmisc1.exp.
12135 * gdb.java/jmisc1.exp: Delete.
12136 * gdb.java/jprint.exp: Adjust to work with method signatures including
12138 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
12139 * gdb.threads/linux-dp.exp: Don't be confused by program output.
12140 * lib/java.exp (compile_java_from_source): Pass the correct type
12143 2006-12-31 Joel Brobecker <brobecker@adacore.com>
12145 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
12146 (stack_align_edx): New function.
12147 (stack_align_eax): New function.
12148 (main): Add calls to stack_align_edx and stack_align_eax.
12149 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
12150 Add testing for the cases where the register used during a stack
12151 realignment is edx. Same for eax.
12153 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
12155 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
12156 and generic PE targets.
12158 2006-12-29 Joel Brobecker <brobecker@adacore.com>
12160 * gdb.ada/array_return.exp: Update copyright date list.
12162 2006-12-27 Joel Brobecker <brobecker@adacore.com>
12164 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
12165 (Create_Small_Float_Vector): New function.
12166 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
12168 * gdb.ada/array_return/p.adb: Use new type and function from
12170 * gdb.ada/array_return.exp: Add a test verifying that GDB is
12171 able to print the value returned by a function returning an
12174 2006-12-20 Joel Brobecker <brobecker@adacore.com>
12176 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
12177 The associated tests should be PASSing.
12179 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12181 Test for base in references.
12182 * gdb.mi/mi-var-cp.cc: Add test code.
12183 * gdb.mi/mi-var-cp.exp: Test for bases in references.
12184 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
12185 * gdb.mi/mi2-watch.exp: Likewise.
12186 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
12187 (mi_list_varobj_children): New function.
12189 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
12191 * lib/mi-support.exp
12192 (mi_runto): Accept "()" after function name.
12193 (mi_create_varobj): New function.
12194 (mi_varobj_update): New function.
12195 (mi_Check_varobj_value): New function.
12196 * gdb.mi/mi-var-cp.exp: New file.
12197 * gdb.mi/mi-var-cp.cc: New file.
12199 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
12201 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
12202 gdb.base/weaklib2.c: New files.
12204 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
12206 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
12207 info. Adjust test names.
12209 * gdb.base/break.c (main): Move position of malloc.
12210 * gdb.base/break.exp: Revert mistaken checkin.
12212 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
12214 * gdb.mi/mi-var-cmd.exp: Check -var-update after
12215 assignement of arrays and function pointers.
12216 * gdb.mi/var-cmd.c: Add declaration necessary for above
12219 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12221 * gdb.base/break.c (main): Call malloc.
12223 * gdb.threads/linux-dp.exp: Read thread table before and after
12224 creating each philosopher and verify it.
12226 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
12227 Paul Brook <paul@codesourcery.com>
12228 Daniel Jacobowitz <dan@codesourcery.com>
12230 * gdb.base/ending-run.exp: Flatten expect script stepping out of
12231 main to remove duplication. Add start function of the form
12232 '_*start[1-9]*'. Add RVDS start function.
12234 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12236 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
12238 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12240 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
12241 * gdb.asm/spu.inc: New file.
12242 * gdb.base/term.exp: Disable if [target_info exists noargs].
12243 * gdb.gdb/complaints.exp: Disable if ![isnative].
12244 * gdb.gdb/selftest.exp: Likewise.
12245 * gdb.gdb/observer.exp: Likewise.
12246 * gdb.gdb/xfullpath.exp: Likewise.
12247 * gdb.base/attach.exp: Disable on SPU target.
12248 * gdb.cp/bs145503.exp: Likewise.
12249 * gdb.cp/exception.exp: Likewise.
12250 * gdb.cp/userdef.exp: Likewise.
12252 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
12254 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
12256 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
12258 * gdb.base/completion.exp: Fix completion tests for
12259 'info' and 'info '.
12260 * gdb.base/help.exp (help_test_raw, test_class_help)
12261 (test_prefix_command_help): Move...
12262 * lib/gdb.exp: Here.
12263 * gdb.base/main.exp: Adjust.
12264 * gdb.cp/maint.exp: Adjust.
12265 * gdb.trace/tracecmd.exp: Use test_help_class.
12267 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12269 * gdb.stabs/weird.exp (print_weird_var): Use
12270 gdb_test_multiple instead of gdb_expect.
12272 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
12274 * gdb.base/help.exp (help_test_raw): New.
12275 (test_class_help): New.
12276 (test_prefix_command_help): New.
12279 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
12281 * gdb.base/constvars.c (main): Write to crass and crips, so that
12282 they are allocated by the compiler.
12284 2006-10-27 Andreas Schwab <schwab@suse.de>
12286 * gdb.base/multi-forks.exp: Use "detach fork" instead of
12289 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
12291 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
12294 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12296 * gdb.base/sepdebug.exp: Remove debug format test.
12297 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
12299 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
12301 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
12303 * gdb.threads/manythreads.c (thread_function, main): Don't cast
12304 int to pointer or pointer to int.
12305 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
12307 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
12309 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
12311 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12313 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
12315 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
12318 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
12320 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12322 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
12323 the corresponding bug has been fixed in GDB (PR/2018).
12325 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12327 * gdb.base/subst.exp: New testcase.
12329 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12331 * gdb.ada/array_return/pck.ads: Add copyright notice.
12332 * gdb.ada/array_return/pck.adb: Likewise.
12333 * gdb.ada/array_return/p.adb: Likewise.
12334 * gdb.ada/exec_changed/first.adb: Likewise.
12335 * gdb.ada/exec_changed/second.adb: Likewise.
12337 2006-10-06 Joel Brobecker <brobecker@adacore.com>
12339 * gdb.ada/watch_arg/watch.adb: New file.
12340 * gdb.ada/watch_arg.exp: New testcase.
12342 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
12344 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
12345 via string_to_regexp.
12346 * gdb.mi/mi2-basics.exp: Likewise.
12348 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
12350 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
12351 Remove unused / obsolete files.
12353 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
12355 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
12357 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
12359 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
12360 HIGH_FRAME argument to -stack-list-arguments can be larger than
12361 the number of frames.
12363 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
12365 * gdb.base/args.c (main): Add breakpoint marker.
12366 * gdb.base/args.exp: Use args_test for tests. Add new tests which
12367 really test empty arguments.
12368 (args_load): Delete.
12371 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
12373 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
12374 check for one file.
12376 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
12378 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
12379 HIGH_FRAME argument to -stack-list-locals can be larger than
12380 the number of frames.
12382 2006-08-18 Fred Fish <fnf@specifix.com>
12384 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
12385 '$' in front of skip_vmx_tests_saved when setting that.
12387 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
12389 * gdb.base/trace-commands.exp: New file.
12391 2006-08-10 Joel Brobecker <brobecker@adacore.com>
12392 Daniel Jacobowitz <dan@codesourcery.com>
12394 * gdb.base/step-bt.exp: Make hexadecimal address optional in
12395 expected output of the backtrace commands.
12397 2006-08-09 Joel Brobecker <brobecker@adacore.com>
12399 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
12400 untested followed by return combination.
12401 * gdb.arch/altivec-regs.exp: Likewise.
12402 * gdb.arch/e500-abi.exp: Likewise.
12403 * gdb.arch/e500-regs.exp: Likewise.
12404 * gdb.arch/gdb1291.exp: Likewise.
12405 * gdb.arch/gdb1431.exp: Likewise.
12406 * gdb.arch/gdb1558.exp: Likewise.
12407 * gdb.arch/i386-prologue.exp: Likewise.
12408 * gdb.arch/i386-unwind.exp: Likewise.
12409 * gdb.asm/asm-source.exp: Likewise.
12410 * gdb.base/a2-run.exp: Likewise.
12411 * gdb.base/advance.exp: Likewise.
12412 * gdb.base/all-bin.exp: Likewise.
12413 * gdb.base/annota1.exp: Likewise.
12414 * gdb.base/annota3.exp: Likewise.
12415 * gdb.base/args.exp: Likewise.
12416 * gdb.base/arithmet.exp: Likewise.
12417 * gdb.base/assign.exp: Likewise.
12418 * gdb.base/async.exp: Likewise.
12419 * gdb.base/attach.exp: Likewise.
12420 * gdb.base/bang.exp: Likewise.
12421 * gdb.base/bigcore.exp: Likewise.
12422 * gdb.base/bitfields.exp: Likewise.
12423 * gdb.base/bitfields2.exp: Likewise.
12424 * gdb.base/break.exp: Likewise.
12425 * gdb.base/call-sc.exp: Likewise.
12426 * gdb.base/call-strs.exp: Likewise.
12427 * gdb.base/callfuncs.exp: Likewise.
12428 * gdb.base/checkpoint.exp: Likewise.
12429 * gdb.base/chng-syms.exp: Likewise.
12430 * gdb.base/code-expr.exp: Likewise.
12431 * gdb.base/commands.exp: Likewise.
12432 * gdb.base/completion.exp: Likewise.
12433 * gdb.base/cond-expr.exp: Likewise.
12434 * gdb.base/condbreak.exp: Likewise.
12435 * gdb.base/consecutive.exp: Likewise.
12436 * gdb.base/constvars.exp: Likewise.
12437 * gdb.base/corefile.exp: Likewise.
12438 * gdb.base/cvexpr.exp: Likewise.
12439 * gdb.base/dbx.exp: Likewise.
12440 * gdb.base/define.exp: Likewise.
12441 * gdb.base/detach.exp: Likewise.
12442 * gdb.base/display.exp: Likewise.
12443 * gdb.base/dump.exp: Likewise.
12444 * gdb.base/ena-dis-br.exp: Likewise.
12445 * gdb.base/ending-run.exp: Likewise.
12446 * gdb.base/environ.exp: Likewise.
12447 * gdb.base/eval-skip.exp: Likewise.
12448 * gdb.base/exprs.exp: Likewise.
12449 * gdb.base/fileio.exp: Likewise.
12450 * gdb.base/finish.exp: Likewise.
12451 * gdb.base/float.exp: Likewise.
12452 * gdb.base/foll-exec.exp: Likewise.
12453 * gdb.base/foll-fork.exp: Likewise.
12454 * gdb.base/foll-vfork.exp: Likewise.
12455 * gdb.base/freebpcmd.exp: Likewise.
12456 * gdb.base/funcargs.exp: Likewise.
12457 * gdb.base/gcore.exp: Likewise.
12458 * gdb.base/gdb1090.exp: Likewise.
12459 * gdb.base/gdb1250.exp: Likewise.
12460 * gdb.base/huge.exp: Likewise.
12461 * gdb.base/info-proc.exp: Likewise.
12462 * gdb.base/interrupt.exp: Likewise.
12463 * gdb.base/jump.exp: Likewise.
12464 * gdb.base/langs.exp: Likewise.
12465 * gdb.base/lineinc.exp: Likewise.
12466 * gdb.base/list.exp: Likewise.
12467 * gdb.base/logical.exp: Likewise.
12468 * gdb.base/long_long.exp: Likewise.
12469 * gdb.base/macscp.exp: Likewise.
12470 * gdb.base/maint.exp: Likewise.
12471 * gdb.base/mips_pro.exp: Likewise.
12472 * gdb.base/miscexprs.exp: Likewise.
12473 * gdb.base/multi-forks.exp: Likewise.
12474 * gdb.base/opaque.exp: Likewise.
12475 * gdb.base/overlays.exp: Likewise.
12476 * gdb.base/pc-fp.exp: Likewise.
12477 * gdb.base/pointers.exp: Likewise.
12478 * gdb.base/printcmds.exp: Likewise.
12479 * gdb.base/psymtab.exp: Likewise.
12480 * gdb.base/ptype.exp: Likewise.
12481 * gdb.base/recurse.exp: Likewise.
12482 * gdb.base/relational.exp: Likewise.
12483 * gdb.base/relocate.exp: Likewise.
12484 * gdb.base/remote.exp: Likewise.
12485 * gdb.base/reread.exp: Likewise.
12486 * gdb.base/restore.exp: Likewise.
12487 * gdb.base/return.exp: Likewise.
12488 * gdb.base/return2.exp: Likewise.
12489 * gdb.base/scope.exp: Likewise.
12490 * gdb.base/sect-cmd.exp: Likewise.
12491 * gdb.base/sep.exp: Likewise.
12492 * gdb.base/sepdebug.exp: Likewise.
12493 * gdb.base/setshow.exp: Likewise.
12494 * gdb.base/setvar.exp: Likewise.
12495 * gdb.base/sigall.exp: Likewise.
12496 * gdb.base/sigbpt.exp: Likewise.
12497 * gdb.base/signals.exp: Likewise.
12498 * gdb.base/signull.exp: Likewise.
12499 * gdb.base/sizeof.exp: Likewise.
12500 * gdb.base/solib.exp: Likewise.
12501 * gdb.base/step-line.exp: Likewise.
12502 * gdb.base/step-test.exp: Likewise.
12503 * gdb.base/structs.exp: Likewise.
12504 * gdb.base/structs2.exp: Likewise.
12505 * gdb.base/term.exp: Likewise.
12506 * gdb.base/twice.exp: Likewise.
12507 * gdb.base/until.exp: Likewise.
12508 * gdb.base/varargs.exp: Likewise.
12509 * gdb.base/volatile.exp: Likewise.
12510 * gdb.base/watchpoint.exp: Likewise.
12511 * gdb.base/whatis-exp.exp: Likewise.
12512 * gdb.base/whatis.exp: Likewise.
12513 * gdb.cp/ambiguous.exp: Likewise.
12514 * gdb.cp/annota2.exp: Likewise.
12515 * gdb.cp/annota3.exp: Likewise.
12516 * gdb.cp/bool.exp: Likewise.
12517 * gdb.cp/breakpoint.exp: Likewise.
12518 * gdb.cp/casts.exp: Likewise.
12519 * gdb.cp/class2.exp: Likewise.
12520 * gdb.cp/classes.exp: Likewise.
12521 * gdb.cp/cplusfuncs.exp: Likewise.
12522 * gdb.cp/ctti.exp: Likewise.
12523 * gdb.cp/derivation.exp: Likewise.
12524 * gdb.cp/exception.exp: Likewise.
12525 * gdb.cp/gdb1355.exp: Likewise.
12526 * gdb.cp/hang.exp: Likewise.
12527 * gdb.cp/inherit.exp: Likewise.
12528 * gdb.cp/local.exp: Likewise.
12529 * gdb.cp/m-data.exp: Likewise.
12530 * gdb.cp/m-static.exp: Likewise.
12531 * gdb.cp/member-ptr.exp: Likewise.
12532 * gdb.cp/method.exp: Likewise.
12533 * gdb.cp/misc.exp: Likewise.
12534 * gdb.cp/namespace.exp: Likewise.
12535 * gdb.cp/overload.exp: Likewise.
12536 * gdb.cp/ovldbreak.exp: Likewise.
12537 * gdb.cp/pr-1023.exp: Likewise.
12538 * gdb.cp/pr-1210.exp: Likewise.
12539 * gdb.cp/pr-574.exp: Likewise.
12540 * gdb.cp/printmethod.exp: Likewise.
12541 * gdb.cp/psmang.exp: Likewise.
12542 * gdb.cp/ref-params.exp: Likewise.
12543 * gdb.cp/ref-types.exp: Likewise.
12544 * gdb.cp/rtti.exp: Likewise.
12545 * gdb.cp/templates.exp: Likewise.
12546 * gdb.cp/try_catch.exp: Likewise.
12547 * gdb.cp/userdef.exp: Likewise.
12548 * gdb.cp/virtfunc.exp: Likewise.
12549 * gdb.disasm/am33.exp: Likewise.
12550 * gdb.disasm/h8300s.exp: Likewise.
12551 * gdb.disasm/mn10300.exp: Likewise.
12552 * gdb.disasm/sh3.exp: Likewise.
12553 * gdb.disasm/t01_mov.exp: Likewise.
12554 * gdb.disasm/t02_mova.exp: Likewise.
12555 * gdb.disasm/t03_add.exp: Likewise.
12556 * gdb.disasm/t04_sub.exp: Likewise.
12557 * gdb.disasm/t05_cmp.exp: Likewise.
12558 * gdb.disasm/t06_ari2.exp: Likewise.
12559 * gdb.disasm/t07_ari3.exp: Likewise.
12560 * gdb.disasm/t08_or.exp: Likewise.
12561 * gdb.disasm/t09_xor.exp: Likewise.
12562 * gdb.disasm/t10_and.exp: Likewise.
12563 * gdb.disasm/t11_logs.exp: Likewise.
12564 * gdb.disasm/t12_bit.exp: Likewise.
12565 * gdb.disasm/t13_otr.exp: Likewise.
12566 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
12567 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
12568 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12569 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
12570 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
12571 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
12572 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
12573 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
12574 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
12575 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
12576 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
12577 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
12578 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
12579 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
12580 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
12581 * gdb.mi/gdb701.exp: Likewise.
12582 * gdb.mi/gdb792.exp: Likewise.
12583 * gdb.mi/mi-basics.exp: Likewise.
12584 * gdb.mi/mi-break.exp: Likewise.
12585 * gdb.mi/mi-cli.exp: Likewise.
12586 * gdb.mi/mi-console.exp: Likewise.
12587 * gdb.mi/mi-disassemble.exp: Likewise.
12588 * gdb.mi/mi-eval.exp: Likewise.
12589 * gdb.mi/mi-file.exp: Likewise.
12590 * gdb.mi/mi-read-memory.exp: Likewise.
12591 * gdb.mi/mi-regs.exp: Likewise.
12592 * gdb.mi/mi-return.exp: Likewise.
12593 * gdb.mi/mi-simplerun.exp: Likewise.
12594 * gdb.mi/mi-stack.exp: Likewise.
12595 * gdb.mi/mi-stepi.exp: Likewise.
12596 * gdb.mi/mi-syn-frame.exp: Likewise.
12597 * gdb.mi/mi-until.exp: Likewise.
12598 * gdb.mi/mi-var-block.exp: Likewise.
12599 * gdb.mi/mi-var-child.exp: Likewise.
12600 * gdb.mi/mi-var-cmd.exp: Likewise.
12601 * gdb.mi/mi-var-display.exp: Likewise.
12602 * gdb.mi/mi-watch.exp: Likewise.
12603 * gdb.mi/mi2-basics.exp: Likewise.
12604 * gdb.mi/mi2-break.exp: Likewise.
12605 * gdb.mi/mi2-cli.exp: Likewise.
12606 * gdb.mi/mi2-console.exp: Likewise.
12607 * gdb.mi/mi2-disassemble.exp: Likewise.
12608 * gdb.mi/mi2-eval.exp: Likewise.
12609 * gdb.mi/mi2-file.exp: Likewise.
12610 * gdb.mi/mi2-read-memory.exp: Likewise.
12611 * gdb.mi/mi2-regs.exp: Likewise.
12612 * gdb.mi/mi2-return.exp: Likewise.
12613 * gdb.mi/mi2-simplerun.exp: Likewise.
12614 * gdb.mi/mi2-stack.exp: Likewise.
12615 * gdb.mi/mi2-stepi.exp: Likewise.
12616 * gdb.mi/mi2-syn-frame.exp: Likewise.
12617 * gdb.mi/mi2-until.exp: Likewise.
12618 * gdb.mi/mi2-var-block.exp: Likewise.
12619 * gdb.mi/mi2-var-child.exp: Likewise.
12620 * gdb.mi/mi2-var-cmd.exp: Likewise.
12621 * gdb.mi/mi2-var-display.exp: Likewise.
12622 * gdb.mi/mi2-watch.exp: Likewise.
12623 * gdb.stabs/exclfwd.exp: Likewise.
12624 * gdb.stabs/weird.exp: Likewise.
12625 * gdb.threads/gcore-thread.exp: Likewise.
12626 * gdb.trace/actions.exp: Likewise.
12627 * gdb.trace/backtrace.exp: Likewise.
12628 * gdb.trace/circ.exp: Likewise.
12629 * gdb.trace/collection.exp: Likewise.
12630 * gdb.trace/deltrace.exp: Likewise.
12631 * gdb.trace/infotrace.exp: Likewise.
12632 * gdb.trace/limits.exp: Likewise.
12633 * gdb.trace/packetlen.exp: Likewise.
12634 * gdb.trace/passc-dyn.exp: Likewise.
12635 * gdb.trace/passcount.exp: Likewise.
12636 * gdb.trace/report.exp: Likewise.
12637 * gdb.trace/save-trace.exp: Likewise.
12638 * gdb.trace/tfind.exp: Likewise.
12639 * gdb.trace/tracecmd.exp: Likewise.
12640 * gdb.trace/while-dyn.exp: Likewise.
12641 * gdb.trace/while-stepping.exp: Likewise.
12643 2006-08-08 Joel Brobecker <brobecker@adacore.com>
12645 * gdb.base/step-bt.c: New file.
12646 * gdb.base/step-bt.exp: New testcase.
12648 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
12650 * config/monitor.exp (gdb_load): Remove support for obsolete
12651 download-write-size.
12652 * gdb.base/remote.exp: Likewise. Update all callers of
12655 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
12657 * cursal.exp: Pass binfile to gdb_load.
12659 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
12661 * gdb.base/cursal.exp: Add "" to gdb_load call.
12663 2006-07-29 Mark Kettenis <kettenis@gnu.org>
12665 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
12666 NetBSD/ELF targets.
12668 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
12670 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
12673 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
12675 * gdb.base/completion.exp: Update for change in "file" behavior.
12676 * gdb.stabs/weird.exp: Likewise.
12677 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
12678 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
12680 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
12682 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
12683 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
12685 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
12687 * gdb.base/default.exp: Update source command error message.
12688 * gdb.base/help.exp: Update 'help source' message.
12690 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
12692 * gdb.cp/bs15503.exp: Update comment for no longer crashing
12695 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
12697 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
12699 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12701 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
12703 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
12705 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
12707 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12709 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
12710 *-*-openbsd* from targets for wich we expect ARM FPA floating
12713 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
12715 * gdb.cp/annota3.exp: Expect frame-begin annotation.
12717 2006-07-17 Mark Kettenis <kettenis@gnu.org>
12719 * gdb.base/annota3.exp: Expect frame-begin annotation.
12721 2006-07-14 Joel Brobecker <brobecker@adacore.com>
12723 * gdb.base/help.exp: Adjust "help unset" test to accept
12724 any list of unset commands.
12726 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
12727 Daniel Jacobowitz <dan@codesourcery.com>
12729 * gdb.cp/ref-params.exp: New test.
12730 * gdb.cp/ref-params.cc: New source file.
12731 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
12733 2006-07-08 Mark Kettenis <kettenis@gnu.org>
12735 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
12736 spaces/tabs in regular expressions since they might not be there.
12738 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
12740 * gdb.base/ifelse.exp: New file.
12742 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
12744 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
12746 * gdb.base/huge.exp: Loop over compilation to find a size that
12748 * gdb.base/remote.exp: Correct expected strings.
12749 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
12751 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12753 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
12755 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12757 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
12760 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12762 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
12763 enable stabs testing.
12765 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12767 * gdb.base/auxv.exp: Intercept undefined command messages before
12768 gdb_test_multiple does.
12770 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
12772 * Makefile.in (host_alias): Remove.
12773 (target_alias): Use @target_noncanonical@.
12774 (site.exp): Don't set host_alias.
12775 * aclocal.m4: Remove contents. Include acx.m4.
12776 * configure: Regenerated.
12777 * configure.ac: Use ACX_NONCANONICAL_TARGET.
12779 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
12781 * lib/gdb.exp (gdb_load_cmd): New.
12783 * gdb.base/fileio.c: Add system(NULL) test.
12784 * gdb.base/fileio.exp: Check it.
12786 * gdb.base/break.c: Add 10a breakpoint at }
12787 * gdb.base/break.exp: Add test for breakpoint at }
12788 * gdb.cp/anon-union.cc: Add code at end of function.
12789 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
12790 * gdb.mi/var-cmd.c: Add code at end of function.
12791 * gdb.mi/mi-var-display.exp: Adjust end of next.
12792 * gdb.mi/mi2-var-display.exp: Likewise.
12793 * gdb.base/fileio.c: Add stop function and insert calls at
12795 * gdb.base/fileio.exp: Breakpoint stop function and remove
12796 explicit line number references.
12798 2006-05-19 Joel Brobecker <brobecker@adacore.com>
12800 * gdb.base/del.exp (test_delete_alias): New function.
12801 Now check that both "del" and "d" work as aliases for "delete".
12803 2006-05-18 Fred Fish <fnf@specifix.com>
12805 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
12806 required. Check for spurious output after program exits normally.
12808 2006-05-17 Fred Fish <fnf@specifix.com>
12810 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
12811 gdb_load, so it works in the simulator.
12813 2006-05-11 Fred Fish <fnf@specifix.com>
12815 * gdb.base/bang.exp: Ignore unexpected output between the
12816 "program exited normally" and the gdb prompt, as many other
12819 2006-05-07 Mark Kettenis <kettenis@gnu.org>
12821 * gdb.base/help.exp: Make "delete checkpoint" part option for
12822 "help d" and "help delete" tests.
12824 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12826 * gdb.mi/mi-basics.exp: Add missing serial number to
12827 expected output in some mi_gdb_test statements.
12828 * gdb.mi/mi2-basics.exp: Likewise.
12830 2006-05-05 Joel Brobecker <brobecker@adacore.com>
12832 * gdb.base/del.c: New file.
12833 * gdb.base/del.exp: New testcase.
12835 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
12837 * gdb.base/break.exp: Do not assume a breakpoint on
12838 main will actually be in $srcfile when optimizing.
12839 * gdb.base/savedregs.exp: Do not require that the dummy
12840 frame location match up to a symbol and source file location.
12841 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
12842 will get printed without a mi_cmd_data_list_register_values prefix.
12843 (*-data-list-register-*): Correct regular expressions to expect the new
12844 pseudo d? floating point registers.
12845 * gdb.mi/mi2-regs.exp: Likewise.
12847 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
12849 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
12850 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
12851 is allocated by the compiler.
12852 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
12853 anons, e, anone to force their allocation by the compiler.
12855 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
12857 * gdb.base/help.exp: Update expected text for help d and
12860 2006-05-02 Mark Kettenis <kettenis@gnu.org>
12862 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
12863 NetBSD/ELF targets.
12865 2006-04-30 Mark Kettenis <kettenis@gnu.org>
12867 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
12868 single-step breakpoint fails; make this a KFAIL on
12870 * gdb.base/siginfo.exp: Likewise.
12871 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12873 2006-04-26 Michael Snyder <msnyder@redhat.com>
12875 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
12876 which may have to consume output from other forks.
12877 Add tests to make sure that "delete fork" succeeded.
12879 2006-04-20 Michael Snyder <msnyder@redhat.com>
12881 * 2006-03-22 Jim Blandy <jimb@redhat.com>
12882 Add support for the Renesas M32C and M16C.
12884 * gdb.asm/asm-source.exp: Add m32c target.
12885 * gdb.asm/m32c.inc: Support for m32c target.
12887 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
12889 * gdb.base/commands.exp (recursive_source_test): New test.
12891 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
12893 * gdb.base/float.exp: Add pattern for sparc targets.
12895 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
12897 * gdb.base/commands.exp (stray_arg0_test): New test.
12899 2006-03-30 Paul Brook <paul@codesourcery.com>
12901 * gdb.mi/mi-until.exp: kfail broken until command.
12902 * gdb.mi/mi2-until.exp: Ditto.
12904 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
12906 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
12908 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
12910 * gdb.base/prelink.exp: Anchor tested-for regular expression
12913 2006-03-07 Paul Brook <paul@codesourcery.com>
12915 * gdb.base/assign.exp: Correct fail message.
12917 2006-03-07 Paul Brook <paul@codesourcery.com>
12919 * lib/compiler.c: Extract armcc version number.
12920 * lib/compiler.cc: Ditto.
12922 2006-03-07 Paul Brook <paul@codesourcery.com>
12924 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
12925 additional_flags=-w.
12926 * gdb.arch/altivec-regs.exp: Ditto.
12927 * gdb.arch/e500-abi.exp: Ditto.
12928 * gdb.arch/e500-regs.exp: Ditto.
12929 * gdb.base/all-bin.exp: Ditto.
12930 * gdb.base/annota1.exp: Ditto.
12931 * gdb.base/annota3.exp: Ditto.
12932 * gdb.base/args.exp: Ditto.
12933 * gdb.base/arithmet.exp: Ditto.
12934 * gdb.base/assign.exp: Ditto.
12935 * gdb.base/async.exp: Ditto.
12936 * gdb.base/bang.exp: Ditto.
12937 * gdb.base/break.exp: Ditto.
12938 * gdb.base/call-rt-st.exp: Ditto.
12939 * gdb.base/completion.exp: Ditto.
12940 * gdb.base/cond-expr.exp: Ditto.
12941 * gdb.base/condbreak.exp: Ditto.
12942 * gdb.base/consecutive.exp: Ditto.
12943 * gdb.base/define.exp: Ditto.
12944 * gdb.base/display.exp: Ditto.
12945 * gdb.base/ena-dis-br.exp: Ditto.
12946 * gdb.base/environ.exp: Ditto.
12947 * gdb.base/eval-skip.exp: Ditto.
12948 * gdb.base/info-proc.exp: Ditto.
12949 * gdb.base/jump.exp: Ditto.
12950 * gdb.base/logical.exp: Ditto.
12951 * gdb.base/long_long.exp: Ditto.
12952 * gdb.base/maint.exp: Ditto.
12953 * gdb.base/miscexprs.exp: Ditto.
12954 * gdb.base/pc-fp.exp: Ditto.
12955 * gdb.base/pointers.exp: Ditto.
12956 * gdb.base/relational.exp: Ditto.
12957 * gdb.base/reread.exp: Ditto.
12958 * gdb.base/sect-cmd.exp: Ditto.
12959 * gdb.base/sep.exp: Ditto.
12960 * gdb.base/sepdebug.exp: Ditto.
12961 * gdb.base/until.exp: Ditto.
12962 * gdb.base/whatis-exp.exp: Ditto.
12963 * gdb.cp/annota2.exp: Ditto.
12964 * gdb.cp/annota3.exp: Ditto.
12965 * gdb.trace/actions.exp: Ditto.
12966 * gdb.trace/backtrace.exp: Ditto.
12967 * gdb.trace/circ.exp: Ditto.
12968 * gdb.trace/collection.exp: Ditto.
12969 * gdb.trace/deltrace.exp: Ditto.
12970 * gdb.trace/infotrace.exp: Ditto.
12971 * gdb.trace/limits.exp: Ditto.
12972 * gdb.trace/packetlen.exp: Ditto.
12973 * gdb.trace/passc-dyn.exp: Ditto.
12974 * gdb.trace/passcount.exp: Ditto.
12975 * gdb.trace/report.exp: Ditto.
12976 * gdb.trace/save-trace.exp: Ditto.
12977 * gdb.trace/tfind.exp: Ditto.
12978 * gdb.trace/tracecmd.exp: Ditto.
12979 * gdb.trace/while-dyn.exp: Ditto.
12980 * gdb.trace/while-stepping.exp: Ditto.
12981 * lib/gdb.exp: Ditto.
12982 (gdb_compile): Handle nowarning option.
12984 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
12986 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
12987 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
12988 Rename executable to prelinkt. Don't re-prelink if we didn't
12989 get a core file. Test prelink -u exit status to tell whether
12990 prelinking failed. Use gdb_test_multiple.
12992 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
12994 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
12995 (do_tests): Call it.
12997 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
12999 * gdb.base/prelink.exp: New test.
13000 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
13002 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
13004 * gdb.fortran/derived-type.f90: New file.
13005 * gdb.fortran/derived-type.exp: New testcase.
13007 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
13009 * gdb.base/default.exp: Allow ';' as a directory separator.
13011 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13013 * gdb.base/help.exp (help add-symbol-file): Update.
13015 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
13017 * gdb.base/help.exp (help load): Update expected results.
13019 2006-02-19 Fred Fish <fnf@specifix.com>
13021 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
13022 specifix hex value as part of results.
13023 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
13025 2006-02-16 Fred Fish <fnf@specifix.com>
13027 * gdb.base/whatis.c: Define variables using typedefs char_addr,
13028 ushort_addr, and slong_addr, so the typedefs are not optimized
13030 * gdb.base/whatis.exp: Add tests using type name for struct type,
13031 union type, enum type, and typedef.
13033 2006-02-13 Mark Kettenis <kettenis@gnu.org>
13035 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
13037 2006-02-13 Jim Blandy <jimb@redhat.com>
13039 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
13040 case where it takes two "next" commands to skip past the init
13043 2006-02-12 Fred Fish <fnf@specifix.com>
13045 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
13046 to handle cases where it takes two "next" commands to skip
13047 past the init call.
13049 2006-02-07 Joel Brobecker <brobecker@adacore.com>
13051 * gdb.ada/array_return.exp: Mark the last test as expected to fail
13054 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
13056 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
13059 2006-01-29 Mark Kettenis <kettenis@gnu.org>
13061 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
13063 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
13065 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
13068 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13070 * gdb.cp/maint.exp: Set complaints to a positive value.
13072 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13074 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
13075 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
13078 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
13080 * gdb.base/checkpoint.c: Update copyright notice. Include
13083 2006-01-04 Jim Blandy <jimb@redhat.com>
13085 * gdb.asm/asm-source.exp: Independently provide default values for
13086 asm-flags and debug-flags. Use 'string equal' to do the
13087 comparison, not the implicit expr's '==' operator. Remove
13088 now-unneeded assignments to asm-flags. In h8300 case, place
13089 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
13091 2006-01-04 Michael Snyder <msnyder@redhat.com>
13093 * gdb.base/checkpoint.c: New file.
13094 * gdb.base/checkpoint.exp: New file.
13095 * gdb.base/multi-fork.c: New file.
13096 * gdb.base/multi-fork.exp: New file.
13097 * gdb.base/pi.txt: New file (data for checkpoint.c test).
13099 2006-01-04 Fred Fish <fnf@specifix.com>
13101 * gdb.base/ptype.c (foo): Add typedef.
13102 (intfoo): Add function.
13103 * gdb.base/ptype1.c: New file.
13104 * gdb.base/ptype.exp: Handle compilation and linking with two
13105 source files. Test that proper type for "foo" is found based
13106 on source context rather than first match found in symtabs.
13108 2005-12-28 Mark Kettenis <kettenis@gnu.org>
13110 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
13111 * gdb.asm/openbsd.inc: Indent commands.
13113 2005-12-26 Mark Kettenis <kettenis@gnu.org>
13115 * gdb.base/freebpcmd.exp: Increase timeout.
13117 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
13119 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
13121 * gdb.base/default.exp: Update check for "show version".
13123 2005-12-09 Randolph Chung <tausq@debian.org>
13125 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
13126 * gdb.asm/pa64.inc: New file.
13128 2005-12-09 Randolph Chung <tausq@debian.org>
13130 * gdb.asm/common.inc: Indent commands.
13131 * gdb.asm/asmsrc1.s: Likewise.
13132 * gdb.asm/asmsrc2.s: Likewise.
13134 2005-12-09 Randolph Chung <tausq@debian.org>
13136 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
13137 (get_addr_of_sym): Remove duplicate print.
13138 (gen_core): xfail hppa*-*-hpux*, update expected output.
13139 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
13140 * gdb.arch/pa64-nullify.s: New file.
13142 2005-12-09 Randolph Chung <tausq@debian.org>
13144 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
13146 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
13148 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
13149 code generation for these functions.
13150 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
13153 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
13155 * gdb.base/help.exp (help b, help br, help bre, help brea)
13156 (help break): Update the expected message.
13158 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
13160 * gdb.asm/m68hc11.inc: Setup the data section.
13161 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
13162 script for this test.
13163 (m6812-*-*): Likewise.
13165 2005-11-09 Randolph Chung <tausq@debian.org>
13167 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
13169 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
13171 * gdb.base/break.exp: Fix a comment typo.
13173 2005-11-03 Jim Blandy <jimb@redhat.com>
13175 Checked in by Elena Zannoni <ezannoni@redhat.com>
13177 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
13179 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
13181 * gdb.arch/gdb1558.c: Include stdio.h.
13183 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13185 * gdb.asm/asm-source.exp: Use -e instead of --entry.
13187 2005-10-31 Mark Kettenis <kettenis@gnu.org>
13189 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
13191 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
13193 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13194 vscr" tests to better match output.
13196 2005-10-12 Jim Blandy <jimb@redhat.com>
13198 * gdb.base/structs.exp (any): New function.
13199 (test_struct_returns): Don't make any assumptions at all about
13200 what value the function returns when GDB can't set the return
13203 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13205 * gdb.ada/arrayidx/p.adb: New file.
13206 * gdb.ada/arrayidx.exp: New testcase
13208 2005-10-09 Joel Brobecker <brobecker@adacore.com>
13210 * gdb.ada/array_return/pck.ads: New file.
13211 * gdb.ada/array_return/pck.adb: New file.
13212 * gdb.ada/array_return/p.adb: New file.
13213 * gdb.ada/array_return.exp: New testcase.
13215 2005-10-03 Joel Brobecker <brobecker@adacore.com>
13217 * gdb.base/arrayidx.c: New file.
13218 * gdb.base/arrayidx.exp: New testcase.
13220 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
13222 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
13223 frames-invalid and breakpoints-invalid are no longer generated
13224 with level 3 so don't expect them in the output.
13226 2005-09-27 Bob Rossi <bob@brasko.net>
13228 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
13229 from test. Escape the | in mi_gdb_test call.
13230 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
13231 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
13232 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
13233 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
13234 expected regex's in mi_gdb_test calls.
13235 * lib/mi-support.exp: Remove arbitrary .* from tests.
13236 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
13237 Fully anchor GDB/MI expected results in mi_gdb_test.
13238 * lib/gdb.exp (string_to_regexp): Escape the ] character.
13239 * gdb.base/sizeof.exp: Remove escape character. Correct test.
13241 2005-09-26 Paul Brook <paul@codesourcery.com>
13243 * long_long.exp: Exclude eabi targets from arm FPA float format test.
13245 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13247 * bfp-test.c: New file.
13248 * bfp-test.exp: New testcase.
13250 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
13252 * gdb.fortran/subarray.exp: New testcase to test the evaluation
13253 of subarray and substring variable.
13254 * gdb.fortran/subarray.f: New source file for the test of subarray
13255 and substring variable evaluation.
13256 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
13257 of string constant.
13259 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
13261 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
13264 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
13266 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
13267 powerpc altivec' test with an almost identical 'info vector' test.
13269 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13271 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
13272 vscr" tests to match output.
13274 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
13276 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
13279 2005-09-11 Bob Rossi <bob@brasko.net>
13281 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
13282 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
13283 commands that return an MI output command and an asyncronous MI output
13285 * gdb.mi/mi-console.exp: Ditto.
13287 2005-09-11 Bob Rossi <bob@brasko.net>
13289 * gdb.mi/mi-var-child.c: Include <string.h>.
13291 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
13293 * killed.exp: Correct gdb_expect syntax.
13295 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
13297 * lib/mi-support.exp (mi_gdb_load): Fix typo.
13299 2005-08-02 Bob Rossi <bob@brasko.net>
13301 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
13302 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
13303 Change tests to inferior-tty-set/show.
13304 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
13305 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
13306 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
13307 inferior. Use mi_gdb_test to get GDB and Inferior output.
13308 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
13310 (mi_inferior_tty_name): Add inferior PTY file name.
13311 (mi_gdb_start): Add INFERIOR_PTY parameter.
13312 (mi_gdb_test): Add IPATTERN parameter.
13314 2005-08-02 Bob Rossi <bob@brasko.net>
13316 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
13317 parameter to mi_gdb_test.
13318 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
13320 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13322 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
13323 struct_declarations.
13324 * gdb.mi/mi-var-child.exp: Step over the initialization of
13325 struct_declarations.
13327 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
13329 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
13330 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
13331 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
13332 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
13333 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
13336 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
13338 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
13339 (do_children_tests): Assign values to the extra elements.
13341 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
13342 them for tests for "-var-update --no-values" and
13343 "-var-update --all-values".
13344 Add test for "-var-list-children --simple-values".
13346 * gdb.mi/basics.c (callee4): Add integer array D[3]...
13348 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
13349 "-stack-list-locals --simple-values" Improve doc strings and
13352 2005-07-18 Mark Kettenis <kettenis@gnu.org>
13354 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
13356 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
13358 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
13361 2005-07-14 Bob Rossi <bob@brasko.net>
13363 * gdb.base/default.exp (tty): Changed output of command.
13364 * gdb.base/help.exp (help tty): Ditto.
13366 2005-07-12 Mark Kettenis <kettenis@gnu.org>
13368 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
13370 2005-07-10 Mark Kettenis <kettenis@gnu.org>
13372 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
13373 -stack-select-frame without arguments.
13374 (test_stack_frame_listing): Add test for newly implemented command
13377 2005-07-06 Bob Rossi <bob@brasko.net>
13379 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
13381 (Copyright): Update copyright.
13383 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
13385 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
13386 tests to evaluate exponentiation expression.
13388 2005-06-29 Andreas Schwab <schwab@suse.de>
13390 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
13391 main to avoid warnings.
13393 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
13395 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
13397 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
13398 -stack-select-frame without arguments.
13399 (test_stack_frame_listing): Add test for newly implemented command
13402 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
13404 * gdb.fortran/array-element.f: New file.
13405 * gdb.fortran/array-element.exp: New testcase.
13407 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13409 * gdb.base/bigcore.exp: Correct checks for systems which can
13410 not dump a large core file.
13412 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
13414 * gdb.base/relocate.c: Add a copyright notice.
13416 * gdb.base/relocate.exp: Test printing the values of variables
13417 from a relocatable file.
13419 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
13421 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
13422 excess MI output after an error.
13424 2005-05-29 Joel Brobecker <brobecker@adacore.com>
13426 * gdb.arch/alpha-step.c: New file.
13427 * gdb.arch/alpha-step.exp: New testcase.
13429 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
13430 Dennis Brueni <dennis@slickedit.com>
13432 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
13433 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
13434 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
13435 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
13436 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13437 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
13438 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
13440 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
13441 Wu Zhou <woodzltc@cn.ibm.com>
13443 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
13444 IBM's xlc compiler.
13445 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
13446 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
13448 2005-05-13 Jim Blandy <jimb@redhat.com>
13450 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
13451 calling gdb_suppress_entire_file.
13452 * gdb.base/charset.exp: Same.
13453 * gdb.base/call-rt-st.exp: Same.
13455 2005-05-05 Bob Rossi <bob_rossi@cox.net>
13457 * lib/gdb.exp (fullname_syntax): Added global regex.
13458 (fullname_syntax_POSIX): Ditto.
13459 (fullname_syntax_UNC): Ditto.
13460 (fullname_syntax_DOS_CASE): Ditto.
13461 (fullname_syntax_DOS): Ditto.
13462 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
13463 fullname_syntax variable to scope and use it.
13464 (test_file_list_exec_source_files): Ditto.
13465 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
13467 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
13469 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
13471 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
13473 * lib/gdb.exp (skip_altivec_tests): New function, based on
13474 check_vmx_hw_available from the GCC testsuite.
13475 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
13476 * lib/gdb.arch/altivec-regs.exp: Likewise.
13478 2005-05-02 Jim Blandy <jimb@redhat.com>
13480 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
13481 calling gdb_suppress_entire_file.
13483 2005-04-30 Randolph Chung <tausq@debian.org>
13485 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
13486 Slightly relax "sem_post" name checking.
13488 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13490 * gdb.base/unload.exp: Use new shared library infrastructure.
13492 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
13494 * gdb.base/so-impl-ld.exp: Use new shared library
13497 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
13499 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
13500 * gdb.asm/h8300.inc: New file.
13502 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13504 * gdb.base/shlib-call.exp: Change to use new shared library
13507 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13509 * gdb.base/pending.exp: Change to use new shared library
13512 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
13514 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
13515 use test_compiler_info instead of gcc_compiled, and update copyright.
13517 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
13519 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
13520 shared objects being adjusted and update copyright years.
13522 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
13524 * ChangeLog: Correct some 2003-01-13 dates.
13525 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
13526 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
13527 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
13528 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
13529 gdb.trace/tfind.exp: Update copyright years.
13531 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
13532 Daniel Jacobowitz <dan@codesourcery.com>
13534 * lib/gdb.exp (gdb_compile): Handle shlib=.
13535 (gdb_compile_shlib): New function.
13537 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
13539 * lib/gdb.exp (test_compiler_info): Give argument a default value.
13541 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13543 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
13545 * configure.ac: Likewise.
13546 * configure: Regenerated.
13547 * gdb.gdbserver/Makefile.in: Moved to...
13548 * gdb.server/Makefile.in: ... here.
13549 * gdb.gdbserver/server.c: Moved to...
13550 * gdb.server/server.c: ... here.
13551 * gdb.gdbserver/server-run.exp: Moved to...
13552 * gdb.server/server-run.exp: ... here.
13554 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
13556 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
13557 * configure.ac: Create gdb.gdbserver/Makefile.
13558 * configure: Regenerated.
13559 * lib/gdbserver-support.exp: New file, derived from
13560 config/gdbserver.exp.
13561 * config/gdbserver.exp: Use gdbserver-support.exp.
13562 * gdb.gdbserver/Makefile.in: New file.
13563 * gdb.gdbserver/server.c: New file.
13564 * gdb.gdbserver/server-run.exp: New file.
13566 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
13568 * lib/gdb.exp (test_compiler_info): Return compiler_info
13569 if no arguments are given.
13571 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
13573 * gdb.arch/altivec-abi.exp: Check for compiler and set
13574 use altivec' flag accordingly.
13575 * gdb.arch/altivec-regs.exp: Likewise.
13577 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
13579 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
13581 2005-03-27 Andreas Schwab <schwab@suse.de>
13583 * gdb.base/bigcore.c (main): Add missing mode argument in open
13586 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
13588 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
13590 * config/gdbserver.exp (gdb_load): Likewise.
13592 2005-03-14 Paul Brook <paul@codesourcery.com>
13594 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
13597 2005-03-09 Joel Brobecker <brobecker@adacore.com>
13599 * gdb.dwarf2/dup-psym.S: New file.
13600 * gdb.dwarf2/dup-psym.exp: New testcase.
13602 2005-03-09 Joel Brobecker <brobecker@adacore.com>
13604 * gdb.ada/exec_changed/first.adb: New file.
13605 * gdb.ada/exec_changed/second.adb: New file.
13606 * gdb.ada/exec_changed.exp: New testcase.
13608 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
13610 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
13612 (main): Test operator+.
13613 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
13616 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
13617 * gdb.base/signull.exp: Disable if gdb,nosignals.
13618 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
13619 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
13620 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
13621 * gdb.mi/mi2-console.exp: Likewise.
13622 * gdb.trace/collection.exp (run_trace_experiment): Consume the
13623 continue output at start.
13624 (gdb_collect_locals_test): Robustify regexp.
13625 * gdb.trace/passc-dyn.exp: Fix comment typo.
13626 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
13628 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
13630 * gdb.asm/asm-source.exp: Add iq2000 case.
13631 * gdb.asm/iq2000.inc: New file.
13633 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
13635 * gdb.base/command.exp: Change hardcoded value to regular expression.
13636 * gdb.base/float.exp: Add powerpc to the list of targets checked.
13638 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
13640 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
13641 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
13642 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
13643 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
13644 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
13646 2005-03-05 Mark Kettenis <kettenis@gnu.org>
13648 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
13651 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
13653 * lib/compiler.c: Add test for IBM's xlc compiler.
13654 * lib/compiler.cc: Likewise.
13656 2004-02-24 Joel Brobecker <brobecker@adacore.com>
13658 * gdb.ada/fixed_points.exp: Create compilation object directory
13659 before running the test.
13660 * gdb.ada/null_record.exp: Likewise.
13661 * gdb.ada/packed_array.exp: Likewise.
13662 * gdb.ada/start.exp: Likewise.
13664 2005-02-15 Joel Brobecker <brobecker@adacore.com>
13666 * gdb.ada/packed_array/pa.adb: New file.
13667 * gdb.ada/packed_array.exp: New testcase.
13669 2005-02-10 Mark Kettenis <kettenis@gnu.org>
13671 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
13674 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
13675 on *-*-openbsd*. Correctly match whitespace in regukar
13678 2005-02-10 Daniel Jacobowitz <dan@debian.org>
13680 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
13682 * gdb.base/gdb1821.c: New test file.
13683 * gdb.base/gdb1821.exp: New test file.
13685 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13687 * gdb.base/start.c: New file.
13688 * gdb.base/start.exp: New testcase.
13690 2005-02-09 Joel Brobecker <brobecker@adacore.com>
13692 * gdb.ada/start/dummy.adb: New file.
13693 * gdb.ada/start.exp: New testcase.
13695 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
13697 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
13698 for printing symbols and statistics.
13699 Add test for using relative pathnames in "maint print msymbols" test.
13700 Mark "maint info sections DATA" XFAIL on Cygwin.
13701 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
13704 2005-02-09 Andreas Schwab <schwab@suse.de>
13706 Committed by Andrew Cagney <cagney@gnu.org>
13707 * gdb.base/remotetimeout.exp: New file.
13709 2005-02-07 Mark Kettenis <kettenis@gnu.org>
13711 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
13713 2005-02-03 Joel Brobecker <brobecker@adacore.com>
13715 * gdb.ada/gnat_ada.gpr: New file.
13716 * gdb.ada/gnat_ada.gin: Delete, no longer used.
13717 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
13718 * configure.ac: No longer generate gnat_ada.gpr.
13719 * configure: Regenerate.
13720 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
13721 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
13722 * gdb.ada/null_record/bar.ads: Likewise.
13723 * gdb.ada/null_record/bar.adb: Likewise.
13724 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
13725 * gdb.ada/null_record.exp (testdir): New variable.
13726 (testfile): executable is now in testdir subdirectory.
13727 (srcfile): Use full path to the main compilation unit.
13728 * gdb.ada/fixed_points.exp: Same changes as above.
13730 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
13732 * gdb.base/interp.exp: New test.
13734 2005-01-24 Andrew Cagney <cagney@gnu.org>
13736 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
13738 2005-01-19 Andrew Cagney <cagney@gnu.org>
13740 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
13741 configure.ac not configure.in.
13743 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
13745 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
13746 * gdb.base/list.exp (test_list_function)
13747 (test_list_filename_and_function): Ditto.
13748 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
13750 2005-01-16 Andrew Cagney <cagney@gnu.org>
13752 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
13754 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
13756 2005-01-14 Andrew Cagney <cagney@gnu.org>
13758 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
13759 * gdb.mi/mi2-var-cmd.exp: Ditto.
13761 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
13763 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
13765 2005-01-07 Andrew Cagney <cagney@gnu.org>
13767 * configure.ac: Rename configure.in, require autoconf 2.59.
13768 * configure: Re-generate.
13769 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
13770 * gdb.stabs/configure: Re-generate.
13771 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
13772 * gdb.hp/configure: Re-generate.
13773 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
13775 * gdb.hp/gdb.objdbg/configure: Re-generate.
13776 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
13778 * gdb.hp/gdb.defects/configure: Re-generate.
13779 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
13781 * gdb.hp/gdb.compat/configure: Re-generate.
13782 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
13784 * gdb.hp/gdb.base-hp/configure: Re-generate.
13785 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
13787 * gdb.hp/gdb.aCC/configure: Re-generate.
13789 2004-12-15 Jim Blandy <jimb@redhat.com>
13791 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
13792 under NPTL when there is debugging info available for libpthread.
13794 2004-12-13 Jerome Guitton <guitton@gnat.com>
13796 * gdb.ada/fixed_points.c: New file.
13797 * gdb.ada/fixed_points.exp: New file.
13799 2004-12-03 Randolph Chung <tausq@debian.org>
13801 * gdb.arch/pa-nullify.exp: New file.
13802 * gdb.arch/pa-nullify.s: New file.
13804 2004-11-30 Randolph Chung <tausq@debian.org>
13806 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
13807 instead of "tbug". Fix regexp to work properly with gdb_test.
13809 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
13811 * gdb.base/bitfields2.exp: New test.
13812 * gdb.base/bitfields2.c: New file.
13814 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
13816 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
13818 2004-11-16 Randolph Chung <tausq@debian.org>
13820 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
13822 2004-11-14 Daniel Jacobowitz <dan@debian.org>
13824 * gdb.threads/threadapply.exp: Correct "macro details" test.
13826 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
13828 * gdb.threads/threadapply.exp: New test.
13829 * gdb.threads/threadapply.c: New file.
13831 2004-11-07 Mark Kettenis <kettenis@gnu.org>
13833 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
13836 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
13838 * gdb.base/cursal.exp: New file.
13839 * gdb.base/cursal.c: New file.
13841 2004-11-03 Andrew Cagney <cagney@gnu.org>
13843 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
13845 2004-10-30 Mark Kettenis <kettenis@gnu.org>
13847 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
13848 NetBSD/ELF targets.
13850 2004-10-29 Joel Brobecker <brobecker@gnat.com>
13852 * gdb.threads/bp_in_thread.c: New file, copied from
13853 pthread_cond_wait.c.
13854 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
13855 file, rather than reusing the .c file from another testcase.
13857 2004-10-20 Joel Brobecker <brobecker@gnat.com>
13859 * gdb.ada/null_record.exp: Check where we stopped after
13860 sending the start command, instead of where the associated
13861 temporary breakpoint was inserted.
13863 2004-10-14 Andrew Cagney <cagney@gnu.org>
13865 * gdb.mi/gdb701.c (main): Return 0.
13867 2004-10-13 Daniel Jacobowitz <dan@debian.org>
13869 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
13871 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
13873 * gdb.threads/schedlock.c: Add comment markers to use to find
13875 * gdb.threads/schedlock.exp: Adjust regex to handle the new
13877 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
13880 2004-10-12 Daniel Jacobowitz <dan@debian.org>
13882 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
13884 2004-10-12 Daniel Jacobowitz <dan@debian.org>
13886 * configure.in: Add gdb.dwarf2.
13887 * configure: Regenerated.
13888 * Makefile.in: Add gdb.dwarf2.
13889 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
13890 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
13891 gdb.dwarf2/file1.txt: New files.
13893 2004-10-11 Orjan Friberg <orjanf@axis.com>
13895 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
13896 of "run", since the latter doesn't work with remote targets. Adjust
13897 the breakpoint numbering accordingly.
13898 * gdb.threads/pthread_cond_wait.exp: Ditto.
13900 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
13902 * gdb.base/overlays.exp: Update copyright years.
13904 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
13906 * gdb.base/overlays.exp: Disable if target is Linux.
13908 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
13910 * config/gdbserver.exp (gdb_load): Use right filename on remote.
13912 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
13914 * gdb.asm/asm-source.exp: Add m32r-linux target.
13915 * gdb.asm/m32r-linux.inc: New file.
13917 2004-09-24 Andrew Cagney <cagney@redhat.com>
13918 David Anderson <anderson@redhat.com>
13920 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
13921 command fails, assume things will work.
13922 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
13923 (_GNU_SOURCE): Define.
13924 (print_unsigned, print_hex): Change parameter to "long long".
13925 (print_byte_count): New function, use to print byte counts.
13926 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
13928 (main): Compute an upper bound on a corefile in max_core_size.
13929 Limit memory chunk size to max_core_size. Limit total memory
13930 allocated to max_core_size.
13932 2004-09-23 Andrew Cagney <cagney@gnu.org>
13934 * gdb.base/bigcore.exp: Replace the code that creates a corefile
13935 from a separate process with code that creates a corefile by
13936 making the inferior dump core.
13938 2004-09-23 Mark Kettenis <kettenis@gnu.org>
13940 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
13943 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
13945 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
13946 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
13947 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
13950 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
13952 * gdb.java/jprint.exp: New test case for java inferior call.
13953 * gdb.java/jprint.java: Ditto.
13955 2004-09-15 Joel Brobecker <brobecker@gnat.com>
13957 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
13959 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13961 * gdb.threads/killed.c: Include <stdlib.h>.
13962 * gdb.threads/pthreads.c: Likewise.
13964 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
13966 * gdb.threads/killed.c: Add copyright notice.
13968 2004-09-10 Jason Molenda (jmolenda@apple.com)
13970 * gdb.base/define.exp: Two new tests to verify zero space chars
13971 after 'if' and 'while' commands in a user-defined command is correctly
13974 2004-09-08 Andrew Cagney <cagney@gnu.org>
13976 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
13977 delivery test with duplicate at end of file.
13979 2004-09-06 Mark Kettenis <kettenis@jive.nl>
13981 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
13983 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13985 * config/hppro.exp: Removed.
13987 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13989 * config/sparclet.exp: Removed.
13991 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
13993 * config/udi.exp: Removed.
13995 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
13997 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
13999 (advancei): Likewise.
14001 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14003 * gdb.base/unload.exp: Fix so messages aren't duplicated.
14005 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
14007 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
14008 to check for nodebug in executable.
14009 * gdb.gdb/observer.exp (setup_test): Likewise.
14010 * gdb.gdb/selftest.exp (test_with_self): Likewise.
14011 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
14013 2004-09-01 Andrew Cagney <cagney@gnu.org>
14015 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14018 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
14020 * gdb.base/unload.exp: Fix expected warning message to match
14023 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
14025 * gdb.base/call-rt-st.exp: Fix typos.
14027 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
14029 * gdb.threads/thread_check.exp: New testcase.
14030 * gdb.threads/thread_check.c: New testcase.
14032 2004-08-31 Andrew Cagney <cagney@gnu.org>
14034 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
14035 (skip_to_handler_entry): New procedures. Test stepping into a
14036 handler when the breakpoint is at the handler's entry point.
14038 2004-08-30 Andrew Cagney <cagney@gnu.org>
14040 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
14043 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14045 With code from Manoj Iyer <manjo@austin.ibm.com>:
14046 * lib/gdb.exp (gdb_file_cmd): Return more information in the
14047 return value. Add an arm for "no debugging symbols found".
14048 Change a stray "error" to "perror".
14049 (gdb_run_cmd): Adapt to new return value.
14050 * gdb.base/remote.exp: Adapt to new return value.
14051 * gdb.gdb/complaints.exp: Likewise.
14052 * gdb.gdb/observer.exp: Likewise.
14053 * gdb.gdb/selftest.exp: Likewise.
14054 * gdb.gdb/xfullpath.exp: Likewise.
14056 2004-08-27 Joel Brobecker <brobecker@gnat.com>
14058 * gdb.threads/bp_in_thread.exp: New testcase.
14060 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
14062 Fix PR testsuite/1735.
14063 * gdb.threads/schedlock.c (thread_function): Add a cast
14064 to suppress a gcc warning.
14065 * gdb.threads/thread-specific.c (thread_function): Likewise.
14067 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14069 * gdb.base/unload.c: Include <stdlib.h>.
14071 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14073 From Paul Gilliam <pgilliam@us.ibm.com>:
14074 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
14075 synchronized after the "return".
14077 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14079 * gdb.mi/basics.c: Include <stdio.h>.
14080 * gdb.mi/pthreads.c: Include <stdlib.h>.
14081 * gdb.mi/var-cmd.c: Include <stdlib.h>.
14083 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
14085 * gdb.threads/schedlock.c: Add copyright notice.
14087 2004-08-25 Andrew Cagney <cagney@gnu.org>
14089 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
14090 (skip_over_handler, breakpoint_over_hander): New test procedures.
14091 (advance, advancei): Add a proper prefix, do not use
14093 * gdb.base/sigstep.c (main): Change to use an infinite loop.
14095 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
14097 * gdb.mi/basics.c: Add copyright notice.
14098 * gdb.mi/var-cmd.c: Add copyright notice.
14100 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14102 * lib/gdb.exp: Remove signed_keyword_not_used.
14103 * lib/compiler.c: Likewise.
14104 * lib/compiler.cc: Likewise.
14106 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14108 * gdb.base/whatis.c: Remove conditional disabling of "signed".
14109 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
14111 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
14113 * gdb.base/whatis.c: Add copyright notice.
14115 2004-08-20 Mark Kettenis <kettenis@gnu.org>
14117 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
14118 it to skip the breakpoints encoded in the inline assembly.
14120 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14122 * Makefile.in: Add gdb.fortran.
14124 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
14126 * gdb.base/call-sc.exp (test_scalar_returns):
14127 Fix cut-and-paste glitch in "Make fun return now".
14129 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14131 * configure.in: Add gdb.fortran.
14132 * configure: Regenerate.
14133 * gdb.fortran/Makefile.in: New file.
14134 * lib/gdb.exp (skip_fortran_tests): New procedure.
14136 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
14138 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
14139 reference to bug-gnu@prep.ai.mit.edu.
14140 * gdb.mi/mi-var-child.exp: Likewise.
14141 * gdb.mi/mi-var-cmd.exp: Likewise.
14142 * gdb.mi/mi-var-display.exp: Likewise.
14143 * gdb.mi/mi2-var-block.exp: Likewise.
14144 * gdb.mi/mi2-var-child.exp: Likewise.
14145 * gdb.mi/mi2-var-cmd.exp: Likewise.
14146 * gdb.mi/mi2-var-display.exp: Likewise.
14148 2004-08-15 Mark Kettenis <kettenis@gnu.org>
14150 * gdb.base/unload.c (main): Make local variable msg const.
14152 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14154 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
14155 to bug-gnu@prep.ai.mit.edu.
14156 * gdb.mi/mi-disassemble.exp: Likewise.
14157 * gdb.mi/mi-eval.exp: Likewise.
14158 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
14159 default line number.
14160 * gdb.mi/mi-return.exp: Likewise.
14161 * gdb.mi/mi-simplerun.exp: Likewise.
14162 * gdb.mi/mi-stack.exp: Likewise.
14163 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
14164 number with explicit range test.
14165 * gdb.mi/mi-watch.exp: Likewise.
14166 * gdb.mi/mi2-break.exp: Likewise.
14167 * gdb.mi/mi2-cli.exp: Likewise.
14168 * gdb.mi/mi2-disassemble.exp: Likewise.
14169 * gdb.mi/mi2-eval.exp: Likewise.
14170 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
14171 default line number.
14172 * gdb.mi/mi2-return.exp: Likewise.
14173 * gdb.mi/mi2-simplerun.exp: Likewise.
14174 * gdb.mi/mi2-stack.exp: Likewise.
14175 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
14176 number with explicit range test.
14177 * gdb.mi/mi2-watch.exp: Likewise.
14179 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
14181 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
14182 * gdb.cp/m-static.exp: Likewise.
14183 * gdb.cp/rtti.exp: Likewise.
14185 2004-08-14 Mark Kettenis <kettenis@gnu.org>
14187 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
14189 2004-08-14 Eli Zaretskii <eliz@gnu.org>
14191 * ChangeLog: Prefix Local Variables with semi-colons and indent
14192 the reference to older ChangeLog files, to fix fontification in
14195 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14197 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
14198 * gdb.mi/mi2-break.exp: Likewise.
14200 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14202 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
14204 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14206 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
14208 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
14210 * gdb.cp/classes.exp: Remove unused declarations. Just let
14211 test names default instead of providing special names. Remove
14212 extraneous demangler test.
14214 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
14216 * gdb.base/unload.exp: New test for breakpoints in dynamically
14218 * gdb.base/unload.c: Ditto.
14219 * gdb.base/unloadshr.c: Ditto.
14221 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
14223 * gdb.cp/classes.exp (test_ptype_class_objects): Call
14224 cp_test_ptype_class.
14225 (test_enums): Likewise.
14227 2004-08-10 Andrew Cagney <cagney@gnu.org>
14229 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
14232 2004-08-10 Andrew Cagney <cagney@gnu.org>
14234 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
14237 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
14239 * ChangeLog: Add copyright notice. The notice is copied
14240 from emacs 21.3 top level ChangeLog.
14242 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14244 * lib/cp-support.exp: New file.
14245 * lib/cp-support.exp (cp_test_type_class): New function.
14246 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
14247 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
14248 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
14249 cp_test_ptype_class.
14251 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14253 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
14254 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
14255 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
14256 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
14257 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
14258 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
14259 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
14260 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
14261 gdb.mi/mi2-watch.exp: Update copyright years.
14263 2004-08-09 Mark Kettenis <kettenis@gnu.org>
14265 * gdb.base/sigaltstack.exp: Provide proper anchoring.
14267 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
14269 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
14270 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
14271 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
14272 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
14273 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
14274 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
14275 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
14276 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14277 gdb.mi/mi-watch.exp: Update copyright years.
14279 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14282 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
14283 from a breakpoint with a pending signal.
14285 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14288 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
14289 * gdb.base/sigaltstack.exp (finish_test): Consume output until
14291 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
14293 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14295 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
14297 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14300 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
14303 2004-08-08 Daniel Jacobowitz <dan@debian.org>
14305 * gdb.arch/i386-prologue.exp: Compile without debug information.
14307 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
14309 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
14310 rather than asking gdb to search.
14312 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14314 * gdb.base/gcore.c: Include <string.h>.
14316 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14318 * gdb.base/gcore.c: Add copyright notice.
14320 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
14322 * gdb.base/freebpcmd.c: Include <stdio.h>.
14323 * gdb.base/long_long.c: Include <string.h>.
14324 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
14325 * gdb.base/siginfo.c: Include <string.h>.
14326 * gdb.base/sigstep.c: Include <string.h>.
14328 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14330 * gdb.base/complex.c: Include <stdlib.h>.
14332 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14334 * gdb.base/complex.c: Add copyright notice.
14336 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14338 * gdb.base/charset.c: Include <stdlib.h>.
14340 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14342 * gdb.base/auxv.c: Include <stdlib.h>.
14344 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14346 * gdb.base/auxv.c: Add copyright notice.
14348 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
14350 * gdb.base/coremaker.c: Add copyright notice.
14351 * gdb.base/coremaker2.c: Add copyright notice.
14353 2004-08-04 Andrew Cagney <cagney@gnu.org>
14355 * gdb.base/store.exp: Update copyright.
14356 (check_set, up_set, check_struct, up_struct): Add a prefix to test
14357 names, do not import gdb_prompt.
14359 2004-08-01 Andrew Cagney <cagney@gnu.org>
14361 Fix PR testsuite/1729.
14362 * gdb.base/dump.exp: Add test name to callers of capture_value, do
14363 not use capture_value with value 4.
14364 (capture_value): Add optional test name parameter.
14365 (test_reload_saved_value, test_restore_saved_value): Use $msg as
14366 the prefix, pass to capture_value.
14368 2004-08-01 Mark Kettenis <kettenis@gnu.org>
14370 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
14371 * gdb.arch/i386-prologue.c (standard): New prototype and function.
14372 (main): Call new function.
14374 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14376 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
14378 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14380 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
14382 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
14384 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
14385 Accept more values of vtbl pointer. Remove some messages
14386 about "obsolete gcc or gdb".
14388 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14390 * gdb.cp/classes.exp: Accept more varieties of ptype output.
14392 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
14394 * gdb.base/asm-source.exp: Properly convert target board
14395 debug flags from gcc format to binutils format.
14397 2004-07-28 Mark Kettenis <kettenis@gnu.org>
14399 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
14400 gdb1718". PR backtrace/1718 partially fixed.
14402 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
14404 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
14406 2004-07-26 Nick Clifton <nickc@redhat.com>
14408 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
14409 good default value for a specific architecture is available then
14410 set it to that value. Otherwise default to the -gstabs switch.
14411 Remove the -g... switches from the asm-flags variable. Allow the
14412 target board info to override the value if it wants to. Pass the
14413 switch on the assembler command line.
14415 2004-07-23 Mark Kettenis <kettenis@gnu.org>
14417 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
14418 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
14419 (main): Call new function.
14421 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
14423 Test for PR exp/1715.
14424 * gdb.base/radix.exp: Refactor common procedures. Make all
14425 test names unique. Change XFAIL to KFAIL.
14427 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
14429 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
14430 * gdb.ada/gnat_ada.gin: ... to here.
14431 * configure.in: Use gnat_ada.gin.
14432 * configure: Regenerate.
14434 2004-07-20 Andrew Cagney <cagney@gnu.org>
14436 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
14437 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
14438 XFAILs. Clean up test messages and comments. Check backtraces.
14439 Delete re-sync code.
14441 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14444 * gdb.base/annota1.exp: Honor gdb,nosignals.
14445 * gdb.base/annota3.exp: Likewise.
14447 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
14449 * lib/java.exp: Update copyright notice.
14451 2004-07-19 Andrew Cagney <cagney@gnu.org>
14453 * gdb.base/selftest.exp: Copy file from here ...
14454 * gdb.gdb/selftest.exp: ... to here.
14456 2004-07-16 Andrew Cagney <cagney@redhat.com>
14458 * lib/insight-support.exp: Delete file.
14459 * lib/java.exp (java_init): Fix copyright.
14461 2004-07-16 Andrew Cagney <cagney@gnu.org>
14463 * gdb.base/restore.c: Append "prologue" to comments marking the a
14464 function's prologue.
14465 * gdb.base/restore.exp: Update copyright, re-indent.
14466 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
14467 callerN" prefix where needed. Update patterns that match a
14468 function's prologue.
14470 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
14472 * gdb.base/restore.c: Add copyright notice.
14474 2004-07-16 Andrew Cagney <cagney@gnu.org>
14476 * gdb.base/logical.exp: Update copyright.
14477 (evaluate): New procedure. Use to re-implement tests using
14480 2004-07-14 Martin Hunt <hunt@redhat.com>
14482 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
14483 which fixes some problems where init.tcl was not found.
14485 2004-07-13 Andrew Cagney <cagney@gnu.org>
14487 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
14488 (check_sizeof, check_valueof): Do not include the output in the
14489 test name. Use gdb_test.
14490 (get_valueof): Use gdb_test_multiple.
14492 * gdb.base/step-test.exp: Update copyright. Use
14493 gdb_test_multiple. Ensure that test names do not include
14494 architecture dependent output.
14496 * gdb.gdb/observer.exp: Update copyright.
14497 (setup_test): Use gdb_test_multiple.
14498 (attach_first_observer, attach_second_observer)
14499 (attach_third_observer, detach_first_observer)
14500 (detach_second_observer, detach_third_observer)
14501 (reset_counters, check_counters): Make $message a prefix.
14502 (test_normal_stop_notifications): Add "args" parameter - a list of
14503 init functions to be called. Make $message a prefix,
14504 (test_observer_normal_stop): Change the message prefixes so that
14505 they are unique, pass the attach / detach procedures to
14506 test_normal_stop_notifications.
14508 * gdb.base/signull.exp (test_segv): Prefix all tests with
14509 "${name}". Clean up test messages.
14511 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
14513 * gdb.base/ena-dis-br.exp: Update copyright.
14514 (break_at): New function. Replace send_gdb with gdb_test,
14515 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
14516 ignore count, not stopped at bpt", with KFAIL.
14518 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
14520 * gdb.base/attach.exp: Remove cleanupfile handling.
14522 2004-07-12 Andrew Cagney <cagney@gnu.org>
14524 * gdb.base/annota1.exp: Cleanup corefile test name.
14525 * gdb.base/annota3.exp: Ditto.
14527 2004-07-12 Andrew Cagney <cagney@gnu.org>
14529 * gdb.base/signals.exp: Clean up copyright, re-indent.
14531 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
14532 gdb_test and gdb_test_multiple.
14534 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
14536 * gdb.java/jmain.exp: Fix expected line number for main to
14537 break at. Set XFAIL for break at main test since gcj does not
14538 provide line number info for first statement in main.
14540 2004-07-08 Andrew Cagney <cagney@gnu.org>
14542 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
14544 * gdb.base/sigbpt.exp: Make the common part of each test name a
14545 prefix instead of suffix.
14547 2004-07-07 Bob Rossi <bob_rossi@cox.net>
14549 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
14550 test from test_tbreak_creation_and_listing to
14551 test_file_list_exec_source_file
14552 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
14553 Changed name of test from test_tbreak_creation_and_listing to
14554 test_file_list_exec_source_file
14556 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
14558 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
14559 the jmisc() constructor instead of <init>.
14560 * gdb.java/jmisc1.exp: Ditto.
14562 2004-07-07 Andrew Cagney <cagney@gnu.org>
14564 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
14567 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
14569 * gdb.cp/templates.exp: Accept whitespace change in demangler
14572 2004-07-06 Andrew Cagney <cagney@gnu.org>
14574 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
14576 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
14578 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
14579 * lib/compiler.cc: Likewise.
14581 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
14583 * lib/compiler.cc: Work around string preprocessing problem
14584 with old hp c++ compiler.
14585 * lib/compiler.c: Likewise.
14587 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
14589 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
14590 directives to conditionalize symbol prefixing.
14591 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
14592 additional_flags handling. Add underscore prefix for Cygwin.
14593 * gdb.arch/i386-unwind.c: Use preprocessor directives to
14594 conditionalize symbol prefixing.
14595 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
14596 additional_flags handling. Add underscore prefix for Cygwin.
14598 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
14600 * gdb.base/bigcore.exp: Skip test on Cygwin.
14602 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
14604 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
14605 formats for "info register". Use gdb_test_multiple. Fix
14606 the "invalid register" test.
14608 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
14610 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
14611 PID for Cygwin. Add Cygwin specific strings to check for in some
14613 (do_attach_tests): Add a test for user interaction when attaching
14614 to a process with no matching symbol table already loaded.
14616 2004-06-26 Andrew Cagney <cagney@gnu.org>
14618 Test PR java/1567 and PR java/1565.
14619 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
14620 * gdb.java/jmisc2.exp: Delete file.
14622 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
14624 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
14626 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
14628 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
14631 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
14633 * gdb.cp/pr-1553.exp: Remove.
14635 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
14637 * gdb.cp/pr-1553.cc: Remove.
14638 * gdb.cp/pr-1553.exp: Disable this test.
14640 2004-06-20 Jim Blandy <jimb@redhat.com>
14642 Fix PR testsuite/1680.
14643 * gdb.arch/i386-sse.exp: Properly quote curly braces in
14644 regular expressions.
14646 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
14648 Fix PR testsuite/1679.
14649 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
14650 Issue an UNSUPPORTED result instead.
14652 2004-06-18 Jim Blandy <jimb@redhat.com>
14654 * gdb.base/charset.exp: Only send a control-C if we see a new
14655 prompt and incomplete command.
14657 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
14659 * gdb.cp/pr-574.cc: Add copyright notice.
14661 2004-06-17 Jim Blandy <jimb@redhat.com>
14663 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
14664 cases where the regexp has no groups; this grabs random text from
14665 the previous test suite, whatever that was.
14667 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
14669 * gdb.cp/printmethod.cc: Add copyright notice.
14671 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
14673 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
14675 2004-06-16 Andrew Cagney <cagney@gnu.org>
14677 * gdb.base/signull.c: Update copyright. Include <string.h>.
14678 (bowler): Replace data_pointer with data_read
14679 and data_write cases. Add code_descriptor case.
14680 (zero, desc): New array and pointer.
14681 (data, code): Change to simple pointers.
14682 * gdb.base/signull.exp: Fix probe pattern matching a function
14683 descriptor SIGSEGV. Replace data_pointer with data_read and
14686 2004-06-16 Andrew Cagney <cagney@gnu.org>
14688 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
14690 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14692 * gdb.base/long_long.c: Add copyright notice.
14694 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
14696 * gdb.base/long_long.exp: Remove reference to
14697 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
14698 to gdb_breakpoint and gdb_continue_to_breakpoint.
14700 2004-06-14 Jim Blandy <jimb@redhat.com>
14702 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
14705 2004-06-14 Andrew Cagney <cagney@gnu.org>
14707 * gdb.base/gcore.exp (capture_command_output): Delete the always
14708 passing tests containing inferior values.
14709 * gdb.base/ending-run.exp: Do not include the breakpoint address
14710 in the test message. Update copyright.
14711 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
14712 size in the test name, use gdb_test_multiple. Update copyright.
14714 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14716 * gdb.cp/ref-types.cc: Add copyright notice.
14718 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
14720 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
14722 * lib/compiler.cc: Likewise.
14723 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
14724 'set' commands. Log diagnostics for other lines. Set
14725 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
14727 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
14729 * gdb.cp/try_catch.cc: Add copyright notice.
14731 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
14733 * gdb.cp/userdef.cc: Add copyright notice.
14735 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
14737 * gdb.cp/virtfunc.cc: Add copyright notice.
14739 2004-06-11 Randolph Chung <tausq@debian.org>
14741 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
14744 2004-06-10 Andrew Cagney <cagney@gnu.org>
14746 * lib/compiler.cc, lib/compiler.c: Append either
14747 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
14748 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
14749 instead of gcc-3-3.
14751 2004-06-09 Andrew Cagney <cagney@gnu.org>
14753 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
14754 gdb/1455, bug is specific to "long long" and "double".
14756 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
14757 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
14758 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
14761 2004-06-09 Andrew Cagney <cagney@gnu.org>
14763 * gdb.base/structs.exp (test_struct_returns): Replace
14764 "return_value_unknown" and "finish_value_unknown" by
14765 "return_value_known" and "finish_value_known". Instead of
14766 "return_value_unknown" iff "finish_value_unknown", check
14767 "return_value_known" implies "finish_value_known".
14769 2004-06-08 Martin Hunt <hunt@redhat.com>
14771 * gdb.base/float.exp: Add pattern for mips targets.
14773 2004-06-08 Randolph Chung <tausq@debian.org>
14775 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
14776 message for unknown architectures more clear.
14778 2004-06-08 Joel Brobecker <brobecker@gnat.com>
14780 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
14781 start the execution of the program.
14783 2004-06-07 Jim Blandy <jimb@redhat.com>
14785 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
14786 * gdb.arch/i386-cpuid.h: New helper file.
14788 2004-06-07 Randolph Chung <tausq@debian.org>
14790 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
14793 2004-06-04 Roland McGrath <roland@redhat.com>
14796 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
14797 differently to be robust to output buffering differences.
14799 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
14801 * gdb.threads/pthreads.exp: Update copyright years.
14802 (check_control_c): Change asynchronous 'after' to synchronous.
14804 2004-06-04 Roland McGrath <roland@redhat.com>
14806 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
14809 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
14812 * gdb.threads/manythreads.exp: Change asynchronous 'after'
14813 calls to synchronous.
14815 2004-05-26 Jim Blandy <jimb@redhat.com>
14817 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
14819 2004-05-24 Randolph Chung <tausq@debian.org>
14821 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
14822 * gdb.asm/pa.inc: New file.
14824 2004-05-22 Mark Kettenis <kettenis@gnu.org>
14826 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
14828 2004-05-21 Joel Brobecker <brobecker@gnat.com>
14829 Daniel Jacobowitz <drow@mvista.com>
14831 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
14834 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14836 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
14837 setjmp/longjmp. Use sigaction instead of signal.
14839 2004-05-19 J. Brobecker <brobecker@gnat.com>
14840 Michael Snyder <msnyder@redhat.com>
14842 * gdb.threads/pthread_cond_wait.c: New file.
14843 * gdb.threads/pthread_cond_wait.exp: New testcase.
14845 2004-05-13 Andrew Cagney <cagney@redhat.com>
14847 * gdb.base/signull.exp, gdb.base/signull.c: New files.
14848 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
14850 2004-05-11 Andrew Cagney <cagney@redhat.com>
14852 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
14853 fixed but revealed gdb/1639.
14855 2004-05-10 Andrew Cagney <cagney@redhat.com>
14857 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
14858 func1" and "next to 2nd alarm", kernel bug avoided.
14860 2004-05-10 Daniel Jacobowitz <dan@debian.org>
14863 * gdb.base/bigcore.exp: Check the size of the dumped core file.
14864 XFAIL if it is smaller than bytes_allocated.
14865 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
14866 (main): Make chunks_allocated unsigned. Correct comment.
14868 2004-05-07 Joel Brobecker <brobecker@gnat.com>
14870 * gdb.arch/powerpc-aix-prologue.c: New file.
14871 * gdb.arch/powerpc-aix-prologue.exp: New file.
14873 2004-05-07 Jim Blandy <jimb@redhat.com>
14875 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
14876 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
14878 2004-05-06 Joel Brobecker <brobecker@gnat.com>
14880 * gdb.base/sep.exp: No longer setup_kfail when the program was
14883 2004-05-05 Jim Ingham <jingham@apple.com>
14885 * gdb.base/pending.exp: Make sure pending breakpoints
14886 preserve the ignore count.
14888 2004-04-27 Jerome Guitton <guitton@gnat.com>
14890 * i386-prologue.exp: Add testcase for jump instruction as first
14891 instruction of the real code.
14892 * i386-prologue.c (jump_at_beginning): New function.
14894 2004-04-28 Mark Kettenis <kettenis@gnu.org>
14896 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
14899 2004-04-28 Mark Kettenis <kettenis@gnu.org>
14901 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
14904 2004-04-25 Mark Kettenis <kettenis@gnu.org>
14906 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
14907 expression that checks the return type.
14909 2004-04-23 Andrew Cagney <cagney@redhat.com>
14911 * gdb.base/call-sc.exp: New test of scalar call/return values.
14912 * gdb.base/call-sc.c: Ditto.
14914 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14916 * gdb.threads/manythreads.c: Reduce thread stack size.
14918 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
14920 * gdb.threads/manythreads.c: Add copyright notice.
14922 2004-04-23 Andrew Cagney <cagney@redhat.com>
14924 * gdb.base/siginfo.exp: Better handle step out of signal.
14925 * gdb.base/sigstep.exp: Ditto.
14927 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
14928 Daniel Jacobowitz <drow@mvista.com>
14930 * gdb.threads/manythreads.c: New testcase.
14931 * gdb.threads/manythreads.exp: Ditto.
14933 2004-04-22 Jim Blandy <jimb@redhat.com>
14935 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
14936 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
14938 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
14940 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
14942 2004-04-21 Andrew Cagney <cagney@redhat.com>
14944 * gdb.base/sigstep.c: New file.
14945 * gdb.base/sigstep.exp: New file.
14947 2004-04-16 Joel Brobecker <brobecker@gnat.com>
14949 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
14950 call to observer_notify_normal_stop.
14952 2004-04-15 Andrew Cagney <cagney@redhat.com>
14954 * gdb.base/siginfo.c: New file.
14955 * gdb.base/siginfo.exp: New file.
14957 2004-04-12 J. Brobecker <brobecker@gnat.com>
14959 * gdb.base/sep.exp: Fix typo in comment.
14961 2004-04-12 J. Brobecker <brobecker@gnat.com>
14963 * gdb.base/sep.c: New file.
14964 * gdb.base/sep-proc.c: New file.
14965 * gdb.base/sep.exp: New testcase.
14967 2004-04-09 Mark Kettenis <kettenis@gnu.org>
14969 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
14972 2004-04-05 Andrew Cagney <cagney@redhat.com>
14974 * gdb.base/sigaltstack.c: New file.
14975 * gdb.base/sigaltstack.exp: New file.
14977 2004-04-04 Joel Brobecker <brobecker@gnat.com>
14979 * gdb.base/foll-fork.exp: Update the expected output for
14980 "help set follow-fork-mode", to match a change that was made
14981 to the help of this variable on 2004-01-13.
14983 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14985 * lib/ada.exp: Add copyright notice.
14986 * bar.ads: Likewise.
14987 * bar.adb: Likewise.
14988 * null_record.adb: Likewise.
14989 * null_record.exp: Likewise.
14990 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
14992 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14994 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
14995 * configure: Regenerate.
14997 2004-04-01 Joel Brobecker <brobecker@gnat.com>
14999 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
15000 to build the application. Remove the message printed when in
15001 verbose mode, redundant with the UNSUPPORTED message above.
15003 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15005 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
15006 * gdb.ada (null_record.exp): New testcase.
15008 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15010 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
15012 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15014 * gdb.ada: New subdirectory.
15015 * gdb.ada/Makefile.in: New file.
15016 * gdb.ada/gnat_ada.gpr.in: New file.
15018 2004-03-31 Joel Brobecker <brobecker@gnat.com>
15020 * lib/ada.exp: New file.
15022 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
15024 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
15025 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
15027 2004-03-22 Andrew Cagney <cagney@redhat.com>
15029 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
15030 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
15031 Problem identified by Ulrich Weigand.
15033 2004-03-17 David Carlton <carlton@kealia.com>
15035 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
15038 2004-03-16 Roland McGrath <roland@redhat.com>
15040 * gdb.base/auxv.exp: New file.
15041 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
15043 2004-03-12 David Carlton <carlton@kealia.com>
15045 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
15046 * gdb.cp/pr-1553.cc: Ditto.
15047 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
15050 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
15052 * gdb.cp/templates.exp: Accept more template types.
15054 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15056 From Corinna Vinschen with modifications.
15057 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
15058 local variable obj_with_enum.
15059 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
15060 results with obj_with_enum.
15062 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15064 * gdb.cp/classes.cc: New file, copied from misc.cc.
15065 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
15067 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
15069 * gdb.cp/misc.cc: Add copyright notice.
15071 2004-03-05 David Carlton <carlton@kealia.com>
15073 * gdb.cp/rtti.exp: Add 'print *obj3' test.
15074 * gdb.cp/rtti.h: Update copyright.
15075 (namespace n2::n3): New.
15076 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
15077 (n2::n3::func3): New.
15078 (main): Call n2::n3::func3.
15079 * gdb.cp/rtti2.cc: Update copyright.
15080 (n2::create3): New.
15082 2004-03-04 Mark Kettenis <kettenis@gnu.org>
15084 * gdb.asm/openbsd.inc: Fix typo.
15086 2004-03-03 Fred Fish <fnf@redhat.com>
15088 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
15089 "val" instead of unused "size". Update copyright year.
15091 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15093 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
15094 to use unsigned char.
15095 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
15096 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
15098 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
15100 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
15103 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15105 * gdb.base/relocate.c (dummy): Initialize.
15107 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
15109 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
15110 a breakpoint at exit.
15112 2004-02-27 Fred Fish <fnf@redhat.com>
15114 * gdb.base/chng-syms.exp: Add expect condition to match failing
15115 case that isn't a timeout.
15117 2004-02-27 Andrew Cagney <cagney@redhat.com>
15119 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
15122 2004-02-26 Fred Fish <fnf@redhat.com>
15124 * gdb.arch/gdb1431.c: Remove.
15125 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
15126 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
15127 of "until" incorrectly.
15129 2004-02-26 J. Brobecker <brobecker@gnat.com>
15131 * gdb.cp/class2.cc (empty): New class.
15132 (refer): New function.
15133 (main): Declare an object of type empty and use it.
15134 * gdb.cp/class2.exp: Print the value of an object of type empty.
15136 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
15138 * gdb.base/langs.exp: Update query string to match the
15139 new nquery format used for pending breakpoints.
15141 2004-02-26 Andrew Cagney <cagney@redhat.com>
15144 * gdb.base/charset.c: Update copyright notice.
15145 (main, init_string): Remove the escape character '\e' tests.
15146 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
15147 * gdb.base/charset.exp (valid_host_charset): Ditto.
15148 * gdb.base/setvar.exp: Ditto.
15150 2004-02-24 Andrew Cagney <cagney@redhat.com>
15152 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
15153 mmapped data in core file" PASS and FAIL messages consistent.
15155 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
15156 setting a breakpoint. Work around PR java/1565.
15158 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
15160 * lib/gdb.exp (gdb_breakpoint): Update query string to match
15162 * gdb.base/pending.exp: Ditto.
15164 2004-02-22 Mark Kettenis <kettenis@gnu.org>
15166 * configure.in: Run stabs tests on *BSD.
15167 * configure: Regenerated.
15169 2004-02-21 Mark Kettenis <kettenis@gnu.org>
15171 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
15173 2004-02-20 Fred Fish <fnf@redhat.com>
15175 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
15176 blank in test for "returns short", for consistency with other
15177 "returns xxx" tests. Update copyright year.
15179 2004-02-19 Fred Fish <fnf@redhat.com>
15181 New testcase for PR breakpoint/1558.
15182 * gdb.arch/gdb1558.exp: New file.
15183 * gdb.arch/gdb1558.c: New file.
15185 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
15187 * gdb.base/nodebug.exp: Fix typo.
15189 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15191 Committed by Jim Blandy <jimb@redhat.com>.
15193 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
15195 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
15197 * gdb.base/float.exp: Support s390*-*-* targets.
15199 2004-02-17 Adam Fedor <fedor@gnu.org>
15201 * gdb.base/gdb1555.exp: New file.
15202 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
15204 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
15206 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
15208 2004-02-16 Fred Fish <fnf@redhat.com>
15210 * gdb.arch/gdb1291.c: Remove
15211 * gdb.arch/gdb1291.s: New test input file.
15212 * gdb.arch/gdb1291.exp: Expand test to check case that should not
15213 fail. Test for correct result, known incorrect result, other
15214 failures and timeouts.
15216 2004-02-16 Andrew Cagney <cagney@redhat.com>
15218 * gdb.base/bigcore.exp: New file.
15219 * gdb.base/bigcore.c: New file.
15221 2004-02-13 Andrew Cagney <cagney@redhat.com>
15223 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
15224 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
15225 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
15226 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
15227 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
15228 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
15229 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
15230 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
15231 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
15232 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
15234 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
15236 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
15237 executed is an alloc instruction.
15239 2004-02-11 David Carlton <carlton@kealia.com>
15241 * gdb.cp/breakpoint.exp: New.
15242 * gdb.cp/breakpoint.cc: New.
15244 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
15246 Partial fix for PR gdb/1543.
15247 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
15248 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
15249 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
15250 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
15251 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
15252 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
15253 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
15254 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
15255 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
15256 to bug-gdb@prep.ai.mit.edu .
15257 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
15258 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
15259 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
15262 2004-02-10 Andrew Cagney <cagney@redhat.com>
15264 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
15265 using gdb_internal_error_resync.
15267 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
15269 * gdb.threads/thread-specific.exp: Stop early if no threads are
15272 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
15274 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
15276 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
15278 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
15281 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
15283 * config/sim.exp (gdb_load): Handle $arg == "".
15284 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
15285 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
15287 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
15289 * gdb.base/maint.exp: Update test to reflect
15292 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
15294 * gdb.base/pendshr.c (pendfunc): New function that calls
15296 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
15298 2004-02-04 Fred Fish <fnf@redhat.com>
15300 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
15301 function symbols and update copyright years.
15302 * gdb.arch/gdb1291.c: Ditto.
15304 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15306 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
15308 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15310 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
15312 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
15314 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
15316 2004-02-02 Fred Fish <fnf@redhat.com>
15318 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
15319 remote targets. Update copyright years.
15321 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
15323 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
15325 * gdb.base/langs.exp: Fix test which attempts to create
15326 breakpoint on non-existent function to handle new pending
15328 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
15330 * gdb.base/pending.exp: New test.
15331 * gdb.base/pending.c: New file.
15332 * gdb.base/pendshr.c: Ditto.
15334 2004-02-02 David Carlton <carlton@kealia.com>
15336 * gdb.cp/overload.exp: Add overloadNamespace tests.
15337 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
15338 (overloadNamespace, XXX): New.
15339 (main): Call XXX::marker2.
15341 2004-02-01 Fred Fish <fnf@redhat.com>
15343 * gdb.base/dump.exp: Use runto_main instead of "runto main".
15344 * gdb.base/finish.exp: Ditto.
15345 * gdb.base/gcore.exp: Ditto.
15346 * gdb.base/huge.exp: Ditto.
15347 * gdb.base/info-proc.exp: Ditto.
15348 * gdb.base/return2.exp: Ditto.
15349 * gdb.threads/gcore-thread.exp: Ditto.
15351 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15353 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
15355 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15357 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
15358 that opening the file succeeds on OpenBSD.
15360 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15362 * gdb.threads/thread-specific.c: New file.
15363 * gdb.threads/threads-specific.exp: New test script.
15364 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
15367 2004-02-01 Mark Kettenis <kettenis@gnu.org>
15369 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
15370 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
15371 only on the "print_small_structs from print_long_arg_list" test.
15373 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
15375 * gdb.base/completion.exp: Kill a stray backslash.
15377 From Jim Ingham <jingham@apple.com>:
15378 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
15379 agrees with the result from sending a tab.
15381 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
15383 * gdb.base/chng-syms.exp: Remove stray newline.
15385 2004-01-31 Mark Kettenis <kettenis@gnu.org>
15387 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
15389 * gdb.asm/openbsd.inc: New file.
15391 2004-01-30 Mark Kettenis <kettenis@gnu.org>
15393 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
15394 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
15395 *-*solaris2*. Remove commented out default settings for
15396 asm-flags. Replace gdb_compile with target_link.
15398 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
15400 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
15401 for all tests. Remove old hp-ux and cygnus xfail cases.
15403 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
15405 * gdb.base/chng-syms.exp: New file.
15406 * gdb.base/chng-syms.c: New file.
15408 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15410 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
15411 Provide arms for current output in all my configurations.
15413 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
15415 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
15416 * lib/compiler.cc: Likewise.
15417 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
15418 get the right preprocessor. Eval the output directly. Remove
15419 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
15420 hp_f77_compiler and hp_f90_compiler completely.
15421 (gdb_preprocess): Delete.
15422 (get_compiler): Delete.
15424 2004-01-24 Mark Kettenis <kettenis@gnu.org>
15426 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
15429 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
15431 * gdb.mi/mi-stack.exp: Update copyright.
15433 2004-01-23 David Carlton <carlton@kealia.com>
15435 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
15436 test for cp_lookup_transparent_type.
15437 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
15440 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
15442 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
15445 2004-01-23 David Carlton <carlton@kealia.com>
15447 * gdb.cp/namespace.cc (C::ensureRefs): New.
15448 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
15450 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
15452 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
15453 case "-stack-list-locals 2".
15454 * gdb.mi/mi-var-child.exp: Test for case
15455 "-var-list-children --all-values NAME".
15457 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
15459 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
15461 2004-01-18 Mark Kettenis <kettenis@gnu.org>
15463 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
15464 used with gdb_test_multiple.
15466 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
15467 read at address 0. This fixes PR testsuite/1504.
15469 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
15471 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
15472 Remove downloading, guessing the host executable, the calls to
15473 gdb_file_cmd and gdb_target_cmd, and "load" support.
15474 (infer_host_exec): New function broken out from gdb_load.
15475 (gdb_load): New wrapper for gdbserver_gdb_load.
15476 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
15477 gdb_target_cmd. Use -target-select.
15478 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
15479 Download binaries to the host. Clear last_mi_remote_file when
15480 we load a new binary.
15481 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
15482 call gdbserver_gdb_load and mi_gdb_target_cmd.
15484 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15486 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
15489 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
15491 * gdb.cp/templates.exp: Fix typo in test name of
15492 "print Foo<volatile char*>::foo".
15494 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15496 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
15498 2004-01-16 Ben Elliston <bje@wasabisystems.com>
15500 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
15501 (clean mostlyclean): Remove empty rm.
15503 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
15505 * gdb.base/setvar.exp: Add copyright years.
15507 2004-01-14 David Carlton <carlton@bactrian.org>
15509 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
15510 PR c++/1511 and update coment.
15511 * gdb.cp/templates.exp: Update patterns to match current output.
15512 If changes involve something other than whitespace, KFAIL
15513 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
15515 2004-01-14 David Carlton <carlton@kealia.com>
15517 * gdb.cp/namespace.exp: Add tests involving classes defined within
15519 * gdb.cp/namespace.cc (C::CClass): New.
15520 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
15522 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
15524 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
15525 what debug info we have. Print a better message if something goes
15526 wrong while producing the separate debug info file.
15528 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15530 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
15532 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
15534 * gdb.base/callfuncs.c: Add copyright notice.
15536 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
15538 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
15539 inheritance. PR gdb/1498, PR gcc/13539.
15541 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
15543 * gdb.threads/gcore-thread.exp: Prefix name of binary with
15544 test specific name.
15545 * gdb.mi/gdb669.exp: Ditto.
15546 * gdb.mi/mi-pthreads.exp: Ditto.
15547 * gdb.mi/mi1-pthreads.exp: Ditto.
15548 * gdb.mi/mi2-pthreads.exp: Ditto.
15550 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15552 * gdb.cp/member-ptr.cc: Add copyright notice.
15554 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
15556 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
15557 some patterns for recent versions of gcc and hpacc. Delete
15558 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
15559 Delete tests that access a NULL pointer-to-member-data. This
15560 script is still disabled for gcc.
15562 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15564 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
15567 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
15569 * gdb.base/sepdebug.exp: New file.
15570 * gdb.base/sepdebug.c: New file.
15571 * lib/gdb.exp (separate_debug_filename): New procedure.
15572 (gdb_gnu_strip_debug): New procedure.
15574 2004-01-12 Andrew Cagney <cagney@redhat.com>
15576 * gdb.mi/ChangeLog: Delete file. Renamed to ...
15577 * gdb.mi/ChangeLog-1999-2003: New file.
15579 2004-01-12 Andrew Cagney <cagney@redhat.com>
15581 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
15582 "Renaming a directory to a non-empty directory returns ENOTEMPTY
15583 or EEXIST", treat EBUSY as an XFAIL.
15585 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
15587 * gdb.base/scope.exp: Remove obsolete setup_xfail for
15590 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15592 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
15595 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
15597 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
15598 and "(aCC)" decorations. Remove obsolete doco about old
15601 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15603 * gdb.cp/exception.exp: Fix typo in doco.
15605 2004-01-09 Mark Kettenis <kettenis@gnu.org>
15607 * gdb.base/gdb1476.exp: Fix typo.
15609 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15611 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
15614 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
15616 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
15617 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
15618 Use gdb_compile. Remove restriction on gcc. Add some patterns
15619 for recent version of gdb. Delete second half, which was a copy
15620 of the first half with different build flags. This test is
15621 still disabled because it is still not ready for production.
15623 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15625 * gdb.cp/exception.cc: Add copyright notice.
15626 * gdb.cp/exception.exp: Add a notice that this file is broken
15627 because of line number changes caused by addition of copyright
15630 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15632 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
15633 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
15635 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15637 * gdb.cp/classes.exp: Accept gnu abi 2.
15638 * gdb.cp/derivation.exp: Likewise.
15639 * gdb.cp/overload.exp: Likewise.
15640 * gdb.cp/virtfunc.exp: Likewise.
15642 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
15644 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
15645 semicolon after end of function.
15647 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15649 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
15650 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
15651 boilerplate code for compiling and running the program under
15652 test. Add some string method tests.
15654 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15656 * gdb.cp/bs15503.cc: Add copyright notice.
15657 * gdb.cp/bs15503.exp: Adjust line number.
15659 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15661 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
15662 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
15664 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15666 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
15669 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15671 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
15672 * gdb.cp/ctti.exp: Use the marker instead of "next".
15673 With gcc, run further before bailing.
15675 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15677 * gdb.cp/cttiadd.cc: Add copyright notice.
15678 * gdb.cp/cttiadd1.cc: Likewise.
15679 * gdb.cp/cttiadd2.cc: Likewise.
15680 * gdb.cp/cttiadd3.cc: Likewise.
15682 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15684 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
15685 Use gdb_test, gdb_test_multiple. Use floating-point values that
15686 have exact representations in IEEE-ish formats.
15688 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15690 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
15691 compilers. Delete duplicate call to get_compiler_info.
15692 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
15693 * gdb.base/volatile.exp: Likewise.
15695 2004-01-07 Mark Kettenis <kettenis@gnu.org>
15697 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
15698 memory at address 0.
15700 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
15702 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
15703 to test for hp-ux assembler. Fix copyright years.
15705 2004-01-07 Andrew Cagney <cagney@redhat.com>
15707 * gdb.base/fileio.c (strerrno): Add "EBUSY".
15709 2004-01-07 Andrew Cagney <cagney@redhat.com>
15711 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
15712 when creating the read-only file. From analysis by Roland McGrath
15715 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15717 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
15719 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15721 * gdb.base/cvexpr.c: Be type-safe with function pointers and
15724 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15726 * gdb.cp/m-static.exp: Compile one source file at a time.
15727 Delete unused call to get_compiler_info.
15729 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
15731 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
15732 * gdb.base/call-rt-st.exp: Likewise.
15733 * gdb.base/nodebug.exp: Likewise.
15734 * gdb.base/volatile.exp: Likewise.
15735 * gdb.cp/ref-types.exp: Likewise.
15736 * gdb.cp/templates.exp: Likewise.
15738 2004-01-05 Mark Kettenis <kettenis@gnu.org>
15740 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
15742 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
15744 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
15747 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15749 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15752 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
15753 sparc64-*-* and sparc*-solaris2*.
15755 2004-01-04 Mark Kettenis <kettenis@gnu.org>
15757 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
15758 return ${tests}" test. The ${tests} already mentions the
15761 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15763 * gdb.cp/local.exp: Accept gcc abi 2.
15765 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15767 * gdb.cp/templates.exp: Accept gcc abi 2.
15769 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
15771 * lib/compiler.cc: Remove supports_template_debugging.
15772 * gdb.cp/templates.exp: Do not test supports_template_debugging.
15774 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15776 * gdb.cp/namespace.exp: Accept gcc abi 2.
15778 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15780 * gdb.cp/method.exp: Accept gcc abi 2.
15782 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15784 * gdb.cp/classes.exp: Generate identical results as old version.
15785 * gdb.cp/derivation.exp: Likewise.
15786 * gdb.cp/overload.exp: Likewise.
15787 * gdb.cp/virtfunc.exp: Likewise.
15789 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15791 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
15792 mysterious bug with sourceware version of expect.
15794 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15796 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
15797 current versions of gcc, including gcc abi 2. Remove gratuitous
15798 restart of test program. Use gdb_test_multiple and gdb_test for
15799 all tests. Add patterns to xfail missing "const" in "const char *"
15800 and kfail PR gdb/1155.
15802 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
15804 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
15805 current versions of gcc, including gcc abi 2. Remove gratuitous
15806 restart of test program. Use gdb_test_multiple and gdb_test for
15807 all tests. Add patterns to kfail PR gdb/1498.
15809 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15811 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
15812 current versions of gcc, including gcc abi 2. Use "breakpoint"
15813 and "continue" instead of restarting the target program. Use
15814 gdb_test_multiple and gdb_test for all tests.
15816 2004-01-01 Mark Kettenis <kettenis@gnu.org>
15818 * gdb.asm/asm-source.exp: Update copyright year. Link statically
15821 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
15823 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
15824 current versions of gcc, including gcc abi 2. Use "breakpoint"
15825 and "continue" instead of restarting the target program several
15826 times. Use gdb_test_multiple and gdb_test for all tests.
15828 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
15830 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
15833 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15835 * gdb.base/environ.exp: Handle compiling test case from multiple
15838 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15840 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
15842 2003-12-17 Jim Blandy <jimb@redhat.com>
15844 * gdb.base/freebpcmd.c: Add copyright notice.
15846 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
15848 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
15850 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
15852 2003-12-13 Jim Blandy <jimb@redhat.com>
15854 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
15856 2003-12-12 Kevin Buettner <kevinb@redhat.com>
15858 * gdb.asm/frv.inc: New file.
15859 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
15861 2003-12-09 Fred Fish <fnf@redhat.com>
15863 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
15864 functions to break1.c and leave prototypes behind. Add more
15865 "set breakpoint NN here" comments.
15866 * gdb.base/break1.c: New file.
15868 * gdb.base/break.exp: Handle compiling test case from multiple
15869 source files and change source file references as needed.
15870 * gdb.base/completion.exp: Ditto.
15871 * gdb.base/condbreak.exp: Ditto.
15872 * gdb.base/define.exp: Ditto.
15873 * gdb.base/ena-dis-br.exp: Ditto.
15874 * gdb.base/info-proc.exp: Ditto.
15875 * gdb.base/maint.exp: Ditto.
15876 * gdb.base/until.exp: Ditto.
15878 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
15879 hardcoded line numbers.
15880 * gdb.base/define.exp: Ditto.
15881 * gdb.base/ena-dis-br.exp: Ditto.
15882 * gdb.base/maint.exp: Ditto.
15883 * gdb.base/until.exp: Ditto.
15885 * gdb.base/completion.exp: Use "break1" for completion tests since
15886 "break" is no longer a unique prefix.
15888 2003-12-06 Andrew Cagney <cagney@redhat.com>
15890 * gdb.base/structs.exp (test_struct_returns): When applicable, set
15891 "return_value_unimplemented". When an unimplemented struct return
15892 architecture, report incorrect values as a KFAIL
15894 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15896 * gdb.cp/rtti.exp: Accept new wording of warning from
15897 cp_lookup_rtti_type.
15899 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
15901 Partial fix for PR testsuite/1456.
15902 * gdb.base/scope.exp (test_at_main): Replace references to
15903 gcc_compiled with calls to test_compiler_info.
15904 (test_at_foo): Likewise.
15905 (test_at_bar): Likewise.
15907 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
15909 Partial fix for PR testsuite/1456.
15910 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
15911 to test_compiler_info.
15913 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
15915 * gdb.base/so-impl-ld.exp: Update copyright notice.
15917 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
15919 Partial fix for PR testsuite/1456.
15920 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
15921 to test_compiler_info.
15923 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15925 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
15926 from current versions of gdb. Clean up regular expressions.
15927 Delete redundant timeout case.
15929 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15931 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
15932 from current versions of gdb. Clean up regular expressions.
15933 Delete redundant timeout case.
15935 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
15937 Partial fix for PR testsuite/1456.
15938 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
15939 gcc_compiled with call to test_compiler_info.
15941 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
15943 Partial fix for PR testsuite/1456.
15944 * gdb.base/list.exp (test_list_function): Delete unused declaration
15947 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
15949 Partial fix for PR testsuite/1456.
15950 * gdb.base/complex.exp: Replace reference to gcc_compiled with
15951 call to test_compiler_info.
15953 2003-11-29 Mark Kettenis <kettenis@gnu.org>
15955 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
15956 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
15957 it to create the appropriate note.inc.
15958 * gdb.asm/asmsrc1.s: Include "note.inc".
15959 * gdb.asm/netbsd.inc: New file.
15960 * gdb.asm/empty.inc: New file.
15962 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
15964 Partial fix for PR testsuite/1456.
15965 * gdb.base/constvars.exp: Replace references to gcc_compiled with
15966 calls to test_compiler_info.
15968 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
15970 Partial fix for PR testsuite/1456.
15971 * gdb.base/volatile.exp: Replace references to gcc_compiled with
15972 calls to test_compiler_info.
15974 2003-11-27 Mark Kettenis <kettenis@gnu.org>
15976 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
15977 pattern for the KFAILs.
15979 2003-11-25 Adam Fedor <fedor@gnu.org>
15981 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
15982 * gdb.objc/objcdecode.m: New file.
15984 2003-11-25 Adam Fedor <fedor@gnu.org>
15986 * gdb.objc/nondebug.exp: Test for PR objc/1236.
15987 * gdb.objc/nondebug.m: New file.
15989 2003-11-26 Ben Elliston <bje@wasabisystems.com>
15991 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
15992 NetBSD as it does on FreeBSD. Modelled on a similar change by
15993 Mark Kettenis on 2003-05-30.
15994 (link-flags): Set to "--entry _start" regardless of target.
15995 Special linker flags are to be appended to $link-flags.
15996 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
15998 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16000 * gdb.cp/method.exp: Accept output of new demangler.
16002 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16004 * gdb/class2.exp: New file.
16005 * gdb/class2.cc: New file.
16007 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
16009 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
16012 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16014 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
16017 2003-11-23 Mark Kettenis <kettenis@gnu.org>
16019 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
16020 "continue" into "run".
16022 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16024 Partial fix for PR testsuite/1456.
16025 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
16026 call to test_compiler_info.
16027 * gdb.cp/ctti.exp: Likewise.
16028 * gdb.cp/derivation.exp: Likewise.
16029 * gdb.cp/member-ptr.exp: Likewise.
16030 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
16031 reference to gcc_compiled.
16033 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
16035 Fix PR testsuite/1463.
16036 * gdb.base/structs.exp (start_structs_test): Call
16037 get_debug_format before using the debug format.
16039 2003-11-22 Andrew Cagney <cagney@redhat.com>
16041 * lib/gdb.exp (gdb_test_multiple): Add simple example.
16042 * gdb.base/structs.exp: Use gdb_test_multiple.
16044 2003-11-20 Andrew Cagney <cagney@redhat.com>
16046 * gdb.base/structs.exp: Handle and recover from internal errors.
16047 Replace "foo${n}" with "foo<n>" in test messages.
16049 * gdb.base/structs.exp: Update copyright. Rewrite.
16050 * gdb.base/structs.c: Update copyright. Rewrite.
16052 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
16053 resync count exceeded.
16055 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
16056 from the internal error.
16057 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
16058 Original from Jim Blandy.
16059 (gdb_test_multiple): Use gdb_internal_error_resync.
16061 2003-11-19 Andrew Cagney <cagney@redhat.com>
16063 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
16066 2003-11-17 Mark Kettenis <kettenis@gnu.org>
16068 New testcase for PR backtrace/1435.
16069 * gdb.arch/i386-unwind.exp: New file.
16070 * gdb.arch/i386-unwind.c: New file.
16072 2003-11-17 Andrew Cagney <cagney@redhat.com>
16074 * lib/gdb.exp (compiler_info): New global.
16075 (test_compiler_info): New function.
16076 (get_compiler_info): Set compiler_info.
16077 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
16078 "compiler_info" to gcc-<major>-<minor>.
16080 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
16082 * gdb.trace/configure: Remove.
16084 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
16086 * gdb.base/break.c: Add comments to aid finding line numbers for
16088 * gdb.base/break.exp: Remove all references to explicit line
16091 2003-11-11 Nick Clifton <nickc@redhat.com>
16093 * gdb.base/shreloc.exp: Do not run for targets which do not
16094 support shared objects.
16096 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
16098 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
16099 Don't run tests if nofileio flag is given.
16101 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
16103 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
16104 as well as 'Watchpoint'.
16106 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16108 Reported by Jim Ingham <jingham@apple.com>:
16109 * gdb.base/annota1.exp: Match at least one occurrence of the
16110 signal handler annotation.
16112 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
16114 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
16115 as well as 'Watchpoint'.
16117 2003-11-05 Michael Chastain <mec@shout.net>
16119 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
16121 2003-11-03 Kris Warkentin <kewarken@qnx.com>
16123 * gdb.arch/gdb1291.c: New test file.
16124 * gdb.arch/gdb1291.exp: New test script.
16125 * gdb.arch/gdb1431.c: New test file.
16126 * gdb.arch/gdb1431.exp: New test script.
16128 2003-10-22 Michael Chastain <mec@shout.net>
16130 * gdb.mi/pthreads.c: Add copyright notice.
16132 2003-10-22 Michael Chastain <mec@shout.net>
16134 * gdb.threads/pthreads.c: Add copyright notice.
16136 2003-10-20 Michael Chastain <mec@shout.net>
16138 * gdb.base/gdb1056.exp: New test script.
16140 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16142 * gdb.threads/killed.exp: Use gdb_run_cmd.
16144 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
16146 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
16147 create a core file.
16148 * gdb.threads/gcore-thread.exp: Likewise.
16150 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
16152 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
16153 type, based on char type.
16154 (struct bit_flags_short_t): New bitfield type, based on short type.
16155 (init_bit_flags_char): New fuction.
16156 (init_bit_flags_short): Ditto.
16157 (print_bit_flags_char): Ditto.
16158 (print_bit_flags_short): Ditto.
16159 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
16161 2003-10-11 Michael Chastain <mec@shout.net>
16163 * gdb.base/call-rt-st.exp: Update copyright year.
16165 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
16167 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
16168 * gdb.disasm/sh3.s: Ditto.
16170 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
16172 * gdb.threads/switch-threads.exp: New test.
16173 * gdb.threads/switch-threads.c: New source file.
16175 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
16177 * gdb.base/ending-run.exp: Add sh specific case.
16179 2003-10-06 Andrew Cagney <cagney@redhat.com>
16181 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
16182 * gdb.disasm/mn10200.exp: Delete obsolete file.
16184 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
16186 * ChangeLog: Correct an entry command.exp -> commands.exp.
16187 * gdb.base/commands.exp (bp_deleted_in_command_test)
16188 (temporary_breakpoint_commands): Check noargs.
16190 2003-09-25 David Carlton <carlton@kealia.com>
16192 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
16193 of some print tests, where appropriate. Add tests for C::D::cd,
16194 E::ce, F::cXfX, G::XgX.
16195 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
16197 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
16199 * lib/java.exp (java_init): Import target_alias before using it.
16201 2003-09-25 David Carlton <carlton@kealia.com>
16203 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
16205 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
16207 * gdb.base/selftest.exp: Accomodate more instruction reordering
16210 2003-09-17 Michael Chastain <mec@shout.net>
16212 * gdb.cp/gdb1355.exp: New file.
16213 * gdb.cp/gdb1355.c: New file.
16215 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
16217 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
16218 * gdb.asm/sh.inc: New file.
16220 2003-09-11 David Carlton <carlton@kealia.com>
16222 * gdb.cp/namespace.exp: Add tests for namespace types.
16223 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
16224 (test_namespace): New.
16226 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
16228 * gdb.base/relocate.exp: Handle new gdb output at startup.
16229 * gdb.stabs/weird.exp: Ditto.
16231 2003-09-08 Michael Chastain <mec@shout.net>
16233 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
16235 2003-09-07 Michael Chastain <mec@shout.net>
16237 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
16240 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
16242 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
16244 2003-08-30 Michael Chastain <mec@shout.net>
16246 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
16247 * gdb.gdb/observer.exp: Ditto.
16248 * gdb.gdb/xfullpath.exp: Ditto.
16250 2003-08-29 Mark Kettenis <kettenis@gnu.org>
16252 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
16255 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
16257 * gdb.base/dump.exp: Skip for ia64.
16259 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
16261 * gdb.asm/asm-source.exp: Add ia64 support.
16262 * gdb.asm/ia64.inc: New file.
16264 2003-08-22 Michael Chastain <mec@shout.net>
16266 * gdb.cp: New directory.
16267 * gdb.cp/*: Copy from gdb.c++/*.
16268 * gdb.c++/*: Remove.
16269 * Makefile.in: Change gdb.c++ to gdb.cp.
16270 * configure.in: Ditto.
16271 * configure: Regnerate.
16273 2003-08-18 Mark Kettenis <kettenis@gnu.org>
16275 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
16276 * gdb.arch/i386-prologue.c (gdb1338): Add function.
16278 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16280 * mi-var-display.exp (-var-list-children weird): Accept function
16281 pointers with argument types.
16282 * mi1-var-display.exp (-var-list-children weird): Likewise.
16283 * mi2-var-display.exp (-var-list-children weird): Likewise.
16285 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
16287 * gdb.base/annota3.exp: Add missing newline.
16289 2003-08-06 Michael Chastain <mec@shout.net>
16291 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
16293 2003-08-12 Michael Snyder <msnyder@redhat.com>
16295 * gdb.base/float.exp: Add test for SH.
16297 2003-08-10 Mark Kettenis <kettenis@gnu.org>
16299 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
16301 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16303 * gdb.base/completion.exp: Remove reduntant completion test
16306 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16308 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
16309 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
16310 gdb.trace/save-trace.exp: Make sure that full pathnames are
16313 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
16315 * configure.in: Don't generate config.h from config.hin.
16316 * configure: Regenerate.
16317 * config.hin: Remove file.
16318 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
16319 * gdb.threads/pthreads.c: Ditto.
16321 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
16323 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16324 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
16325 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
16326 Replace ld24 with seth/add3.
16328 2003-08-02 Andrew Cagney <cagney@redhat.com>
16330 * gdb.base/annota3.exp: New file.
16331 * gdb.base/annota3.c: New file.
16332 * gdb.c++/annota3.exp: New file.
16333 * gdb.c++/annota3.cc: New file.
16335 2003-07-29 Michael Chastain <mec@shout.net>
16337 * gdb.threads/tls.c (spin): Check errno only if sem_wait
16339 (do_pass): Likewise.
16340 * gdb.threads/tls.exp: Always initialize no_of_threads.
16342 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
16344 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
16346 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
16347 * gdb.threads/tls.exp: Recognize one case of the host library not
16350 2003-07-27 Andrew Cagney <cagney@redhat.com>
16352 * gdb.base/fileio.exp: Use SH when running commands using
16355 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
16357 From Kei Sakamoto <sakamoto.kei@renesas.com>:
16358 * gdb.base/relocate.c (dummy): New padding array.
16360 2003-07-22 Michael Snyder <msnyder@redhat.com>
16362 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
16364 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
16365 patterns to be more general, accepting old and new output.
16366 Some output chars (such as '+') also must be quoted.
16367 Some addresses are displayed numerically instead of
16370 2003-07-23 Michael Snyder <msnyder@redhat.com>
16372 * gdb.base/return2.exp: Don't test long-long return.
16374 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
16375 * gdb.disasm/t01_mov.exp: Ditto.
16376 * gdb.disasm/t02_mova.s: Ditto.
16377 * gdb.disasm/t02_mova.exp: Ditto.
16378 * gdb.disasm/t03_add.s: Ditto.
16379 * gdb.disasm/t03_add.exp: Ditto.
16380 * gdb.disasm/t04_sub.s: Ditto.
16381 * gdb.disasm/t04_sub.exp: Ditto.
16382 * gdb.disasm/t05_cmp.s: Ditto.
16383 * gdb.disasm/t05_cmp.exp: Ditto.
16384 * gdb.disasm/t06_ari2.s: Ditto.
16385 * gdb.disasm/t06_ari2.exp: Ditto.
16386 * gdb.disasm/t07_ari3.s: Ditto.
16387 * gdb.disasm/t07_ari3.exp: Ditto.
16388 * gdb.disasm/t08_or.s: Ditto.
16389 * gdb.disasm/t08_or.exp: Ditto.
16390 * gdb.disasm/t09_xor.s: Ditto.
16391 * gdb.disasm/t09_xor.exp: Ditto.
16392 * gdb.disasm/t10_and.s: Ditto.
16393 * gdb.disasm/t10_and.exp: Ditto.
16394 * gdb.disasm/t11_logs.s: Ditto.
16395 * gdb.disasm/t11_logs.exp: Ditto.
16396 * gdb.disasm/t12_bit.s: Ditto.
16397 * gdb.disasm/t12_bit.exp: Ditto.
16398 * gdb.disasm/t13_otr.s: Ditto.
16399 * gdb.disasm/t13_otr.exp: Ditto.
16401 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16403 * gdb.threads/tls.exp :Add kfail for 'info address' case.
16405 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
16407 * gdb.threads/tls.c : New file.
16408 * gdb.threads/tls.exp : New file.
16409 * gdb.threads/tls-main.c : New file.
16410 * gdb.threads/tls-shared.c : New file.
16411 * gdb.threads/tls-shared.exp : New file.
16413 2003-07-22 Andreas Schwab <schwab@suse.de>
16415 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
16417 2003-07-20 Andreas Schwab <schwab@suse.de>
16419 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
16420 due to insn reordering.
16422 2003-07-15 Andrew Cagney <cagney@redhat.com>
16424 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
16426 2003-07-15 Michael Chastain <mec@shout.net>
16428 * gdb.base/gdb1250.exp: New file.
16429 * gdb.base/gdb1250.c: New file.
16431 2003-07-09 Michal Ludvig <mludvig@suse.cz>
16433 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
16434 expansion of size_t to 'unsigned long', not only to 'unsigned'.
16436 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16438 * gdb.threads/tls.c: New file.
16439 * gdb.threads/tls.exp: New file.
16440 * gdb.threads/tls-main.c: New file.
16441 * gdb.threads/tls-shared.c: New file.
16442 * gdb.threads/tls-shared.exp: New file.
16444 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
16446 * gdb.base/annota1.exp: Make sure that we properly escape the
16447 full path of the source file. Xfail more permissive patterns,
16448 due to a compiler debug info problem.
16450 2003-07-07 Andreas Schwab <schwab@suse.de>
16452 * gdb.asm/m68k.inc: New file.
16453 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
16455 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
16456 arguments"): Also match negative number.
16458 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
16460 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
16462 * gdb.base/store.c (charest): New typedef.
16463 (add_char): Rename to add_charest, update.
16464 (wack_char): Rename to wack_charest, update types. Return l + r
16465 to keep r live across the call.
16466 (wack_short, wack_int, wack_long, wack_longest, wack_float)
16467 (wack_double, wack_doublest): Return l + r to keep r live across
16469 * gdb.base/store.exp: Accomodate store.c changes.
16471 2003-06-30 David Carlton <carlton@kealia.com>
16473 * gdb.c++/maint.exp (test_invalid_name): New.
16474 (test_first_component): Add tests for invalid names.
16476 2003-06-29 Michael Chastain <mec@shout.net>
16478 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
16479 output of '<VTT for class>' for virtual base classes.
16481 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16483 * gdb.base/completion.exp: Tab-complete "complet" instead of
16485 * gdb.base/complex.exp, gdb.base/complex.c: New files.
16487 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16489 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
16490 * gdb.base/volatile.exp: Likewise.
16492 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
16494 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
16497 2003-06-28 Michael Chastain <mec@shout.net>
16498 Daniel Jacobowitz <drow@mvista.com>
16500 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
16501 initial line count of 'captured_main' from 26 to 32.
16502 (test_with_self): Allow xmalloc call to be interleaved with the
16503 preceding two lines.
16505 2003-06-24 Joel Brobecker <brobecker@gnat.com>
16507 * gdb.base/bang.exp: New testcase.
16509 2003-06-23 Joel Brobecker <brobecker@gnat.com>
16511 * gdb.base/langs.exp: Add some tests for the "minimal" language
16514 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
16516 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
16519 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16521 * gdb.base/relocate.exp: Test add-symbol-file with a variable
16524 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
16526 * gdb.c++/pr-1210.cc: New file.
16527 * gdb.c++/pr-1210.exp: New file.
16529 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
16531 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
16534 2003-06-15 Mark Kettenis <kettenis@gnu.org>
16536 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
16537 on *-*-*bsd* instead of *-*-freebsd*.
16539 2003-06-14 Andrew Cagney <cagney@redhat.com>
16541 * gdb.base/store.exp: Test longest and doublest. Test all
16542 parameters. Weaken return statement match.
16543 * gdb.base/store.c: Add longest and doublest - aka long long and
16544 long double functions. Put all parameters into local register
16545 variables. Use negative values.
16547 2003-06-14 Andrew Cagney <cagney@redhat.com>
16549 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
16550 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
16552 * gdb.base/fileio.exp: Disable target when nointerrupts and
16553 noinferiorio, instead of limiting it to remote. Use remote_exec
16556 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
16558 * gdb.base/float.exp: Add ia64 support.
16560 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
16562 * gdb.base/fileio.exp: Run only on remote targets.
16564 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
16566 * gdb.base/fileio.c: New file, testing File-I/O.
16567 * gdb.base/fileio.exp: Ditto.
16569 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
16571 * gdb.base/shreloc.exp: New file, check symbol values obtained from
16572 shared objects after relocation at load time (gdb PR/1132).
16573 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
16574 as above, part of the shared object relocation test.
16576 2003-06-08 Mark Kettenis <kettenis@gnu.org>
16578 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
16579 fully filled history list.
16580 * gdb.base/gdb_history: New file.
16582 * gdb.base/signals.exp: XFAIL "continue to func1" on
16585 * gdb.base/attach.exp: When trying to attach to a nonexistent
16586 process, make it possible to specify the PID based on the target,
16587 and do so for *-*-freebsd*.
16589 2003-06-02 Richard Henderson <rth@redhat.com>
16591 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
16593 2003-06-02 Richard Henderson <rth@redhat.com>
16595 * gdb.base/selftest.exp: Next over lim_at_start initialization.
16597 2003-06-02 Richard Henderson <rth@redhat.com>
16599 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
16601 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
16603 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16606 2003-06-01 Mark Kettenis <kettenis@gnu.org>
16608 * gdb.asm/asm-source.exp: Check for memory read errors in
16609 disassembler test on *BSD too.
16611 2003-06-01 Richard Henderson <rth@redhat.com>
16613 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
16615 (gdbasm_call): Lose ldgp.
16616 (gdbasm_startup): Add frame information.
16617 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
16619 2003-05-31 Mark Kettenis <kettenis@gnu.org>
16621 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
16624 2003-05-30 Mark Kettenis <kettenis@gnu.org>
16626 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
16629 2003-05-29 Richard Henderson <rth@redhat.com>
16631 * gdb.asm/alpha.inc: New file.
16632 * gdb.asm/asm-source.exp: Use it.
16634 2003-05-29 Jim Blandy <jimb@redhat.com>
16636 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
16639 2003-05-22 Jim Blandy <jimb@redhat.com>
16641 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
16644 2003-05-20 David Carlton <carlton@math.stanford.edu>
16646 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
16649 2003-05-19 David Carlton <carlton@bactrian.org>
16651 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
16652 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
16654 2003-05-19 David Carlton <carlton@bactrian.org>
16656 * gdb.c++/namespace.exp: Add namespace scope and anonymous
16658 Bump copyright date.
16659 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
16660 (main): Call C::D::marker2.
16661 * gdb.c++/namespace1.cc: New file.
16663 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
16665 Roland McGrath <roland@redhat.com>
16666 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
16667 there is no manager thread.
16669 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
16671 * gdb.threads/schedlock.exp: Remove assumption that all threads
16672 will run in a particular small time slice. Also ensure we break
16673 in one of the child threads rather than the main thread.
16675 2003-05-07 Jim Blandy <jimb@redhat.com>
16677 Add support for assembly source testing on the s390x.
16678 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
16680 * gdb.asm/s390x.inc: New file.
16682 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
16683 succession of 'if' statements.
16685 2003-05-05 Andrew Cagney <cagney@redhat.com>
16687 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
16689 2003-05-05 Andrew Cagney <cagney@redhat.com>
16691 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
16692 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
16694 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
16696 * gdb.base/charset.exp: Update based on new behavior of set/show
16699 2003-05-01 Andrew Cagney <cagney@redhat.com>
16701 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
16702 variable do not give memory errors.
16704 2003-04-30 Adam Fedor <fedor@gnu.org>
16706 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
16707 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
16708 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
16709 gdb.objc/basicclass.m: : New files
16711 * lib/gdb.exp (gdb_compile_objc): New procedure.
16713 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
16715 * gdb.base/signals.exp: Make backtrace tests more specific.
16717 2003-04-23 David Carlton <carlton@bactrian.org>
16719 * gdb.c++/maint.exp (test_first_component): Add tests for
16720 'operator' in more locations.
16722 2003-04-16 Kevin Buettner <kevinb@redhat.com>
16724 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
16726 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
16728 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
16729 func marke' instead. Update test name.
16731 2003-04-15 David Carlton <carlton@math.stanford.edu>
16733 * gdb.c++/maint.exp: New file.
16735 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16737 * gdb.threads/schedlock.c: Change type of thread function argument
16738 to long, to avoid warnings on 64-bit platforms.
16740 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
16742 * gdb.base/attach.exp: Add new message from ptrace in case of
16743 attaching to nonexistent process.
16745 2003-04-11 Jim Blandy <jimb@redhat.com>
16747 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16748 gdb.c++/userdef.cc: Place comments on the lines to which the
16749 marker function might return.
16750 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16751 gdb.c++/userdef.exp: Look for those comments to check that we've
16752 returned to the right place, instead of checking line numbers.
16754 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
16756 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
16757 match on sourcefile name, instead of directory name.
16759 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
16761 * gdb.base/completion.exp: Use string_to_regexp to match the
16762 working directory name.
16764 2003-04-09 Jim Blandy <jimb@redhat.com>
16766 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
16767 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
16768 after an inferior function call, report the failure, but allow the
16771 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16773 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16776 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
16778 * gdb.base/break.exp: Revert last patch.
16780 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
16782 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
16785 2003-04-02 Andrew Cagney <cagney@redhat.com>
16787 * gdb.base/callfuncs.exp: Make "print add" messages unique.
16788 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
16789 matching directories by the name breakpoint.
16790 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
16791 Make "continue to marker1" consistent.
16792 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
16793 message consistent.
16794 * lib/gdb.exp: Put "the program is no longer running", and "the
16795 program exited" in parenthesis.
16796 * lib/mi-support.exp: Ditto.
16798 2003-04-02 Bob Rossi <bob_rossi@cox.net>
16800 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
16802 2003-03-29 Andrew Cagney <cagney@redhat.com>
16804 * gdb.base/sizeof.c (main): Print the value of '\377'.
16805 * gdb.base/sizeof.exp: Check the sign of '\377'.
16807 2003-03-27 Michael Chastain <mec@shout.net>
16809 * gdb.base/gdb1090.exp: New file.
16810 * gdb.base/gdb1090.cc: New file.
16812 2003-03-27 J. Brobecker <brobecker@gnat.com>
16814 * gdb.gdb/observer.exp: New regression test.
16816 2003-03-27 Michael Chastain <mec@shout.net>
16818 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
16819 * gdb.base/ptype.exp: Likewise.
16821 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
16823 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
16825 2003-03-26 Michael Chastain <mec@shout.net>
16827 * gdb.base/ptype.exp: Actually use some typedef'd types.
16829 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
16831 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
16832 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
16834 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16836 * gdb.base/default.exp: Fix regular expression.
16838 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16840 * gdb.base/args.exp: Fix regular expression.
16842 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16844 * gdb.base/help.exp: Allow Win32 child process.
16846 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16848 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
16849 when stepping out of main().
16851 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16853 * gdb.base/default.exp: Check for win32 specific message when calling
16854 "run" without executable.
16856 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16858 * gdb.base/args.exp: Expect .exe in output.
16860 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
16862 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
16865 2003-03-17 Andrew Cagney <cagney@redhat.com>
16867 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
16869 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
16870 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
16872 2003-03-17 David Carlton <carlton@math.stanford.edu>
16874 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
16875 test, for PR breakpoints/38.
16876 Call test_watchpoint_and_breakpoint.
16877 * gdb.base/watchpoint.c (func3): New function.
16878 (main): Call func3.
16880 2003-03-04 David Carlton <carlton@math.stanford.edu>
16882 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
16883 Garply<Garply<char> >:: garply".
16884 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
16885 with respect to PR c++/1111; note also PR c++/1113.
16886 (test_template_breakpoints): KFAIL "constructor breakpoint" with
16887 respect to PR c++/1062.
16888 KFAIL "destructor breakpoint" with respect to PR c++/1112.
16890 2003-03-03 David Carlton <carlton@math.stanford.edu>
16892 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
16893 with respect to PR c++/57.
16894 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
16896 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
16897 respect to PR c++/57.
16899 2003-03-03 David Carlton <carlton@math.stanford.edu>
16901 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
16902 respect to PR c++/33 into FAILs.
16904 2003-03-03 Michael Chastain <mec@shout.net>
16906 * configure.in: Update copyright years.
16908 2003-03-03 Michael Chastain <mec@shout.net>
16910 * Makefile.in: Update copyright years.
16912 2003-02-28 David Carlton <carlton@math.stanford.edu>
16914 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
16915 print class instead of struct and/or superfluous protection
16916 specifiers, as long as the resulting output is equivalent to the
16918 Delete FIXME from end of messages on tests that don't need
16921 2003-02-28 David Carlton <carlton@math.stanford.edu>
16923 * gdb.c++/templates.exp (do_tests): Allow const in the two
16924 Foo<volatile char *>::foo tests.
16926 2003-02-27 Michael Snyder <msnyder@redhat.com>
16928 * gdb.base/restore.c (main): Return zero, so exit code
16929 will be consistant.
16931 2003-02-26 David Carlton <carlton@math.stanford.edu>
16933 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
16934 char *>::foo" test with respect to PR c++/33. Create a new test
16935 which is identical to that one except that it doesn't put the
16936 space between the "char" and the "*"; KFAIL it, too.
16938 2003-02-26 David Carlton <carlton@math.stanford.edu>
16940 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
16941 template types into either PASSes or KFAILs (corresponding to PR
16942 c++/57). Tweak indentation. Update copyright.
16944 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
16946 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
16948 2003-02-13 Michael Chastain <mec@shout.net>
16950 * gdb.base/exprs.exp: Remove i960 remnants.
16951 * gdb.base/funcargs.exp: Likewise.
16952 * gdb.base/list.exp: Likewise.
16953 * gdb.base/ptype.exp: Likewise.
16955 2003-02-14 David Carlton <carlton@math.stanford.edu>
16957 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
16958 pEe->D::vg()" from XFAIL to KFAIL.
16960 2003-02-13 Jason Molenda (jmolenda@apple.com)
16962 * gdb.base/maint.exp: Update maint print statistics regexp to include
16965 2003-02-13 Michael Chastain <mec@shout.net>
16967 * gdb.c++/inherit.exp: Remove call to get_debug_format.
16969 2003-02-12 Michael Chastain <mec@shout.net>
16971 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
16972 * gdb.c++/inherit.exp: Likewise.
16973 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
16974 * gdb.c++/templates.exp: Likewise.
16975 * gdb.c++/virtfunc.exp: Likewise.
16977 2003-02-06 Jason Molenda (jason-cl@molenda.com)
16979 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
16980 why the code is written that way.
16982 2003-02-05 Michael Chastain <mec@shout.net>
16984 * gdb.base/dump.exp: Add missing copyright line.
16986 2003-02-05 Jason Molenda (jason-cl@molenda.com)
16988 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
16989 at the beginning so the breakpoint doesn't get set on the loop.
16991 2003-02-05 Michael Chastain <mec@shout.net>
16993 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
16994 output for configurations with gcc 2.95.3.
16996 2003-02-05 Keith Seitz <keiths@redhat.com>
16997 Andrew Cagney <ac131313@redhat.com>
16999 * gdb.mi/mi-cli.exp: New file.
17001 2003-02-04 Michael Chastain <mec@shout.net>
17003 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
17004 Call perror and then continue.
17006 2003-02-03 Michael Chastain <mec@shout.net>
17008 * gdb.c++/pr-1023.cc: New file.
17009 * gdb.c++/pr-1023.exp: New file.
17011 2003-02-05 Jim Blandy <jimb@redhat.com>
17013 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
17014 it's local to foobar. Check for it there, and check that it's not
17016 * gdb.c++/local.cc (marker2): New function.
17017 (foobar): Call marker1.
17018 (main): Call marker2 instead of marker1.
17020 2003-02-04 Andrew Cagney <ac131313@redhat.com>
17022 * gdb.disasm/mn10200.exp: Obsolete file.
17023 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
17024 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
17025 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
17027 2003-02-04 David Carlton <carlton@math.stanford.edu>
17029 * gdb.c++/overload.exp: Test intToChar(1).
17030 * gdb.c++/overload.cc (intToChar): New.
17031 (main): Call intToChar.
17033 2003-02-03 David Carlton <carlton@math.stanford.edu>
17035 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
17037 KFAIL some of the continue_to_bp_overloaded calls, according to
17040 2003-02-01 Michael Chastain <mec@shout.net>
17042 * gdb.base/advance.c (marker1): New marker function.
17043 * gdb.base/advance.exp: When the 'advance' command lands on the
17044 return breakpoint, it can legitimately stop on either the
17045 current line or the next line. Accommodate both outcomes.
17046 * gdb.base/until.exp: Likewise.
17048 2003-02-02 Andrew Cagney <ac131313@redhat.com>
17050 2002-11-10 Jason Molenda (jason-cl@molenda.com):
17051 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
17052 now a list, not a tuple.
17053 * gdb.mi/mi-var-display.exp: Ditto.
17054 * gdb.mi/gdb792.exp: Ditto.
17056 2003-02-01 Andrew Cagney <ac131313@redhat.com>
17058 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
17059 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
17061 * gdb.mi/mi-syn-frame.c: Part of same.
17063 2003-02-01 Mark Kettenis <kettenis@gnu.org>
17065 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17066 gdb.mi/mi1-pthreads.exp: Return instead of calling
17067 gdb_suppress_entire_file.
17069 2003-02-01 Mark Salter <msalter@redhat.com>
17071 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
17073 2003-01-31 Mark Salter <msalter@redhat.com>
17075 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
17078 2003-01-30 Michael Chastain <mec@shout.net>
17080 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
17081 This was a workaround for a UTF-8 bug in readline 4.3. The bug
17082 has been fixed in gdb/readline on 2003-01-09.
17084 2003-01-29 Michael Snyder <msnyder@redhat.com>
17086 * gdb.base/maint.exp: Allow for leading underscore in symbol.
17087 * gdb.base/display.exp: Allow for leading underscore in symbol.
17088 * gdb.base/args.exp: Skip if target does not support args passing.
17090 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
17092 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
17093 gdb_test. Accept a list of expect arguments as the third
17095 (gdb_test): Use it.
17097 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
17099 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
17100 allow for different test tree configurations. Update some
17101 tescases accordingly.
17102 * gdb.arch/altivec-regs.exp: Ditto.
17103 * gdb.asm/asm-source.exp: Ditto.
17104 * gdb.base/advance.exp: Ditto.
17105 * gdb.base/display.exp: Ditto.
17106 * gdb.base/long_long.exp: Ditto.
17107 * gdb.base/mips_pro.exp: Ditto.
17108 * gdb.base/overlays.exp: Ditto.
17109 * gdb.base/relocate.exp: Ditto.
17110 * gdb.base/setshow.exp: Ditto.
17111 * gdb.base/step-line.exp: Ditto.
17112 * gdb.base/step-test.exp: Ditto.
17113 * gdb.base/until.exp: Ditto.
17114 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
17116 2003-01-17 David Carlton <carlton@math.stanford.edu>
17118 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
17119 corresponding to PR c++/945.
17122 2003-01-17 David Carlton <carlton@math.stanford.edu>
17124 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
17125 corresponding to PR c++/68.
17127 2003-01-17 David Carlton <carlton@math.stanford.edu>
17129 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
17130 (test_paddr_hairy_functions): Call print_addr_2_kfail for
17131 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
17133 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17135 * gdb.base/break.exp: Fix change of default location, because of
17136 removal of until tests.
17137 * gdb.base/help.exp: Update test for new 'until' help message.
17138 Add test for help on 'advance'.
17139 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
17141 2003-01-15 Mark Kettenis <kettenis@gnu.org>
17143 * gdb.base/default.exp: Adapt "info float" test for recent changes
17144 to that command. Add test for "info vector".
17145 * gdb.base/float.exp: New file. Add test for "info float" that
17146 resembles the old test in gdb.base/default.exp.
17148 2003-01-15 David Carlton <carlton@math.stanford.edu>
17150 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
17152 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
17154 * gdb.base/break.exp: Move the tests of until command from here...
17155 * gdb.base/until.exp: ... to here. New file. Add other tests.
17156 * gdb.base/advance.c: New file.
17157 * gdb.base/advance.exp: New file.
17159 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
17161 * gdb.base/args.c: New file.
17162 * gdb.base/args.exp: New file.
17164 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17166 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
17168 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17170 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
17172 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
17174 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
17177 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17179 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
17181 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17183 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
17185 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
17187 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17189 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
17190 * gdb.mi/mi1-console.exp: Likewise.
17192 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17194 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
17195 * gdb.mi/mi1-console.exp: Likewise.
17197 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
17199 * gdb.c++/overload.exp: Remove some fixed XFAILs.
17201 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17203 * gdb.base/detach.exp: New test.
17205 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
17207 * Makefile.in (ALL_SUBDIRS): New variable.
17208 (subdirs, clean, distclean): Use it.
17209 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
17210 regenerating Makefile, since it is generated from the top level.
17211 * gdb.asm/Makefile.in: Likewise.
17212 * gdb.base/Makefile.in: Likewise.
17213 * gdb.c++/Makefile.in: Likewise.
17214 * gdb.disasm/Makefile.in: Likewise.
17215 * gdb.java/Makefile.in: Likewise.
17216 * gdb.mi/Makefile.in: Likewise.
17217 * gdb.threads/Makefile.in: Likewise.
17218 * gdb.trace/Makefile.in: Likewise.
17220 2003-01-09 David Carlton <carlton@math.stanford.edu>
17222 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
17223 Add copyright year 2003.
17225 2003-01-06 Michael Chastain <mec@shout.net>
17227 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
17228 When selecting a thread, 'line' and 'file' are optional.
17229 * gdb.mi/mi1-pthreads.exp: Likewise.
17231 2003-01-06 Andreas Schwab <schwab@suse.de>
17233 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
17236 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17239 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
17240 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
17242 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
17243 instead of calling gdb_suppress_entire_file.
17244 * gdb.threads/print-threads.exp: Likewise.
17245 * gdb.threads/schedlock.exp: Likewise.
17247 * gdb.threads/killed.exp: Return instead of calling
17248 gdb_suppress_entire_file.
17249 * gdb.threads/linux-dp.exp: Likewise.
17250 * gdb.threads/pthreads.exp: Likewise.
17252 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17254 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
17256 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
17257 * gdb.base/whatis.exp: Always allow (void) after function names.
17259 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
17261 * gdb.c++/casts.exp: Correct regexp.
17263 2003-01-04 Mark Kettenis <kettenis@gnu.org>
17265 * configure.in: Call AC_CONFIG_HEADER. Don't call
17266 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
17267 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
17268 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
17269 aforementioned directories in the AC_OUPUT call.
17270 * config.hin: New file.
17271 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
17272 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
17273 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
17274 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
17275 pass -I$objdir instead of -I$objdir/$subdir in compilation.
17276 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
17277 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
17278 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
17279 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
17280 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
17281 gdb.threads/configure.in, gdb.threads/configure,
17282 gdb.threads/config.in, gdb.trace/configure.in,
17283 gdb.trace/configure: Removed.
17285 2003-01-03 Michael Chastain <mec@shout.net>
17287 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
17288 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
17290 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
17292 * gdb.base/store.exp: Fix regular expressions.
17294 2002-12-28 Mark Kettenis <kettenis@gnu.org>
17296 * configure.in: Rewrite.
17297 * configure: Regenerated.
17299 2003-01-03 David Carlton <carlton@math.stanford.edu>
17301 * gdb.base/psymtab.exp: New file.
17302 * gdb.base/psymtab1.c: Ditto.
17303 * gdb.base/psymtab2.c: Ditto.
17305 2002-12-23 Adam Fedor <fedor@gnu.org>
17307 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
17309 2002-12-23 David Carlton <carlton@math.stanford.edu>
17311 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
17312 and current_directory initialization.
17314 2002-12-22 Jim Blandy <jimb@redhat.com>
17316 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
17317 rather than as part of the output file name.
17319 * gdb.base/attach.exp: There's no need to copy the test program to
17320 /tmp; that was only ever necessary on HP/UX, and this test is
17321 entirely disabled there anyway.
17323 2002-12-21 Jim Blandy <jimb@redhat.com>
17325 * gdb.c++/psmang.exp: Doc fix.
17327 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
17330 2002-12-20 David Carlton <carlton@math.stanford.edu>
17332 * gdb.c++/annota2.exp: KFAIL annotate-quit.
17334 2002-12-18 Michael Chastain <mec@shout.net>
17336 * gdb.c++/annota2.exp: Add copyright year 2002.
17338 2002-12-17 David Carlton <carlton@math.stanford.edu>
17340 * gdb.c++/try_catch.cc: Add marker comments.
17341 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
17342 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
17343 * gdb.c++/m-static.cc: Ditto.
17344 * gdb.c++/m-static1.cc: Ditto.
17345 * gdb.c++/try_catch.cc: Ditto.
17347 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
17349 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
17350 to see whether we are using the new -environment-directory
17351 command which resets via -r or the old version of the command
17352 which may prompt the user. Part of fix for gdb/741.
17354 2002-12-13 Andrew Cagney <ac131313@redhat.com>
17356 * gdb.fortran/types.exp: Update obsolete comment.
17357 * gdb.fortran/exprs.exp: Ditto.
17358 * lib/gdb.exp: Delete obsolete code.
17359 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
17360 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
17361 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
17362 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
17363 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
17364 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
17365 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
17366 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
17367 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
17368 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
17369 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
17370 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
17371 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
17372 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
17373 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
17374 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
17375 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
17376 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
17377 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
17378 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
17379 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
17380 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
17381 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
17382 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
17383 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
17384 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
17385 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
17386 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
17387 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
17388 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
17389 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
17390 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
17391 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
17392 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
17393 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
17394 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
17395 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
17397 2002-12-11 David Carlton <carlton@math.stanford.edu>
17399 * gdb.c++/m-data.exp: Add test for members that shadow global
17400 variables: see PR gdb/804.
17401 * gdb.c++/m-data.cc: Ditto.
17403 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
17405 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
17407 2002-12-06 David Carlton <carlton@math.stanford.edu>
17409 * gdb.base/store.c: Don't declare functions static.
17411 2002-12-04 Andrew Cagney <ac131313@redhat.com>
17413 * gdb.base/store.exp, gdb.base/store.c: New files.
17415 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17417 * gdb.base/selftest.exp: Update for current gdb.
17419 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17421 * gdb.base/maint.exp: Only dump symbols from one source file
17424 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
17426 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
17429 2002-11-25 Jim Blandy <jimb@redhat.com>
17431 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
17432 function appearing in error message.
17434 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
17436 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
17438 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
17440 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
17441 for mi1 and current mi is in correct format. New mi startup message
17442 should be in mi console format. This is part of fix for PR gdb/604.
17444 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17446 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
17447 which explicitly prints the zero offset as "+0".
17449 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
17451 * gdb.threads/schedlock.c (args): Make unsigned.
17453 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
17455 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
17456 numbers. Allow "foo2|selected stack frame".
17457 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
17458 * gdb.asm/asmsrc2.s: Likewise.
17459 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
17461 * gdb.asm/mips.inc: New file.
17463 2002-10-18 Adam Fedor <fedor@gnu.org>
17465 * gdb.base/default.exp: Update expected output to include 'ObjC'.
17466 * gdb.base/help.exp: Likewise.
17468 2002-10-17 Kevin Buettner <kevinb@redhat.com>
17470 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
17471 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
17473 2002-10-02 Jim Blandy <jimb@redhat.com>
17475 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
17477 2002-10-01 Andrew Cagney <ac131313@redhat.com>
17479 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
17480 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
17481 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
17482 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
17483 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
17484 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
17485 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
17487 2002-09-29 Andrew Cagney <ac131313@redhat.com>
17489 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
17490 * mi0-disassemble.exp, mi0-eval.exp: Delete.
17491 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
17492 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
17493 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
17494 * mi0-var-block.exp, mi0-var-child.exp: Delete.
17495 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
17497 2002-09-27 Kevin Buettner <kevinb@redhat.com>
17499 * gdb.base/annota1.exp (info break): Make directory components of
17500 path optional since not all compilers emit this debug information.
17502 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
17503 step ends up stepping out of the function instead of stopping on
17506 2002-09-26 Keith Seitz <keiths@redhat.com>
17508 * lib/insight-support.exp (gdbtk_start): Figure out where
17509 the insight executable is based on where gdb is. Use this
17510 executable to start insight instead of gdb.
17512 2002-09-25 Andrew Cagney <cagney@redhat.com>
17514 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
17516 2002-09-24 Andrew Cagney <ac131313@redhat.com>
17518 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
17519 test_isolated_complaints.
17520 (test_empty_complaint): New function.
17521 (test_empty_complaints): New function. Check no output when no
17524 2002-09-19 Jim Blandy <jimb@redhat.com>
17526 * gdb.base/charset.exp, gdb.base/charset.c: New files.
17528 2002-09-19 Andrew Cagney <ac131313@redhat.com>
17530 * gdb.gdb/complaints.exp: New file.
17532 2002-09-18 Andrew Cagney <ac131313@redhat.com>
17534 * gdb.base/maint.exp: Check `help maint internal-warning'.
17536 2002-09-18 David Carlton <carlton@math.stanford.edu>
17538 * gdb.c++/m-static.exp: Remove breakpoints depending on line
17539 numbers, and replace them by a single breakpoint after the
17540 constructors are all finished.
17542 * gdb.c++/m-static.cc: Add test 4.
17543 * gdb.c++/m-static.h: New file.
17544 * gdb.c++/m-static1.cc: New file.
17546 * gdb.c++/printmethod.exp: New file.
17547 * gdb.c++/printmethod.cc: New file.
17549 * gdb.c++/pr-574.exp: New file.
17550 * gdb.c++/pr-574.cc: New file.
17552 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17554 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
17555 embedded targets which never actually exit.
17557 2002-09-18 Fernando Nasser <fnasser@redhat.com>
17559 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
17560 "don't step after run" as unresolved or unsupported, instead of xfail.
17562 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17564 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
17565 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
17566 Add newline to expected string in "step out of main (status wrapper)"
17569 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
17571 * lib/gdb.exp (rerun_to_main): Allow restarting application.
17572 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
17574 2002-09-17 Tom Tromey <tromey@redhat.com>
17576 * gdb.base/printcmds.exp (test_print_string_constants): Expect
17577 \000, not \0, in double-quoted string.
17579 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
17581 * gdb.base/commands.exp: Don't expect a "Program exited normally"
17582 string after running the commands execution on breakpoint tests.
17584 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
17586 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
17588 2002-09-12 Joel Brobecker <brobecker@gnat.com>
17590 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
17592 2002-09-10 Keith Seitz <keiths@redhat.com>
17594 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
17596 (mi_run_to_main): Use mi_runto.
17597 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
17599 2002-09-10 Keith Seitz <keiths@redhat.com>
17601 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
17602 regexp for stopping at main. Could have multiple event notifications.
17603 Don't assume that main was declared with no parameters.
17604 (mi_next): Use mi_step_to.
17605 (mi_step): Use mi_next_to.
17607 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
17609 * gdb.base/default.exp: Fix expected string in `info float' test.
17611 2002-09-09 Ben Elliston <bje@redhat.com>
17613 * config/mips.exp: Update comments.
17614 * config/mips-idt.exp: Likewise.
17615 * config/nind.exp: Likewise.
17616 * config/slite.exp: Likewise.
17617 * config/sparclet.exp: Likewise.
17618 * config/udi.exp: Likewise.
17619 * config/vx.exp: Likewise.
17620 * config/vxworks29k.exp: Likewise.
17622 2002-09-05 Jim Blandy <jimb@redhat.com>
17624 * gdb.threads/killed.exp: Fix test failure message.
17626 2002-09-04 Keith Seitz <keiths@redhat.com>
17628 * lib/mi-support.exp: Update copyright.
17629 (mi_gdb_test): Increase the priority of the expected pattern
17630 so that it matches gdb_test.
17632 2002-09-03 Keith Seitz <keiths@redhat.com>
17634 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
17635 Use integer comparison instead of string comparison for testing
17636 whether binary was built.
17638 2002-09-03 Jim Blandy <jimb@redhat.com>
17640 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
17642 2002-08-29 Jim Blandy <jimb@redhat.com>
17644 * gdb.threads/pthreads.exp: Move the portable thread compilation
17645 code into a function in lib/gdb.exp, and call that from here.
17646 * lib/gdb.exp (gdb_compile_pthreads): New function.
17648 2002-08-29 Keith Seitz <keiths@redhat.com>
17650 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
17651 expect_out so that callers can get at it.
17653 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
17655 * gdb.threads/print-threads.c: New file.
17656 * gdb.threads/print-threads.exp: New file.
17657 * gdb.threads/schedlock.c: New file.
17658 * gdb.threads/schedlock.exp: New file.
17660 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
17662 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
17665 2002-08-17 Mark Kettenis <kettenis@gnu.org>
17667 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
17668 targets. The problem should be fixed now.
17670 2002-08-15 Mark Kettenis <kettenis@gnu.org>
17672 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
17673 2002-07-24 change that removes final dots from error messages.
17675 2002-08-13 Tom Tromey <tromey@redhat.com>
17677 * gdb.base/readline.exp: New file.
17679 2002-08-01 Andrew Cagney <ac131313@redhat.com>
17681 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
17684 2002-08-01 Andrew Cagney <cagney@redhat.com>
17686 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
17687 CHILL_FOR_TARGET and CHILL_LIB.
17688 * configure.in (configdirs): Remove gdb.chill.
17689 * configure: Regenerate.
17690 * lib/gdb.exp: Obsolete references to chill.
17691 * gdb.fortran/types.exp: Ditto.
17692 * gdb.fortran/exprs.exp: Ditto.
17694 2002-07-30 Kevin Buettner <kevinb@redhat.com>
17696 * gdb.base/shlib-call.exp (additional_flags): Conditionally
17697 set Irix-specific compile and link flags.
17699 2002-07-29 Kevin Buettner <kevinb@redhat.com>
17701 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
17702 source files. The ``-o'' option doesn't work with the ``-E'' option
17703 when using the Irix compiler.
17705 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
17707 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
17708 Improve support for reusing an exec file. Copy exec file
17709 to target, and run gdbserver on the target instead of on the host.
17711 2002-07-18 Jim Blandy <jimb@redhat.com>
17713 * gdb.base/ending-run.exp: Don't expect to see the program end in
17714 some orderly fashion when we're running on a real stand-alone
17717 * gdb.base/interrupt.exp: Correct logic for skipping tests on
17718 targets that don't support interrupts.
17720 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
17722 * gdb.base/attach.exp: Add patterns to match output from /proc-based
17724 Move comments in expect statements to inside the actions, so that they
17725 don't get matched against.
17727 2002-07-10 Mark Kettenis <kettenis@gnu.org>
17729 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
17730 function when asleep" test.
17732 2002-07-10 Andrew Cagney <ac131313@redhat.com>
17734 * gdb.base/page.exp: Rewrite to handle problems with very long
17735 `info set' output. Update copyright.
17737 2002-06-26 Andrew Cagney <ac131313@redhat.com>
17739 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
17741 * gdb.hp/configure: Regenerate.
17742 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
17743 * gdb.hp/gdb.threads-hp/configure: Delete file.
17744 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
17746 2002-06-22 Andrew Cagney <ac131313@redhat.com>
17748 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
17749 setlocale, bindtextdomain and textdomain.
17751 2002-06-11 Jim Blandy <jimb@redhat.com>
17753 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
17754 preprocessor macro information is present.
17756 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
17759 2002-06-06 Michael Snyder <msnyder@redhat.com>
17761 * gdb.base/overlays.exp: Record addresses of overlay
17762 functions in TCL variables rather than in GDB variables,
17763 to avoid having GDB convert them to pointers (with loss
17766 * gdb.base/d10v.ld: Merge in several years worth of
17767 default linker script changes.
17768 * gdb.base/long_long.exp: Add check for sizeof (long double).
17770 2002-06-06 Michal Ludvig <mludvig@suse.cz>
17772 * gdb.asm/asm-source.exp: Add x86-64 target.
17773 * gdb.asm/x86_64.inc: New.
17775 2002-05-30 Michael Chastain <mec@shout.net>
17777 From Benjamin Kosnik <bkoz@redhat.com>:
17778 * gdb.c++/m-static.cc: New file.
17779 * gdb.c++/m-static.exp: New file.
17781 2002-05-28 Michael Snyder <msnyder@redhat.com>
17783 * gdb.base/call-ar-st.exp: Allow for reduced floating point
17786 2002-05-27 Michael Chastain <mec@shout.net>
17788 From Benjamin Kosnik <bkoz@redhat.com>:
17789 * gdb.c++/m-data.cc: New file.
17790 * gdb.c++/m-data.exp: New file.
17792 2002-05-27 Michael Chastain <mec@shout.net>
17794 From Benjamin Kosnik <bkoz@redhat.com>:
17795 * gdb.c++/try_catch.cc: New file.
17796 * gdb.c++/try_catch.exp: New file.
17798 2002-05-27 Michael Chastain <mec@shout.net>
17800 * gdb.c++/local.exp: Accept more nested types in output.
17802 2002-05-26 Michael Chastain <mec@shout.net>
17804 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
17806 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
17808 * lib/gdb.exp (gdb_wrapper_init): Just because
17809 gdb_wrapper_file exists, this does not mean that the file
17810 should not be rebuilt. That is what gdb_wrapper_initialized
17812 (default_gdb_init): Reset gdb_wrapper_initialized.
17814 2002-05-23 Michael Snyder <msnyder@redhat.com>
17816 * gdb.base/all-bin.exp: Revise previous patch by just reducing
17817 the precision of the floating point test results.
17818 * gdb.base/call-rt-st.exp: Ditto.
17820 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
17821 * gdb.base/call-rt-st.exp: Ditto.
17823 2002-05-19 Michael Chastain <mec@shout.net>
17825 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
17827 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
17829 * configure.in (configdirs): Add gdb.arch.
17830 * configure: Regenerate.
17832 2002-05-17 Jim Blandy <jimb@redhat.com>
17834 * gdb.base/completion.exp: Recognize the more detailed error
17835 messages produced by the macro expander's lexical analyzer.
17837 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
17839 * gdb.arch/altivec-abi.c: New file.
17840 * gdb.arch/altivec-abi.exp: New file.
17841 * gdb.arch/altivec-regs.c: New file.
17842 * gdb.arch/altivec-regs.exp: New file.
17844 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
17846 * gdb.base/maint.exp (maint print type): Update for new type
17849 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
17851 * gdb.arch: New directory.
17852 * gdb.arch/configure.in: New file.
17853 * gdb.arch/configure: New file.
17854 * gdb.arch/Makefile.in: New file.
17856 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
17858 * gdb.asm/asm-source.exp: Add v850 as supported target.
17859 * gdb.asm/v850.inc: New file.
17861 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
17863 * gdb.c++/annota2.exp (annotate-quit): Add comment.
17865 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
17867 * gdb.base/break.exp: Check 'break "marker2"'.
17869 2002-05-10 Michael Snyder <msnyder@redhat.com>
17871 * gdb.base/long_long.exp: Fix typo.
17873 2002-05-10 Jim Blandy <jimb@redhat.com>
17875 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
17878 * gdb.base/printcmds.exp (test_integer_literals_rejected):
17879 Recognize more detailed error message produced by the macro
17880 expander's lexical analyzer.
17881 * lib/gdb.exp (test_print_reject): Same.
17883 2002-05-09 Mark Kettenis <kettenis@gnu.org>
17885 * gdb.c++/method.exp: Fix typo.
17887 2002-05-08 Michael Snyder <msnyder@redhat.com>
17889 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
17890 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
17891 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
17892 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
17893 Add iftarget clause for strongarm.
17895 2002-05-06 Michael Snyder <msnyder@redhat.com>
17897 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
17898 (gdb_continue_to_end): Accept output from status wrapper.
17899 * gdb.base/ending-run.exp: Add case for output from status wrapper.
17900 Clean up fail messages to match pass messages.
17902 Enable the "needs_status_wrapper" testsuite feature.
17903 * lib/gdb.exp (gdb_wrapper_init): New procedure.
17904 (gdb_compile): Conditionally call gdb_wrapper_init.
17905 * gdb.base/a2-run.exp: Recognize output from status wrapper.
17906 * gdb.c++/method.exp: Recognize output from status wrapper.
17908 2002-05-06 Ben Elliston <bje@redhat.com>
17909 From Graydon Hoare <graydon@redhat.com>
17911 * config/sid.exp: Include support for "rawsid" protocol.
17913 2002-05-03 Jim Blandy <jimb@redhat.com>
17915 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
17916 * gdb.c++/hang3.C: New file.
17918 2002-05-04 Andrew Cagney <ac131313@redhat.com>
17920 * gdb.base/default.exp: Remove obsolete code.
17921 * gdb.c++/misc.exp: Ditto. Update copyright.
17922 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
17923 * gdb.base/whatis.exp: Ditto. Update copyright.
17924 * gdb.base/scope.exp: Ditto. Update copyright.
17925 * gdb.base/ptype.exp: Ditto. Update copyright.
17926 * gdb.base/printcmds.exp: Ditto. Update copyright.
17927 * gdb.base/opaque.exp: Ditto. Update copyright.
17928 * gdb.base/list.exp: Ditto.
17929 * gdb.base/funcargs.exp: Ditto. Update copyright.
17930 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
17931 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
17932 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
17933 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
17934 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
17935 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
17937 2002-05-02 Michael Snyder <msnyder@redhat.com>
17939 * gdb.base/watchpoint.exp: Add xscale target.
17940 * gdb.base/long_long.exp: Add xscale target.
17941 * gdb.base/default.exp: Add xscale target.
17943 2002-05-01 Jim Blandy <jimb@redhat.com>
17945 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
17946 gdb.c++/hang.exp: New test.
17948 2002-05-01 Fred Fish <fnf@redhat.com>
17950 * gdb.base/completion.exp: Handle completions of "./Make" for
17951 more than one completion possibility, as is the case when we
17952 build and test in the source tree.
17954 2002-04-29 Anthony Green <green@redhat.com>
17956 * gdb.java/jmisc1.exp: New file.
17957 * gdb.java/jmisc2.exp: New file.
17959 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
17961 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
17963 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
17965 * gdb.base/help.exp: Change 'help status' to allow for target
17966 dependent output differences.
17968 2002-04-22 Michael Chastain <mec@shout.net>
17970 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
17972 2002-04-22 Michael Chastain <mec@shout.net>
17974 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
17976 2002-04-17 David S. Miller <davem@redhat.com>
17978 * gdb.asm/sparc64.inc: New file.
17979 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
17981 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
17983 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
17984 instruction file directly into the build tree. Clean up at end of
17987 2002-04-18 David S. Miller <davem@redhat.com>
17989 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
17990 handle 64-bit platforms correctly.
17991 * gdb.base/maint.exp: Likewise.
17993 2002-04-18 Kevin Buettner <kevinb@redhat.com>
17995 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
17996 ``-fpic'' when compiling files comprising a shared library, but
17997 it does need additional linker flags in order to find shared
17998 libraries at run time.
18000 2002-04-18 Kevin Buettner <kevinb@redhat.com>
18002 * gdb.base/cvexpr.c (use): New function.
18003 (main): Invoke use() on all global variables to prevent
18004 some linkers from deleting these otherwise unused symbols.
18006 2002-04-17 Michael Chastain <mec@shout.net>
18007 From David S. Miller <davem@redhat.com>
18009 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
18010 handle 64-bit platforms correctly.
18012 2002-04-12 Michael Snyder <msnyder@redhat.com>
18013 From Jim Blandy <jimb@redhat.com>
18014 * gdb.base/foo.c (foox): Remove section attribute; the linker
18015 script can handle this instead.
18016 * gdb.base/bar.c (barx): Same.
18017 * gdb.base/baz.c (bazx): Same.
18018 * gdb.base/grbx.c (grbxx): Same.
18020 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
18021 manager doesn't automatically unmap overlays unnecessarily.
18023 2002-04-10 Martin M. Hunt <hunt@redhat.com>
18025 * gdb.base/ending-run.exp: Fix pattern for Mips targets
18026 stepping out of main.
18028 2002-04-09 Michael Chastain <mec@shout.net>
18030 * gdb.c++/local.cc (main): Move call to marker1() inside nested
18031 scope so that the nested scope tests will make sense.
18032 * gdb.c++/local.exp: Write patterns that actually work with gcc
18033 (the HP patterns "were never known to work with gcc").
18034 Keep the old aCC patterns too.
18036 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
18038 * gdb.base/attach.exp: Correct target board test.
18040 2002-04-08 Michael Chastain <mec@shout.net>
18042 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
18043 in a const method. Add some xfail and fail cases for configurations
18044 that do not emit the "const ...".
18046 2002-04-07 Michael Chastain <mec@shout.net>
18048 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
18049 Accept "A * const" and "const A * const" as type of "this".
18050 Fix spelling of getFunky throughout. Make messages uniform.
18052 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18054 Work around for PR gdb/285:
18055 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
18057 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
18059 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
18060 instructions file at run time instead of configure time.
18061 Sometimes we run the test in a directory that is not the one we
18063 * gdb.asm/configure.in: Delete creation of symlink.
18064 * gdb.asm/configure: Regenerate.
18066 2002-04-05 J. Brobecker <brobecker@gnat.com>
18068 * gdb.gdb/xfullpath.exp: New test, to exercise the new
18069 xfullpath () function.
18071 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18073 * gdb.asm/Makefile.in: Correct dependencies.
18075 * gdb.asm/powerpc.inc: New file.
18076 * gdb.asm/asm-source.exp: Add PowerPC.
18077 * gdb.asm/configure.in: Likewise.
18078 * gdb.asm/configure: Regenerated.
18080 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
18082 * gdb.base/relocate.exp: New file.
18083 * gdb.base/relocate.c: New file.
18085 2002-04-04 Fred Fish <fnf@redhat.com>
18087 * gdb.base/step-test.exp: Update comment regarding stopping in
18088 memcpy/bcopy calls inserted as part of the compiler runtime.
18090 2002-04-04 Michael Snyder <msnyder@redhat.com>
18092 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
18094 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
18096 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
18097 (gdb_expect): Remove $notransfer hack.
18099 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
18101 * gdb.c++/classes.exp ("calling method for small class"): Match
18102 updated register output.
18104 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18107 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
18108 when finished. Make gdb_file_cmd send "exec-file" when
18111 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
18113 * gdb.base/attach.exp: Remove extra setup_xfail.
18115 2002-03-26 Michael Snyder <msnyder@redhat.com>
18117 * gdb.base/default.exp: Add tests for dump, append, and restore.
18118 * gdb.base/help.exp: Add tests for dump, append, and restore.
18119 * gdb.base/dump.exp: New file, test dump, append and restore.
18120 * gdb.base/dump.c: New file.
18122 2002-03-27 Michael Snyder <msnyder@redhat.com>
18124 * gdb.base/help.exp: Modify expect strings to reflect
18125 clean-ups in help messages.
18127 2002-03-26 Fred Fish <fnf@redhat.com>
18129 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
18130 have debugging info for those functions and the compiler uses them
18131 internally to copy structs around.
18133 2002-03-26 Fred Fish <fnf@redhat.com>
18135 * gdb.base/list.exp: Revert the change made yesterday and add note
18136 about why we don't list the default lines for remote targets.
18138 2002-03-25 Michael Snyder <msnyder@redhat.com>
18140 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
18142 2002-03-25 Fred Fish <fnf@redhat.com>
18144 * gdb.base/list.exp: This test works on remote targets so remove
18145 the short circuit for remote targets. Update copyright.
18147 2002-03-25 Fred Fish <fnf@redhat.com>
18149 * gdb.base/attach.exp: Fix logic error that was suppressing this
18150 test for all non hppa*-*-hpux* targets, instead of the hp target.
18151 Move comments closer to the suppression point. Also now need to
18152 check that we are running natively.
18154 2002-03-22 Michael Snyder <msnyder@redhat.com>
18156 * gdb.base/default.exp: Add test for gcore. Update copyright.
18157 * gdb.base/help.exp: Add test for gcore. Update copyright.
18159 2002-03-06 Fred Fish <fnf@redhat.com>
18161 * gdb.base/funcargs.c: Remove extraneous ';' character.
18162 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
18164 2002-03-04 Michael Chastain <mec@shout.net>
18166 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
18167 accommodate gcc v3 function signature.
18168 * gdb.mi/mi0-var-cmd-exp: Ditto.
18170 2002-02-24 Andrew Cagney <ac131313@redhat.com>
18172 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
18173 ``GNU/Linux'' or ``Linux kernel''
18174 * testsuite/gdb.threads/pthreads.c: Ditto.
18176 2002-02-24 Michael Chastain <mec@shout.net>
18178 * gdb.threads/pthreads.c (thread1): Add a return statement.
18179 (thread2): Likewise.
18182 2002-02-23 Michael Chastain <mec@shout.net>
18184 * gdb.threads/linux-dp.c (philosopher): Add a return statement
18187 2002-02-23 Michael Chastain <mec@shout.net>
18189 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
18190 test "ptype bint". The test passes on all my stabs configurations.
18192 2002-02-21 Jim Blandy <jimb@redhat.com>
18194 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
18195 filename at a time, and watch for the ones we want to see.
18197 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
18198 types of pointers to prototyped functions.
18200 2002-02-20 Andrew Cagney <ac131313@redhat.com>
18202 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
18203 signed, unsigned and straight char.
18204 (padding_char, padding_short, padding_int, padding_long,
18205 padding_long_long, padding_float, padding_double,
18206 padding_long_double): New global variables.
18207 (fill, fill_structs): New functions.
18209 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
18210 for correctly sized writes. Update copyright.
18211 (get_valueof): New procedure.
18212 (get_sizeof): Call get_valueof.
18213 (check_valueof): New procedure.
18214 (check_padding): New procedure.
18216 2002-02-20 Michael Chastain <mec@shout.net>
18218 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
18219 to setup_xfail. Document some of the remaining calls.
18221 2002-02-18 Michael Chastain <mec@shout.net>
18223 * gdb.c++/userdef.exp: Update copyright year.
18225 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
18227 * gdb.c++/userdef.exp: Test overloaded operators properly.
18230 2002-02-14 Michael Snyder <msnyder@redhat.com>
18232 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
18234 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
18236 * gdb.base/a2-run.exp: Check for a remote target properly.
18237 * gdb.base/annota1.exp: Likewise.
18238 * gdb.base/list.exp: Likewise.
18239 * gdb.base/reread.exp: Likewise.
18240 * gdb.base/scope.exp: Likewise.
18241 * gdb.base/shlib-call.exp: Likewise.
18242 * gdb.base/term.exp: Likewise.
18243 * gdb.c++/annota2.exp: Likewise.
18245 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
18247 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
18249 2002-02-10 Michael Chastain <mec@shout.net>
18251 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
18252 (call_after_alloca): Ditto.
18254 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
18256 * gdb.base/ending-run.exp: Guard "cont" test with
18257 gdb_skip_stdio_test.
18259 2002-02-06 Jim Blandy <jimb@redhat.com>
18261 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
18263 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
18264 To here. Disable this test on non-HP platforms. Add big comment.
18266 2002-02-04 Michael Snyder <msnyder@redhat.com>
18268 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
18269 other than d10v and m32r.
18271 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
18273 * gdb.base/default.exp: Rewrite test patterns to reduce time
18274 taken to match them.
18276 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18278 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
18279 Allow a start function above main.
18280 * gdb.threads/linux-dp.exp: Fix copyright date.
18282 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18284 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
18285 (check_philosopher_stack): Check for manager thread before checking
18286 for a just-starting thread.
18288 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
18290 From Neil Booth <neil@daikokuya.demon.co.uk>:
18291 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
18294 2002-01-21 Fred Fish <fnf@redhat.com>
18296 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
18299 2002-01-21 Jim Blandy <jimb@redhat.com>
18301 * gdb.base/reread.exp: Check that GDB properly re-reads the
18302 executable file when it changes while no inferior is running.
18304 2002-01-21 Fred Fish <fnf@redhat.com>
18306 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
18307 optionally accept the "shlib events" variation.
18309 2002-01-21 Jim Blandy <jimb@redhat.com>
18311 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
18312 call `fflush' after every `printf', so that the output is produced
18313 at predictable points, regardless of whatever buffering does (or
18314 doesn't) take place.
18315 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
18316 at different points.
18318 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18320 * gdb.c++/inherit.exp: Update copyright years.
18321 * gdb.c++/method.exp: Likewise.
18323 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
18325 * gdb.c++/classes.exp: Update for improved v3 support and skipping
18326 artificial methods/arguments.
18327 * gdb.c++/derivation.exp: Likewise.
18328 * gdb.c++/inherit.exp: Likewise.
18329 * gdb.c++/method.exp: Likewise.
18330 * gdb.c++/virtfunc.exp: Likewise.
18332 2002-01-18 Andrew Cagney <ac131313@redhat.com>
18334 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
18335 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
18336 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
18337 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
18338 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
18339 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18341 2002-01-17 Jim Blandy <jimb@redhat.com>
18343 * gdb.asm/asm-source.exp (info symbol): Take another shot at
18344 anchoring the pattern matching the entry point symbol's name.
18346 2002-01-17 Andrew Cagney <ac131313@redhat.com>
18348 * gdb.base/maint.exp: Update ``maint internal-error'' to match
18349 continue/quit query. Update copyright.
18351 2002-01-14 Michael Snyder <msnyder@redhat.com>
18353 * gdb.base/gcore.exp: Remove extra debugging output.
18355 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18357 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
18358 for slightly dubious v2 mangled string.
18360 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
18362 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
18364 2002-01-10 Jason Merrill <jason@redhat.com>
18366 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
18368 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
18370 * gdb.c++/derivation.exp: Likewise.
18371 * gdb.c++/templates.exp: Likewise.
18372 * gdb.c++/virtfunc.exp: Likewise.
18374 2002-01-10 Michael Snyder <msnyder@redhat.com>
18376 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
18378 2002-01-08 Michael Snyder <msnyder@redhat.com>
18380 * gdb.base/gcore.exp: New test for generate-core-file command.
18381 * gdb.base/gcore.c: Testcase for above.
18382 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
18384 2002-01-08 Jason Merrill <jason@redhat.com>
18386 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
18388 2002-01-07 Fred Fish <fnf@redhat.com>
18390 * gdb.c++/overload.exp: Remove unconditional xfails for:
18391 print foo_instance1.overloadargs(1)
18392 print foo_instance1.overloadargs(1, 2)
18393 print foo_instance1.overloadargs(1, 2, 3)
18394 print foo_instance1.overloadargs(1, 2, 3, 4)
18395 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
18396 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
18397 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
18398 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
18399 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
18400 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
18401 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
18402 print foo_instance1.overload1arg()
18403 print foo_instance1.overload1arg((char)arg2)
18404 print foo_instance1.overload1arg((signed char)arg3)
18405 print foo_instance1.overload1arg((unsigned char)arg4)
18406 print foo_instance1.overload1arg((int)arg7)
18407 print foo_instance1.overload1arg((unsigned int)arg8)
18408 print foo_instance1.overload1arg((float)arg11)
18409 print foo_instance1.overload1arg((double)arg12)
18411 2002-01-07 Michael Snyder <msnyder@redhat.com>
18413 * gdb.base/huge.exp: New test. Print a very large target data object.
18414 (skip_huge_test): New test variable. Define if you want to skip this
18415 test. The test reads an 8 megabyte data object from the target, so it
18416 might be very time consuming on remote targets with a slow connection.
18417 * gdb.base/huge.c: New file. Test case for above.
18419 2002-01-07 Fred Fish <fnf@redhat.com>
18421 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
18422 g_instance.bfoo, and g_instance.cfoo.
18424 2002-01-07 Jeffrey A Law <law@redhat.com>
18426 * gdb.base/break.c (multi_line_if_conditional): New function.
18427 (multi_ilne_while_conditional): Likewise.
18428 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
18429 IF or WHILE condition puts the breakpoint at the start of
18432 * gdb.base/selftest.exp (backtrace through signal handler): Remove
18433 hppa*-*-hpux* expected failure.
18434 * gdb.base/structs.exp (do_function_calls): Similarly.
18436 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
18439 2002-01-06 Andrew Cagney <ac131313@redhat.com>
18442 * gdb.base/structs.exp: Replace skip for a29k with skip for
18443 gdb,cannot_call_functions.
18444 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
18445 * gdb.base/callfuncs.exp: Ditto.
18446 * gdb.base/call-rt-st.exp: Ditto.
18447 * gdb.base/call-strs.exp: Ditto.
18448 * gdb.base/callfwmall.exp: Ditto.
18449 * gdb.base/scope.exp: Obsolete xfail a29k.
18450 * gdb.c++/misc.exp: Ditto.
18451 * gdb.c++/cplusfuncs.exp: Ditto.
18452 * gdb.base/ptype.exp: Ditto.
18453 * gdb.base/printcmds.exp: Ditto.
18454 * gdb.base/opaque.exp: Ditto.
18455 * gdb.base/list.exp: Ditto.
18456 * gdb.base/funcargs.exp: Ditto.
18457 * gdb.base/default.exp: Ditto.
18459 2002-01-04 Michael Snyder <msnyder@redhat.com>
18461 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
18462 * gdb.base/maint.exp: Add tests for maint info sections options.
18464 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
18466 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
18468 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
18470 * gdb.asm/arm.inc: New file.
18471 * gdb.asm/asm-source.exp: Add arm targets.
18472 * gdb.asm/configure.in: Ditto.
18473 * gdb.asm/configure: Recreated from configure.in.
18475 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
18477 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
18478 with HP's compiler.
18479 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
18480 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
18481 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
18482 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
18484 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
18485 either HP's compilers or GCC.
18487 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
18488 a SIGBUS or SIGSEGV.
18490 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
18492 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
18493 can be compiled with either HP's compiler or GCC.
18495 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
18496 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
18497 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
18499 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
18500 to match current gdb output. Update due to using auto-solib-limit
18501 for limiting instead of overloading auto-solib-add.
18502 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
18505 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
18506 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
18507 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
18508 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
18509 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
18510 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
18511 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
18512 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
18513 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
18514 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
18515 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
18516 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
18517 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
18519 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
18520 a SIGTRAP to the inferior.
18522 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
18524 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
18525 Substitute call to target_link by call to gdb_compile.
18527 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
18529 * gdb.base/break.exp: Fix HP specific search string when testing
18530 backtracing in a called function.
18532 * gdb.base/constvars.exp: Only set lang to C++ if we're
18533 compiling the test with HP's compilers.
18534 * gdb.base/volatile.exp: Similarly.
18536 2001-12-19 Jim Blandy <jimb@redhat.com>
18538 * gdb.base/printcmds.exp: Expect the null character to be printed
18539 as '\0', and the '\013' to be printed as '\v'.
18540 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
18541 * gdb.base/setvar.exp: Same.
18543 2001-12-17 Jim Blandy <jimb@redhat.com>
18545 * gdb.base/completion.exp: Rather than completing very long
18546 filenames, which can make the readline library produce output we
18547 don't recognize, cd to the directory first, and then complete
18548 using nice, short relative paths.
18550 * gdb.base/completion.exp: On some systems, there is, in fact, a
18551 variable named `b' in scope, since GDB treats all static
18552 variables as being in scope. So use `no_var_named_this'
18555 * gdb.base/corefile.exp: Recognize the message saying that GDB
18556 can't find the core file's registers as a failure.
18558 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
18560 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
18561 test expect string more specific.
18563 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
18565 * gdb.asm/asm-source.exp: Add support for xstormy16.
18566 * gdb.asm/configure.in: Ditto.
18567 * gdb.asm/configure: Rebuild.
18568 * gdb.asm/xstormy16.inc: New file.
18570 2001-12-10 Fred Fish <fnf@redhat.com>
18572 * gdb.base/maint.exp: Update to match changes in type dumping code.
18574 2001-12-10 Jim Blandy <jimb@redhat.com>
18576 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
18577 matching the entry point symbol's name at the beginning of the
18580 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
18582 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
18583 gdb.c++/inherit.exp, gdb.c++/method.exp,
18584 gdb.c++/namespace.exp, gdb.c++/templates.exp,
18585 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
18586 and class layout support.
18588 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
18590 * gdb.c++/classes.exp: Add test for static member function.
18591 * gdb.c++/misc.cc: Add class with static member function.
18593 2001-12-07 Jim Blandy <jimb@redhat.com>
18595 If GDB says it can't find the struct the function returned, report
18596 those tests as `unsupported'.
18597 * gdb.base/call-rt-st.exp (print_struct_call): New function.
18598 Rewrite subsequent tests to use it.
18600 If GDB says it can't find the struct the function returned, report
18601 those tests as `unsupported'.
18602 * gdb.base/structs.exp (call_struct_func): New function.
18603 (do_function_calls): Use call_struct_func to call the functions
18606 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
18607 whether functions are prototyped or not, so we can't possibly pass
18608 arguments to t_float_values2 properly.
18610 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
18611 value of `timeout' for targets other than the mips*tx39-*.
18613 2001-12-06 Michael Snyder <msnyder@redhat.com>
18615 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
18616 and detect whether the start symbol has a leading underscore.
18618 2001-12-04 Jim Blandy <jimb@redhat.com>
18620 * gdb.base/completion.exp: Clarify indentation.
18622 2001-12-03 Jim Blandy <jimb@redhat.com>
18624 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
18625 variables on the S/390, not `.word'.
18627 2001-11-30 Jim Blandy <jimb@redhat.com>
18629 Add assembly-source tests for s390-ibm-linux.
18630 * gdb.asm/s390.inc: New file.
18631 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
18632 the S/390 architecture.
18633 * gdb.asm/configure: Regenerated.
18635 2001-11-30 Michael Snyder <msnyder@redhat.com>
18637 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
18638 next, info source, info sources, info line, global and static
18639 variables, and static functions.
18640 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
18641 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
18642 * gdb.asm/asmsrc1.s: Add a static function and some variables.
18643 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
18644 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
18645 (gdbasm_leave): Restore frame pointer.
18646 (gdbasm_startup): Copy stack set-up from crt0.S.
18648 2001-11-26 Fernando Nasser <fnasser@redhat.com>
18650 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
18651 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
18652 to a local (non-static) variable. Copy tstruct.a to a static buffer
18653 and return a pointer to that buffer.
18654 * gdb.base/callfwmall.c (t_structs_a): Ditto.
18656 2001-11-24 Mark Kettenis <kettenis@gnu.org>
18658 * gdb.asm/configure.in: Fix recognition of ix86 target.
18659 * gdb.asm/configure: Regenerate.
18661 2001-11-21 Michael Snyder <msnyder@redhat.com>
18663 * gdb.asm/sparc.inc: New file.
18664 * gdb.asm/asm-source.exp: Recognize sparc target.
18665 * gdb.asm/configure.in: Recognize sparc target.
18666 * gdb.asm/configure: Regenerate.
18668 2001-11-21 Michael Snyder <msnyder@redhat.com>
18670 * gdb.asm/m32r.inc: New file.
18671 * gdb.asm/asm-source.exp: Recognize m32r target.
18672 * gdb.asm/configure.in: Recognize m32r target.
18673 * gdb.asm/configure: Regenerate.
18675 2001-11-20 Michael Snyder <msnyder@redhat.com>
18677 * gdb.asm/i386.inc: New file.
18678 * gdb.asm/asm-source.exp: Recognize ix86 target.
18679 * gdb.asm/configure.in: Recognize ix86 target.
18680 * gdb.asm/configure: Regenerate.
18682 * gdb.c++/namespace.exp: Fix quotes in output messages.
18684 2001-11-14 Michael Snyder <msnyder@redhat.com>
18686 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
18687 qualifier in a type cast expression, to designate an address
18688 in the instruction space (Harvard architecture).
18690 2001-11-13 Michael Snyder <msnyder@redhat.com>
18692 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
18693 Tests for expressions using 'const' and 'volatile'.
18695 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
18697 * gdb.asm/asm-sources.exp: Allow defining linker flags.
18699 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
18701 * lib/mi-support.exp (mi_run_to_helper): Move comments
18702 outside of gdb_expect.
18704 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
18706 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
18707 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
18708 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
18709 mi0_run_to): New functions.
18710 * gdb.mi/mi-simplerun.exp: Use them.
18711 * gdb.mi/mi0-simplerun.exp: Likewise.
18712 * gdb.mi/mi-var-cmd.exp: Likewise.
18713 * gdb.mi/mi0-var-cmd.exp: Likewise.
18715 2001-11-10 Andrew Cagney <ac131313@redhat.com>
18717 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
18718 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
18720 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18722 * gdb.base/restore.exp: Include $expected value in restored test
18725 2001-11-09 Andrew Cagney <ac131313@redhat.com>
18727 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
18730 2001-11-08 Michael Snyder <msnyder@redhat.com>
18732 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
18733 Add pass/fail message for stop at breakpoint in call dummy function.
18735 2001-11-07 Michael Snyder <msnyder@redhat.com>
18737 * gdb.c++/templates.exp (test_template_breakpoints):
18738 If we get an overload menu, but it does not match what
18739 we expect, we still need to issue the "cancel" command.
18740 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
18741 making the whitespace optional. Argument for "new" may be
18742 "unsigned" as well as "unsigned int/long".
18743 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
18744 making the whitespace optional. Also replace "(void) with
18745 "((void|)), making the keyword "void" optional.
18746 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
18747 making the whitespace optional. Also replace "(void) with
18748 "((void|)), making the keyword "void" optional.
18749 * gdb.base/callfuncs.c (t_float_values): This function must
18750 _not_ be prototyped, and the following function (t_float_values2)
18751 must be prototyped (if the compiler supports it), so that GDB
18752 can be tested against both cases. Usually one case involves
18753 promotion of float to double, while the other does not.
18754 * gdb.base/callfwmall.c: Ditto.
18755 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
18756 includes a stack frame for "start".
18758 2001-11-05 Jim Blandy <jimb@redhat.com>
18760 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
18761 pointers are 32 bits long, and that offsets of relocs are always
18762 stored in the data (REL-style), and not in the reloc entry itself
18764 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
18767 2001-11-01 Michael Snyder <msnyder@redhat.com>
18769 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
18770 and regular expression operators by using quoting.
18772 2001-10-31 Michael Snyder <msnyder@redhat.com>
18774 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
18775 depending on what the symbol table contains.
18776 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
18777 the output of the ptype command. Similarly, accept both "const &"
18780 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
18782 * gdb.base/miscexprs.c (main): Add usage of preprocessor
18783 symbol `STORAGE' to allow to choose the storage class of
18784 the local datastructures.
18785 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
18786 compiler directive.
18788 2001-10-30 Michael Snyder <msnyder@redhat.com>
18790 * gdb.base/jump.exp: Allow it to run for all targets.
18792 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
18794 * gdb.base/call-ar-st.c (print_double_array): Match for loop
18795 with new double_array size.
18796 (main): Change storage class of all local variables to static.
18797 Reduce size of double_array to 9.
18798 * gdb.base/call-ar-st.exp: Increase timeout value.
18799 Change expected output for double array to match new size in
18802 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
18804 * gdb.base/ending-run.exp: Create identical output when passing
18805 `step to end of run' case. Add regular expression branch satisfying
18808 2001-10-28 Mark Kettenis <kettenis@gnu.org>
18810 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
18811 that we catch the expected failure under Linux/x86.
18813 2001-10-29 Orjan Friberg <orjanf@axis.com>
18815 * gdb.base/setvar.exp: Escape curly braces.
18816 * gdb.stabs/weird.exp: Ditto.
18818 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
18820 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
18821 * gdm.mi/mi0-hack-cli.exp: Likewise.
18823 2001-10-25 Andrew Cagney <ac131313@redhat.com>
18825 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
18828 2001-10-21 Andrew Cagney <ac131313@redhat.com>
18830 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
18831 checking MI enabled.
18833 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
18835 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
18837 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
18839 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
18840 if gdb child process crashes, just signal an error.
18842 2001-10-02 Jim Blandy <jimb@redhat.com>
18844 * lib/gdb.exp (test_xfail_format): Simplify.
18846 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
18847 front of the variable name `format'. Simplify `if'.
18849 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
18851 * gdb.threads/pthreads.exp: Wait for output and delay
18854 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
18856 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
18857 some incorrect output instead of timing out.
18858 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
18860 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
18862 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
18863 check to allow additional `int'.
18865 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
18867 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
18868 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
18870 2001-09-27 Michael Snyder <msnyder@redhat.com>
18872 * lib/gdb.exp (test_debug_format): New proc.
18873 (setup_xfail_format): Use new proc test_debug_format.
18874 * gdb.base/constvars.exp (local_compiler_xfail_check): New
18875 proc; use new service proc test_debug_format.
18876 Replace all other "gcc_compiled" tests with this test.
18877 * gdb.base/volatile.exp (local_compiler_xfail_check): New
18878 proc; use new service proc test_debug_format.
18879 Replace all other "gcc_compiled" tests with this test.
18881 2001-09-27 Michael Snyder <msnyder@redhat.com>
18883 * gdb.base/cvexpr.exp: New file.
18884 * gdb.base/cvexpr.c: New file
18885 Test for expressions using const and volatile keywords.
18887 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
18889 * gdb.base/constvars.exp: Check for different orders of keywords
18890 and additional "int" strings in output.
18892 2001-09-22 Andrew Cagney <ac131313@redhat.com>
18894 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
18895 responses from "help maint".
18897 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
18899 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
18900 to localhost:NNN instead of :NNN, in case Xvfb is listening
18903 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
18905 * gdb.base/recurse.exp: When checking leaving the watchpoint
18906 scope, recognize when gdb is in function's epilogue and pass.
18908 2001-09-18 Keith Seitz <keiths@redhat.com>
18910 * lib/insight-support.exp (_gdbtk_export_target_info): Add
18911 support for running tests against sid targets.
18912 (gdbtk_done): Ditto.
18914 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
18916 * gdb.base/ending-run.c (main): Set stdout buffersize
18917 to the same reasonable value for any target.
18918 * gdb.base/ending-run.exp: Add a regular expression
18919 to make testsuite happy on Sanyo Stormy16 target.
18921 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
18923 * gdb.base/display.c (do_loops): Add float variable `f'.
18924 Increment f in loop.
18925 * gdb.base/display.exp: Increment timeout by 60 seconds.
18926 Change float display test to use variable `f'.
18928 2001-09-17 Jim Blandy <jimb@redhat.com>
18930 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
18931 overflowing the limited breakpoint tables on some ROM monitors
18934 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
18936 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
18937 the "-ac" (disable access control) flag.
18939 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
18941 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
18944 2001-08-30 Keith Seitz <keiths@redhat.com>
18946 * lib/gdb.exp: Move all insight-related functionality into
18948 * lib/insight-support.exp: New file.
18950 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
18952 * config/sid.exp (sid_start): Never set sid verbosity; disable
18953 expect_background {} that consumed its stdout; tolerate </dev/null.
18954 Attempt to set endianness override in "sid" protocol mode. Cleanup.
18956 2001-08-18 Andrew Cagney <ac131313@redhat.com>
18958 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
18959 CLI jump command to start it.
18960 (mi_run_to_main): Fail immediatly when unexpected output.
18962 2001-08-18 Andrew Cagney <ac131313@redhat.com>
18964 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
18965 beginning of function. Fix PR gdb/191.
18967 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
18969 * config/sid.exp (sid_start): Don't warn if we cannot figure out
18970 what to force sid endianness to.
18972 2001-08-15 Keith Seitz <keiths@redhat.com>
18974 * lib/gdb.exp (gdbtk_start): Don't set environment
18975 variables for TCL_LIBRARY and friends. Insight will
18976 now figure these out for itself.
18978 2001-08-02 Michael Snyder <msnyder@redhat.com>
18980 * gdb.base/completion.exp: Remove the symbol "a64l" from
18981 the expect string; this is target-specific, and not related
18982 to what is being tested.
18984 2001-08-02 Dave Brolley <brolley@redhat.com>
18986 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
18988 2001-07-25 Michael Snyder <msnyder@redhat.com>
18990 * gdb.base/consecutive.exp: New file. Test stepping over
18991 breakpoints on consecutive instructions.
18992 * gdb.base/consecutive.c: New file.
18994 * gdb.base/call-rt-st.exp: Use double-backslash to quote
18995 curly braces in regular expressions.
18997 2001-07-25 Michael Snyder <msnyder@redhat.com>
18999 * gdb.base/ending-run.exp: Accept "Program exited normally" as
19000 legitimate output from stepping out of main.
19002 2001-07-22 Keith Seitz <keiths@redhat.com>
19004 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
19005 the empty string, do not run the tests.
19007 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19009 * gdb.base/long_long.exp: Detect size of pointer. Take into
19010 account 2-byte pointers when testing for p/a results.
19012 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19014 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
19015 and defined to 1K for m68hc11.
19016 (random_data): Reduce table to 1K for embedded platforms (68hc11).
19017 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
19018 (sizeof_random_data): New variable to tell the size of the data table;
19019 don't test past this size; always run to main.
19021 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19023 * gdb.base/return2.exp: return of long long and double fails for
19024 68HC11; don't execute these tests on that platform.
19025 * gdb.base/return.exp: Return of a double fails for 68hc11.
19027 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
19029 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
19030 tests that print a float.
19031 * call-rt-st.exp: Likewise.
19033 2001-07-12 Mark Kettenis <kettenis@gnu.org>
19035 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
19036 running this test on Linux.
19038 2001-06-24 Michael Chastain <chastain@redhat.com>
19040 * gdb.base/arithmet.exp: Remove some tests to make all test names
19043 2001-07-03 Michael Snyder <msnyder@redhat.com>
19045 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
19046 the output of the ptype command.
19048 2001-07-02 Michael Snyder <msnyder@redhat.com>
19050 * gdb.base/completion.exp: Don't assume that break.c is the only
19051 source file that may contain functions named "marker".
19052 * gdb.base/corefile.exp: Quote the curly braces in regexp.
19054 2001-06-28 Andrew Cagney <ac131313@redhat.com>
19056 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
19057 of files to delete.
19059 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
19060 * gdb.disasm/h8300s.exp: New file.
19061 gdb.disasm/h8300s.s: Likewise.
19063 2001-06-27 Andrew Cagney <ac131313@redhat.com>
19065 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
19066 empty breakpoint tables.
19068 2001-06-25 Andrew Cagney <ac131313@redhat.com>
19070 * lib/mi-support.exp: Update args=... part of stop-reason
19071 patterns. Accept either a list or a tuple.
19073 2001-06-23 Andrew Cagney <ac131313@redhat.com>
19075 * lib/mi-support.exp: Remove local emacs variable defining
19076 change-log-default-name.
19078 2001-06-22 Michael Chastain <chastain@redhat.com>
19080 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
19081 This is operationally compatible with the previous version.
19083 2001-06-13 Jim Blandy <jimb@redhat.com>
19085 * lib/gdb.exp (gdb_test): Doc fix.
19087 2001-06-10 Michael Chastain <chastain@redhat.com>
19089 * gdb.base/exprs.exp: Remove a duplicate test.
19091 2001-06-06 Jim Blandy <jimb@redhat.com>
19093 * gdb.base/return2.exp (main): Use values to test float and double
19094 returns that are not NaN's, to avoid being confused by IEEE
19097 2001-06-04 Michael Snyder <msnyder@redhat.com>
19099 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
19100 non-zero if control_c fails. Terminate the test on failure,
19101 rather than wait for 12 more tests to time out.
19103 2001-06-06 Jim Blandy <jimb@redhat.com>
19105 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
19106 Don't forget to match the GDB prompt.
19108 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
19110 2001-06-04 Jim Blandy <jimb@redhat.com>
19112 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
19115 2001-05-31 Kevin Buettner <kevinb@redhat.com>
19117 * gdb.base/annota1.exp (info break): Match four or more spaces
19120 2001-05-31 Michael Chastain <chastain@redhat.com>
19122 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
19123 (dm_type_int_star): Likewise.
19124 (dm_type_long_star): Likewise.
19125 (dm_type_void_star): Likewise.
19127 2001-05-29 Kevin Buettner <kevinb@redhat.com>
19129 * gdb.base/completion.exp (INPUTRC): Set this environment variable
19130 to a known value in order to get consistent results regardless
19131 of the setting of INPUTRC or the presence or contents of .inputrc.
19133 2001-05-24 Michael Snyder <msnyder@redhat.com>
19135 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
19136 Don't require that the main thread and the manager thread are the
19139 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
19140 debugging. If test fails, issue an "unsupported" not a "fail".
19142 2001-05-24 Jim Blandy <jimb@redhat.com>
19144 Don't assume that short is shorter than int.
19145 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
19146 assume that shorts are smaller than ints. On a 16-bit machine,
19148 ("print unsigned char == (~0)"): Add test that verifies that ~0,
19149 an int, is not equal to ~0 stored in an unsigned char. This tests
19150 the same thing that the previous test meant to, but works on
19151 16-bit machines, too.
19152 ("print unsigned char != (~0)"): Same test, complemented.
19154 2001-05-24 Michael Snyder <msnyder@redhat.com>
19156 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
19157 test for (full_coverage == 0). This makes the test run faster,
19158 and prevents dejagnu getting out of step.
19160 2001-05-23 Kevin Buettner <kevinb@redhat.com>
19162 * gdb.base/finish.exp (finish_void): Revise pattern for
19163 stopping on the call statement to not permit stopping at
19164 the start of the instructions comprising the call sequence.
19166 2001-05-19 Michael Chastain <chastain@redhat.com>
19168 * gdb.base/callfuncs.exp: Make all test names unique.
19169 * gdb.base/commands.exp: Make all test names unique.
19170 * gdb.base/condbreak.exp: Make all test names unique.
19171 * gdb.base/dbx.exp: Make all test names unique.
19172 * gdb.base/default.exp: Make all test names unique.
19173 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
19174 and TIMEOUT messages to their corresponding PASS message.
19175 * gdb.base/ending-run.exp: Make all test names unique.
19176 * gdb.base/long_long.exp: Remove duplicate test.
19178 2001-05-21 Kevin Buettner <kevinb@redhat.com>
19180 * gdb.base/finish.exp (finish_void): Allow "finish" command to
19181 stop on the call statement as well as the statement after the
19184 2001-05-21 Michael Snyder <msnyder@redhat.com>
19186 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
19188 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19190 * gdb.base/completion.exp: Revamp test. Make it execute on all
19193 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
19195 * config/gdbserver.exp (gdb_load): Handle the case
19196 in which the arguments to gdbserver are given in the
19197 baseboard configuration file.
19198 Also handle the case in which the server needs to do a
19201 2001-05-07 Keith Seitz <keiths@cygnus.com>
19203 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
19204 set up the display for testing.
19205 (gdbtk_start): Convert all paths to paths that tcl will like.
19206 Export target information to environment.
19207 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
19209 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
19210 (to_tcl_path): New proc to convert a given pathname into
19211 a path acceptible as an argument to a tcl command.
19212 (_gdbtk_export_target_info): New proc to export target info
19213 into the environment for gdbtk testing.
19214 (gdbtk_done): New proc to signal end-of-test.
19216 2001-05-06 Jim Blandy <jimb@redhat.com>
19218 * restore.c: Make the code of caller0 correspond to its comment.
19220 2001-05-03 Michael Snyder <msnyder@redhat.com>
19222 * config/sid.exp (gdb_target_sid): Check for error messages.
19223 On error or timeout, don't make expect exit (which will terminate
19224 all subsequent tests); instead just make gdb exit.
19225 (gdb_load): Check for error messages. On error or timeout,
19226 return a negative value.
19228 2001-04-24 Jim Blandy <jimb@redhat.com>
19230 * gdb.c++/templates.exp: If we see the prompt for the overload
19231 list, but we haven't recognized any of the longer patterns,
19232 arrange for this test to fail, not hang.
19234 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
19237 2001-04-22 Michael Chastain <chastain@redhat.com>
19239 * gdb.c++/local.exp: Use the 'runto' library function.
19240 * gdb.c++/namespace.exp: Likewise.
19241 * gdb.c++/overload.exp: Likewise.
19243 2001-03-26 Kevin Buettner <kevinb@redhat.com>
19245 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
19246 * gdb.base/step-line.exp: New file. Test step/next in presence of
19248 * gdb.base/step-line.c: New file. Test program for the above.
19249 * gdb.base/step-line.inp: New file. We pretend that this file has
19250 been transformed by some other tool into step-line.c.
19252 2001-03-21 Jim Blandy <jimb@redhat.com>
19254 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
19255 unmangled operator names.
19257 2001-03-20 Jim Blandy <jimb@redhat.com>
19259 * gdb.threads/linux-dp.exp: Recognize an additional message
19260 generated by GDB when it doesn't understand how to debug threads
19261 on the target system.
19263 2001-03-19 Andrew Cagney <ac131313@redhat.com>
19265 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
19267 2001-03-12 Michael Chastain <chastain@redhat.com>
19269 * gdb.c++/derivation.exp: Use the 'runto' library function.
19271 2001-03-12 Michael Chastain <chastain@redhat.com>
19273 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
19275 2001-02-24 Michael Chastain <chastain@redhat.com>
19277 * gdb.c++/ref-types.exp: Change handwritten code to library
19280 2001-03-16 Orjan Friberg <orjanf@axis.com>
19282 * gdb.base/signals.exp: Set count to 0 explicitly.
19284 2001-03-15 Mark Salter <msalter@redhat.com>
19286 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
19287 (gdb_target_monitor): Add check of gdb_target_cmd return value.
19288 (gdb_load): Add support for additional target_info: gdb_download_size
19289 and gdb_load_timeout.
19291 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
19293 * gdb.base/annota1.exp: Move test of isnative to earlier in the
19294 file -- to prevent failing when the compile fails but we have no
19295 intention of running the tests anyway.
19297 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
19300 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
19303 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
19304 * gdb.c++/namespace.exp: Ditto.
19306 2001-03-07 Orjan Friberg <orjanf@axis.com>
19308 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
19309 * gdb.base/pointers.exp: Relax pattern match of decimals.
19311 2001-03-06 Kevin Buettner <kevinb@redhat.com>
19313 * Makefile.in, config/abug.exp, config/cfdbug.exp,
19314 config/cpu32bug.exp, config/dve.exp, config/est.exp,
19315 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
19316 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
19317 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
19318 config/sh.exp, config/sid.exp, config/slite.exp,
19319 config/sparclet.exp, config/udi.exp, config/unknown.exp,
19320 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
19321 config/vxworks.exp, config/vxworks29k.exp,
19322 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
19323 gdb.base/all-bin.exp, gdb.base/annota1.exp,
19324 gdb.base/arithmet.exp, gdb.base/assign.exp,
19325 gdb.base/async.exp, gdb.base/attach.exp,
19326 gdb.base/bitfields.exp, gdb.base/bitops.exp,
19327 gdb.base/break.exp, gdb.base/call-ar-st.exp,
19328 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
19329 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
19330 gdb.base/commands.exp, gdb.base/completion.exp,
19331 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
19332 gdb.base/constvars.exp, gdb.base/corefile.exp,
19333 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
19334 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
19335 gdb.base/ending-run.exp, gdb.base/environ.exp,
19336 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
19337 gdb.base/finish.exp, gdb.base/foll-exec.exp,
19338 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
19339 gdb.base/funcargs.exp, gdb.base/help.exp,
19340 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
19341 gdb.base/logical.exp, gdb.base/long_long.exp,
19342 gdb.base/maint.exp, gdb.base/mips_pro.exp,
19343 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
19344 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
19345 gdb.base/pointers.exp, gdb.base/printcmds.exp,
19346 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
19347 gdb.base/regs.exp, gdb.base/relational.exp,
19348 gdb.base/remote.exp, gdb.base/reread.exp,
19349 gdb.base/restore.exp, gdb.base/return2.exp,
19350 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
19351 gdb.base/selftest.exp, gdb.base/setshow.exp,
19352 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
19353 gdb.base/sigall.exp, gdb.base/signals.exp,
19354 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
19355 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
19356 gdb.base/step-test.exp, gdb.base/structs.c,
19357 gdb.base/structs.exp, gdb.base/structs2.exp,
19358 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
19359 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
19360 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
19361 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
19362 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
19363 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
19364 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
19365 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
19366 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
19367 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
19368 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
19369 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
19370 gdb.fortran/types.exp, gdb.java/jmisc.exp,
19371 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
19372 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
19373 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
19374 gdb.trace/circ.exp, gdb.trace/collection.exp,
19375 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
19376 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
19377 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
19378 gdb.trace/report.exp, gdb.trace/save-trace.exp,
19379 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
19380 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
19381 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
19384 2001-02-27 Michael Snyder <msnyder@cygnus.com>
19386 * gdb.base/varargs.c (find_max_double): Fix printf format string:
19387 first arg is int not float.
19389 2001-02-22 Michael Snyder <msnyder@cygnus.com>
19391 * gdb.base/reread.exp: Unsupported for non-native targets;
19392 doesn't work for remote debugging.
19394 2001-02-19 Fernando Nasser <fnasser@redhat.com>
19396 From Drew Moseley <dmoseley@redhat.com>
19397 * gdb.base/ending-run.exp: Properly handle the BSP state when
19398 stepping past the end of main.
19400 2001-02-19 John Moore <jmoore@redhat.com>
19402 * gdb.base/commands.exp (infrun_breakpoint_command_test):
19403 Converted HPUX fix for non-expected items following multiple
19404 step commands into general solution for all platforms.
19406 2001-02-18 Michael Chastain <chastain@redhat.com>
19408 * gdb.c++/classes.exp (do_tests): Change runto statements
19409 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19410 statements demangler agnostic.
19411 * gdb.c++/virtfunc.exp (do_tests): Likewise.
19412 (gdb_virtfunc_restart): Likewise.
19414 2001-02-14 Michael Chastain <chastain@redhat.com>
19416 * gdb.c++/inherit.exp (do_tests): Change runto statements
19417 from "runto 'foo(void)'" to "runto 'foo'". This makes the
19418 statements demangler agnostic.
19420 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
19422 * gdb.threads/pthreads.exp: Unify pass/fail messages for
19423 ``continue to bkpt at common_routine in thread 2'' and ``stopped
19424 before calling common_routine 15 times'' tests.
19426 2001-02-11 Michael Chastain <chastain@redhat.com>
19428 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
19429 Helps the test script figure out which demangler is in use.
19430 (dm_type_foo_ref): Ditto.
19431 (dm_type_int_star): Ditto.
19432 (dm_type_long_star): Ditto.
19433 (dm_type_unsigned_int): Ditto.
19434 (dm_type_void): Ditto.
19435 (dm_type_void_star): Ditto.
19436 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
19437 Probe the gdb demangler and set variables to accommodate
19438 formatting differences.
19439 (info_func_regexp): New function. Same as info_func, but
19440 matches against a regexp.
19441 (info_func): Match against a literal string.
19442 (print_addr_2): New function. Match against a literal string,
19443 which can be different from the input to gdb.
19444 (print_addr): Simply call print_addr_2 with the same argument twice.
19445 (test_lookup_operator_functions): Use demangler formatting variables.
19446 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
19447 the tests in the same order as the C++ class declaration.
19448 (test_paddr_operator_functions): Ditto.
19449 (test_paddr_overloaded_functions): Ditto.
19450 (test_paddr_hairy_functions): Use demangler formatting variables.
19451 Add reference to gdb/19 for related tests.
19452 (do_tests): Call probe_demangler.
19454 2001-01-30 Kevin Buettner <kevinb@redhat.com>
19456 * gdb.c++/templates.cc (printf): Remove unused function definition.
19458 2001-01-26 Felix Lee <flee@redhat.com>
19460 * sid.exp (sid_exit): Pass host, not target, to remote_close.
19462 2001-01-25 matthew green <mrg@redhat.com>
19464 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
19466 (sid_exit): Call `remote_pop_conn' after GDB is gone.
19468 2001-01-25 matthew green <mrg@redhat.com>
19470 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
19471 Deprecate $sid_spawn_id.
19472 (sid_exit): Remove code necessary only for `spawn.'
19474 2001-01-25 matthew green <mrg@redhat.com>
19476 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
19478 2001-01-28 Michael Chastain <chastain@redhat.com>
19480 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
19481 to call when tests fail. It takes gdb out of the overloaded
19482 function choice menu back to the main prompt, so that the test
19483 program stays synchronized.
19484 (set_bp_overloaded): New proc to collect all the common
19485 code for setting a breakpoint on an overloaded name. Calls
19486 take_gdb_out_of_choice_menu when needed.
19487 (menu_overload1arg): New variable to collect the repeated
19488 instances of the expected menu for an overloaded name. Change
19489 the regular expression to handle changes in g++ type encoding:
19490 "void" can be either "void" or "", and "unsigned int" can be
19491 either "unsigned int" or "unsigned".
19492 (continue_to_bp_overloaded): Change regular expressions to handle
19493 changes in g++ type encoding.
19494 (no proc): Call take_gdb_out_of_choice_menu when needed.
19495 Remove redundant calls to "info break". Accept either "canceled"
19496 or "cancelled". Change regular expressions in "info break"
19497 calls to handle changes in g++ type encoding. Give all tests
19500 2001-01-17 Ben Elliston <bje@redhat.com>
19502 * config/sid.exp: New file.
19504 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
19506 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
19508 2000-12-21 Michael Snyder <msnyder@cygnus.com>
19510 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
19511 Add a RE to accept a non-ascii char if one is ever presented.
19513 2000-12-20 Fernando Nasser <fnasser@redhat.com>
19515 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
19517 2000-12-18 Michael Snyder <msnyder@cygnus.com>
19519 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
19520 in regexp. One '\' does not suffice on Linux.
19522 2000-12-09 Michael Chastain <chastain@redhat.com>
19524 * gdb.base/break.exp (test_clear_command): Use a marker function
19525 rather than 'main' for the test function. Also move this
19526 test to an execution point where the marker function names are
19527 guaranteed to be bound to functions. (Executing tests after a
19528 'finish' from main runs into name conflicts with local names
19529 in __libc_start_main).
19531 2000-12-07 Michael Snyder <msnyder@cygnus.com>
19533 * gdb.base/finish.exp: New test for gdb's "finish" command.
19534 * gdb.base/return2.exp: New test for gdb's "return" command.
19535 * gdb.base/return2.c: New source file for above.
19537 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19539 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
19540 * gdb.base/miscexprs.exp: Ditto.
19541 * gdb.base/pointers.exp: Ditto.
19542 * gdb.c++/derivation.exp: Ditto.
19543 * gdb.c++/local.exp: Ditto.
19544 * gdb.c++/namespace.exp: Ditto.
19545 * gdb.c++/overload.exp: Ditto.
19546 * gdb.c++/ref-types.exp: Ditto.
19548 2000-12-05 Michael Snyder <msnyder@cygnus.com>
19550 * gdb.base/constvars.exp: Test result of "up" command.
19551 * gdb.base/miscexprs.exp: Ditto.
19552 * gdb.base/pointers.exp: Ditto.
19553 * gdb.base/scope.exp: Ditto.
19554 * gdb.c++/derivation.exp: Ditto.
19555 * gdb.c++/local.exp: Ditto.
19556 * gdb.c++/namespace.exp: Ditto.
19557 * gdb.c++/overload.exp: Ditto.
19558 * gdb.c++/ref-types.exp: Ditto.
19560 2000-11-22 Michael Chastain <chastain@redhat.com>
19562 * mips_pro.exp: Accept either "middle -> top -> main" or
19563 "middle -> main" in the backtrace, because gcc can optimize
19564 tail calls to jumps. Remove setup_xfail for the hppa case.
19565 Add a comment with the original warning messages from PR 3016,
19566 which was filed in 1993, to preserve them for posterity.
19568 2000-11-17 Nick Duffek <nsd@redhat.com>
19570 * lib/gdb.exp (gdb_test): Override timeout with board info.
19572 2000-11-17 Nick Duffek <nsd@redhat.com>
19574 * gdb.base/display.exp: Don't kill running stub. Add "again" to
19575 the second kill and detach messages.
19577 2000-11-17 Nick Duffek <nsd@redhat.com>
19579 * configure.in: Add AC_EXEEXT.
19580 * configure: Regenerate.
19581 * Makefile.in (just-check): Export EXEEXT.
19582 * lib/gdb.exp ($EXEEXT): Import from environment.
19583 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
19584 expect "maint dump-me" on Cygwin.
19585 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
19588 2000-11-17 Nick Duffek <nsd@redhat.com>
19590 * gdb.base/break.exp: Test backtrace and finish from called
19591 function on all platforms, not just HP-UX.
19593 2000-11-03 Michael Snyder <msnyder@cygnus.com>
19595 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
19596 code from gdb_target_monitor, so it can be used independantly
19597 for gdbserver. Also comment out an unnecessary PUTS.
19599 2000-11-03 Michael Snyder <msnyder@cygnus.com>
19601 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
19602 * gdb.base/corefile.exp: Expect the message "Program is being
19603 debugged already" when we send the "corefile" command, since
19604 the preceeding gdb_load may have connected gdb to a remote target.
19605 * gdb.base/display.exp: Disable hardware watchpoints if new
19606 board info variable "no_hardware_watchpoints" is true.
19607 Replace single-letter commands with more readable ones.
19608 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
19609 if new board info variable "no_hardware_watchpoints" is true.
19610 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
19611 to see if stdio (printf) testing is possible.
19612 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
19613 board info variable "no_hardware_watchpoints" is true. Use new
19614 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
19616 2000-11-13 Fernando Nasser <fnasser@redhat.com>
19618 From Orjan Friberg <orjanf@axis.com>:
19619 * gdb.base/printcmds.exp: Escape curly braces followed by a number
19620 in array print pattern match.
19622 2000-11-09 Fernando Nasser <fnasser@redhat.com>
19624 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
19625 spelling "cancelled" to U.S. spelling "canceled" to match changes
19627 * gdb.c++/ovldbreak.exp: Ditto.
19629 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
19631 * gdb.base/callfuncs.c (main): Moved to end of file, call
19632 t_double_values to initialize the FPU before inferior calls are made.
19633 * gdb.base/callfuncs.exp: Test for register preservation after calling
19634 inferior functions. Add tests for continuining, finishing and
19635 returning from a stop in a call dummy.
19637 2000-10-24 Michael Snyder <msnyder@cygnus.com>
19639 * gdb.base/commands.exp: Break up long lines, and re-indent.
19641 2000-10-19 Michael Snyder <msnyder@cygnus.com>
19643 * config/gdbserver.exp: Rewritten from the ground up, to make it
19644 compatible with the current dejagnu tree, and to make it work with
19645 the new "gdbserver" in libremote.
19647 2000-10-16 Michael Snyder <msnyder@cygnus.com>
19649 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
19650 * gdb.base/varargs.exp: Skip entire test if no printf support.
19651 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
19652 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
19654 2000-10-13 Michael Snyder <msnyder@cygnus.com>
19656 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
19657 no floating point support.
19658 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
19659 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
19660 * gdb.base/call-rt-st.exp: Ditto.
19661 * gdb.base/call-strs.exp: Ditto.
19663 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
19665 * gdb.base/sizeof.c: include <stdio.h>.
19667 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
19668 'finish', otherwise uncaptured gdb_prompt would potentially
19669 throw remaining test points out of sync.
19671 2000-07-26 Scott Bambrough <scottb@netwinder.org>
19673 * gdb.base/recurse.exp: Run tests for all targets.
19674 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
19675 gnu-oldld case on ARM.
19676 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
19679 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
19681 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
19682 * gdb.java/configure: Rebuild.
19684 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
19686 * gdb.java/jv-exp.exp: New file.
19688 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
19690 * configure: Rebuilt.
19691 * configure.in (configdirs): Add gdb.java.
19692 * gdb.java/jmisc.java: New file.
19693 * gdb.java/jmisc.exp: New file.
19694 * gdb.java/Makefile.in: New file.
19695 * gdb.java/configure: Rebuilt.
19696 * gdb.java/configure.in: New file.
19697 * lib/java.exp: New file.
19699 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
19701 * gdb.base/exprs.exp: Test casts to a pointer including over and
19704 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
19706 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
19707 and the compilers sizes.
19709 2000-07-09 Nick Duffek <nsd@redhat.com>
19711 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
19712 (use_methods): New function.
19713 (main): Call use_methods().
19714 * gdb.c++/classes.exp (test_method_param_class): New procedure.
19715 (do_tests): Call test_method_param_class.
19717 2000-07-09 Nick Duffek <nsd@redhat.com>
19719 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
19721 (test_enums): New procedure. Move enum tests from end of script
19722 to here. Set breakpoint on function name instead of line number.
19723 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
19724 (enums2): New marker function.
19725 (enums1): New function.
19726 (main): Call enums1(). Move enum tests to enums1().
19728 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
19730 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
19731 compile/link program. Update line numbers.
19732 * gdb.asm/d10v.inc: Define ``startup''.
19733 * gdb.asm/asmsrc1.s: Add definition of _start.
19735 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
19737 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
19739 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19741 * gdb.base/maint.exp: Add 'maint print architecture' item to output
19742 of 'help maint print' command.
19744 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
19746 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
19747 they use gdb_expect_list.
19749 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
19751 * gdb.base/commands.exp: Use ``set remote
19752 memory-read-packet-size'' instead of ``set endian big'' to test
19755 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
19757 * gdb.c++/templates.exp (do_tests): Make all of these work under
19758 g++, and stop skipping them.
19760 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
19763 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
19766 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19768 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
19769 the regular expression: accept an (almost) arbitrary sequence of
19770 "frames-invalid" and "breakpoints-invalid" messages both before
19771 and after the "starting" message.
19773 2000-06-02 Michael Snyder <msnyder@cygnus.com>
19775 * gdb.c++/local.exp: This test has never been known to work with g++.
19777 2000-05-18 Michael Snyder <msnyder@cygnus.com>
19779 * gdb.base/annota1.exp (annotate-signal-handler-caller):
19780 Relax the regular expression a little, make it pass on Solaris 8.
19782 2000-05-12 Kevin Buettner <kevinb@redhat.com>
19784 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
19785 a call, do not require that gdb stop on the line after the call.
19786 Instead, it is permissible for gdb to stop on the line of the
19789 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
19791 * gdb.base/break.exp (bp on small function, optimized file):
19792 Add a second pass pattern. The behavior differs here between stabs
19793 and dwarf for one-line functions. Stabs preserves two line symbols
19794 (one before the prologue and one after) with the same line number,
19795 but dwarf regards these as duplicates and discards one of them.
19796 Therefore the address after the prologue (where the breakpoint is)
19797 has no exactly matching line symbol, and GDB reports the breakpoint
19798 as if it were in the middle of a line rather than at the beginning.
19800 2000-05-08 Michael Snyder <msnyder@cygnus.com>
19802 * gdb.base/interrupt.exp: Make "pass" message say "send"
19803 rather than "send_gdb" (for consistancy).
19805 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
19807 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
19808 * gdb.c++/templates.cc: Properly check for GCC version number.
19809 * lib/compiler.cc: Likewise
19811 2000-04-28 Michael Snyder <msnyder@cygnus.com>
19813 * gdb.base/break.exp: When compiled with -O2 optimization,
19814 gdb may not stop at the first line of main, due to code motion.
19816 2000-04-26 Michael Snyder <msnyder@cygnus.com>
19818 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
19819 This test depends on parsing the printf output from the target.
19820 Since the sparclet stub doesn't do stdio, this will never work.
19821 * gdb.base/call-rt-st.exp: ditto.
19822 * gdb.base/call-strs: ditto.
19824 2000-04-24 Michael Snyder <msnyder@cygnus.com>
19826 * gdb.base/miscexprs.exp: make sizeof long array test portable.
19828 * gdb.base/ending-run.exp: After connecting to a remote target,
19829 but before running, the target will appear to be in a random
19830 location. Specify both a file and a line for breakpoints.
19831 Also, the function that calls main may be called 'init'
19832 rather than 'start'.
19834 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19836 * gdb.base/help.exp: Update output for add-symbol-file command.
19838 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
19840 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19841 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
19843 2000-04-07 J.T. Conklin <jtc@redback.com>
19845 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
19847 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
19849 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
19851 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
19852 values that can be represented exactly.
19853 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
19854 above change, and to not check against the directory part of the source
19856 (step into print_long_arg_list): Likewise.
19857 (print print_small_structs from print_long_arg_list): Likewise.
19858 (print print_long_arg_list): Likewise.
19860 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19862 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
19864 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
19866 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
19868 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
19870 * gdb.base/commands.exp (deprecated_command_test): Add test for
19871 deprecate with no arguments.
19873 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
19875 * gdb.base/break.exp: Add new test for setting breakpoints on
19876 optimized code so we can test breakpoints work even when function
19877 prologues may be optimized away
19879 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
19881 From David Whedon <dwhedon@gordian.com>
19882 * gdb.base/commands.exp : Added command deprecator tests.
19884 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
19886 * gdb.base/help.exp: Added test for new apropos command.
19888 2000-03-21 Kevin Buettner <kevinb@redhat.com>
19890 * gdb.base/pointers.c (usevar): New function.
19891 (main): Make sure that global variables v_int_pointer2, rptr,
19892 and y are all referenced someplace in the program by calling
19893 usevar() on them. [Some linkers delete symbols which are
19894 never referenced. The space remains, but there's no way to
19895 get a (symbolic) handle on the variable from the debugger.]
19897 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19899 * gdb.base/printcmds.c: Add typedeffed arrays.
19901 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
19902 procedure to test arrays that are typedef'd.
19904 2000-03-13 James Ingham <jingham@leda.cygnus.com>
19906 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
19907 the library directories.
19909 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
19911 * configure.in (configdirs): Add sub directory gdb.mi.
19912 * configure: Re-generate.
19914 * gdb.mi: New directory.
19916 2000-02-25 Scott Bambrough <scottb@netwinder.org>
19918 * gdb.base/long_long.exp: Correct test suite failure when printing
19919 a long long value as a double on ARM platforms.
19921 2000-02-16 Jim Blandy <jimb@redhat.com>
19923 * gdb.base/break.exp ("breakpoint line number"): Make sure the
19924 default source file is set properly before running this test.
19926 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19928 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
19929 gdbtk/library directory, not in gdbtcl2.
19931 2000-02-04 Jim Blandy <jimb@redhat.com>
19933 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
19934 backslash from regexp pattern.
19936 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
19937 procedure. Use it to run all the "continue to bp overloaded"
19938 tests. Note that this changes the names of the tests slightly.
19939 If the breakpoint hit message includes a hex PC value, because
19940 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
19941 from the real source code, still consider that a pass.
19943 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
19944 XFAIL here if the breakpoint message contains a hex address. Note
19945 similar change on 1999-11-02.
19947 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
19949 * gdb.base/ptype.exp: Establish a default source file before
19950 calling get_debug_format.
19952 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
19954 * gdb.base/watchpoint.exp: Remove duplication of test messages.
19956 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19958 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
19959 of successive stepi commands -- while in the prologue we should see
19960 the function entry bracket.
19962 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
19964 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
19965 reach __change_mode() when stepping through the end of main().
19967 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
19969 * gdb.base/default.exp: Fix expected pattern.
19970 * gdb.base/help.exp: Same.
19972 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19974 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
19975 Don't use xfail's because that affects only the following test.
19977 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
19980 * gdb.base/selftest.exp: Update to reflect changes to main.c.
19982 2000-01-07 Michael Snyder <msnyder@cygnus.com>
19984 * gdb.base/display.exp: Some yacc parsers like to say
19985 "A syntax error" rather than "A parse error". Accept both.
19987 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
19989 * gdb.base/default.exp: Remove OS dependent string from "target
19991 * gdb.base/help.exp: Same for "help target remote" test.
19993 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
19995 From Jim Kingdon <kingdon@redhat.com>:
19997 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
19998 prompt (cleanup rather than necessity, but still might keep output
19999 from spilling to next test).
20001 2000-01-02 Fred Fish <fnf@cygnus.com>
20003 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
20004 AIX, which defines them in <sys/types.h>.
20006 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
20008 * gdb.base/default.exp: Match arm* etc instead of arm in "info
20011 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
20013 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
20015 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
20016 outermost frame disallowed".
20018 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
20020 * gdb.base/setvar.exp: New tests for setting the value of a struct
20021 with a constant list.
20023 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20025 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
20026 require the user to type a cast before setting the value of a struct.
20028 1999-12-06 Jim Blandy <jimb@cygnus.com>
20030 * gdb.base/default.exp: Expect the new 'info float' command on
20031 all i386 platforms.
20033 * gdb.threads/linux-dp.exp: Expand our ability to recognize
20034 LinuxThreads libraries that don't support debugging.
20036 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20038 * gdb.base/remote.c: Fill the buffer with truely random data.
20039 Change the buffer type to ``unsigned char'' to simplify size
20042 * gdb.base/remote.exp: Reduce download numbers by one. Typical
20043 stub only handles 400-1 byte packets. Verify that the download
20046 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
20048 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
20049 tests, using UNRESOLVED for the untested cases. Also, does not wait
20050 for a timeout if the prompt was received before a recognizable pattern.
20052 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
20054 * lib/gdb.exp (gdb_expect_list): Fix spelling.
20056 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20058 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
20061 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
20063 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
20065 * gdb.c++/local.exp: Be more flexible in recognizing local class
20066 name mangling. Don't allow horribly truncated method names.
20067 * gdb.c++/derivation.exp: Expect protected inheritance.
20068 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
20069 * gdb.c++/virtfunc.exp: Likewise.
20070 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
20071 when printing a nested enum.
20073 1999-11-22 Jim Blandy <jimb@cygnus.com>
20075 * gdb.base/step-test.exp: Properly await GDB's response to setting
20076 a breakpoint on the call to large_struct_by_value.
20078 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
20079 just because we have debug info for the `start' function.
20081 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
20083 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
20084 "Unknown signal" messages, which indicate (on LinuxThreads) that
20085 GDB doesn't know how to debug threads on this system. This is
20086 better than hanging while philosopher 0 dumps chatter into gdb.log.
20088 1999-11-18 Tom Tromey <tromey@cygnus.com>
20090 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
20092 1999-11-18 Fred Fish <fnf@cygnus.com>
20094 * gdb.base/coremaker2.c: Add sample program for generating
20095 cores that is more self contained than coremaker.c. Eventually
20096 I'll add more code to this and tie it into the testsuite.
20098 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
20100 * gdb.base/dollar.exp: Remove, now in gdb.hp.
20102 1999-11-10 Jimmy Guo <guo@cup.hp.com>
20104 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
20106 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
20109 * gdb.c++/derivation.exp: remove redundant get compiler info code.
20111 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
20112 'continue with watch' test point.
20114 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
20116 Merged from p2linux-990323-branch:
20118 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
20120 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
20122 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
20123 {limit,fixed}''. Test ``set download-write-size''.
20125 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
20127 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
20130 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
20132 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
20134 1999-11-03 Mark Salter <msalter@cygnus.com>
20136 * gdb.base/break.exp: Fix "stub continue" pattern.
20138 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
20140 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
20142 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
20144 * gdb.base/display.exp ("finish"): Add timeout clause.
20146 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
20147 plain prompt clause, so this doesn't have to time out in order to
20150 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
20151 breakpoint hit messages include an address.
20153 * gdb.base/display.exp: Don't forget to escape parens in regular
20154 expressions. Unix regexp notatation sucks.
20156 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20158 * gdb.base/annota1.exp: Test for annotate-signalled: change output
20159 order for 'signalled' message.
20161 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
20163 From Jimmy Guo <guo@cup.hp.com>:
20164 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
20165 * gdb.base/annota1.c: Add code for tests to work with.
20167 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
20169 * gdb.base/remote.exp: New test for remote downloading settings.
20170 * gdb.base/remote.c: New file with large .data.
20172 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
20174 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
20175 for LinuxThreads support, merged from the Code Fusion branch.
20177 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
20179 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
20180 containing exp_continue into a while within an expect. Don't
20181 attempt a start more than three times. Check return value from
20184 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
20186 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
20189 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
20191 * gdb.base/break.c (main): Added a statement that we can step
20193 * gdb.base/break.exp: Added tests for setting a breakpoint
20194 at an offset and stepping onto a breakpoint.
20196 1999-10-01 Fred Fish <fnf@cygnus.com>
20198 * gdb.base/help.exp (help add-symbol-file): Update to match current
20201 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
20203 * gdb.base/break.exp: Code locations are in hex, don't forget!
20206 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
20208 * condbreak.exp: Use break.c as test program.
20209 * condbreak.c: Remove, redundant with break.c.
20211 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
20213 * config/monitor.exp (gdb_target_monitor): Disable X- and
20214 Z-packets if the target needs it.
20216 1999-09-13 James Ingham <jingham@leda.cygnus.com>
20218 * gdb.c++/overload.exp: Added tests for listing overloaded
20219 functions with function pointers in the arg, explicitly calling
20220 out the version you want.
20222 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
20224 * long_long.exp: Add variations of test cases that work for
20225 targets with 16-bit ints and 32-bit doubles.
20227 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
20229 * break.c (main): Compare a possibly-uninitialized argc with an
20230 unlikely value that fits in 16 bits.
20232 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
20234 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
20235 0xfeeb, don't want negative numbers if ints are 16 bits.
20237 * lib/gdb.exp (skip_cplus_tests): New proc.
20238 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
20239 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
20240 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
20241 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
20242 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
20243 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
20244 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
20245 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
20247 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
20249 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
20251 * gdb.base/corefile.exp (up): Allow a parameter to appear
20252 in the frame that we're going up to.
20254 From Jim Blandy <jimb@cygnus.com>:
20256 * gdb.base/default.exp (info float): Expect some output now.
20258 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
20259 returning floating-point values to fail on the x86.
20260 * gdb.base/callfwmall.exp (do_function_calls): Same.
20262 * gdb.base/list.exp (test_listsize): Correct expectations for
20263 listing line 1 with listsize 2. Also, listing a single line
20264 works now, as does listing three lines. [Kevin's note: There
20265 were a number of other cases fixed too where the expectations
20268 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
20270 * gdb.base/selftest.exp: Add case for when version prints as
20271 constant string instead of char pointer.
20273 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
20275 * gdb.base/ending-run.exp: Add Solaris case for what happens when
20276 stepping out of main.
20278 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
20281 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
20282 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
20284 * gdb.c++/ovldbreak.exp: Update match string in test that
20285 includes a warning of multiple breakpoints.
20287 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
20289 * gdb.base/display.exp: Improve precision of step-after-finish
20292 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
20295 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
20296 configs when using G++, not just hppa*.
20298 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20300 * gdb.base/async.c: New file.
20301 * gdb.base/async.exp: New file.
20303 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
20305 * gdb.base/break.exp: Tweak PA specific tests to properly handle
20308 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
20310 * gdb.base/display.exp: "finish" can leave us mid-line on many
20311 targets, deal with it. Add a small constant to main, instead of
20312 1000 since main+1000 may not be a valid address in the target.
20314 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
20317 * gdb.base/attach.exp: Handle another hpux11 error message variant
20318 when attaching to a process that does not exist.
20320 1999-08-19 J.T. Conklin <jtc@redback.com>
20322 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
20323 characters in 'continue to 1241' test.
20325 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
20327 * gdb.base/call-ar-st.exp: Add a shorter match case for the
20328 stop in print_long_arg_list, define and use a whitespace
20329 variable in print_small_structs test, add an XFAIL for Solaris.
20330 * gdb.base/dbx.exp: XFAIL func commands until somebody is
20331 interested enough to fix.
20333 1999-08-13 Keith Seitz <keiths@cygnus.com>
20335 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
20336 (dbx_gdb_load): Remove. Use gdb_load instead, since that
20337 proc knows about targets other than the natives.
20338 (test_assign): Use "gdb_run_cmd" to "run" the target.
20339 Check that we've actually hit the breakpoint at main.
20340 When we attempt to assign a value to a local variable, check
20341 that the variable is in the current scope, i.e., don't use
20342 a test with an empty result.
20344 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
20346 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
20349 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
20351 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20352 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
20353 gdb.compat, gdb.threads-hp.
20354 gdb.hp/configure, gdb.hp/configure.in: New files.
20355 gdb.hp/Makefile.in: Recurse into new subdirs.
20356 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
20357 gdb.hp/gdb.objdbg: New directory, tests for debugging info
20359 gdb.hp/tools: New directory, aux tools for HP-specific tests.
20361 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
20363 * gdb.base/display.exp: Help expect by putting a newline in the
20364 funky printf, remove a bogus p/a test.
20366 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20368 * gdb.base/display.exp: Make sure that when we say 'run', we are
20369 connected to the target. This is necessary when running not
20372 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
20374 * gdb.base/step-test.exp: Removed some extraneous messages.
20376 * gdb.base/long_long.exp: Don't run memory examination tests
20377 on little-endian targets (they will need a different set of
20380 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
20382 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
20383 until somebody decides to fix GDB.
20385 * gdb.base/long_long.c: Stop compiler complaint by specifying long
20387 * gdb.base/long_long.exp: Loosen x/c test, add partial result
20388 matches for a couple x/2 commands.
20390 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
20392 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
20393 by merging in ref-types2 tests.
20394 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
20396 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20397 * gdb.c++/Makefile.in: Add standard actions.
20398 (EXECUTABLES): Rename from PROGS, update list.
20399 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
20401 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
20402 foo and bar locals.
20403 * gdb.c++/anon-union.exp: Fix tests to match.
20404 * gdb.c++/classes.exp: Run if HP compiler used, add extra
20405 expect matches to handle output variations.
20406 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
20407 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
20408 output, add HP alternatives for new and delete prints.
20409 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
20410 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
20411 * gdb.c++/demangle.exp: Use $style when reporting failure.
20412 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
20413 * gdb.c++/inherit.exp: Run if HP compiler used, add some
20414 match alternatives.
20415 * gdb.c++/local.exp: Add match alternatives or xfails for HP
20417 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
20418 * gdb.c++/method.exp: Add match alternatives.
20419 * gdb.c++/misc.cc: Add bool types.
20420 * gdb.c++/misc.exp: Add tests for bool types.
20421 * gdb.c++/overload.exp: Add xfails.
20422 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
20423 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
20424 add some more template parameter tests (only for HP currently).
20425 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
20426 * gdb.c++/virtfunc.cc: Add return type and value for main.
20427 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
20428 match alternatives.
20430 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20432 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
20434 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
20436 * gdb.base/signals.exp: Don't expect getting a backtrace from
20437 within a signal handler to fail on Linux.
20439 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
20441 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20442 * lib/gdb.exp: Remove some gratuitious semicolons.
20443 (delete_breakpoints): Increase timeout.
20444 (gdb_expect): Add -notransfer option.
20445 (gdb_test): Use -notransfer option.
20446 (get_compiler_info): Add f77 case.
20447 (get_compiler): New proc, split out from gdb_preprocess, add f77
20449 (gdb_preprocess): Call get_compiler.
20451 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
20452 * gdb.base/attach.exp, gdb.base/display.exp,
20453 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
20454 gdb.base/long_long.exp, gdb.base/printcmds.exp,
20455 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
20456 third arg to gdb_test.
20457 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
20458 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
20459 HP-UX xfails, add others.
20460 * gdb.base/completion.exp: Reflect name change of self-test.
20461 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
20462 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
20463 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
20465 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
20466 useless HP-UX 10.30 references.
20467 * gdb.base/maint.exp: Loosen matches.
20468 * gdb.base/pointers.c (main): Declare more_code.
20469 * gdb.base/pointers.exp: Match on output of a `next'.
20470 * gdb.base/structs.c: Add prototypes.
20471 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
20472 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
20474 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20476 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
20479 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20481 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
20482 Fix run to main failures. Watchpoint can be hardware watchpoint.
20484 * gdb.base/annota1.exp: Clean up some more, in case printf has
20485 debug info. Deal with lack of signal hanlder info in stack.
20487 From Jim Kingdon <kingdon@redhat.com>:
20488 * gdb.base/annota1.exp: If printf has debug info, deal with it.
20490 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
20492 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
20493 gdb.base/foll-vfork.exp: Don't run for crosses.
20495 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
20497 * gdb.base/configure.in: Check for gdbvars.exp instead of
20499 * gdb.base/configure: Re-generate.
20501 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
20503 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
20504 in trying to run first and name is too long.
20506 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
20507 pointers2.c and pointers2.exp, respectively.
20508 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
20511 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
20513 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
20514 callfuncs2.c and callfuncs2.exp.
20516 * gdb.base/list.exp: Remove mistaken xfails.
20517 * gdb.base/list0.h: Add optional prototypes.
20519 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
20521 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
20523 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
20524 * ptype.exp: Move test for get_debug_format to before its first
20527 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20529 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
20530 * gdb.base/annota2.cc, annota2.exp: Move from here.
20531 * gdb.c++/annota2.cc, annota2.exp: To here.
20532 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
20534 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
20536 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
20537 a consistent format.
20539 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
20541 From Jimmy Guo <guo@cup.hp.com> and others at HP:
20542 * lib/gdb.exp (get_compiler_info): Add detection for assorted
20543 HP compilers, also set the globals $true and $false.
20545 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
20546 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
20547 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
20548 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
20549 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
20550 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
20551 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
20552 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
20553 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
20554 whatis.c} Add C++ compatible function definitions and return
20555 types, add includes for library functions.
20556 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
20557 * gdb.base/step-test.c (myglob): Rename from glob.
20558 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
20559 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
20560 files, move here from gdb.hp.
20561 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
20562 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
20563 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
20564 Adjust line numbers in regexps.
20566 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
20567 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
20570 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
20571 foll-vfork.exp: New files, move here from gdb.hp.
20572 * gdb.base/page.exp: New file, test of pagination command.
20574 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
20576 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
20578 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
20579 gdb.base/solib.exp: Fix compiler invocation process.
20581 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
20582 HP-UX 11, turn off overload resolution explicitly.
20583 * gdb.base/commands.exp: Set argument list explicitly, add
20585 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
20587 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
20588 expressions properly.
20589 * gdb.base/corefile.exp: Loosen the match slightly.
20590 * gdb.base/default.exp: Allow "Error accessing memory" message
20592 * gdb.base/display.exp: Skip over x/0 j if PA64.
20593 * gdb.base/funcargs.exp: Add xfails for HP-UX.
20594 * gdb.base/interrupt.exp: Ditto.
20595 * gdb.base/langs.exp: Add symbolic matches governed by compiler
20597 * gdb.base/list.exp: Add xfails for HP-UX.
20598 * gdb.base/long_long.exp: Refine some of the numeric matches.
20599 * gdb.base/mips_pro.exp: Xfail on HP-UX.
20600 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
20601 * gdb.base/nodebug.exp: Succeed on more varieties of output.
20602 * gdb.base/opaque.exp: Remove some HP-UX xfails.
20603 * gdb.base/ptype.exp: Succeed on more varieties of output.
20604 * gdb.base/scope.exp: Add xfails for HP-UX.
20605 * gdb.base/sect-cmd.exp: Add more cases.
20606 * gdb.base/setvar.exp: Add xfails for HP-UX.
20607 * gdb.base/shlib-call.exp: Loosen some matches slightly.
20608 * gdb.base/signals.exp: Match on void symbolically.
20609 * gdb.base/step-test.exp: Add case for PA64.
20610 * gdb.base/term.exp: Add exit and restart.
20611 * gdb.base/twice.exp: Clean up after self.
20612 * gdb.base/varargs.exp: Disable overload resolution explicitly.
20613 * gdb.base/whatis.exp: Allow more ways to pass tests.
20615 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
20618 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
20620 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
20622 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
20623 print_double_array(double_array)", "continuing to breakpoint
20624 1018", "print print_double_array(array_d)" and "continuing to
20627 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
20629 * Makefile.in: Add empty html and install-html targets.
20631 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
20633 * config/mt-*: Remove, these haven't been used since 1996.
20635 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
20637 * gdb.base/call-strs.c, gdb.base/ending-run.c,
20638 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
20639 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
20641 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
20643 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
20644 simpler match case for the ptype of the big class.
20646 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20648 * gdb.exp: Fix test for gdb_prompt existence.
20650 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20652 * gdb.exp (gdb_test): Add fail after calls to perror.
20654 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20656 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
20658 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
20660 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
20662 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
20664 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
20665 malloc() is linked in.
20667 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
20669 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
20672 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
20674 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
20676 * gdb.java/jv-print.exp: New file. (Our first Java test!)
20678 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
20680 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
20681 * gdb.base/mips_pro.exp: Likewise.
20683 1999-06-02 Keith Seitz <keiths@cygnus.com>
20685 * gdb.c++/templates.cc: Change all "new" operators to throw
20687 * gdb.c++/cplusfuncs.cc: Likewise.
20689 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
20691 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
20693 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
20694 * gdb.base/ending-run.exp: When stepping out of main, accept a
20695 step into an arbitrary assembler file.
20697 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20699 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
20700 "breakpoint-invalid" to be printed.
20701 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
20702 number of "frames-invalid" and "breakpoint-invalid" to be printed.
20703 * gdb.base/annota2.cc: Initialize a.x to 0.
20705 1999-05-17 Keith Seitz <keiths@cygnus.com>
20707 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
20708 when "skip_float_tests" set.
20709 Ditto for "print print_double_array(array_d)", "print print_small_structs",
20710 "print print_ten_doubles", and "step into print_long_arg_list".
20711 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
20712 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
20713 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
20714 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
20715 "skip_float_tests" is set.
20716 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
20717 when "skip_float_tests" set.
20719 1999-05-06 Keith Seitz <keiths@cygnus.com>
20721 * gdb.base/annota2.cc: Include stdio.h.
20723 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
20725 * gdb.base/crossload.exp: Remove, this has been disabled ever
20726 since BFD stopped including all targets, and cross-GDB gets
20727 plenty of testing anyway.
20728 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
20729 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
20730 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
20731 * gdb.base/README: Remove, was doc for this.
20732 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
20735 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20737 * gdb.base/call-ar-st.exp: Fix one regular expression in test
20740 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
20741 * gdb.base/annota2.exp: New file. More annotation tests.
20742 * gdb.base/annota1.c: New file. Source file for annota1.exp.
20743 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
20745 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
20747 * config/cfdbug.exp: New file.
20749 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
20751 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
20752 Marcus Daniel's and Dale Hawkins's demangler crashes.
20754 * gdb.c++/demangle.exp (test_gnu_style_demangling,
20755 test_lucid_style_demangling, test_arm_style_demangling,
20756 test_hp_style_demangling): Try Tom Tromey's core-dumping
20757 identifier under each demangling style.
20759 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
20761 * gdb.c++/demangle.exp: Include the current demangling style
20763 (current_demangling_style): New global variable.
20764 (set_demangling_style, test_demangling_core, test_demangling,
20765 test_demangling_exact): New functions.
20766 (test_gnu_style_demangling, test_lucid_style_demangling,
20767 test_arm_style_demangling, test_hp_style_demangling): Use those,
20768 instead of calling gdb_test and gdb_test_exact directly.
20769 (catch_demangling_errors): New function, which reports errors
20770 signalled by the demangling test functions in an orderly way.
20771 (do_tests): Use catch_demangling_errors.
20773 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
20775 * gdb.base/signals.exp (test_handle_all_print): Use () for
20776 grouping in expressions, not {}.
20778 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
20781 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
20783 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
20786 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
20788 * gdb.stabs/weird.exp: Test for CC being defined before
20789 looking at its value.
20791 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
20793 * gdb.base/call-ar-st.exp: Remove stray '#'.
20794 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
20795 "short int" and "long int".
20796 * gdb.c++/overload.cc: Cast the string added in the previous
20797 change, to mollify finicky HP compiler.
20798 * gdb.hp/reg-test.exp (testfile): Fix file name.
20799 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
20801 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
20802 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
20803 alternate form of enum ptype.
20805 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
20807 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
20808 * gdb.hp/*.exp: Change all to run compiler probe only after
20809 passing skip_hp_tests, so as not to waste time on guaranteed
20812 * gdb.c++/overload.cc: Pass string instead of char addr, always
20814 * gdb.c++/templates.cc: Fix syntax error.
20816 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20818 * gdb.base/commands.exp: Add test for correct position of '>'
20819 when issuing the 'commands' command after a 'while' or 'if'
20822 1999-03-18 James Ingham <jingham@cygnus.com>
20824 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
20826 * gdb.c++/method.exp: It was testing an uninitialized int on the
20827 stack and assuming it was positive.
20829 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
20831 * gdb.base/step-test.exp: Catch a case where finish is broken and
20832 keep it from killing the rest of the tests.
20833 Use gdb_continue_to_end.
20835 * gdb.base/sigall.exp: use gdb_continue_to_end.
20837 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
20839 * gdb.base/display.exp: use runto_main, not run.
20841 * gdb.base/default.exp: Check for the current error message in the
20842 r abbreviation test.
20843 Add strongarm to the targets that know info float.
20845 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
20846 run which doesn't work with monitors.
20848 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
20850 * gdb.base/break.exp: use the gdb_continue_to_end proc.
20852 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
20853 program. Traps the case (in Cygmon) when the program never really
20854 exits. Same as Mark's continue_to_exit, but I had put it in a lot
20855 more places, so I used my name. Sorry Mark...
20857 * config/monitor.exp (gdb_target_monitor): added another
20858 target_info parameter: remotebinarydownload. This will set the
20859 remotebinarydownload flag if this is causing some boards trouble.
20861 1999-03-18 Mark Salter <msalter@cygnus.com>
20863 * lib/gdb.exp (continue_to_exit): New function.
20865 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
20866 * gdb.base/ending-run.exp: Ditto.
20867 * gdb.base/step-test.exp: Ditto.
20869 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
20871 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
20872 (suggested by Art Haas <ahaas@neosoft.com>).
20874 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
20876 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
20878 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
20880 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
20881 descriptions of types (short unsigned int vs unsigned short, etc).
20883 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
20885 * gdb.base/call-strs.exp: Don't assume that `step' will step over
20886 a call to strlen; sometimes we do have sources.
20888 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20890 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
20891 character, so GDB won't print garbage after its end.
20893 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
20894 breakpoint there instead. Sometimes GCC emits memcpy to handle
20895 the large structures being passed by value, so we step into that
20896 instead of sum_array_print, which obscures what we're really testing.
20897 * gdb.base/step-test.exp: However, we do want a test that notices
20898 the bizarre steps into memcpy, so do that here. Add check for
20899 stepping into function calls that pass large structures by value.
20900 ("Is that a noun clause, or are you just happy to see me?")
20901 Remove all references to specific line numbers.
20902 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
20903 New type and function.
20904 (main): Call large_struct_by_value, passing it a large struct by value.
20905 * lib/gdb.exp (gdb_get_line_number): New function.
20907 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
20910 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
20912 * lib/gdb.exp: Doc fixes.
20914 1999-03-05 Nick Clifton <nickc@cygnus.com>
20916 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
20918 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
20920 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
20921 commands. They're not germane to this test, and they don't work
20922 that way on remote targets.
20924 1999-03-01 James Ingham <jingham@cygnus.com>
20926 * Changelog entries merged over from gdb development branch.
20928 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
20930 * lib/gdb.exp (gdbtk_analyze_results): Generic function
20931 for outputting results of test run.
20933 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
20935 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
20937 1999-02-25 Felix Lee <flee@cygnus.com>
20939 * lib/gdb.exp (debug_format): initialize
20941 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
20943 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
20944 * gdb.base/call-rt-st.c: Ditto.
20946 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
20948 * gdb.threads/pthreads.exp (horiz): New variable.
20949 (test_startup): Fix regexps that capture thread numbers.
20951 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
20953 * gdb.base/smoke.exp: Disambiguate two test case names (both
20956 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
20958 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
20961 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20963 * gdb.base/miscexprs.exp: Change patterns to match GDB's
20964 actual output formatting.
20965 * gdb.base/smoke.exp: GDB removes leading 0's.
20966 * gdb.base/volatile.exp: Don't check type of remuneration;
20967 that variable is no longer defined in constvars.c.
20968 * gdb.base/step-test.c (main): Exit with explicit exit code.
20969 * gdb.base/step-test.exp: Remove two nexti checks--they are
20972 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
20974 * gdb.base/help.exp ("help delete display"): Fix test to match
20977 * gdb.base/long_long.c (known_types): Initialize values to zero.
20978 * gdb.base/long_long.exp: Step one more line
20979 so 'dec' is initialized in "get to known place". GDB removes
20980 leading zeros. Explicitly ask for hex formatting. Use
20981 unique test case names.
20983 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
20985 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
20987 * gdb.c++/method.exp: Add missing close brace.
20989 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20991 * gdb.base/maint.exp: Use 'set height 0' to disable page
20992 prompting, not 'set height 400'.
20994 Fix a bunch of timeouts.
20995 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
20996 four separate tests, so expect doesn't take forever to match a ton
20997 of text against a regexp with lots of .* forms.
20998 ("maint print psymbols", "maint print symbols"): Make some of
20999 these greps more selective, so that expect doesn't try to wade
21000 through huge piles of output and time out.
21002 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
21004 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
21005 tests: one which doesn't expect shlib events to be reported, and
21006 another which does, but is XFAIL for all platforms other than
21009 * gdb.base/break.exp: Teach the test suite that the `catch
21010 fork', `catch vfork', and `catch exec' commands produce error
21011 messages on platforms that don't provide these features.
21013 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
21015 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
21016 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
21017 (shortening names from solib_threshold.exp etc), won't run on
21018 anything but HP-UX for the foreseeable future.
21019 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
21022 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
21024 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
21025 gdb.trace/Makefile.in (clean): Remove all test executables.
21027 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
21029 * gdb.base/shlib-call.exp: add test cases to verify that gdb
21030 successfully re-sets breakpoints in shared libraries.
21031 * gdb.base/shmain.c (main): return 0, don't fall off the end.
21033 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
21035 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
21036 and compiled w/o GCC.
21038 * gdb.hp/watch-cmd.exp: ditto.
21040 * gdb.hp/watch-hp.exp: ditto.
21042 * gdb.hp/xdb1.exp: ditto.
21044 * gdb.hp/xdb2.exp: ditto.
21046 * gdb.hp/dbx.exp: ditto.
21048 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
21050 * constvars.c: Remove C++-isms.
21051 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
21054 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
21056 The following changes are part of the HP merge.
21058 * gdb.base/break.exp: new tests to verify that catchpoints for
21059 fork, vfork, and exec don't trigger inappropriately.
21061 * gdb.base/opaque.exp: compile one file at a time, then link.
21063 * gdb.base/signals.exp: be more restrictive about which hppa
21064 systems receive a setup_xfail. new tests.
21066 * gdb.base/solib_threshold.build: new file.
21067 * gdb.base/solib_threshold.exp: new file.
21068 * gdb.base/solib_threshold.link_opts: new file.
21069 * gdb.base/solib_threshold.mk: new file.
21070 * gdb.base/gen_solib_threshold.c: new file.
21072 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
21073 tests. New tests for enums inside classes.
21075 * gdb.c++/compiler.cc: indicate support of template debugging.
21077 * gdb.c++/demangle.exp: run hp style demangling tests.
21079 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
21082 * gdb.c++/misc.cc: changes to support new tests.
21084 * gdb.c++/templates.cc: changes to support HP's compiler; changes
21085 to support new tests.
21087 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
21088 gcc, then skip these tests.
21090 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
21092 The following files are part of the HP merge; some had longer
21093 names at HP, but have been renamed to be no more than 14
21094 characters in length.
21096 * gdb.hp/ambiguous.cc: new file.
21097 * gdb.hp/ambiguous.exp: new file.
21098 * gdb.hp/attach.exp: new file.
21099 * gdb.hp/attach2.exp: new file.
21100 * gdb.hp/classes-hp.exp: new file.
21101 * gdb.hp/ctti.exp: new file.
21102 * gdb.hp/ctti-add.cc: new file.
21103 * gdb.hp/ctti-add1.cc: new file.
21104 * gdb.hp/ctti-add2.cc: new file.
21105 * gdb.hp/ctti-add3.cc: new file.
21106 * gdb.hp/dbx.exp: new file.
21107 * gdb.hp/exception.cc: new file.
21108 * gdb.hp/exception.exp: new file.
21109 * gdb.hp/foll-exec.c: new file.
21110 * gdb.hp/foll-exec.exp: new file.
21111 * gdb.hp/foll-fork.c: new file.
21112 * gdb.hp/foll-fork.exp: new file.
21113 * gdb.hp/foll-vfork.c: new file.
21114 * gdb.hp/foll-vfork.exp: new file.
21115 * gdb.hp/inherit-hp.exp: new file.
21116 * gdb.hp/more-steps.exp: new file.
21117 * gdb.hp/namespace.cc: new file.
21118 * gdb.hp/namespace.exp: new file.
21119 * gdb.hp/optimize.exp: new file.
21120 * gdb.hp/pxdb.c: new file.
21121 * gdb.hp/pxdb.exp: new file.
21122 * gdb.hp/quicksort.exp: new file.
21123 * gdb.hp/reg-test.exp: new file.
21124 * gdb.hp/reg-test.s: new file.
21125 * gdb.hp/sized-enum.c: new file.
21126 * gdb.hp/sized-enum.exp: new file.
21127 * gdb.hp/start-stop.exp: new file.
21128 * gdb.hp/templ-hp.cc: new file.
21129 * gdb.hp/templ-hp.exp: new file.
21130 * gdb.hp/thr-lib.c: new file.
21131 * gdb.hp/thr-lib.exp: new file.
21132 * gdb.hp/thr-lib.h: new file.
21133 * gdb.hp/thr-liblib.c: new file.
21134 * gdb.hp/virtfun-hp.c: new file.
21135 * gdb.hp/virtfun-hp.exp: new file.
21136 * gdb.hp/watch-cmd.exp: new file.
21137 * gdb.hp/watch-hp.exp: new file.
21138 * gdb.hp/xdb1.exp: new file.
21139 * gdb.hp/xdb2.exp: new file.
21140 * gdb.hp/xdb3.exp: new file.
21142 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
21144 The following files are part of the HP merge; some had longer
21145 names at HP, but have been renamed to be no more than 14
21146 characters in length.
21148 * gdb.base/ss.h: new file.
21149 * gdb.base/call-ar-st.c: new file.
21150 * gdb.base/call-ar-st.exp: new file.
21151 * gdb.base/call-rt-st.c: new file.
21152 * gdb.base/call-rt-st-exp: new file.
21153 * gdb.base/call-strs.exp: new file.
21154 * gdb.base/ena-dis-br.exp: new file.
21155 * gdb.base/environ.exp: new file.
21156 * gdb.base/long_long.exp: new file.
21157 * gdb.base/sect-cmd.exp: new file.
21158 * gdb.base/shlib-cl2.exp: new file.
21159 * gdb.base/smoke.exp: new file.
21160 * gdb.base/so-impl-ld.c: new file.
21161 * gdb.base/so-impl-ld.exp: new file.
21162 * gdb.base/so-indr-cl.c: new file.
21163 * gdb.base/so-indr-cl.exp: new file.
21164 * gdb.base/varargs.exp: new file.
21165 * gdb.base/volatile.exp: new file.
21166 * gdb.base/whatis-exp.exp: new file.
21167 * gdb.base/display.exp: new file.
21168 * gdb.c++/derivation.exp: new file.
21169 * gdb.c++/local.exp: new file.
21170 * gdb.c++/member-ptr.exp: new file.
21171 * gdb.c++/overload.exp: new file.
21172 * gdb.c++/ovldbreak.exp: new file.
21173 * gdb.c++/ref-types.exp: new file.
21174 * gdb.c++/ref-types2.exp: new file.
21175 * gdb.c++/userdef.exp: new file.
21177 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
21179 * gdb.base/default.exp: Reflect wording change in remote.c.
21181 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
21183 * gdb.base/help.exp: Update to reflect current text.
21185 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
21187 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
21188 they're stack variables and contain garbage.
21189 * gdb.c++/anon-union.exp: new file.
21191 The following changes were made by David Taylor
21192 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21193 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21196 * gdb.base/bitops.exp: new file.
21197 * gdb.base/default.exp: change expected messages for catch and
21198 info catch tests to reflect HP merge changes.
21199 * gdb.base/enable-disable-break.exp
21200 * gdb.base/ending-run.c: new file.
21201 * gdb.base/long_long.c: new file.
21202 * gdb.base/maint.exp: new file.
21203 * gdb.base/pointers2.exp: new file.
21204 * gdb.base/shlib-call2.exp: new file.
21205 * gdb.base/solib.exp: new file.
21206 * gdb.base/step-test.c: new file.
21207 * gdb.c++/anon-union.cc: new file.
21208 * gdb.c++/local.cc: new file.
21209 * gdb.c++/member-pointer.cc: new file.
21210 * gdb.c++/method.cc: new file.
21211 * gdb.c++/ref-types.cc: new file.
21212 * gdb.c++/ref-types2.cc: new file.
21213 * gdb.c++/userdef.cc: new file.
21215 * gdb.base/scope.exp: compile one file at a time, then link.
21216 * gdb.base/langs.exp: ditto.
21217 * gdb.base/list.exp: ditto.
21219 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
21221 The following changes were made by David Taylor
21222 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
21223 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
21226 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
21227 skip tests. When compiling pass c++ flag to gdb_compile.
21230 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
21231 test for on hppa*-*-hpux*; use args to see if c++ was specified.
21232 (skip_hp_tests): new function.
21233 (gdb_preprocess): new function.
21235 * configure.in (hpdir): decide whether to configure gdb.hp.
21236 * configure: regenerated.
21238 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
21239 to delete on clean.
21240 (EXECUTABLES): update to reflect new additions.
21241 * gdb.base/commands.exp: update message expected.
21242 * gdb.base/default.exp: add copyright notice.
21243 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
21244 * gdb.base/help.exp: update messages to reflect current text.
21245 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
21246 targets for recurse tests.
21247 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
21250 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
21251 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
21253 * gdb.c++/misc.exp: ditto.
21254 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
21255 run the tests. tell gdb_compile that it's a c++ compilation.
21257 * gdb.threads/pthreads.exp: fix typo in message.
21259 * gdb.base/all-bin.exp: new file.
21260 * gdb.base/arithmet.exp: new file.
21261 * gdb.base/assign.exp: new file.
21262 * gdb.base/completion.exp: new file.
21263 * gdb.base/cond-expr.exp: new file.
21264 * gdb.base/condbreak.exp: new file.
21265 * gdb.base/define.exp: new file.
21266 * gdb.base/dollar.exp: new file.
21267 * gdb.base/environment.exp: new file.
21268 * gdb.base/eval-skip.exp: new file.
21269 * gdb.base/jump.exp: new file.
21270 * gdb.base/logical.exp: new file.
21271 * gdb.base/pointers.exp: new file.
21272 * gdb.base/relational.exp: new file.
21273 * gdb.base/section_command.exp: new file.
21274 * gdb.base/whatis-expr.exp: new file.
21276 * gdb.base/all-types.c: new file.
21277 * gdb.base/call-array-struct.c: new file.
21278 * gdb.base/call-return-struct.c: new file.
21279 * gdb.base/call-strings.c: new file.
21280 * gdb.base/callfuncs2.c: new file.
21281 * gdb.base/condbreak.c: new file.
21282 * gdb.base/constvars.c: new file.
21283 * gdb.base/display.c: new file.
21284 * gdb.base/int-type.c: new file.
21285 * gdb.base/jump.c: new file.
21286 * gdb.base/miscexprs.c: new file.
21287 * gdb.base/pointers.c: new file.
21288 * gdb.base/pointers2.c: new file.
21289 * gdb.base/shmain.c: new file.
21290 * gdb.base/shr1.c: new file.
21291 * gdb.base/shr2.c: new file.
21292 * gdb.base/solib.c: new file.
21293 * gdb.base/solib1.c: new file.
21294 * gdb.base/solib2.c: new file.
21295 * gdb.base/varargs.c: new file.
21296 * gdb.c++/derivation.cc: new file.
21297 * gdb.c++/overload.cc: new file.
21298 * gdb.c++/ovldbreak.cc: new file.
21299 * gdb.hp/attach.c: new file.
21300 * gdb.hp/attach2.c: new file.
21301 * gdb.hp/average.c: new file.
21302 * gdb.hp/compiler.c: new file.
21303 * gdb.hp/compiler.cc: new file.
21304 * gdb.hp/execd-program.c: new file.
21305 * gdb.hp/follow-exec.c: new file.
21306 * gdb.hp/follow-fork.c: new file.
21307 * gdb.hp/follow-vfork-and-exec.c: new file.
21308 * gdb.hp/misc-hp.cc: new file.
21309 * gdb.hp/more-steps.c: new file.
21310 * gdb.hp/optimize.c: new file.
21311 * gdb.hp/quicksort.c: new file.
21312 * gdb.hp/run-hp.c: new file.
21313 * gdb.hp/start-stop.c: new file.
21314 * gdb.hp/sum.c: new file.
21315 * gdb.hp/templates-hp.cc: new file.
21316 * gdb.hp/thread-local-in-lib.c: new file.
21317 * gdb.hp/thread-local-in-lib.h: new file.
21318 * gdb.hp/thread-local-in-lib.lib.c: new file.
21319 * gdb.hp/vforked-program.c: new file.
21320 * gdb.hp/virtfunc-hp.cc: new file.
21321 * gdb.hp/watchpoint-hp.c: new file.
21322 * gdb.hp/xdb.c: new file.
21323 * gdb.hp/xdb0.c: new file.
21324 * gdb.hp/xdb0.h: new file.
21325 * gdb.hp/xdb1.c: new file.
21327 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
21329 The following change was made by Edith Epstein
21330 <eepstein@cygnus.com> as part of a project to merge in changes
21331 originally made by HP; HP did not create ChangeLog entries.
21333 * gdb.c++/demangle.exp: changed the expected output for some
21334 ARM-style mangling -- removed second reference to datatype.
21335 For example, maint demangle __dt__11T1__pt__2_cFv
21336 T1<char>::~T1<char>(void)
21338 maint demangle __dt__11T1__pt__2_cFv
21339 T1<char>::~T1(void)
21341 (test_hp_style_demangling): new hp specific demangling test cases.
21343 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
21345 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
21346 * gdb.trace/backtrace.exp: Likewise.
21347 * gdb.trace/circ.exp: Likewise.
21348 * gdb.trace/collection.exp: Likewise.
21349 * gdb.trace/deltrace.exp: Likewise.
21350 * gdb.trace/infotrace.exp: Likewise.
21351 * gdb.trace/limits.exp: Likewise.
21352 * gdb.trace/packetlen.exp: Likewise.
21353 * gdb.trace/passc-dyn.exp: Likewise.
21354 * gdb.trace/passcount.exp: Likewise.
21355 * gdb.trace/report.exp: Likewise.
21356 * gdb.trace/save-trace.exp: Likewise.
21357 * gdb.trace/tfind.exp: Likewise.
21358 * gdb.trace/tracecmd.exp: Likewise.
21359 * gdb.trace/while-dyn.exp: Likewise.
21360 * gdb.trace/while-stepping.exp: Likewise.
21362 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
21364 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
21366 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
21368 From Brendan Kehoe:
21369 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
21372 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
21374 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
21375 remote dos host testing right.
21377 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
21379 * gdb.base/corefile.exp: remove some xfails.
21381 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
21383 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
21384 have different timestamps.
21386 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
21388 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
21389 gdb.base/default.exp: Replace "exec" with "executable".
21391 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
21393 * gdb.base/default.exp: Change else if to elseif from previous
21396 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
21398 * gdb.base/default.exp: Add brace missing from previous delta.
21400 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
21402 * gdb.base/default.exp: Support test for info float for all
21403 varieties of arm toolchain.
21405 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
21407 * gdb.trace/*.exp: remove "remote_download" command.
21409 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
21411 * gdb.trace/*.exp: remove -gdwarf from compile.
21413 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
21415 * gdb.trace/configure.in(AC_INIT): typo
21416 * gdb.trace/configure: regenerated
21418 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
21420 * config/m68k-emc.exp: New file.
21421 * lib/<emc-support.exp trace-support.exp}: New files.
21422 * configure.in: add new test directory gdb.trace.
21423 * gdb.trace/{configure configure.in Makefile.in}: New files.
21424 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
21425 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
21426 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
21427 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
21428 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
21429 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
21430 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
21432 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
21434 * gdb.c++/classes.exp: Change all regular expressions to match
21435 arbitrary combinations of newline/carriage-return, so that they
21436 will work equally well on Unix and Windows.
21437 * gdb.c++/inherit.exp: ditto.
21438 * gdb.c++/virtfunc.exp: ditto.
21440 1998-08-11 Dawn Perchik <dawn@cygnus.com>
21442 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
21444 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
21446 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
21447 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
21448 to use a0-a3/d0-d3 as needed.
21450 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
21452 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
21453 * gdb.disasm/am33.exp: Corresponding changes.
21455 1998-07-11 Felix Lee <flee@cygnus.com>
21457 * gdb.base/callfuncs.exp: add cmp10 test.
21458 * gdb.base/callfuncs.c (cmp10): new function.
21460 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
21462 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
21463 into two parts to get around a synchronization problem in expect.
21465 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
21467 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
21469 * configure.in: Add options for gdbtk testsuite.
21471 * configure: Regenerate.
21473 * gdb.gdbtk: New directory to hold gdbtk tests.
21475 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21477 * gdb.fortran/types.exp: Escape brackets in expect patterns
21478 for test_float_literal_types_accepted tests.
21479 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
21482 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
21484 * am33.exp: Just compile, do not link the testcase.
21485 * am33.s: Add ".am33" pseudoop to force am33 mode.
21487 1998-06-25 Felix Lee <flee@cygnus.com>
21489 * gdb.base/setshow.exp: make sure $pc is sane.
21491 * gdb.stabs/weird.exp: split expect patterns properly.
21493 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
21495 * gdb.disasm/am33.s: New disassembler testfile for the am33.
21496 * gdb.disasm/am33.exp: Run it.
21498 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
21500 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
21501 match processing (and eliminate spurious timeouts when running).
21503 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
21505 * gdb.base/signals.exp (test_handle_all_print): put back Mach
21506 exception test, but conditionalize it on target [mach | gnu].
21508 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
21510 * gdb.base/overlays.exp: fixup compile line for linker script.
21512 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
21514 * gdb.fortran/types.exp: don't guess at float size.
21516 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
21518 * gdb.base/exprs.exp: delete test that depends on int size.
21520 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
21522 * config/sim.exp: Removed checks for target triplets.
21523 (gdb_target_sim): Use gdb,target_sim_options.
21525 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
21527 * gdb.base/reread.exp: New file.
21528 * gdb.base/reread1.c: New file.
21529 * gdb.base/reread2.c: New file.
21531 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
21533 * config/sim.exp: Use 'target sim -sparclite' when running
21534 SPARClite programs.
21536 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
21538 * gdb.base/structs2.exp: New file.
21539 * gdb.base/structs2.c: New file.
21541 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
21543 * gdb.asm/common.inc: New file.
21544 * gdb.asm/d10v.inc: New file.
21545 * asm-source.exp: Pass -I's to gas to find .inc files.
21546 Update line numbers in expected output.
21547 * asmsrc1.s: Rewrite.
21548 * asmsrc2.s: Rewrite.
21549 * configure.in: Create arch.inc symlink.
21550 * configure: Regenerate.
21551 * Makefile.in (distclean): Delete arch.inc.
21553 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
21555 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
21556 (t_enum_value2): ditto
21557 (t_enum_value3): ditto
21559 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
21561 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
21562 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
21564 Use gdb_test instead of send_gdb/gdb_expect sequences.
21566 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
21568 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
21571 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
21573 * gdb.base/branches.c: Code with lots of loops and
21574 subroutines. Used to test gdbs ability to single step through PC
21575 changes, especially to test mips-tdep.c:mips_next_pc
21577 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
21579 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
21580 more rigorous EGCS C++ error checking.
21582 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
21584 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21586 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
21587 function when asleep.
21588 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
21589 for i*86 Linux and SVR4 signal handling problems.
21590 Remove linux xfail for `next to handler in signals_tests_1', fixed
21591 by recent infrun.c change.
21592 Limit backtrace to 10 frames to avoid timeout problems with infinite
21594 Adjust expect pattern in `handle all print' test to match Apr 28 1997
21595 target.[ch] change.
21597 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
21599 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
21600 for a newline from gdb before continuing.
21601 (default_gdb_exit): Just look for y or n.
21602 (gdb_test): Detect abnormal exit from GDB running on DOS; if
21603 it does, fail the rests of the tests in the file.
21605 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
21607 * config/cygmon.exp: New file.
21609 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
21611 * gdb.base/list.exp: Fix problem with "list default lines around
21612 main" test on remote targets.
21614 * gdb.base/scope.exp: Fix problem with filelocal_bss before
21615 run test on remote targets.
21617 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
21619 * gdb.asm: New directory.
21620 * configure.in: Configure it.
21621 * configure: Regenerate.
21622 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
21623 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
21625 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
21627 * config/mn10300-eval.exp: New file to support MN10300 eval board.
21629 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
21631 * gdb.base/overlays (several files): Merge the two overlay
21632 managers into one. Change variables (foox, barx, bazx, grbxx)
21633 back into ints but force them to load in their proper sections.
21635 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
21637 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
21638 on-chip insn memory and IMAP1 to upper 128k.
21639 (D10VCopy): Handle memory regions crossing 16k boundaries.
21640 (D10VCopy): Transfer data in 32 bit chunks.
21642 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
21644 * gdb.base/overlays.c (main): Exit normally when result is
21647 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
21648 map. Include space for printf in .text segment.
21650 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
21651 updated d10v memory VMA/LMA map.
21652 (D10VCopy): Call D10VTranslate.
21654 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
21656 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
21658 * gdb.base/bar.c (barx, bar): Change variable to small array so
21659 that it won't be put into the .sdata - small data -
21660 section. Update reference.
21661 * gdb.base/baz.c (bazx, baz): Ditto.
21662 * gdb.base/foo.c (foox, foo): Ditto.
21663 * gdb.base/grbx.c (grbxx, grbx): Ditto.
21665 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
21668 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
21670 * gdb.base/overlays.exp: fix up and get working again.
21671 Add tests for backtraces from an overlay function.
21673 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
21675 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
21676 "calling function with watchpoint enabled".
21678 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
21680 * gdb.base/break.exp (test_next_with_recursion): Remove
21681 gdb_suppress_tests for d10v-*-*.
21682 * lib/gdb.exp (gdb_suppress_tests): Disable this function
21683 pending review of whether it is useful or not.
21685 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
21687 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
21689 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
21691 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
21692 * config/dve.exp: New file to support Densan boards.
21694 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
21696 * gdb.base/interrupt.exp: Document problem of simulators, signals,
21699 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
21701 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
21704 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
21706 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
21708 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
21711 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
21712 target_sizeof_long and target_bigendian_p.
21713 (structs_by_value, structs_by_reference): Check values according
21714 to targets word size and endianess.
21716 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
21718 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
21721 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
21723 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
21724 Update test of set args help to match source change.
21726 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
21728 * gdb.base/default.exp: Expect help system output to be in
21729 alphabetical order.
21730 * gdb.base/help.exp: Ditto.
21732 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
21734 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
21735 "i*86-pc-linux-gnu*".
21736 * gdb.base/interrupt.exp: Ditto.
21737 * gdb.base/corefile.exp: Ditto.
21739 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
21740 define vxworks when building the testcase.
21742 * gdb.base/ptype.exp: Fix testnames to be unique.
21743 * gdb.base/radix.exp: Ditto.
21744 * gdb.base/term.exp: Ditto.
21745 * gdb.base/whatis.exp: Ditto.
21746 * gdb.c++/classes.exp: Ditto.
21748 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
21750 * gdb.base/callfuncs.exp: Fix indentation.
21752 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
21753 suppress_flag has been set.
21754 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
21757 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
21759 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
21762 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
21763 set_debug_traps() and breakpoint().
21764 * gdb.c++/misc.cc (main): Ditto.
21765 * gdb.c++/templates.cc (main): Ditto.
21766 * gdb.c++/virtfunc.cc (main): Ditto.
21768 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
21770 * lib/gdb.exp(gdb_step_for_stub): New function.
21771 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
21772 exists, reload the executable and do a "continue" instead of
21774 (runto_main): Use gdb_step_for_stub.
21776 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
21777 tests to have unique names.
21778 * gdb.base/callfuncs.exp: Ditto.
21779 * gdb.base/commands.exp: Ditto.
21780 * gdb.base/default.exp: Ditto.
21781 * gdb.base/help.exp: Ditto.
21782 * gdb.base/list.exp: Ditto.
21783 * gdb.base/opaque.exp: Ditto.
21784 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
21787 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
21788 * gdb.c++/cplusfuncs.cc: Ditto.
21789 * gdb.c++/virtfunc.cc: Ditto.
21791 * config/monitor.exp: Keep track of the last file we saw, rather
21792 than trying to get the info from gdb.
21794 * gdb.fortran/types.exp: Move comment to previous line.
21796 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
21798 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
21801 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
21804 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
21805 string from GDB when it connects.
21807 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
21809 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
21811 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
21812 if we can't get a debug format from GDB (we may be testing an
21813 older GDB). Use a 10 second timeout when checking for the format.
21815 * gdb.stabs/weird.exp: Fix quoting.
21817 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
21819 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
21821 * config/arm-ice.exp: New file.
21823 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
21825 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
21826 until it has been modified to work with the new testsuite.
21828 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
21829 testcase won't compile, cause all of the testcases in the file to
21832 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
21833 (gdb_clear_suppressed): New procedure.
21834 (gdb_stop_suppressing_tests): Only clear suppress_flag if
21835 it contains a positive value.
21837 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
21839 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
21841 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
21843 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
21845 * lib/gdb.exp (setup_xfail_format): New function.
21846 (get_debug_format): New function to get debug format.
21847 (debug_format): New global variable to hold last value set
21848 by get_debug_format.
21849 * gdb.base/list.exp: Call get_debug_format and expect some
21850 tests to fail for DWARF 1 and COFF formats.
21851 * gdb.c++/ptype.exp: Ditto.
21852 * gdb.c++/classes.exp: Ditto.
21853 * gdb.c++/cplusfuncs.exp: Ditto.
21854 * gdb.c++/inherit.exp: Ditto.
21855 * gdb.c++/templates.exp: Ditto.
21856 * gdb.c++/virtfunc.exp: Ditto.
21858 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
21860 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
21861 host doesn't have a currently-open connection.
21863 * config/sparclet.exp: Cleanups and fixes to make it generic for
21864 any gdb stub target. Handle cases where gdb doesn't respond when
21865 interrupted in a sane fashion.
21867 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
21868 same thing in a totally different way.
21870 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
21872 (gdb_start): We set the global gdb_prompt variable in
21873 default_gdb_init now.
21875 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
21877 * gdb.base/printcmds.exp: Fix "check for floating addition"
21878 regexp to accept results within approx +/- .01 of exact value.
21879 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
21881 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
21883 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
21885 (gdb_expect): Add optional timeout parameter, and add timeout
21886 value to various calls.
21887 (gdb_suppress_tests): Only give one warning message per group.
21889 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
21891 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
21892 global variables. Handle getting a value for $timeout more
21895 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
21897 * lib/gdb.exp: Close connection to remote host if gdb doesn't
21899 (default_gdb_init): New procedure; allow gdb_init to be overridden
21900 by a target configuration file.
21901 (gdb_expect): Pass the timeout to remote_expect.
21903 * config/monitor.exp(gdb_load): Fix typo in regexp.
21905 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
21907 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
21909 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
21911 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
21912 here. Call gdb_target_exec before rebooting the target, to make
21913 sure the connection to the target is closed.
21914 (gdb_load): Pass the name of the executable to gdb_target_monitor.
21915 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
21916 Also detect "Timeout reading from remote" error.
21918 * config/gdbserver.exp: Pass the executable being loaded to
21919 gdb_target_monitor. Don't call gdb_file_cmd here; let
21920 gdb_target_monitor do it.
21922 * gdb.disasm/hppa.exp: Don't use exec_output.
21924 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
21926 * gdb.base/list.exp: If we're debugging a non-native target,
21927 try to set the pc register to point to the start of the
21928 program before doing the first list command.
21930 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
21931 test_calls after restarting.
21933 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
21936 * gdb.base/watchpoint.exp: Fix typo.
21938 * gdb.base/setshow.exp: Check for use_gdb_stub.
21940 * gdb.base/break.exp: Fix continue until exit test for the gdb
21942 * gdb.base/langs.exp: Ditto.
21944 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
21945 gdb_load_offset. If we weren't given a file to load, figure out
21946 what the current file is and use it.
21948 * config/i386-bozo.exp: New file.
21950 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
21952 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
21955 * config/proelf.exp: New entry.
21957 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
21959 * lib/gdb.exp: Remove spurious .* patterns at the beginning
21962 * gdb.base/watchpoint.exp: Don't run the test_stepping
21963 tests if gdb can't call functions on the target.
21965 * gdb.base/setshow.exp: Don't run the set prompt tests if
21966 the board has gdb_prompt set.
21968 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
21970 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
21971 * gdb.base/commands.exp: Likewise.
21972 * gdb.base/setshow.exp: Likewise.
21974 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
21976 * config/monitor.exp(gdb_start): Look for gdb_prompt target
21979 * config/i960.exp: New file.
21981 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
21983 * gdb.base/funcargs.exp: Check for gdb,short_int target
21984 feature instead of looking for explicit target triplets.
21986 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
21988 * gdb.base/printcmds.exp: add a couple more tests a la
21989 "p 123DEADBEEF", to check parse_number.
21990 * top.c: change "to enable to enable" to "to enable" in a couple
21993 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
21995 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
21998 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
22000 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
22001 where the test executable is run with explicit args.
22002 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
22004 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
22006 * gdb.base/run.c: Use FAKEARGV to build test executable that
22007 does not require a command line arg, since most simulators
22008 don't currently support passing such an arg into the simulated
22010 * gdb.base/commands.exp: Change tests to insert the proper
22011 value as the arg to the first recursive factorial call. Change
22012 compilation line to define FAKEARGV at compile time.
22014 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
22016 * gdb.base/recurse.exp: Enable these tests for the mn10300.
22017 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
22018 function with watchpoint enabled" test.
22020 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
22022 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
22023 Don't call gdb_test when the command doesn't return to a gdb prompt.
22025 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
22026 "Tests restarted" messages.
22028 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
22030 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
22032 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
22034 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
22035 for INFO SYMBOL; add help tests for OVERLAY commands.
22036 * gdb.base/default.exp: add tests for INFO SYMBOL command;
22037 add tests for OVERLAY commands
22038 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
22039 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
22040 * gdb.base/sigall.c: add usestubs code frag
22041 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
22043 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
22045 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
22047 (gdb_stop_suppressing_tests): Note that tests have restarted.
22049 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
22051 * config/h8300.exp: New file.
22053 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
22055 * gdb.base/setshow.exp: Check for the existence of a
22056 feature, not its value.
22058 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
22060 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
22062 * gdb.base/scope.exp: It's now init0(), not init().
22064 * gdb.base/scope0.c: For now, change init() to be init0().
22066 * config/monitor.exp: Use gdb_serial in preference to serial
22069 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
22070 and it's not already set.
22072 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
22074 * gdb.base/setshow.exp: Only test the run command if the target
22075 isn't using a stub and if it supports argument passing.
22077 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
22079 * config/udi.exp(gdb_start): Make sure UDICONF is set
22080 properly before starting gdb.
22082 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
22084 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
22085 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
22086 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
22088 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
22090 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
22091 specialized code to reboot the board, use remote_reboot instead.
22093 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
22095 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
22097 * config/monitor.exp: Make sure we disconnect from the target.
22098 Also, try a reboot/reload cycle instead of failing if the
22101 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
22103 * gdb.base/default.exp: Don't set match_max.
22104 * gdb.base/help.exp: Ditto.
22105 * gdb.base/list.exp: Ditto.
22106 * gdb.base/signals.exp: Ditto.
22108 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
22109 set, use remote_ld to download the testcase instead of
22112 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
22114 * config/vr5000.exp: New file.
22116 * config/monitor.exp(gdb_target_monitor): Add pattern for
22117 "Ending remote" to detect errors in connecting.
22119 * gdb.base/setshow.exp: Add .* within auto language test.
22121 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
22124 * config/monitor.exp(gdb_load): Check for a failure when loading,
22125 and reboot the board if necessary.
22127 * gdb.base/setvar.exp(test_set): Handle multiple prints within
22128 a set of tests. Remove print.* from the patterns being checked.
22130 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
22132 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
22133 refer to gdb_spawn_id.
22135 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
22137 * config/sparclet.exp: Ditto.
22138 * config/sparclet-old.exp: Ditto.
22139 * config/slite.exp: Ditto.
22140 * config/sim.exp: Ditto.
22141 * gdb.base/funcargs.exp: Ditto.
22143 * lib/gdb.exp:Remove references to gdb_spawn_id.
22144 (gdb_expect): Move to remote.exp.
22146 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
22148 * config/monitor.exp: Detect the "Couldn't establish connection"
22151 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
22153 * gdb.base/bitfields.exp: Use runto instead of explicit
22154 gdb_run_cmd/gdb_expect sequences.
22156 * gdb.base/break.exp(text_next_with_recursion): Add match for
22159 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
22160 We also need to handle the "A program is being debugged already"
22161 prompt from gdb. Use gdb_test to set the baud rate.
22163 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
22164 to 20000. Really. I mean it.
22166 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
22168 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
22169 fails. If suppress_flag is set, skip perror message about not
22170 being able to send to GDB.
22171 (send_gdb): If suppress_flag is set, don't try to send commands to
22173 (gdb_expect): If suppress_flag is set, always fail immediately.
22174 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
22175 (gdb_init): Call gdb_stop_suppressing_tests.
22176 (default_gdb_exit): Ditto.
22177 (default_gdb_start): Ditto.
22179 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
22180 gdb_stop_suppressing_tests as appropriate.
22181 * gdb.base/break.exp: Ditto.
22182 * gdb.base/callfuncs.exp: Ditto.
22183 * gdb.base/commands.exp: Ditto.
22184 * gdb.base/exprs.exp: Ditto.
22185 * gdb.base/funcargs.exp: Ditto.
22186 * gdb.base/list.exp: Ditto.
22187 * gdb.base/recurse.exp: Ditto.
22188 * gdb.base/scope.exp: Ditto.
22189 * gdb.base/structs.exp: Ditto.
22190 * gdb.c++/inherit.exp: Ditto.
22192 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
22194 * config/vr4300.exp: New file.
22196 * gdb.*/*.exp: Call gdb_expect instead of expect.
22198 * lib/gdb.exp(gdb_expect): New function.
22200 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
22202 * lib/gdb.exp(gdb_init): New function.
22204 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
22205 for each individual variable set.
22207 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22210 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
22212 * gdb.base/scope.exp: Use gdb_test.
22214 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
22215 aborting; the testsuite driver will do that for us (see
22216 gdb_finish). Also, use gdb_test in a few more places.
22218 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
22220 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
22222 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22224 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
22225 and "add_tests" are not at the same address.
22227 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
22229 * gdb.base/ptype.exp: Use gdb_test.
22231 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
22233 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
22234 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
22235 left in. No longer expect them to fail.
22237 * gdb.stabs/*.mt; Deleted, no longer used.
22238 * gdb.stabs/configure.in: Remove references to target makefile
22240 * gdb.stabs/configure: Rebuilt.
22242 * gdb.disasm/*.mt: Deleted, no longer used.
22243 * gdb.disasm/configure.in: Remove references to target makefile
22244 frags. Use "sh3.s" as the unique filename for this directory.
22245 * gdb.disasm/configure: Rebuilt.
22247 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
22248 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
22249 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
22251 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
22253 * config/udi.exp: Use mondfe,name instead of remote_host.
22255 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
22257 * gdb.base/watchpoint.exp: Don't expect a failure when calling
22258 a function with a watchpoint enabled on the mn10200.
22260 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
22261 before trying to create it!
22263 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
22265 * config/vx.exp: Use hostname instead of netport.
22267 * config/vxworks.exp: New file.
22269 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
22271 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
22272 gdb before assuming everything worked. Send a ^C if a timeout
22275 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
22276 $gdb_spawn_id directly.
22277 (gdb_run_cmd): Try _start as well as start. Use the target feature
22278 gdb,start_symbol as the symbol to start from when jumping.
22280 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
22282 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
22285 * gdb.base/recurse.exp: Relax final value test for 'b' so that
22286 it doesn't lose for 16bit integer systems.
22288 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
22290 * gdb.fortran/types.exp: If the target doesn't support "double"
22291 data types, then expect "real" types to only be 4 bytes.
22293 * gdb.c++/virtfunc.exp: Expect failure for virtual function
22294 call tests if the target doesn't support inferior function calls.
22296 * gdb.base/printcmds.exp: Allow minor deviation in FP values
22299 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
22301 * gdb.base/help.exp: Disable "help set", "help show", and
22302 "help support". Simplify regexp for "help stack".
22304 * gdb.base/default.exp: Set match_max to 5000 and the timeout
22305 to 60 seconds. Temporarily set match_max to 15000 around the
22306 "info copying" test.
22308 * gdb.base/nodebug.exp: Don't try to do an inferior function
22309 call if the target doesn't support them.
22310 * gdb.base/printcmds.exp: Likewise.
22311 * gdb.base/setvar.exp: Likewise.
22312 * gdb.base/structs.exp: Likewise.
22313 * gdb.c++/templates.exp: Likewise.
22314 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
22316 * gdb.base/recurse.exp: Enable for the mn10200.
22318 * configure.in: Do configure gdb.stabs directory for *-*-elf
22320 * configure: Rebuilt.
22322 * gdb.base/break.exp: Check for gdb,noresults before testing
22323 exit status and/or results from the target.
22324 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
22325 * lib/gdb.exp: Remove old (now bogus) initialization of
22326 noinferior, noargs, noresults and nosignals.
22328 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
22330 * config/sh.exp: New file.
22332 * config/slite.exp: Try to connect multiple times to the board
22333 before rebooting. Only send a "monitor run" if need_monitor_run
22336 * gdb.base/break.exp: Don't do the "stub continue" test if
22337 the target has gdb_stub set.
22339 * gdb.base/callfuncs.exp: Increase the timeout.
22341 * gdb.base/interrupt.exp: Don't even try to compile the testcase
22342 if the target has gdb,noinferiorio set.
22344 * gdb.base/list.exp: Increase match_max to 10000 characters.
22346 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
22348 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
22351 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
22353 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
22355 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
22356 trying to delete the copy of gdb. Catch the file delete so we
22357 don't die if the delete fails; also, the file should be copied to
22358 the host, not to the build.
22360 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
22362 * lib/gdb.exp(gdb_test): Surround the result pattern with
22363 parenthesis in case it contains multiple regexps separated
22366 * gdb.base/watchpoint.exp: Use gdb_test.
22367 * gdb.base/default.exp: Ditto.
22369 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
22371 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
22373 * gdb.base/scope.exp: Use gdb_test.
22374 * gdb.c++/classes.exp: Ditto.
22375 * gdb.c++/inherit.exp: Ditto.
22377 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
22379 * gdb.base/crossload.exp: Don't use execute_anywhere, use
22380 remote_exec instead.
22381 * gdb.base/corefile.exp: Don't be ridiculous.
22382 * gdb.base/*.c: Add missing stub invocations.
22384 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
22386 * config/slite.exp: Miscellaneous fixes.
22388 * lib/gdb.exp: Fix runto.
22390 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
22393 * gdb.base/watchpoint.exp: Fix regexp.
22395 * lib/gdb.exp(default_gdb_exit): Add a catch to the
22396 close and wait commands, as the descriptor may now be
22397 invalid. Always call "remote_close host".
22399 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
22401 Major rewrite for testsuite revision.
22403 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
22404 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
22405 instead of relying on spawn_id to always contain a valid
22407 (get_compiler_info): New procedure to build the ${binfile}.ci
22408 file, instead of replicating this in N different places.
22409 (gdb_compile): New procedure.
22411 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
22412 appropriate arguments) instead of compile. Use gdb_test in a lot
22413 more places. Use send_gdb instead of send. Always run gdb_start
22414 at the start of a testcase, as this is no longer done magically.
22416 config/*-gdb.exp: Rename without the -gdb suffix.
22418 config/mips.exp: Use remote_close instead of exit_remote_shell.
22419 config/monitor.exp: Use target_info instead of looking at
22420 baud, timeout, etc.
22421 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
22423 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22425 * gdb.c++/templates.exp (test_ptype_of_templates),
22426 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
22427 Update expect patterns for destructors and assignment operators
22428 to match corresponding c-typeprint.c changes.
22429 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
22430 to destructor breakpoint test, GDB should be able to set the
22431 destructor breakpoint without specifying arguments.
22433 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
22435 * gdb.threads/pthreads.exp: Change result for failure to compile due
22436 to lack of pthreads runtime support from an error to simply an
22437 unsupported test, per dejagnu standards.
22439 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22441 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
22442 where GDB exits to reduce pattern match time.
22443 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
22445 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
22447 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
22449 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
22450 * gdb.base/default.exp: ditto.
22451 * gdb.base/nodebug.exp: ditto.
22452 * gdb.base/printcmds.exp: ditto.
22453 * gdb.base/ptype.exp: ditto.
22454 * gdb.base/setvar.exp: ditto.
22455 * gdb.base/structs.exp: ditto.
22456 * gdb.base/setshow.c: Guard against uninitialized values of argc.
22458 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
22460 * configure, */configure: Rebuild with autoconf 2.12.
22462 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
22464 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
22465 use new i*86-pc-linux*-gnu quads.
22466 * gdb.base/corefile.exp: Ditto.
22467 * gdb.base/signals.exp: Ditto.
22468 * gdb.base/sigall.exp: Ditto.
22469 * gdb.base/interrupt.exp: Ditto.
22471 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
22472 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
22475 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
22476 linux. This allows the test case to at least compile on latest
22477 linux, but still not run due to missing the threads runtime library.
22479 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22481 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
22482 directory to search gdb directory. Accept and step over conditional
22483 stack alignment code. Consume $prompt in failure cases.
22484 Reset timeout to $oldtimeout instead of some arbitrary value.
22485 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
22486 timeout problems with infinite stack backtraces.
22487 * gdb.base/ptype.exp (ptype struct link, union tu_link):
22488 Accept function parameters for linkfunc member.
22490 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
22492 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
22493 (CXXFLAGS): Remove, unreferenced.
22494 (B_OPTIONS): Add for -B options and add code to initialize with
22495 previous -B options and also add -B option to pick up cross compiled
22497 (TARGET_INCLUDES): Add for -I options and add code to initialize when
22498 doing cross compiles.
22499 (target_alias): Declare global.
22500 (xgcc): Set variable to full path of gcc in build tree. Use findfile
22501 to verify that gcc exists in build tree, and if so set CC to that
22502 gcc and to use B_OPTIONS and TARGET_INCLUDES.
22504 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
22506 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
22507 ptype test for anonymous union. Fixup testcase to match
22508 current gcc debug output.
22510 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
22512 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
22513 force argument to an unsigned long type.
22515 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
22517 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
22518 tests and anonymous union print/ptype tests.
22519 * gdb.base/list.exp (test_forward-search): Increase timeout by
22520 5 minutes for the "search extremely long line" case.
22521 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
22522 completely optional and that the pass/fail messages use the command as
22523 the message if that third arg is a null string.
22524 (gdb_test_exact): Arrange that a null string pattern means match a
22525 null string output rather than any output, which might include random
22527 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
22529 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
22530 always failing and failure is now exposed by gdb.exp changes.
22532 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
22534 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
22535 weren't being noted.
22537 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22539 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
22540 * gdb.stabs/weird.exp: Remove v_comb xfails.
22542 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
22544 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
22545 list.exp scope.exp watchpoint.exp]
22546 Make all timeout error msgs explicitly say "(timeout)".
22548 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
22550 * config/monitor.exp: Increase download timeout to 1000 seconds.
22552 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
22554 * config/m32r.exp: Increase timeout to 120 seconds.
22556 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
22558 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
22559 and accept older ordering as obsolescent gcc or gdb.
22560 * gdb.c++/templates.exp: Ditto.
22561 * gdb.c++/virtfunc.exp: Ditto.
22563 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
22565 * gdb.base/coremaker.c: Add code to mmap some data so we
22566 can check that it ends up in the core file.
22567 * gdb.base/corefile.exp: Add test to read mmapped data
22570 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
22572 * config/m32r.exp: New file.
22574 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
22576 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
22577 that cflags can contains -gstabs, and work correctly for other tests.
22579 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
22581 * gdb.base/setshow.exp: New file, tests show and set.
22582 * gdb.base/setshow.c: New file, tests show and set.
22583 * gdb.base/help.exp: Add test for help set|show annotate.
22584 * gdb.base/default.exp: Add test for set|show annotate.
22586 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
22588 * testsuite/gdb.base/break.exp: Make backtrace from factorial
22590 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
22593 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
22595 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
22596 and width commands. This is done elsewhere.
22597 * (gdb_start): Don't call gdb_start_sim here. That's already
22598 done in gdb_load. This fixes lots of failures in default.exp.
22600 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
22602 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
22603 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
22604 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
22605 in the same we we treat other failures (since it may be an expected
22606 condition), rather than as an error.
22607 * gdb.base/signals.exp (test_handle_all_print): Revert back to
22610 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
22612 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
22613 (distclean maintainer-clean realclean): No need to remove files
22614 twice. Nuke the duplicates.
22615 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
22616 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
22617 Remove config.h along with other config files.
22619 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
22621 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
22622 "p func1 ()" and note that rests of tests are skipped.
22623 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
22624 setup_xfails for "print func2::coremaker_local".
22625 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
22626 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
22627 affected by the previous run test.
22628 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
22629 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
22630 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
22631 "pass int powerset tuple" and "pass modeless int powerset tuple".
22632 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
22633 "real write 4" and "real write 8".
22634 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
22635 setup_xfails for "print vs1 after tuple assign 2",
22636 "print \$i after tuple assign 2", and
22637 "print vs2 after tuple assign 2".
22638 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
22639 meaningful error message and return -1 so the caller can
22640 suppress further tests and avoid a cascade of errors.
22642 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
22644 * gdb.base/a1-selftest.exp: Tweak tests to account for new
22645 format for printing version.
22646 * gdb.base/default.exp: Ditto.
22647 * gdb.base/interrupt.exp: Fix problem with cascade of
22648 errors if child process dies while calling a function.
22650 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
22652 * Makefile.in (VPATH): Add
22653 * Makefile.in (Makefile, config.status): Fix rules so things get
22654 remade when necessary.
22656 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
22658 * Makefile.in (just-check): Add path to sibling expect dir
22659 to environment variable specified by RPATH_ENVVAR.
22661 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
22663 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
22664 (just-check): Add shared library paths for libstdc++, tk,
22665 tcl, bfd, and opcodes to the environment variable specified
22667 * configure.in: Add support to recognize --enable-shared flag
22668 and generate correct value for RPATH_ENVVAR.
22669 * configure: Regenerated with autoconf.
22671 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
22673 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
22674 include all osf versions.
22675 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
22676 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
22677 when target is linux. When failing to build pthreads test
22678 executable, give more meaningful message.
22679 * gdb.threads/pthreads.c: Hpux also uses old definition of second
22680 arg for pthread_create.
22682 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
22684 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
22685 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
22686 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
22687 and -lpthreads (everybody else).
22688 (test_startup): Fail gracefully if threads are not supported.
22689 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
22690 "p/c array_index("abcdef",2)" when not gcc compiled.
22691 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
22692 "print func2::coremaker_local" when not gcc compiled.
22693 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
22694 "ptype on opaque struct tagname (statically)",
22695 "ptype on opaque struct tagname (dynamically) 1", and
22696 "ptype on opaque struct tagname (dynamically) 2"
22697 for not compiled with gcc.
22698 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
22699 backtrace when compiled with gcc.
22700 * lib/gdb.exp (runto_main): Return result of "runto main" rather
22701 than always return success.
22703 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
22705 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
22707 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
22709 * gdb.base/structs.exp: Undo last change.
22711 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
22713 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
22714 encapsulate all the steps/nexts done during self test, starting
22715 at main, and makes them less sensitive to optimization issues.
22716 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
22717 signal handler" test.
22718 * gdb.threads/pthreads.exp: Only run this for native configs.
22719 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
22720 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
22722 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
22723 for "runto test_calls(void)" test.
22725 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
22727 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
22728 and don't expect address info in breakpoint confirmations.
22730 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
22732 * gdb.base/list.exp (test_forward_search): Increase timeout
22733 temporarily by 60 seconds for searching extremely long line,
22734 and then reset to old value when done. Increase expect input
22737 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
22739 * gdb.base/list.exp (test_forward_search): Fix to handle very
22740 long source line without overflowing expect's input buffer.
22742 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
22744 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
22747 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
22750 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
22753 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
22756 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
22758 * configure.in (configdirs): Add gdb.threads.
22759 * configure: Regenerated with autoconf.
22760 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
22761 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
22762 * gdb.threads/configure: New, generated with autoconf.
22764 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
22766 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
22768 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
22770 * gdb.base/signals.exp (test_handle_all_print): Test separately for
22771 each signal's status in the output of "handle all print".
22772 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
22773 the \r\n sequence that immediately precedes the gdb prompt.
22774 * gdb.base/a1-selftest.exp: Save original timeout and restore
22777 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
22779 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
22782 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
22784 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
22786 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
22788 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
22789 timeout by 60 seconds.
22791 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
22793 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
22794 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
22797 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
22799 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
22800 gdb initialization, also report how long dejagnu waited. Restore
22801 old timeout before doing error return. Temporarily increase timeout
22802 by 3 minutes to allow for slow startups over heavy NFS use.
22804 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
22806 * lib/gdb.exp: Report timeout value for verbosity level 2.
22807 * config/gdbserver.exp: Ditto.
22808 * config/hppro.exp: Ditto.
22809 * config/mips-gdb.exp: Ditto.
22810 * config/monitor.exp: Ditto.
22811 * config/netware.exp: Ditto.
22812 * config/sim-gdb.exp: Ditto.
22813 * config/slite-gdb.exp: Ditto.
22814 * config/udi-gdb.exp: Ditto.
22815 * config/unix-gdb.exp: Ditto.
22816 * config/vx-gdb.exp: Ditto.
22817 * gdb.base/a1-selftest.exp: Ditto.
22818 * gdb.base/a2-run.exp: Ditto.
22819 * gdb.base/break.exp: Ditto.
22820 * gdb.base/corefile.exp: Ditto.
22821 * gdb.base/list.exp: Ditto.
22822 * gdb.base/recurse.exp: Ditto.
22823 * gdb.base/scope.exp: Ditto.
22824 * gdb.base/signals.exp: Ditto.
22826 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22828 * gdb.threads/Makefile.in (docdir): Removed.
22830 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
22832 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
22833 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
22835 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
22836 autoconf 2.5 or higher.
22837 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
22839 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
22841 * configure: Regenerated.
22842 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
22843 avoid name clashes with SunOS headers.
22845 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
22847 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
22849 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
22851 * gdb.base/callfuncs.exp: Finish last change -- make sure the
22852 prototype information ends up in the compiler info file.
22854 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
22856 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
22857 attempting to regenerate it. Eliminate use of a temporary file
22858 and just generate the info file directly. Source it immediately,
22859 for consistency of use.
22860 * gdb.base/corefile.exp: Ditto
22861 * gdb.base/exprs.exp: Ditto.
22862 * gdb.base/funcargs.exp: Ditto.
22863 * gdb.base/langs.exp: Ditto.
22864 * gdb.base/list.exp: Ditto.
22865 * gdb.base/mips_pro.exp: Ditto.
22866 * gdb.base/nodebug.exp: Ditto.
22867 * gdb.base/opaque.exp: Ditto.
22868 * gdb.base/ptype.exp: Ditto.
22869 * gdb.base/scope.exp: Ditto.
22870 * gdb.base/setvar.exp: Ditto.
22871 * gdb.base/signals.exp: Ditto.
22872 * gdb.base/whatis.exp: Ditto.
22873 * gdb.c++/templates.exp: Ditto.
22874 * gdb.c++/virtfunc.exp: Ditto.
22875 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
22876 whether or not to add -lstdc++ to the compile command line args.
22878 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22880 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
22881 it got fixed by the recent lookup_minimal_symbol_by_pc change.
22882 Increase timeout, a lot of single stepping might be needed if the
22883 target has no hardware watchpoints.
22885 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
22887 * gdb.base/break.exp: Ignore compiler warnings when compiling
22889 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
22890 * gdb.base/default.exp: Add h8300 xfails. Handle messages
22892 * gdb.base/exprs.exp: Add h8300 xfails.
22893 * gdb.base/funcargs.exp: Likewise.
22894 * gdb.base/nodebug.exp: Likewise.
22895 * gdb.base/printcmds.exp: Likewise.
22896 * gdb.base/ptype.exp: Likewise.
22897 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
22899 * gdb.base/return.exp: Handle float/double precision problems
22901 * gdb.base/funcargs.c: Explicitly make last constant argument to
22902 call_after_alloca_subr an unsigned long type.
22903 * gdb.base/return.c: Include stdio.h.
22905 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
22907 * config/abug.exp: New file for the older Motorola Bug monitor
22908 that runs on the mvme13x series VME boards.
22909 * config/monitor.exp: Use the new config array for target settings
22912 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
22914 * sim-gdb.exp: Make the SH simulator allocate less space when
22917 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
22919 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
22922 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
22924 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
22925 "rs6000-*-*" for "list function in include file" when gcc compiled.
22926 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
22927 for "p ctable1[120]".
22928 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
22929 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
22930 Remove setup_xfail for "rs6000-*-*" for
22931 "print 'scope0.c'::filelocal before run".
22932 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
22933 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
22934 since some compilers don't allow both options to be given
22935 on the same command line. Create object file and move it.
22937 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
22939 * gdb.base/corefile.exp: Always regenerate the core file, since
22940 we always regenerate the coremaker program. Detect special case
22941 where registers cannot be read from core file.
22943 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
22945 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
22946 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
22947 * gdb.c++/templates.exp: Only match on basename of file since
22948 some formats like xcoff don't encode directory information.
22949 * gdb.stabs/weird.exp: Use the right sed script for powerpc
22950 and rs6000 AIX xcoff targets.
22951 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
22952 * configure: Regenerate.
22953 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
22954 here, rather than in distclean.
22956 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
22958 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
22959 defined, and use it to compile the test case with -O2. The
22960 native compilation still uses no optimization.
22961 * gdb.base/mips_pro.c: Remove inline assembly code since
22962 it is compiled PIC by default, which results in assembler
22963 warnings that make the testsuite think the compilation
22966 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
22968 * gdb.c++/misc.exp: Add note to message for
22969 "print s.a for foo struct" that this is a known gcc 2.7.2
22972 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
22974 * gdb.base/break.exp: Fix pattern for matching "Delete all
22975 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
22976 setup_xfail for deleting all breakpoints test. Fix various
22977 timeout messages to include "(timeout)".
22978 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
22979 for "p t_float_values2(3.14159,float_val2)".
22980 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
22981 for "continue to call2g" when gcc compiled.
22982 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
22983 "up to foo in langs.exp", "show language at foo in langs.exp",
22984 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
22985 and "show language at fsub in langs.exp".
22986 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
22987 "list line 1 in include file", "list message for lines past EOF",
22988 "list function in include file", "list list0.h:foo", and
22989 "list filename:function; nonexistant function".
22990 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
22991 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
22992 and "ptype t_char_array" to be for native cc only.
22994 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
22996 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
22997 setup_xfail for "print coremaker_bss", "print coremaker_ro",
22998 "print func2::coremaker_local", and "backtrace in corefile.exp".
23000 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
23002 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
23003 "bt in signals.exp". This problem only appears when running
23004 the testsuite, and then only intermittently.
23006 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
23008 * gdb.base/return.exp (return_tests): Differentiate between
23009 two tests of continuing.
23011 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
23013 * */Makefile.in (maintainer-clean): Remove config.log.
23014 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
23015 * gdb.c++/Makefile.in (PROGS): Add inherit.
23016 (clean): Remove *.ci.
23018 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
23020 * gdb.c++/misc.cc: Add test code from Mike Stump.
23021 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
23023 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
23025 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
23026 to "alpha-*-osf2*" and add comment.
23027 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
23028 setup_xfail for "step over execarg initialization" and
23029 "step over corearg initialization".
23030 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
23031 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
23032 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
23033 gcc compiled for "print coremaker_bss", "print coremaker_ro",
23034 "print func2::coremaker_local", and "backtrace in corefile.exp".
23035 * gdb.base/signals.exp: Build and source signals.ci.
23036 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
23037 to be for gcc only.
23038 * lib/gdb.exp: Move verbose statements outside conditionals.
23040 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23042 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
23043 Feb 3 procfs.c change.
23045 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
23047 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
23049 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
23051 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
23052 from dejagnu's apparent default of 10 seconds, which gives random
23053 results when running the tests over NFS on moderately loaded systems.
23054 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
23056 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
23058 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
23059 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
23062 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
23064 * configure.in (CY_AC_PATH_TCLH): Remove.
23065 * configure: Regenerate.
23067 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
23069 * gdb.c++/Makefile.in (clean): Add missing '{'.
23071 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
23073 * lib/gdb.exp: Provide a default value for noinferior.
23075 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
23078 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
23080 * gdb.disasm/hppa.exp: Compile directly into an executable, use
23081 the executable, not the .o to run the tests from.
23083 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
23085 * gdb.base/break.exp: Don't test for program exit or exit status
23086 if $noresults if nonzero.
23087 * gdb.base/langs.exp: Likewise.
23088 * gdb.base/watchpoint.exp: Likewise.
23090 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
23091 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
23092 trying to compile the testcase.
23094 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
23096 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
23097 * gdb.base/signals.exp (continue to handler): Likewise.
23099 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
23101 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
23103 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
23105 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
23107 * gdb.base/corefile.exp: Recognize "not found" as failure
23108 when trying to determine if a core file was generated.
23109 If no core file was generate the first time, try again without
23110 the ulimit -c to work around braindamaged shells.
23112 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
23114 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
23115 [] tests with "test" and enclose string in quotes.
23116 * gdb.stabs/configure: Rebuild
23118 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
23120 Changes in sync with expect:
23121 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
23122 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23123 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
23124 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
23125 argument to AC_REQUIRE.
23126 * configure: Regenerated.
23128 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
23130 * gdb.base/corefile.exp: When generating a core, discard any
23131 error messages about ulimit not found and the "core dumped"
23132 message from the shell that runs the coredumper.
23134 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
23136 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
23138 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
23139 which sed script to run. Expect failure for v_comb test
23142 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
23144 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
23145 "print func2::coremaker_local" and for "backtrace in corefile.exp"
23147 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
23149 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
23150 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
23151 "sparc-sun-solaris*" xfails for "p v_comb".
23152 * lib/gdb.exp (default_gdb_start): Fix typo.
23153 * gdb.base/corefile.exp: Allow "Core was generated by ..."
23154 messages to not include the full program name that caused
23155 the core dump since some systems (such as solaris) apparently
23156 truncate this path to about 80 characters.
23157 When generating a core file first try increasing the core file
23158 size limit to unlimited since some systems may default it to
23159 zero, and it is harmless to try it. Move the test for failing
23160 to generate a core file to where it will actually get executed.
23161 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
23162 new gdb result from g++ debug info improvements and make old
23163 pattern obsolescent. Also account for size_t differences
23164 (may be int or long).
23165 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
23166 initialization before function call is placed in the delay slot
23167 and thus appears to be skipped over by commands such as "next".
23169 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
23171 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23173 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
23175 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
23176 input source file; fix code to compile test to deal with this
23178 * gdb.c++/*.exp: Likewise.
23180 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
23182 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
23183 "bt in signals.exp".
23185 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
23187 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
23188 "step over execarg initialization" and
23189 "step over corearg initialization".
23191 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
23193 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
23194 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
23196 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
23198 From Rob Savoye (rob@poseidon.cygnus.com)
23199 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
23200 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
23201 configure.in}, gdb.disasm/{Makefile.in, configure.in},
23202 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
23203 configure.in}: Major reworking for autoconfig.
23204 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
23205 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
23207 * config/unix-gdb.exp: Make GDB global.
23208 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
23209 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
23210 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
23211 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
23212 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
23213 term.exp, twice.exp, watchpoint.exp, whatis.exp},
23214 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
23215 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
23216 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
23217 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
23218 pr-8136.exp, result.exp, string.exp, tuples.exp},
23219 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
23220 to returns as necessary, arrange for test to compile own testcase
23222 * lib/gdb.exp: Changes for testsuite to compile own test cases.
23224 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
23226 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
23227 clear_xfail at end of test which might not call either pass or fail.
23228 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
23229 "backtrace through signal handler".
23231 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23233 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
23234 continuing from a job control stop signal.
23235 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
23237 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
23239 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
23240 * gdb.base/corefile.exp: Likewise.
23241 * gdb.base/funcargs.exp: Likewise.
23243 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
23245 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
23246 * config/monitor.exp: Add support for setting baud rate.
23248 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
23250 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
23251 i*86-*-linux* xfails for "backtrace through signal handler".
23252 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
23253 "print func2::coremaker_local".
23254 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
23255 alpha-dec-osf2* xfail for
23256 "delete all breakpoints when none".
23258 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
23260 * gdb.base/break.exp: Change test that deletes all breakpoints
23261 when no user breakpoints are installed. A post 4.15 change
23262 causes gdb to no longer prompt in this case.
23264 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
23266 * gdb.base/return.exp (return_tests): Change xfail for test
23267 "correct value returned double test" to stop xfailing at
23268 Solaris 2.5. Apparently the bug has been fixed.
23270 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
23272 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
23273 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
23275 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
23277 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
23278 * gdb.disasm/hppa.s: Corresponding changes.
23280 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
23282 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
23284 * config/mt-hpux: Deleted.
23286 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
23288 * Many files: When warning about suppressed tests due to a
23289 nonexistant test binary, avoid incrementing the warning count.
23291 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
23293 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
23295 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23297 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
23298 "sparc-*-solaris2*".
23300 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23302 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
23303 Add global and local variables and initialize them.
23304 * gdb.base/corefile.exp: Test correct mapping of corefile sections
23305 by printing variables. Remove rs6000 and powerpc xfails, BFD now
23306 extracts the file name and terminating signal from the core file.
23307 * TODO: Remove note about tests for correct mapping of corefile.
23308 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
23309 from optimizing it away.
23310 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
23311 handles common blocks.
23313 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
23315 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
23316 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
23318 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
23320 * Makefile.in (maintainer-clean): New target, synonym for
23322 * gdb.base/Makefile.in (maintainer-clean): Likewise.
23323 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
23324 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
23325 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
23326 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
23327 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
23329 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
23331 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
23332 xfails when not gcc compiled for "print foo::funclocal".
23333 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
23334 "print foo::funclocal at foo",
23335 "print 'scope1.c'::foo::funclocal at foo",
23336 "print foo::funclocal_bss at foo",
23337 "print 'scope1.c'::foo::funclocal_bss at foo",
23338 "print foo::funclocal_ro at foo",
23339 "print 'scope1.c'::foo::funclocal_ro at foo",
23340 "print bar::funclocal at foo" and
23341 "print 'scope1.c'::bar::funclocal at foo".
23342 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
23343 gcc compiled for "print foo::funclocal at bar".
23344 Expand all messages to ensure that they identify that
23345 the test is at bar().
23346 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
23348 "ptype on opaque struct pointer (statically)",
23349 "ptype on opaque struct tagname (statically)",
23350 "ptype on opaque struct pointer (dynamically) 1",
23351 "ptype on opaque struct tagname (dynamically) 1",
23352 "ptype on opaque struct pointer (dynamically) 2" and
23353 "ptype on opaque struct tagname (dynamically) 2
23354 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
23357 "whatis datalocal",
23360 "whatis bsslocal", and
23362 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
23363 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
23364 when not gcc compiled.
23365 * gdb.base/funcargs.exp (float_and_integral_args): Add
23366 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
23368 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
23369 "backtrace from call6a" when not gcc compiled.
23370 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
23371 "backtrace from call7a" when not gcc compiled.
23372 * gdb.base/callfuncs.exp (do_function_calls):
23373 Add "hppa*-*-hpux*" xfail when not gcc compiled for
23374 "p t_char_array_values(char_array_val2,char_array_val1)",
23375 "p t_char_array_values(char_array_val1,char_array_val2)",
23376 "p t_char_array_values("carray 1","carray 2")",
23377 "p t_char_array_values("carray 1",char_array_val2)",
23378 "p t_char_array_values(char_array_val1,"carray 2")",
23379 "p sum_args(1,{2})",
23380 "p sum_args(2,{2,3})",
23381 "p sum_args(3,{2,3,4})",
23382 "p sum_args(4,{2,3,4,5})"
23383 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
23384 "backtrace in corefile.exp" when not gcc compiled.
23386 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23388 * gdb.base/signals.exp: Rewrite `handle all print' test as
23389 a procedure. Accept blanks or TABs as whitespace, increase
23390 timeout and expect input buffer size for the large output
23391 from the command. Remove "i*86-*-bsdi2.0" xfail.
23393 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23395 * gdb.base/setvar.exp: Add new testcases for truncation when
23396 assigning invalid values to bitfields.
23398 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
23400 * gdb.base/callfuncs.exp (do_function_calls): Remove
23401 mips-sgi-irix* xfail for
23402 "call inferior func with struct - returns char *"
23403 and fix test so that an optional (unsigned char *) cast is
23404 accepted in the result.
23406 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
23408 * gdb.base/funcargs.exp (float_and_integral_args): Remove
23409 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23410 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
23411 * gdb.base/signals.exp: Remove duplicate "handle all print" test
23412 that accidentally got checked in.
23414 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
23416 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
23417 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
23419 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
23420 Add mips-sgi-irix5* xfail for not gcc compiled.
23421 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
23422 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
23423 "p top", "whatis top", "p middle", and "whatis middle".
23424 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
23425 "whatis signed char" for not gcc compiled.
23426 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
23427 "set variable signed char=-1 (-1)" and
23428 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
23429 * gdb.base/funcargs.exp (float_and_integral_args):
23430 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
23431 Add mips-sgi-irix* xfail when not gcc compiled for
23432 "continue to call2b".
23433 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
23434 "continue to call2g".
23435 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
23436 "backtrace from call6a"
23437 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
23438 "backtrace from call7k".
23439 Add mips-sgi-irix5* xfail when not gcc compiled for
23440 "backtrace from call7a".
23441 (localvars_after_alloca): Fix gdb_test cmds for
23442 "print * after runto ...".
23443 Remove rs6000-*-* xfails for
23444 "print i after runto localvars_after_alloca" and
23445 "print l after runto localvars_after_alloca"
23447 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
23448 when not compiled with gcc, for:
23449 "print signed char == (minus)",
23450 "print signed char != (minus)",
23451 "print signed char < (minus)",
23452 "print signed char > (minus)".
23453 * gdb.base/callfuncs.exp (do_function_calls):
23454 Add mips-sgi-irix* xfail, when compiled with native compiler, for
23455 "call inferior func with struct - returns char *".
23456 * gdb.base/return.exp (return_tests): Change xfail for
23457 "correct value returned double test" to include Solaris 2.4.
23458 * gdb.base/funcargs.exp (float_and_integral_args):
23459 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
23461 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23463 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
23464 enumeration bitfields if compiling with GNU C.
23465 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
23468 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
23470 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
23471 test for PRO targets.
23473 * gdb.base/funcargs.exp: Avoid ever setting more than 8
23474 breakpoints in the inferior at any given time by making
23475 two groups of breakpoints for call2*, call6* and call7*
23478 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23480 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
23481 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
23482 from optimizing it away.
23483 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
23484 "call inferior func with struct".
23486 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
23488 * configure.in: Only configure gdb.chill for particular targets.
23490 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
23492 * gdb.base/Makefile.in: Add action to .c.o transformation
23493 rule that generates a .ci file for each .o file and remove
23494 explicit .c.o rules except for callfuncs.o.
23495 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
23496 generates a .ci file for each .o file and remove explicit
23498 (clean): Remove *.tmp *.ci files.
23499 (EXECUTABLES): Remove templ-info.exp.
23500 * gdb.base/compiler.c: New file.
23501 * gdb.c++/compiler.cc: New file
23502 * gdb.base/scope.exp: Source gdb.base/scope.ci.
23503 Change rs6000-*-* xfail for
23504 "print 'scope0.c'::filelocal_ro" and
23505 "print 'scope1.c'::filelocal" and
23506 "print 'scope1.c'::filelocal_bss" and
23507 "print 'scope1.c'::filelocal_ro" and
23508 "print 'scope1.c'::foo::funclocal" and
23509 "print 'scope1.c'::foo::funclocal_ro" and
23510 "print 'scope1.c'::bar::funclocal" and
23511 "print 'scope0.c'::filelocal_ro" and
23512 "print 'scope1.c'::filelocal at foo" and
23513 "print 'scope1.c'::filelocal_bss at foo" and
23514 "print 'scope1.c'::filelocal_ro at foo" and
23515 "print 'scope1.c'::foo::funclocal at foo" and
23516 "print 'scope1.c'::foo::funclocal_bss at foo" and
23517 "print 'scope1.c'::foo::funclocal_ro at foo" and
23518 "print 'scope1.c'::bar::funclocal at foo" and
23519 "print 'scope0.c'::filelocal_ro" and
23520 "print 'scope1.c'::filelocal" and
23521 "print 'scope1.c'::filelocal_bss" and
23522 "print 'scope1.c'::filelocal_ro" and
23523 "print 'scope1.c'::foo::funclocal" and
23524 "print 'scope1.c'::foo::funclocal_bss" and
23525 "print 'scope1.c'::foo::funclocal_ro" and
23526 "print 'scope1.c'::bar::funclocal" and
23527 "print 'scope1.c'::bar::funclocal_bss"
23528 to only be xfail'd when not compiled with gcc.
23529 Add rs6000-*-* xfail for
23530 "print 'scope0.c'::filelocal_bss before run"
23531 when compiled with gcc.
23532 (test_at_main): Add rs6000-*-* xfail for
23533 "print filelocal_ro in test_at_main"
23534 when compiled with gcc.
23535 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
23536 Add rs6000-*-aix* xfail for
23537 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
23538 "ptype t_char_array", not compiled with gcc.
23539 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
23540 xfail for "list foo (in include file)" when gcc compiled.
23541 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
23542 (integral_args): Add rs6000-*-* xfail for
23543 "run to call0a" if not compiled with gcc.
23544 (unsigned_integral_args): Add rs6000-*-* xfail for
23545 "run to call1a" if not compiled with gcc.
23546 (float_and_integral_args): Add rs6000-*-* xfail for
23547 "run to call2a" if not compiled with gcc and for
23548 "continue to call2b" for any compiler.
23549 Add rs6000-*-* xfail to
23550 "print f1 after run to call2a" for gcc compiled.
23551 (discard_and_shuffle): Add rs6000-*-* xfail for
23553 (shuffle_round_robin): Add rs6000-*-* xfail for
23554 "backtrace from call7a" if not compiled with gcc.
23555 Add rs6000-*-* xfail for
23556 "backtrace from call7b" if compiled with gcc.
23557 (call_after_alloca): Add rs6000-*-* xfail for
23558 "print c in call_after_alloca" and
23559 "print s in call_after_alloca" and
23560 "backtrace from call_after_alloca_subr"
23561 if not compiled with gcc.
23562 (localvars_in_indirect_call): Add rs6000-*-* xfail for
23563 "print c in localvars_in_indirect_call" and
23564 "print c in localvars_in_indirect_call" and
23565 "backtrace in indirectly called function" and
23566 "stepping into indirectly called function"
23567 if not compiled with gcc.
23568 (localvars_after_alloca): Add rs6000-*-* xfail for
23569 "print c after runto localvars_after_alloca" and
23570 "print s after runto localvars_after_alloca" and
23571 "print i after runto localvars_after_alloca" and
23572 "print l after runto localvars_after_alloca"
23574 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
23575 than whatis-info.exp.
23576 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
23577 than opaque-info.exp.
23578 Setup rs6000-*-* xfail for
23579 "ptype on opaque struct pointer (statically)" and
23580 "ptype on opaque struct pointer (dynamically)" when
23581 not compiled with gcc.
23582 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
23583 rather than callf-info.exp.
23584 (do_function_calls): Add clear_xfail for rs6000-*-* for
23585 "p t_float_values2(3.14159,float_val2)". Seems to work
23586 fine there, both with xlc and gcc. Need to find out what
23587 it is doing right and fix other platforms.
23588 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
23589 "call inferior func with struct - returns int",
23590 "call inferior func with struct - returns long",
23591 "call inferior func with struct - returns float",
23592 "call inferior func with struct - returns double",
23593 "call inferior func with struct - returns char *",
23594 but only if not gcc compiled (presumes xlc compiled).
23595 Change rs6000-*-* xfails for
23596 "call inferior func with struct - returns char" and
23597 " call inferior func with struct - returns short" to only
23598 xfail if not using gcc.
23599 (clean mostlyclean): Remove *.ci and *.tmp files.
23600 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
23601 than templ-info.exp.
23602 * gdb.base/langs.exp: Source gdb.base/langs.ci.
23603 Add rs6000-*-* xfail for "up to foo in langs.exp"
23604 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
23605 when not gcc compiled.
23607 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23609 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
23610 * gdb.base/corefile.exp: Likewise.
23611 * gdb.base/list.exp: Likewise.
23612 * gdb.base/scope.exp: Likewise.
23613 * gdb.base/siganls.exp: Likewise.
23615 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
23617 * gdb.base/whatis.exp: Likewise.
23619 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
23621 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
23622 failure (opcode table has been fixed to match reality).
23624 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
23626 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
23627 "call inferior func with struct - returns char",
23628 "call inferior func with struct - returns short"
23630 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
23631 "print 'scope0.c'::filelocal at main",
23632 "print 'scope0.c'::filelocal_bss in test_at_main",
23633 "print 'scope0.c'::filelocal at foo",
23634 "print 'scope0.c'::filelocal_bss in test_at_foo",
23635 "print 'scope0.c'::filelocal at bar",
23636 "print 'scope0.c'::filelocal_bss in test_at_bar"
23638 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
23639 in source file 1". This bug seems to have been fixed with both
23640 gcc and native cc (was native assembler bug?).
23642 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
23644 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
23645 "backtrace through signal handler" to "i*86-*-sysv4*".
23646 * gdb.base/signals.exp: Add xfail for "'next' behaved as
23647 continue" case. Add "known SVR4 bug" to fail message.
23648 Add "i*86-*-bsdi2.0" xfail for "handle all print".
23649 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
23650 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
23651 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
23652 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
23653 "up to foo in langs.exp", "show language at foo in
23654 langs.exp", "up to cppsub_ in langs.exp", "show
23655 language at cppsub_ in langs.exp", "up to fsub in
23656 langs.exp", and "show language at fsub in langs.exp".
23657 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
23658 "bactrace in corefile.exp".
23659 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
23660 "call inferior function with struct - returns float" and
23661 "call inferior function with struct - returns double".
23663 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
23665 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
23666 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
23667 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
23668 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
23670 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
23672 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
23673 (or overriden) "CHILL" macro rather then bare "gcc".
23674 Also look for ../../gcc/xgcc since that is what we will
23675 actually need, not "Makefile". Remove following assignment
23676 of CHILL to CHILL_FOR_TARGET because that results in
23677 recursive definition.
23679 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
23681 * gdb.base/corefile.exp: Change xfail for backtrace in
23682 corefile.exp from linuxaout to all linux.
23683 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
23684 cases where we miss the breakpoint at the signal handler
23685 for some reason. Setup xfail for linuxoldld/linuxaout and
23686 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
23687 hitting SIGURG breakpoint.
23688 * gdb.base/signals.exp: Setup xfail for "next" acting like
23689 continue to add linuxoldld. Setup xfail for all linux for
23690 "next to handler in signals_tests_1", "backtrace in
23691 signals_tests_1", "continue to func1", "pass SIGUSR1",
23692 and continue to handler".
23694 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
23696 * Update all FSF addresses except those in COPYING* files.
23698 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
23700 * gdb.base/a2-run.exp: Change messages to be more explicit about
23701 the status of args, and quote binfile in results.
23703 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
23705 * gdb.base/callfuncs.exp: Add tests for passing structs to
23706 inferior functions and return various types.
23707 * gdb.base/callfuncs.c: Add functions to receive a struct
23708 and return a member of the struct, in various types.
23710 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23712 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
23714 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
23716 * config/vxworks29k.exp: New file, sources vxworks.exp.
23718 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23720 * config/gdbremote.exp: New file. Testing framework using
23723 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
23725 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
23726 "call function when asleep" and "send end of file".
23727 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
23728 for "backtrace in corefile.exp".
23729 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
23730 for "backtrace through signal handler".
23731 * gdb.base/corefile.exp: Make sure we actually generate a core file
23732 before trying the core tests. Some systems allow the user to suppress
23733 generation of core files and default to that (linux for example).
23734 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
23735 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
23737 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23739 * gdb.threads: New directory with some crude multi-threaded
23740 gdb tests (step.exp and step2.exp).
23741 * config/mt-lynx (STEP_EXECUTABLE): Define.
23742 (THREADFLAGS): Define.
23744 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
23746 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
23748 * gdb.base/signals.exp: Disable whole file for lynx until
23751 * gdb.base/signals.exp: xfail test where "next" acts like
23752 "continue" for lynx.
23754 * gdb.base/interrupt.exp: xfail test for calling function while
23755 inferior is asleep for lynx.
23757 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
23758 than one cr-lf after each command.
23760 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23762 * configure.in: Reinstate setting of stabsdirs variable, fix
23763 typo in setting up configdirs for native builds.
23765 * gdb.base/return.exp: Fix typo in return double test.
23766 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
23767 compiler from optimizing them away.
23769 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
23771 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
23772 sequences to be echo'd by gdb when using gdb_test.
23773 * gdb.chill/chexp.exp: Likewise.
23774 * gdb.fortran/exprs.exp: Likewise
23776 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
23778 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
23779 after the inferior gdb has started.
23781 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
23782 after each command.
23783 * gdb.base/funcargs.exp: Likewise.
23784 * gdb.base/gdbvars.exp: Likewise.
23785 * gdb.base/interrupt.exp: Likewise.
23786 * gdb.base/list.exp: Likewise.
23787 * gdb.base/watchpoint.exp: Likewise.
23788 * gdb.c++/demangle.exp: Likewise.
23789 * gdb.c++/inherit.exp: Likewise.
23790 * gdb.chill/chexp.exp: Likewise.
23791 * gdb.fortran/exprs.exp: Likewise.
23793 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
23794 test if we can't handle IO to/from the inferior.
23796 * gdb.c++/misc.exp: Always check for a program already being
23797 started after sending a "run" command to gdb.
23799 * gdb.base/twice.exp: Start with a fresh gdb.
23801 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
23802 only depend on gdb's expression code, not the chill runtime.
23804 * gdb.base/return.c: Put return values into variables so we
23805 can have gdb print them rather than depending on the program
23807 * gdb.base/return.exp: Corresponding changes.
23809 * lib/gdb.exp: Provide default value for noinferiorio.
23810 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
23813 * gdb.base/break.exp: Always check for a program already being
23814 started after sending a "run" command to gdb.
23815 (text_next_with_recursion): Don't check the output from the
23816 program's printf statement. Instead just make sure the program
23819 * gdb.base/commands.exp: Protect tests which need arguments with
23820 $noargs conditionals.
23822 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23824 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
23825 of structure member arrays to match gdb/valops.c:value_addr change.
23827 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
23829 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
23832 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
23834 * configure.in (configdirs): Remove gdb.chill from default list
23835 of subdirs and then add it back in only if doing a native build.
23836 The current chill compiler does not yet work in any cross build.
23837 * Revert all signal changes from Jul 6.
23838 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
23839 for sh-hms targets, allowing these tests to link, with no other
23840 changes. Testing is suppressed by setting "nosignals" in site.exp.
23842 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
23844 * configure.in (signaldirs): Define and add to configdirs for all
23845 targets except some specific ones that are known to not support signals.
23846 Also clean up formatting.
23847 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
23848 (signals, sigall): Remove rules to build.
23849 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
23850 Moved to new gdb.signals directory.
23851 * gdb.signals: New test directory.
23852 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
23853 signals.c signals.exp}: New or moved files.
23855 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
23857 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
23859 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
23861 * gdb.base/return.exp: Xfail `return double' test failure
23862 on at least Solaris 2.3 and handle future/past versions on
23863 a case by case basis as appropriate. Also update message
23864 to include i*86 failures.
23866 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23868 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
23870 * lib/gdb.exp: Fix comment which erroneously identified
23871 gdb_file_cmd as gdb_load (the 19 May change was in fact to
23872 gdb_file_cmd not gdb_load).
23873 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
23875 * gdb.base/setvar.exp: Make test names consistent between pass and
23876 fail cases. Use gdb_test more.
23878 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23880 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
23882 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23884 * gdb.base/help.exp: Fix expected help string for `show commands'.
23886 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
23888 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
23890 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
23893 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
23895 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
23896 that loop eventually terminates. Fix Connection refused logic so
23897 that testsuite will expire nicely.
23899 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
23901 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
23902 config/rom68k.exp: New tcl glue for the appropriate monitors.
23903 These all just end up calling monitor.exp.
23904 * config/monitor.exp (gdb_target_monitor): Handle `Connection
23905 refused' by retrying. Cleanup some timeout issues.
23906 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
23907 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
23908 callers don't have to set/restore global timeout variable.
23910 * The following set of changes centralizes management of the global
23911 timeout variable. This way, it can be set in one target dependent
23912 place instead of dozens of places scattered throughout the test suite.
23913 If you need to lengthen a timeout, then you should either set timeout
23914 in one of the config/{target}.exp files, or multiply it by a factor.
23915 Setting it to an absolute value is always going to lose for some
23917 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
23918 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
23919 * gdb.base/funcargs.exp: Don't set timeout.
23920 * gdb.base/list.exp (test_forward_search): Only use local timeout.
23921 * gdb.base/printcmds.exp (test_print_string_constants
23922 test_print_array_constants): Don't set timeout.
23923 * gdb.base/ptype.exp: Don't set timeout.
23924 * gdb.base/recurse.exp: Don't set timeout.
23925 * gdb.base/return.exp: Don't set timeout.
23926 * gdb.base/watchpoint.exp: Don't set timeout.
23927 * gdb.c++/classes.exp (do_tests): Don't set timeout.
23928 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
23930 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
23932 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
23934 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23936 * lib/gdb.exp: Disable chill tests for irix5.
23938 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23940 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
23941 each test pass or fail.
23943 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23945 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
23948 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
23950 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
23952 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
23954 * config/est.exp: Fix copyright and comments. Remove dead code.
23955 Use targetname, serialport and baud variables instead of fixed
23957 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
23958 * config/cpu32bug.exp: New file to support cpu32bug monitors.
23960 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23962 * gdb.base/watchpoint.exp: Don't run
23963 test_watchpoint_triggered_in_syscall for sunos.
23965 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23967 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
23968 they don't seem to exist. Do include stdio.h.
23970 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23972 * gdb.base/a1-selftest.exp: Add alpha xfail.
23974 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23976 * gdb.base/watchpoint.c (main): Prompt before calling read().
23977 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
23978 Revise accordingly. Remove cruft about sending "123" several
23979 times, until it gets noticed. Clean up the "print buf[0]" stuff
23980 so that it passes or fails, and waits for prompts in the usual way.
23982 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
23984 * gdb.base/recurse.exp: Fix comment.
23986 * TODO: Remove item about printing variables in nodebug.exp. Add
23987 item about enabling tests which are only run on some targets.
23989 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
23990 fail, make test names unique, use new gdb_test convention
23991 regarding pattern, use gdb_test more, etc.).
23993 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
23994 fail, make test names unique, etc.).
23996 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
23998 * gdb.base/nodebug.c: Change return type of top and middle to
24000 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
24001 are fixed by the recent mdebugread.c changes. Allow `short ()'
24002 as type for top and middle.
24004 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24006 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
24007 nearly as I can tell, the whole thing was an accident in Stu's
24008 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
24009 to replace a send/expect pair with gdb_test, but ended up only
24010 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
24011 of 30 Mar 1995 took care of it, but left this vestigial comment
24012 which I am now nuking.
24014 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24016 * gdb.base/break.exp: Look for different line number for
24017 breakpoint at main depending on usestubs.
24019 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24021 * gdb.base/list.exp: Adjust some alternate expect patterns to
24022 match recent list0.c change. Add alternate expect pattern for
24023 output from `list default lines around main' for optimizing
24026 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24028 * lib/gdb.exp: If nosignals is not set, set it to 0.
24030 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
24032 * config/slite-gdb.exp: Responds to load symbol table prompt.
24033 * gdb.base/break.exp: Adjust line number, fix rerun.
24034 * gdb.base/langs0.c: Add #ifdef usestubs.
24036 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
24038 * gdb.base/list.exp: Adjust line contents after adding new lines in
24039 list0.c. Also fix a syntax error.
24041 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
24042 * gdb.base/break.exp: ditto.
24043 * gdb.base/list.exp: ditto.
24044 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
24045 * gdb.base/run.c: ditto.
24046 * gdb.base/list0.c: ditto.
24047 * gdb.base/funcargs.c: ditto.
24049 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
24051 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
24052 $targetname, $serialport and $baud instead of hardwired variables.
24053 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
24054 target doesn't support signals.
24056 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
24058 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
24060 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24062 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
24063 Don't rely on the value of an auto variable before it has been
24064 initialized. Use gdb_test more.
24066 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24068 * lib/gdb.exp (default_gdb_version): A version number must start
24069 with a digit, but other than that contains all characters up to
24070 the first whitespace character.
24072 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24074 * gdb.base/commands.exp (breakpoint_command_test): New tests.
24076 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24078 * gdb.c++/*.exp: Warn if executable does not exist. The original
24079 reason for skipping the warning was that configure.in sometimes
24080 intentionally skipped building the executables but the tcl code
24081 had no way of knowing. That (a) was always bogus with respect to
24082 error handling, (b) is no longer true (right now there is no way
24083 to skip C++ tests).
24085 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
24087 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24089 * gdb.base/list.exp: Add expect patterns for output from
24090 SunPRO compiled executables.
24091 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
24094 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24096 * gdb.base/break.exp (test_next_with_recursion): Accept any line
24097 number (we are already testing that the correct source line text
24100 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
24101 that is what is intended, but something needed to be done to get
24102 sunos4 native working again.
24104 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
24106 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
24107 apparently went with a (very) old xfail.
24109 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
24111 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
24112 runto_main is a proc in gdb.exp that will do 'step' for target use
24114 * gdb.base/exprs.exp: ditto.
24115 * gdb.base/interrupt.exp: ditto.
24116 * gdb.base/opaque.exp: ditto.
24117 * gdb.base/printcmds.exp: ditto.
24118 * gdb.base/ptype.exp: ditto.
24119 * gdb.base/scope.exp: ditto.
24120 * gdb.base/setvar.exp: ditto.
24121 * gdb.base/signals.exp: ditto.
24122 * gdb.base/twice.exp: ditto.
24123 * gdb.c++/classes.exp: ditto.
24124 * gdb.c++/inherit.exp: ditto.
24125 * gdb.c++/templates.exp: ditto.
24126 * gdb.base/break.exp: no run and hit main for stubs. Change line
24127 numbers for breakpoints and info breakpoint.
24128 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
24130 * gdb.base/callfuncs.c: ditto.
24131 * gdb.base/exprs: ditto.
24132 * gdb.base/interrupt.c: ditto.
24133 * gdb.base/opaque0.c: ditto.
24134 * gdb.base/printcmds.c: ditto.
24135 * gdb.base/ptype.c: ditto.
24136 * gdb.base/scope0.c: ditto.
24137 * gdb.base/setvar.c: ditto.
24138 * gdb.base/signals.c: ditto.
24139 * gdb.base/twice.c: ditto.
24140 * gdb.c++/misc.cc: ditto.
24141 * gdb.c++/templates.cc: ditto.
24143 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24145 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
24147 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
24148 somewhere between `read' and `main.c'. I'm pretty sure the
24149 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
24150 and it isn't particularly useful.
24152 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
24154 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24156 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
24158 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
24160 * config/mt-slite: add LIBS and -nostdlib.
24161 * config/slite-gdb.exp: add this new file to support sparclite target.
24163 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
24165 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
24167 * gdb.base/a2-run.exp: Change argument to istarget from
24168 "*-*-vxworks" to "*-*-vxworks*".
24169 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
24171 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
24173 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
24174 will not runto main but do a 'step' to step out of breakpoint().
24175 * config/mt-slite: add -Dusestubs.
24177 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24179 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
24182 * gdb.base/signals.exp: Add test for "handle all print".
24183 * TODO: Remove "handle all print". Also remove item about
24184 checking copyright date (I don't like the idea of a spurious FAIL
24185 based on when we run the tests).
24187 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
24188 for SunOS4 (reason for failure not investigated). Remove
24189 redundant test for $binfile.
24191 * gdb.base/nodebug.c (array_index): Call malloc.
24193 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
24195 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
24197 * gdb.base/recurse.exp: Update gdb_test invocation to use new
24198 conventions and slightly simplify the matching regexp.
24200 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24202 * gdb.base/break.exp: Update gdb_test invocation to use new
24205 * lib/gdb.exp: If noargs is not set, set it to 0.
24207 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
24210 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
24212 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24214 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
24215 one argument of type "<non-float parameter>".
24217 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
24219 * config/rom68k.exp: New file to support Motorola IDP board.
24220 * gdb.base/a2-run.exp: Skip this file if noargs is set.
24221 * gdb.base/break.c: Change things around so that this program
24222 doesn't depend upon args. This is necessary to make remote
24223 targets work (in general, they can't take args).
24224 * gdb.base/break.exp: Don't try to send args to program. Don't
24225 expect output. Also, replace lots of code with gdb_test.
24227 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24229 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
24230 printing of '\'' (which is what the comment says we are testing,
24231 even though we were not), not '''.
24232 (test_integer_literals_rejected): Test that printing ''' is an error.
24234 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24235 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
24236 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
24237 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
24238 Use gdb_test not test_print_accept.
24239 * lib/gdb.exp: Remove test_print_accept.
24241 * gdb.base/signals.exp (signal_tests_1): Make pass message
24242 consistent with fail message.
24244 * gdb.base/whatis.exp: Remove xfails for printing char vs.
24245 unsigned char; the bug (PR 1821) is fixed.
24247 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
24249 * gdb.base/scope.exp (test_at_localscopes): Call pass for
24250 successful tests--makes xfailing them work right.
24252 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24254 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
24255 only \r\n, not .*. The test can pass .* as the last thing in
24256 $pattern if that is what it wants. In addition to providing this
24257 flexibility, this change should speed up pattern matching in cases
24258 where the pattern already ended with .* (there were a number of
24259 them). This change also helps catch bad patterns--in the old
24260 scheme the typo "char \*" instead of "char \\*" would pass. Now
24262 * Many .exp files: Update callers.
24264 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
24265 clearer and does not spuriously match multiple ('s. Likewise for
24268 * gdb.base/nodebug.exp: Test ability to call a function and pass
24269 it a string (even with no debugging info).
24271 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
24272 "p '\'", which is the same as "p ''" once tcl gets done with
24273 quoting, to "p '\\'", which I suspect is what is intended (one
24274 backslash gets sent to GDB).
24276 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
24278 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24280 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
24281 1817) was fixed literally years ago.
24283 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24285 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
24286 test, it causes stepping out of call_after_alloca_subr with
24287 optimizing compilers.
24288 (localvars_in_indirect_call): Consume GDB prompt if `finish'
24291 * gdb.c++/templates.exp: Source templ-info.exp only if
24292 the templates executable exists.
24294 * gdb.c++/misc.cc (class Contains_static_instance,
24295 class Contains_nested_static_instance),
24296 gdb.c++/classes.exp (test_static_members): Test printing of
24297 a class that contains a static instance of the class.
24299 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24301 * gdb.base/langs2.c (cppsub_): Don't prototype.
24302 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
24305 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24307 * lib/gdb.exp (skip_chill_tests): New procedure.
24309 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
24311 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
24313 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
24314 each expect pattern. Cuts runtime from 12 to about 4 seconds.
24316 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24318 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
24320 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
24321 disassemble 8, not 16, instructions for part 4.
24323 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
24324 support the latter anymore.
24326 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
24328 * gdb.base/callfuncs.c: Control use of prototypes based on
24329 NO_PROTOTYPES, not __STDC__.
24330 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
24331 t_float_values2 tests if prototypes in use.
24333 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
24334 t_double_values): When checking differences against DELTA, check
24335 that difference is within the range (-DELTA,DELTA), not just
24338 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
24340 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
24341 'file' command firts, then 'target', then 'load', this is due to gdb
24343 * config/mips-gdb.exp: Fix a couple regular exp bugs.
24345 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
24347 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
24348 FP load/store variants.
24349 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
24351 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24353 * gdb.base/term.exp: Do not give a warning if not native, it is
24354 not an abnormal condition.
24356 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
24358 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
24361 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
24363 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
24364 are getting the version number.
24366 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
24367 if not native, it is not an abnormal condition.
24369 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24371 * lib/gdb.exp: Just use "file exists", rather than undocumented
24372 dejagnu procedure "findfile".
24374 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24376 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
24377 (LDFLAGS): Set to -Xlinker -Ur.
24379 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
24380 Removed, these values are set by lib/gdb.exp.
24382 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
24384 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
24386 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
24387 of replicating gdb startup code.
24389 * config/mt-vxworks (LDFLAGS): Set to -r.
24390 (CFLAGS_FOR_TARGET): Removed.
24392 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
24393 (gdb) and gdb for vxworks uses (vxgdb).
24395 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
24396 executable is not in the tree and host != target, use sed and
24397 program_transform_name to determine the gdb name used by the
24400 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
24401 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
24403 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24405 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
24406 floats, chars, and shorts where there are ANSI-style function
24409 * gdb.base/langs.exp, gdb.base/langs*: New test.
24410 * gdb.base/Makefile.in: Build it.
24411 * TODO: Remove item about checking that C names don't get C++
24412 demangling applied; this test tests it.
24414 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24416 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
24417 went with the const70 xfail. The xfail went away a year ago.
24419 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
24421 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
24424 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
24426 * gdb.base/a1-selftest.exp: Don't run on hp300.
24428 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24430 * Makefile.in (site.exp): Set host_alias and target_alias as well
24431 as host_triplet and target_triplet.
24433 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24435 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
24437 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
24438 places as other ecoff systems).
24440 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
24443 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24445 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
24447 * gdb.base/nodebug.exp: Accept "function" in addition to "text
24448 variable and "variable" in addition to "data variable".
24449 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
24451 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
24453 * gdb.base/list1.c (long_line): Add additional statement at start
24455 * gdb.base/list.exp (test_forward_search): Update line number to
24456 reflect new statement.
24458 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24460 * gdb.base/signals.exp: Reinitialize searched source directories
24461 after gdb_start call.
24463 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
24465 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
24466 * gdb.stabs/Makefile.in: Likewise.
24468 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
24469 change. Instead split the tests into smaller pieces.
24470 * gdb.disasm/hppa.s: Corresponding changes.
24472 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24474 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24475 Quote ^C when passing it to stty. For some shells ^ is a pipe.
24477 * gdb.base/funcargs.exp: Modify many tests so that every test
24478 either passes or fails. Make some test names unique.
24480 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24482 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
24483 Call stty to set interrupt character.
24485 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
24486 for HP assembler versus GNU assembler based on actual behavior of
24487 $(CC), rather than assuming that $(AS) is always the GNU assembler.
24489 * TODO: Suggest a few more stepping tests.
24491 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
24493 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
24494 restart GDB for h8300 after a continue.
24495 (return): Add pattern to match a29k-udi behavior.
24496 * gdb.base/nodebug.exp: Remove obsolete comment.
24497 * gdb.base/regs.exp: New file, testing of register displays.
24498 * gdb.base/return.exp: Fix typo in reference to $objdir.
24499 * gdb.base/whatis.exp: Always start with a fresh GDB.
24501 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24503 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
24504 higher, these tests generate a lot of output.
24506 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24508 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
24509 code following the catch silently ignored some errors; without the
24510 catch they should be thrown like any other tcl error. Also, the
24511 catch used "" instead of {} which meant all the callers who wanted
24512 to include one of the characters "[]$ had to quote it an extra time.
24513 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
24514 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
24515 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
24516 Remove extra quoting.
24518 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
24520 * gdb.base/commands.exp: Make test names unique; every test either
24521 passes or fails. Update some comments.
24523 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
24525 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24527 The following fixes a FAIL caused by the fact that the alpha stabs
24528 configuration didn't use the ".if alpha" code in weird.def.
24529 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
24530 bit pointer, so the 32 bit version works even on the alpha.
24531 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
24532 Remove the stuff which allowed us to have separate versions for
24533 alpha and everything else.
24535 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
24536 regexp which "info func operator\[\](" is supposed to match. Fix
24537 string to send to GDB. Note that GDB still doesn't work right. Add a
24538 new test for "info func .perator\[\](" which GDB does handle correctly.
24540 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
24542 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24544 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
24545 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
24546 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
24547 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
24548 it makes the tests harder to understand and confuses test-o-matic.
24549 The preferred style is that each test provides a PASS or a FAIL,
24550 and has a unique message (e.g. "continue #54" not just "continue")
24551 which is the same for the pass and the fail.
24552 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
24553 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
24555 * gdb.base/printcmds.exp: Use test_print_accept. Remove
24556 prt_accept which was basically the same thing. Likewise for
24557 test_print_reject and prt_reject.
24558 * lib/gdb.exp (test_print_reject): Add some more error message
24559 patterns to match from the former printcmds.exp (prt_reject).
24560 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
24561 One defect of the passcount stuff is that some of it failed to
24562 report XPASS where appropriate.
24563 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
24564 stuff before and after arg in expected pattern.
24565 (test_paddr_operator_functions): Re-do test without print_addr_of;
24566 this is the only test which seems to want extra stuff there.
24568 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24570 * gdb.base/nodebug.exp: Update new tests to reflect improved
24571 wording of gdb output.
24573 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
24574 and "ptype" work on variables in files compiled without -g.
24575 Replaces commented out "maint print msymbol" tests.
24577 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24579 * gdb.base/setvar.c (dummy): Call malloc.
24581 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
24582 losing with the irix4 sed.
24584 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
24587 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24589 * TODO: Remove items about corefile.exp testing new exec-file and
24590 backtrace; both are now done. Add items about printing enums.
24592 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24594 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
24595 "get signal $thissig" test fails.
24597 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
24599 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24601 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
24602 compiler warning with dec alpha compiler.
24604 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
24605 extra \n from gdb_test call (this explains why the prompt test
24606 that I removed yesterday was there).
24607 (user_defined_command_test): Remove extra \n and prompt test.
24609 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
24610 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
24612 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
24613 Also remove alpha workaround, which turns out to be because
24614 SIGABRT == SIGLOST.
24616 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
24618 * gdb.base/help.exp: Don't test "help show".
24620 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24622 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
24623 "set print address" is on.
24624 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
24625 pass prompt to gdb_test; gdb_test already looks for the prompt.
24627 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
24629 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
24630 was a vestige of the manual TESTSTRATEGY, and the purpose of it
24631 was to make sure that gdb can read a core file. But (a) the "read
24632 the corefile" part didn't make it to a1-selftest.exp, we just
24633 delete the corefile after creating it, and (b) we test reading
24634 corefiles in corefile.exp anyway. Also, this test left around a
24635 xgdb process on Solaris.
24637 * gdb.base/corefile.exp: Also test backtrace.
24639 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
24641 * gdb.base/commands.exp: Test a simple user defined command with
24642 arguments and if/while statements; verify the full user command is
24643 printed by "show user".
24645 * gdb.base/commands.exp: Test if/while commands as part of a
24646 breakpoint command list; verify they appear in breakpoint
24649 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24651 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
24652 than by dividing by zero.
24654 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
24656 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
24657 performing an inferior call with watchpoints enabled.
24658 * gdb.base/watchpoint.c (main): Delete second unnecessary read
24661 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24663 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
24666 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
24667 Add additional pattern for when "int operator int(void);" appears
24668 in a different order.
24670 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
24672 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
24674 * gdb.base/help.exp: Replace most of docstrings for "info signals"
24675 and "signal" with ".*".
24677 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
24679 * TODO: Add note about "handle all nostop".
24681 * gdb.base/{sigall.c, sigall.exp}: New test.
24682 * gdb.base/Makefile.in: Add it.
24684 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
24686 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
24687 when invoking GDB, suppresses any windowing interface.
24689 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
24691 * config/sim-gdb: New file, simulator testing support.
24693 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
24695 * gdb.base/interrupt.exp: Test calling func1 twice.
24697 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
24699 * gdb.base/list.exp (test_forward_search): Set timeout higher
24700 when we'll be getting lots of output from gdb.
24702 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
24703 "init_malloc" to after the expect statement. Run it if that
24704 regexp is taken, but also for two others which happen if source
24707 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24709 * gdb.base/printcmds.exp: New test, for printing register before
24710 program is running.
24712 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24714 * gdb.base/list.exp: Correct some alternate expect patterns
24715 to reflect changes in list1.c.
24717 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24719 * TODO: Add item regarding large frames.
24721 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
24723 * TODO: Remove item about enabling return.exp; it
24724 is enabled. Suggest a few more "return" tests.
24726 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24728 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
24731 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24733 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
24734 and pr-5646.o, so "make" is the same as "make all", not "make
24737 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
24739 * gdb.base/list.exp: Adjust expectations to reflect changes in
24741 (test_forward_search): New test proc.
24742 * gdb.base/list1.c (long_line): New function, has long source line.
24744 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
24746 * gdb.base/a1-selftest.exp: Change initial stepping to know about
24747 additional line of code that was added.
24749 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
24751 * gdb.disasm/hppa.s: Break the large branching tests into smaller
24752 tests so as not to overflow expect's input buffers.
24753 * gdb.disasm/hppa.exp: Corresponding changes.
24755 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24757 Beginnings of template debugging tests.
24758 * gdb.c++/templ-info.cc: New file to test for template
24759 debugging capability of the compiler.
24760 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
24762 * gdb.c++/templates.cc: Add explicit template instantiations
24763 to enable compiling with -fno-implicit-templates. Add destructor
24764 and 'value' method to T5 class for template tests.
24765 * gdb.c++/templates.exp: Add testcases for printing of template
24766 types, setting breakpoints on template methods and calling a
24769 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
24771 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
24772 branch target since some assemblers (gas-2.5) may emit a
24773 relocation for the branch instead of resolving it in the
24776 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24778 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
24779 through signal handler.
24781 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24783 * configure.in (*-*-netware): Use config/mt-netware.
24785 * config/mt-netware: New file.
24786 * config/mt-i386-netware: Removed, separate configs for different
24787 netware architectures are no longer needed now that we have
24790 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24792 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
24793 by the recent changes to use ANSI C arithmetic conversions.
24795 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24797 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
24798 bug involving using inferior_pid to figure out whether to select a
24801 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
24803 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
24804 match the current disassembler output.
24806 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
24808 * gdb.fortran/exprs.exp: Expect VOID instead of void.
24809 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
24810 types, expect "int" as type of integer values (for now).
24812 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
24814 * gdb.base/commands.exp: New tests for if/while commands.
24816 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
24818 * lib/gdb.exp (runto): Replace sub-pattern for hex value
24819 by .*, since hex values have different syntax in Chill mode.
24821 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24823 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
24824 linefeed from expect pattern for repeated types with indices > 9.
24826 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
24828 First part of Fortran test suite.
24829 * gdb.fortran: New directory.
24830 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
24832 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24834 * gdb.base/default.exp: Update expect pattern for load command
24837 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
24839 * configure.in: Change i386 to i[345]86.
24840 * gdb.base/configure.in: Likewise.
24841 * gdb.c++/configure.in: Likewise.
24842 * gdb.chill/configure.in: Likewise.
24844 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
24846 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
24847 patterns, since that is not a valid context for comments.
24849 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
24851 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
24852 repeated types and repeated types with indices > 9.
24854 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
24856 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
24857 2417; old bug has been fixed.
24859 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
24861 * gdb.base/interrupt.exp: When trying to wake up the inferior,
24862 send the newline ourselves instead of assuming gdb_test will do
24863 so when passed an empty input string.
24865 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
24868 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24870 * lib/gdb.exp (gdb_test): Don't send anything if the first
24871 argument is an empty string. This makes cases where we want to
24872 match output that is already in expect's buffers (for example,
24873 matching a breakpoint after gdb_run_cmd has been called) work
24876 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24878 * config/netware.exp: New file.
24880 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24882 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
24883 the -B and -L prefixes so we can find the debugging stub.
24885 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
24886 there and we are using the gcc from the tree.
24888 * gdb.base/types.c: Removed.
24890 * gdb.base/configure.in: Look for makefile fragments in ../config.
24891 Recognize i386-*-netware.
24892 * gdb.c++/configure.in: Likewise.
24894 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24896 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
24897 the correct TCL syntax.
24899 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24901 * gdb.base/opaque.exp: use runto instead of messing around with
24902 breakpoints. Simplify by using gdb_test.
24904 * gdb.base/bitfields.exp: restart between tests on netware targets
24905 because breakpoints aren't relocated after target death. Run
24906 processes to completion.
24908 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
24910 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
24912 * Makefile.in: Remove extra tabs that confuse some versions
24913 of "make". Use the newly built gdb to test with by default,
24914 rather than the first one in the tester's search path.
24916 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
24918 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
24920 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
24923 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24925 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
24927 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
24929 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
24930 * gdb.base/funcargs.exp: Likewise.
24932 * gdb.base/bitfields.exp: Simplify by using gdb_test.
24933 * gdb.base/funcargs.exp: Likewise.
24935 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
24938 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24940 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
24941 return,signals,twice}.exp: Handle non-existant binaries
24944 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
24945 * gdb.base/Makefile.in: Don't try to generate a core dump, we
24946 might testing a cross development system.
24948 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24950 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
24951 runtest script is relative to ${srcdir}, not ${rootdir}.
24953 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
24955 * gdb.base/signals.exp: Allow for optionality of breakpoint
24958 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
24960 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
24962 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
24964 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
24965 for size_t definition.
24966 * gdb.c++/templates.cc: Likewise
24968 * config/mt-i386-netware: New file.
24970 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
24973 * gdb.base/Makefile.in: Added support for systems that name core
24974 files by appending "core" to the program name.
24975 * gdb.base/a1-selftest.exp: Likewise.
24977 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24979 * gdb.base/return.exp: Add comment and message for `return double'
24980 test failure on Sparc Solaris.
24982 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
24984 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
24986 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24988 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
24989 from optimizing them away.
24990 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
24991 patterns to include default constructors and assignment operators,
24992 to match gcc versions beyond 2.5.8. Accept any cplus demangling
24993 character in the output of the virtual base pointer.
24995 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
24997 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
24998 expression match in print_addr_of to avoid unintented matches.
24999 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
25000 versions up to 2.5.8.
25002 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25004 * gdb.base/list.exp: Tweak alternate pattern for listing of an
25005 included file to run under newer versions of expect.
25006 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
25007 consecutive >'s in templates to accomodate recent cplus-dem.c change.
25008 Remove xfail for the virtual table of BDDHookV.
25010 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
25012 * lib/gdb.exp (string_to_regexp): Set a default result.
25013 (default_gdb_start): Fix misleading message.
25015 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
25017 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
25018 Remove all CC, etc definitions.
25019 * config/mt-hpux: New file.
25020 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
25021 (CFLAGS, LDFLAGS): Define.
25022 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
25024 * Makefile.in (site.exp): Don't insert host_os, etc.
25025 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
25026 (distclean): Check existence of subdir.
25027 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
25028 * gdb.base/Makefile.in: General cleanup and simplification.
25029 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25030 to build executables. Use default rule to build .o files.
25031 (EXPECT, RUNTEST, CC): Fix relative pathname.
25032 (site.exp): Don't insert host_os, etc.
25033 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
25034 and/or SIGUSR1 defined.
25035 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
25036 * gdb.c++/Makefile.in: General cleanup and simplification.
25037 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
25039 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
25041 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
25043 * gdb.base/recurse.exp: Misc changes to get tests running again
25044 after Kung's changes to the watchpoint code.
25045 * gdb.base/watchpoint.exp: Likewise.
25047 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
25049 * lib/gdb.exp (string_to_regexp): Convert {\} also.
25051 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
25053 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
25054 * lib/gdb.exp (default_gdb_start): Define.
25055 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
25056 gdb.base/funcargs.exp, gdb.base/opaque.exp,
25057 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
25058 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
25059 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
25060 Don't call gdb_target_udi in between tests.
25062 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25064 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
25065 (which was basically just a local version of the same thing). In
25066 addition to avoiding duplication, gdb_test_exact is faster.
25067 * lib/gdb.exp (gdb_test_exact): Fix typo.
25069 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
25070 don't give an error.
25072 * gdb.base/term.exp: Call delete_breakpoints before starting.
25074 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
25075 (t10): Add comment.
25077 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25079 Reorganization of the GDB Test Suite.
25081 * gdb.base: New directory, contains all the basic tests.
25082 * gdb.c++: New directory, tests specific to C++.
25083 * gdb.chill: New directory, tests specific to Chill.
25084 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
25085 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
25086 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
25087 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
25088 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
25090 * */gdbme.*: Rename to match appropriate expect scripts.
25091 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
25092 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
25093 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
25094 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
25095 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
25096 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
25097 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
25098 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
25099 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
25100 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
25101 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
25102 gdb.c++/virtfunc.cc: New names of C++ files.
25103 * gdb.chill/chillvars.ch: New name of Chill file.
25104 * gdb.base/configure.in, gdb.c++/configure.in,
25105 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
25106 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25107 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
25108 * configure.in (configdirs): Update to reflect directory changes.
25109 (target_abbrev): No longer define for any configuration.
25110 * Makefile.in: Cosmetic improvements to header comments.
25112 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
25114 Various changes to gdb.t31:
25116 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
25117 * gdbme.ch: Make all key-words and predefineds be upper-case.
25118 * chillvars.exp: Expect key-words and predefinds in upper-case.
25120 * chillvars.exp: Use gdb_test_exact many places.
25121 Change expected output for arrays (which now includes index labels).
25123 * pr-5020.exp, gdme.ch (module PR_5020):
25124 New test, for PR-5020.
25126 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
25128 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
25129 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
25131 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
25133 * Makefile.in: Fix bit-rot in definitions of CHILL,
25134 CHILL_FOR_TARGET and Chill_LIB.
25135 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
25136 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
25137 CHILL, and CHILL_LIB.
25139 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
25141 * Revert the previous changes. Please see Rob's directory
25142 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
25144 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
25146 * Makefile.in, configure.in, config/mips-gdb.exp,
25147 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
25148 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
25149 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
25150 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
25151 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
25152 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
25153 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
25154 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
25155 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
25156 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
25157 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
25158 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
25159 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
25160 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
25161 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
25164 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
25166 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
25167 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
25168 Rob's new testing fragments.
25170 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
25172 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
25173 lib/gdb.exp: Replace error proc calls with perror.
25175 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
25177 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
25178 version also, match on casted version strings, and match on
25179 gdb startup case where the line numbers might be messed up.
25181 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
25183 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
25184 (CFLAGS): Delete it from here.
25186 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
25188 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
25190 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
25192 * Makefile.in (RUNTEST): Default to just "runtest".
25194 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25196 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
25197 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
25198 the code has been restructured.
25200 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25202 * gdb.t00/default.exp (set write): Allow any number of \r and/or
25203 \n, not just one of each.
25205 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
25206 /bin/cc gives a warning if you do.
25208 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
25210 * gdb.t24/demangle.exp: change expect pattern of
25211 __t10ListS_link1ZUiRCUiPT0
25213 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25215 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
25216 on local variables in recursive functions.
25218 * gdb.t07/Makefile.in: Build the new test.
25220 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25222 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
25223 directly. Instead compare the return values from actual calls.
25225 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
25227 * Makefile.in (check): Set TCL_LIBRARY for runtest.
25229 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25231 * From Peter Schauer with minor modifications.
25232 * gdb.t15/return.exp (return_tests): Handle targets where "return"
25233 stops in mid-line in the caller. Add xfail for returning a float
25234 value on X86 targets.
25236 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25238 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
25239 to avoid expect lossage.
25240 (fmem_LRbug_tests): Likewise.
25241 * gdb.disasm/hppa.s: Corresponding changes.
25243 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
25244 conditions to work with latest dejagnu/expect.
25246 * gdb.t15/funcargs.exp (finish from indirect call): No longer
25247 expected to fail on the PA.
25248 (backtrace in call with trampolines): Explicitly require main
25249 to be frame #1 (no trampolines should show up in backtrace).
25251 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
25252 "continue -expect".
25253 * gdb.t06/break.exp: Likewise.
25254 * gdb.t07/watchpoint.exp: Likewise.
25255 * gdb.t13/bitfields.exp: Likewise.
25256 * gdb.t15/{funcargs,return}.exp: Likewise.
25257 * gdb.stabs/weird.exp: Likewise.
25258 * config/{mips,udi}-gdb.exp: Likewise.
25260 * hppa.sed: Enclose comments within a sed command to avoid
25261 losing with the old OSF1 sed.
25263 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25265 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
25267 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
25268 * gdb.t15/funcargs.exp: Conditionally step again to really
25269 finish from marker_call_with_trampolines. Handle the case where
25270 the first step from within call_with_trampolines already steps
25272 * gdb.t15/gdbme.c: Add comment to closing brace of
25273 call_with_trampolines for funcargs.exp.
25275 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25277 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
25280 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25282 * gdb.t07/gdbme.c: More code for watchpoint testing.
25284 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
25285 "Hardware watchpoint" throughout file.
25286 (test_watchpoint_triggered_in_syscall): New test.
25287 (test_complex_watchpoint): New test.
25289 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25291 * gdbme.c (call_with_trampolines): New function to try and step
25292 into. Tests trampoline problems on the PA.
25294 * funcargs.exp (localvars_in_indirect_call): No longer expect
25295 stepping into indirect call to fail on PAs.
25296 (test_stepping_over_trampolines): New test.
25298 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25300 * TODO: Add suggestions for static member function tests, and
25303 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25305 * TODO: Add suggestions for "p/a" tests.
25307 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
25308 (default_gdb_exit): Replace all the hair with sending "quit" to
25309 the process with a simple close.
25311 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25313 * TODO: Add suggestions for shared library tests.
25315 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25317 * TODO: Add suggestions for x/s tests.
25319 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25321 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
25322 "enable once", and "enable breakpoints once" with ".*".
25324 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25326 * TODO: Add suggestions about structure passing tests.
25328 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25330 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
25331 the primary1 test, use work around if __GNUC__ < 2.
25332 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
25333 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
25334 Test for bad output rather than waiting for timeout. Issue
25335 second continue only if first continue failed.
25337 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25339 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
25340 operator[] test with gdb_test because the old code didn't seem to
25341 be getting the quoting right with the new dejagnu.
25343 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
25345 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
25347 * Makefile.in: Use a fresh expect if there is one, use runtest
25348 from the src tree if there is one.
25350 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25352 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
25353 next over recursive call. Revise the tests from that point on
25354 (which had been skipped) to match GDB's actual (correct) output.
25356 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
25357 with next over a breakpoint whose condition is false.
25359 * gdb.t00/help.exp: Comment out "help set print" tests just like
25360 (and for same reason as) "help set" test.
25362 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25364 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
25365 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
25367 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25369 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
25370 necessary gdb_target_udi.
25372 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
25374 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
25375 1838 and 2417; they are fixed.
25377 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
25378 gdb.t03/ptype.exp (ptype structure, ptype union):
25379 Remove xfails; the test is looser than when the xfails were added.
25381 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
25382 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
25384 * gdb.t01/run.exp: Only run shell test if isnative.
25386 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
25387 since "run" automatically loads if necessary. Call gdb_target_udi
25388 after the "file" since "file" kills any execution target.
25390 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
25391 GDB. GDB doesn't work that way (not anymore at least) on UDI.
25392 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
25395 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
25397 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
25399 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
25401 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25403 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
25404 properly quoting regexps. This makes the second argument to
25405 demangle a fixed string, which matches the callers, instead of a
25406 shell-style pattern which is what the previous implementation
25407 used. Update some of the callers.
25409 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25411 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
25412 (comib_nullified_tests): Fix typo.
25413 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
25414 strings. No longer expected to fail.
25416 * gdb.disasm/hppa.s (addib_tests): Fix typo.
25417 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
25418 strings. No longer expected to fail.
25420 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
25421 string. No longer expected to fail.
25423 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25425 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
25426 No longer expected to fail.
25428 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
25429 string. No longer expected to fail.
25431 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25433 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
25434 only in the names (I probably got most of them). I was even
25435 generous with some which differed in underscores in names, and
25436 probably missed a few, and I *still* was able to remove almost a
25437 third of the file with almost no impact on testsuite coverage.
25439 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25441 * gdb.t00/default.exp: Match udi_attach error message as well as
25442 the one from child_attach.
25444 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
25446 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
25448 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
25449 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
25451 * Move test with enums and partial symbols back to
25452 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
25453 Reverts the change of 26 May 93. Per today's change to
25454 stabs.texinfo, the behavior that weird.exp was expecting was
25455 unreasonable; what is important is that the compiler+gdb get
25456 things right, which happens with a recent gcc. Also fix the test
25457 to deal with native compilers which put out the stab gdb can't
25460 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25462 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
25463 in the names. The main thing these accomplish is to slow things down.
25464 Many more such duplicates surely remain.
25466 * gdb.t00/help.exp: Comment out "help support" test just like
25467 (and for same reason as) "help set" test.
25469 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
25471 * gdb.t06/break.exp: Remove setup_xfails for
25472 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
25473 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
25474 about known bug in gcc to include up through 2.5.8.
25475 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
25477 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
25478 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
25479 with latest gcc and gdb.
25480 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
25483 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25485 * configure.in (hppa*-*-*): Also configure and build stabs-only
25488 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25490 * gdb.t10/hppa.mt: A makefile fragment for the PA.
25491 * gdb.t10/configure.in (hppa*-*-*): Use it.
25493 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25495 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
25497 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25499 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
25500 versions prior to 1.13.5.
25502 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25504 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
25505 the prompt is at the start of a line.
25507 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
25509 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
25510 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
25511 in the copr tests now.
25512 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
25513 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
25516 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
25518 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
25519 gdb.t31/chillvars.exp, lib/gdb.exp:
25520 Tweak to run under either version of expect.
25521 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
25522 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
25523 * gdb.t11/list.exp: Remove extraneous whitespace.
25525 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25527 * gdb.t16/printcmds.exp (test_print_strings): Accept
25528 "(unsigned char *) " before the string.
25530 * TODO: Add notes about printing of fancy types and GDB expressions.
25532 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
25534 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
25535 * gdb.t06/configure.in: Don't try to compile signals test program
25536 if doing mips-idt-ecoff.
25538 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
25540 * Most .exp files: Tweak to run under either version of expect.
25542 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25544 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
25545 xfails; I'm not sure why they are failing, but not because of PR 1806.
25547 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
25549 * config/unix-gdb.exp: Remove gdb_unload cause it's already
25550 defined in lib/gdb.exp.
25552 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25554 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
25555 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
25556 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
25557 have to be typeless.
25559 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
25561 * TODO: Add suggestion for copyright year test.
25563 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
25565 * configure.in (*-*-lynxos*): Add stabs tests.
25567 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25569 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
25570 so insert a tab before any assembler directive in column zero.
25572 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
25574 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
25576 (fpu_short_memory_tests): Likewise.
25578 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25580 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
25581 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
25582 .stabs directives in comments.
25584 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25586 * TODO: New file, describing tests we could write.
25587 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
25589 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25591 * gdb.t06/signals.exp: Add kludge to force re-sync.
25593 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
25594 to xgdb instead of gdb, get out of gdb.
25596 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
25598 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
25601 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
25603 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
25604 * gdb.stabs/configure.in (hppa*-*-*): Use it.
25605 * gdb.stabs/hppa.sed: New sed script for the PA.
25607 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25609 * gdb.stabs: Re-write weird.def and configuration to use sed
25610 instead of cpp. sed is portable and POSIX; cpp is neither.
25612 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25614 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
25616 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25618 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
25620 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25622 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
25624 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
25625 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
25627 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25629 * lib/gdb.exp: Comment out code which depends on non-existent
25630 `transform' procedure.
25632 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
25634 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
25635 * lib/gdb.exp: Transform tool name.
25636 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
25637 1.1's new error handling system.
25639 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25641 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
25643 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25645 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
25646 They made pattern matching so slow that timeouts happened on
25647 heavily loaded systems. Now any output from "show print" which
25648 gets us back to the GDB prompt is a PASS.
25650 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
25652 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
25654 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25656 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
25658 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
25659 It is not from PR 3220.
25661 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25663 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
25664 just started failing because they depended on the order the
25665 subcommands are presented, or exact docstring text. This kind of
25666 test is a pain and has minimal benefit.
25668 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25670 * gdb.t09/corefile.exp: At end of test, use "core" command with
25673 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
25675 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
25676 17}/Makefile.in: Make it possible to run the testsuite with Sun
25677 make and CC = cross gcc by adding explicit build rules for .o
25680 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25682 * gdb.t15/funcargs.exp: Don't put comments on same line as
25683 setup_xfail (@#$*%& tcl braindamage!).
25685 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25687 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
25689 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
25691 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
25692 * gdb.t20/inherit.exp: remove three dumplicate entries.
25694 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25696 * gdb.t06/break.exp: For "next over recursive call", fail on any
25697 incorrect output, not just on "factorial (value=2)".
25699 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25701 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
25702 working now. Add an xfail if accesing a bss variable causes
25703 a memory error if the target is not yet run.
25705 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25707 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
25708 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
25709 name of __st* demangling (2 strings). Did Kung really get the
25710 more than 95 others right without testing them?
25712 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
25714 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
25716 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
25718 * configure.in (configdirs): Add gdb.disasm
25719 * gdb.disasm: New directory for GDB disassembler tests.
25720 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
25722 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25724 * gdb.t00/help.exp: Don't test "help set".
25726 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
25727 from within expect statements. None of these happen anymore and
25728 they cause regressions to be silently unnoticed.
25730 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
25731 messages) about known failures with gcc cygnus-2.4.5-930417.
25733 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
25734 comp-info.exp so it gets built if it doesn't exist.
25736 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
25737 it is no longer used.
25738 * gdb.t13/comp-info.c: Removed.
25740 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
25742 * gdb.t06/signals.exp: Add xfail for sun3.
25744 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25746 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
25747 relevant because ^C doesn't get sent but failure can be reproduced
25750 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25752 * gdb.stabs/alpha.mt: New configuration file for alpha.
25753 * gdb.stabs/configure.in: Use it.
25754 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
25755 sharing with alpha.mt, redefine long to word via preprocessor.
25756 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
25758 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
25760 * gdb.t00/teststrategy.exp: Change expect string so that we
25761 consume the `(xgdb)' from the command echo and from the gdb prompt.
25762 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
25763 gdb currently compares all values as long, so this failure probably
25764 applies to any configuration where LONGEST is bigger than a target int.
25765 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
25767 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
25768 to handle opaque pointers, gcc is.
25769 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
25770 as first argument. Include <sys/types.h> and change all operator
25771 new definitions to use size_t.
25772 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
25773 now that we use size_t.
25775 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25777 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
25778 a long or float array cast all array members to the same type.
25779 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
25781 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
25783 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
25785 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25787 * gdb.t24 (demangle.exp): Constructors of templates have names like
25788 vector<int>::vector(int) not vector<int>::vector<int>(int). See
25789 section 14.6 of the ARM.
25791 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
25792 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
25793 accomplish little and slow down the testsuite.
25795 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
25796 Accept spaces various places.
25798 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25800 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
25801 with watchpoint enabled.
25803 * Makefile.in: Remove definition of CC and remove the second
25804 definition of CXX (the "CXX = gcc" one remains). These definitions
25805 were causing backquotes to be expanded within backquotes, which
25808 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
25810 * gdb.t17/callfuncs.exp: Add "return 0" to end.
25812 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25814 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
25815 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
25816 by mips cc and contains no stabs entries.
25818 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
25820 * config/vx-gdb.exp: Use fake device to load files rather than
25822 * lib/gdb.exp: New proc to do "file" command.
25823 * config/unix-gdb.exp: Use new "file" proc.
25825 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
25827 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
25828 Rework board rebooting slightly.
25829 (gdb_exit): Don't exit from the remote shell; there isn't one.
25830 * gdb.stabs/weird.exp: If a program is being debugged already,
25832 * gdb.t04/setvar.exp: Stop and restart gdb.
25833 * gdb.t05/expr.exp: Likewise.
25834 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
25835 restart gdb and reload the program.
25836 * gdb.t08/opaque.exp: Likewise.
25837 * gdb.t12/scope.exp: Likewise.
25838 * gdb.t13/bitfields.exp: Likewise.
25839 * gdb.t15/funcargs.exp: Likewise.
25840 * gdb.t20/classes.exp: Likewise.
25841 * gdb.t03/ptype.exp: Increase timeout.
25842 * gdb.t16/printcmds.exp (test_print_string_constants,
25843 test_print_array_constants): Likewise.
25844 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
25845 * gdb.t20/classes.exp (do_tests): Likewise.
25846 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
25848 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
25850 * gdb.stabs: Renamed *wierd* to *weird*.
25852 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25854 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
25855 for timeout. Add "known gcc 2.4.5 bug" to failure message.
25857 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
25859 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
25860 (do_tests): Remove xfail for whatis on one_var and two_var.
25862 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
25864 * Makefile.in: Made cross building work better by adding
25865 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
25867 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25869 * gdb.t15/{return.c,return.exp,Makefile.in}:
25870 New test, currently commented out.
25872 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
25874 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
25875 still running and removes the leftover named socket so GDb can do
25878 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
25880 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
25882 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
25883 cross testing works better with "make check"
25884 * config/unix-gdb: Use default procedures for exit and version.
25885 * config/vx-gdb.exp: Cleaned up and massaged back to working order
25886 with the newest VxWorks.
25888 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25890 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
25893 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
25894 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
25896 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
25898 * config/unix-gdb.exp: Remove this version of gdb_exit
25899 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
25900 Rob says he'll look at it when he gets back to testing boards.
25902 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
25904 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
25905 an expected fail for certain ptype commands.
25907 * gdb.t20/classes.exp: Update expected results of "ptype class
25908 Base1" to account for the constructor that now appears in the type.
25910 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
25912 * configure.in (configdirs): Restore gdb.t04, which mysteriously
25913 disappeared from list.
25914 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
25915 "alldone" proc with call to cleanup and exit.
25916 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
25917 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
25918 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
25919 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
25920 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
25921 "alldone" proc with simple returns that suppress remaining
25922 tests. The alldone proc went away many months ago.
25924 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25926 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
25928 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
25930 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25932 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
25933 as vax gdb will display them.
25935 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25937 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
25940 * scope.exp: Change "bad value for localval" messages so each one
25943 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
25944 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
25946 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
25948 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25950 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
25951 doesn't exist (due to optimization).
25953 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25955 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
25956 contains \r because the filename is long.
25958 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
25959 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
25961 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25963 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
25964 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
25966 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
25968 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
25970 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
25972 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
25974 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
25975 to match does not match the passing case but still matches the
25978 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25980 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
25982 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
25984 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
25985 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
25986 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
25987 Remove various versions of gdb_exit.
25988 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
25990 * config/unix-gdb.exp: gdb_exit remains here, and should override
25991 the generic version, since it's doing a lot of wierd stuff that
25992 the other versions aren't. FIXME, fold it in, or abandon this
25995 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
25997 * gdb.t24/demangle.exp: Add tests for PR 3220.
25999 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26001 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
26003 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
26005 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
26006 "i386-*-*". Works for i486 as well.
26008 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
26009 bug, and expand domain of xfail to all SVR4 systems, since the
26010 actual problem is likely to be in generic SVR4 /proc support.
26012 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26014 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
26016 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
26018 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
26019 xfails for other systems. Match a missing 'Continuing.' as an
26020 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
26022 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
26023 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
26024 Only issue warning for missing executables if -all option is used.
26026 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
26027 file if -all option is used. It's like an unpredictable XFAIL.
26029 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26031 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
26032 for dynamically linked binaries.
26034 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
26036 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26038 * gdb.t20/inherit.exp: Change message for "print tagless struct"
26039 to state that this is a known bug in old versions of g++.
26041 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26043 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
26044 while waiting for `Continuing'.
26046 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
26048 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
26049 in text, data, and bss.
26050 * gdb.t10/nodebug.c: Add local and global test variables for
26051 initialized and uninitialized data.
26053 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26055 * config/unix-gdb.exp (gdb_exit): Add "wait".
26057 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26059 * gdb.t06/signals.exp: xfail the continue from the handler for all
26062 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
26063 function with watchpoints enabled, the i386 call dummy starts with
26066 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
26067 386 bsd names its corefiles.
26069 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
26071 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
26072 compilers don't grok it.
26073 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
26074 with small octal ints rather than character constants, which
26075 are signed and might not fit if first promoted to int.
26077 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
26079 * gdb.t09/Makefile.in (clean): Remove corefile.
26081 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26083 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
26085 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26086 and Jim Kingdon (kingdon@cygnus.com)
26088 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
26089 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
26090 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
26092 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26094 * gdb.t17/interrupt.exp: Add xfail for hppa.
26096 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26098 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
26099 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
26100 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
26101 to determine signed-ness of bitfields and use the result to setup
26103 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
26104 * gdb.t15/funcargs.exp: Use them to step until the second indirect
26105 call line is reached if necessary.
26107 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26109 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
26111 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26113 * gdb.t06/break.exp: Also test `clear' command.
26115 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26117 * gdb.t00/teststrategy.exp: Remove extra quote.
26119 * gdb.t07/watchpoint.exp: Change xfail for calling function with
26120 watchpoint enabled to be for all non-68k machines.
26122 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
26124 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26126 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
26127 targets use aout.mt instead of ecoff.mt as gas understands
26128 standard aout format.
26130 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
26132 * lib/gdb.exp (runto): Don't insist that function we are running to
26133 was compiled with -g.
26135 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
26137 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
26138 to get back into the read system call.
26139 Accept leading newline in case where we woke it up.
26141 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26143 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
26144 to make the stabs test work on ecoff systems using gcc and -with-stabs.
26145 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
26146 enable ecoff configuration.
26148 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26150 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
26152 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26154 * gdb.t16/printcmds.exp: Add another printf test.
26156 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
26158 * configure.in: If configured -with-stabs on any target, add
26159 stabsdirs to configdirs.
26161 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26163 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
26164 fun" so pattern does not match the command itself.
26166 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26168 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
26170 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26172 * gdb.t17/interrupt.exp: Test for more things.
26174 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26176 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
26177 compiler arranges the code and line numbers.
26179 * gdb.t17/interrupt.exp: Don't send \n after ^C.
26181 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26183 * gdb.t00/help.exp: Increase expect input buffer size.
26185 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26187 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
26189 * gdb.t07/watchpoint.exp: Add xfail for hppa.
26191 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
26193 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
26194 [0-9]*, not just [0-9].
26196 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26198 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
26200 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
26202 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26204 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
26206 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26208 * gdb.t06/signals.c: Add xfails for sun3.
26210 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
26212 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
26213 test_stepping tests.
26215 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26217 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
26219 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
26221 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
26222 rather than actually putting it through cpp twice.
26224 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
26226 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
26228 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
26231 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26233 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
26235 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
26236 C++ features prints as "struct", make it a pass, not an xfail.
26238 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26240 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
26241 Don't require VA to print as "class" rather than "struct".
26243 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
26245 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
26247 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26249 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
26251 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26253 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
26256 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26258 * gdb.t16/printcmds.exp: Add printf tests.
26260 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
26262 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
26264 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
26266 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
26267 pass counts, to counteract any existing or future setup_xfails.
26269 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26271 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
26272 {BEGIN,END}_COMMON for common block instead of STAB.
26273 * gdb.stabs/wierd.exp: Add xfail for rs6000.
26275 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
26276 intp_var should be N_GSYM not N_LSYM.
26277 wierd-aout.S: Use a label for the value of the N_SO.
26278 wierd.def: Remove all backslashes.
26279 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
26281 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26283 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
26284 get the expected next to inheritance3.
26286 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26288 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
26289 now that gcc-2.4 gets it right.
26291 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26293 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
26295 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
26296 generating comp-info.exp which works for cross-compilation.
26298 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
26300 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
26303 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
26305 * gdb.t01/run.exp: Start with a fresh gdb.
26306 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
26309 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
26311 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
26312 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
26313 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
26314 Makefile.in (distclean, realclean): Remove gdbme.c from list of
26317 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
26319 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
26320 test cases from bug reports.
26322 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
26324 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
26325 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
26326 avoid spurious xfails.
26327 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
26328 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
26329 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
26331 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
26333 * gdb.t00/teststrategy.exp: Rework to provide more useful
26334 description of each test, fix problem with systems that define
26335 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
26336 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
26337 results for "next over recursive call" so timeouts aren't taken
26340 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
26342 * gdb.t12/scope.exp: Test printing of variables before run.
26344 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
26345 printed in wrong order due to sorting.
26347 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
26349 * gdb.t00/teststrategy.exp: Fix expected results for printing
26350 user entered string constant. Is array of char, prints with no
26353 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
26355 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
26356 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
26357 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
26358 of struct of char arrays.
26359 * gdb.t00/radix.exp: New tests for radix commands.
26361 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
26363 * gdb.t16/printcmd.exp: Print a variable before running program
26364 (with xfail for AIX).
26366 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
26368 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
26370 * gdb.t16/printcmd.exp: Don't print variables before running program.
26372 * gdb.t06/break.exp: Don't require envp argument to main.
26374 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
26376 * gdb.t02/whatis.exp, gdb.t11/list.exp:
26377 Add xfails for rs6000.
26379 * gdb.t02/whatis.exp: Change other tests not to re-test something
26382 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
26383 each type used has a variable of that type.
26385 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
26387 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
26389 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
26391 * configure.in: change srctrigger to be a file, not a directory
26393 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
26395 * configure.in (mips-idt-ecoff*): Added trailing '*'.
26397 * gdb.t11/list.exp: Fixed a couple of typos.
26399 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
26401 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
26402 is fixed and PR is closed.
26403 * gdb.t16 (gdbme.c): Add simple test string variable.
26404 * gdb.t16 (printcmds.exp): Add tests with simple test string
26405 variable, primarily for boundaries on "set print elements".
26407 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
26409 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
26410 Make leading 0's optional and don't expect a tab in the middle
26413 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
26415 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
26416 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
26417 don't end command passed to gdb_test with newline.
26419 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
26420 signed keyword away, don't expect signed bitfields to be signed.
26422 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
26423 printing with only as many 1's as are in the field as well as printing
26424 with 32 1's (see comment).
26426 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
26428 * gdb.t00/default.exp: Start with a fresh gdb.
26429 * configure.in (configdirs): Remove gdb.t31 until the chill
26430 compiler works again. It no longer is able to find chillrt0
26431 since it isn't in libchill.a anymore.
26432 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
26433 wierd.o, make more modular.
26434 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
26435 spurious newlines that caused problems.
26437 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26439 * Move test with enums and partial symbols from gdb.t03/ptype.exp
26440 to gdb.stabs/wierd.exp since GCC has worked around the bug.
26441 gdb.stabs/wierd.{exp,def}: Many new tests.
26443 * gdb.t00/default.exp: update info line for new message.
26445 * gdb.t02/{whatis.exp,gdbme.c}:
26446 Test that "char *" doesn't print as "caddr_t".
26448 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26450 * gdb.t00/help.exp: Use .* in place of some help messages which
26452 gdb.t00/default.exp: Update "info frame" test for new message.
26453 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
26456 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26458 * gdb.t03/{gdbme.c,ptype.exp}:
26459 Add tests for typedef'd struct and union without tags.
26460 Also check "whatis" on a variable of a typedef'd enum without a tag.
26462 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
26463 PRMS 1823; the bug still exists but isn't reproduced by this test
26464 anymore), and remove rs6000 XFAIL (the bug is fixed).
26466 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
26467 duplicated from whatis.exp. For those that are left, accept
26468 "long", "long int", or "int" for long variables (whatis.exp already
26469 has an XFAIL for "int", so no need to fail it here).
26471 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
26472 Deal with GCC's names for types now that GDB uses the compiler's names.
26474 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
26475 setup_xfail's for sunos4. If we #defined the signed keyword away,
26476 don't expect GDB to know that char it is signed.
26478 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
26480 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
26482 * configure.in (configdirs): Add gdb.t24 for C++ tests that
26483 should work on any system, regardless of debugging format.
26484 * gdb.t21/demangle.exp: Move to gdb.t24.
26485 * gdb.t24/demangle.exp: Move from gdb.t21.
26486 * gdb.t24/{Makefile.in, configure.in}: New files.
26488 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26490 * configure.in: Do gdb.stabs and C++ tests only for stabs.
26491 * gdb.stabs: New directory.
26493 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
26495 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
26496 not just "Quit anyway?".
26498 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
26500 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
26501 that all setup_xfails are immediately followed by clear_xfails.
26503 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
26505 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
26506 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
26507 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
26508 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
26509 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
26510 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26511 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26512 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
26513 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
26514 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
26515 gdb.t31/chillvars.exp, lib/gdb.exp:
26516 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
26517 bug-gdb@prep.ai.mit.edu.
26519 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
26521 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
26522 with 0.0, not integer 0.
26524 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
26526 * gdb.t06/break.exp: Update for "Kill the program" message change.
26528 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
26530 * Makefile.in (GDBFLAGS): Set to -nx.
26531 * Makefile.in (site.exp): Use GDBFLAGS.
26533 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26535 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
26537 (check): depend on just-check.
26538 (just-check): added so that tests can be run without a noop
26541 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
26543 Switch to using configure's configdirs.
26544 * Makefile.in (Makefile): add configure.in dependency.
26545 (SUBDIRS): removed redundant assignment.
26546 * configure.in: switch subdirs assignment to configdirs.
26547 * gdb.t*/configure.in: new files.
26549 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
26551 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
26554 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
26556 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
26557 in explicit rules. Apparently this is not supported by some makes.
26559 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
26561 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
26563 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26565 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
26568 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
26570 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
26572 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
26574 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
26575 watchpoint problem that is now fixed.
26576 * gdb.t30/chexp.exp: Remove setup_xfail for printing
26577 uninitialized convenience variables.
26578 * gdb.t31/chillvars.exp: Fix expected patterns for printing
26581 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26583 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
26584 which causes expect to get out of sync with gdb on long output
26586 * gdb.t09/corefile.exp: Make expected pattern for core file
26587 failing signal and frame output format less sun specific.
26589 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
26591 * gdb.t31/chillvars.exp: Add and remove initial dummy
26592 breakpoint, so that symbol table is forced in.
26593 (Needed at least on Sunos4, though it seems not SVR4.)
26594 * gdb.t31/chillvars.exp: Update for changed output format.
26596 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
26598 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
26600 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
26602 * Makefile.in: Added --srcdir when invoking runtest, removed the
26603 need for a local config file. (optional now)
26605 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
26607 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
26608 failure count used to force early termination. Add some more
26609 expected failures for gnu style demangling.
26611 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26613 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
26614 pmi variable from gdb.t20/gdbme to get optimized away.
26615 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
26616 Check for written corefile upon timeout _and_ eof.
26618 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26620 * config/unix-gdb.exp: Add missing return 0.
26622 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26624 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
26627 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
26629 * configure.in (subdirs): Put back gdb.t17 which mysteriously
26632 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
26634 * gdb.t10/crossload.exp: Disable the i860-elf test until such
26635 time as i860 support works.
26637 * gdb.t15/funcargs.exp: Fix expected outputs to include
26638 "backtrace 100\r" rather than just "backtrace\r", to match last
26641 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
26643 * config/udi-gdb.exp (gdb_exit): Remove close command.
26644 (gdb_target_udi): New procedure to set the UDI target.
26645 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
26646 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
26647 Added waits for prompts after several question responses. Added
26648 some more responses used by a29k-amd-udi-gdb.
26649 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
26650 pass different arguments, restart UDI connection after program
26652 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
26653 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
26654 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
26655 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
26656 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
26657 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
26658 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
26659 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
26660 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
26661 after program completion.
26662 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
26663 compiled with a SELECT_VECS setting.
26664 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
26665 infinite recursion.
26667 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
26668 Added checks for COFF results, and made them expected failures for
26669 all targets. It would be better to make them expected failures
26670 for COFF targets only.
26672 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
26674 * Makefile.in: add null dvi target, don't bother to recurse
26675 through test directories for info and install-info; rename
26676 $(datadir) to be dejagnu instead of deja-gnu
26678 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
26680 * gdb.t31/gdbme.ch: Re-enable code that previously caused
26681 compiler to coredump.
26682 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
26685 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
26687 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
26689 * gdb.t31/chillvars.exp: Comment out tests that depend on that
26692 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
26694 * gdb.t03/ptype.exp: tests for return code from gdb_test.
26695 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
26696 which in a shell. Deletes xgdb when done.
26697 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
26698 Tests the return from the "set height" or "set width" commands.
26699 Added a few return codes where needed.
26701 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
26703 * Makefile.in (SUBDIRS): Add gdb.t17.
26704 * configure.in (subdirs): Add gdb.t17.
26705 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
26706 files to test gdb's calling of functions in the inferior with
26707 the correct arguments and gdb's ability to retrieve any
26710 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
26712 * config/unix-gdb.exp (gdb_exit): Remove close commands that
26713 may be called after gdb goes away. Previous versions of expect
26714 needed these to avoid file descriptor leaks, but they cause
26715 errors with the current revision of expect.
26716 * gdb.t00/gdbvars.exp: Use -re on expected output after
26717 setting sevenbit-strings.
26718 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
26719 to set sevenbit-strings consistent across tests.
26720 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
26721 set sevenbit-strings consistent across tests.
26723 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
26725 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
26726 expected output to match current "expect" expectations.
26728 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
26730 * gdb.t00/default.exp: Change expected output for default "source"
26731 command, to match new gdb behavior which requires a filename to
26734 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
26736 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
26737 expected fail for i486-*-* that misses the marker2 function.
26738 * gdb.t10/crossload.exp (bfddefault): Allow successful
26739 recognition of a format to pass even if no symbols are found.
26740 Explicitly catch failures where the format is not recognized
26741 or is ambiguous, and add the reason to the fail message.
26742 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
26743 the cause is and invalid target and add reason to failure message.
26744 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
26745 elf32-i386, elf32-sparc, and elf32-i860.
26746 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
26747 Set up expected failure for 'filename'::variable scope resolution,
26748 which is now apparently broken on all targets.
26749 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
26750 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
26751 gdb.t23/templates.exp: Change failure for missing binfile into
26753 gdb.t21/demangle.exp: Change all cfront references to 'arm'
26756 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
26758 * gdb.t00/default.exp: Add expected output for default "source"
26759 command, to match new gdb behavior.
26760 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
26762 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
26764 * config/*-gdb.exp: returns an error, rather than exiting on
26767 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
26769 * gdb.t03/gdbme.c: Add pointer to struct variable.
26770 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
26771 referencing struct members.
26773 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
26775 * configure.in (mips-idt-ecoff): New target.
26776 * config/mips-gdb.exp: New file for remote board using MIPS remote
26777 debugging protocol.
26779 * Redid configuration scheme. Removed gdb.t*/configure.in.
26780 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
26781 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
26782 distclean targets. Built executables via .o files. Adjusted
26783 tests to account for source files in $(srcdir) rather than
26785 * lib/gdb.exp (runto): Don't expect () after the function name,
26786 because it may have arguments.
26788 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
26790 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
26791 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
26792 expected failures for mips-idt-* and mips-sgi-*.
26793 * gdb.t00/default.exp (attach): Kill process if requested.
26794 * gdb.t00/help.exp (help target core, help target): Accept a gdb
26795 that does not read core files.
26796 * gdb.t01/run.exp: Removed checks for exit status code.
26797 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
26799 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
26800 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
26801 appropriate, rather than doing it by hand.
26802 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
26804 * gdb.t10/crossload.exp: Kill existing program if needed.
26805 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
26806 appropriate, rather than doing it by hand. Always increase
26807 timeout for this test, not just for VxWorks.
26809 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
26811 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
26812 of Chill STRUCT types and STRUCT values.
26813 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
26815 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
26816 struct2): New struct definitions and initializations to test
26817 simple Chill STRUCT types.
26819 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
26821 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
26822 the null byte at the end of strings.
26823 * gdb.t00/default.exp: Make show version insensitive to copyright
26825 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
26826 to avoid dependencies on target char signedness.
26827 * gdb.t16/printcmds.exp: Update expected results for explicitly
26829 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
26831 * gdb.t21/demangle.exp: Add many more patterns for template
26832 demangling, most of them being expected failures.
26833 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
26834 string we are matching for, to match on the whole string.
26835 * gdb.t21/demangle.exp: Add many new test strings to demangle,
26836 and fix a whole bunch that had incorrect expected output but were
26837 passing anyway because of the bug in "proc demangle".
26838 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
26840 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
26842 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
26844 * gdb/testsuite: made modifications to testcases, etc., to allow
26845 them to work properly given the reorganization of deja-gnu and the
26846 relocation of the testcases from deja-gnu to a "tool" subdirectory.
26848 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
26850 * gdb/testsuite: Initial creation of gdb/testsuite.
26851 Migrated dejagnu testcases and support files for testing nm to
26852 gdb/testsuite from deja-gnu. These files were moved "as is"
26853 with no modifications. This migration is part of a major overhaul
26854 of dejagnu. The modifications to these testcases, etc., which
26855 will allow them to work with the new version of dejagnu will be
26856 made in a future update.
26858 For additional changes see gdb.mi/ChangeLog-1999-2003.
26860 ;; Local Variables:
26861 ;; mode: change-log
26864 ;; version-control: never
26867 Copyright 1993-2005, 2012 Free Software Foundation, Inc.
26868 Copying and distribution of this file, with or without modification,
26869 are permitted provided the copyright notice and this notice are preserved.