1 2013-03-25 Tom Tromey <tromey@redhat.com>
3 * gdb.cp/m-static.exp: Add constructor ptype tests.
4 * gdb.cp/m-static.cc (single_constructor): New class.
5 (main): Make instance of single_constructor.
7 2013-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8 Pedro Alves <palves@redhat.com>
10 * gdb.server/server-kill.c: New file.
11 * gdb.server/server-kill.exp: New file.
13 2013-03-21 Pedro Alves <palves@redhat.com>
15 * gdb.trace/trace-buffer-size.exp (get default buffer size):
16 Expect $gdb_prompt in gdb_test_multiple.
18 2013-03-21 Doug Evans <dje@google.com>
20 * gdb.base/maint.exp: Update tests for per-command stats.
22 2013-03-21 Tom Tromey <tromey@redhat.com>
24 * gdb.cp/cpexprs.exp: Add test for FILENAME:: case.
25 * gdb.cp/misc.exp: Add test for FILENAME:: case.
27 2013-03-20 Pedro Alves <palves@redhat.com>
31 * gdb.base/remote.exp: Test
32 "set remote hardware-watchpoint-limit -1",
33 "set remote hardware-breakpoint-limit -1",
34 "set remote hardware-watchpoint-limit 2147483647" and
35 "set remote hardware-breakpoint-limit 2147483647".
37 2013-03-20 Pedro Alves <palves@redhat.com>
38 Yao Qi <yao@codesourcery.com>
40 * gdb.trace/tfile.c: Add comments.
41 (nonconstglob): New global.
42 * gdb.trace/tfile.exp: Add comments. Test printing a non-const
43 global that is not covered by the trace frame. Test
46 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
48 * gdb.base/valgrind-infcall.exp
49 (continue #$continue_count) <remote connection closed>
50 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
53 2013-03-15 Tom Tromey <tromey@redhat.com>
55 * gdb.cp/overload.cc (intintfunc): New.
56 * gdb.cp/overload.exp: Add regression test.
58 2013-03-15 Yao Qi <yao@codesourcery.com>
60 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
61 using with_test_prefix.
62 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
63 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
64 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
65 * gdb.threads/watchpoint-fork.exp (test): Likewise.
66 * gdb.base/break-interp.exp (test_core): Likewise.
67 (test_attach_gdb): Likewise.
68 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
69 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
71 * gdb.base/jit-so.exp (one_jit_test): Likewise.
72 * gdb.base/jit.exp (one_jit_test): Likewise.
73 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
74 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
75 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
76 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
78 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
80 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
81 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
82 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
83 (tracepoint_change_loc_2): Likewise.
84 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
86 (disconnected_tfind): Likewise.
87 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
89 (test_tfind_remote): Likewise.
90 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
92 (test_pending_resolved): Likewise.
93 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
95 (test_upload_tsv): Likewise.
96 * gdb.trace/pending.exp (pending_tracepoint_resolved):
98 (pending_tracepoint_works): Likewise.
99 * gdb.trace/report.exp (use_collected_data): Likewise.
100 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
102 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
103 * gdb.trace/strace.exp (strace_info_marker): Likewise.
104 (strace_trace_on_same_addr): Likewise.
105 (strace_trace_on_diff_addr): Likewise.
106 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
107 (gdb_collect_locals_test): Likewise.
108 (gdb_unavailable_registers_test): Likewise.
109 (gdb_collect_globals_test): Likewise.
111 2013-03-15 Yao Qi <yao@codesourcery.com>
113 * gdb.base/condbreak.exp: Add semicolon back which was removed
114 by my previous commit.
116 2013-03-14 Yao Qi <yao@codesourcery.com>
118 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
120 (gdb_target_monitor, gdb_load): Likewise.
121 * config/sid.exp (gdb_load): Likewise.
122 * config/slite.exp (gdb_load): Likewise.
123 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
124 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
125 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
126 (single_step_until): Likewise.
127 * gdb.arch/powerpc-d128-regs.exp: Likewise.
128 * gdb.arch/system-gcore.exp: Likewise.
129 * gdb.base/bigcore.exp (extract_heap): Likewise.
130 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
131 * gdb.base/call-ar-st.exp: Likewise.
132 * gdb.base/call-rt-st.exp: Likewise.
133 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
134 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
135 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
136 * gdb.base/corefile.exp: Likewise.
137 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
138 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
139 * gdb.base/fixsection.exp: Likewise.
140 * gdb.base/funcargs.exp: Likewise.
141 * gdb.base/gcore-buffer-overflow.exp: Likewise.
142 * gdb.base/gcore-relro.exp: Likewise.
143 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
144 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
145 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
146 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
147 * gdb.base/list.exp: Likewise.
148 (set_listsize): Likewise.
149 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
150 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
151 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
152 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
153 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
154 * gdb.base/setvar.exp: Likewise.
155 (test_set): Likewise.
156 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
157 * gdb.base/solib-overlap.exp: Likewise.
158 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
159 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
160 * gdb.base/watchpoint.exp (initialize): Likewise.
161 (test_simple_watchpoint): Likewise.
162 (test_disabling_watchpoints): Likewise.
163 (test_watchpoint_triggered_in_syscall): Likewise.
164 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
165 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
166 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
167 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
168 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
169 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
170 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
171 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
172 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
173 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
174 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
175 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
176 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
177 * gdb.mi/gdb792.exp: Likewise.
178 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
179 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
180 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
181 * gdb.threads/gcore-thread.exp: Likewise.
182 (load_core): Likewise.
183 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
184 (test_startup, check_control_c): Likewise.
185 * gdb.threads/sigstep-threads.exp: Likewise.
186 * gdb.threads/thread_check.exp: Likewise.
187 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
188 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
189 (set_a_tracepoint, trace_buffer_normal): Likewise.
190 (gdb_trace_circular_tests): Likewise.
191 * gdb.trace/collection.exp: Likewise.
192 * gdb.trace/disconnected-tracing.exp: Likewise.
193 * gdb.trace/infotrace.exp: Likewise.
194 * gdb.trace/mi-traceframe-changed.exp: Likewise.
195 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
196 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
197 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
198 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
199 * gdb.trace/stap-trace.exp: Likewise.
200 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
201 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
202 * gdb.trace/trace-buffer-size.exp: Likewise.
203 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
204 * gdb.trace/unavailable.exp: Likewise.
205 * gdb.trace/while-dyn.exp: Likewise.
206 * lib/fortran.exp (set_lang_fortran): Likewise.
207 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
208 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
209 (default_gdb_start, get_compiler_info): Likewise.
210 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
211 (get_debug_format, setup_xfail_format): Likewise.
212 (rerun_to_main, gdb_skip_float_test): Likewise.
213 (build_id_debug_filename_get, get_remotetimeout): Likewise.
214 * lib/java.exp (set_lang_java): Likewise.
215 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
216 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
217 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
218 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
219 * lib/objc.exp (set_lang_objc): Likewise.
220 * lib/pascal.exp (set_lang_pascal): Likewise.
221 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
222 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
223 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
225 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
229 * gdb.cp/m-static.cc (keepalive_int): New function.
230 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
231 * gdb.cp/m-static.exp: New test for `sintvar'.
233 2013-03-14 Yao Qi <yao@codesourcery.com>
235 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
236 of 'tstatus' into tstatus_output.
237 (top level): Save the trace data to tfile. Read trace file in
238 tfile target. Check the trace status.
240 2013-03-13 Yao Qi <yao@codesourcery.com>
242 * gdb.trace/tsv.exp (check_tsv): New.
243 (top level): Save a tfile on current trace session. Call
244 check_tsv on live target. Load the tfile with target tfile
245 and call check_tsv again.
247 2013-03-13 Yao Qi <yao@codesourcery.com>
249 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
250 Replace some "gdb_test" with "gdb_test_no_output".
252 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
254 * gdb.ada/expr_delims.exp: New file.
255 * gdb.ada/expr_delims/foo.adb: New file.
256 * gdb.ada/expr_delims/pck.ads: New file.
257 * gdb.ada/expr_delims/pck.adb: New file.
259 2013-03-11 Keith Seitz <keiths@redhat.com>
261 * watchpoint.exp (test_no_hw_watchpoints): Add test using
262 both condition and thread. Then delete the watchpoint.
264 2013-03-11 Christian Himpel <christian.himpel@intel.com>
266 * Makefile.in: Add btrace testsuite.
267 * configure: Regenerated.
268 * configure.ac: Add btrace testsuite.
269 * gdb.btrace/Makefile.in: New file.
270 * gdb.btrace/enable.c: New file.
271 * gdb.btrace/enable.exp: New file.
272 * gdb.btrace/function_call_history.c: New file.
273 * gdb.btrace/function_call_history.exp: New file.
274 * gdb.btrace/instruction_history.c: New file.
275 * gdb.btrace/instruction_history.exp: New file.
276 * gdb.btrace/instruction_history.S: New file.
277 * lib/gdb.exp: Add btrace skip proc.
279 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
281 Fix entry-values if the callee called a noreturn function.
282 * gdb.arch/amd64-tailcall-noret.S: New file.
283 * gdb.arch/amd64-tailcall-noret.c: New file.
284 * gdb.arch/amd64-tailcall-noret.exp: New file.
286 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
288 Fix entry-values in C++ across CUs.
289 * gdb.arch/amd64-tailcall-cxx.exp: New file.
290 * gdb.arch/amd64-tailcall-cxx1.S: New file.
291 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
292 * gdb.arch/amd64-tailcall-cxx2.S: New file.
293 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
295 2013-03-08 Stan Shebs <stan@codesourcery.com>
296 Hafiz Abid Qadeer <abidh@codesourcery.com>
299 * gdb.trace/trace-buffer-size.exp: New file.
300 * gdb.trace/trace-buffer-size.c: New file.
302 2013-03-06 Pedro Alves <palves@redhat.com>
304 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
305 doesn't support the tested optional feature, call "unsupported"
306 with the same test message as the "pass" case, instead of calling
307 "pass" with a different message. Use the same text for the "fail"
310 2013-03-06 Yao Qi <yao@codesourcery.com>
312 * gdb.trace/tstatus.exp: Remove the invocation of
313 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
314 (test_tracepoints): Don't set fast tracepoint.
315 (top level): Don't check agent library is loaded or not.
317 2013-03-06 Yao Qi <yao@codesourcery.com>
319 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
322 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
324 * gdb.linespec/base/one/thefile.cc (twodup): New.
326 * gdb.linespec/base/two/thefile.cc (dupname): New.
328 * gdb.linespec/break-ask.exp: New file.
329 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
331 2013-02-28 Yao Qi <yao@codesourcery.com>
333 * gdb.trace/report.exp: Move some code to ...
334 (use_collected_data): New.
335 (top level): Call use_collected_data once on the live target.
336 Save at file of the current trace session, load it with target
337 tfile, and call use_collected_data again.
339 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
341 * gdb.threads/fork-thread-pending.c (main): Add alarm.
343 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
345 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
346 Add final kill of ${valgrind_pid}.
348 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
350 * gdb.python/py-arch.c: New test case
351 * gdb.python/py-arch.exp: New tests to test
352 gdb.Architecture.disassemble
353 * gdb.python/Makefile.in: Add py-arch to the list of
356 2013-02-18 Tom Tromey <tromey@redhat.com>
358 * gdb.dwarf2/subrange.exp: New file.
360 2013-02-15 Pedro Alves <pedro@codesourcery.com>
361 Hafiz Abid Qadeer <abidh@codesourcery.com>
363 * gdb.trace/tfile.exp: Add test for -trace-status command.
365 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
367 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
370 2013-02-14 Pedro Alves <palves@redhat.com>
372 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
374 2013-02-14 Pedro Alves <pedro@codesourcery.com>
375 Hafiz Abid Qadeer <abidh@codesourcery.com>
377 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
379 2013-02-12 Tom Tromey <tromey@redhat.com>
381 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
382 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
384 2013-02-12 Pedro Alves <palves@redhat.com>
386 * gdb.base/catch-signal.c: Update copyright years.
387 * gdb.base/catch-signal.exp: Update copyright years.
388 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
389 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
390 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
391 * gdb.dwarf2/dw2-error.S: Update copyright years.
392 * gdb.dwarf2/dw2-error.c: Update copyright years.
393 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
394 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
395 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
397 2013-02-12 Pedro Alves <palves@redhat.com>
399 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
401 * gdb.base/sigaltstack.exp: Ditto.
402 * gdb.base/siginfo.exp: Ditto.
403 * gdb.base/sizeof.exp: Ditto.
405 2013-02-12 Pedro Alves <palves@redhat.com>
407 * gdb.mi/mi-basics.exp: Tweak intro comment.
408 * gdb.mi/mi-break.exp: Tweak intro comment.
409 * gdb.mi/mi-console.exp: Tweak intro comment.
410 * gdb.mi/mi-file.exp: Tweak intro comment.
411 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
412 * gdb.mi/mi-return.exp: Tweak intro comment.
413 * gdb.mi/mi-stepi.exp: Tweak intro comment.
414 * gdb.mi/mi-until.exp: Tweak intro comment.
415 * gdb.mi/mi-watch.exp: Tweak intro comment.
417 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
419 * gdb.server/no-thread-db.exp: New file.
420 * gdb.server/no-thread-db.c: New file.
421 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
423 2013-02-11 Doug Evans <dje@google.com>
425 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
428 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
430 * gdb.base/bitfields.c (struct internalvartest): New declaration.
431 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
433 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
435 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
437 2013-02-06 Yao Qi <yao@codesourcery.com>
439 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
441 (test_create_delete_modify_tsv): ... here. New test on modifying
442 the initial value of a tsv.
444 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
446 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
447 (cd .../rdir): ... here.
449 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
451 * gdb.linespec/base/one/header.h: New file.
452 * gdb.linespec/base/two/header.h: New file.
453 * gdb.linespec/macro-relative.c: New file.
454 * gdb.linespec/macro-relative.exp: New file.
456 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
458 * gdb.base/fullpath-expand-func.c: New file.
459 * gdb.base/fullpath-expand.c: New file.
460 * gdb.base/fullpath-expand.exp: New file.
461 * gdb.base/realname-expand-real.c: New file.
462 * gdb.base/realname-expand.c: New file.
463 * gdb.base/realname-expand.exp: New file.
465 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
467 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
468 * gdb.dwarf2/dw2-dir-file-name.c: New file.
470 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
472 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
473 (compare_filenames_for_search does not match)
474 (compare_filenames_for_search does match): New tests.
476 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
478 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
480 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
482 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
484 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
486 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
487 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
488 ${binfile}.mini_debuginfo-debuglink and
489 ${binfile}.mini_debuginfo-debuglink.xz.
491 2013-02-01 Tom Tromey <tromey@redhat.com>
493 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
496 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
497 Tom Tromey <tromey@redhat.com>
499 * gdb.dwarf2/method-ptr.exp: Link with c++.
500 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
502 2013-01-31 Tom Tromey <tromey@redhat.com>
504 * gdb.base/jit.exp (compile_jit_test): New proc.
507 2013-01-31 Tom Tromey <tromey@redhat.com>
509 * gdb.dwarf2/method-ptr.cc: New file.
510 * gdb.dwarf2/method-ptr.exp: New file.
512 2013-01-31 Tom Tromey <tromey@redhat.com>
514 * lib/dwarf.exp (namespace Dwarf): New.
516 2013-01-29 Tom Tromey <tromey@redhat.com>
518 * gdb.dwarf2/fission-reread.exp: Add unload test.
520 2013-01-28 Doug Evans <dje@google.com>
522 * gdb.dwarf2/fission-loclists.exp: New file.
523 * gdb.dwarf2/fission-loclists.S: New file.
525 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
528 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
529 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
530 and prepare_for_testing.
531 * gdb.base/store.exp: Likewise.
533 2013-01-25 Tom Tromey <tromey@redhat.com>
535 * gdb.python/py-explore.exp: Expect the gdb prompt.
537 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
539 * gdb.base/gnu_vector.c: New variable for use in tests.
540 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
541 changes in scalar to vector casting and widening.
542 * gdb.python/py-type.c: New variables for use in tests.
543 * gdb.python/py-type.exp: Update vector related tests to reflect
544 changes in scalar to vector casting and widening.
546 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
548 * gdb.base/prologue-include.c: New file.
549 * gdb.base/prologue-include.exp: New file.
550 * gdb.base/prologue-include.h: New file.
552 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
555 * gdb.mi/mi-var-block.exp: Make test messages unique.
557 2013-01-23 Tom Tromey <tromey@redhat.com>
559 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
561 2013-01-23 Tom Tromey <tromey@redhat.com>
563 * gdb.cp/converts.cc (main): Initialize 'a'.
565 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
567 * testsuite/gdb.python/frame.exp: Add a test for
568 gdb.Frame.architecture() method.
570 2013-01-22 Pedro Alves <palves@redhat.com>
572 * gdb.base/annota1.exp (signal sent): No longer expect
574 * gdb.cp/annota2.exp (continue until exit)
575 (watch triggered on a.x): Ditto.
577 2013-01-22 Pedro Alves <palves@redhat.com>
579 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
580 Adjust tests to breakpoints-invalid changes.
581 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
583 Adjust tests to breakpoints-invalid changes.
585 2013-01-22 Pedro Alves <palves@redhat.com>
587 * gdb.base/annota1.exp (annotate ignore count change): Add
588 expected output for failure case.
590 2013-01-22 Tom Tromey <tromey@redhat.com>
592 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
595 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
597 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
598 * gdb.mi/mi-catch-load.exp: Ditto.
599 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
600 Also handle 'thread' field.
601 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
602 * gdb.mi/mi-watch.exp: Ditto.
603 * lib/mi-support.exp: Ditto.
605 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
607 * gdb.python/py-explore.exp: Improve a test
609 2013-01-18  David Blaikie  <dblaikie@gmail.com>
611 * gdb.base/label.c (main): Correct the type of the second
614 2013-01-18 Tom Tromey <tromey@redhat.com>
616 * gdb.dwarf2/trace-crash.s: New file.
617 * gdb.dwarf2/trace-crash.exp: New file.
619 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
622 * gdb.base/checkpoint.exp: Update test messages to make them
625 2013-01-18 Yao Qi <yao@codesourcery.com>
627 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
628 output of 'info tracepoints'.
629 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
631 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
632 * gdb.trace/disconnected-tracing.c (struct foo): New.
634 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
636 * gdb.dwarf2/dw2-dos-drive.S: New file.
637 * gdb.dwarf2/dw2-dos-drive.exp: New file.
639 2013-01-17 Doug Evans <dje@google.com>
641 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
644 * boards/cc-with-tweaks.exp: New file.
646 2013-01-17 Tom Tromey <tromey@redhat.com>
648 * gdb.base/completion.exp: Add "set cp-abi" completion test.
650 2013-01-17 Pedro Alves <palves@redhat.com>
652 Merge dg-extract-results.sh from upstream (svn 195224).
654 2013-01-15 David Blaikie <dblaikie@gmail.com>
655 * dg-extract-results.sh: Fix order of summary counts.
657 2013-01-15 David Blaikie <dblaikie@gmail.com>
658 * dg-extract-results.sh: Constrain the start-of-log pattern.
660 2013-01-15 David Blaikie <dblaikie@gmail.com>
661 * dg-extract-results.sh: Handle KPASSes.
663 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
664 * dg-extract-results.sh: Redirect grep output to /dev/null instead
667 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
669 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
671 * gdb.base/jithost.c: New file.
672 * gdb.base/jithost.h: New file.
673 * gdb.base/jitreader.c : New file.
674 * gdb.base/jit-protocol.h: New file.
676 2013-01-16 Tom Tromey <tromey@redhat.com>
678 * gdb.base/catch-signal.c: New file.
679 * gdb.base/catch-signal.exp: New file.
681 2013-01-16 Tom Tromey <tromey@redhat.com>
683 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
685 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
687 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
689 2013-01-14 Tom Tromey <tromey@redhat.com>
691 * gdb.base/completion.exp: Add "set gnutarget" test.
693 2013-01-14 Tom Tromey <tromey@redhat.com>
695 * gdb.dwarf2/dw2-restrict.S: New file.
696 * gdb.dwarf2/dw2-restrict.c: New file.
697 * gdb.dwarf2/dw2-restrict.exp: New file.
699 2013-01-14 Tom Tromey <tromey@redhat.com>
701 * gdb.dwarf2/dw2-error.exp: New file.
702 * gdb.dwarf2/dw2-error.c: New file.
703 * gdb.dwarf2/dw2-error.S: New file.
705 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
707 * gdb.cp/parse-lang.cc: New file.
708 * gdb.cp/parse-lang.exp: New file.
710 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
712 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
713 (set substitute-path): New test.
714 (fullname present): Remove content.
715 (substituted fullname): New test.
717 2013-01-13 Joel Brobecker <brobecker@adacore.com>
719 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
720 check. Move $gdb_py_is_py24 value check right after.
722 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
724 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
727 2013-01-11 Yao Qi <yao@codesourcery.com>
729 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
731 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
732 Check the fields in "=breakpoint-created" for dprintf.
734 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
736 * gdb.mi/mi-fullname-deleted.exp: New file.
738 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
740 * gdb.base/skip-solib.exp (info skip with pending file): Update the
742 (info skip with pending file): Remove.
743 (ignoring function in solib, info skip for function multiply): Update
745 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
746 (info skip (delete 1), info skip after disabling all)
747 (info skip after enabling all, info skip after disabling 4 2-3)
748 (info skip after enabling 2-3, info skip 2-3)
749 (info skip after deleting 2 3): Update the expected output.
750 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
751 statement to its initialization and return.
752 * gdb.linespec/skip-two.exp: New file.
754 2012-12-19 Doug Evans <dje@google.com>
756 * gdb.base/maint.exp: Handle testing with .gdb_index.
758 2012-12-19 Joel Brobecker <brobecker@adacore.com>
760 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
763 2012-12-19 Joel Brobecker <brobecker@adacore.com>
765 * dg-extract-results.sh: Update contact info in copyright notice.
766 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
767 GPL v3 or later. Update contact info.
768 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
769 gdb.threads/watchpoint-fork-mt.c,
770 gdb.threads/watchpoint-fork-parent.c,
771 gdb.threads/watchpoint-fork-st.c,
772 gdb.threads/watchpoint-fork.h: Likewise.
774 2012-12-15 Yao Qi <yao@codesourcery.com>
776 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
777 'installed' field in '=breakpoint-modified'.
778 (test_reconnect): Check 'installed' field in
779 '=breakpoint-modified' and '=breakpoint-created'.
781 * gdb.trace/actions.exp: Update test for 'installed' field.
782 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
783 (tracepoint_change_loc_2): Likewise.
784 Check 'info tracepoint' display nothing else.
785 * gdb.trace/deltrace.exp: Likewise.
786 * gdb.trace/infotrace.exp: Likewise.
787 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
789 * gdb.trace/passcount.exp: Likewise.
790 * gdb.trace/tracecmd.exp: Likewise.
791 * gdb.trace/while-stepping.exp: Likewise.
793 2012-12-14 Tom Tromey <tromey@redhat.com>
795 * gdb.cp/member-name.exp: New file.
796 * gdb.cp/member-name.cc: New file.
798 2012-12-14 Tom Tromey <tromey@redhat.com>
800 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
802 2012-12-14 Doug Evans <dje@google.com>
804 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
805 DW_OP_GNU_implicit_pointer is section-relative.
807 2012-12-14 Tom Tromey <tromey@redhat.com>
809 * gdb.base/info-proc.exp: Add core file tests.
811 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
813 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
815 2012-12-13 Doug Evans <dje@google.com>
817 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
818 * gdb.multi/multi-arch.exp: Ditto.
820 2012-12-12 Keven Boell <keven.boell@intel.com>
822 * gdb.mi/mi-catch-load-so.c: New. Clone of the
823 catch load test library source file.
824 * gdb.mi/mi-catch-load.c: New. Clone of the catch
825 load test source file.
826 * gdb.mi/mi-catch-load.exp: New. Test file for
827 basic MI -catch-load and -catch-unload tests.
829 2012-12-11 Paul Koning <paul_koning@dell.com>
831 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
833 (_iterator_except): New function.
834 (ArrayPrinter): Use _iterator function instead of local _iterator
835 class for Python 3 compatibility.
836 (NoStringContainerPrinter): Use _iterator_except instead of
838 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
839 execfile for Python 3 compatibility.
840 * gdb.python/python.exp: Handle Python 2.4 exception traceback
841 format in error_prompt test.
843 2012-12-10 Paul Koning <paul_koning@dell.com>
845 * gdb.base/charset.exp: Change print syntax for Python 3
847 * gdb.python/py-block.exp: Ditto.
848 * gdb.python/py-breakpoint.exp: Ditto.
849 * gdb.python/py-cmd.exp: Ditto.
850 * gdb.python/py-events.py: Ditto.
851 * gdb.python/py-finish-breakpoint.py: Ditto.
852 * gdb.python/py-finish-breakpoint2.exp: Ditto.
853 * gdb.python/py-finish-breakpoint2.py: Ditto.
854 * gdb.python/py-frame-inline.exp: Ditto.
855 * gdb.python/py-frame.exp: Ditto.
856 * gdb.python/py-infthread.exp: Ditto.
857 * gdb.python/py-objfile.exp: Ditto.
858 * gdb.python/py-parameter.exp: Ditto.
859 * gdb.python/py-progspace.exp: Ditto.
860 * gdb.python/py-prompt.exp: Ditto.
861 * gdb.python/py-symbol.exp: Ditto.
862 * gdb.python/py-symtab.exp: Ditto.
863 * gdb.python/py-template.exp: Ditto.
864 * gdb.python/py-value-cc.exp: Ditto.
865 * gdb.python/python.exp: Ditto.
866 * gdb.python/source2.py: Ditto.
867 * gdb.python/lib-types.exp: Change print syntax for Python 3
869 Use sorted() function rather than sort() method.
870 Accept either int or long values for enum values.
871 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
872 execfile for Python 3 compatibility.
873 * gdb.python/py-evsignal.exp: Ditto.
874 * gdb.python/py-evthreads.exp: Ditto.
875 * gdb.python/py-mi.exp: Ditto.
876 * gdb.python/py-pp-maint.exp: Ditto.
877 * gdb.python/py-prettyprint.exp: Ditto.
878 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
879 Python 3 compatibility.
880 Skip tests for Python 2.4.
881 * gdb.python/py-inferior.exp: Change print syntax for
882 Python 3 compatibility.
883 Use byte string rather than character string in memory write test
885 * gdb.python/py-pp-maint.py: Change class declarations to "new
887 * gdb.python/py-prettyprint.py: Change iterator class to generator
888 function for Python 3 compatibility.
889 Make all classes "new style".
890 Fix indentation issue and stray semicolon.
891 * gdb.python/py-shared.expChange print syntax for Python 3
893 Define "long" if Python 3.
894 * gdb.python/py-type.exp: Change print syntax for Python 3
896 Accept either int or long values for enum values.
897 * gdb.python/py-value.exp: Change print syntax for Python 3
899 Skip "long" and "unicode" tests if Python 3.
900 Accept either "type" or "class" in type checks.
901 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
902 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
904 2012-12-10 Tom Tromey <tromey@redhat.com>
906 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
907 (test): Add "two_cu" argument.
908 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
909 for types; allow two CUs.
911 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
913 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
914 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
916 2012-12-08 Yao Qi <yao@codesourcery.com>
917 Pedro Alves <palves@redhat.com>
919 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
920 '=breakpoint-created' when GDB merges the tracepoints of both
923 2012-12-07 Tom Tromey <tromey@redhat.com>
925 * gdb.base/break1.c (enum some_enum, union some_union): New.
926 (some_enum_global, some_union_global, some_value): New globals.
927 * gdb.base/completion.exp: Add tag completion tests.
929 2012-12-07 Tom Tromey <tromey@redhat.com>
931 * gdb.base/completion.exp: Add tests for ptype and whatis
934 2012-12-07 Joel Brobecker <brobecker@adacore.com>
936 * gdb.base/stale-infcall.exp: Fix copyright line.
938 2012-12-07 Joel Brobecker <brobecker@adacore.com>
940 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
942 2012-12-06 Pedro Alves <palves@redhat.com>
943 Tom Tromey <tromey@redhat.com>
945 * gdb.base/exprs.exp: Add tests for cast to void.
947 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
949 * gdb.python/py-mi.exp: Correct expected results for attribute
950 "dynamic" returned by -var-update.
951 Add test case for correct handling of "diplayhint" for children
953 * gdb.python/py-prettyprint.c (set_itme): New function.
954 (bug_14741) New function.
955 (main) Add call to bug_14741().
956 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
958 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
960 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
961 ${binfile}.funcsyms list.
963 2012-12-04 Yao Qi <yao@codesourcery.com>
966 * gdb.trace/actions.exp: Make test messages unique.
968 2012-11-29 Tom Tromey <tromey@redhat.com>
970 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
972 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
974 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
975 * gdb.opencl/datatypes.exp: Likewise.
976 * gdb.opencl/operators.exp: Likewise.
977 * gdb.opencl/vec_comps.exp: Likewise.
979 2012-11-29 Jerome Guitton <guitton@adacore.com>
981 * gdb.ada/iwide: New testcase.
983 2012-11-29 Jerome Guitton <guitton@adacore.com>
985 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
988 2012-11-29 Jerome Guitton <guitton@adacore.com>
990 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
991 form {VARIANT_TYPE}ADDRESS.
993 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
995 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
996 (func): New function.
997 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
998 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
999 pointers to members with pointer-to-function type.
1001 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1002 Tom Tromey <tromey@redhat.com>
1004 * gdb.base/gnu-debugdata.exp: New file.
1005 * gdb.base/gnu-debugdata.c: New file.
1006 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
1007 (gdb_unload): Return 0 on success.
1009 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1011 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
1013 2012-11-26 Joel Brobecker <brobecker@adacore.com>
1015 * gdb.base/empty_exe.exp: New testcase.
1017 2012-11-20 Mike Frysinger <vapier@gentoo.org>
1019 * gdb.base/completion.exp: Add test for help aliases completion.
1021 2012-11-20 Yao Qi <yao@codesourcery.com>
1023 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
1024 Don't test 'maint set show-debug-regs'.
1025 Use command 'set remotecache' instead of
1026 'set circular-trace-buffer'.
1028 2012-11-16 Keith Seitz <keiths@redhat.com>
1031 * gdb.cp/baseenum.cc: New file.
1032 * gdb.cp/baseenum.exp: New file.
1033 * gdb.cp/derivation.cc (A): Add copyright.
1035 (B): Use A::value_type instead of int. Change all references.
1036 (D): Use value_type instead of int. Change all references.
1041 (N, Base, Derived): New namespace and classes.
1042 (main): Add instances of Z and ZZ.
1043 Make sure all symbols from N are kept.
1044 * gdb.cp/derivation.exp: Update typedef changes in tests.
1045 Add tests for class typedefs both before and after starting
1047 Add tests for searching for a typedef while stopped in a
1050 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
1052 * gdb.mi/mi-var-create-rtti.c: New file.
1053 * gdb.mi/mi-var-create-rtti.exp: New file.
1055 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
1057 * gdb.base/structs3.exp: Run to main before doing any tests.
1059 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
1061 * gdb.python/py-type.exp: Uniquify test names.
1063 2012-11-14 Yao Qi <yao@codesourcery.com>
1065 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1066 (thread_function) [DEBUG]: Call 'printf'.
1067 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1068 command line if 'DEBUG=1' is passed to test.
1069 Remove a pattern to match inferior's output.
1071 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1073 * gdb.mi/mi-fill-memory.exp: New test.
1075 2012-11-12 Tom Tromey <tromey@redhat.com>
1077 * gdb.base/completion.exp: Update for "info type-printers".
1078 * gdb.python/py-typeprint.cc: New file.
1079 * gdb.python/py-typeprint.exp: New file.
1080 * gdb.python/py-typeprint.py: New file.
1082 2012-11-12 Tom Tromey <tromey@redhat.com>
1084 * gdb.base/call-sc.exp: Use "ptype/r".
1085 * gdb.base/volatile.exp: Don't expect "int".
1086 * gdb.cp/ptype-flags.cc: New file.
1087 * gdb.cp/ptype-flags.exp: New file.
1088 * gdb.cp/templates.exp: Use ptype/r.
1089 (test_ptype_of_templates, test_template_typedef): Likewise.
1090 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1091 argument. Handle template names and template parameters.
1092 * gdb.mi/mi-var-cmd.exp: Accept "long".
1093 * gdb.mi/mi-var-child.exp: Accept "long".
1094 * gdb.mi/mi-var-display.exp: Accept "long".
1095 * gdb.mi/mi2-var-child.exp: Accept "long".
1097 2012-11-12 Tom Tromey <tromey@redhat.com>
1099 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1100 "ptype" from calls to cp_test_ptype_class.
1101 (test_enums): Likewise.
1102 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1103 cp_test_ptype_class.
1104 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1105 calls to cp_test_ptype_class.
1106 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1107 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1108 from calls to cp_test_ptype_class.
1109 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1110 command here. Change "in_command" argument to "in_exp".
1112 2012-11-10 Keith Seitz <keiths@redhat.com>
1115 * gdb.base/printcmds.c: Add invalid_XXX globals
1116 for repeated byte tests.
1117 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1118 * gdb.base/wchar.c (main): Add and construct a wchar_t
1119 array with repeated characters.
1120 * gdb.base/wchar.exp: Add repeated character tests.
1122 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
1124 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1127 2012-11-09 Pedro Alves <palves@redhat.com>
1131 * gdb.multi/multi-arch-exec.c: New file.
1132 * gdb.multi/multi-arch-exec.exp: New file.
1134 2012-11-09 Yao Qi <yao@codesourcery.com>
1136 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1137 (top level): Call it.
1139 2012-11-09 Yao Qi <yao@codesourcery.com>
1141 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1144 2012-11-09 Pedro Alves <palves@redhat.com>
1146 * gdb.multi/multi-arch.exp: New.
1148 2012-11-08 Tom Tromey <tromey@redhat.com>
1150 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1151 core files, if possible.
1152 * gdb.base/siginfo-thread.c: New file
1153 * gdb.base/siginfo-thread.exp: New file
1155 2012-11-08 Tom Tromey <tromey@redhat.com>
1157 * gdb.base/comprdebug.exp: New file.
1159 2012-11-06 Pedro Alves <palves@redhat.com>
1163 * gdb.base/disabled-location.c: New file.
1164 * gdb.base/disabled-location.exp: New file.
1166 2012-11-06 Tom Tromey <tromey@redhat.com>
1168 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1169 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1171 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1172 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1173 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1174 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1175 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1176 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1177 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1178 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1179 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1181 2012-11-05 Pedro Alves <palves@redhat.com>
1183 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1185 (do_vfork_and_follow_child_tests_exec)
1186 (do_vfork_and_follow_child_tests_exit): Call it.
1188 2012-11-05 Pedro Alves <palves@redhat.com>
1190 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1193 2012-11-03 Yao Qi <yao@codesourcery.com>
1196 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1197 Remove setup_kfail, and update test.
1199 2012-11-02 Tom Tromey <tromey@redhat.com>
1201 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1204 2012-11-02 Pedro Alves <palves@redhat.com>
1208 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1210 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1213 2012-11-02 Pedro Alves <palves@redhat.com>
1215 * gdb.base/foll-vfork-exit.c: New file.
1216 * gdb.base/foll-vfork.exp (top level): New file-describing
1218 (vfork_child_follow_to_exit): New procedure.
1219 (tcatch_vfork_then_child_follow): Rename as ...
1220 (tcatch_vfork_then_child_follow_exec): ... this.
1221 (tcatch_vfork_then_child_follow_exit): New procedure.
1222 (do_vfork_and_follow_parent_tests): New procedure, factored out
1223 from do_vfork_and_exec_tests.
1224 (do_vfork_and_follow_child_tests_exec): Ditto.
1225 (do_vfork_and_exec_tests): Delete.
1226 (do_vfork_and_follow_child_tests_exit): New procedure.
1227 (top level): Run tests with both the program that has the vfork
1228 child execing, and the program has the vfork child exiting.
1230 2012-11-02 Pedro Alves <palves@redhat.com>
1232 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1233 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1234 (vfork_parent_follow_to_bp): Call it.
1235 (kill_child): Delete.
1236 (vfork_and_exec_child_follow_to_main_bp)
1237 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1238 longer call kill_child.
1239 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1240 (do_vfork_and_exec_tests): Don't runto_main before calling each
1242 (top level): Don't clean restart and set verbose before running
1243 each test procedure.
1245 2012-11-02 Pedro Alves <palves@redhat.com>
1247 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1248 (vfork_parent_follow_to_bp)
1249 (vfork_and_exec_child_follow_to_main_bp)
1250 (vfork_and_exec_child_follow_through_step)
1251 (tcatch_vfork_then_parent_follow)
1252 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1253 Use with_test_prefix.
1255 2012-11-02 Pedro Alves <palves@redhat.com>
1257 * gdb.base/foll-vfork.c: Add copyright header.
1258 * gdb.base/vforked-prog.c: Add copyright header.
1260 2012-11-02 Pedro Alves <palves@redhat.com>
1262 * gdb.base/foll-vfork.exp
1263 (vfork_and_exec_child_follow_through_step): Don't skip on
1264 non-HP/UX targets. Expect the next to only step one line on
1265 non-HP/UX targets, rather than stopping only after the exec.
1267 2012-11-02 Pedro Alves <palves@redhat.com>
1269 Don't hard code line numbers.
1271 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1272 Expect text from the sources instead of a line number.
1273 (vfork_parent_follow_to_bp)
1274 (vfork_and_exec_child_follow_to_main_bp)
1275 (vfork_and_exec_child_follow_through_step)
1276 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1277 Use gdb_get_line_number.
1279 2012-11-02 Pedro Alves <palves@redhat.com>
1283 * gdb.base/foll-vfork.exp: Use standard_testfile and
1284 build_executable. Pass descriptive string to untested.
1285 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1286 (vfork_and_exec_child_follow_to_main_bp)
1287 (vfork_and_exec_child_follow_through_step)
1288 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1289 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1290 of send_gdb/gdb_expect.
1292 (kill_child): New procedure.
1293 (vfork_and_exec_child_follow_to_main_bp)
1294 (vfork_and_exec_child_follow_through_step): Use it.
1296 2012-11-02 Yao Qi <yao@codesourcery.com>
1298 * gdb.base/setvar.exp: Test setting nested struct.
1299 * gdb.base/setvar.c (v_struct3): New.
1301 2012-11-01 Doug Evans <dje@google.com>
1303 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1304 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1307 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
1310 * gdb.base/gnu_vector.c (union_with_vector_1)
1311 (struct_with_vector_1): Add new struct and union for testing
1313 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1314 structs / unions containing vectors.
1316 2012-10-25 Yao Qi <yao@codesourcery.com>
1318 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1319 'setup_kfail' instead of 'setup_kfail_for_target'.
1320 * gdb.base/varargs.exp: Likewise.
1321 * lib/gdb.exp (setup_kfail_for_target): Remove.
1323 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1325 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1327 2012-10-25 Mark Kettenis <kettenis@gnu.org>
1329 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1331 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1333 * gdb.ada/set_wstr: New testcase.
1335 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1337 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1339 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1341 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1343 2012-10-24 Mark Kettenis <kettenis@gnu.org>
1345 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1347 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1349 * gdb.base/callfuncs.exp (do_function_calls): Fix
1350 setup_kfail_for_target for -m32 mode.
1352 2012-10-23 Mark Kettenis <kettenis@gnu.org>
1354 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1357 2012-10-23 Yao Qi <yao@codesourcery.com>
1359 * gdb.base/info-os.exp: Resume the inferior until it exits.
1361 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1363 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1364 * gdb.base/print-file-var.exp: Likewise.
1365 * gdb.base/type-opaque.exp: Likewise.
1367 2012-10-17 Yao Qi <yao@codesourcery.com>
1369 * gdb.mi/mi-memory-changed.exp: New.
1371 2012-10-16 Yao Qi <yao@codesourcery.com>
1373 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1375 Call gdb_load_shlibs.
1376 * gdb.reverse/solib-reverse.exp: Likewise.
1378 2012-10-15 Keith Seitz <keiths@redhat.com>
1380 * lib/cp-support.exp (cp_test_ptype_class): Add support
1383 * gdb.cp/derivation.exp: Add tests for g_instance.
1385 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1387 Fix entry values resolving in inlined frames.
1388 * gdb.arch/amd64-entry-value-inline.S: New file.
1389 * gdb.arch/amd64-entry-value-inline.c: New file.
1390 * gdb.arch/amd64-entry-value-inline.exp: New file.
1392 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1393 Doug Evans <dje@google.com>
1395 Fix recent gdb_breakpoint regression.
1396 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1397 braces from the parameter.
1398 * gdb.java/jprint.exp: Likewise.
1400 2012-10-15 Doug Evans <dje@google.com>
1402 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1404 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1406 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1408 2012-10-15 Tom Tromey <tromey@redhat.com>
1410 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1412 2012-10-15 Tom Tromey <tromey@redhat.com>
1414 * gdb.python/py-symbol.exp: Test symbol destructor.
1416 2012-10-14 Yao Qi <yao@codesourcery.com>
1418 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1419 * gdb.mi/mi-cli.exp: New.
1421 * gdb.mi/mi2-basics.exp: Remove.
1422 * gdb.mi/mi2-break.exp: Remove.
1423 * gdb.mi/mi2-console.exp: Remove.
1424 * gdb.mi/mi2-disassemble.exp: Remove.
1425 * gdb.mi/mi2-eval.exp: Remove.
1426 * gdb.mi/mi2-file.exp: Remove.
1427 * gdb.mi/mi2-hack-cli.exp: Remove.
1428 * gdb.mi/mi2-pthreads.exp: Remove.
1429 * gdb.mi/mi2-read-memory.exp: Remove.
1430 * gdb.mi/mi2-regs.exp: Remove.
1431 * gdb.mi/mi2-return.exp: Remove.
1432 * gdb.mi/mi2-simplerun.exp: Remove.
1433 * gdb.mi/mi2-stack.exp: Remove.
1434 * gdb.mi/mi2-stepi.exp: Remove.
1435 * gdb.mi/mi2-syn-frame.exp: Remove.
1436 * gdb.mi/mi2-until.exp: Remove.
1437 * gdb.mi/mi2-watch.exp: Remove.
1438 * gdb.mi/mi2-var-block.exp: Remove.
1439 * gdb.mi/mi2-var-cmd.exp: Remove.
1440 * gdb.mi/mi2-var-display.exp: Remove.
1442 2012-10-12 Yao Qi <yao@codesourcery.com>
1444 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1445 trail '.*' on matching patterns.
1447 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1449 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1450 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1451 * gdb.arch/i386-disp-step.exp: Likewise.
1452 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1453 * gdb.arch/i386-prologue.exp: Likewise.
1454 * gdb.arch/i386-size-overlap.exp: Likewise.
1455 * gdb.arch/i386-size.exp: Likewise.
1456 * gdb.arch/i386-unwind.exp: Likewise.
1458 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1460 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1461 * gdb.arch/i386-word.exp: Likewise.
1463 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1465 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1466 is_ilp32_target to set nr_regs.
1467 * gdb.arch/i386-sse.exp: Likewise.
1469 2012-10-11 Doug Evans <dje@google.com>
1471 PR breakpoints/14643.
1472 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
1473 * gdb.linespec/thread.c: New file.
1474 * gdb.linespec/thread.exp: New file.
1476 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
1477 Recognize "message" -> print pass and fail. Add eof case.
1478 (runto): Recognize message, no-message. Print pass/fail if requested,
1479 with same treatment as gdb_breakpoint.
1480 (runto_main): Pass no-message to runto.
1481 (gdb_internal_error_resync): Add log message.
1482 (gdb_file_cmd): Tweak internal error fail text for consistency.
1484 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1486 Fix crash during stepping on ppc32.
1487 * gdb.base/step-symless.c: New file.
1488 * gdb.base/step-symless.exp: New file.
1490 2012-10-03 Doug Evans <dje@google.com>
1493 * gdb.cp/using-crash.exp: New file.
1494 * gdb.cp/using-crash.cc: New file.
1496 2012-10-02 Doug Evans <dje@google.com>
1498 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
1500 (runto,gdb_debug_format): Ditto.
1501 (gdb_file_cmd): Watch for eof in nested gdb_expect.
1502 Clean up logging and error messages.
1504 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
1506 Test find command on unmapped memory.
1507 * gdb.base/find-unmapped.c: New file.
1508 * gdb.base/find-unmapped.exp: New file.
1510 2012-09-29 Yao Qi <yao@codesourcery.com>
1512 * gdb.trace/mi-tracepoint-changed.exp: New.
1513 * gdb.mi/mi-breakpoint-changed.exp: New.
1514 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
1515 * gdb.mi/pendshr2.c: New.
1517 2012-09-28 Yao Qi <yao@codesourcery.com>
1519 * gdb.mi/pr11022.exp: New.
1520 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1522 2012-09-27 Tom Tromey <tromey@redhat.com>
1524 * gdb.cp/derivation.exp: Add regression test.
1525 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1527 (vderived): New global.
1529 2012-09-26 Tom Tromey <tromey@redhat.com>
1531 * gdb.dwarf2/dw2-common-block.S: New file.
1532 * gdb.dwarf2/dw2-common-block.exp: New file.
1534 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1536 * gdb.fortran/common-block.exp: New file.
1537 * gdb.fortran/common-block.f90: New file.
1539 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
1541 * gdb.base/duplicate-bp.c: New file.
1542 * gdb.base/duplicate-bp.exp: New file.
1544 2012-09-26 Yao Qi <yao@codesourcery.com>
1546 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1549 2012-09-21 Yao Qi <yao@codesourcery.com>
1551 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1553 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1555 * gdb.base/longest-types.c: New test case.
1556 * gdb.base/longest-types.exp: New test case.
1558 2012-09-25 Yao Qi <yao@codesourcery.com>
1560 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1562 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1564 Fix internal error on canonicalization of clang types.
1565 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1566 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1567 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1569 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1571 Fix disassemble without parameters in tailcall frame.
1572 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1574 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
1576 * gdb.dwarf2/dw2-op-out-param.S: New file.
1577 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1579 2012-09-21 Yao Qi <yao@codesourcery.com>
1581 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1583 2012-09-21 Yao Qi <yao@codesourcery.com>
1585 * gdb.mi/mi-cli.exp: Remove.
1586 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1588 2012-09-21 Yao Qi <yao@codesourcery.com>
1590 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1591 "=record-started" notification.
1593 2012-09-21 Yao Qi <yao@codesourcery.com>
1595 * gdb.mi/mi-record-changed.exp: New.
1596 * gdb.mi/mi-reverse.exp: Adjust expected output.
1598 2012-09-20 Tom Tromey <tromey@redhat.com>
1600 * gdb.python/python.exp: Test atexit.register.
1602 2012-09-20 Doug Evans <dje@google.com>
1604 * boards/dwarf4-gdb-index.exp: New file.
1606 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1607 while running the tests.
1609 2012-09-18 Joel Brobecker <brobecker@adacore.com>
1611 * gdb.ada/bp_reset: New testcase.
1613 2012-09-18 Yao Qi <yao@codesourcery.com>
1615 * gdb.trace/mi-tsv-changed.exp: New.
1617 2012-09-18 Yao Qi <yao@codesourcery.com>
1619 * gdb.trace/mi-traceframe-changed.exp: New.
1621 2012-09-17 Yao Qi <yao@codesourcery.com>
1623 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1624 when it is less than 0.
1626 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1629 * gdb.arch/amd64-tailcall-ret.S: New file.
1630 * gdb.arch/amd64-tailcall-ret.c: New file.
1631 * gdb.arch/amd64-tailcall-ret.exp: New file.
1632 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1633 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1634 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1636 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1639 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1640 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1641 * gdb.reverse/singlejmp-reverse.S: New file.
1642 * gdb.reverse/singlejmp-reverse.c: New file.
1643 * gdb.reverse/singlejmp-reverse.exp: New file.
1645 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1647 Fix compatibility with old GCC (~4.1).
1648 * gdb.cp/converts.cc (my_enum_var): New variable.
1650 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
1652 * gdb.xml/tdesc-regs.exp: Update expected output for new
1653 vector_size syntax of vector types.
1655 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1657 Refactor Python "gdb" module into a proper Python package, by
1658 introducing a new "_gdb" module for code implemented in C, and
1659 using reload/__import__ instead of exec.
1660 * gdb.python/python.exp (Test stderr location): Update module
1661 location of GDB-specific sys.stderr.
1662 (Test stdout location): Ditto for sys.stdout.
1664 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1666 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1668 2012-09-12 Keith Seitz <keiths@redhat.com>
1670 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1671 conversion statement.
1673 2012-09-12 Doug Evans <dje@google.com>
1675 * gdb.base/help.exp: Remove testing of individual command help text,
1676 too much of a maintenance burden. Instead, test the functionality
1679 2012-09-11 Doug Evans <dje@google.com>
1681 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1684 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1685 * gdb.dwarf2/fission-reread.S: Ditto.
1686 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1687 * gdb.dwarf2/fission-reread.exp: Ditto.
1689 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
1691 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1693 2012-09-10 Joel Brobecker <brobecker@adacore.com>
1695 * gdb.ada/optim_drec: New testcase.
1697 2012-09-10 Doug Evans <dje@google.com>
1699 * boards/fission.exp: Explicitly mark "board" as not remote.
1701 2012-09-10 Keith Seitz <keiths@redhat.com>
1704 * gdb.cp/converts.cc (A::A): Add ctor.
1705 (A::member_): Add member.
1706 (enum my_enum): New enumeration.
1707 (main): Add calls to foo1_7 with various
1708 permitted arguments.
1709 * gdb.cp/converts.exp: Add tests for boolean
1710 conversions permitted by the standard.
1712 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1714 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1715 avoid spurious results due to ~/.gdbinit.
1716 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1717 $INTERNAL_GDBFLAGS in run command.
1718 * gdb.gdb/observer.exp (setup_test): Ditto.
1719 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1720 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1722 2012-09-06 Doug Evans <dje@google.com>
1724 * boards/fission.exp: New file.
1726 * gdb.python/py-value.exp: Use clean_restart.
1728 2012-09-05 Doug Evans <dje@google.com>
1730 * gdb.base/info-macros.c: Fix whitespace.
1732 2012-08-28 Pedro Alves <palves@redhat.com>
1736 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1738 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1740 * gdb.base/break-caller-line.c: New file.
1741 * gdb.base/break-caller-line.exp: New file.
1743 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1745 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1746 * gdb.arch/i386-cfi-notcurrent.S: New file.
1747 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1749 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
1750 Yao Qi <yao@codesourcery.com>
1751 Pedro Alves <palves@redhat.com>
1753 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1755 (top level): Add overlap checking tests.
1757 2012-08-24 Tom Tromey <tromey@redhat.com>
1759 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1760 gdb_test_multiple fails for other reasons.
1762 2012-08-24 Yao Qi <yao@codesourcery.com>
1764 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1766 2012-08-23 Pedro Alves <palves@redhat.com>
1768 * gdb.base/help.exp: Adjust to "handle" help text change.
1770 2012-08-23 Yao Qi <yao@codesourcery.com>
1772 * gdb.trace/disconnected-tracing.c (start, end): New.
1773 (main): Call start and end.
1774 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1775 existing tests into this proc.
1776 (disconnected_tfind): New.
1778 2012-08-23 Yao Qi <yao@codesourcery.com>
1780 * boards/native-gdbserver.exp (${board}_upload): New.
1781 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1782 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1783 Execute tfile on remote target.
1784 Copy trace file from target to host.
1786 2012-08-22 Joseph Myers <joseph@codesourcery.com>
1788 * gdb.arch/thumb-bx-pc.S: New file.
1789 * gdb.arch/thumb-bx-pc.exp: New file.
1791 2012-08-22 Tom Tromey <tromey@redhat.com>
1793 * gdb.base/maint.exp: Update.
1795 2012-08-22 Tom Tromey <tromey@redhat.com>
1797 * lib/gdb.exp (skip_unwinder_tests): New proc.
1798 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1799 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1801 2012-08-21 Tom Tromey <tromey@redhat.com>
1803 * gdb.hp/gdb.aCC/exception.exp: Remove.
1805 012-08-19 Andrew Pinski <apinski@cavium.com>
1807 * gdb.arch/mips-octeon-bbit.c: New file.
1808 * gdb.arch/mips-octeon-bbit.exp: New Test.
1810 012-08-19 Keith Seitz <keiths@redhat.com>
1813 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1814 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1816 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1818 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1819 verbose -log by more specific untested call.
1821 2012-08-18 Yao Qi <yao@codesourcery.com>
1823 * gdb.trace/tfind.exp: Move tests on various command help before
1824 checking target supports trace.
1825 Fix the expected output of 'help tfind end'.
1827 2012-08-17 Keith Seitz <keiths@redhat.com>
1830 * gdb.base/default.exp: Update all "check type" tests.
1831 * gdb.base/help.exp: Likewise.
1832 * gdb.base/setshow.exp: Likewise.
1833 * gdb.cp/converts.cc (foo1_type_check): New function.
1834 (foo2_type_check): New function.
1835 (foo3_type_check): New function.
1836 (main): Call new functions.
1837 * converts.exp: Add tests for integer-to-pointer conversions
1838 with/without strict type-checking.
1840 2012-08-16 Mike Frysinger <vapier@gentoo.org>
1842 * gdb.base/help.exp: Update expected output.
1844 2012-08-16 Joel Brobecker <brobecker@adacore.com>
1846 * gdb.ada/rdv_wait: New testcase.
1848 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1850 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1852 2012-08-13 Doug Evans <dje@google.com>
1854 * gdb.base/help.exp: Update expected output.
1855 * gdb.base/default.exp: Update expected output of "show convenience".
1857 2012-08-10 Doug Evans <dje@google.com>
1859 * gdb.python/py-strfns.c: New file.
1860 * gdb.python/py-strfns.exp: New file.
1861 * gdb.python/py-type.exp (test_fields): Add vector tests.
1863 2012-08-10 Mike Frysinger <vapier@gentoo.org>
1866 * gdb.base/completion.exp: Add tests for handle completion.
1868 2012-08-09 Yao Qi <yao@codesourcery.com>
1870 * gdb.mi/mi-cmd-param-changed.exp: New.
1871 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
1872 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
1873 * gdb.mi/mi2-prompt.exp: Likewise.
1875 2012-08-08 Doug Evans <dje@google.com>
1877 * gdb.base/debug-expr.c: New file.
1878 * gdb.base/debug-expr.exp: New file.
1879 * gdb.base/exprs.exp: Test {type} casts.
1880 * gdb.cp/debug-expr.exp: New file.
1882 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1884 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
1885 global variable loop, not a 'break'. Add loop count limit to 100.
1886 Add new fail case for terminated vgdb.
1888 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1889 Jean-Marc Saffroy <saffroy@gmail.com>
1892 * gdb.base/gcore-relro.exp: New file.
1893 * gdb.base/gcore-relro-main.c: New file.
1894 * gdb.base/gcore-relro-lib.c: New file.
1896 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1898 Do not false FAIL with old GCCs.
1899 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
1900 GCC < 4.5 in $no_hw mode.
1902 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1904 * gdb.base/default.exp (cd): Accept new directory with no arguments.
1906 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1908 * gdb.base/list.exp (test_only_end): New function.
1911 2012-08-06 Tom Tromey <tromey@redhat.com>
1913 * gdb.python/py-mi.exp: Add test for printer whose children
1915 * gdb.python/py-prettyprint.c (struct children_as_list): New.
1916 (main): New variable children_as_list.
1917 * gdb.python/py-prettyprint.py (class pp_children_as_list):
1919 (register_pretty_printers): Register new printer.
1921 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1923 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
1924 symbols. Abort if vgdb remote connection is closed.
1926 2012-08-02 Doug Evans <dje@google.com>
1928 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
1930 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
1932 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
1933 s390x, PowerPC 64 and m68k-linux.
1935 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1937 * gdb.base/annota1.exp: Accept no frames-invalid notification
1938 when starting up the program.
1939 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
1940 show a symbolic value as well.
1941 * gdb.server/server-exec-info.exp: Skip test when skipping
1942 gdbserver test and/or when skipping shared library tests.
1943 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
1944 avoid name conflicts with other tests.
1946 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1948 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
1949 Fix wrong output on big-endian systems.
1950 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
1951 4-byte pointer types on 64-bit s390x.
1953 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1955 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
1956 marker comment at the beginning (after intialization).
1957 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
1958 breakpoint on marker comment instead of function begin.
1959 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
1961 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
1963 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
1964 gdb,no_hardware_watchpoints flag is set.
1965 (initialize): Remove now redundant can-use-hw-watchpoints change.
1967 2012-08-02 Yao Qi <yao@codesourcery.com>
1968 Pedro Alves <palves@redhat.com>
1970 * boards/local-remote-host.exp: New.
1972 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1974 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
1975 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
1976 * gdb.base/print-file-var.exp: Likewise.
1977 * gdb.server/solib-list.exp: Skip on remote targets.
1979 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1981 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
1982 watchpoints on ARM. When expecting software watchpoints, tolerate
1983 (remote) targets that report unsupported hardware watchpoint only
1985 (test_wide_location_2): Likewise.
1987 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1989 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
1992 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1994 * gdb.base/valgrind-infcall.c: New file.
1995 * gdb.base/valgrind-infcall.exp: New file.
1997 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
1999 2012-07-30 Keith Seitz <keiths@redhat.com>
2001 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
2004 2012-07-30 Doug Evans <dje@google.com>
2006 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
2007 * gdb.dwarf2/pr13961.S: Ditto.
2009 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
2011 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
2013 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
2014 change its format immediately after reloading the binary.
2016 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2018 Fix testsuite regression after --use-deprecated-index-sections removal.
2019 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
2021 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
2023 2012-07-27 Yao Qi <yao@codesourcery.com>
2025 KFAIL for PR remote/14161.
2026 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
2027 Cleanup socket files.
2028 (strace_info_marker): Detach inferior.
2030 2012-07-26 Tom Tromey <tromey@redhat.com>
2032 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
2034 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
2036 * gdb.python/py-inferior.c (thread): New function.
2037 (check_threads): New function.
2038 (test_threads): New function.
2039 * gdb.python/py-inferior.exp: Added test.
2040 Replaced runto with continue to breakpoint.
2042 2012-07-26 Tom Tromey <tromey@redhat.com>
2044 * lib/ada.exp (standard_ada_testfile): New proc.
2045 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2046 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2047 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2048 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2049 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2050 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2051 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2052 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2053 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2054 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2055 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2056 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2057 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2058 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2059 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2060 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2061 * gdb.ada/complete.exp: Use standard_ada_testfile.
2062 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2063 standard_output_file.
2064 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2065 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2066 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2067 standard_output_file.
2068 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2069 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2070 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2071 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2072 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2073 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2074 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2075 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2076 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2077 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2078 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2079 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2080 * gdb.ada/interface.exp: Use standard_ada_testfile.
2081 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2082 standard_output_file
2083 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2084 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2085 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2086 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2087 * gdb.ada/nested.exp: Use standard_ada_testfile.
2088 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2089 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2090 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2091 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2092 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2093 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2094 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2095 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2096 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2097 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2098 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2099 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2100 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2101 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2102 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2103 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2104 * gdb.ada/start.exp: Use standard_ada_testfile.
2105 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2106 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2107 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2108 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2109 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2110 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2111 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2112 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2113 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2114 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2115 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2116 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2117 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2118 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2120 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2122 Fix testsuite regression after --use-deprecated-index-sections removal.
2123 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2125 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2127 Fix compatibility with Tcl before 7.5.
2128 * lib/future.exp (lreverse): New function if it does not exist.
2130 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2132 * gdb.mi/mi-pending.c: New method to set a second pending
2134 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2137 2012-07-20 Pedro Alves <palves@redhat.com>
2142 * gdb.threads/create-fail.c: New file.
2143 * gdb.threads/create-fail.exp: New file.
2145 2012-07-19 Pedro Alves <palves@redhat.com>
2147 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2148 * config/vx.exp (gdb_start): Likewise.
2149 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2150 * gdb.base/setvar.exp (test_set): Likewise.
2151 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2152 * gdb.reverse/sigall-precsave.exp: Likewise.
2153 * gdb.reverse/sigall-reverse.exp: Likewise.
2155 2012-07-19 Pedro Alves <palves@redhat.com>
2157 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2158 handler before recording.
2160 2012-07-19 Tom Tromey <tromey@redhat.com>
2162 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2163 * gdb.cp/casts.cc (decltype): New function.
2166 2012-07-19 Pedro Alves <palves@redhat.com>
2168 * gdb.base/sigall.exp (signals): New list.
2169 <top level>: Loop over signals in the $signals list instead of
2170 calling a test function once per signal.
2171 * gdb.reverse/sigall-precsave.exp (signals): New list.
2172 <top level>: Loop over signals in the $signals list instead of
2173 calling a test function once per signal.
2174 * gdb.reverse/sigall-reverse.exp (signals): New list.
2175 <top level>: Loop over signals in the $signals list instead of
2176 calling a test function once per signal.
2178 2012-07-19 Yao Qi <yao@codesourcery.com>
2180 * gdb.base/setshow.exp: Test 'set args ~'.
2182 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2184 * gdb.base/store.exp (check_set): Import gdb_prompt.
2185 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2186 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2188 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2191 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2192 (main): Call eval_sub.
2193 * gdb.python/py-prettyprint.exp:
2194 (python execfile ('py-prettyprint.py')): Move it earlier.
2195 New breakpoint for eval-break.
2196 (continue to breakpoint: eval-break, info locals): New test.
2197 (python execfile ('py-prettyprint.py')): Move it from here.
2198 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2199 (register_pretty_printers): Register pp_eval_type.
2201 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2203 Fix a testcase regression by me.
2204 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2207 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2208 Doug Evans <dje@google.com>
2210 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2211 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2213 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2215 Fix gdbserver run regression.
2216 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2218 2012-07-12 Tom Tromey <tromey@redhat.com>
2220 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2221 (clean_restart): Likewise.
2222 (core_find): Use standard_output_file.
2224 2012-07-12 Tom Tromey <tromey@redhat.com>
2226 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2227 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2228 prepare_for_testing_full.
2229 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2230 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2231 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2232 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2233 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2234 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2235 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2236 prepare_for_testing_full.
2237 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2238 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2239 prepare_for_testing_full.
2240 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2241 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2242 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2244 2012-07-12 Tom Tromey <tromey@redhat.com>
2246 * lib/gdb.exp (build_executable_from_specs): New proc, from
2248 (build_executable): Use it.
2249 (prepare_for_testing_full): New proc.
2251 2012-07-11 Tom Tromey <tromey@redhat.com>
2253 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2254 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2255 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2256 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2257 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2258 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2259 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2260 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2261 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2262 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2264 2012-07-10 Tom Tromey <tromey@redhat.com>
2266 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2267 standard_output_file.
2268 * gdb.mi/gdb2549.exp: Use standard_testfile.
2269 * gdb.mi/gdb669.exp: Use standard_testfile.
2270 * gdb.mi/gdb701.exp: Use standard_testfile.
2271 * gdb.mi/gdb792.exp: Use standard_testfile.
2272 * gdb.mi/mi-async.exp: Use standard_testfile.
2273 * gdb.mi/mi-basics.exp: Use standard_testfile.
2274 * gdb.mi/mi-break.exp: Use standard_testfile.
2275 * gdb.mi/mi-cli.exp: Use standard_testfile.
2276 * gdb.mi/mi-console.exp: Use standard_testfile.
2277 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2278 * gdb.mi/mi-eval.exp: Use standard_testfile.
2279 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2280 * gdb.mi/mi-file.exp: Use standard_testfile.
2281 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2282 * gdb.mi/mi-logging.exp: Use standard_testfile.
2283 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2284 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2285 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2286 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2287 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2288 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2289 * gdb.mi/mi-pending.exp: Use standard_testfile,
2290 standard_output_file.
2291 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2292 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2293 * gdb.mi/mi-regs.exp: Use standard_testfile.
2294 * gdb.mi/mi-return.exp: Use standard_testfile.
2295 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2296 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2297 * gdb.mi/mi-solib.exp: Use standard_testfile,
2298 standard_output_file.
2299 * gdb.mi/mi-stack.exp: Use standard_testfile.
2300 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2301 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2302 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2303 * gdb.mi/mi-until.exp: Use standard_testfile.
2304 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2305 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2306 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2307 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2308 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2309 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2310 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2311 standard_output_file.
2312 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2313 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2314 * gdb.mi/mi-watch.exp: Use standard_testfile.
2315 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2316 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2317 * gdb.mi/mi2-break.exp: Use standard_testfile.
2318 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2319 * gdb.mi/mi2-console.exp: Use standard_testfile.
2320 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2321 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2322 * gdb.mi/mi2-file.exp: Use standard_testfile.
2323 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2324 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2325 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2326 * gdb.mi/mi2-return.exp: Use standard_testfile.
2327 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2328 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2329 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2330 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2331 * gdb.mi/mi2-until.exp: Use standard_testfile.
2332 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2333 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2334 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2335 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2336 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2338 2012-07-10 Tom Tromey <tromey@redhat.com>
2340 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2341 * gdb.cp/ambiguous.exp: Use standard_testfile,
2342 prepare_for_testing.
2343 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2344 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2345 * gdb.cp/anon-ns.exp: Use standard_testfile.
2346 * gdb.cp/anon-struct.exp: Use standard_testfile.
2347 * gdb.cp/anon-union.exp: Use standard_testfile,
2348 prepare_for_testing.
2349 * gdb.cp/arg-reference.exp: Use standard_testfile,
2350 prepare_for_testing.
2351 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2352 * gdb.cp/breakpoint.exp: Use standard_testfile,
2353 prepare_for_testing.
2354 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2355 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2356 standard_output_file.
2357 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2358 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2359 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2360 (test_static_members): Update.
2361 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2362 * gdb.cp/converts.exp: Use standard_testfile.
2363 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2364 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2365 prepare_for_testing.
2366 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2367 * gdb.cp/cplabel.exp: Use standard_testfile.
2368 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2369 prepare_for_testing.
2370 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2371 * gdb.cp/derivation.exp: Use standard_testfile,
2372 prepare_for_testing.
2373 * gdb.cp/destrprint.exp: Use standard_testfile.
2374 * gdb.cp/dispcxx.exp: Use standard_testfile.
2375 * gdb.cp/exception.exp: Use standard_testfile,
2376 prepare_for_testing.
2377 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2378 * gdb.cp/extern-c.exp: Use standard_testfile,
2379 prepare_for_testing.
2380 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2381 prepare_for_testing.
2382 * gdb.cp/fpointer.exp: Use standard_testfile.
2383 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2384 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2385 standard_output_file.
2386 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2387 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2388 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2389 standard_output_file.
2390 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2392 * gdb.cp/koenig.exp: Use standard_testfile.
2393 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2394 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2395 * gdb.cp/m-static.exp: Use standard_testfile,
2396 prepare_for_testing.
2397 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2398 * gdb.cp/mb-inline.exp: Use standard_testfile,
2399 prepare_for_testing.
2400 * gdb.cp/mb-templates.exp: Use standard_testfile,
2401 prepare_for_testing.
2402 * gdb.cp/member-ptr.exp: Use standard_testfile,
2403 prepare_for_testing.
2404 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2405 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2406 * gdb.cp/method2.exp: Use standard_testfile.
2407 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2408 standard_output_file.
2409 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2411 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2412 prepare_for_testing.
2413 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2414 prepare_for_testing.
2415 * gdb.cp/namespace.exp: Use standard_testfile,
2416 prepare_for_testing.
2417 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2418 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2419 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2420 * gdb.cp/nsimport.exp: Use standard_testfile,
2421 prepare_for_testing.
2422 * gdb.cp/nsnested.exp: Use standard_testfile.
2423 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2424 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2425 prepare_for_testing.
2426 * gdb.cp/nsstress.exp: Use standard_testfile,
2427 prepare_for_testing.
2428 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2429 * gdb.cp/operator.exp: Use standard_testfile.
2430 * gdb.cp/oranking.exp: Use standard_testfile.
2431 * gdb.cp/overload-const.exp: Use standard_testfile.
2432 * gdb.cp/overload.exp: Use standard_testfile,
2433 prepare_for_testing.
2434 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2435 * gdb.cp/ovsrch.exp: Use standard_testfile.
2436 * gdb.cp/paren-type.exp: Use standard_testfile.
2437 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2438 prepare_for_testing.
2439 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2440 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2441 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2442 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2443 * gdb.cp/pr10728.exp: Use standard_testfile,
2444 standard_output_file.
2445 * gdb.cp/pr12028.exp: Use standard_testfile.
2446 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2447 * gdb.cp/pr9167.exp: Use standard_testfile.
2448 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2449 * gdb.cp/printmethod.exp: Use standard_testfile,
2450 prepare_for_testing.
2451 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2452 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2453 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2454 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2455 standard_output_file.
2456 * gdb.cp/readnow-language.exp: Use standard_testfile.
2457 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2458 (gdb_start_again): Use clean_restart.
2459 * gdb.cp/ref-types.exp: Use standard_testfile,
2460 prepare_for_testing.
2461 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2462 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2463 * gdb.cp/smartp.exp: Use standard_testfile.
2464 * gdb.cp/static-method.exp: Use standard_testfile.
2465 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2466 * gdb.cp/temargs.exp: Use standard_testfile.
2467 * gdb.cp/templates.exp: Use standard_testfile,
2468 prepare_for_testing.
2470 * gdb.cp/try_catch.exp: Use standard_testfile,
2471 prepare_for_testing.
2472 * gdb.cp/typedef-operator.exp: Use standard_testfile.
2473 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
2474 * gdb.cp/virtbase.exp: Use standard_testfile,
2475 prepare_for_testing.
2476 * gdb.cp/virtfunc.exp: Use standard_testfile,
2477 prepare_for_testing.
2479 * gdb.cp/virtfunc2.exp: Use standard_testfile,
2480 prepare_for_testing.
2482 2012-07-10 Tom Tromey <tromey@redhat.com>
2484 * lib/gdb.exp (standard_testfile): Unset output variables from
2485 earlier invocations.
2487 2012-07-10 Yao Qi <yao@codesourcery.com>
2489 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
2490 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
2491 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
2492 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
2493 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
2494 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
2495 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
2496 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
2497 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
2498 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
2499 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
2500 * gdb.mi/mi-var-display.exp: Likewise.
2501 * gdb.mi/mi-var-invalidate.exp: Likewise.
2502 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
2503 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
2504 * gdb.mi/mi2-console.exp: Likewise.
2505 * gdb.mi/mi2-disassemble.exp: Likewise.
2506 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
2507 * gdb.mi/mi2-read-memory.exp: Likewise.
2508 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
2509 * gdb.mi/mi2-simplerun.exp: Likewise.
2510 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
2511 * gdb.mi/mi2-syn-frame.exp: Likewise.
2512 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
2513 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
2514 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
2516 2012-07-09 Tom Tromey <tromey@redhat.com>
2518 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2519 * gdb.base/callfuncs.exp: Add cast-based test.
2520 * gdb.base/callfuncs.c (voidfunc): New function.
2522 2012-07-08 Doug Evans <dje@google.com>
2524 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2526 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2528 Fix XFAIL compatibility with old i386 systems.
2529 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2530 Check also 'Cannot insert breakpoint 0'.
2532 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2536 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2538 2012-07-06 Tom Tromey <tromey@redhat.com>
2540 * gdb.base/whatis.exp: Add test.
2542 2012-07-06 Tom Tromey <tromey@redhat.com>
2544 * gdb.base/whatis.exp: Add regression test.
2546 2012-07-06 Tom Tromey <tromey@redhat.com>
2548 * gdb.base/whatis.exp: Add tests.
2550 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2553 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2554 gdb_test_multiple $gdb_prompt terminator.
2556 2012-07-04 Pedro Alves <palves@redhat.com>
2558 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2559 supports_process_record.
2561 2012-07-04 Pedro Alves <palves@redhat.com>
2563 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2565 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2567 2012-07-03 Stan Shebs <stan@codesourcery.com>
2569 * gdb.base/info-os.c (main): Retry resource acquisition until an
2570 available one is found.
2571 * gdb.base/info-os.exp: Collect resource keys from the program
2572 and use them in matching.
2574 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2576 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2577 Wrap the test into loop for corefile and core0file.
2579 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2581 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2582 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2585 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2587 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2589 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2590 break): Include help message for the new `-probe' and `-probe-stap'
2593 2012-07-02 Stan Shebs <stan@codesourcery.com>
2595 * gdb.base/dprintf.exp: Add agent style tests.
2597 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2599 * gdb.base/stale-infcall.c (infcall): New label test-next.
2600 (main): New labels test-pass and test-fail.
2601 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2602 $test_fail_bpnum to test-fail.
2603 (test system longjmp tracking support): New test.
2604 Delete $test_fail_bpnum.
2605 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2608 2012-06-30 Doug Evans <dje@google.com>
2610 * gdb.dwarf2/fission-reread.S: New file.
2611 * gdb.dwarf2/fission-reread.exp: New file.
2613 2012-06-28 Stan Shebs <stan@codesourcery.com>
2615 * gdb.mi/mi-logging.exp: New file.
2617 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2618 Pedro Alves <palves@redhat.com>
2620 * gdb.threads/siginfo-threads.exp: New file.
2621 * gdb.threads/siginfo-threads.c: New file.
2622 * gdb.threads/sigstep-threads.exp: New file.
2623 * gdb.threads/sigstep-threads.c: New file.
2625 2012-06-28 Tom Tromey <tromey@redhat.com>
2627 * gdb.go/package.exp: Partially revert earlier patch; use
2628 gdb_compile again. Use standard_output_file.
2630 2012-06-27 Doug Evans <dje@google.com>
2632 * gdb.dwarf2/fission-base.c: New file.
2633 * gdb.dwarf2/fission-base.S: New file.
2634 * gdb.dwarf2/fission-base.exp: New file.
2636 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2638 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2640 2012-06-27 Tom Tromey <tromey@redhat.com>
2642 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2643 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2645 2012-06-27 Tom Tromey <tromey@redhat.com>
2647 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2648 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2649 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2650 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2651 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2652 prepare_for_testing.
2653 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2654 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2655 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2657 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2658 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2659 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2660 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2661 prepare_for_testing.
2662 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2663 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2664 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2665 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2666 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2667 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2668 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2669 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2670 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2671 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2672 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2673 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2674 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2675 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2676 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2677 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2678 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2679 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2680 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2681 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2682 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2683 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2684 standard_output_file.
2685 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2686 standard_output_file.
2687 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2688 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2689 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2690 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2691 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2692 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2693 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2694 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2695 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2696 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2697 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2698 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2699 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2700 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2701 * gdb.dwarf2/valop.exp: Use standard_testfile,
2702 prepare_for_testing.
2704 2012-06-27 Tom Tromey <tromey@redhat.com>
2706 * gdb.python/python.exp: Fix regexps in pagination tests.
2708 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2710 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2711 'last' of gdb.Symtab_and_line.
2712 * gdb.python/py-symbol.c: Move break point comment to enable
2713 testing of gdb.Symtab_and_line.last.
2715 2012-06-26 Tom Tromey <tromey@redhat.com>
2717 * gdb.threads/step.c: Remove.
2718 * gdb.threads/step.exp: Remove.
2719 * gdb.threads/step2.exp: Remove.
2721 2012-06-26 Tom Tromey <tromey@redhat.com>
2723 * gdb.threads/watchpoint-fork.exp (test): Use
2724 standard_output_file. Don't declare objdir.
2725 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2726 standard_output_file.
2727 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2728 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2729 clean_restart. Remove incdir.
2730 * gdb.threads/corethreads.exp: Use standard_testfile.
2731 * gdb.threads/execl.exp: Use standard_testfile,
2732 standard_output_file, clean_restart.
2733 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2735 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2737 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2739 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2740 clean_restart. Remove incdir.
2741 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2742 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2743 clean_restart. Remove incdir.
2744 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2746 * gdb.threads/leader-exit.exp: Use standard_testfile.
2747 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2748 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2750 * gdb.threads/manythreads.exp: Use standard_testfile,
2751 clean_restart. Remove incdir.
2752 * gdb.threads/multi-create.exp: Use standard_testfile,
2754 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2755 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2756 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2757 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2758 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2759 * gdb.threads/pending-step.exp: Use standard_testfile,
2760 clean_restart. Remove incdir.
2761 * gdb.threads/print-threads.exp: Use standard_testfile,
2762 clean_restart. Remove incdir.
2763 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2764 clean_restart. Remove incdir.
2765 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2767 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2769 * gdb.threads/sigthread.exp: Use standard_testfile,
2771 * gdb.threads/staticthreads.exp: Use standard_testfile,
2772 clean_restart. Remove incdir.
2773 * gdb.threads/switch-threads.exp: Use standard_testfile,
2774 clean_restart. Remove incdir.
2775 * gdb.threads/thread-execl.exp: Use standard_testfile,
2776 clean_restart. Remove incdir.
2777 * gdb.threads/thread-find.exp: Use standard_testfile,
2779 * gdb.threads/thread-specific.exp: Use standard_testfile,
2780 clean_restart. Remove incdir.
2781 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2782 clean_restart. Remove incdir.
2783 * gdb.threads/thread_check.exp: Use standard_testfile,
2784 clean_restart. Remove incdir.
2785 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2787 * gdb.threads/threadapply.exp: Use standard_testfile,
2788 clean_restart. Remove incdir.
2789 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2790 clean_restart. Remove incdir.
2791 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2793 * gdb.threads/tls-shared.exp: Use standard_testfile,
2794 clean_restart, standard_output_file.
2795 * gdb.threads/tls-var.exp: Use standard_testfile,
2796 standard_output_file.
2797 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2799 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2800 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2802 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2803 clean_restart. Remove incdir.
2805 2012-06-26 Tom Tromey <tromey@redhat.com>
2807 * gdb.trace/actions.exp: Use standard_testfile.
2808 * gdb.trace/ax.exp: Use standard_testfile.
2809 * gdb.trace/backtrace.exp: Use standard_testfile.
2810 * gdb.trace/change-loc.exp: Use standard_testfile.
2811 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2812 * gdb.trace/collection.exp: Use standard_testfile,
2813 prepare_for_testing.
2814 * gdb.trace/deltrace.exp: Use standard_testfile.
2815 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2816 * gdb.trace/ftrace.exp: Use standard_testfile.
2817 * gdb.trace/infotrace.exp: Use standard_testfile.
2818 * gdb.trace/packetlen.exp: Use standard_testfile.
2819 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2820 * gdb.trace/passcount.exp: Use standard_testfile.
2821 * gdb.trace/pending.exp: Use standard_testfile.
2822 * gdb.trace/report.exp: Use standard_testfile.
2823 * gdb.trace/save-trace.exp: Use standard_testfile.
2824 * gdb.trace/stap-trace.exp: Use standard_testfile.
2825 * gdb.trace/status-stop.exp: Use standard_testfile.
2826 * gdb.trace/strace.exp: Use standard_testfile.
2827 * gdb.trace/tfile.exp: Use standard_testfile.
2828 * gdb.trace/tfind.exp: Use standard_testfile.
2829 * gdb.trace/trace-break.exp: Use standard_testfile.
2830 * gdb.trace/trace-mt.exp: Use standard_testfile.
2831 * gdb.trace/tracecmd.exp: Use standard_testfile.
2832 * gdb.trace/tspeed.exp: Use standard_testfile.
2833 * gdb.trace/tstatus.exp: Use standard_testfile.
2834 * gdb.trace/tsv.exp: Use standard_testfile.
2835 * gdb.trace/unavailable.exp: Use standard_testfile,
2836 prepare_for_testing.
2837 * gdb.trace/while-dyn.exp: Use standard_testfile.
2838 * gdb.trace/while-stepping.exp: Use standard_testfile.
2840 2012-06-26 Tom Tromey <tromey@redhat.com>
2842 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2843 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2844 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2845 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2846 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2847 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2848 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2849 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2850 prepare_for_testing.
2851 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2852 prepare_for_testing.
2853 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2854 prepare_for_testing.
2855 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2856 prepare_for_testing.
2857 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2859 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2860 * gdb.reverse/machinestate.exp: Use standard_testfile.
2861 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2862 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2864 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2866 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
2867 standard_output_file.
2868 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
2869 standard_output_file.
2870 * gdb.reverse/step-precsave.exp: Use standard_testfile.
2871 * gdb.reverse/step-reverse.exp: Use standard_testfile.
2872 * gdb.reverse/until-precsave.exp: Use standard_testfile.
2873 * gdb.reverse/until-reverse.exp: Use standard_testfile.
2874 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
2875 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2877 2012-06-26 Tom Tromey <tromey@redhat.com>
2879 * gdb.stabs/weird.exp: Remove directory-checking code. Use
2880 standard_output_file.
2881 * gdb.stabs/exclfwd.exp: Use standard_testfile,
2882 prepare_for_testing. Remove directory-checking code.
2884 2012-06-25 Tom Tromey <tromey@redhat.com>
2886 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
2887 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
2888 build_executable, not prepare_for_testing.
2889 * gdb.multi/base.exp: Use standard_output_file. Use
2890 build_executable, not prepare_for_testing.
2892 2012-06-25 Tom Tromey <tromey@redhat.com>
2894 * gdb.fortran/subarray.exp: Use standard_testfile,
2895 prepare_for_testing.
2896 * gdb.fortran/multi-dim.exp: Use standard_testfile.
2897 * gdb.fortran/module.exp: Use standard_testfile.
2898 * gdb.fortran/logical.exp: Use standard_testfile.
2899 * gdb.fortran/library-module.exp: Use standard_testfile,
2900 standard_output_file.
2901 * gdb.fortran/derived-type.exp: Use standard_testfile,
2902 prepare_for_testing.
2903 * gdb.fortran/complex.exp: Use standard_testfile,
2904 prepare_for_testing.
2905 * gdb.fortran/charset.exp: Use standard_testfile.
2906 * gdb.fortran/array-element.exp: Use standard_testfile,
2907 prepare_for_testing.
2909 2012-06-25 Keith Seitz <keiths@redhat.com>
2911 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
2912 Change rbreak-related tests to KFAIL and add bugzilla numbers.
2914 2012-06-25 Tom Tromey <tromey@redhat.com>
2916 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
2917 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
2918 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
2919 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2921 2012-06-25 Tom Tromey <tromey@redhat.com>
2923 * gdb.linespec/ls-errs.exp: Use standard_testfile.
2924 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
2925 * gdb.linespec/linespec.exp: Use standard_testfile.
2927 2012-06-25 Tom Tromey <tromey@redhat.com>
2929 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
2930 prepare_for_testing.
2932 2012-06-25 Tom Tromey <tromey@redhat.com>
2934 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
2935 prepare_for_testing.
2936 * gdb.opt/inline-break.exp: Use standard_testfile,
2937 prepare_for_testing.
2938 * gdb.opt/inline-bt.exp: Use standard_testfile,
2939 prepare_for_testing.
2940 * gdb.opt/inline-cmds.exp: Use standard_testfile,
2941 prepare_for_testing.
2942 * gdb.opt/inline-locals.exp: Use standard_testfile,
2943 prepare_for_testing.
2945 2012-06-25 Tom Tromey <tromey@redhat.com>
2947 * gdb.asm/asm-source.exp: Use standard_output_file,
2948 standard_testfile. Construct .o files in proper subdir.
2950 2012-06-25 Tom Tromey <tromey@redhat.com>
2952 * gdb.server/ext-attach.exp: Use standard_testfile,
2953 prepare_for_testing.
2954 * gdb.server/ext-run.exp: Use standard_testfile,
2956 * gdb.server/file-transfer.exp: Use standard_testfile,
2957 prepare_for_testing.
2958 * gdb.server/server-exec-info.exp: Use standard_testfile.
2959 * gdb.server/server-mon.exp: Use standard_testfile,
2960 prepare_for_testing.
2961 * gdb.server/server-run.exp: Use standard_testfile,
2963 * gdb.server/solib-list.exp: Use standard_testfile,
2964 standard_output_file.
2966 2012-06-25 Tom Tromey <tromey@redhat.com>
2968 * lib/gdb.exp (standard_output_file): Use "file join".
2969 * gdb.go/chan.exp: Use standard_testfile.
2970 * gdb.go/handcall.exp: Use standard_testfile.
2971 * gdb.go/hello.exp: Use standard_testfile.
2972 * gdb.integers/chan.exp: Use standard_testfile.
2973 * gdb.go/methods.exp: Use standard_testfile.
2974 * gdb.go/package.exp: Use standard_testfile.
2975 * gdb.go/strings.exp: Use standard_testfile.
2976 * gdb.go/types.exp: Use standard_testfile.
2977 * gdb.go/unsafe.exp: Use standard_testfile.
2979 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
2981 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
2983 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2985 Fix regression by the previous commit.
2986 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
2988 2012-06-22 Tom Tromey <tromey@redhat.com>
2990 * gdb.python/lib-types.exp: Use standard_testfile,
2991 prepare_for_testing.
2992 * gdb.python/py-block.exp: Use standard_testfile.
2993 * gdb.python/py-breakpoint.exp: Use standard_testfile.
2994 * gdb.python/py-events.exp: Use standard_testfile,
2995 standard_output_file.
2996 * gdb.python/py-evsignal.exp: Use standard_testfile.
2997 * gdb.python/py-evethreads.exp: Use standard_testfile.
2998 * gdb.python/py-explore-cc.exp: Use standard_testfile.
2999 * gdb.python/py-explore.exp: Use standard_testfile.
3000 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
3001 standard_output_file.
3002 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
3003 prepare_for_testing.
3004 * gdb.python/py-frame-inline.exp: Use standard_testfile.
3005 * gdb.python/py-frame.exp: Use standard_testfile.
3006 * gdb.python/py-inferior.exp: Use standard_testfile.
3007 * gdb.python/py-infthread.exp: Use standard_testfile.
3008 * gdb.python/py-mi.exp: Use standard_testfile.
3009 * gdb.python/py-objfile-script.exp: Use standard_testfile,
3011 * gdb.python/py-objfile.exp: Use standard_testfile.
3012 * gdb.python/py-pp-maint.exp: Use standard_testfile,
3013 prepare_for_testing.
3014 * gdb.python/py-prettyprint.exp: Use standard_testfile.
3015 * gdb.python/py-progspace.exp: Use standard_testfile,
3017 * gdb.python/py-prompt.exp: Use standard_testfile,
3019 * gdb.python/py-section-script.exp: Use standard_testfile,
3021 * gdb.python/py-shared.exp: Use standard_testfile,
3022 standard_output_file, clean_restart.
3023 * gdb.python/py-symbol.exp: Use standard_output_file,
3024 prepare_for_testing.
3025 * gdb.python/py-symtab.exp: Use standard_output_file,
3027 * gdb.python/py-template.exp: Use standard_testfile.
3028 * gdb.python/py-type.exp: Use standard_testfile.
3029 * gdb.python/py-value-cc.exp: Use standard_testfile.
3030 * gdb.python/py-value.exp: Use standard_testfile.
3031 * gdb.python/python.exp: Use standard_testfile, build_executable.
3033 2012-06-22 Tom Tromey <tromey@redhat.com>
3035 * gdb.objc/basicclass.exp: Use standard_testfile.
3036 (do_objc_tests): Don't declare objdir.
3037 * gdb.objc/nondebug.exp: Use standard_testfile.
3038 (do_objc_tests): Don't declare objdir.
3039 * gdb.objc/objcdecode.exp: Use standard_testfile.
3040 (do_objc_tests): Don't declare objdir.
3042 2012-06-22 Tom Tromey <tromey@redhat.com>
3044 * gdb.java/jmain.exp: Use standard_testfile.
3045 * gdb.java/jmisc.exp: Use standard_testfile.
3046 * gdb.java/jnpe.exp: Use standard_testfile.
3047 * gdb.java/jprint.exp: Use standard_testfile.
3049 2012-06-22 Tom Tromey <tromey@redhat.com>
3051 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3052 (standard_output_file, standard_testfile): New procs.
3053 (build_executable, clean_restart): Use standard_output_file.
3055 2012-06-22 Yao Qi <yao@codesourcery.com>
3057 * boards/native-gdbserver.exp: New proc ${board}_exec.
3058 * boards/native-stdio-gdbserver.exp: Likewise.
3060 2012-06-21 Tom Tromey <tromey@redhat.com>
3062 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3063 (build_executable): Update.
3064 (get_compiler_info): Remove 'binfile' argument.
3065 * gdb.ada/arrayidx.exp: Update.
3066 * gdb.ada/null_array.exp: Update.
3067 * gdb.arch/altivec-abi.exp: Update.
3068 * gdb.arch/altivec-regs.exp: Update.
3069 * gdb.arch/amd64-byte.exp: Update.
3070 * gdb.arch/amd64-dword.exp: Update.
3071 * gdb.arch/amd64-word.exp: Update.
3072 * gdb.arch/i386-avx.exp: Update.
3073 * gdb.arch/i386-byte.exp: Update.
3074 * gdb.arch/i386-sse.exp: Update.
3075 * gdb.arch/i386-word.exp: Update.
3076 * gdb.arch/ppc-dfp.exp: Update.
3077 * gdb.arch/ppc-fp.exp: Update.
3078 * gdb.arch/vsx-regs.exp: Update.
3079 * gdb.base/all-bin.exp: Update.
3080 * gdb.base/annota1.exp: Update.
3081 * gdb.base/async.exp: Update.
3082 * gdb.base/attach.exp: Update.
3083 * gdb.base/break-interp.exp: Update.
3084 * gdb.base/call-ar-st.exp: Update.
3085 * gdb.base/call-rt-st.exp: Update.
3086 * gdb.base/call-sc.exp: Update.
3087 * gdb.base/callfuncs.exp: Update.
3088 * gdb.base/catch-load.exp: Update.
3089 * gdb.base/completion.exp: Update.
3090 * gdb.base/complex.exp: Update.
3091 * gdb.base/condbreak.exp: Update.
3092 * gdb.base/consecutive.exp: Update.
3093 * gdb.base/constvars.exp: Update.
3094 * gdb.base/corefile.exp: Update.
3095 * gdb.base/eval-skip.exp: Update.
3096 * gdb.base/expand-psymtabs.exp: Update.
3097 * gdb.base/exprs.exp: Update.
3098 * gdb.base/fileio.exp: Update.
3099 * gdb.base/fixsection.exp: Update.
3100 * gdb.base/funcargs.exp: Update.
3101 * gdb.base/gdb11530.exp: Update.
3102 * gdb.base/gdb1555.exp: Update.
3103 * gdb.base/gnu-ifunc.exp: Update.
3104 * gdb.base/gnu_vector.exp: Update.
3105 * gdb.base/info-macros.exp: Update.
3106 * gdb.base/jit-simple.exp: Update.
3107 * gdb.base/jit-so.exp: Update.
3108 * gdb.base/jit.exp: Update.
3109 * gdb.base/langs.exp: Update.
3110 * gdb.base/list.exp: Update.
3111 * gdb.base/logical.exp: Update.
3112 * gdb.base/long_long.exp: Update.
3113 * gdb.base/longjmp.exp: Update.
3114 * gdb.base/macscp.exp: Update.
3115 * gdb.base/mips_pro.exp: Update.
3116 * gdb.base/miscexprs.exp: Update.
3117 * gdb.base/morestack.exp: Update.
3118 * gdb.base/nodebug.exp: Update.
3119 * gdb.base/opaque.exp: Update.
3120 * gdb.base/pc-fp.exp: Update.
3121 * gdb.base/pending.exp: Update.
3122 * gdb.base/permissions.exp: Update.
3123 * gdb.base/pointers.exp: Update.
3124 * gdb.base/prelink.exp: Update.
3125 * gdb.base/printcmds.exp: Update.
3126 * gdb.base/psymtab.exp: Update.
3127 * gdb.base/ptype.exp: Update.
3128 * gdb.base/relational.exp: Update.
3129 * gdb.base/scope.exp: Update.
3130 * gdb.base/setvar.exp: Update.
3131 * gdb.base/shlib-call.exp: Update.
3132 * gdb.base/shreloc.exp: Update.
3133 * gdb.base/signals.exp: Update.
3134 * gdb.base/sizeof.exp: Update.
3135 * gdb.base/so-impl-ld.exp: Update.
3136 * gdb.base/so-indr-cl.exp: Update.
3137 * gdb.base/solib-disc.exp: Update.
3138 * gdb.base/solib-display.exp: Update.
3139 * gdb.base/solib-nodir.exp: Update.
3140 * gdb.base/solib-overlap.exp: Update.
3141 * gdb.base/solib-symbol.exp: Update.
3142 * gdb.base/solib-weak.exp: Update.
3143 * gdb.base/solib.exp: Update.
3144 * gdb.base/store.exp: Update.
3145 * gdb.base/structs.exp: Update.
3146 * gdb.base/structs2.exp: Update.
3147 * gdb.base/type-opaque.exp: Update.
3148 * gdb.base/unload.exp: Update.
3149 * gdb.base/varargs.exp: Update.
3150 * gdb.base/volatile.exp: Update.
3151 * gdb.base/watch_thread_num.exp: Update.
3152 * gdb.base/watchpoint-solib.exp: Update.
3153 * gdb.base/watchpoint.exp: Update.
3154 * gdb.base/watchpoints.exp: Update.
3155 * gdb.base/whatis.exp: Update.
3156 * gdb.cell/arch.exp: Update.
3157 * gdb.cell/break.exp: Update.
3158 * gdb.cell/bt.exp: Update.
3159 * gdb.cell/core.exp: Update.
3160 * gdb.cell/data.exp: Update.
3161 * gdb.cell/ea-cache.exp: Update.
3162 * gdb.cell/f-regs.exp: Update.
3163 * gdb.cell/fork.exp: Update.
3164 * gdb.cell/gcore.exp: Update.
3165 * gdb.cell/mem-access.exp: Update.
3166 * gdb.cell/ptype.exp: Update.
3167 * gdb.cell/registers.exp: Update.
3168 * gdb.cell/sizeof.exp: Update.
3169 * gdb.cell/solib-symbol.exp: Update.
3170 * gdb.cell/solib.exp: Update.
3171 * gdb.cp/ambiguous.exp: Update.
3172 * gdb.cp/breakpoint.exp: Update.
3173 * gdb.cp/bs15503.exp: Update.
3174 * gdb.cp/casts.exp: Update.
3175 * gdb.cp/class2.exp: Update.
3176 * gdb.cp/cpexprs.exp: Update.
3177 * gdb.cp/cplusfuncs.exp: Update.
3178 * gdb.cp/ctti.exp: Update.
3179 * gdb.cp/dispcxx.exp: Update.
3180 * gdb.cp/gdb1355.exp: Update.
3181 * gdb.cp/gdb2384.exp: Update.
3182 * gdb.cp/gdb2495.exp: Update.
3183 * gdb.cp/infcall-dlopen.exp: Update.
3184 * gdb.cp/local.exp: Update.
3185 * gdb.cp/m-data.exp: Update.
3186 * gdb.cp/m-static.exp: Update.
3187 * gdb.cp/mb-ctor.exp: Update.
3188 * gdb.cp/mb-inline.exp: Update.
3189 * gdb.cp/mb-templates.exp: Update.
3190 * gdb.cp/member-ptr.exp: Update.
3191 * gdb.cp/method.exp: Update.
3192 * gdb.cp/namespace.exp: Update.
3193 * gdb.cp/nextoverthrow.exp: Update.
3194 * gdb.cp/nsdecl.exp: Update.
3195 * gdb.cp/nsrecurs.exp: Update.
3196 * gdb.cp/nsstress.exp: Update.
3197 * gdb.cp/nsusing.exp: Update.
3198 * gdb.cp/pr-1023.exp: Update.
3199 * gdb.cp/pr-1210.exp: Update.
3200 * gdb.cp/pr-574.exp: Update.
3201 * gdb.cp/pr9631.exp: Update.
3202 * gdb.cp/printmethod.exp: Update.
3203 * gdb.cp/psmang.exp: Update.
3204 * gdb.cp/re-set-overloaded.exp: Update.
3205 * gdb.cp/rtti.exp: Update.
3206 * gdb.cp/shadow.exp: Update.
3207 * gdb.cp/templates.exp: Update.
3208 * gdb.cp/try_catch.exp: Update.
3209 * gdb.dwarf2/dw2-ranges.exp: Update.
3210 * gdb.dwarf2/pr10770.exp: Update.
3211 * gdb.fortran/library-module.exp: Update.
3212 * gdb.hp/gdb.aCC/optimize.exp: Update.
3213 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3214 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3215 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3216 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3217 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3218 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3219 * gdb.hp/gdb.compat/xdb1.exp: Update.
3220 * gdb.hp/gdb.compat/xdb2.exp: Update.
3221 * gdb.hp/gdb.compat/xdb3.exp: Update.
3222 * gdb.hp/gdb.defects/bs14602.exp: Update.
3223 * gdb.hp/gdb.defects/solib-d.exp: Update.
3224 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3225 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3226 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3227 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3228 * gdb.mi/gdb792.exp: Update.
3229 * gdb.mi/mi-pending.exp: Update.
3230 * gdb.mi/mi-solib.exp: Update.
3231 * gdb.mi/mi-var-cp.exp: Update.
3232 * gdb.opt/clobbered-registers-O2.exp: Update.
3233 * gdb.opt/inline-bt.exp: Update.
3234 * gdb.opt/inline-cmds.exp: Update.
3235 * gdb.opt/inline-locals.exp: Update.
3236 * gdb.python/py-events.exp: Update.
3237 * gdb.python/py-finish-breakpoint.exp: Update.
3238 * gdb.python/py-type.exp: Update.
3239 * gdb.reverse/solib-precsave.exp: Update.
3240 * gdb.reverse/solib-reverse.exp: Update.
3241 * gdb.server/solib-list.exp: Update.
3242 * gdb.stabs/weird.exp: Update.
3243 * gdb.threads/attach-into-signal.exp: Update.
3244 * gdb.threads/attach-stopped.exp: Update.
3245 * gdb.threads/tls-shared.exp: Update.
3246 * gdb.trace/change-loc.exp: Update.
3247 * gdb.trace/strace.exp: Update.
3249 2012-06-19 Tom Tromey <tromey@redhat.com>
3251 * gdb.base/whatis.exp: Add tests.
3253 2012-06-19 Tom Tromey <tromey@redhat.com>
3255 * gdb.cp/m-static.cc (keepalive): New function.
3256 (gnu_obj_1::method): Use it.
3258 2012-06-18 Doug Evans <dje@google.com>
3260 * gdb.base/info-fun.exp: New file.
3261 * gdb.base/info-fun.c: New file.
3262 * gdb.base/info-fun-solib.c: New file.
3264 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3266 Remove stale dummy frames.
3267 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3268 (maintenance info breakpoints): New tests.
3269 * gdb.base/stale-infcall.c: New file.
3270 * gdb.base/stale-infcall.exp: New file.
3272 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3274 * gdb.arch/amd64-entry-value-param.S: New file.
3275 * gdb.arch/amd64-entry-value-param.c: New file.
3276 * gdb.arch/amd64-entry-value-param.exp: New file.
3278 2012-06-15 Tom Tromey <tromey@redhat.com>
3280 * gdb.cp/namespace.exp: Add "show lang" test.
3282 2012-06-15 Iain Sandoe <iain@codesourcery.com>
3284 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3285 case. (top level): Use gdb_file_cmd instead of gdb_load.
3287 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3290 * gdb.arch/i386-sse-stack-align.S: New file.
3291 * gdb.arch/i386-sse-stack-align.c: New file.
3292 * gdb.arch/i386-sse-stack-align.exp: New file.
3294 2012-06-13 Keith Seitz <keiths@redhat.com>
3296 PR breakpoints/13798 and mi/11541
3297 * gdb.linespec/ls-errs.exp: Add a few more tests for
3298 filenames with spaces and colons.
3300 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3302 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3303 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3304 (test_function): Call CV_f.
3305 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3306 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3307 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3308 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3309 (p CV_f(CV::i)): New tests.
3311 2012-06-13 Tom Tromey <tromey@redhat.com>
3313 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3315 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3317 Fix regression by the "ambiguous linespec" series.
3318 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3321 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3323 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3326 2012-06-11 Tom Tromey <tromey@redhat.com>
3328 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3332 2012-06-07 Yao Qi <yao@codesourcery.com>
3334 * gdb.trace/strace.exp: Shorten some too-long lines.
3336 2012-06-06 Pedro Alves <palves@redhat.com>
3338 * gdb.threads/clone-new-thread-event.c: New file.
3339 * gdb.threads/clone-new-thread-event.exp: New file.
3341 2012-06-06 Yao Qi <yao@codesourcery.com>
3343 * gdb.base/dprintf.c (main): Add extra parameter when calling
3345 (bar): New function. It is a dead function, but to ensure
3346 'malloc' is linked explicitly.
3348 2012-06-06 Yao Qi <yao@codesourcery.com>
3350 * gdb.base/info-proc.exp: Return if target doesn't support
3353 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3355 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3356 (run program with breakpoint commands): XFAIl if it is not.
3358 2012-06-05 Joel Brobecker <brobecker@adacore.com>
3360 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3362 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3363 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3364 "STOP" marker. Adjust testing strategy to make it work on
3367 * gdb.base/print-file-var-main.c (main): Rewrite using local
3368 variables and adjust get_version_2's return value check.
3370 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3371 marker. Adjust testing strategy to make it work on all targets.
3373 2012-06-05 Joel Brobecker <brobecker@adacore.com>
3375 * gdb.ada/bad-task-bp-keyword: New testcase.
3377 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3379 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3381 (symbol-file ${testfile1}): ... here.
3382 (test eliminated var my_global_symbol)
3383 (test eliminated var my_static_symbol)
3384 (test eliminated var my_global_func, get address of main): Wrap them to
3385 'single psymtabs' and 'single symtabs'
3386 (get address of my_global_symbol, get address of my_static_symbol)
3387 (get address of my_global_func, get address of main): Wrap them to
3388 'order1' and 'order2'.
3390 * gdb.base/code_elim.exp
3391 (add-symbol-file ${testfile1} 0x100000)
3392 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3394 (order1: add-symbol-file ${testfile1} 0x100000)
3395 (order1: add-symbol-file ${testfile2} 0x200000)
3396 (order2: add-symbol-file ${testfile2} 0x200000)
3397 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3398 .bss as appropriate.
3400 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3402 * gdb.server/solib-list-lib.c: New file.
3403 * gdb.server/solib-list-main.c: New file.
3404 * gdb.server/solib-list.exp: New file.
3406 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3408 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3409 for 'set print symbol' change.
3411 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3413 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3416 2012-05-24 John Steele Scott <toojays@toojays.net>
3418 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3419 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3420 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3422 2012-05-23 Stan Shebs <stan@codesourcery.com>
3424 * gdb.mi/mi-info-os.exp: New file.
3426 2012-05-23 Keith Seitz <keiths@redhat.com>
3428 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3429 return -1 to suppress the rest of the tests.
3430 (compile_stap_bin): Return boolean success value.
3432 2012-05-21 Tom Tromey <tromey@redhat.com>
3434 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3436 (test_print_mi_member_types): Likewise.
3438 2012-05-21 Tom Tromey <tromey@redhat.com>
3440 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3441 print symbol' change.
3443 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3445 * gdb.python/py-prompt.exp: Quit if the target is remote.
3447 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3449 Fix ERROR: internal buffer is full.
3450 * gdb.base/info-os.exp (expect_multiline): New function.
3451 (get process list, get process groups, get threads)
3452 (get file descriptors, get internet-domain sockets)
3453 (get shared-memory regions, get semaphores, get message queues): Use
3456 2012-05-18 Tom Tromey <tromey@redhat.com>
3458 * gdb.mi/mi-var-cmd.exp: Update.
3459 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3460 * gdb.cp/virtbase.exp: Update.
3461 * gdb.cp/classes.exp (test_static_members): Update.
3462 * gdb.cp/casts.exp: Update.
3463 * gdb.base/pointers.exp: Update.
3464 * gdb.base/funcargs.exp (pointer_args): Update.
3465 (structs_by_reference): Update.
3466 * gdb.base/find.exp: Update.
3467 * gdb.base/call-strs.exp: Send "set print symbol off".
3468 * gdb.base/call-ar-st.exp: Update.
3469 * gdb.ada/fun_addr.exp: Update.
3470 * gdb.base/printcmds.exp (test_print_symbol): New proc.
3472 (test_print_repeats_10, test_print_strings)
3473 (test_print_char_arrays): Update.
3475 2012-05-18 Tom Tromey <tromey@redhat.com>
3477 * gdb.base/charset.exp (string_display): Update.
3479 2012-05-18 Tom Tromey <tromey@redhat.com>
3481 * gdb.mi/mi2-var-display.exp: Update.
3482 * gdb.mi/mi-var-display.exp: Update.
3483 * gdb.mi/mi-var-child.exp: Update.
3484 * gdb.cp/expand-psymtabs-cxx.exp: Update.
3485 * gdb.cp/cp-relocate.exp (get_func_address): Update.
3487 2012-05-17 Doug Evans <dje@google.com>
3489 * info-macros.exp: Pass "debug" to prepare_for_testing.
3491 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
3492 * gdb.ada/Makefile.in (clean): Ditto.
3493 * gdb.arch/Makefile.in (clean): Ditto.
3494 * gdb.asm/Makefile.in (clean): Ditto.
3495 * gdb.base/Makefile.in (clean): Ditto.
3496 * gdb.cell/Makefile.in (clean): Ditto.
3497 * gdb.cp/Makefile.in (clean): Ditto.
3498 * gdb.disasm/Makefile.in (clean): Ditto.
3499 * gdb.dwarf2/Makefile.in (clean): Ditto.
3500 * gdb.fortran/Makefile.in (clean): Ditto.
3501 * gdb.go/Makefile.in (clean): Ditto.
3502 * gdb.hp/Makefile.in (clean): Ditto.
3503 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
3504 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
3505 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
3506 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
3507 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
3508 * gdb.java/Makefile.in (clean): Ditto.
3509 * gdb.linespec/Makefile.in (clean): Ditto.
3510 * gdb.mi/Makefile.in (clean): Ditto.
3511 * gdb.modula2/Makefile.in (clean): Ditto.
3512 * gdb.multi/Makefile.in (clean): Ditto.
3513 * gdb.objc/Makefile.in (clean): Ditto.
3514 * gdb.opencl/Makefile.in (clean): Ditto.
3515 * gdb.opt/Makefile.in (clean): Ditto.
3516 * gdb.pascal/Makefile.in (clean): Ditto.
3517 * gdb.python/Makefile.in (clean): Ditto.
3518 * gdb.reverse/Makefile.in (clean): Ditto.
3519 * gdb.server/Makefile.in (clean): Ditto.
3520 * gdb.stabs/Makefile.in (clean): Ditto.
3521 * gdb.threads/Makefile.in (clean): Ditto.
3522 * gdb.trace/Makefile.in (clean): Ditto.
3523 * gdb.xml/Makefile.in (clean): Ditto.
3525 2012-05-16 Tom Tromey <tromey@redhat.com>
3527 * gdb.base/macscp1.c (macscp_expr): Add comment.
3528 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3530 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3532 * gdb.base/return-nodebug.exp: Also test float and double types.
3534 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3537 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3539 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3541 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3543 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3545 (stap_test_no_debuginfo): Likewise.
3547 2012-05-14 Stan Shebs <stan@codesourcery.com>
3549 * gdb.base/dprintf.c: New file.
3550 * gdb.base/dprintf.exp: New file.
3552 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
3554 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3555 * gdb.trace/disconnected-tracing.c: New file.
3556 * gdb.trace/disconnected-tracing.exp: New file.
3558 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3560 * gdb.python/python.c: Add a new breakpoint comment.
3561 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3563 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3565 * gdb.base/info-os.exp: New file.
3566 * gdb.base/info-os.c: New file.
3568 2012-05-10 Joel Brobecker <brobecker@adacore.com>
3570 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3571 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3574 2012-05-10 Joel Brobecker <brobecker@adacore.com>
3576 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3577 gdb.base/ctxobj.exp: New files.
3579 2012-05-09 Tom Tromey <tromey@redhat.com>
3581 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3583 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3585 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3587 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3589 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3592 2012-05-04 Tristan Gingold <gingold@adacore.com>
3594 * gdb.base/set-noassign.exp: New test.
3596 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3598 * gdb.python/py-symbol.exp: Add tests to test the new methods
3599 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3600 * gdb.python/py-symbol.c: Add new struct to help test
3601 gdb.Symtab.static_block().
3603 2012-05-03 Doug Evans <dje@google.com>
3605 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3608 2012-05-03 Yao Qi <yao@codesourcery.com>
3610 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3612 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3613 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3615 2012-05-03 Yao Qi <yao@codesourcery.com>
3617 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3619 2012-04-30 Doug Evans <dje@google.com>
3622 * gdb.dwarf2/pr13961.S: New file.
3623 * gdb.dwarf2/pr13961.exp: New file.
3625 2012-04-29 Yao Qi <yao@codesourcery.com>
3627 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3629 2012-04-28 Doug Evans <dje@google.com>
3631 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3632 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3634 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3635 "ptype func_cu1" to expand cu2 before cu1.
3637 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3638 Tom Tromey <tromey@redhat.com>
3640 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3642 * gdb.base/stap-probe.c: New file.
3643 * gdb.base/stap-probe.exp: New file.
3644 * gdb.trace/stap-trace.c: New file.
3645 * gdb.trace/stap-trace.exp: New file.
3646 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3649 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3651 * gdb.arch/mips16-thunks-inmain.c: New file.
3652 * gdb.arch/mips16-thunks-main.c: New file.
3653 * gdb.arch/mips16-thunks-sin.c: New file.
3654 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3655 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3656 * gdb.arch/mips16-thunks-sinmain.c: New file.
3657 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3658 * gdb.arch/mips16-thunks.exp: New file.
3660 2012-04-25 Doug Evans <dje@google.com>
3662 * configure.ac: Create gdb.go/Makefile.
3663 * configure: Regenerate.
3664 * gdb.base/default.exp: Add "go" to "set language" testing.
3665 * gdb.go/Makefile.in: New file.
3666 * gdb.go/basic-types.exp: New file.
3667 * gdb.go/chan.exp: New file.
3668 * gdb.go/chan.go: New file.
3669 * gdb.go/handcall.exp: New file.
3670 * gdb.go/handcall.go: New file.
3671 * gdb.go/hello.exp: New file.
3672 * gdb.go/hello.go: New file.
3673 * gdb.go/integers.exp: New file.
3674 * gdb.go/integers.go: New file.
3675 * gdb.go/methods.exp: New file.
3676 * gdb.go/methods.go: New file.
3677 * gdb.go/package.exp: New file.
3678 * gdb.go/package1.go: New file.
3679 * gdb.go/package2.go: New file.
3680 * gdb.go/print.exp: New file.
3681 * gdb.go/strings.exp: New file.
3682 * gdb.go/strings.go: New file.
3683 * gdb.go/types.exp: New file.
3684 * gdb.go/types.go: New file.
3685 * gdb.go/unsafe.exp: New file.
3686 * gdb.go/unsafe.go: New file.
3687 * lib/future.exp: Add Go support.
3688 (gdb_find_go, gdb_find_go_linker): New procs.
3689 (gdb_default_target_compile): Add Go support.
3690 * lib/gdb.exp (skip_go_tests): New proc.
3691 * lib/go.exp: New file.
3693 2012-04-25 Tom Tromey <tromey@redhat.com>
3695 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3697 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3698 Jan Kratochvil <jan.kratochvil@redhat.com>
3701 * gdb.base/enumval.c: New test case.
3702 * gdb.base/enumval.exp: New test case.
3703 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3706 2012-04-17 Pedro Alves <palves@redhat.com>
3708 * Makefile.in (site.exp): Make site.exp source
3709 $srcdir/lib/append_gdb_boards_dir.exp.
3710 * lib/append_gdb_boards_dir.exp: New file.
3712 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3714 New option "set auto-load safe-path".
3715 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3716 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3718 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3720 auto-load: Implementation.
3721 * gdb.base/help.exp (test set height): Increase the height.
3722 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3724 (info auto-load python-scripts): ... here.
3725 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3727 (info auto-load python-scripts *): ... here.
3729 2012-04-16 Yao Qi <yao@codesourcery.com>
3731 * lib/trace-support.exp (get_in_proc_agent): New.
3732 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3733 of in process trace agent.
3734 * gdb.trace/ftrace.exp: Likewise.
3735 * gdb.trace/pending.exp: Likewise.
3736 * gdb.trace/trace-break.exp: Likewise.
3737 * gdb.trace/trace-mt.exp
3738 * gdb.trace/tspeed.exp: Likewise.
3739 * gdb.trace/tstatus.exp
3740 * gdb.trace/strace.exp: Likewise.
3742 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3744 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3745 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3747 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3749 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3752 * gdb.mi/mi-var-rtti.cc: New file.
3753 * gdb.mi/mi-var-rtti.exp: New file.
3754 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3756 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3758 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
3760 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3762 * gdb.python/py-explore.c: C program used for testing the new
3763 'explore' command on C constructs.
3764 * gdb.python/py-explore.cc: C++ program used for testing the new
3765 'explore' command on C++ constructs.
3766 * gdb-python/py-explore.exp: Tests for the new 'explore'
3767 command on C constructs.
3768 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3769 command on C++ constructs.
3771 2012-04-07 Mark Kettenis <kettenis@gnu.org>
3773 * gdb.base/funcargs.exp (complex_args): Fix typo.
3775 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3777 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3778 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3780 2012-04-05 Keith Seitz <keiths@redhat.com>
3782 * gdb.base/advance.exp: Update error message for
3783 "advance malformed" test.
3784 * gdb.base/break.exp: Likewise for "breakpoint with
3785 trailing garbage" test.
3786 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3787 with trailing garbage" test.
3788 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3789 trailng garbage" test.
3790 * gdb.base/until.exp: Likewise for "malformed until" test.
3791 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3792 for "breakpoint info (after setting on all)".
3793 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3795 * gdb.cp/cplabel.cc: New file.
3796 * gdb.cp/cplabel.exp: New test.
3797 * gdb.linespec/ls-errs.c: New file.
3798 * gdb.linespec/ls-errs.exp: New test.
3800 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3802 * gdb.trace/unavailable.exp
3803 (collect globals: print object on: print derived_partial)
3804 (collect globals: print object on: print derived_whole)
3805 (collect globals: print object off: print derived_partial)
3806 (collect globals: print object off: print derived_whole): Update
3809 2012-03-30 Keith Seitz <keiths@redhat.com>
3811 * gdb.python: Add test for linespecs with commas.
3813 2012-03-28 Keith Seitz <keiths@redhat.com>
3815 * gdb.linespec/ls-dollar.cc: New file.
3816 * gdb.linespec/ls-dollar.exp: New test.
3818 2012-03-28 Keith Seitz <keiths@redhat.com>
3820 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3821 starting with the global namespace.
3823 2012-03-23 Doug Evans <dje@google.com>
3825 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3827 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3829 * gdb.python/py-value.cc: Add test case for testing the
3830 methodology exposing C++ values to Python.
3831 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3832 exposing C++ values to Python.
3833 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3835 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3836 Siddhesh Poyarekar <siddhesh@redhat.com>
3838 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3839 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3840 (generate native core dump): Make the test unsupported if core cannot
3843 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3845 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3846 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3847 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3849 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3851 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3853 2012-03-17 Doug Evans <dje@google.com>
3855 * dg-extract-results.sh: Handle KFAILs.
3857 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3860 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3862 2012-03-16 Joel Brobecker <brobecker@adacore.com>
3864 * gdb.ada/set_pckd_arr_elt: New testcase.
3866 2012-03-16 Gary Benson <gbenson@redhat.com>
3868 PR breakpoints/10738
3869 * gdb.opt/inline-break.exp: New file.
3870 * gdb.opt/inline-break.c: Likewise.
3871 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
3872 * gdb.dwarf2/dw2-inline-break.S: Likewise.
3873 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
3874 * gdb.base/async-shell.exp: Likewise.
3875 * lib/mi-support.exp (library_loaded_re): Likewise.
3877 2012-03-15 Tom Tromey <tromey@redhat.com>
3879 * gdb.cp/virtfunc2.exp: Update expected output.
3880 * gdb.cp/pr9631.exp: Update expected output.
3881 * gdb.cp/member-ptr.exp: Update expected output.
3882 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
3884 * gdb.cp/casts.exp: Update expected output.
3886 2012-03-15 Tom Tromey <tromey@redhat.com>
3888 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
3889 (test_info_vtbl): Likewise.
3890 (do_tests): Call test_info_vtbl.
3891 * gdb.cp/virtfunc.cc (va): New global.
3893 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
3895 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
3896 describing DWARF data structures.
3897 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
3898 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
3899 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
3900 * gdb.dwarf2/dw2-entry-value.S: Likewise.
3901 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3902 * gdb.dwarf2/dw2-param-error.S: Likewise.
3903 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
3904 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
3905 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
3906 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
3907 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
3908 * gdb.dwarf2/pr11465.S: Likewise.
3910 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3912 * gdb.mi/mi2-prompt.exp: New file.
3914 2012-03-13 Joel Brobecker <brobecker@adacore.com>
3916 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
3918 2012-03-13 Joel Brobecker <brobecker@adacore.com>
3920 * gdb.ada/bp_range_type: New testcase.
3922 2012-03-13 Doug Evans <dje@google.com>
3924 * gdb.base/default.exp: Delete tests for symbol-reloading.
3925 * gdb.base/help.exp: Ditto.
3926 * gdb.base/setshow.exp: Ditto.
3927 * gdb.base/gdb_history: Delete references to symbol-reloading.
3929 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3931 * gdb.base/attach-twice.c: New files.
3932 * gdb.base/attach-twice.exp: New files.
3934 2012-03-08 Keith Seitz <keiths@redhat.com>
3936 * lib/gdb.exp (gdb_get_line_number): Throw an
3937 error instead of returning -1.
3938 * gdb.base/break.exp: Remove unused variable
3940 * gdb.base/hbreak2.exp: Likewise.
3941 * gdb.base/sepdebug.exp: Likewise.
3943 2012-03-08 Yao Qi <yao@codesourcery.com>
3944 Pedro Alves <palves@redhat.com>
3946 Fix PR server/13392.
3947 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
3948 (tracepoint_change_loc_2): Remove kfail. Return if failed to
3949 download tracepoints.
3950 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
3951 (pending_tracepoint_resolved_during_trace): Likewise.
3952 (pending_tracepoint_installed_during_trace): Likewise.
3953 (pending_tracepoint_with_action_resolved): Likewise.
3955 2012-03-08 Keith Seitz <keiths@redhat.com>
3957 * gdb.ada/array_bounds.exp: Get breakpoint for line
3958 with "START", not "STOP".
3959 * gdb.python/py-infthread.exp: Do not continue to
3960 line marked "Break here.", which is undefined.
3962 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
3966 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3968 Implement testsuite workaround for PR breakpoints/13781.
3969 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3970 (set breakpoint condition-evaluation host): New conditional command.
3972 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3974 Fix CU relative vs. absolute DIE offsets.
3975 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
3978 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3980 Fix false FAIL on distros with relro linkage as default.
3981 * gdb.reverse/solib-precsave.exp: Try to compile the test using
3982 -Wl,-z,norelro first.
3984 2012-03-06 Joel Brobecker <brobecker@adacore.com>
3986 * gdb.ada/bp_on_var: New testcase.
3988 2012-03-06 Joel Brobecker <brobecker@adacore.com>
3990 * gdb.ada/bp_enum_homonym: New testcase.
3992 2012-03-06 Yao Qi <yao@codesourcery.com>
3994 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
3995 x86_64-*-* and i?86-*-*.
3996 Set up KFAIL for gdb/13808.
3998 2012-03-05 Tom Tromey <tromey@redhat.com>
4000 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
4001 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
4003 2012-03-05 Tom Tromey <tromey@redhat.com>
4005 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
4007 2012-03-04 Yao Qi <yao@codesourcery.com>
4009 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
4012 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4014 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
4015 (print one_two_three, indexes off, print few_reps, indexes off)
4016 (print many_reps, indexes off, print empty, indexes off)
4017 (print one_two_three, print few_reps, print many_reps, print empty):
4018 Call setup_xfail if $gcc_old.
4020 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4022 Implement testsuite workaround for PR breakpoints/13781.
4023 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
4024 (set breakpoint condition-evaluation host): New conditional command.
4026 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4029 * gdb.cp/mb-templates.exp: New variables executable. Use it for
4030 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
4031 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
4032 number 1 by $bpnum. Four times.
4034 2012-03-03 Yao Qi <yao@codesourcery.com>
4036 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
4038 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
4040 Setup KFAIL for PR server/13796.
4041 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
4043 2012-03-02 Joel Brobecker <brobecker@adacore.com>
4045 * gdb.ada/operator_bp: New testcase.
4047 2012-03-02 Joel Brobecker <brobecker@adacore.com>
4049 * gdb.ada/info_locals_renaming: New testcase.
4051 2012-03-02 Tom Tromey <tromey@redhat.com>
4053 * gdb.base/nextoverexit.c: New file.
4054 * gdb.base/nextoverexit.exp: New file.
4056 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4058 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4061 2012-03-01 Maciej W. Rozycki <macro@mips.com>
4063 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4066 2012-03-01 Maciej W. Rozycki <macro@mips.com>
4067 Maciej W. Rozycki <macro@codesourcery.com>
4068 Daniel Jacobowitz <dan@codesourcery.com>
4070 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4072 2012-03-01 Pedro Alves <palves@redhat.com>
4076 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4077 (gdb_collect_globals_test): Call it.
4079 2012-03-01 Keith Seitz <keiths@redhat.com>
4081 * gdb.cp/method2.exp: Output of overload menu is now
4082 alphabetized. Update tests for "break A::method".
4083 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4084 of hard-coding them.
4085 Overload menu is alphabetized: rewrite to accommodate.
4086 Unset variables LINE and TYPES which are used in other tests.
4087 Compute the output of "info break".
4088 Update the breakpoint table after all breakpoints are deleted.
4089 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4090 compute ACTUALS and the method body based on parameters.
4091 Update expected output accordingly.
4092 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4093 unique comments to allow the use of gdb_get_line_number.
4095 2012-03-01 Keith Seitz <keiths@redhat.com>
4097 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4099 * gdb.cp/ovldbreak.exp: Likewise.
4101 2012-03-01 Keith Seitz <keiths@redhat.com>
4103 * gdb.base/help.exp (help show user): Update expected result
4104 for new doc string changes (add "non-python").
4106 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
4108 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4109 be put in the user-defined category and that the commands appear in
4110 "help user-defined".
4112 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4114 * gdb.ada/tagged_not_init: New testcase.
4116 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4118 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4119 * gdb.ada/enum_idx_packed: New testcase.
4121 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4123 * gdb.ada/aliased_array: New testcase.
4125 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4127 * gdb.ada/whatis_array_val: New testcase.
4129 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4131 Fix disp-step-syscall.exp: fork: single step over fork.
4132 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4134 (single step over $syscall): Remove its check.
4135 (single step over $syscall final pc): New check.
4137 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4139 Support processors without SSSE3.
4140 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4142 (ssse3_test): ... a new function.
4143 (main): Call ssse3_test.
4144 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4145 Update expected values everywhere.
4146 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4147 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4148 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4149 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4150 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4151 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4152 Move these tests lower.
4153 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4154 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4155 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4158 2012-02-29 Yao Qi <yao@codesourcery.com>
4159 Pedro Alves <palves@redhat.com>
4161 * gdb.trace/trace-mt.c: New.
4162 * gdb.trace/trace-mt.exp: New.
4164 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4166 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4167 numbers instead of hardcoding them.
4168 * gdb.base/annota1.c: Provide suitable markers.
4169 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4170 numbers instead of hardcoding them.
4171 * gdb.base/annota3.c: Provide suitable markers.
4173 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4174 * gdb.base/annota3.c: Likewise.
4175 * gdb.base/sigall.c: Likewise.
4176 * gdb.base/signals.c: Likewise.
4177 * gdb.reverse/sigall-reverse.c: Likewise.
4179 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4181 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4182 failure return path.
4184 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
4186 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4188 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
4190 * gdb.base/cond-eval-mode.exp: New file.
4192 2012-02-24 Pedro Alves <palves@redhat.com>
4194 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4195 (top level): Use with_test_prefix.
4197 2012-02-24 Pedro Alves <palves@redhat.com>
4199 * gdb.threads/attach-into-signal.exp (corefunc): Use
4202 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4204 Fix false FAILs on old CPUs without SSE.
4205 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4206 Return untested for Illegal instruction.
4208 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4210 Fix false FAILs with glibc debug infos installed.
4211 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4212 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4214 2012-02-22 Sterling Augustine <saugustine@google.com>
4216 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4219 2012-02-21 Pedro Alves <palves@redhat.com>
4221 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4223 2012-02-21 Pedro Alves <palves@redhat.com>
4225 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4227 2012-02-21 Pedro Alves <palves@redhat.com>
4229 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4232 2012-02-21 Pedro Alves <palves@redhat.com>
4234 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4235 with_test_prefix here.
4236 (top level): Do it here instead. Remove `:' from the
4237 with_test_prefix string.
4238 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4239 the suffix `:' from the with_test_prefix prefix string.
4240 * gdb.base/break-interp.exp: Ditto.
4241 * gdb.base/catch-load.exp: Ditto.
4242 * gdb.base/disp-step-syscall.exp: Ditto.
4243 * gdb.base/jit-so.exp: Ditto.
4244 * gdb.base/jit.exp: Ditto.
4245 * gdb.base/sepdebug.exp: Ditto.
4246 * gdb.base/solib-display.exp: Ditto.
4247 * gdb.base/solib-overlap.exp: Ditto.
4248 * gdb.base/watch-cond-infcall.exp: Ditto.
4249 * gdb.base/watchpoint.exp: Ditto.
4250 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4251 * gdb.mi/mi-watch.exp: Ditto.
4252 * gdb.mi/mi2-watch.exp: Ditto.
4253 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4254 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4255 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4256 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4257 * gdb.threads/watchpoint-fork.exp: Ditto.
4258 * gdb.threads/watchthreads-reorder.exp: Ditto.
4259 * gdb.trace/change-loc.exp: Ditto.
4260 * gdb.trace/pending.exp: Ditto.
4261 * gdb.trace/status-stop.exp: Ditto.
4262 * gdb.trace/strace.exp: Ditto.
4263 * gdb.trace/trace-break.exp: Ditto.
4264 * gdb.trace/unavailable.exp: Ditto.
4265 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4266 suffix with colon. Adjust leading comments.
4268 2012-02-21 Pedro Alves <palves@redhat.com>
4269 Tom Tromey <tromey@redhat.com>
4271 * lib/gdb.exp: Add description of test prefixes.
4272 (with_test_prefix): New procedure.
4273 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4274 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4275 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4276 instead of lappend to append to pf_prefix.
4277 * gdb.base/catch-load.exp: Use with_test_prefix.
4278 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4279 * gdb.base/jit-so.exp: Use with_test_prefix.
4280 * gdb.base/jit.exp: Use with_test_prefix.
4281 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4282 lappend to append to pf_prefix.
4283 * gdb.base/sepdebug.exp: Use with_test_prefix.
4284 * gdb.base/solib-display.exp: Use with_test_prefix.
4285 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4286 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4287 * gdb.base/watchpoint.exp: Use with_test_prefix.
4288 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4289 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4290 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4291 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4292 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4293 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4294 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4295 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4296 append instead of lappend to append to pf_prefix.
4297 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4298 * gdb.trace/change-loc.exp: Use with_test_prefix.
4299 * gdb.trace/pending.exp: Use with_test_prefix.
4300 * gdb.trace/status-stop.exp: Use with_test_prefix.
4301 * gdb.trace/strace.exp: Use with_test_prefix.
4302 * gdb.trace/trace-break.exp: Use with_test_prefix.
4303 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4304 instead of lappend to append to pf_prefix.
4306 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4309 * gdb.base/inferior-died.c (main): Add return of 0.
4310 * gdb.base/inferior-died.exp (continue): Fix expectation of
4311 asynchronous events.
4314 2012-02-20 Pedro Alves <palves@redhat.com>
4316 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4317 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4318 gdb's internal debug output. For the non-threaded case, look for
4319 "Program received signal SIGLARM", for the threaded case, peek at
4320 the thread's siginfo.
4322 2012-02-20 Pedro Alves <palves@redhat.com>
4324 General cleanup, make output test messages unique, and build
4325 different executable files for the non-threaded and threaded
4328 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4330 (executable_nothr, executable_thr): New globals.
4331 (top level): Adjust to delete both executables.
4332 (corefunc): New parameter $executable. Set $pf_prefix instead of
4333 hand writing a prefix in tests. Issue a clean_restart and enable
4334 lin-lwp debug output here.
4335 (top level): Adjust. Use build_executable. Don't start gdb here,
4336 and don't enable lin-lwp debug output here.
4337 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4339 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4342 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4345 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4347 Fix for gdbserver non-extended mode.
4348 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4351 2012-02-17 Tom Tromey <tromey@redhat.com>
4353 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4354 * gdb.python/py-events.exp: Check 'dir' output.
4355 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4357 2012-02-17 Yao Qi <yao@codesourcery.com>
4359 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4361 2012-02-16 Tom Tromey <tromey@redhat.com>
4363 * gdb.base/inferior-died.c: Don't include stdio.h.
4365 2012-02-16 Tom Tromey <tromey@redhat.com>
4367 * gdb.base/inferior-died.c: New file.
4368 * gdb.base/inferior-died.exp: New file.
4370 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4372 * gdb.base/break-inline.exp: New file.
4373 * gdb.base/break-inline.c: New file.
4375 2012-02-15 Tom Tromey <tromey@redhat.com>
4377 * gdb.base/pc-fp.exp: Add "info register" tests.
4379 2012-02-15 Tom Tromey <tromey@redhat.com>
4381 * gdb.base/regs.exp: Remove.
4383 2012-02-15 Pedro Alves <palves@redhat.com>
4385 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4386 the target doesn't support tracepoints.
4387 * gdb.trace/circ.exp: Ditto.
4388 * gdb.trace/collection.exp: Ditto.
4389 * gdb.trace/packetlen.exp: Ditto.
4390 * gdb.trace/passc-dyn.exp: Ditto.
4391 * gdb.trace/report.exp: Ditto.
4392 * gdb.trace/tfind.exp: Ditto.
4393 * gdb.trace/tspeed.exp: Ditto.
4394 * gdb.trace/tsv.exp: Ditto.
4395 * gdb.trace/unavailable.exp: Ditto.
4396 * gdb.trace/while-dyn.exp: Ditto.
4398 2012-02-15 Pedro Alves <palves@redhat.com>
4400 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4401 gdb_test_multiple, and call unsupported instead of fail, if the
4402 remote side does not support the request.
4404 2012-02-15 Pedro Alves <palves@redhat.com>
4406 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4407 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4408 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4409 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4410 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4411 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4412 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4413 doesn't start with "extended-" already.
4415 2012-02-15 Pedro Alves <palves@redhat.com>
4417 Support extended-remote. Avoid cascading timeouts.
4419 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4420 the extended-remote target. If attaching with no file fails, load
4422 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4424 2012-02-14 Stan Shebs <stan@codesourcery.com>
4426 * gdb.base/ena-dis-br.exp: Add enable count test.
4428 2012-02-13 Pedro Alves <palves@redhat.com>
4430 * config/mips-idt.exp: Delete.
4431 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4432 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4433 * gdb.base/break.exp: Remove mips-idt references.
4434 * gdb.base/chng-syms.exp: Ditto.
4435 * gdb.base/default.exp: Ditto.
4436 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4437 (top level): Don't call it.
4438 * gdb.base/opaque.exp: Remove mips-idt restarts.
4439 * gdb.base/ptype.exp: Remove mips-idt xfails.
4440 * gdb.base/scope.exp: Remove mips-idt restarts.
4441 * gdb.base/sepdebug.exp: Remove mips-idt references.
4442 * gdb.base/watchpoint.exp (maybe_clean_restart)
4443 (maybe_reinitialize): Delete.
4444 (test_disabling_watchpoints, test_disabling_watchpoints)
4445 (test_watchpoint_triggered_in_syscall)
4446 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4449 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4451 * gdb.server/server-exec-info.exp: New file.
4453 2012-02-10 Pedro Alves <palves@redhat.com>
4455 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4457 (test_attach): Always pass $exec to test_attach_gdb.
4459 2012-02-08 Tom Tromey <tromey@redhat.com>
4461 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4462 before inferior is started.
4464 2012-02-07 Tom Tromey <tromey@redhat.com>
4466 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4468 * gdb.python/py-symbol.c (qq): Set default value.
4470 2012-02-07 Tom Tromey <tromey@redhat.com>
4472 * gdb.python/py-symbol.c (qq): New global.
4473 * gdb.python/py-symbol.exp: Add test for frame-less
4475 * gdb.python/py-symtab.exp: Fix line number.
4477 2012-02-03 Joel Brobecker <brobecker@adacore.com>
4479 * gdb.ada/mi_task_arg: New testcase.
4481 2012-02-02 Pedro Alves <palves@redhat.com>
4483 * gdb.reverse/until-precsave.exp: Also put "record save" under the
4486 2012-02-02 Pedro Alves <palves@redhat.com>
4488 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
4489 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
4491 2012-02-02 Pedro Alves <palves@redhat.com>
4493 * gdb.base/term.exp: Rewrite.
4494 * gdb.base/term.c: New.
4496 2012-02-02 Pedro Alves <palves@redhat.com>
4498 * gdb.base/default.exp (run "r" abbreviation, run): Add
4499 extended-remote expected output.
4501 2012-02-02 Tom Tromey <tromey@redhat.com>
4503 * gdb.cp/dispcxx.exp: New file.
4504 * gdb.cp/dispcxx.cc: New file.
4506 2012-02-01 Tom Tromey <tromey@redhat.com>
4508 * gdb.base/jit-simple.exp: New file.
4509 * gdb.base/jit-simple.c: New file.
4511 2012-01-30 Yao Qi <yao@codesourcery.com>
4513 * gdb.base/skip.exp: Make test result unique.
4515 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4517 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
4518 compatibility with valgrind-3.7.0.
4520 2012-01-27 Pedro Alves <palves@redhat.com>
4522 * gdb.base/watchpoint.exp (no_hw): New global.
4523 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4524 disable hw watchpoints.
4525 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4526 don't expect hw watchpoints.
4527 (no_hw_watchpoints): Always clean restart.
4528 (do_tests): New procedure, factored out from the top level.
4529 (top level): Run tests twice. Once with hw watchpoints enabled,
4530 another time with hw watchpoints disabled.
4532 2012-01-27 Pedro Alves <palves@redhat.com>
4534 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4535 out from the top level.
4536 (top level): Call it instead.
4538 2012-01-27 Pedro Alves <palves@redhat.com>
4540 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4543 2012-01-27 Pedro Alves <palves@redhat.com>
4545 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4547 2012-01-27 Pedro Alves <palves@redhat.com>
4549 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4550 "You may have requested too many hardware
4551 breakpoints/watchpoints".
4553 2012-01-27 Pedro Alves <palves@redhat.com>
4555 * gdb.base/watchpoint.exp (maybe_clean_restart)
4556 (maybe_reinitialize): New.
4557 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4558 expect "hit N times".
4559 (test_disabling_watchpoints, test_complex_watchpoint)
4560 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4561 Call maybe_clean_restart.
4562 (top level): Use clean_restart. Remove "mips-idt-*"
4565 2012-01-27 Pedro Alves <palves@redhat.com>
4567 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4569 2012-01-27 Pedro Alves <palves@redhat.com>
4571 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4572 require `initialize' anymore. Remove unnecessary `initialize'
4575 2012-01-27 Pedro Alves <palves@redhat.com>
4577 * gdb.base/watchpoint.exp (wp_set): Delete.
4578 (initialize, test_simple_watchpoint, top level): Remove dead code.
4580 2012-01-27 Pedro Alves <palves@redhat.com>
4582 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4585 2012-01-27 Pedro Alves <palves@redhat.com>
4587 * config/extended-gdbserver.exp: New file.
4588 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4590 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4591 * boards/native-extended-gdbserver.exp: New file.
4593 2012-01-26 Pedro Alves <palves@redhat.com>
4595 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4596 and gdb_test_multiple.
4598 2012-01-26 Pedro Alves <palves@redhat.com>
4600 Make test messages unique, and more identifiable.
4601 * gdb.multi/watchpoint-multi.exp: Change test messages.
4603 2012-01-25 Tom Tromey <tromey@redhat.com>
4605 * gdb.base/solib-disc.exp: Fix regexps.
4607 2012-01-24 Tom Tromey <tromey@redhat.com>
4609 * lib/mi-support.exp (mi_expect_stop): Add special case for
4611 * gdb.base/catch-load-so.c: New file.
4612 * gdb.base/catch-load.exp: New file.
4613 * gdb.base/catch-load.c: New file.
4614 * gdb.base/break-interp.exp (reach_1): Update regexp.
4616 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4619 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4622 2012-01-24 Gary Benson <gbenson@redhat.com>
4624 Delete #if 0'd out code.
4625 * gdb.base/default.exp (info catch): Remove.
4626 * gdb.base/gdb_history (info catch): Likewise.
4627 * gdb.base/help.exp (info catch): Likewise.
4629 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4631 Fix watchpoints to be specific for each inferior.
4632 * gdb.multi/watchpoint-multi.c: New file.
4633 * gdb.multi/watchpoint-multi.exp: New file.
4635 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4637 Fix watchpoints across inferior fork.
4638 * gdb.threads/watchpoint-fork-child.c: New file.
4639 * gdb.threads/watchpoint-fork-mt.c: New file.
4640 * gdb.threads/watchpoint-fork-parent.c: New file.
4641 * gdb.threads/watchpoint-fork-st.c: New file.
4642 * gdb.threads/watchpoint-fork.exp: New file.
4643 * gdb.threads/watchpoint-fork.h: New file.
4645 2012-01-23 Pedro Alves <palves@redhat.com>
4647 * gdb.base/call-signal-resume.exp: Allow output after "return".
4649 2012-01-20 Pedro Alves <palves@redhat.com>
4651 * gdb.python/py-finish-breakpoint.py: Fix typo.
4653 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4655 * gdb.base/info-proc.exp: Also run on remote targets. Main
4656 "info proc" command is now always present; whether target supports
4657 actual info proc operation is detected when attempting to issue
4660 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4664 2012-01-19 Pedro Alves <palves@redhat.com>
4666 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4667 look at the funtions' returns.
4668 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4669 (jprint.print(int, int)): Change return type to int. Adjust.
4671 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4674 * gdb.base/sepdebug.exp: New test.
4676 2012-01-18 Pedro Alves <palves@redhat.com>
4678 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4679 Allow output before ^done.
4681 2012-01-16 Tom Tromey <tromey@redhat.com>
4683 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4684 Add tests for relative directory.
4686 2012-01-16 Tom Tromey <tromey@redhat.com>
4688 * gdb.base/printcmds.c (enum flag_enum): New.
4689 (three): New global.
4690 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4692 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4693 FlagEnumerationPrinter.
4694 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4695 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4698 2012-01-16 Pedro Alves <palves@redhat.com>
4700 * lib/gdb.exp (banned_procedures): New variable.
4701 (banned_variables_traced): Rename to ...
4702 (banned_traced): ... this.
4703 (gdb_init): Also trace banned procedures.
4704 (gdb_finish): Also untrace banned procedures.
4706 2012-01-16 Pedro Alves <palves@redhat.com>
4708 Remove all calls to strace.
4710 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4712 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4713 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4715 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4717 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4718 * gdb.base/pie-execl.exp: Likewise.
4720 2012-01-12 Keith Seitz <keiths@redhat.com>
4723 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4724 (do_anonymous_type_tests): New function.
4725 (main): Call do_anonymous_type_tests.
4726 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4727 (verify_everything): New procedure.
4728 * gdb.mi/mi-var-cp.cc (class A): New class.
4729 (anonymous_structs_and_unions): New function.
4730 (main): Call anonymous_structs_and_unions.
4731 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4732 (verify_everything): New procedure.
4734 2012-01-12 Keith Seitz <keiths@redhat.com>
4736 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4737 (varobj_tree::get_path_expr): Assume that all varobjs are
4738 compound unless they are known simple types.
4739 Adjust path expressions based on parent type, path parent type,
4741 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4743 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4745 2012-01-11 Pedro Alves <palves@redhat.com>
4747 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4748 core files on this machine" anymore.
4750 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4752 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4753 (main): Repeat recurser call.
4754 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4755 equivalent to 'local_x'.
4757 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4758 Joel Brobecker <brobecker@adacore.com>
4760 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4762 2012-01-05 Pedro Alves <alves.ped@gmail.com>
4764 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4765 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4766 * gdb.python/py-events.exp: Test that "step N" tripping on a
4767 breakpoint emits a breakpoint event.
4769 2012-01-03 Joel Brobecker <brobecker@adacore.com>
4771 * gdb.base/auxv.exp: Reformat the copyright notice.
4773 2012-01-03 Yao Qi <yao@codesourcery.com>
4775 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4776 (strace_trace_on_diff_addr): New.
4777 * gdb.trace/strace.c: (main): Add two local variables.
4779 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4781 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4782 * gdb.cell/gcore.exp: Likewise.
4783 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4784 to verify the correct instance of main is selected.
4786 2012-01-02 Joel Brobecker <brobecker@adacore.com>
4788 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4789 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4790 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4791 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4792 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4793 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4794 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4795 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4796 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4797 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4798 gdb.threads/thread_check.c: Reformat copyright header.
4800 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4802 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
4803 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4806 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4808 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4809 parameter to self_exec, adjust the function.
4810 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4811 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4812 (set var do_exit = 0): Remove test.
4813 (newline at end of file): Add one.
4815 2011-12-27 Joel Brobecker <brobecker@adacore.com>
4817 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4820 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4823 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4824 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4825 (main): Call pthread_barrier_init for it.
4827 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4829 Fix double send_gdb leading to racy FAILs.
4830 * gdb.base/break.exp (set silent break bp_location1): Replace
4831 3x send_gdb and gdb_expect by gdb_test.
4832 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4833 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4834 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4835 instead of send_gdb. Twice.
4836 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4837 3x send_gdb and gdb_expect by gdb_test.
4838 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4840 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4842 * gdb.linespec/linespec.exp: Compile using {c++}.
4844 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4846 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4847 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4848 (verify GCC PR debug/51668): New test.
4850 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
4852 Introduce gdb.FinishBreakpoint in Python.
4853 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4854 py-finish-breakpoint2
4855 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4856 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4857 instead of line number.
4858 * gdb.python/py-finish-breakpoint.c: New file.
4859 * gdb.python/py-finish-breakpoint.exp: New file.
4860 * gdb.python/py-finish-breakpoint.py: New file.
4861 * gdb.python/py-finish-breakpoint2.cc: New file.
4862 * gdb.python/py-finish-breakpoint2.exp: New file.
4863 * gdb.python/py-finish-breakpoint2.py: New file.
4865 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4867 Partial fix of compatibility with gcc-4.7.
4868 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
4869 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
4870 Add comment to add a PASS case in the future.
4872 Fix compatibility with gcc-4.7.
4873 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
4875 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
4878 * gdb.base/callfuncs.exp: Remove KFAIL.
4880 2011-12-21 Joel Brobecker <brobecker@adacore.com>
4882 * gdb.ada/task_bp: New testcase.
4884 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4886 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
4888 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
4890 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4892 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
4893 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
4894 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4895 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
4896 conditional for gcc <= 4.5.
4898 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4900 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
4902 * gdb.cp/static-method.exp (info addr A::func())
4903 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4904 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4905 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4906 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
4907 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
4908 (test value of F in k3_m): Likewise.
4909 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4912 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4914 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
4915 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
4917 * gdb.threads/attachstop-mt.c: Remove.
4918 * gdb.threads/attachstop-mt.exp: Remove.
4920 2011-12-17 Mark Kettenis <kettenis@gnu.org>
4922 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
4924 2011-12-16 Doug Evans <dje@google.com>
4926 * boards/native-stdio-gdbserver.exp: New file.
4927 * boards/native-gdbserver.exp: New file.
4929 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
4931 (gdbserver_default_get_remote_address): New function.
4932 (gdbserver_start): Call gdb,get_remote_address to compute argument
4933 to "target remote" command.
4935 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
4937 * gdb.python/py-function.exp: Change "on" to "full" for
4938 python print-stack. Add set/show python print-stack
4939 off|full|message tests.
4941 2011-12-15 Yao Qi <yao@codesourcery.com>
4943 * gdb.trace/strace.c: New
4944 * gdb.trace/strace.exp: New.
4946 2011-12-14 Tom Tromey <tromey@redhat.com>
4948 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
4950 2011-12-14 Doug Evans <dje@google.com>
4952 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
4954 2011-12-14 Pedro Alves <pedro@codesourcery.com>
4958 * gdb.mi/watch-nonstop.c: New file.
4959 * gdb.mi/mi-watch-nonstop.exp: New file.
4961 2011-12-13 Pedro Alves <pedro@codesourcery.com>
4962 Doug Evans <dje@google.com>
4964 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
4965 (clean_restart): Remove references to the gdb_stub target board
4967 (gdb_step_for_stub): Delete.
4969 * gdb.base/annota1.exp: Remove all references to [target_info
4970 exists gdb_stub], gdb_step_for_stub and usestubs.
4971 * gdb.base/annota3.exp: Ditto.
4972 * gdb.base/async.exp: Ditto.
4973 * gdb.base/break.exp: Ditto.
4974 * gdb.base/code-expr.exp: Ditto.
4975 * gdb.base/commands.exp: Ditto.
4976 * gdb.base/completion.exp: Ditto.
4977 * gdb.base/condbreak.exp: Ditto.
4978 * gdb.base/consecutive.exp: Ditto.
4979 * gdb.base/cvexpr.exp: Ditto.
4980 * gdb.base/define.exp: Ditto.
4981 * gdb.base/display.exp: Ditto.
4982 * gdb.base/ena-dis-br.exp: Ditto.
4983 * gdb.base/environ.exp: Ditto.
4984 * gdb.base/gnu-ifunc.exp: Ditto.
4985 * gdb.base/maint.exp: Ditto.
4986 * gdb.base/pending.exp: Ditto.
4987 * gdb.base/sect-cmd.exp: Ditto.
4988 * gdb.base/sepdebug.exp: Ditto.
4989 * gdb.base/unload.exp: Ditto.
4990 * gdb.base/watchpoint-solib.exp: Ditto.
4991 * gdb.cp/annota2.exp: Ditto.
4992 * gdb.cp/annota3.exp: Ditto.
4993 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
4994 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
4995 * gdb.mi/mi-pending.exp: Ditto.
4996 * gdb.trace/circ.exp: Ditto.
4997 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
4998 * gdb.base/list.exp: Ditto.
5000 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
5001 breakpoint function and all references to the usestubs macro.
5002 * gdb.base/exprs.c: Ditto.
5003 * gdb.base/freebpcmd.c: Ditto.
5004 * gdb.base/bitfields.c: Ditto.
5005 * gdb.base/bitfields2.c: Ditto.
5006 * gdb.base/break.c: Ditto.
5007 * gdb.base/call-sc.c: Ditto.
5008 * gdb.base/call-signals.c: Ditto.
5009 * gdb.base/callfuncs.c: Ditto.
5010 * gdb.base/charset.c: Ditto.
5011 * gdb.base/consecutive.c: Ditto.
5012 * gdb.base/constvars.c: Ditto.
5013 * gdb.base/funcargs.c: Ditto.
5014 * gdb.base/int-type.c: Ditto.
5015 * gdb.base/interrupt.c: Ditto.
5016 * gdb.base/langs0.c: Ditto.
5017 * gdb.base/list0.c: Ditto.
5018 * gdb.base/mips_pro.c: Ditto.
5019 * gdb.base/miscexprs.c: Ditto.
5020 * gdb.base/nodebug.c: Ditto.
5021 * gdb.base/opaque0.c: Ditto.
5022 * gdb.base/pointers.c: Ditto.
5023 * gdb.base/printcmds.c: Ditto.
5024 * gdb.base/ptype.c: Ditto.
5025 * gdb.base/recurse.c: Ditto.
5026 * gdb.base/reread1.c: Ditto.
5027 * gdb.base/reread2.c: Ditto.
5028 * gdb.base/restore.c: Ditto.
5029 * gdb.base/return.c: Ditto.
5030 * gdb.base/run.c: Ditto.
5031 * gdb.base/scope0.c: Ditto.
5032 * gdb.base/sepdebug.c: Ditto.
5033 * gdb.base/setshow.c: Ditto.
5034 * gdb.base/setvar.c: Ditto.
5035 * gdb.base/sigall.c: Ditto.
5036 * gdb.base/signals.c: Ditto.
5037 * gdb.base/structs.c: Ditto.
5038 * gdb.base/structs2.c: Ditto.
5039 * gdb.base/testenv.c: Ditto.
5040 * gdb.base/twice.c: Ditto.
5041 * gdb.base/unwindonsignal.c: Ditto.
5042 * gdb.base/watchpoint.c: Ditto.
5043 * gdb.base/watchpoints.c: Ditto.
5044 * gdb.base/whatis.c: Ditto.
5045 * gdb.cp/classes.cc: Ditto.
5046 * gdb.cp/cplusfuncs.cc: Ditto.
5047 * gdb.cp/derivation.cc: Ditto.
5048 * gdb.cp/formatted-ref.cc: Ditto.
5049 * gdb.cp/misc.cc: Ditto.
5050 * gdb.cp/overload.cc: Ditto.
5051 * gdb.cp/ovldbreak.cc: Ditto.
5052 * gdb.cp/ref-params.cc: Ditto.
5053 * gdb.cp/ref-types.cc: Ditto.
5054 * gdb.cp/templates.cc: Ditto.
5055 * gdb.cp/virtfunc.cc: Ditto.
5056 * gdb.hp/gdb.aCC/run.c: Ditto.
5057 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5058 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5059 * gdb.reverse/consecutive-reverse.c: Ditto.
5060 * gdb.reverse/sigall-reverse.c: Ditto.
5061 * gdb.reverse/until-reverse.c: Ditto.
5062 * gdb.reverse/watch-reverse.c: Ditto.
5063 * gdb.trace/actions.c: Ditto.
5064 * gdb.trace/circ.c: Ditto.
5065 * gdb.trace/collection.c: Ditto.
5067 2011-12-13 Pedro Alves <pedro@codesourcery.com>
5069 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5070 (func6, func7): New.
5071 (main): Call func6 and func7.
5072 * gdb.base/watchpoint.exp (test_wide_location_1)
5073 (test_wide_location_2): New.
5074 (top level): Re-enable hardware watchpoints if necessary. Call
5075 test_wide_location_1 and test_wide_location_2.
5077 2011-12-11 Yao Qi <yao@codesourcery.com>
5079 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5081 2011-12-11 Joel Brobecker <brobecker@adacore.com>
5083 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5084 expected output for unsupported case.
5086 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5089 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5090 Protect gdb_test_multiple by final $gdb_prompt match.
5092 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5094 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5095 New variable, new test.
5096 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5097 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5098 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5099 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5100 them if HAVE_GCC_45682_FIXED is not set.
5102 2011-12-10 Yao Qi <yao@codesourcery.com>
5104 * gdb.trace/status-stop.exp: New.
5105 * gdb.trace/status-stop.c: New.
5107 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5109 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5112 2011-12-08 Tom Tromey <tromey@redhat.com>
5114 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5117 2011-12-07 Stan Shebs <stan@codesourcery.com>
5119 * gdb.trace/tfind.exp: Update for output changes.
5121 2011-12-07 Pedro Alves <pedro@codesourcery.com>
5123 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5124 throws "Cannot insert catchpoints in this configuration".
5125 * gdb.ada/mi_catch_ex.exp: Likewise.
5127 2011-12-06 Pedro Alves <pedro@codesourcery.com>
5129 * gdb.base/break-always.exp: Test changing memory at addresses
5130 with breakpoints inserted.
5132 2011-12-06 Joel Brobecker <brobecker@acacore.com>
5134 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5135 involving a fully qualified function name.
5137 2011-12-06 Tom Tromey <tromey@redhat.com>
5139 * gdb.ada/homonym.exp: Add three breakpoint tests.
5141 2011-12-06 Tom Tromey <tromey@redhat.com>
5143 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5144 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5145 * gdb.objc/objcdecode.exp: Update for output changes.
5146 * gdb.linespec/linespec.exp: New file.
5147 * gdb.linespec/lspec.cc: New file.
5148 * gdb.linespec/lspec.h: New file.
5149 * gdb.linespec/body.h: New file.
5150 * gdb.linespec/base/two/thefile.cc: New file.
5151 * gdb.linespec/base/one/thefile.cc: New file.
5152 * gdb.linespec/Makefile.in: New file.
5153 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5155 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5156 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5157 makes one breakpoint.
5158 * gdb.cp/method2.exp (test_break): Update for output changes.
5159 * gdb.cp/mb-templates.exp: Update for output changes.
5160 * gdb.cp/mb-inline.exp: Update for output changes.
5161 * gdb.cp/mb-ctor.exp: Update for output changes.
5162 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5163 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5164 has multiple matches.
5165 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5166 error message change.
5167 * gdb.base/list.exp (test_list_filename_and_number): Update for
5168 error message change.
5169 * gdb.base/break.exp: Disable pending breakpoints. Update for
5171 * configure.ac: Add gdb.linespec.
5172 * configure: Rebuild.
5173 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5175 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5177 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5178 last_break register on s390*-*-* targets.
5180 2011-12-06 Joel Brobecker <brobecker@adacore.com>
5182 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5183 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5184 of parameter X in procedure Foo.
5186 2011-12-05 Stan Shebs <stan@codesourcery.com>
5188 * gdb.trace/tfind.exp: Update help string matches.
5190 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5192 * gdb.server/ext-run.exp (get process list): Accept also systemd
5195 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5196 Pedro Alves <pedro@codesourcery.com>
5198 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5200 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5202 * gdb.base/display.exp: Likewise.
5203 * gdb.base/ending-run.exp: Likewise.
5204 * gdb.base/list.exp (test_listsize): Likewise.
5205 * gdb.base/setshow.exp: Likewise.
5206 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5207 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5208 check by global $use_gdb_stub.
5209 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5210 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5211 (default_gdb_init): Unset global $use_gdb_stub.
5212 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5213 by global $use_gdb_stub.
5214 * lib/gdbserver-support.exp: Extend comments for set_board_info
5215 gdb_protocol and gdb,socketport.
5216 (gdbserver_start_extended): Set global gdbserver_protocol and
5217 gdbserver_gdbport. Clear global use_gdb_stub.
5218 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5219 from target use_gdb_stub.
5220 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5222 2011-12-03 Doug Evans <dje@google.com>
5224 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5225 (gdb_step_for_stub): Add comments.
5227 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5229 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5231 (gdb_test_multiple): Likewise.
5233 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5235 Fix gdb.mi/mi-solib.exp without system debug info installed.
5236 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5237 expect attribute, return 0 for it. Update comments.
5239 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5241 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5242 (corrupted list): Adjust the expectation.
5244 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5247 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5248 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5249 * gdb.threads/tls-var-main.c: New file.
5250 * gdb.threads/tls-var.c: New file.
5251 * gdb.threads/tls-var.exp: New file.
5253 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5256 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5257 Protect gdb_test_multiple by final $gdb_prompt match.
5258 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5259 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5260 (test_tracepoints): Likewise.
5262 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5264 PR breakpoints/13346
5265 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5266 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5267 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5269 2011-12-01 Joel Brobecker <brobecker@adacore.com>
5271 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5272 * gdb.ada/homonym/homonym.adb: For use of all types defined
5273 locally inside both Get_Value subprograms.
5275 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5278 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5281 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5283 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5284 environment variable after test completed.
5286 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5288 * gdb.base/solib-nodir.exp: Skip if remote target.
5289 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5290 application. Call gdb_load_shlibs.
5291 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5293 2011-11-29 Joel Brobecker <brobecker@adacore.com>
5295 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5297 2011-11-28 Joel Brobecker <brobecker@adacore.com>
5299 * gdb.ada/fullname_bp: New testcase.
5301 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5304 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5305 Wrap send_gdb into a new gdb_test.
5308 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5309 Convert send_gdb and gdb_expect to gdb_test_multiple.
5311 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5313 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5315 2011-11-23 Keith Seitz <keiths@redhat.com>
5317 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5318 (mi_varobj_tree_test_children_callback): New proc.
5319 (mi_walk_varobj_tree): New proc.
5321 2011-11-22 Tom Tromey <tromey@redhat.com>
5323 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5324 Add "use_mi_command" argument.
5325 (mi_run_cmd, mi_run_with_cli): New procs.
5326 * gdb.mi/solib-lib.c: New file.
5327 * gdb.mi/solib-main.c: New file.
5328 * gdb.mi/mi-solib.exp: New file.
5330 2011-11-21 Doug Evans <dje@google.com>
5332 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5333 _Unwind_DebugHook is missing.
5335 2011-11-20 Stan Shebs <stan@codesourcery.com>
5337 * gdb.trace/tstatus.exp: New.
5338 * gdb.trace/actions.c: Include string.h.
5340 2011-11-18 Yao Qi <yao@codesourcery.com>
5342 * gdb.trace/pending.exp: New.
5343 * gdb.trace/pending.c: New.
5344 * gdb.trace/pendshr1.c: New.
5345 * gdb.trace/pendshr2.c: New.
5346 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5347 tracepoint location becomes pending.
5348 (tracepoint_change_loc_2): New.
5350 2011-11-16 David S. Miller <davem@davemloft.net>
5352 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5353 target is sparc*-*-linux*
5355 2011-11-15 Paul Koning <paul_koning@dell.com>
5357 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5360 2011-11-14 Doug Evans <dje@google.com>
5362 * gdb.base/shell.exp: New file.
5364 2011-11-14 Stan Shebs <stan@codesourcery.com>
5366 * gdb.trace/ftrace.c: New.
5367 * gdb.trace/ftrace.exp: New.
5369 2011-11-14 Yao Qi <yao@codesourcery.com>
5371 * gdb.trace/change-loc-1.c: New.
5372 * gdb.trace/change-loc-2.c: New.
5373 * gdb.trace/change-loc.c: New.
5374 * gdb.trace/change-loc.exp: New.
5375 * gdb.trace/change-loc.h: New.
5376 * gdb.trace/trace-break.c (marker): Define new symbol.
5377 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
5379 (break_trace_same_addr_6): New.
5381 2011-11-12 Matt Rice <ratmice@gmail.com>
5383 * gdb.base/info-macros.exp: Make tests for info definitions
5384 test info macro. Add tests for info macro argument processing.
5387 2011-11-11 Keith Seitz <keiths@redhat.com>
5390 * gdb.base/linespecs.exp: New file.
5392 2011-11-11 Doug Evans <dje@google.com>
5394 * gdb.threads/print-threads.exp: Extend timeout for slower
5397 2011-11-10 Doug Evans <dje@google.com>
5399 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5400 "record to end of main" test.
5402 * gdb.python/py-type.c (TS): New typedef.
5404 * gdb.python/py-type.exp: Test field list of typedef.
5406 2011-11-10 Joel Brobecker <brobecker@adacore.com>
5408 * gdb.ada/small_reg_param: New testcase.
5410 2011-11-09 Tom Tromey <tromey@redhat.com>
5412 * gdb.cp/destrprint.exp: New file.
5413 * gdb.cp/destrprint.cc: New file.
5415 2011-11-08 Meador Inge <meadori@codesourcery.com>
5417 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5418 (switch_stack_to_other): New test function.
5419 * gdb.arch/thumb-prologue.exp: New test cases.
5421 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
5423 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5425 2011-11-08 Yao Qi <yao@codesourcery.com>
5427 * gdb.exp (supports_process_record): New.
5428 (supports_reverse): New.
5429 * gdb.reverse/break-precsave.exp: Call support_process_record
5430 to run test conditionally.
5431 * gdb.reverse/consecutive-precsave.exp: Likewise.
5432 * gdb.reverse/i386-precsave.exp: Likewise.
5433 * gdb.reverse/machinestate-precsave.exp: Likewise.
5434 * gdb.reverse/solib-precsave.exp: Likewise.
5435 * gdb.reverse/step-precsave.exp: Likewise.
5436 * gdb.reverse/until-precsave.exp: Likewise.
5437 * gdb.reverse/watch-precsave.exp: Likewise.
5438 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5440 * gdb.reverse/consecutive-reverse.exp: Likewise.
5441 * gdb.reverse/finish-precsave.exp: Likewise.
5442 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5443 * gdb.reverse/finish-reverse.exp: Likewise.
5444 * gdb.reverse/i386-reverse.exp: Likewise.
5445 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5446 * gdb.reverse/machinestate.exp: Likewise.
5447 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5448 * gdb.reverse/sigall-precsave.exp: Likewise.
5449 * gdb.reverse/sigall-reverse.exp: Likewise.
5450 * gdb.reverse/solib-reverse.exp: Likewise.
5451 * gdb.reverse/step-reverse.exp: Likewise.
5452 * gdb.reverse/until-reverse.exp: Likewise.
5453 * gdb.reverse/watch-reverse.exp: Likewise.
5455 2011-11-05 Yao Qi <yao@codesourcery.com>
5457 * gdb.trace/trace-break.exp: Add test on setting two
5458 fast tracepoints at the same address.
5460 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5462 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5464 2011-11-02 Stan Shebs <stan@codesourcery.com>
5466 * gdb.trace/collection.c: Add code using strings.
5467 * gdb.trace/collection.exp: Add tests of string collection.
5469 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5471 * gdb.base/skip-solib.exp (executable_main): New variable.
5472 (binfile_main): Base it on that.
5473 Use $executable_main in clean_restart calls. Drop gdb_exit and
5476 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5479 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
5480 breakpoint_re globals import by async. Set string_regex to .* for
5481 async. Remove the optional thread_selected_re and breakpoint_re
5482 globals expectations.
5484 2011-11-01 Joseph Myers <joseph@codesourcery.com>
5486 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
5489 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
5491 Add tests for skip command.
5492 * gdb.base/skip-solib-lib.c: New
5493 * gdb.base/skip-solib-main.c: New
5494 * gdb.base/skip-solib.exp: New
5495 * gdb.base/skip.c: New
5496 * gdb.base/skip.exp: New
5497 * gdb.base/skip1.c: New
5498 * gdb.base/Makefile.in: Adding new files.
5500 2011-10-31 Yao Qi <yao@codesourcery.com>
5501 Pedro Alves <pedro@codesourcery.com>
5503 * gdb.trace/trace-break.c: New.
5504 * gdb.trace/trace-break.exp: New.
5506 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5508 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
5511 2011-10-28 Pedro Alves <pedro@codesourcery.com>
5513 * gdb.threads/no-unwaited-for-left.c: New.
5514 * gdb.threads/no-unwaited-for-left.exp: New.
5515 * gdb.threads/non-ldr-exc-1.c: New.
5516 * gdb.threads/non-ldr-exc-1.exp: New.
5517 * gdb.threads/non-ldr-exc-2.c: New.
5518 * gdb.threads/non-ldr-exc-2.exp: New.
5519 * gdb.threads/non-ldr-exc-3.c: New.
5520 * gdb.threads/non-ldr-exc-3.exp: New.
5521 * gdb.threads/non-ldr-exc-4.c: New.
5522 * gdb.threads/non-ldr-exc-4.exp: New.
5524 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5526 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5527 * gdb.base/attach-pie-misread.exp: Likewise.
5528 * gdb.base/break-interp.exp: Likewise.
5529 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5530 testcases for use_gdb_stub.
5531 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5532 (continue): New testcase.
5533 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5534 * gdb.threads/attach-into-signal.exp: Likewise.
5535 * gdb.threads/attach-stopped.exp: Likewise.
5536 * gdb.threads/attachstop-mt.exp: Likewise.
5538 2011-10-28 Paul Koning <paul_koning@dell.com>
5540 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5542 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5544 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5545 (mi_gdb_test): Import globals thread_selected_re
5546 and breakpoint_re. Expect them optionally at the regex start.
5548 2011-10-27 Doug Evans <dje@google.com>
5550 * gdb.python/python.exp: Test source -s.
5552 2011-10-26 Paul Koning <paul_koning@dell.com>
5554 * gdb.python/lib-types.cc (struct A): New structure.
5555 * gdb.python/lib-types.exp (deepitems): New tests.
5557 2011-10-25 Paul Koning <paul_koning@dell.com>
5561 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5564 2011-10-24 Yao Qi <yao@codesourcery.com>
5566 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5567 target is tic6x-*-*.
5569 2011-10-21 Joel Brobecker <brobecker@adacore.com>
5571 * gdb.ada/mi_task_info/task_switch.adb: New file.
5572 * gdb.ada/mi_task_info.exp: New file.
5574 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5576 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5577 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5579 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5583 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5586 2011-10-18 Tom Tromey <tromey@redhat.com>
5588 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5590 2011-10-18 Tom Tromey <tromey@redhat.com>
5592 * gdb.base/source.exp: Don't include full file name in test name.
5593 * gdb.python/python.exp: Don't include full file name in test
5596 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5598 * gdb.base/attach-pie-noexec.c: New files.
5599 * gdb.base/attach-pie-noexec.exp: New files.
5601 2011-10-17 Joseph Myers <joseph@codesourcery.com>
5603 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5604 prompt for each extra line in command.
5606 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5608 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5610 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5611 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5612 Change the expected string.
5614 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5616 Fix results with system glibc debug info installed.
5617 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5618 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5619 Accept also __libc_ symbol prefix and no prefix.
5621 2011-10-14 Keith Seitz <keiths@redhat.com>
5624 * gdb.cp/converts.cc (foo3_1): New function.
5625 (foo3_2): New functions.
5626 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5627 and null pointer conversions of integer constant zero.
5628 Add test to check if all arguments are checked for incompatible
5631 2011-10-14 Tom Tromey <tromey@redhat.com>
5633 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5634 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5637 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5639 Fix internal error regression.
5640 * gdb.dwarf2/implptr-optimized-out.S: New file.
5641 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5643 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5645 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5646 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5649 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5650 Use prepare_for_testing, remove clean_restart.
5651 (p arraynoloc, p arraycallnoloc): New tests.
5653 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5655 * gdb.cp/namespace-enum.exp (executable): New variable.
5656 (binfile): Use ${objdir}/${subdir}/ prefix.
5657 Use ${executable} for clean_restart.
5659 2011-10-11 Sterling Augustine <saugustine@google.com>
5661 * gdb.cp/Makefile.in: Add namespace-enum test.
5662 * gdb.cp/namespace-enum.exp: New file.
5663 * gdb.cp/namespace-enum.c: New file.
5664 * gdb.cp/namespace-enum-main.c: New file.
5666 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5668 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5671 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5673 Reimplement @entry in input expressions.
5674 * gdb.base/exprs.c (v_int_array_init): New variable.
5675 * gdb.base/exprs.exp (print v_int_array_init)
5676 (print *v_int_array_init@1, print *v_int_array_init@2)
5677 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5678 (print v_int_array_init[1]@1): New tests.
5680 2011-10-10 Joseph Myers <joseph@codesourcery.com>
5682 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5685 2011-10-09 Doug Evans <dje@google.com>
5687 * gdb.base/alias.exp: Add tests for alias command.
5689 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5691 * gdb.arch/amd64-entry-value.s: New file.
5692 * gdb.mi/mi2-amd64-entry-value.s: New file.
5694 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5696 Display @entry parameter values even for references.
5697 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5699 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5700 reference and datap_input.
5701 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5703 (continue to breakpoint: entry_reference: reference)
5704 (entry_reference: bt at entry)
5705 (continue to breakpoint: entry_reference: breakhere_reference)
5706 (entry_reference: bt, entry_reference: ptype regparam)
5707 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5708 (entry_reference: p regparam@entry, entry_reference: p ®param@entry)
5709 (entry_reference: p regcopy, entry_reference: p nodataparam)
5710 (entry_reference: p nodataparam@entry): New tests.
5712 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5714 Support @entry in input expressions.
5715 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5716 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5717 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5718 (tailcall: p j@entry): New tests.
5719 * gdb.cp/koenig.cc (A::entry): New function.
5721 * gdb.cp/koenig.exp (p entry (c)): New test.
5723 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5725 Display @entry parameter values (without references).
5726 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5727 (different, validity, invalid): New functions.
5729 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5730 stacktest, breakhere_stacktest, different, breakhere_different,
5731 breakhere_validity and breakhere_invalid.
5732 (entry: bt): Update for @entry.
5733 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5734 (entry_validity: *, entry_invalid: *): Many new tests.
5735 * gdb.base/break.exp
5736 (run until breakpoint set at small function, optimized file): Accept
5737 also the @entry suffix.
5738 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5739 * gdb.mi/mi2-amd64-entry-value.c: New files.
5740 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5742 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5744 Protect entry values against self tail calls.
5745 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5747 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5748 (set debug entry-values 1, self: bt debug entry-values): New tests.
5750 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5752 Recognize virtual tail call frames.
5753 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5754 (amb_b, amb_a): New.
5755 (main): Call a and b.
5756 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5757 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5758 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5761 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5763 Implement basic support for DW_TAG_GNU_call_site.
5764 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5765 * gdb.arch/amd64-entry-value.cc: New file.
5766 * gdb.arch/amd64-entry-value.exp: New file.
5768 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5770 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5771 * gdb.dwarf2/implptr-64bit.S: New file.
5772 * gdb.dwarf2/implptr-64bit.exp: New file.
5774 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5776 Fix initial language detection with -readnow.
5777 * gdb.cp/readnow-language.cc: New file.
5778 * gdb.cp/readnow-language.exp: New file.
5780 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5782 Fix printed anonymous struct name.
5783 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5785 2011-10-09 Joseph Myers <joseph@codesourcery.com>
5787 * gdb.base/solib-symbol.exp: Do not include directories in
5788 filenames in expected messages.
5790 2011-10-07 Doug Evans <dje@google.com>
5792 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5794 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
5796 Allow Python notification of new object-file loadings.
5797 * gdb.python/py-events.exp: Test newobjfile event.
5798 * gdb.python/py-events.py: Register newobjfile callback.
5799 * gdb.python/py-events.c: Add call to shared library
5800 * gdb.python/py-events-shlib.c: New file.
5802 2011-10-06 Joseph Myers <joseph@codesourcery.com>
5804 * gdb.base/fixsection.exp: Do not include directories in filename
5805 in expected message.
5807 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5809 Add tests for passing of environment variables to inferior.
5810 * gdb.base/testenv.c: New test source.
5811 * gdb.base/testenv.exp: New expect test.
5813 2011-10-04 Paul Koning <paul_koning@dell.com>
5815 * gdb.python/py-value.c (main): Break before return.
5817 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
5819 PR python/12691: Add the inferior to Python exited event
5820 * gdb.python/py-events.exp: Test the inferior attribute of exited
5822 * gdb.python/py-events.py: Print inferior number on exit.
5823 * gdb.python/py-events.c: Fork the inferior.
5825 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5827 * gdb.base/jit.exp: Add testcase name to log message
5829 2011-10-03 Paul Koning <paul_koning@dell.com>
5830 Jan Kratochvil <jan.kratochvil@redhat.com>
5832 * gdb.python/py-value.exp
5833 (python inval = gdb.parse_and_eval('*(int*)0'))
5834 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5835 (set argc=2, python print argc_lazy): New tests.
5837 2011-10-02 Joel Brobecker <brobecker@adacore.com>
5839 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5841 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5842 Pedro Alves <pedro@codesourcery.com>
5844 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5845 can_read_0, test for it.
5846 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5847 (parse_and_eval with memory error): ... here, make it untested if
5850 2011-09-30 Marek Polacek <mpolacek@redhat.com>
5852 * gdb.python/python.exp (verify pagination beforehand)
5853 (verify pagination afterwards): Fix race by splitting the line.
5855 2011-09-29 Joseph Myers <joseph@codesourcery.com>
5857 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5858 for 64-bit multilibs from i?86-* targets.
5860 2011-09-29 Marek Polacek <mpolacek@redhat.com>
5862 * lib/gdb.exp: Fix a typo in one of the comments.
5864 2011-09-29 Marek Polacek <mpolacek@redhat.com>
5866 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
5869 2011-09-28 Paul Koning <paul_koning@dell.com>
5871 * gdb.python/py-type.c (enum E): New.
5872 * gdb.python/py-type.exp (test_fields): Add tests for Python
5873 mapping access to fields.
5874 (test_enums): New test for field access on enums.
5876 2011-09-27 Stan Shebs <stan@codesourcery.com>
5878 * gdb.trace/collection.exp: Test collection of $_ret.
5880 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
5882 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
5883 list of compilation switches for <*-*-freebsd*>.
5885 2011-09-19 Stan Shebs <stan@codesourcery.com>
5887 * gdb.trace/tspeed.exp: New file.
5888 * gdb.trace/tspeed.c: New file.
5890 2011-09-18 Yao Qi <yao@codesourcery.com>
5892 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
5894 (test_adr_32bit, test_pop_pc): Likewise.
5895 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
5897 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
5898 in gdb_test_multiple.
5899 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
5901 2011-09-17 Yao Qi <yao@codesourcery.com>
5903 * lib/gdb.exp (can_single_step_to_signal_handler): New.
5904 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
5905 support single step to signal handler.
5907 2011-09-17 Yao Qi <yao@codesourcery.com>
5909 * gdb.base/disp-step-fork.c: New.
5910 * gdb.base/disp-step-syscall.exp: New.
5911 * gdb.base/disp-step-vfork.c: New.
5913 2011-09-16 Joel Brobecker <brobecker@adacore.com>
5915 * gdb.ada/tasks.exp: Make the expected output for
5916 the `info tasks' tests more resilient to spacing
5919 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5921 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
5922 (reached breakpoint 2, reached breakpoint 3): Update expected output.
5924 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
5926 PR Python/12692 Add gdb.selected_inferior() to Python interface.
5927 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
5929 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
5931 Handle multiple breakpoint hits in Python interface:
5932 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
5934 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
5937 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5938 Jan Kratochvil <jan.kratochvil@redhat.com>
5940 * gdb.python/py-events.exp: Remove pretty printing comment.
5941 * gdb.python/py-evsignal.exp: New file.
5942 * gdb.python/py-evthreads.c: Include signal.h.
5943 (thread3): Remove variable count3. Remove variable bad and use raise
5945 (thread2): Remove variable count2. Move thread3 pthread_create here,
5946 merge pthread_join to a single line.
5947 (main): Remove variable count1. Merge pthread_join with pthread_create
5949 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
5950 KFAIL python/12966 for gdbserver. Test return value of
5951 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
5952 gdb_expect by gdb_test and gdb_test_multiple.
5953 (thread 2, thread 3): New tests.
5955 2011-09-12 Matt Rice <ratmice@gmail.com>
5956 Pedro Alves <pedro@codesourcery.com>
5960 * gdb.base/interp.exp: New tests.
5961 * gdb.base/interp.c: New file.
5963 2011-09-12 Doug Evans <dje@google.com>
5965 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
5966 * gdb.dwarf2/typeddwarf.exp: Ditto.
5968 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5970 Fix compatibility with x32 arch.
5971 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
5972 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
5974 * testsuite/gdb.trace/collection.exp: Likewise.
5975 * testsuite/gdb.trace/report.exp: Likewise.
5976 * testsuite/gdb.trace/unavailable.exp: Likewise.
5977 * testsuite/gdb.trace/while-dyn.exp: Likewise.
5978 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
5979 (is_x86_like_target): Check also is_amd64_regs_target.
5981 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5983 PR breakpoints/12435
5984 * gdb.arch/amd64-prologue-xmm.c: New file.
5985 * gdb.arch/amd64-prologue-xmm.exp: New file.
5986 * gdb.arch/amd64-prologue-xmm.s: New file.
5988 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5990 * gdb.dwarf2/dw2-param-error-main.c: New file.
5991 * gdb.dwarf2/dw2-param-error.S: New file.
5992 * gdb.dwarf2/dw2-param-error.exp: New file.
5994 2011-09-08 Pedro Alves <pedro@codesourcery.com>
5996 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
5997 inferior's pid and look for a core dump named core.$pid. Use
5998 `remote_file' commands on the host instead of hand coding shell
5999 commands on the build.
6000 * gdb.base/valgrind-db-attach.exp: Kill the program before
6003 2011-09-02 Matt Rice <ratmice@gmail.com>
6005 * lib/prompt.exp: New file for testing the first prompt.
6006 * gdb.python/py-prompt.exp: Ditto.
6007 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
6009 2011-09-02 Pedro Alves <pedro@codesourcery.com>
6011 * gdb.threads/gcore-thread.exp: Set the global core_supported to
6012 0, before testing gcore.
6014 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6016 * dw2-ifort-parameter-debug.S: Update copyright year.
6017 * dw2-ifort-parameter.c: Update copyright year.
6018 * dw2-ifort-parameter.exp: Update copyright year.
6020 * dw2-ifort-parameter-debug.S: New file.
6021 * dw2-ifort-parameter.c: New file.
6022 * dw2-ifort-parameter.exp: New file.
6024 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6026 * gdb.base/commands.exp (error_clears_commands_left): New function.
6029 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6031 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
6032 (C): Initialize `a'.
6033 * gdb.mi/mi-inheritance-syntax-error.exp
6034 (-data-evaluate-expression $path): Expect `a' as 5.
6036 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
6039 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
6040 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
6041 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
6042 keyword in output of -var-info-path-expression.
6044 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6046 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6047 * gdb.trace/collection.exp: Likewise.
6048 * gdb.trace/report.exp: Likewise.
6049 * gdb.trace/unavailable.exp: Likewise.
6050 * gdb.trace/while-dyn.exp: Likewise.
6052 2011-08-18 Keith Seitz <keiths@redhat.com>
6055 * gdb.cp/meth-typedefs.cc: New file.
6056 * gdb.cp/meth-typedefs.exp: New file.
6058 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6060 * gdb.python/python.exp: Add extended-prompt tests.
6062 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6064 * gdb.arch/i386-dr3-watch.exp
6065 (watchpoint on gap1 does not fit debug registers)
6066 (delete all watchpoints): Fix racy expect strings.
6068 2011-08-14 Yao Qi <yao@codesourcery.com>
6070 * gdb.base/maint.exp: set data_section to ".neardata".
6071 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6072 * gdb.base/savedregs.exp: Handle SIGILL.
6073 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6074 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6076 2011-08-12 Doug Evans <dje@google.com>
6078 * gdb.python/py-symbol.exp: Add test for symbol.type.
6080 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6082 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6083 * gdb.mi/mi-pthreads.exp: Likewise.
6084 * gdb.mi/mi2-pthreads.exp: Likewise.
6085 * gdb.mi/gdb669.exp.exp: Likewise.
6087 2011-08-09 Pedro Alves <pedro@codesourcery.com>
6089 * lib/mi-support.exp (detect_async): Rename to...
6090 (mi_detect_async): ... this.
6091 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6092 * gdb.mi/mi-nonstop.exp: Adjust.
6093 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6094 * gdb.mi/mi-nsintrall.exp: Adjust.
6095 * gdb.mi/mi-nsmoribund.exp: Adjust.
6096 * gdb.mi/mi-nsthrexec.exp: Adjust.
6098 2011-08-09 Pedro Alves <pedro@codesourcery.com>
6100 * gdb.base/display.c (do_loops): New `p_i' local.
6101 * gdb.base/display.exp: Test displaying a variable that is
6102 temporarily at a bad address.
6104 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6106 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6107 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6109 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6111 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
6112 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6113 (p fuNC_symtab): Permit also ppc64 leading dot.
6115 2011-08-05 Pedro Alves <pedro@codesourcery.com>
6117 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6119 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6121 2011-08-05 Yao Qi <yao@codesourcery.com>
6123 * gdb.base/callfuncs.exp: Set language after main.
6124 * gdb.cp/cplusfuncs.exp: Likewise.
6125 * gdb.cp/inherit.exp: Likewise.
6127 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6129 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6130 * gdb.base/watch-vfork.exp: Skip on remote targets.
6132 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6134 * gdb.threads/thread-find.exp: Support remote targets.
6136 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6138 * gdb.base/jit.exp: Download solib_binfile to target.
6139 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6140 and call dlopen without full path name.
6141 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6142 dlopen without full path name.
6144 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6146 * gdb.base/break-always.exp: Complete the test
6147 with duplicated breakpoints and enabling/disabling them.
6149 2011-08-02 Tom Tromey <tromey@redhat.com>
6152 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6154 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6157 * gdb.base/float.exp: Add new test case for PR gdb/13045
6158 * gdb.base/float.c: New file.
6160 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6162 * gdb.python/py-mi.exp: Test printers returning string hint, and
6163 also not returning a value.
6164 * gdb.python/py-prettyprint.c: Add testcase for above.
6165 * gdb.python/py-prettyprint.py: Add test printer for above.
6167 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6169 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6170 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6171 (.Ldie30) Add as field "data4".
6172 (.Ldie32) Rename field "b" to "shl".
6173 (abbrev4) Change for the "data4" field.
6174 (abbrev5, abbrev6) Remove.
6175 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6176 (p &s.shl): ... here. Add comment.
6179 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6181 Fix crash on lval_computed values.
6182 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6184 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6186 * gdb.base/help.exp (help whatis): Update the expected string.
6188 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6190 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6191 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6192 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6193 Change the expected string.
6195 2011-07-26 Pedro Alves <pedro@codesourcery.com>
6197 * gdb.base/watchpoint.exp
6198 (test_disable_enable_software_watchpoint): New procedure.
6199 (top level): Run it.
6201 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6203 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6204 executable file "${binfile}", C++ version "${binfile}-cxx".
6205 * gdb.python/py-prettyprint.exp: Likewise.
6206 * gdb.python/py-symbol.exp: Likewise.
6207 * gdb.python/py-type.exp: Likewise.
6208 * gdb.python/py-value.exp: Likewise.
6209 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6210 file name instead of just suffix.
6212 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6214 Fix implicit pointer offsets.
6215 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6216 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6217 (continue to breakpoint: continue to baz breakpoint for implptr)
6218 (sanity check element 0, sanity check element 1)
6219 (enter the inlined function, check element 0 for the offset)
6220 (check element 1 for the offset)
6221 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6222 (set foo breakpoint for implptr): Update the breakpoint number.
6224 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6226 * gdb.python/py-mi.exp: Use different file names for different
6227 versions of the executable under test.
6228 * gdb.python/py-prettyprint.exp: Likewise.
6229 * gdb.python/py-symbol.exp: Likewise.
6230 * gdb.python/py-template.exp: Likewise.
6231 * gdb.python/py-type.exp: Likewise.
6232 * gdb.python/py-value.exp: Likewise.
6234 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6236 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6237 flag after restarting GDB if necessary.
6239 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6241 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6243 2011-07-22 Pedro Alves <pedro@codesourcery.com>
6245 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6246 backend doesn't leave used debug registers behind.
6248 2011-07-22 Tom Tromey <tromey@redhat.com>
6250 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6251 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6253 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6255 2011-07-21 Matt Rice <ratmice@gmail.com>
6257 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6258 in mostlyclean rule. Add files ending in .core.
6260 2011-07-21 Matt Rice <ratmice@gmail.com>
6263 * gdb.base/info-macros.c: New test sources.
6264 * gdb.base/info-macros.exp: New tests.
6266 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6268 * gdb.python/python.exp: Add prompt substitution tests.
6270 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6272 Fix crash if referenced CU is aged out.
6273 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6275 * gdb.dwarf2/implptr.exp: Likewise.
6277 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6279 * gdb.dwarf2/implptr.S: Rebuilt.
6280 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6281 (bar): Use them for j, k, l.
6282 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6284 (print j in implptr:bar): Update for the intp typedef.
6285 (print p[0].x in implptr:foo): Use more exact regex.
6287 2011-07-18 Tom Tromey <tromey@redhat.com>
6289 * gdb.cp/static-method.exp: Add missing single quote.
6291 2011-07-18 Yao Qi <yao@codesourcery.com>
6293 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6295 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6296 * gdb.mi/mi-nonstop.exp: Likewise.
6297 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6298 * gdb.mi/mi-nsintrall.exp: Likewise.
6299 * gdb.mi/mi-nsmoribund.exp: Likewise.
6300 * gdb.mi/mi-nsthrexec.exp: Likewise.
6301 * gdb.python/py-evthreads.exp: Likewise.
6303 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6306 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6307 it. Substitute it instead of test_compiler_info everywhere.
6309 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6311 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6312 remote targets as well.
6314 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6316 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6317 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6319 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6321 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6322 a remote machine, not the host.
6323 (gdb_compile_shlib): Set soname if target is remote.
6325 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6327 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6329 2011-07-13 Matt Rice <ratmice@gmail.com>
6331 * gdb.python/py-objfile-script-gdb.py: Renamed to
6332 py-objfile-script-gdb.py.in.
6333 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6334 py-objfile-script-gdb.py.
6335 * gdb.python/py-objfile-script.exp: Update reference to
6336 py-objfile-script-gdb.py.
6338 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6340 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6341 reference undefined label.
6343 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6345 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6346 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6347 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6348 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6350 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6353 * gdb.python/python.exp: Add maint set/show python print-stack
6354 deprecated tests. Add set/show python print-backtrace tests.
6356 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6358 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6361 2011-07-06 Matt Rice <ratmice@gmail.com>
6363 * gdb.python/python.exp: Update filename paths.
6364 * gdb.python/py-symtab.exp: Ditto.
6366 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6368 * gdb.python/py-evthreads.exp: Add missing `$'.
6370 2011-07-06 Jie Zhang <jie.zhang@analog.com>
6372 * config/bfin.exp: New file.
6373 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6374 * gdb.asm/bfin.inc: New file.
6376 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6378 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
6381 2011-07-05 Tom Tromey <tromey@redhat.com>
6383 * gdb.java/jprint.java (jprint.hi): New field.
6384 * gdb.java/jprint.exp: Print string.
6386 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6388 * gdb.base/call-sc.c: Fix typos.
6389 * gdb.base/ifelse.exp: Likewise.
6390 * gdb.base/structs.c: Likewise.
6392 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6394 * gdb.base/jit-so.exp: New test.
6395 * gdb.base/jit-dlmain.c: New file.
6396 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6398 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6400 * gdb.cp/m-static.exp: Call get_compiler_info.
6401 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6402 * gdb.cp/pr9167.exp (p b): Likewise.
6403 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6404 (test value of P in inner_m, test type of Z in inner_m): Call
6405 setup_xfail for gcc <= 4.5.
6407 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6409 * gdb.cp/paren-type.cc: New files.
6410 * gdb.cp/paren-type.exp: New files.
6412 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6414 Stop on first linespec terminator instead of eating what we can.
6415 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6416 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6417 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6418 (break C::f()): ... this one.
6419 (break C::operator()()): New test.
6420 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6421 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6424 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6426 Fall back linespec to minimal symbols.
6427 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6429 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6430 * gdb.cp/minsym-fallback-main.cc: New file.
6431 * gdb.cp/minsym-fallback.cc: New file.
6432 * gdb.cp/minsym-fallback.exp: New file.
6433 * gdb.cp/minsym-fallback.h: New file.
6435 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6437 * gdb.cp/no-dmgl-verbose.cc: New file.
6438 * gdb.cp/no-dmgl-verbose.exp: New file.
6440 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6442 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6444 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6446 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6447 (complete p 'func<short>(): ... here.
6448 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6449 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6450 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6451 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6452 Make them KFAIL gcc/49546.
6454 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6456 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6458 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6460 Test GCC PR debug/49546.
6461 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6462 (test type of F in k3_m, test value of F in k3_m): New.
6463 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6464 (main): New variable k3. Call k3.k3_m.
6466 2011-07-01 Jean-Charles Delay <delay@adacore.com>
6468 * gdb.ada/packed_array.exp: Fix expected outout.
6470 2011-07-01 Jean-Charles Delay <delay@adacore.com>
6472 * gdb.ada/packed_array.exp: fixed expected output.
6474 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6476 * gdb.ada/same_enum: New testcase.
6478 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6480 * gdb.ada/ptr_typedef: New testcase.
6482 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6484 * gdb.ada/arrayptr.exp: Add ptype test.
6486 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6488 * gdb.ada/char_enum: New testcase.
6490 2011-07-01 Yao Qi <yao@codesourcery.com>
6492 * gdb.base/dump.exp (capture_pointer_with_type): New.
6493 Get value from address instead of name.
6494 Start GDB once, and do `dump' and `restore'
6497 2011-06-30 Jie Zhang <jie.zhang@analog.com>
6498 Mike Frysinger <vapier@gentoo.org>
6500 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
6501 helper functions for getting/setting remotetimeout variable.
6502 * lib/gdb.exp (gdb_load): If the target is remote, set
6503 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
6504 with $loadtimeout. Set $load_ok to 0 before doing the load.
6505 Instead of returning, immediately, set $load_ok to 0. Call
6506 set_remotetimeout with $oldremotetimeout, and then return if
6509 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
6511 * gdb.python/py-template.exp: Don't run this test if the target
6512 does not support c++ tests.
6514 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6516 Fix non-only rename list for Fortran modules import.
6517 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
6519 * gdb.fortran/module.f90 (module moduse): New.
6520 (program module): use moduse, test var_x, var_y and var_z.
6522 2011-06-29 Tom Tromey <tromey@redhat.com>
6525 * gdb.fortran/array-element.exp: Use f90, not f77.
6526 * gdb.fortran/complex.exp: Use f90, not f77.
6527 * gdb.fortran/derived-type.exp: Use f90, not f77.
6528 * gdb.fortran/library-module.exp: Use f90, not f77.
6529 * gdb.fortran/logical.exp: Use f90, not f77.
6530 * gdb.fortran/module.exp: Use f90, not f77.
6531 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6532 * gdb.fortran/subarray.exp: Use f90, not f77.
6534 2011-06-29 Tom Tromey <tromey@redhat.com>
6536 * gdb.fortran/charset.exp: New file.
6537 * gdb.fortran/charset.f90: New file.
6539 2011-06-29 Tom Tromey <tromey@redhat.com>
6542 * lib/future.exp: New file, mostly extracted from ada.exp.
6543 Rewrote compatibility code to use rename.
6544 (gdb_find_gfortran): New proc.
6545 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6547 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6549 * lib/gdb.exp: Always load future.exp.
6551 2011-06-28 Yao Qi <yao@codesourcery.com>
6553 * gdb.cp/exception.cc: Don't include iostream.
6554 (bar): Remove print statement.
6556 (main): Remove print statements. Call function catcher.
6557 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6558 Set breakpoint on catcher, and check the value of parameter.
6560 2011-06-23 Yao Qi <yao@codesourcery.com>
6562 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6563 breakpoint 1.2 is disabled. KFAIL for uclinux.
6565 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6567 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6570 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6572 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
6574 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6576 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6578 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6580 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6581 `test_exec_and_symbol_mi_operatons' return value.
6582 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6584 (test_exec_and_symbol_mi_operatons): Likewise.
6585 (test_path_specification): Likewise.
6587 2011-06-23 Yao Qi <yao@codesourcery.com>
6589 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6591 * lib/gdb.exp (support_displaced_stepping): New.
6593 2011-06-23 Yao Qi <yao@codesourcery.com>
6595 * gdb.threads/execl.exp: Skip on remote target.
6597 2011-06-21 Marek Polacek <mpolacek@redhat.com>
6599 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
6602 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6604 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
6606 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6608 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
6611 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6613 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
6615 2011-06-14 Yao Qi <yao@codesourcery.com>
6618 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6620 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6622 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6624 2011-06-10 Tom Tromey <tromey@redhat.com>
6626 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6627 Add tests for pointer-to-member-function.
6628 * gdb.cp/temargs.cc (S::somefunc): New function.
6630 (main): Instantiate K2; call method.
6632 2011-06-08 Joel Brobecker <brobecker@adacore.com>
6634 * gdb.python/py-inferior.c (f2): Make str an array rather
6636 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6638 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6640 * gdb.base/async-shell.c: New file.
6641 * gdb.base/async-shell.exp: New file.
6643 2011-06-06 Pedro Alves <pedro@codesourcery.com>
6645 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6647 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6649 From Stephen Kitt <steve@sk2.org>
6650 * gdb.base/help.exp: Adjust following some spelling corrections
6653 2011-06-01 Yao Qi <yao@codesourcery.com>
6655 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6657 2010-05-31 Keith Seitz <keiths@redhat.com>
6660 * gdb.cp/static-method.cc: New file.
6661 * gdb.cp/static-method.exp: New file.
6663 2010-05-31 Keith Seitz <keiths@redhat.com>
6666 * gdb.cp/anon-ns.cc: New file.
6667 * gdb.cp/anon-ns.exp: New file.
6669 2011-05-31 Pedro Alves <pedro@codesourcery.com>
6671 * gdb.arch/i386-dr3-watch.c: New file.
6672 * gdb.arch/i386-dr3-watch.exp: New file.
6674 2011-05-30 Yao Qi <yao@codesourcery.com>
6676 * gdb.base/callfuncs.c (t_structs_fc): New.
6677 (t_structs_dc, t_structs_ldc): New.
6678 (t_double_many_args):
6679 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6680 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6681 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6682 * gdb.base/callfuncs.exp: Call new functions.
6684 2011-05-30 Yao Qi <yao@codesourcery.com>
6686 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6687 Call rerun_and_prepare for each test to isolate effects.
6689 2011-05-30 Yao Qi <yao@codesourcery.com>
6691 * gdb.base/varargs.c (find_max_float_real): New.
6692 (find_max_double_real, find_max_long_double_real): New.
6693 * gdb.base/varargs.exp: Call these new added functions.
6694 * lib/gdb.exp (setup_kfail_for_target): New.
6696 2011-05-30 Yao Qi <yao@codesourcery.com>
6698 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6699 (callcd, callce, callcf, callc1a, callc1b): New.
6700 (callc2a, callc2b): New.
6701 * gdb.base/funcargs.exp (complex_args): New.
6702 (complex_integral_args, complex_float_integral_args): New.
6703 * lib/gdb.exp (support_complex_tests): New. Determine
6704 whether to run test cases on _Complex types.
6706 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6708 * gdb.threads/leader-exit.c: New file.
6709 * gdb.threads/leader-exit.exp: New file.
6711 2011-05-27 Marek Polacek <mpolacek@redhat.com>
6713 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6715 2011-05-27 Marek Polacek <mpolacek@redhat.com>
6717 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6718 remove the `supported' variable.
6719 * gdb.mi/mi-nonstop.exp: Likewise.
6720 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6721 * gdb.mi/mi-nsintrall.exp: Likewise.
6722 * gdb.mi/mi-nsmoribund.exp: Likewise.
6723 * gdb.mi/mi-nsthrexec.exp: Likewise.
6725 2011-05-26 Pedro Alves <pedro@codesourcery.com>
6727 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6729 2011-05-26 Pedro Alves <pedro@codesourcery.com>
6731 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6733 2011-05-24 Keith Seitz <keiths@redhat.com>
6736 * gdb.cp/cmpd-minsyms.cc (a): New method.
6739 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6741 2011-05-24 Pedro Alves <pedro@codesourcery.com>
6743 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6744 watchpoint's command list didn't execute when the watchpoint went
6747 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6749 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6750 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6751 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6752 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6753 * gdb.arch/i386-permbkpt.exp: Likewise.
6754 * gdb.arch/i386-prologue.exp: Likewise.
6755 * gdb.arch/i386-size-overlap.exp: Likewise.
6756 * gdb.arch/i386-size.exp: Likewise.
6757 * gdb.arch/i386-unwind.exp: Likewise.
6758 * gdb.reverse/i386-precsave.exp: Likewise.
6759 * gdb.reverse/i386-reverse.exp: Likewise.
6760 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6761 * gdb.reverse/i387-env-reverse.exp: Likewise.
6762 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6764 2011-05-24 Pedro Alves <pedro@codesourcery.com>
6766 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6767 file doesn't error, using MI.
6769 2011-05-23 Tom Tromey <tromey@redhat.com>
6771 * gdb.base/charset.exp (string_display): Add tests to assign to
6773 * gdb.base/charset.c (short_array, int_array, long_array): New.
6775 2011-05-20 Pedro Alves <pedro@codesourcery.com>
6777 Cope with async mode.
6779 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6780 into gdb_test + mi_expect_stop.
6782 2011-05-20 Pedro Alves <pedro@codesourcery.com>
6784 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6785 (callme): Remove printf call.
6787 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6789 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6790 quote pattern to avoid problems with Cygwin/mingw expect versions.
6791 * gdb.base/default.exp (show convenience): Use double
6792 quote pattern for regular expressions.
6794 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6796 Fix -readnow for -gdwarf-4 unused type units.
6797 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6798 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6800 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6802 * gdb.base/kill-after-signal.c: New file.
6803 * gdb.base/kill-after-signal.exp: New file.
6805 2011-05-16 Pedro Alves <pedro@codesourcery.com>
6807 * gdb.ada/start.exp: Call untested with the correct test filename.
6808 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6809 test filename. Make the test's binary unique.
6810 * gdb.arch/i386-signal.exp: Call untested with the correct test
6812 * gdb.arch/i386-size-overlap.exp: Ditto.
6813 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6814 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6815 * gdb.cp/call-c.exp: Ditto.
6816 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6817 filename. Make the test's binary unique.
6818 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6819 * gdb.python/py-mi.exp: Ditto.
6820 * gdb.python/Makefile.in (EXECUTABLES): Update.
6821 * gdb.reverse/i386-precsave.exp: Ditto.
6822 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6824 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6825 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6827 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6829 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6830 * gdb.trace/tfile.exp: Ditto.
6832 2011-05-14 Yao Qi <yao@codesourcery.com>
6834 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6837 2011-05-13 Doug Evans <dje@google.com>
6839 * gdb.python/py-objfile-script.exp: New file.
6840 * gdb.python/py-objfile-script.c: New file.
6841 * gdb.python/py-objfile-script-gdb.py: New file.
6842 * testsuite/gdb.python/py-section-script.exp: Test
6843 "info auto-load-scripts".
6845 2011-05-13 Tom Tromey <tromey@redhat.com>
6847 * gdb.dwarf2/clztest.exp: New file.
6848 * gdb.dwarf2/clztest.c: New file.
6849 * gdb.dwarf2/clztest.S: New file.
6851 2011-05-13 Doug Evans <dje@google.com>
6853 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6856 2011-05-13 Tom Tromey <tromey@redhat.com>
6858 * lib/gdb.exp (is_x86_like_target): New proc.
6859 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6860 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6861 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6862 -nostdlib to compiler.
6863 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6864 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6865 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
6866 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
6867 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
6869 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6871 * gdb.python/py-function.exp: Test setting a value from a function
6872 which executes a command.
6874 2011-05-12 Tom Tromey <tromey@redhat.com>
6876 * gdb.dwarf2/typeddwarf.S: New file.
6877 * gdb.dwarf2/typeddwarf.c: New file.
6878 * gdb.dwarf2/typeddwarf.exp: New file.
6880 2011-05-12 Marek Polacek <mpolacek@redhat.com>
6882 * gdb.mi/mi-basics.exp: Fix races. Honour the
6883 `test_exec_and_symbol_mi_operatons' return value.
6884 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6886 (test_exec_and_symbol_mi_operatons): Likewise.
6887 (test_path_specification): Likewise.
6889 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6891 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
6892 (gdb_touch_execfile): Remove catch wrappers. New variable time.
6893 Replace `file copy' and `file rename' by `file mtime'. Twice.
6895 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6897 * gdb.base/readline-ask.c: New file.
6898 * gdb.base/readline-ask.exp: New file.
6899 * gdb.base/readline-ask.inputrc: New file.
6901 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
6903 * gdb.cell/bt.exp: Delete breakpoints before running to signal
6904 to avoid race condition.
6905 * gdb.cell/coremaker.c: Use small stack size.
6906 * gdb.cell/ea-standalone.exp: Use file name without path as
6908 * gdb.cell/fork.exp: Allow other output when continuing to end.
6910 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6912 * gdb.threads/corethreads.c: New file.
6913 * gdb.threads/corethreads.exp: New file.
6915 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6917 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
6918 Try to compile the test using -Wl,-z,norelro first.
6919 (load_core): New variable libthread_db_seen, initialize it.
6920 (zeroed-threads cannot be listed): Protect it by XFAIL on
6921 !$libthread_db_seen.
6923 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6926 * gdb.dwarf2/dw2-skip-prologue.S: New file.
6927 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6928 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
6930 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6932 * gdb.cp/psymtab-parameter.cc: New file.
6933 * gdb.cp/psymtab-parameter.exp: New file.
6935 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6938 * gdb.cp/static-print-quit.exp (print c): Split to ...
6939 (print c - <return>, print c - q <return>, print c - to quit):
6940 ... these. Make the testfile untested on gdb-7.1.
6942 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
6944 * lib/gdb.exp (exec_target_file, exec_symbol_file,
6945 gdb_rename_execfile, gdb_touch_execfile): New.
6946 * gdb.base/reread.exp: Use new procs to handle multiple
6949 2011-05-05 Yao Qi <yao@codesourcery.com>
6951 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
6952 (test_adr_32bit, test_pop_pc): New.
6953 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
6954 (test_adr_32bit, test_pop_pc): New.
6956 2011-05-04 Joseph Myers <joseph@codesourcery.com>
6958 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
6959 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
6961 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
6964 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6966 * gdb.base/completion.exp (complete help info wat): Rename to ...
6967 (complete 'help info wat'): ... here.
6968 Remove all `-re ".*' and `-re "^.*' redundant regexes.
6969 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
6971 2011-05-04 Pedro Alves <pedro@codesourcery.com>
6973 * gdb.base/completion.exp: Use gdb_test_multiple instead of
6974 gdb_test and explicit $gdb_prompt/timeout matches.
6976 2011-05-04 Yao Qi <yao@codesourcery.com>
6978 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
6981 2011-05-03 Marek Polacek <mpolacek@redhat.com>
6983 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
6984 in place of `gdb_test "delete breakpoints"'. This eliminates two
6987 2011-05-02 Pedro Alves <pedro@codesourcery.com>
6992 * gdb.base/completion.exp: Remove all sleep calls. Remove
6993 unnecessary regexs. Don't explicitly expect anything after the
6994 prompt. Eat the prompt if necessary.
6996 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6998 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
6999 accept to show the caller line again as well as the line after.
7001 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
7005 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
7007 * gdb.python/py-prettyprint.exp: Add C++ object for
7008 CPLUS_FAKE_CHILD test.
7010 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
7012 * gdb.base/signest.exp: New file.
7013 * gdb.base/signest.c: Likewise.
7015 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7017 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
7018 thread and breakpoint notifications.
7020 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7022 * gdb.base/fortran-sym-case.c: New file.
7023 * gdb.base/fortran-sym-case.exp: New file.
7024 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
7025 * gdb.dwarf2/dw2-case-insensitive.c: New file.
7026 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
7028 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
7030 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
7031 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
7032 false #1', `if true else false #2' and `if true else false #3'.
7034 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
7036 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
7037 while delivering signal.
7039 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
7041 MI breakpoint notifications.
7043 * testsuite/gdb.mi/mi-cli.exp: Adust.
7044 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7045 * testsuite/gdb.mi/mi-watch.exp: Adust.
7046 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7047 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7050 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7052 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7053 * gdb.base/gdbindex-stabs.c: New file.
7054 * gdb.base/gdbindex-stabs.exp: New file.
7056 2011-04-25 Yao Qi <yao@codesourcery.com>
7058 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7060 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7062 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7064 * gdb.python/py-value.exp (test_objfiles): Name the first test
7065 `py-value in file.filename'.
7067 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7069 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7070 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7071 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7072 !gdbserver_reconnect_p..
7073 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7075 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7077 * gdb.cp/cpcompletion.exp (complete class methods)
7078 (complete class methods beginning with F): Move them above runto. New
7079 comment about the runto delimiter.
7081 2011-04-20 Pedro Alves <pedro@codesourcery.com>
7083 * gdb.base/maint.exp: Test that "maint print registers" works
7084 without a running program.
7086 2011-04-20 Marek Polacek <mpolacek@redhat.com>
7088 * gdb.base/setshow.exp: Fix racy tests.
7089 ($old_gdb_prompt): New variable.
7091 2011-04-19 Tom Tromey <tromey@redhat.com>
7093 * gdb.mi/mi-nsmoribund.exp:
7094 * gdb.hp/gdb.objdbg/objdbg01.exp:
7095 * gdb.base/structs.exp (test_struct_returns):
7096 * gdb.base/call-sc.exp (test_scalar_returns):
7097 * gdb.base/bigcore.exp: Remove duplicate words.
7099 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7101 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7102 * gdb.base/break-interp.exp (test_attach): New comment.
7104 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7106 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7107 (clear __stack_user.next, clear stack_used.next)
7108 (save a zeroed-threads corefile): New test.
7109 Call core_load for $core0file.
7110 (zeroed-threads cannot be listed): New test.
7112 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7114 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7116 ($srcfile): Preserve the original value.
7117 ($testfile): Match it the .exp filename.
7118 ($corefile): New variable. Substitute it around.
7120 ($prev_timeout): Remove.
7121 (load_core): Move core loading into this proc.
7122 Fix restore of $timeout if load_core fails.
7124 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7126 * gdb.base/eu-strip-infcall.c: New file.
7127 * gdb.base/eu-strip-infcall.exp: New file.
7129 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7131 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7132 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7134 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7136 Fix Python access to inlined frames.
7137 * gdb.python/py-frame-inline.c: New file.
7138 * gdb.python/py-frame-inline.exp: New file.
7140 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7142 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7143 content of 's24' correctly (avoiding "optimized out").
7144 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7146 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7148 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7150 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7152 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7153 expect a colon in watch -location output.
7155 2011-04-13 Marek Polacek <mpolacek@redhat.com>
7157 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
7158 New testcase `expect response to define backtrace'. Also remove
7159 redundant `default' block.
7161 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7163 * gdb.python/py-prettyprint.c (struct hint_error): New.
7164 (main): New variable hint_error.
7165 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7167 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7168 (register_pretty_printers): Register it.
7170 2011-04-04 Tom Tromey <tromey@redhat.com>
7172 * gdb.cp/maint.exp (test_help): Update.
7173 (test_namespace): Likewise.
7175 2011-04-01 Joel Brobecker <brobecker@adacore.com>
7177 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7178 * gdb.ada/arrayptr.exp: Add new tests.
7180 2011-04-01 Joel Brobecker <brobecker@adacore.com>
7182 * gdb.ada/mi_catch_ex: New testcase.
7184 2011-04-01 Pedro Alves <pedro@codesourcery.com>
7186 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7187 base::overload(void) method without specifying "const".
7189 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7191 * gdb.arch/thumb-singlestep.S: New file.
7192 * gdb.arch/thumb-singlestep.exp: Likewise.
7194 2011-03-31 Tom Tromey <tromey@redhat.com>
7196 * gdb.python/py-prettyprint.py (exception_flag): New global.
7197 (NoStringContainerPrinter._iterator.next): Check it.
7198 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7199 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7201 2011-03-29 Tom Tromey <tromey@redhat.com>
7203 * gdb.cp/anon-struct.cc: New file.
7204 * gdb.cp/anon-struct.exp: New file.
7206 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7208 Test STT_GNU_IFUNC support.
7209 * gdb.base/gnu-ifunc-lib.c: New file.
7210 * gdb.base/gnu-ifunc.c: New file.
7211 * gdb.base/gnu-ifunc.exp: New file.
7213 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7215 Support a ring of related breakpoints.
7216 * gdb.base/watchpoint-delete.c: New file.
7217 * gdb.base/watchpoint-delete.exp: New file.
7219 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7221 * gdb.ada/arrayparam.exp (print first after function call): Use
7222 explicit package name. Add a comment
7223 (print lasta after function call): Rename ...
7224 (print last after function call): ... it and use explicit package
7226 (print length after function call): Use explicit package name.
7227 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7228 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7229 (multiple matches for symbol i): Rename ...
7230 (multiple matches for symbol integervar): ... it.
7231 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7232 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7234 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
7236 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7237 environment variable to make grep output more predictable. Move
7238 all the environment setup into gdb_init so it's done once per test
7239 case rather than each time we start gdb.
7241 2011-03-24 Tom Tromey <tromey@redhat.com>
7243 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7246 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7248 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7249 * gdb.dwarf2/dw2-entry-value.S: New file.
7250 * gdb.dwarf2/dw2-entry-value.exp: New file.
7252 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7256 * gdb.python/py-function.exp: Add GdbError tests.
7258 2011-03-18 Pedro Alves <pedro@codesourcery.com>
7260 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7261 (reglocal_test_func, statlocal_test_func): New functions.
7262 (globals_test_func): Call new functions.
7263 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7264 (gdb_collect_locals_test): New procedure.
7265 (gdb_trace_collection_test): Call new procedures.
7267 2011-03-18 Pedro Alves <pedro@codesourcery.com>
7269 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7270 (test_register, test_register_unavailable): New procedures.
7271 (gdb_unavailable_registers_test): New procedure.
7272 (gdb_trace_collection_test): Call it.
7274 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7278 * gdb.python/python.exp: Add gdb.write tests.
7280 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7282 * gdb.python/Makefile.in: Add py-objfile.
7283 * gdb.python/py-objfile.exp: New file.
7284 * gdb.python/py-objfile.c: New file.
7285 * gdb.python/py-block.exp: Add is_valid tests.
7286 * gdb.python/py-inferior.exp: Ditto.
7287 * gdb.python/py-infthread.exp: Ditto.
7288 * gdb.python/py-symbol.exp: Ditto.
7289 * gdb.python/py-symtab.exp: Ditto.
7291 2011-03-16 Keith Seitz <keiths@redhat.com>
7294 * gdb.cp/cmpd-minsyms.exp: New test.
7295 * gdb.cp/cmpd-minsyms.cc: New file.
7298 * gdb.cp/ovsrch.exp: New test.
7299 * gdb.cp/ovsrch.h: New file.
7300 * gdb.cp/ovsrch1.cc: New file.
7301 * gdb.cp/ovsrch2.cc: New file.
7302 * gdb.cp/ovsrch3.cc: New file.
7303 * gdb.cp/ovsrch4.cc: New file.
7305 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7308 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7309 * gdb.base/break-on-linker-gcd-function.exp: New test.
7310 * gdb.base/break-on-linker-gcd-function.cc: New file.
7312 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
7314 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7316 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7318 * lib/gdb.exp (gdb_unload): Add another termination case.
7320 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7322 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7323 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7324 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7325 Provide a stub byte there.
7326 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7328 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7330 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7332 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7333 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7334 "generic ABI, auto".
7335 (altivec_abi_tests): Accept vectors returned by reference.
7337 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7339 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7341 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7343 * gdb.python/py-section-script.exp: Skip test if no Python support.
7345 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7347 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7349 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7351 * gdb.python/py-parameter.exp: Update tests to the new Python
7352 parameter API. Add "no documentation" test. Add deprecated API
7353 backward compatibility test.
7355 2011-03-09 Tom Tromey <tromey@redhat.com>
7357 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7358 gdb_continue_to_end.
7360 2011-03-09 Mark Kettenis <kettenis@gnu.org>
7362 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7365 2011-03-09 Tom Tromey <tromey@redhat.com>
7367 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7369 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7371 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7372 argument to gdb_continue_to_end.
7373 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7374 argument to gdb_continue_to_end.
7375 * gdb.cp/annota3.exp: Fix regex.
7376 * gdb.cp/annota2.exp: Fix regex.
7377 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7378 gdb_continue_to_end.
7379 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7380 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7381 gdb_continue_to_end.
7383 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7385 * gdb.server/ext-run.exp
7386 (load new file without any gdbserver inferior): New test.
7388 2011-03-07 Tom Tromey <tromey@redhat.com>
7390 * Makefile.in (TAGS): Rewrite.
7392 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7394 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7395 initial commands echo. New match for `Found trace'. Anchor all the
7396 other matches. Anchor and match for `No trace frame found' the final
7399 2011-03-07 Tom Tromey <tromey@redhat.com>
7401 * Makefile.in (TAGS): New target.
7403 2011-03-07 Tom Tromey <tromey@redhat.com>
7405 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7407 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7409 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7410 exit message change.
7411 (skip_altivec_tests): Update for exit message change.
7412 (skip_vsx_tests): Likewise.
7413 (gdb_continue_to_end): Likewise. Add 'command' argument.
7414 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7415 * gdb.threads/tls.exp: Update for exit message change.
7416 * gdb.threads/thread-unwindonsignal.exp: Use
7417 gdb_continue_to_end.
7418 * gdb.threads/step.exp (step_it): Update for exit message change.
7419 (continue_all): Likewise.
7420 * gdb.threads/print-threads.exp (test_all_threads): Update for
7421 exit message change.
7422 * gdb.threads/interrupted-hand-call.exp: Use
7423 gdb_continue_to_end.
7424 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7425 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7426 gdb_continue_to_end.
7427 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7428 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7429 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7430 * gdb.cp/method.exp: Update for exit message change.
7431 * gdb.cp/mb-templates.exp: Update for exit message change.
7432 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7433 * gdb.cp/annota3.exp: Update for exit message change.
7434 * gdb.cp/annota2.exp: Update for exit message change.
7435 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7436 * gdb.base/term.exp: Update for exit message change.
7437 * gdb.base/step-test.exp (test_i): Update for exit message change.
7438 * gdb.base/sigstep.exp (advance): Update for exit message change.
7439 (advancei): Likewise.
7440 * gdb.base/siginfo.exp: Update for exit message change.
7441 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7442 * gdb.base/reread.exp: Use gdb_continue_to_end.
7443 * gdb.base/langs.exp: Use gdb_continue_to_end.
7444 * gdb.base/interrupt.exp: Update for exit message change.
7445 * gdb.base/gdb1555.exp: Update for exit message change.
7446 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7447 * gdb.base/ending-run.exp: Update for exit message change.
7448 * gdb.base/chng-syms.exp: Update for exit message change.
7449 * gdb.base/checkpoint.exp: Update for exit message change.
7450 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7451 gdb_continue_to_end.
7452 (test_catch_syscall_with_wrong_args): Likewise.
7453 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7454 * gdb.base/break-interp.exp (test_ld): Update for exit message
7456 * gdb.base/bang.exp: Update for exit message change.
7457 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7458 (do_call_attach_tests): Likewise.
7459 * gdb.base/a2-run.exp: Update for exit message change.
7460 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7461 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7462 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7464 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7466 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7468 2011-03-03 Tom Tromey <tromey@redhat.com>
7470 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
7471 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
7472 * gdb.hp/gdb.aCC/configure.ac: Remove.
7473 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
7474 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
7475 * gdb.hp/gdb.base-hp/configure.ac: Remove.
7476 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
7477 * gdb.hp/gdb.compat/configure (Makefile): Remove.
7478 * gdb.hp/gdb.compat/configure.ac: Remove.
7479 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
7480 * gdb.hp/gdb.defects/configure (Makefile): Remove.
7481 * gdb.hp/gdb.defects/configure.ac: Remove.
7482 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
7483 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
7484 * gdb.hp/gdb.objdbg/configure.ac: Remove.
7485 * gdb.hp/configure.ac: Remove.
7486 * gdb.hp/configure: Remove.
7487 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
7489 (Makefile): Remove rule.
7490 * gdb.cell/configure.ac: Remove.
7491 * gdb.cell/configure: Remove.
7492 * gdb.stabs/Makefile.in (Makefile): Remove.
7493 (distclean): Don't remove config.status or config.log.
7494 * gdb.stabs/configure (Makefile): Remove.
7495 * gdb.stabs/configure.ac: Remove.
7496 * configure: Rebuild.
7497 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
7498 Remove stabs- and cell-specific logic. Test for existence of
7499 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
7500 subdirectories, gdb.cell, and and gdb.stabs.
7501 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
7503 2011-03-03 Joel Brobecker <brobecker@adacore.com>
7505 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
7508 2011-03-02 Joel Brobecker <brobecker@adacore.com>
7510 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
7511 gdb_test when running a test where we expected no output back.
7513 2011-02-28 Michael Snyder <msnyder@vmware.com>
7515 * gdb.cp/overload.cc: Change initializer value to integer.
7517 2011-02-27 Michael Snyder <msnyder@vmware.com>
7519 * gdb.multi/base.exp: Add test for remove-inferiors.
7521 2011-02-26 Joel Brobecker <brobecker@adacore.com>
7523 * gdb.python/py-frame.exp: Simplify the initialization phase
7524 using prepare_for_testing.
7526 2011-02-25 Michael Snyder <msnyder@vmware.com>
7528 * gdb.multi/base.exp: Add tests for info inferiors with args.
7530 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7532 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7533 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7534 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7535 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7536 asmfile3. Comment the STABS (#3) file compilation. Compile
7537 everything through assembler. Provide KFAIL for symtab/12497.
7538 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7539 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7540 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7541 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7543 2011-02-24 Michael Snyder <msnyder@vmware.com>
7545 * gdb.base/break.exp: Add tests for delete breakpoints using
7546 convenience variables and value history references.
7548 2011-02-24 Michael Snyder <msnyder@vmware.com>
7550 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7551 left behind in previous check-in.
7553 2011-02-23 Michael Snyder <msnyder@vmware.com>
7555 * gdb.base/break.exp: Add tests for "info break" with arguments.
7556 * gdb.trace/infotrace.exp: Update patterns for error and help.
7557 * gdb.base/completion.exp: Update pattern.
7558 * gdb.base/ena-dis-br.exp: Update pattern.
7559 * gdb.base/help.exp: Update patterns.
7561 2011-02-23 Michael Snyder <msnyder@vmware.com>
7563 * gdb.base/memattr.exp: New test.
7564 * gdb.base/memattr.c: Test load for memattr.exp.
7566 2011-02-22 Doug Evans <dje@google.com>
7568 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7570 2011-02-22 Michael Snyder <msnyder@vmware.com>
7572 * Makefile.in: Make more clean.
7573 * gdb.ada/Makefile.in: Ditto.
7574 * gdb.arch/Makefile.in: Ditto.
7575 * gdb.asm/Makefile.in: Ditto.
7576 * gdb.base/Makefile.in: Ditto.
7577 * gdb.cp/Makefile.in: Ditto.
7578 * gdb.dwarf2/Makefile.in: Ditto.
7579 * gdb.java/Makefile.in: Ditto.
7580 * gdb.mi/Makefile.in: Ditto.
7581 * gdb.modula2/Makefile.in: Ditto.
7582 * gdb.python/Makefile.in: Ditto.
7583 * gdb.server/Makefile.in: Ditto.
7584 * gdb.stabs/Makefile.in: Ditto.
7585 * gdb.threads/Makefile.in: Ditto.
7586 * gdb.trace/Makefile.in: Ditto.
7588 2011-02-22 Michael Snyder <msnyder@vmware.com>
7590 * gdb.threads/thread-find.exp: Add tests for bad input to
7593 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7595 * gdb.python/py-breakpoint.exp: Fix the expected output of
7596 one of the "maint info breakpoints" tests to accept the output
7597 generated on platforms that do not have hardware watchpoints.
7599 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7601 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7602 clean_restart. Be a little stricter in the expected output
7603 for one of the tests. Fix a typo in one of the comments.
7605 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7607 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7608 Delete variable binfile, no longer use. Add or modify test
7609 comments to make them unique.
7611 2011-02-21 Michael Snyder <msnyder@vmware.com>
7613 * Makefile.in: Update for make clean.
7614 * gdb.ada/Makefile.in: Ditto.
7615 * gdb.arch/Makefile.in: Ditto.
7616 * gdb.asm/Makefile.in: Ditto.
7617 * gdb.base/Makefile.in: Ditto.
7618 * gdb.cp/Makefile.in: Ditto.
7619 * gdb.dwarf2/Makefile.in: Ditto.
7620 * gdb.java/Makefile.in: Ditto.
7621 * gdb.mi/Makefile.in: Ditto.
7622 * gdb.modula2/Makefile.in: Ditto.
7623 * gdb.python/Makefile.in: Ditto.
7624 * gdb.server/Makefile.in: Ditto.
7625 * gdb.stabs/Makefile.in: Ditto.
7626 * gdb.threads/Makefile.in: Ditto.
7627 * gdb.trace/Makefile.in: Ditto.
7629 2011-02-21 Michael Snyder <msnyder@vmware.com>
7631 * gdb.threads/thread-find.exp: Update patterns for changes in
7632 output of "info threads" command.
7634 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7635 Ulrich Weigand <uweigand@de.ibm.com>
7637 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7638 (skip_hw_watchpoint_tests): Likewise.
7639 (skip_hw_watchpoint_multi_tests): Likewise.
7641 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7643 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7644 (skip_hw_watchpoint_tests): Likewise.
7645 (skip_hw_watchpoint_multi_tests): Likewise.
7646 (skip_hw_watchpoint_access_tests): Likewise.
7648 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7649 * gdb.base/pr11022.exp: Likewise.
7650 * gdb.base/watch-read.exp: Likewise.
7651 * gdb.base/watch_thread_num.exp: Likewise.
7652 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7653 * gdb.base/watchpoint-hw.exp: Likewise.
7654 * gdb.base/watchpoint.exp: Likewise.
7655 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7656 * gdb.threads/watchthreads-reorder.exp: Likewise.
7657 * gdb.threads/watchthreads.exp: Likewise.
7658 * gdb.threads/watchthreads2.exp: Likewise.
7660 2011-02-21 Joel Brobecker <brobecker@adacore.com>
7662 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7663 the debugger is unable to find the array bounds.
7665 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7667 * gdb.cp/typedef-operator.exp: New file.
7668 * gdb.cp/typedef-operator.cc: New file.
7670 2011-02-17 Michael Snyder <msnyder@vmware.com>
7672 * gdb.threads/thread-find.exp: Fix regular expressions.
7674 2011-02-17 Joel Brobecker <brobecker@adacore.com>
7676 * gdb.ada/packed_array: Expand testcase to test printing of
7677 unconstrained packed array.
7679 2011-02-17 Joel Brobecker <brobecker@adacore.com>
7681 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7683 2011-02-16 Pedro Alves <pedro@codesourcery.com>
7685 * gdb.trace/collection.c (globalarr3): New global.
7686 (main): Initialize it before collecting, and and clear it
7688 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7689 collecting with '{type} addr', where the addr expression is not an
7692 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
7694 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7695 a bool variable. Expect correct OpenCL names for vector types. Use the
7696 uc3 variable name instead of referring to the uchar3 built-in type.
7697 Escape the asterisk at the half pointer test.
7699 2011-02-16 Pedro Alves <pedro@codesourcery.com>
7701 * gdb.trace/collection.c (globalarr2): New global.
7702 (main): Initialize it before collecting, and and clear it
7704 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7705 collecting overlapping memory ranges.
7707 2011-02-15 Michael Snyder <msnyder@vmware.com>
7709 * gdb.base/default.exp: Add tests for thread commands.
7710 * gdb.base/help.exp: Add tests for thread commands.
7711 * gdb.threads/thread-find.exp: New test for thread find command.
7713 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
7715 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7717 2011-02-15 Yao Qi <yao@codesourcery.com>
7720 * gdb.arch/arm-disp-step.S : New test for str instruction.
7721 * gdb.arch/arm-disp-step.exp : Likewise.
7723 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7725 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7726 "vector_register2_vr" test strings. Test the extended floating
7727 point registers (F32~F63).
7728 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7729 IBM XL C compiler. Make the test program use a register provided
7730 by the compiler for the lxvd2x instruction.
7732 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7734 * gdb.trace/unavailable.cc (class Base, class Middle, class
7735 Derived): New types.
7736 (derived_unavail, derived_partial, derived_whole): New globals.
7737 (virtual_partial): New global.
7738 (virtualp): Point at virtual_partial.
7739 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7740 related to unavailable vptr.
7742 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7744 * gdb.trace/unavailable.cc (a, b, c): New globals.
7745 (main): Set and clear them.
7746 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7747 `a' and `c', and check that `b' isn't collected, although `a' and
7750 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7752 * gdb.trace/unavailable.cc (struct Virtual): New.
7753 (virtualp): New global pointer.
7754 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7755 printing a pointer to an object whose type has a vtable, with
7758 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7760 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7761 value repeat handles unavailableness.
7763 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7765 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7766 tests for building arrays from unavailable values, subscripting
7767 non-memory rvalue unvailable arrays, and accessing fields or
7768 baseclasses of non-lazy unavailable values,
7769 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7771 (g_smallstruct, g_smallstruct_b): New globals.
7773 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7775 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7777 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7779 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7780 * gdb.cp/overload-const.exp: New file.
7781 * gdb.cp/overload-const.cc: New file.
7783 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7785 * gdb.opencl/callfuncs.cl: New file.
7786 * gdb.opencl/callfuncs.exp: New test.
7787 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7789 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7791 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7792 when computing result.
7793 * gdb.arch/altivec-abi.exp: Update expected results.
7795 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7797 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7798 * gdb.base/jit.exp: Likewise.
7799 * gdb.base/pie-execl.exp: Likewise.
7800 * gdb.base/solib-nodir.exp: Likewise.
7801 * gdb.base/solib-overlap.exp: Likewise.
7803 2011-02-07 Pedro Alves <pedro@codesourcery.com>
7805 * gdb.trace/collection.c (global_pieces): New.
7806 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7808 (gdb_trace_collection_test): Call it.
7810 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7812 * gdb.python/py-evthreads.c: New file.
7813 * gdb.python/py-evthreads.exp: New file.
7814 * gdb.python/py-events.py: New file.
7815 * gdb.python/py-events.exp: New file.
7816 * gdb.python/py-events.c: New file.
7818 2011-02-04 David Daney <ddaney@caviumnetworks.com>
7820 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7822 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
7824 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7825 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7826 boundary between two compilation units.
7828 2011-02-02 Pedro Alves <pedro@codesourcery.com>
7830 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7831 (Virtual): New structs.
7832 (virtual_o, virtual_middle_b): New globals.
7833 * gdb.cp/virtbase.exp: New tests.
7835 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7837 * gdb.base/jit.exp: New file.
7838 * gdb.base/jit-main.c: New file.
7839 * gdb.base/jit-solib.c: New file.
7841 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7843 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7844 proceed to initial kernel entry point.
7845 * gdb.opencl/datatypes.exp: Likewise.
7846 * gdb.opencl/operators.exp: Likewise.
7847 * gdb.opencl/vec_comps.exp: Likewise.
7849 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7851 * gdb.cp/nsnested.cc: New.
7852 * gdb.cp/nsnested.exp: New.
7853 * gdb.cp/nsnoimports.exp: New.
7854 * gdb.cp/nsnoimports.cc: New.
7856 2011-01-31 Joel Brobecker <brobecker@adacore.com>
7858 * gdb.base/interact.exp: Add extra tests that verify that
7859 the value of the interactive-mode setting does not change
7860 after the script is sourced.
7862 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7864 * gdb.cp/noparam.exp: New file.
7865 * gdb.cp/noparam.cc: New file.
7867 2011-01-28 Pedro Alves <pedro@codesourcery.com>
7869 * gdb.trace/tfile.exp: Test that with no traceframe selected,
7870 there's no stack or registers.
7872 2011-01-26 Tom Tromey <tromey@redhat.com>
7874 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
7875 space before string output. Add test for "set print pretty off"
7878 2011-01-25 Pedro Alves <pedro@codesourcery.com>
7880 * gdb.base/frame-args.exp: Adjust.
7881 * gdb.dwarf2/dw2-noloc.exp: Adjust.
7882 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
7883 * gdb.dwarf2/pieces.exp: Adjust.
7884 * gdb.opt/clobbered-registers-O2.exp: Adjust.
7885 * gdb.opt/inline-locals.exp: Adjust.
7886 * gdb.threads/fork-child-threads.exp: Adjust.
7888 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
7890 * gdb.opencl/convs_casts.cl: Move program scope variables into the
7891 OpenCL kernel function. Add a comment as marker. Add address space
7892 qualifiers for the remaining program scope variables.
7893 * gdb.opencl/datatypes.cl: Likewise.
7894 * gdb.opencl/operators.cl: Likewise.
7895 * gdb.opencl/vec_comps.cl: Likewise.
7896 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
7897 Add breakpoint at the marker comment.
7898 * gdb.opencl/datatypes.exp: Likewise.
7899 * gdb.opencl/operators.exp: Likewise.
7900 * gdb.opencl/vec_comps.exp: Likewise.
7902 2011-01-24 Pedro Alves <pedro@codesourcery.com>
7904 * gdb.base/printcmds.c (some_struct): New struct and instance.
7905 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
7907 <global scope>: Call it.
7909 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
7911 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
7912 argument to the gdb_compile_opencl_hostapp call.
7914 2011-01-19 Yao Qi <yao@codesourcery.com>
7916 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
7919 2011-01-19 Yao Qi <yao@codesourcery.com>
7921 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
7924 * gdb.xml/tdesc-regs.exp: Likewise.
7925 * gdb.python/py-section-script.exp: Replace ARM target triplet
7926 with canonical form.
7927 Match arm*-*-symbianelf*.
7928 * gdb.base/dup-sect.exp: Likewise.
7929 * lib/dwarf.exp: New.
7930 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
7932 * gdb.dwarf2/dup-psym.exp: Likewise.
7933 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
7934 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7935 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
7936 * gdb.dwarf2/dw2-basic.exp: Likewise.
7937 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7938 * gdb.dwarf2/dw2-const.exp: Likewise.
7939 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
7940 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
7941 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7942 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
7943 * gdb.dwarf2/dw2-filename.exp: Likewise.
7944 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7945 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
7946 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7947 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7948 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
7949 * gdb.dwarf2/dw2-noloc.exp: Likewise.
7950 * gdb.dwarf2/dw2-op-call.exp: Likewise.
7951 * gdb.dwarf2/dw2-producer.exp: Likewise.
7952 * gdb.dwarf2/dw2-ranges.exp: Likewise.
7953 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
7954 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
7955 * gdb.dwarf2/dw2-strp.exp: Likewise.
7956 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
7957 * gdb.dwarf2/implptr.exp: Likewise.
7958 * gdb.dwarf2/mac-fileno.exp: Likewise.
7959 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
7960 * gdb.dwarf2/pieces.exp: Likewise.
7961 * gdb.dwarf2/pr11465.exp: Likewise.
7962 * gdb.dwarf2/valop.exp: Likewise.
7963 * gdb.dwarf2/watch-notconst.exp: Likewise.
7964 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
7966 2011-01-19 Tom Tromey <tromey@redhat.com>
7968 * gdb.python/py-infthread.exp: Add thread tests.
7970 2011-01-14 Joel Brobecker <brobecker@adacore.com>
7972 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
7974 2011-01-14 Joel Brobecker <brobecker@adacore.com>
7976 * gdb.ada/widewide: New testcase.
7978 2011-01-13 Joel Brobecker <brobecker@adacore.com>
7980 * gdb.base/interact.exp: New testcase.
7982 2011-01-12 Tom Tromey <tromey@redhat.com>
7984 * gdb.mi/gdb2549.exp: Update for error message changes.
7985 * gdb.mi/mi-cli.exp: Likewise.
7986 * gdb.mi/mi-disassemble.exp: Likewise.
7987 * gdb.mi/mi-pthreads.exp: Likewise.
7988 * gdb.mi/mi-regs.exp: Likewise.
7989 * gdb.mi/mi-stack.exp: Likewise.
7990 * gdb.mi/mi-var-block.exp: Likewise.
7991 * gdb.mi/mi-var-cmd.exp: Likewise.
7992 * gdb.mi/mi2-cli.exp: Likewise.
7993 * gdb.mi/mi2-disassemble.exp: Likewise.
7994 * gdb.mi/mi2-pthreads.exp: Likewise.
7995 * gdb.mi/mi2-regs.exp: Likewise.
7996 * gdb.mi/mi2-stack.exp: Likewise.
7997 * gdb.mi/mi2-var-block.exp: Likewise.
7998 * gdb.mi/mi2-var-cmd.exp: Likewise.
8000 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
8001 Jan Kratochvil <jan.kratochvil@redhat.com>
8003 PR fortran/11104 and DWARF unbound arrays detection.
8004 * gdb.fortran/multi-dim.exp: New file.
8005 * gdb.fortran/multi-dim.f90: New file.
8007 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
8009 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
8010 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
8011 add new tests for opcode dumping.
8013 2011-01-11 Tom Tromey <tromey@redhat.com>
8015 * gdb.python/py-infthread.exp: Load gdb-python.exp.
8017 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
8019 Convert hardware watchpoints to use breakpoint_ops.
8020 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
8021 type is not supported.
8022 * gdb.base/foll-fork.exp: Likewise.
8023 * gdb.base/foll-vfork.exp: Likewise.
8025 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
8027 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
8028 Use load_lib gdb-python.exp.
8029 * gdb.python/python.exp: Ditto.
8030 * gdb.python/py-function.exp: Ditto.
8032 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
8034 * gdb.threads/tls.exp ("info address me"): Fix expected output.
8036 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8038 * configure: Regenerate.
8040 2011-01-06 Tom Tromey <tromey@redhat.com>
8042 * gdb.python/py-frame.exp: Test gdb.newest_frame.
8044 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8046 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8047 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8048 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8049 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8050 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8051 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8052 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8053 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8054 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8055 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8056 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8057 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8058 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8059 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8060 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8061 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8062 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8063 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8064 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8065 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8066 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8067 gdb.ada/uninitialized_vars.exp,
8068 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8069 Simplify by using clean_restart.
8071 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8073 Add marker to be used as anchor for inserting breakpoints.
8074 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8075 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8078 Remove uses of gdb_start_cmd.
8079 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8080 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8082 Do not run testcase if testing with GDBserver.
8083 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8084 if testing with GDBserver.
8086 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8088 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8089 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8092 2011-01-05 Joel Brobecker <brobecker@adacore.com>
8094 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8095 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8096 testsuite/gdb.fortran/complex.f,
8097 testsuite/gdb.fortran/derived-type.f90,
8098 testsuite/gdb.fortran/library-module-lib.f90,
8099 testsuite/gdb.fortran/library-module-main.f90,
8100 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8101 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8102 Copyright year update.
8104 2011-01-05 Joel Brobecker <brobecker@adacore.com>
8106 * gdb.base/langs1.f: Add copyright header.
8108 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8110 * gdb.base/morestack.exp: New file.
8111 * gdb.base/morestack.c: New file.
8113 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8115 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8117 2010-12-29 Joel Brobecker <brobecker@adacore.com>
8119 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8120 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8122 2010-12-29 Joel Brobecker <brobecker@adacore.com>
8124 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8126 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8128 * gdb.threads/tls.exp: Fix typo.
8130 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8131 * gdb.threads/execl.exp: Update.
8133 2010-12-23 Yao Qi <yao@codesourcery.com>
8135 * gdb.arch/arm-disp-step.exp: New.
8136 * gdb.arch/arm-disp-step.S: New.
8138 2010-12-21 Tom Tromey <tromey@redhat.com>
8140 * gdb.threads/execl.exp: Update.
8141 * gdb.threads/linux-dp.exp: Update.
8142 * gdb.threads/manythreads.exp: Update.
8143 * gdb.threads/tls.exp: Update.
8145 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8147 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8148 (NextOverThrowDerivates) <resumebpt>: New.
8149 (resumebpt_test): New.
8150 (main): Call resumebpt_test.
8151 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8153 2010-12-12 Stan Shebs <stan@codesourcery.com>
8155 * gdb.trace/tsv.exp: Test print command on trace state variables.
8157 2010-12-09 Tom Tromey <tromey@redhat.com>
8159 * gdb.base/interp.exp: Add regression test.
8161 2010-12-09 Tom Tromey <tromey@redhat.com>
8163 * gdb.java/jnpe.java: New file.
8164 * gdb.java/jnpe.exp: New file.
8165 * gdb.cp/nextoverthrow.exp: New file.
8166 * gdb.cp/nextoverthrow.cc: New file.
8168 2010-12-07 Doug Evans <dje@google.com>
8170 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8172 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8174 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8176 2010-11-29 Michael Snyder <msnyder@vmware.com>
8178 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8179 * gdb.base/call-sc.exp: Ditto.
8180 * gdb.base/finish.exp: Ditto.
8181 * gdb.base/return.exp: Ditto.
8182 * gdb.base/return2.exp: Ditto.
8184 2010-11-30 Doug Evans <dje@google.com>
8186 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8187 (gdb_expect_list): Fix spelling errors in comments.
8188 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8189 send_gdb/gdb_expect_list where applicable.
8190 * gdb.base/call-ar-st.exp: Ditto.
8191 * gdb.base/funcargs.exp: Ditto.
8192 * gdb.base/gcore.exp: Ditto.
8193 * gdb.base/page.exp: Ditto.
8194 * gdb.base/sigaltstack.exp: Ditto.
8195 * gdb.base/siginfo.exp: Ditto.
8196 * gdb.base/sigstep.exp: Ditto.
8197 * gdb.base/trace-commands.exp: Ditto.
8199 2010-11-29 Doug Evans <dje@google.com>
8201 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8202 printer-name;subprinter-name.
8204 2010-11-29 Tom Tromey <tromey@redhat.com>
8206 * gdb.dwarf2/implptr.exp: New file.
8207 * gdb.dwarf2/implptr.c: New file.
8208 * gdb.dwarf2/implptr.S: New file.
8210 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8214 * gdb.python/py-breakpoint.exp: Test the delete method.
8216 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8218 Fix step_resume_breakpoint unsaved during an infcall.
8219 * gdb.base/step-resume-infcall.exp: New file.
8220 * gdb.base/step-resume-infcall.c: New file.
8222 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
8224 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8226 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
8228 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8229 on ppc64's symbols; "finish" and "return" commands must accept to
8230 show the caller line again as well as the line after.
8231 * gdb.asm/powerpc64.inc: New file.
8233 2010-11-23 Doug Evans <dje@google.com>
8235 * lib/gdb.exp (gdb_test_sequence): New function.
8236 (gdb_expect_list): Add verbose -log call for each pattern.
8237 * gdb.base/signals.exp (test_handle_all_print): Call it.
8238 Reduce timeout increment from 6 minutes to 1 minute.
8239 * gdb.server/ext-run.exp: Call it.
8241 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8245 * gdb.python/python.exp: Check that selected_thread raises an
8246 error when no inferior is loaded.
8248 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8250 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8251 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8253 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8255 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8256 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8258 2010-11-18 Doug Evans <dje@google.com>
8260 * gdb.server/ext-run.exp: Fix intermittent failures.
8262 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8264 * gdb.stabs/gdb11479.exp: Use runto_main.
8266 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8268 * gdb.base/break-entry.exp: Skip if using a stub.
8270 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8272 * gdb.python/py-inferior.exp: Pack values in target endianness.
8274 2010-11-12 Tom Tromey <tromey@redhat.com>
8276 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8277 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8279 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8281 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8283 (test_subscript_regression): Update exception type.
8285 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8287 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8290 2010-11-09 Pedro Alves <pedro@codesourcery.com>
8292 * gdb.base/watchpoint.exp: Test "watch -location" with an
8293 innacessible location.
8295 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
8296 Luis Machado <luisgpm@br.ibm.com>
8298 * gdb.base/maint.exp: Expect "." prefix.
8299 * gdb.base/nodebug.exp: Expect "." Likewise.
8300 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8301 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8302 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8303 POWER server processors.
8305 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
8306 Luis Machado <luisgpm@br.ibm.com>
8308 * gdb.base/break-entry.exp: convert entry point for
8309 ppc64 and expect leading `.' on ppc64's symbols
8311 2010-11-05 Doug Evans <dje@google.com>
8313 * gdb.base/help.exp: Update expected output.
8314 * gdb.python/py-param.exp: Delete, contents moved to ...
8315 * gdb.python/py-parameter.exp: ... here. New file.
8316 Add test for gdb.parameter ("directories").
8318 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
8320 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8321 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8322 * configure: Regenerate.
8323 * gdb.opencl/Makefile.in: New File.
8324 * gdb.opencl/datatypes.exp: Likewise.
8325 * gdb.opencl/datatypes.cl: Likewise.
8326 * gdb.opencl/operators.exp: Likewise.
8327 * gdb.opencl/operators.cl: Likewise.
8328 * gdb.opencl/vec_comps.exp: Likewise.
8329 * gdb.opencl/vec_comps.cl: Likewise.
8330 * gdb.opencl/convs_casts.exp: Likewise.
8331 * gdb.opencl/convs_casts.cl: Likewise.
8332 * lib/opencl.exp: Likewise.
8333 * lib/opencl_hostapp.c: Likewise.
8334 * lib/opencl_kernel.cl: Likewise.
8335 * lib/cl_util.c: Likewise.
8336 * lib/cl_util.c: Likewise.
8337 * gdb.base/default.exp (set language): Add "opencl" to the list of
8340 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8342 * gdb.cp/overload.exp: Added test for inheritance overload.
8343 * gdb.cp/overload.cc: Ditto.
8344 * gdb.cp/oranking.exp: Removed releveant kfails.
8346 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8347 Joel Brobecker <brobecker@adacore.com>
8349 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8350 check test_compiler_info.
8352 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8354 * gdb.base/gnu_vector.exp: Adjust expect messages.
8356 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8358 * gdb.base/gnu_vector.exp: Add unary operator tests.
8360 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8362 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8364 2010-11-02 Doug Evans <dje@google.com>
8366 * gdb.python/py-pp-maint.c: New file.
8367 * gdb.python/py-pp-maint.exp: New file.
8368 * gdb.python/py-pp-maint.py: New file.
8370 2010-11-02 Tom Tromey <tromey@redhat.com>
8372 * gdb.base/default.exp: Remove "scheme" from language list.
8374 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8377 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8378 * gdb.threads/sigstep-threads.exp: New file.
8379 * gdb.threads/sigstep-threads.c: New file.
8381 2010-10-20 Michael Snyder <msnyder@vmware.com>
8383 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8385 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8387 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8388 Skip test completely if gdb,no_hardware_watchpoints.
8390 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8392 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8393 strict, but do not check for any particular function name within libc.
8395 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8397 * gdb.cp/smartp.exp: New test.
8398 * gdb.cp/smartp.cc : New test.
8400 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8402 * gdb.cp/converts.exp: Test pointer to bool conversion.
8403 Test pointer to long conversion.
8404 * gdb.cp/oranking.exp: Removed relevant kfail.
8406 2010-10-18 Tom Tromey <tromey@redhat.com>
8408 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8409 argument to lazy_string.
8410 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8411 (pp_ls.to_string): Use it.
8412 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8413 Add "estring2" local.
8415 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8417 Fix s390x compatibility.
8418 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8419 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8421 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8423 * gdb.threads/sigstep-threads.exp: New file.
8424 * gdb.threads/sigstep-threads.c: New file.
8426 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8428 * gdb.base/pie-execl.exp: New file.
8429 * gdb.base/pie-execl.c: New file.
8431 2010-10-13 Doug Evans <dje@google.com>
8432 Jan Kratochvil <jan.kratochvil@redhat.com>
8435 * gdb.cp/ptype-cv-cp.cc: New file.
8436 * gdb.cp/ptype-cv-cp.exp: New file.
8438 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8440 * gdb.cp/converts.cc: New test program.
8441 * gdb.cp/converts.exp: New test.
8442 * gdb.cp/overload.exp: Added test for void* vs int*.
8443 * gdb.cp/overload.exp: Ditto.
8444 * gdb.cp/oranking.exp: Removed related kfail.
8446 2010-10-13 Doug Evans <dje@google.com>
8448 * lib/gdb-python.exp (gdb_check_python_config): New function.
8449 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8450 * gdb.python/lib-types.cc: New file.
8451 * gdb.python/lib-types.exp: New file.
8453 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8455 * gdb.python/py-error.exp: New file.
8456 * gdb.python/py-error.py: New file.
8458 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8460 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8463 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8465 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8466 * gdb.base/prelink.exp: Likewise.
8467 * gdb.base/solib-nodir.exp: Likewise.
8468 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
8469 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
8470 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
8472 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
8474 * break-interp.exp (test_ld): Use two separate gdb_expect statements
8475 for the "info files" test to avoid timeouts on slow machines.
8477 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8479 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
8480 (main): Make openlib dummy call.
8482 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8484 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
8485 * break-interp.exp (reach): Move the core body ...
8486 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
8487 (test_ld): Provide always real argument, even to the linker. Replace
8488 dl_main by _dl_debug_state.
8490 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8492 Fix results of prelinked PIEs on ppc*.
8493 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
8494 Accept also DISPLACEMENT "PRESENT".
8495 (main): Replace "ZERO" displacements by "PRESENT".
8497 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
8499 * gdb.cp/oranking.exp: New test.
8500 * gdb.cp/oranking.cc: New test program.
8502 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
8504 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
8505 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
8507 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
8509 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
8510 lush, lynx) New constant.
8511 * gdb.base/constvars.exp: Test const array types.
8512 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
8514 2010-10-06 Doug Evans <dje@google.com>
8516 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
8517 of syscall staging area.
8519 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
8521 * gdb.base/gnu_vector.c: Add variable c4.
8522 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8523 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8525 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8527 * gdb.arch/altivec-abi.exp: Fix a typo.
8529 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8531 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8532 to match a thread ID.
8534 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8536 Fix s390x testcase compatibility.
8537 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8539 2010-10-01 Doug Evans <dje@google.com>
8541 * lib/gdb-python.exp: New file.
8542 * gdb.python/py-block.exp: Use it.
8543 * gdb.python/py-breakpoint.exp: Ditto.
8544 * gdb.python/py-frame.exp: Ditto.
8545 * gdb.python/py-inferior.exp: Ditto.
8546 * gdb.python/py-param.exp: Ditto.
8547 * gdb.python/py-prettyprint.exp: Ditto.
8548 * gdb.python/py-shared.exp: Ditto.
8549 * gdb.python/py-symbol.exp: Ditto.
8550 * gdb.python/py-symtab.exp: Ditto.
8551 * gdb.python/py-type.exp: Ditto.
8552 * gdb.python/py-value.exp: Ditto.
8553 * gdb.python/python.exp: Ditto.
8555 2010-09-30 Tom Tromey <tromey@redhat.com>
8557 * gdb.base/anon.exp: New file.
8558 * gdb.base/anon.c: New file.
8560 2010-09-30 Tom Tromey <tromey@redhat.com>
8562 * gdb.base/completion.exp: Test completion through anonymous
8564 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8566 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8568 Fix printing parameters of inlined functions.
8569 * gdb.dwarf2/dw2-inline-param.exp: New file.
8570 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8571 * gdb.dwarf2/dw2-inline-param.S: New file.
8573 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8576 * gdb.base/corefile.exp (quit with a process, no question: load core)
8577 (quit with a core file): New tests.
8579 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8581 Fix GDB crash on inferior calls with self-referencing classes.
8582 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8583 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8584 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8586 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8588 Fix lost siginfo_t for inferior calls.
8589 * gdb.base/siginfo-infcall.exp: New file.
8590 * gdb.base/siginfo-infcall.c: New file.
8592 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8594 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8596 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8598 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8600 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8602 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8604 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8605 type of our const type.
8607 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8609 * gdb.cp/pr12028.cc: New.
8610 * gdb.cp/pr12028.exp: New.
8612 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8614 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8616 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
8617 Jan Kratochvil <jan.kratochvil@redhat.com>
8620 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8621 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8622 * gdb.mi/dw2-ref-missing-frame.S New File.
8623 * gdb.mi/dw2-ref-missing-frame.exp New File.
8625 2010-09-14 Tom Tromey <tromey@redhat.com>
8628 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8630 2010-09-14 Tom Tromey <tromey@redhat.com>
8633 * gdb.threads/tls.exp: Use C++.
8634 (check_thread_local): Use K::another_thread_local.
8635 * gdb.threads/tls.c (class K): New.
8636 (another_thread_local): Now a member of K.
8637 (spin): Update. No longer K&R C.
8639 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8641 * gdb.cp/koenig.cc: created class for testing member lookup.
8642 * gdb.cp/koenig.exp: Added test for member lookup.
8644 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8646 Fix false FAILs on sourcetree topdir directory containing "kill".
8647 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8648 source line matching regexp.
8650 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8652 * gdb.python/python.exp (set height 0, collect help from uiout)
8653 (verify help to uiout): New tests.
8655 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8657 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8658 is_lp64_target to check 64bit target.
8660 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8662 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8663 (test_ld) <powerpc64-*>: New.
8665 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8667 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8669 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8671 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8672 (FunctionArg::method): New function.
8673 (empty, arg): New variables.
8674 (main): Call arg.method.
8675 * gdb.cp/templates.exp (test_template_args): New function.
8676 (do_tests): Call it.
8678 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8680 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8681 of "next" to proceed over pthread_exit call.
8683 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8685 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8686 "maint print statistics" output to prevent expect timeouts.
8688 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8690 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8691 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8692 (test_float_rejected): ... here.
8693 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8694 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8695 (test_float_rejected): ... here.
8696 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8697 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8698 (test_float_rejected): ... here.
8699 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8700 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8701 (test_float_rejected): ... here.
8703 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8705 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8706 before disabling hardware watchpoints.
8707 (test_inaccessible_watchpoint): Check that hardware watchpoints
8708 are used. Test for watchpoints on a constant address.
8710 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8712 * gdb.base/ui-redirect.exp: New file.
8714 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8715 Joel Brobecker <brobecker@adacore.com>
8717 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8719 2010-08-31 Doug Evans <dje@google.com>
8721 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8723 2010-08-30 Tom Tromey <tromey@redhat.com>
8726 * gdb.python/py-value.exp (test_subscript_regression): Add
8729 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8731 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8732 instead of running to main. Do not test the main function.
8733 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8736 2010-08-26 Pedro Alves <pedro@codesourcery.com>
8738 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8741 2010-08-24 Doug Evans <dje@google.com>
8744 * gdb.dwarf2/dw4-sig-types.cc: New file.
8745 * gdb.dwarf2/dw4-sig-types.h: New file.
8746 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8747 * gdb.dwarf2/dw4-sig-types.exp: New file.
8749 2010-08-23 Tom Tromey <tromey@redhat.com>
8752 * gdb.python/py-value.c (Base, Derived): New types.
8754 * gdb.python/py-value.exp (test_subscript_regression): Add
8757 2010-08-23 Tom Tromey <tromey@redhat.com>
8760 * gdb.python/py-type.exp (test_fields): Add tests for type
8763 2010-08-23 Tom Tromey <tromey@redhat.com>
8766 * gdb.python/py-type.exp (test_fields): Add tests for array.
8768 2010-08-23 Keith Seitz <keiths@redhat.com>
8770 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8771 have any children. Create a new abbrev for it.
8772 Add missing terminal sequence to .debug_abbrev.
8774 2010-08-20 Keith Seitz <keiths@redhat.com>
8777 * gdb.dwarf2/pr11465.exp: New test.
8778 * gdb.dwarf2/pr11465.S: New file.
8779 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8780 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8782 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8784 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8785 registers. Update data sets with the new v2_double element in the
8786 VSX register union. Add vector_register3_vr data set for the AltiVec
8787 registers. Use gdb_test_no_output instead of send_gdb.
8789 2010-08-19 Pedro Alves <pedro@codesourcery.com>
8791 * gdb.python/py-shared.exp: New file, factored out from
8793 * gdb.python/py-shared.c: New file.
8794 * gdb.python/py-shared-sl.c: New file.
8795 * gdb.python/python-1.c: New file.
8796 * gdb.python/python-sl.c: Delete.
8797 * gdb.python/python.c: Mention python-1.c.
8798 * gdb.python/python.exp: Move shared library tests to
8800 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8801 (MISCELLANEOUS): New.
8802 (clean mostlyclean): Also remove $MISCELLANEOUS.
8804 2010-08-19 Doug Evans <dje@google.com>
8807 * gdb.base/printcmds.exp (test_float_accepted): New function.
8808 Move existing float tests there. Add tests for floats with suffixes.
8809 (test_float_rejected): New function.
8810 * gdb.java/jv-print.exp (test_float_accepted): New function.
8811 (test_float_rejected): New function.
8812 * gdb.objc/print.exp: New file.
8813 * gdb.pascal/print.exp: New file.
8814 * lib/objc.exp: New file.
8816 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8818 * gdb.base/default.exp (info set): Avoid full buffer error and force
8819 reading up to final gdb prompt.
8822 2010-08-18 Tom Tromey <tromey@redhat.com>
8825 * gdb.base/completion.exp: Add test.
8827 2010-08-18 Doug Evans <dje@google.com>
8829 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8830 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8831 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8832 Simplify, early exit if runto_main fails.
8833 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8834 (set_lang_fortran): Moved to lib/fortran.exp.
8835 * gdb.fortran/types.exp: load_lib fortran.exp.
8836 (set_lang_fortran): Moved to lib/fortran.exp.
8837 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8838 * gdb.java/jprint.exp (set_lang_java): Ditto.
8839 * gdb.java/jv-exp.exp: load_lib java.exp.
8840 If set_lang_java fails, issue a warning instead of failure to be
8841 consistent with other set_lang_foo uses.
8842 (set_lang_java): Moved to lib/java.exp.
8843 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8844 If set_lang_java fails, issue a warning instead of failure to be
8845 consistent with other set_lang_foo uses.
8846 * gdb.pascal/types.exp: load_lib pascal.exp.
8847 (set_lang_pascal): Moved to lib/pascal.exp.
8848 * lib/fortran.exp: New file.
8849 * lib/java.exp (set_lang_java): New function.
8850 * lib/pascal.exp (set_lang_pascal): New function.
8852 2010-08-18 Yao Qi <yao@codesourcery.com
8854 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8855 func_nofb_start and func_loopfb_start, so that address of functions
8856 is equal to these labels on Thumb.
8858 2010-08-18 Yao Qi <yao@codesourcery.com>
8860 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8861 to reflect latest c source file.
8863 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8865 * gdb.cp/infcall-dlopen.exp: New file.
8866 * gdb.cp/infcall-dlopen.cc: New file.
8867 * gdb.cp/infcall-dlopen-lib.cc: New file.
8869 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8870 Pedro Alves <pedro@codesourcery.com>
8872 PR breakpoints/11371
8874 * gdb.base/watch-cond-infcall.exp: New file.
8875 * gdb.base/watch-cond-infcall.c: New file.
8877 2010-08-16 Tom Tromey <tromey@redhat.com>
8879 * gdb.base/help.exp: Update.
8880 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
8882 (test_watch_location): New proc.
8883 (test_watchpoint_in_big_blob): Delete watchpoint.
8884 * gdb.base/watchpoint.c (func5): New function.
8887 2010-08-16 Doug Evans <dje@google.com>
8889 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
8891 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8893 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
8896 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
8898 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
8899 * gdb.base/gnu_vector.c: New File.
8900 * gdb.base/gnu_vector.exp: Likewise.
8902 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8904 * gdb.python/python.c: New File.
8905 * gdb.python/python-sl.c: New File.
8906 * gdb.python/python.exp: Test solib_address and decode_line
8909 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8911 * gdb.python/python.exp (show height, set height 10)
8912 (verify pagination beforehand, verify pagination beforehand: q)
8913 (gdb.execute does not page, verify pagination afterwards)
8914 (verify pagination afterwards: q): New.
8916 2010-08-02 Doug Evans <dje@google.com>
8918 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
8919 because of an older gcc, change test2
8920 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
8923 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
8925 * gdb.base/break-always.exp: Do not expect full paths to file
8927 * gdb.base/commands.exp: Likewise.
8929 2010-07-30 Doug Evans <dje@google.com>
8931 * gdb.cp/temargs.exp: For new tests that require newer gccs,
8932 xfail them when run with older gccs.
8934 * lib/gdb.exp (build_executable): Forward "c++" option to
8937 * gdb.python/py-type.exp (test_template): Mark as xfail tests
8938 "python print ttype.template_argument(1)" and
8939 "python print isinstance(ttype.template_argument(1), gdb.Value)"
8940 if using gcc 4.4 or earlier.
8942 * gdb.base/valgrind-db-attach.exp: Use unique test name for
8943 attach-to-debugger handling.
8945 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8947 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
8948 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
8949 (main): Use copyreloc.
8950 * gdb.base/prelink.exp (split debug of executable)
8951 (.dynbss vs. .bss address shift): New tests.
8953 2010-07-29 Pedro Alves <pedro@codesourcery.com>
8955 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
8956 in gdb_test_multiple.
8958 2010-07-29 Pedro Alves <pedro@codesourcery.com>
8960 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
8963 2010-07-28 Tom Tromey <tromey@redhat.com>
8966 * gdb.python/py-type.c (Temargs): New template.
8967 (temvar): New variable.
8968 * gdb.python/py-type.exp (test_template): New proc.
8970 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8972 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
8973 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
8975 2010-07-28 Tom Tromey <tromey@redhat.com>
8978 * gdb.cp/temargs.exp: New file.
8979 * gdb.cp/temargs.cc: New file.
8981 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8983 * gdb.base/help.exp (help disassemble): Update the content.
8985 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8987 * gdb.threads/ia64-sigill.exp: New file.
8988 * gdb.threads/ia64-sigill.c: New file.
8990 2010-07-27 Tom Tromey <tromey@redhat.com>
8992 * gdb.opt/inline-cmds.c (ATTR): New define.
8996 (outer_inline1): Likewise.
8997 (outer_inline2): Likewise.
8998 * gdb.opt/inline-bt.c (ATTR): New define.
9001 * gdb.opt/inline-locals.c (ATTR): New define.
9005 2010-07-27 Tom Tromey <tromey@redhat.com>
9007 * gdb.stabs/gdb11479.c (hack): New function.
9010 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
9011 (int32_search_buf, int64_search_buf): No longer static.
9013 * gdb.base/relocate.c (hack): New function.
9015 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
9017 * gdb.python/py-value.exp (test_inferior_function_call): New function.
9018 * gdb.python/py-value.c (func1): New function.
9021 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
9023 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
9024 as not to clash with .data section.
9026 2010-07-26 Jerome Guitton <guitton@adacore.com>
9028 * gdb.base/code_elim.exp: New file.
9029 * gdb.base/code_elim1.c: New file.
9030 * gdb.base/code_elim2.c: New file.
9032 2010-07-21 Pedro Alves <pedro@codesourcery.com>
9036 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
9037 (some_volatile_enum): New variable.
9038 * gdb.base/printcmds.exp (test_print_enums): New.
9039 <top level>: Call it.
9041 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
9043 * gdb.cp/fpointer.cc: New test.
9044 * gdb.cp/fpointer.exp: New test.
9046 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9048 * gdb.base/solib-nodir.exp: New file.
9049 * lib/gdb.exp (runto): New case for a GDB internal error.
9051 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9052 Ulrich Weigand <uweigand@de.ibm.com>
9053 Tom Tromey <tromey@redhat.com>
9055 * gdb.base/charset-malloc.c: New file.
9056 * gdb.base/charset.c (malloc_stub): New prototype.
9057 (main): Call it instead of malloc itself.
9058 * gdb.base/charset.exp: Use only prepare_for_testing.
9059 (binfile): Remove the variable.
9061 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9063 Make core files the process_stratum.
9064 * gdb.base/corefile.exp (run: load core again)
9065 (run: sanity check we see the core file, run: with core)
9066 (run: core file is cleared, attach: load core again)
9067 (attach: sanity check we see the core file, attach: with core)
9068 (attach: core file is cleared): New tests.
9069 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9071 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
9073 * gdb.arch/altivec-abi.exp: New tests.
9075 2010-07-13 Tom Tromey <tromey@redhat.com>
9077 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9079 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9081 2010-07-13 Tom Tromey <tromey@redhat.com>
9083 * gdb.base/label.exp: New file.
9084 * gdb.base/label.c: New file.
9086 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9087 H.J. Lu <hongjiu.lu@intel.com>
9089 * lib/gdb.exp (is_ilp32_target): New.
9090 (is_lp64_target): Likewise.
9092 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9094 * gdb.arch/amd64-disp-step.exp: Likewise.
9095 * gdb.arch/amd64-dword.exp: Likewise.
9096 * gdb.arch/amd64-i386-address.exp: Likewise.
9097 * gdb.arch/amd64-word.exp: Likewise.
9099 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9101 * gdb.arch/i386-bp_permanent.exp: Likewise.
9102 * gdb.arch/i386-byte.exp: Likewise.
9103 * gdb.arch/i386-disp-step.exp: Likewise.
9104 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9105 * gdb.arch/i386-prologue.exp: Likewise.
9106 * gdb.arch/i386-size-overlap.exp: Likewise.
9107 * gdb.arch/i386-size.exp: Likewise.
9108 * gdb.arch/i386-sse.exp: Likewise.
9109 * gdb.arch/i386-unwind.exp: Likewise.
9110 * gdb.arch/i386-word.exp: Likewise.
9112 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9113 test only when building 64-bit executables. Do not hard-code
9116 2010-07-07 Doug Evans <dje@google.com>
9118 * lib/gdb.exp (gdb_test_list_exact): New function.
9119 * gdb.base/default.exp (show convenience): Call it, add tests for
9120 $_sdata = void, $_thread = 0.
9122 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9123 Joel Brobecker <brobecker@adacore.com>
9125 Fix re-run of PIE executable, PR shlibs/11776.
9126 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9127 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9128 and re-"run" of the inferior.
9130 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9131 Joel Brobecker <brobecker@adacore.com>
9133 Cope with missing /usr/sbin/prelink.
9134 * lib/prelink-support.exp (prelink_no):
9135 <result == 1 && $output is "no such file or directory">: New.
9136 (prelink_yes): Likewise. Return on failed prelink_no.
9138 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9139 Joel Brobecker <brobecker@adacore.com>
9141 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9142 build_executable by build_executable_own_libs. Replace "prelink -R"
9143 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9145 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9146 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9147 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9148 Replace build_executable by build_executable_own_libs's function
9149 build_executable_own_libs.
9150 (prelinkNO): Create new stub to call prelink_no.
9151 (prelinkYES): Create new stub to call prelink_yes.
9152 (test_attach): Rename calls of copy to file_copy.
9153 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9155 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9156 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9157 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9158 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9159 special flags by gdb_compile_shlib. Replace second gdb_compile by
9160 build_executable_own_libs. Replace "prelink -R" execution by a call of
9161 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9162 a second call of prelink_yes. Replace restart commands by
9164 (prelink): Rename to ...
9165 (seen displacement message): ... this test. Extend its expectation
9168 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9170 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9171 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9172 displacement message exactly once.
9174 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9175 Joel Brobecker <brobecker@adacore.com>
9177 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9178 its restore after the <$relink_args != ""> loop. new comment.
9180 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9181 Joel Brobecker <brobecker@adacore.com>
9183 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9184 code for it. New variable relink_args.
9185 (prelinkYES): Call prelinkNO.
9186 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9187 in such case. Move the core code to ...
9188 (test_attach_gdb): ... a new function. Send GDB command "file".
9189 Extend expected "Attaching to " string.
9191 2010-07-02 Tom Tromey <tromey@redhat.com>
9193 * gdb.base/bitops.exp: Remove extraneous "pass".
9195 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
9197 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9199 2010-07-01 Pedro Alves <pedro@codesourcery.com>
9201 * gdb.base/help.exp: Adjust expected output.
9203 2010-07-01 Pedro Alves <pedro@codesourcery.com>
9205 * gdb.base/help.exp: Adjust expected output.
9207 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9209 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9210 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9213 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9214 Doug Evans <dje@google.com>
9216 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9217 add .dynamic entry'.
9219 2010-06-29 Doug Evans <dje@google.com>
9222 * gdb.cp/m-static.exp: Add testcase.
9223 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9225 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
9226 Tom Tromey <tromey@redhat.com>
9227 Thiago Jung Bauermann <bauerman@br.ibm.com>
9229 * gdb.python/py-inferior.c: New File.
9230 * gdb.python/py-infthread.c: New File.
9231 * gdb.python/py-inferior.exp: New File.
9232 * gdb.python/py-infthread.exp: New File.
9234 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9236 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9237 (ptype ::C::OtherFileClass typedefs): New.
9238 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9239 (C::OtherFileClass::cOtherFileClassVar2): New.
9240 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9241 cOtherFileClassVar2.
9242 (C::cOtherFileType2, C::cOtherFileVar2): New.
9243 (C::cOtherFileVar_use): use also cOtherFileVar2.
9244 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9246 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9248 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9249 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9250 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9251 (print ::C::cOtherFileVar)
9252 (whatis C::OtherFileClass::cOtherFileClassType)
9253 (whatis ::C::OtherFileClass::cOtherFileClassType)
9254 (print C::OtherFileClass::cOtherFileClassVar)
9255 (print ::cOtherFileClassVar)
9256 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9257 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9259 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9260 (C::OtherFileClass::cOtherFileClassVar)
9261 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9262 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9264 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9266 Test PR c++/11703 and PR gdb/1448.
9267 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9270 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9272 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9273 (main) <rtti_data>: New.
9274 * gdb.cp/virtbase.exp (print rtti_data): New.
9276 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9277 Joel Brobecker <brobecker@adacore.com>
9279 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9281 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9283 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9285 2010-06-28 Doug Evans <dje@google.com>
9287 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9289 2010-06-27 Doug Evans <dje@google.com>
9291 * gdb.cp/m-static.exp: Update expected test output.
9293 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9295 * gdb.gdb/selftest.exp: Adjust expected message for
9296 capturing start-up runtime.
9298 2010-06-25 Tom Tromey <tromey@redhat.com>
9301 * gdb.python/python.exp: Add new tests.
9303 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9305 * gdb.cp/operator.cc: Created an import loop.
9306 * gdb.cp/operator.exp: Added testcase for import loop.
9308 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9310 Test PR python/11407.
9311 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9312 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9313 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9314 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9315 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9316 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9317 binfile. Call gdb_compile with clean_restart twice.
9318 (func_nofb print, func_nofb backtrace, func_loopfb print)
9319 (func_loopfb backtrace): New.
9321 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9323 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9324 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9326 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9327 i?86 requirement. Remove variables srcfile and binfile. New variable
9328 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9330 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9332 * gdb.cell/dwarfaddr.exp: New file.
9333 * gdb.cell/dwarfaddr.S: New file.
9335 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9338 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9340 2010-06-24 Hui Zhu <teawater@gmail.com>
9342 * gdb.base/eval.exp: New file.
9344 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9346 * gdb.cell/fork.exp: New file.
9347 * gdb.cell/fork.c: Likewise.
9348 * gdb.cell/fork-spu.c: Likewise.
9350 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9352 * lib/gdb.exp (banned_variables_traced): New global variable.
9353 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9354 (gdb_init): Use `trace add variable' instead of obsolete
9357 2010-06-21 Doug Evans <dje@google.com>
9359 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9361 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9363 * gdb.arch/spu-ls.exp: New file.
9364 * gdb.arch/spu-ls.c: Likewise.
9366 2010-06-18 Stan Shebs <stan@codesourcery.com>
9368 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9370 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9372 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9373 * gdb.base/watch-cond.exp: Likewise.
9374 * gdb.python/py-breakpoint.exp: Likewise.
9376 2010-06-18 Pedro Alves <pedro@codesourcery.com>
9378 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9379 clean_restart, make sure every test has a distinct message, and
9380 that messages don't include the executable' full path.
9382 2010-06-17 Doug Evans <dje@google.com>
9384 * gdb.arch/i386-size.exp: Updated expected output for
9385 DISASSEMBLY_OMIT_FNAME.
9387 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9388 Sergio Durigan Junior <sergiodj@redhat.com>
9390 * gdb.base/watch-notconst.c: New file.
9391 * gdb.base/watch-notconst.S: New file.
9392 * gdb.base/watch-notconst2.c: New file.
9393 * gdb.base/watch-notconst2.S: New file.
9394 * gdb.base/watch-notconst.exp: New file.
9395 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9396 (func4): Add operations on `global_ptr_ptr'.
9397 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9398 routine to test watchpoints created with a constant expression.
9399 (test_inaccessible_watchpoint): Include tests for watchpoints
9400 created with a constant expression.
9402 2010-06-14 Kevin Buettner <kevinb@redhat.com>
9404 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9405 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9406 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9407 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9408 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9409 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9410 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9413 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9415 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9416 not supported on the target.
9417 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9418 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9419 * gdb.mi/mi-nsintrall.exp: Likewise.
9420 * gdb.mi/mi-nsmoribund.exp: Likewise.
9421 * gdb.mi/mi-nsthrexec.exp: Likewise.
9423 2010-06-11 Stan Shebs <stan@codesourcery.com>
9425 * gdb.base/permissions.exp: New file.
9427 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9429 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9430 does not support ELF executable class.
9432 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9434 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9436 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9438 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9439 (runto): Catch "The target does not support running in non-stop mode.".
9441 2010-06-11 Michael Snyder <msnyder@vmware.com>
9443 * gdb.base/setshow.exp (set language asm): Don't use
9444 gdb_test_no_output, fails on some targets.
9446 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9448 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9449 * gdb.cp/pr9167.exp: Likewise.
9451 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9453 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9455 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9457 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9459 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9461 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9463 2010-06-11 Tom Tromey <tromey@redhat.com>
9465 PR gdb/9977, PR exp/11636::
9466 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9467 (pieces_test_f6): Update expected output.
9469 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9471 * gdb.base/moribund-step.exp: New.
9473 2010-06-08 Michael Snyder <msnyder@vmware.com>
9475 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
9476 * gdb.ada/boolean_expr.exp:
9477 * gdb.ada/frame_args.exp: Ditto.
9478 * gdb.ada/lang_switch.exp: Ditto.
9479 * gdb.ada/ptype_arith_binop.exp: Ditto.
9480 * gdb.ada/ref_param.exp: Ditto.
9481 * gdb.ada/type_coercion.exp:Ditto.
9483 * gdb.asm/asm-source.exp: Ditto.
9485 * gdb.base/attach.exp: Ditto.
9486 * gdb.base/bitfields2.exp: Ditto.
9487 * gdb.base/call-signal-resume.exp: Ditto.
9488 * gdb.base/callfuncs.exp: Ditto.
9489 * gdb.base/commands.exp: Ditto.
9490 * gdb.base/dbx.exp: Ditto.
9491 * gdb.base/default.exp: Ditto.
9492 * gdb.base/dump.exp: Ditto.
9493 * gdb.base/exprs.exp: Ditto.
9494 * gdb.base/freebpcmd.exp: Ditto.
9495 * gdb.base/interrupt.exp: Ditto.
9496 * gdb.base/list.exp: Ditto.
9497 * gdb.base/long_long.exp: Ditto.
9498 * gdb.base/maint.exp: Ditto.
9499 * gdb.base/ptype.exp: Ditto.
9500 * gdb.base/return.exp: Ditto.
9501 * gdb.base/setshow.exp: Ditto.
9502 * gdb.base/sigbpt.exp: Ditto.
9503 * gdb.base/sigrepeat.exp: Ditto.
9505 * gdb.cp/classes.exp: Ditto.
9507 * gdb.dwarf2/dw2-restore.exp: Ditto.
9509 * gdb.gdb/selftest.exp: Ditto.
9511 * gdb.multi/base.exp: Ditto.
9512 * gdb.multi/bkpt-multi-exec.exp: Ditto.
9514 * gdb.python/py-block.exp: Ditto.
9515 * gdb.python/py-prettyprint.exp: Ditto.
9516 * gdb.python/py-template.exp: Ditto.
9518 * gdb.server/ext-attach.exp: Ditto.
9519 * gdb.server/ext-run.exp: Ditto.
9520 * gdb.server/server-mon.exp: Ditto.
9522 * gdb.threads/fork-thread-pending.exp: Ditto.
9523 * gdb.threads/hand-call-in-threads.exp: Ditto.
9524 * gdb.threads/interrupted-hand-call.exp: Ditto.
9525 * gdb.threads/linux-dp.exp: Ditto.
9526 * gdb.threads/manythreads.exp: Ditto.
9527 * gdb.threads/print-threads.exp: Ditto.
9528 * gdb.threads/pthreads.exp: Ditto.
9529 * gdb.threads/schedlock.exp: Ditto.
9530 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9531 * gdb.threads/threadapply.exp: Ditto.
9533 2010-06-08 Michael Snyder <msnyder@vmware.com>
9535 * gdb.ada/exec_changed.exp:
9536 Use ".*" instead of "" as wildcard regexp.
9538 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9539 * gdb.base/call-ar-st.exp: Ditto.
9540 * gdb.base/checkpoint.exp: Ditto.
9541 * gdb.base/default.exp: Ditto.
9542 * gdb.base/dump.exp: Ditto.
9543 * gdb.base/ending-run.exp: Ditto.
9544 * gdb.base/fileio.exp: Ditto.
9545 * gdb.base/miscexprs.exp: Ditto.
9546 * gdb.base/pointers.exp: Ditto.
9547 * gdb.base/readline.exp: Ditto.
9548 * gdb.base/reread.exp: Ditto.
9549 * gdb.base/restore.exp: Ditto.
9550 * gdb.base/shlib-call.exp: Ditto.
9551 * gdb.base/valgrind-db-attach.exp: Ditto.
9552 * gdb.base/volatile.exp: Ditto.
9553 * gdb.base/watchpoints.exp: Ditto.
9555 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9557 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9558 * gdb.python/py-value.exp: Ditto.
9560 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9561 * gdb.trace/circ.exp: Ditto.
9562 * gdb.trace/collection.exp: Ditto.
9563 * gdb.trace/packetlen.exp: Ditto.
9564 * gdb.trace/passc-dyn.exp: Ditto.
9565 * gdb.trace/report.exp: Ditto.
9566 * gdb.trace/tfile.exp: Ditto.
9567 * gdb.trace/tfind.exp: Ditto.
9568 * gdb.trace/while-dyn.exp: Ditto.
9570 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9572 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9574 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9577 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9579 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9581 * gdb.cp/koenig.exp: Test for ADL operators.
9582 * gdb.cp/koenig.cc: Added ADL operators.
9583 * gdb.cp/operator.exp: New test.
9584 * gdb.cp/operator.cc: New test.
9586 2010-06-04 Michael Snyder <msnyder@vmware.com>
9588 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9589 * gdb.base/pending.exp: Ditto.
9591 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9593 2010-06-04 Doug Evans <dje@google.com>
9595 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9597 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9598 (enable_lookup_function): New function.
9600 2010-06-04 Tom Tromey <tromey@redhat.com>
9602 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9605 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9607 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9609 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9610 (empty verbose non-noisy clear, empty verbose noisy clear)
9611 (empty non-verbose noisy clear): Likewise.
9613 2010-06-03 Michael Snyder <msnyder@vmware.com>
9615 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9616 * gdb.base/display.exp: Ditto.
9617 * gdb.base/find.exp: Ditto.
9618 * gdb.base/ifelse.exp: Ditto.
9619 * gdb.base/multi-forks.exp: Ditto.
9620 * gdb.base/recurse.exp: Ditto.
9621 * gdb.base/setshow.exp: Ditto.
9622 * gdb.base/value-double-free.exp: Ditto.
9623 * gdb.base/watch-vfork.exp: Ditto.
9624 * gdb.base/watch_thread_num.exp: Ditto.
9625 * gdb.base/watchpoint-solib.exp: Ditto.
9626 * gdb.base/watchpoint.exp: Ditto.
9627 * gdb.base/watchpoints.exp: Ditto.
9629 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9630 * gdb.cp/overload.exp: Ditto.
9631 * gdb.cp/virtfunc.exp: Ditto.
9633 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9635 * gdb.reverse/watch-precsave.exp:
9636 Replace gdb_test with gdb_test_no_output.
9638 * gdb.threads/attach-into-signal.exp:
9639 Replace gdb_test with gdb_test_no_output.
9640 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9641 * gdb.threads/watchthreads.exp: Ditto.
9642 * gdb.threads/watchthreads2.exp: Ditto.
9644 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9645 * gdb.trace/tfind.exp: Ditto.
9647 2010-06-03 Joel Brobecker <brobecker@adacore.com>
9649 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9650 successful test if message is the empty string.
9652 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9654 * gdb.fortran/module.exp (stopped language detection): New test.
9656 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9658 Support DW_TAG_module as separate namespaces.
9659 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9660 gdb.fortran/library-module-lib.f90: New.
9661 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9663 (continue to breakpoint: i-is-1, print var_i value 1)
9664 (continue to breakpoint: i-is-2, print var_i value 2)
9665 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9666 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9667 (complete `modmany, complete `modmany`, complete `modmany`var)
9668 (show language, setting breakpoint at module): New tests.
9669 * gdb.fortran/module.f90 (module mod): Remove.
9670 (module mod1, module mod2, module modmany, subroutine sub1)
9671 (subroutine sub2, program module): New.
9673 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9675 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9676 (print value of rUC, print value of rI, print value of UI): ... here.
9677 * gdb.cp/anon-union.exp (pass): Rename to ...
9678 (print z 2): ... here.
9680 2010-06-02 Michael Snyder <msnyder@vmware.com>
9682 * gdb.trace/actions.exp: Use gdb_test_no_output.
9683 * gdb.trace/circ.exp: Ditto.
9684 * gdb.trace/packetlen.exp: Ditto.
9685 * gdb.trace/save-trace.exp: Ditto.
9686 * gdb.trace/tracecmd.exp: Ditto.
9687 * gdb.trace/tsv.exp: Ditto.
9689 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9690 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9691 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9692 * gdb.threads/manythreads.exp: Ditto.
9693 * gdb.threads/print-threads.exp: Ditto.
9694 * gdb.threads/pthreads.exp: Ditto.
9695 * gdb.threads/schedlock.exp: Ditto.
9696 * gdb.threads/staticthreads.exp: Ditto.
9697 * gdb.threads/thread-specific.exp: Ditto.
9698 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9699 * gdb.threads/threadapply.exp: Ditto.
9700 * gdb.threads/watchthreads.exp: Ditto.
9701 * gdb.threads/watchthreads2.exp: Ditto.
9703 * gdb.python/py-block.exp: Use gdb_test_no_output.
9704 * gdb.python/py-prettyprint.exp: Ditto.
9705 * gdb.python/py-template.exp: Ditto.
9706 * gdb.python/py-value.exp: Ditto.
9708 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9709 * gdb.reverse/watch-reverse.exp: Ditto.
9711 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9712 * gdb.server/ext-run.exp: Ditto.
9714 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9715 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9716 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9717 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9718 * gdb.dwarf2/dw2-producer.exp: Ditto.
9719 * gdb.dwarf2/mac-fileno.exp: Ditto.
9721 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9722 * gdb.gdb/selftest.exp: Ditto.
9724 * gdb.multi/base.exp: Use gdb_test_no_output.
9726 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9728 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9730 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9732 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9734 * gdb.cp/class2.exp: Use gdb_test_no_output.
9735 * gdb.cp/classes.exp: Ditto.
9736 * gdb.cp/extern-c.exp: Ditto.
9737 * gdb.cp/inherit.exp: Ditto.
9738 * gdb.cp/maint.exp: Ditto.
9739 * gdb.cp/mb-inline.exp: Ditto.
9740 * gdb.cp/mb-templates.exp: Ditto.
9741 * gdb.cp/method2.exp: Ditto.
9742 * gdb.cp/misc.exp: Ditto.
9743 * gdb.cp/ovldbreak.exp: Ditto.
9744 * gdb.cp/punctuator.exp: Ditto.
9745 * gdb.cp/templates.exp: Ditto.
9746 * gdb.cp/virtbase.exp: Ditto.
9748 * gdb.threads/attach-stopped.exp:
9749 Replace uses of send_gdb / gdb_expect.
9750 * gdb.threads/attachstop-mt.exp:
9751 Replace uses of send_gdb / gdb_expect.
9752 * gdb.threads/gcore-thread.exp:
9753 Replace uses of send_gdb / gdb_expect.
9754 * gdb.threads/hand-call-in-threads.exp:
9755 Replace uses of send_gdb / gdb_expect.
9756 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
9757 * gdb.threads/print-threads.exp:
9758 Replace uses of send_gdb / gdb_expect.
9759 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9760 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9761 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9763 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9764 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9765 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9766 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9767 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9768 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9769 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9770 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9771 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9772 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9773 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9775 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9777 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9779 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9781 * gdb.cp/koenig.exp: Added new test case.
9782 * gdb.cp/koenig.cc: Ditto.
9784 2010-06-01 Michael Snyder <msnyder@vmware.com>
9786 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9787 * gdb.base/arrayidx.exp: Ditto.
9788 * gdb.base/attach.exp: Ditto.
9789 * gdb.base/auxv.exp: Ditto.
9790 * gdb.base/bigcre.exp: Ditto.
9791 * gdb.base/break-always.exp: Ditto.
9792 * gdb.base/break-interp.exp: Ditto.
9793 * gdb.base/break.exp: Ditto.
9794 * gdb.base/breakpoint-shadow.exp: Ditto.
9795 * gdb.base/call-ar-st.exp: Ditto.
9796 * gdb.base/call-sc.exp: Ditto.
9797 * gdb.base/call-signal-resume.exp: Ditto.
9798 * gdb.base/callfuncs.exp: Ditto.
9799 * gdb.base/catch-syscall.exp: Ditto.
9800 * gdb.base/charset.exp: Ditto.
9801 * gdb.base/code-expr.exp: Ditto.
9802 * gdb.base/commands.exp: Ditto.
9803 * gdb.base/cond-expr.exp: Ditto.
9804 * gdb.base/condbreak.exp: Ditto.
9805 * gdb.base/cursal.exp: Ditto.
9806 * gdb.base/cvexpr.exp: Ditto.
9807 * gdb.base/default.exp: Ditto.
9808 * gdb.base/del.exp: Ditto.
9809 * gdb.base/detach.exp: Ditto.
9810 * gdb.base/display.exp: Ditto.
9811 * gdb.base/ena-dis-br.exp: Ditto.
9812 * gdb.base/eval-skip.exp: Ditto.
9813 * gdb.base/foll-fork.exp: Ditto.
9814 * gdb.base/foll-vfork.exp: Ditto.
9815 * gdb.base/frame-args.exp: Ditto.
9816 * gdb.base/funcargs.exp: Ditto.
9817 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9818 * gdb.base/gdbvars.exp: Ditto.
9819 * gdb.base/help.exp: Ditto.
9820 * gdb.base/ifelse.exp: Ditto.
9821 * gdb.base/included.exp: Ditto.
9822 * gdb.base/list.exp: Ditto.
9823 * gdb.base/macscp.exp: Ditto.
9824 * gdb.base/maint.exp: Ditto.
9825 * gdb.base/multi-fork.exp: Ditto.
9826 * gdb.base/overlays.exp: Ditto.
9827 * gdb.base/page.exp: Ditto.
9828 * gdb.base/pending.exp: Ditto.
9829 * gdb.base/pointers.exp: Ditto.
9830 * gdb.base/pr11022.exp: Ditto.
9831 * gdb.base/prelink.exp: Ditto.
9832 * gdb.base/printcmds.exp: Ditto.
9833 * gdb.base/psymtab.exp: Ditto.
9834 * gdb.base/randomize.exp: Ditto.
9835 * gdb.base/relational.exp: Ditto.
9836 * gdb.base/relocate.exp: Ditto.
9837 * gdb.base/remote.exp: Ditto.
9838 * gdb.base/sepdebug.exp: Ditto.
9839 * gdb.base/set-lang-auto.exp: Ditto.
9840 * gdb.base/setshow.exp: Ditto.
9841 * gdb.base/setvar.exp: Ditto.
9842 * gdb.base/signals.exp: Ditto.
9843 * gdb.base/signull.exp: Ditto.
9844 * gdb.base/sigstep.exp: Ditto.
9845 * gdb.base/sizeof.exp: Ditto.
9846 * gdb.base/solib-disc.exp: Ditto.
9847 * gdb.base/store.exp: Ditto.
9848 * gdb.base/structs.exp: Ditto.
9849 * gdb.base/structs2.exp: Ditto.
9850 * gdb.base/subst.exp: Ditto.
9851 * gdb.base/term.exp: Ditto.
9852 * gdb.base/trace-commands.exp: Ditto.
9853 * gdb.base/unwindonsignal.exp: Ditto.
9854 * gdb.base/valgrind-db-attach.exp: Ditto.
9855 * gdb.base/varargs.exp: Ditto.
9856 * gdb.base/watch-cond.exp: Ditto.
9857 * gdb.base/watch_thread_num.exp: Ditto.
9858 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9859 * gdb.base/watchpoint.exp: Ditto.
9860 * gdb.base/whatis-exp.exp: Ditto.
9862 2010-06-01 Michael Snyder <msnyder@vmware.com>
9864 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9865 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
9866 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
9867 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
9868 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
9869 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
9870 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
9871 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
9872 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
9873 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
9874 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
9875 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
9876 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
9877 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
9878 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
9880 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9882 * gdb.base/commands.exp (begin commands on watch): Remove excessive
9884 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
9885 * gdb.java/jmisc.exp (p *args\n): Rename to ...
9886 (p *args): ... here and remove excessive trailing newline.
9888 2010-05-31 Joel Brobecker <brobecker@adacore.com>
9890 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
9892 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9894 Accept the new Linux kernel "t (tracing stop)" string.
9895 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
9897 (state_wait) <T (tracing stop)>: New.
9898 (main): Update the state_wait expect string.
9900 2010-05-28 Pedro Alves <pedro@codesourcery.com>
9902 * limits.c, limits.exp: Delete files.
9903 * Makefile.in (clean mostlyclean): Adjust.
9904 * tracecmd.exp: Adjust.
9906 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9908 * gdb.base/tui-layout.exp: New.
9910 2010-05-28 Michael Snyder <msnyder@vmware.com>
9912 * gdb.reverse/break-precsave.exp:
9913 Replace uses of send_gdb / gdb_expect.
9914 * gdb.reverse/break-reverse.exp:
9915 Replace uses of send_gdb / gdb_expect.
9916 * gdb.reverse/consecutive-precsave.exp:
9917 Replace uses of send_gdb / gdb_expect.
9918 * gdb.reverse/consecutive-reverse.exp:
9919 Replace uses of send_gdb / gdb_expect.
9920 * gdb.reverse/finish-precsave.exp:
9921 Replace uses of send_gdb / gdb_expect.
9922 * gdb.reverse/finish-reverse.exp:
9923 Replace uses of send_gdb / gdb_expect.
9924 * gdb.reverse/i386-precsave.exp:
9925 Replace uses of send_gdb / gdb_expect.
9926 * gdb.reverse/i386-reverse.exp:
9927 Replace uses of send_gdb / gdb_expect.
9928 * gdb.reverse/i386-sse-reverse.exp:
9929 Replace uses of send_gdb / gdb_expect.
9930 * gdb.reverse/i387-env-reverse.exp:
9931 Replace uses of send_gdb / gdb_expect.
9932 * gdb.reverse/i387-stack-reverse.exp:
9933 Replace uses of send_gdb / gdb_expect.
9934 * gdb.reverse/machinestate-precsave.exp:
9935 Replace uses of send_gdb / gdb_expect.
9936 * gdb.reverse/machinestate.exp:
9937 Replace uses of send_gdb / gdb_expect.
9938 * gdb.reverse/sigall-precsave.exp:
9939 Replace uses of send_gdb / gdb_expect.
9940 * gdb.reverse/sigall-reverse.exp:
9941 Replace uses of send_gdb / gdb_expect.
9942 * gdb.reverse/solib-precsave.exp:
9943 Replace uses of send_gdb / gdb_expect.
9944 * gdb.reverse/solib-reverse.exp:
9945 Replace uses of send_gdb / gdb_expect.
9946 * gdb.reverse/step-precsave.exp:
9947 Replace uses of send_gdb / gdb_expect.
9948 * gdb.reverse/step-reverse.exp:
9949 Replace uses of send_gdb / gdb_expect.
9950 * gdb.reverse/until-precsave.exp:
9951 Replace uses of send_gdb / gdb_expect.
9952 * gdb.reverse/until-reverse.exp:
9953 Replace uses of send_gdb / gdb_expect.
9954 * gdb.reverse/watch-precsave.exp:
9955 Replace uses of send_gdb / gdb_expect.
9956 * gdb.reverse/watch-reverse.exp:
9957 Replace uses of send_gdb / gdb_expect.
9959 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9961 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
9964 2010-05-27 Michael Snyder <msnyder@vmware.com>
9966 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
9967 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
9968 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
9969 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
9970 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
9971 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
9972 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
9973 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
9974 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
9975 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
9976 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
9977 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
9978 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
9979 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
9980 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
9981 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
9982 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
9983 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
9984 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
9986 2010-05-26 Michael Snyder <msnyder@vmware.com>
9988 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
9989 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
9991 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
9992 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
9993 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
9995 * gdb.reverse/consecutive-reverse.exp:
9996 Replace uses of send_gdb / gdb_expect.
9997 * gdb.reverse/consecutive-precsave.exp:
9998 Replace uses of send_gdb / gdb_expect.
10000 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
10001 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
10002 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
10003 * gdb.mi/mi-ns-stale-regcache.exp:
10004 Replace uses of send_gdb / gdb_expect.
10005 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
10006 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
10007 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
10008 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
10009 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
10010 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
10011 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
10012 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
10013 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
10015 2010-05-26 Michael Snyder <msnyder@vmware.com>
10017 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
10019 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
10021 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
10022 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
10023 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
10024 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
10025 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
10026 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
10027 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
10028 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
10029 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
10031 2010-05-25 Tom Tromey <tromey@redhat.com>
10033 * gdb.base/macscp.exp: Add missing space after setup_kfail.
10035 2010-05-25 Tom Tromey <tromey@redhat.com>
10037 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
10039 * gdb.base/macscp.exp: Fix setup_kfail argument order.
10040 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
10042 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
10044 * gdb.base/call-sc.exp (setup_kfails): Remove.
10045 (setup_compiler_kfails): Remove.
10046 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10048 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10049 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10050 (advancei): Fix setup_kfail argument order.
10051 * gdb.base/radix.exp: Fix setup_kfail argument order.
10052 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10054 * gdb.base/structs.exp (setup_kfails): Remove.
10055 (setup_compiler_kfails): Fix setup_kfail argument order.
10056 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10058 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10059 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10060 setup_kfail argument order.
10061 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10063 2010-05-25 Tom Tromey <tromey@redhat.com>
10065 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10067 2010-05-25 Michael Snyder <msnyder@vmware.com>
10069 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10070 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10071 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10072 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10073 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10074 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10075 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10076 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10077 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
10078 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10079 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10080 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10081 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10082 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10083 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10084 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10085 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10086 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10087 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10088 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10089 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10090 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10091 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
10092 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10093 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10094 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10095 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10096 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10097 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10098 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10099 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10100 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10101 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10102 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10103 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10104 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10105 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10106 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10107 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10108 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10109 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10110 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
10111 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10112 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10113 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10114 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10115 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
10116 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
10118 2010-05-25 Doug Evans <dje@google.com>
10120 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10121 gdb.string_to_argv.
10123 2010-05-21 Tom Tromey <tromey@redhat.com>
10125 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10127 * gdb.dwarf2/pieces.S: Update.
10128 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10130 2010-05-21 Tom Tromey <tromey@redhat.com>
10132 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10134 * gdb.dwarf2/pieces.c (struct C): New.
10135 (f6): New function.
10136 * gdb.dwarf2/pieces.S: Replace.
10138 2010-05-21 Tom Tromey <tromey@redhat.com>
10140 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10143 2010-05-21 Tom Tromey <tromey@redhat.com>
10145 * gdb.dwarf2.pieces.exp: New file.
10146 * gdb.dwarf2.pieces.S: New file.
10147 * gdb.dwarf2.pieces.c: New file.
10149 2010-05-20 Pedro Alves <pedro@codesourcery.com>
10150 Joel Brobecker <brobecker@adacore.com>
10152 * lib/gdb.exp (gdb_test_no_output): New function.
10153 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10154 when testing commands that should produce no output.
10156 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10158 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10159 parameter that we want to watch being a constant.
10161 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10163 * gdb.ada/cond_lang: New testcase.
10165 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10167 * lib/gdb.exp (banned_variables): New variable/constant.
10168 (gdb_init): Add write trace on variables listed in banned_variables.
10169 (gdb_finish): Remove write traces on variables listed in
10172 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10174 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10175 * gdb.cp/koenig.exp: Likewise.
10177 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10181 * gdb.python/py-value.exp (test_value_hash): New function.
10183 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10186 * gdb.base/gdb11530.c: New file.
10187 * gdb.base/gdb11530.exp: New file.
10189 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10191 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10192 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10194 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10196 * gdb.cp/koenig.exp: New test.
10197 * gdb.cp/koenig.cc: New test program.
10199 2010-05-05 Joel Brobecker <brobecker@adacore.com>
10201 Remove the use of prms_id and bug_id throughout the testsuite.
10203 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10206 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10207 use a reference local variable.
10209 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10211 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10212 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10213 variable different_dir. Move debugfile into a full directory pathname
10214 under DIFFERENT_DIR.
10215 * lib/gdb.exp (separate_debug_filename): Remove.
10216 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10217 variable debug_dir and mkdir of it. Update function comments.
10219 2010-04-29 Pedro Alves <pedro@codesourcery.com>
10223 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10226 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10228 * gdb.python/py-param.exp: New File.
10230 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10232 * gdb.base/default.exp: Fix "set language" test.
10234 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10236 PR breakpoints/11531.
10237 * gdb.base/gdb11531.c: New file.
10238 * gdb.base/gdb11531.exp: New file.
10240 2010-04-26 Tom Tromey <tromey@redhat.com>
10242 * gdb.base/completion.exp: Add tests for completion and deprecated
10245 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10247 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10248 (print /x char_array): Escape curly brackets.
10250 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10252 Fix deadlock on looped list of loaded shared objects.
10253 * gdb.base/solib-corrupted.exp: New.
10255 2010-04-23 Doug Evans <dje@google.com>
10257 * gdb.python/py-section-script.c: New file.
10258 * gdb.python/py-section-script.exp: New file.
10259 * gdb.python/py-section-script.py: New file.
10261 2010-04-20 Chris Moller <cmoller@redhat.com>
10265 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10266 * gdb.base/pr10179-a.c:
10267 * gdb.base/pr10179-b.c:
10268 * gdb.base/pr10179.exp: New files.
10270 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10272 Fix crashes on dangling display expressions.
10273 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10275 (lib_flags): Remove the "debug" keyword.
10276 (libsepdebug): New variable for iterating new loop.
10277 (save_pf_prefix): New variable wrapping the loop.
10278 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10279 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10281 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10283 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10285 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10288 * gdb.stabs/gdb11479.exp: New file.
10289 * gdb.stabs/gdb11479.c: New file.
10291 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10293 * gdb.base/charset.c (Strin16, String32): New variables.
10294 * gdb.base/charset.exp (gdb_test): Test correct display
10295 of 16 or 32 bit strings.
10297 2010-04-21 Chris Moller <cmoller@redhat.com>
10300 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10301 * gdb.cp/pr9167.cc: New file.
10302 * gdb.cp/pr9167.exp: New file.
10305 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10308 * gdb.pascal/gdb11492.pas: New file.
10309 * gdb.pascal/gdb11492.exp: New file.
10311 2010-04-20 Joel Brobecker <brobecker@adacore.com>
10313 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
10315 2010-04-20 Joel Brobecker <brobecker@adacore.com>
10317 * gdb.ada/dyn_loc: New testcase.
10319 2010-04-20 Chris Moller <cmoller@redhat.com>
10323 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10324 * gdb.cp/pr10687.cc: New file.
10325 * gdb.cp/pr10687.exp: New file.
10328 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10329 Sergio Durigan Junior <sergiodj@redhat.com>
10331 * gdb.fortran/logical.exp: New testcase.
10332 * gdb.fortran/logical.f90: New file.
10334 2010-04-19 Doug Evans <dje@google.com>
10336 * gdb.base/help.exp (help source): Update expected output.
10338 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10340 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10341 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10342 gdb_exit and return.
10343 (executable): New variable.
10346 2010-04-19 Pedro Alves <pedro@codesourcery.com>
10348 PR breakpoints/8554.
10350 * gdb.trace/save-trace.exp: Adjust.
10352 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10355 * gdb.arch/system-gcore.exp: New.
10356 * gdb.arch/gcore.c: Likewise.
10358 2010-04-15 Doug Evans <dje@google.com>
10360 * gdb.python/py-progspace.c: New file.
10361 * gdb.python/py-progspace.exp: New file.
10363 * gdb.base/source.exp: Add tests for "source -s".
10365 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10367 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10368 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10369 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10370 * gdb.python/py-mi.exp: New test for to_string returning None.
10372 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10374 * gdb.python/py-breakpoint.c: Make result global.
10376 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10378 Fix non-GNU make compatibility.
10379 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10381 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10383 * gdb.python/py-breakpoint.exp: New File.
10384 * gdb.python/py-breakpoint.C: Ditto.
10386 2010-04-08 Stan Shebs <stan@codesourcery.com>
10388 * gdb.trace/actions.exp: Clear default-collect.
10389 * gdb.trace/save-trace.exp: Clear default-collect.
10391 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10393 * gdb.python/py-value: Add null string variable.
10394 (test_lazy_string): Test zero length, NULL address lazy
10397 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10399 * gdb.arch/i386-avx.c: New.
10400 * gdb.arch/i386-avx.exp: Likewise.
10402 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10404 2010-04-06 Doug Evans <dje@google.com>
10406 * gdb.base/source-test.gdb: New file.
10407 * gdb.base/source.exp: Test source -v.
10409 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10411 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10413 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10415 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10416 within one line, unless it is followed by a double quote.
10417 * gdb.stabs/hppa.sed: Idem.
10418 * gdb.stabs/weird.def: Add char and String constants
10419 * gdb.stabs/weird.exp: Check for correct parsing of
10420 char and string constants.
10421 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10422 in .stabs to .stabx substitution.
10424 2010-04-05 Stan Shebs <stan@codesourcery.com>
10426 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10428 * gdb.trace/tfile.exp: Try to print them.
10430 2010-04-04 Stan Shebs <stan@codesourcery.com>
10432 * gdb.base/completion.exp: Update for new "info watchpoints".
10433 * gdb.base/default.exp: Ditto.
10434 * gdb.base/help.exp: Ditto.
10435 * gdb.base/watchpoint.exp: Ditto.
10436 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
10438 2010-04-04 Stan Shebs <stan@codesourcery.com>
10440 * gdb.trace/tfile.exp: Sharpen tfind test.
10442 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10444 * gdb.base/break-entry.exp: New.
10446 2010-04-02 Hui Zhu <teawater@gmail.com>
10447 Michael Snyder <msnyder@vmware.com>
10449 * gdb.reverse/i386-sse-reverse.exp: New file.
10450 * gdb.reverse/i386-sse-reverse.c: New file.
10452 2010-04-02 Pedro Alves <pedro@codesourcery.com>
10454 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10456 2010-04-01 Stan Shebs <stan@codesourcery.com>
10458 * gdb.trace/actions.exp: Tweak expected output.
10459 * gdb.trace/while-stepping.exp: Tweak expected output.
10461 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10463 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10465 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10467 * gdb.base/commands.exp: Adjust.
10468 * gdb.cp/extern-c.exp: Adjust.
10470 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10472 * gdb.trace/collection.c (local_test_func): Define a local struct,
10473 and instanciate it.
10475 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10477 * gdb.trace/collection.exp (gdb_collect_args_test)
10478 (gdb_collect_argarray_test): XFAIL the tests that assume the
10479 argarray argument's elements are collected.
10481 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10483 * gdb.dwarf2/dw2-bad-parameter-type.exp,
10484 gdb.dwarf2/dw2-bad-parameter-type.S: New.
10486 2010-03-31 Stan Shebs <stan@codesourcery.com>
10488 * gdb.trace/save-trace.exp: Test save/restore of default-collect
10489 and tracepoint conditionals.
10490 (gdb_verify_tracepoints): Delete unused return.
10492 2010-03-26 Keith Seitz <keiths@redhat.com>
10494 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
10495 appear in the output before main.
10496 Remove KFAIL for gdb/2215 aka bz 9320.
10498 2010-03-30 Doug Evans <dje@google.com>
10500 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
10502 * gdb.arch/amd64-dword.exp: Ditto.
10504 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
10506 (break printf): Ditto.
10508 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
10510 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
10512 * gdb.cp/shadow.exp: Ditto.
10514 2010-03-29 Pedro Alves <pedro@codesourcery.com>
10516 * gdb.trace/collection.exp (run_trace_experiment): Make sure
10517 "tstart" is silent.
10519 2010-03-29 Pedro Alves <pedro@codesourcery.com>
10521 * gdb.trace/collection.exp (executable): New.
10523 (fpreg, spreg, pcreg): New.
10524 (test_register): Use gdb_test_multiple. Pass /x to print.
10525 (prepare_for_trace_test): New.
10526 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10527 (gdb_collect_args_test, gdb_collect_argstruct_test)
10528 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10529 prepare_for_trace_test.
10530 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10531 fpreg, spreg and pcreg.
10532 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10533 prepare_for_trace_test.
10534 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10535 try to detect tracing support here. Don't set breakpoints at
10536 `begin' or `end' here.
10537 <global scope>: Use clean_restart. Run to main before checking
10538 for tracing support. Check for for tracing support here.
10540 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10542 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10543 " as $displacement" to "seen displacement message".
10545 2010-03-28 Pedro Alves <pedro@codesourcery.com>
10547 * gdb.trace/while-dyn.exp (executable): New variable.
10549 (test_while_stepping): New function. Move most tests here. Call
10550 it once for each of the while-stepping, stepping and ws aliases.
10552 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10554 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10555 that do not provide the tagless_struct type name at all.
10556 (test_print_anon_union): Do not check value of uninitialized
10557 union member. Do not use cp_test_ptype_class, so we can accept
10558 "long" as well as "long int".
10560 2010-03-26 Pedro Alves <pedro@codesourcery.com>
10562 * gdb.trace/tfile.c (tohex, bin2hex): New.
10563 (write_error_trace_file): Hexify error description.
10565 2010-03-25 Stan Shebs <stan@codesourcery.com>
10567 * gdb.trace/tfile.c: Generate an additional trace file, improve
10569 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10570 files in a better way.
10572 2010-03-25 Keith Seitz <keiths@redhat.com>
10574 * gdb.java/jprint.exp: XFAIL printing of static class members
10575 because of GCC debuginfo problem.
10577 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10579 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10581 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10583 * gdb.base/completion.exp: Allow long instead of long int.
10584 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10585 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10587 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10588 * gdb.base/pointers.exp: Allow long instead of long int.
10589 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10590 * gdb.base/step-line.exp: Allow a directory before the source file name.
10592 2010-03-24 Tom Tromey <tromey@redhat.com>
10594 PR breakpoints/9352:
10595 * gdb.base/default.exp: Update.
10596 * gdb.base/commands.exp: Update.
10597 * gdb.cp/extern-c.exp: Test setting commands on multiple
10598 breakpoints at once.
10600 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10602 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10604 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10605 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10608 2010-03-24 Stan Shebs <stan@codesourcery.com>
10610 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10612 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10614 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10615 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10616 argument. Handle "short" and "long".
10617 (Top level): Pass overprototyped output for old_fptr and xptr.
10619 2010-03-23 Pedro Alves <pedro@codesourcery.com>
10621 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10622 format strings and add casts to avoid compiler warnings.
10624 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
10626 * lib/trace-support.exp (gdb_trace_setactions):
10627 Don't expect whitespace after ">" prompt.
10628 * gdb.trace/actions.exp: Adjust for output changes.
10629 * gdb.trace/while-stepping.exp: Likewise.
10631 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10633 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10636 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10638 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10641 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10643 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10644 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10646 2010-03-19 Stan Shebs <stan@codesourcery.com>
10648 * gdb.trace/ax.exp: New file.
10650 2010-03-19 Doug Evans <dje@google.com>
10652 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10655 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10656 named /usr/sbin/prelink<foo>.
10658 2010-03-18 Stan Shebs <stan@codesourcery.com>
10660 * gdb.trace/circ.exp: Test circular-trace-buffer.
10661 * gdb.trace/tfile.exp: Update tstatus test.
10663 2010-03-18 Joel Brobecker <brobecker@adacore.com>
10665 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10666 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10668 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10670 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10672 2010-03-18 Pedro Alves <pedro@codesourcery.com>
10674 * gdb.base/default.exp: Adjust the expected output of the finish
10675 and until commands when the inferior is not being run.
10677 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10679 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10680 * gdb.cp/nsusing.exp: Ditto.
10682 2010-03-15 Tom Tromey <tromey@redhat.com>
10684 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10685 * gdb.cp/userdef.cc (operator==): New function.
10686 (main): New locals mem1, mem2.
10688 2010-03-15 Jie Zhang <jie@codesourcery.com>
10690 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10691 Declare and use new loadtimeout variable.
10693 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10695 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10696 Use gdb_load later.
10698 2010-03-14 Pedro Alves <pedro@codesourcery.com>
10700 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10701 literal. Add missing endlines to prints to stderr.
10703 2010-03-12 Tom Tromey <tromey@redhat.com>
10706 * gdb.cp/m-static.exp: Add regression test.
10707 * gdb.cp/m-static.cc (method): New method.
10710 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10712 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10713 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10715 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10717 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10719 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10721 * lib/gdb.exp (skip_stl_tests): New.
10722 (gdb_compile): Symbian needs -ldl.
10723 (shlib_target_file): New.
10724 (shlib_symbol_file): New.
10725 (gdb_load_shlibs): Use shlib_target_file.
10726 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10727 * gdb.cp/exception.exp: Use skip_stl_tests.
10728 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10729 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10730 * gdb.cp/mb-templates.exp: Ditto.
10731 * gdb.base/commands.exp: Relax regexes.
10732 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10733 shlib_target_file and shlib_symbol_file.
10734 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10736 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10737 * gdb.base/solib-disc.exp: Use
10738 shlib_target_file and shlib_symbol_file.
10739 * gdb.base/unload.exp: Don't skip on symbian. Use
10740 shlib_target_file and shlib_symbol_file.
10741 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10743 2010-03-12 Pedro Alves <pedro@codesourcery.com>
10745 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10746 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10747 Issue a tfind end before looking for a tracepoint frame.
10748 * gdb.trace/tfind.exp: Adjust tstatus output.
10749 Adjust disassembly output.
10750 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10752 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10754 * gdb.base/break-interp.exp: Create new displacement parameter value
10755 for the test_ld calls.
10756 (reach): New parameter displacement, verify its content. New push of
10757 pf_prefix "reach-$func:". Import global expect_out.
10758 (test_core): New parameter displacement, verify its content. New push
10759 of pf_prefix "core:". New command "set verbose on". Import global
10761 (test_attach): New parameter displacement, verify its content. New
10762 push of pf_prefix "attach:". New command "set verbose on". Import
10764 (test_ld): New parameter displacement, pass it to the reach, test_core
10765 and test_attach calls and verify its content in the "ld.so exit" test.
10766 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10767 (prelink): Update expected text, use gdb_test.
10769 2010-03-10 Doug Evans <dje@google.com>
10771 * gdb.base/checkpoint.exp: Fix comment.
10772 Lengthen timeout while doing >600 checkpoints test.
10773 Rename duplicate "kill all one" test to keep test names unique.
10775 2010-03-10 Pedro Alves <pedro@codesourcery.com>
10777 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10779 2010-03-08 Keith Seitz <keiths@redhat.com>
10781 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10782 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10783 (dm_type_long): New function.
10784 (dm_type_unsigned_short): New function.
10785 (dm_type_unsigned_long): New function.
10786 (myint): New typedef.
10787 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10788 long, unsigned shor and long, operator char*, and typedef.
10789 (test_lookup_operator_functions): Add operator char* test.
10790 (test_paddr_operator_functions): Likewise.
10791 (test_paddr_overloaded_functions): Use probe values for
10792 short, long, and unsigned short and long.
10793 (test_paddr_hairy_functions): If the demangler probe detected
10794 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10796 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10797 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10798 and "print null_pmf".
10799 Add test "ptype a.*pmf".
10800 * gdb.cp/overload.exp: Allow optional "int" to appear with
10801 "short" and "long".
10802 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10803 long expect value for men_overload1arg.
10804 Allow "int" to appear with "short" and "long".
10805 When testing "info break", add argument for main (void).
10806 Also allow "int" to appear with "short" and "long".
10807 Ditto with "unsigned" and "long long".
10808 * gdb.java/jmain.exp: Do not enclose methods names in single
10810 * gdb.java/jmisc.exp: Likewise.
10811 * gdb.java/jprint.exp: Likewise.
10812 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10814 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10815 * gdb.cp/exception.exp (backtrace after first throw)
10816 (backtrace after second throw): Allow a namespace before __cxa_throw.
10817 (backtrace after first catch, backtrace after second catch): Allow
10818 a namespace before __cxa_begin_catch.
10820 * gdb.cp/cpexprs.exp: New file.
10821 * gdb.cp/cpexprs.cc: New file.
10823 From Daniel Jacobowitz <dan@codesourcery.com>
10824 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10825 to use string_to_regexp.
10826 (ctor, dtor): New functions. Use them to match constructor
10827 and destructor function types.
10828 (Top level): Use runto_main.
10830 2010-03-05 Tom Tromey <tromey@redhat.com>
10832 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10833 gdb.target_charset.
10834 (pp_ns.to_string): Likewise.
10836 2010-03-04 Keith Seitz <keiths@redhat.com>
10838 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10839 can be quoted. Test that both the filename and function/line
10840 portions can be quoted at the same time.
10842 2010-03-04 Pedro Alves <pedro@codesourcery.com>
10844 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10846 2010-03-03 Doug Evans <dje@google.com>
10848 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10849 libc contains libpthread.
10851 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10852 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10853 of gdb_compile. Add another pattern to match android backtrace.
10855 2010-03-03 Tom Tromey <tromey@redhat.com>
10858 * gdb.base/printcmds.exp (test_printf): Add test.
10860 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10862 * gdb.arch/amd64-byte.exp: New.
10863 * gdb.arch/amd64-dword.exp: Likewise.
10864 * gdb.arch/amd64-pseudo.c: Likewise.
10865 * gdb.arch/amd64-word.exp: Likewise.
10866 * gdb.arch/i386-byte.exp: Likewise.
10867 * gdb.arch/i386-pseudo.c: Likewise.
10868 * gdb.arch/i386-word.exp: Likewise.
10870 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10872 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
10873 types. Add structreg, bitfields, and flags registers.
10874 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
10877 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
10879 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
10880 (load_description): Set architecture if defined.
10882 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
10884 * gdb.python/py-frame.exp: Add read_var block tests.
10885 * gdb.python/py-frame.c (block): New function.
10887 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10888 Daniel Jacobowitz <dan@codesourcery.com>
10890 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
10892 2010-02-25 David S. Miller <davem@davemloft.net>
10894 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
10895 fix logic for setting all_syscalls_numbers.
10897 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10899 * Makefile.in: Add py-block and py-symbol.
10900 * gdb.python/py-symbol.exp: New File.
10901 * gdb.python/py-symtab.exp: New File.
10902 * gdb.python/py-block.exp: New File.
10903 * gdb.python/py-symbol.c: New File.
10904 * gdb.python/py-block.c: New File.
10906 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10909 * lib/gdb.exp (skip_python_tests): New function.
10910 * gdb.python/py-cmd.exp: Use skip_python_tests.
10911 * gdb.python/py-frame.exp: Likewise.
10912 * gdb.python/py-function.exp: Likewise.
10913 * gdb.python/py-prettyprint.exp: Likewise.
10914 * gdb.python/py-template.exp: Likewise.
10915 * gdb.python/py-type.exp: Likewise.
10916 * gdb.python/py-value.exp: Likewise.
10918 2010-02-22 Pedro Alves <pedro@codesourcery.com>
10922 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
10924 2010-02-19 Tom Tromey <tromey@redhat.com>
10926 PR c++/8693, PR c++/9496:
10927 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
10930 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10932 Fix compatibility with m68k as.
10933 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
10934 Use only /* comments */.
10936 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10938 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
10939 * configure: Regenerate.
10941 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
10943 * gdb.python/py-type.exp: Check for Python support.
10945 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10947 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
10948 `regsub' syntax available.
10950 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10952 * gdb.base/shmain.c (main): Remove printf call.
10953 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
10954 * gdb.base/unload.c (main): Make format of fprintf a string
10955 literal. Add missing endlines to prints to stderr.
10956 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
10958 2010-02-17 Tom Tromey <tromey@redhat.com>
10960 * gdb.java/jprint.java (jprint.props): New field.
10961 * gdb.java/jprint.exp (set_lang_java): Add regression test.
10963 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10965 * gdb.base/charset.exp: Don't assume new `regsub' syntax
10968 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10970 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
10971 creation to support remote host testing.
10973 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10975 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
10976 Recognize "command not found".
10978 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10980 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
10983 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10985 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
10986 if arguments are not supported.
10988 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10990 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
10991 be const or non-const.
10993 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10995 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
10996 mi_send_resuming_command to send -exec-continue.
10998 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11000 * gdb.base/list.exp (test_list_filename_and_function): Add test
11001 with single quotes.
11002 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
11004 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
11005 Add KFAIL'd tests for PR gdb/11289.
11007 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11009 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
11011 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11013 * gdb.base/comp-dir/subdir/dummy.txt: New file.
11014 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
11015 a temporary directory.
11017 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
11019 * gdb.base/charset.exp: Use a single regular expression to match
11020 show host-charset and show target-charset output.
11022 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11024 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
11025 "Illegal process-id" expect string more exact.
11026 (attach to digits-starting nonsense is prohibited): New.
11028 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11030 * gdb.base/prelink.exp (set verbose on): New.
11032 2010-02-12 Tomas Holmberg <th@virtutech.com>
11034 * mi-reverse.exp: New file. Test for reverse option to the
11035 following MI commands: exec-continue, exec-finish, exec-next,
11036 exec-step, exec-next-instruction, exec-step-instruction.
11038 2010-02-09 Joel Brobecker <brobecker@adacore.com>
11040 * gdb.ada/ptype_tagged_param: New testcase.
11042 2010-02-08 Tom Tromey <tromey@redhat.com>
11045 * gdb.cp/overload.exp: Add tests.
11046 * gdb.cp/overload.cc (struct K): New.
11047 (namespace N): New.
11048 (main): Call new functions.
11049 (K::staticoverload): Define.
11051 2010-02-08 Chris Moller <moller@mollerware.com>
11054 * gdb.cp/pr10728-x.h: New file.
11055 * gdb.cp/pr10728-x.cc: New file.
11056 * gdb.cp/pr10728-y.cc: New file.
11057 * gdb.cp/pr10728.exp: New file.
11058 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11060 2010-02-08 Chris Moller <moller@mollerware.com>
11063 * gdb.cp/pr9067.exp: New
11064 * gdb.cp/pr9067.cc: New
11065 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11067 2010-02-08 Joel Brobecker <brobecker@adacore.com>
11069 * lib/gdb.exp (gdb_test_timeout): New global variable.
11070 Set it to timeout if not already set.
11071 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11073 2010-02-05 Doug Evans <dje@google.com>
11075 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11078 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11081 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11083 2010-02-04 Tom Tromey <tromey@redhat.com>
11085 * gdb.cp/virtbase.exp: Make test case names unique.
11087 2010-02-02 Tom Tromey <tromey@redhat.com>
11089 * gdb.cp/virtbase.exp: Add regression tests.
11090 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11091 (main): Instantiate RHC.
11093 2010-02-02 Tom Tromey <tromey@redhat.com>
11095 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11096 type-printing change.
11098 2010-02-02 Tom Tromey <tromey@redhat.com>
11100 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11101 * gdb.cp/virtbase.cc: New file.
11102 * gdb.cp/virtbase.exp: New file.
11103 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11105 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11108 * gdb.threads/current-lwp-dead.c: Include features.h.
11110 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11112 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11114 * gdb.base/symbol-without-target_section.exp,
11115 gdb.base/symbol-without-target_section.c: New.
11117 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11119 * gdb.base/bigcore.exp: Reset increased timeout.
11120 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11122 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11124 * gdb.base/gcore.exp (capture_command_output): Use
11127 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11129 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11130 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11131 (Top level): Call it.
11133 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11135 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11137 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11139 * gdb.base/call-strs.exp, gdb.base/default.exp,
11140 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11141 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11142 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11143 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11144 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11145 * gdb.base/ending-run.exp: Correct restore of timeout.
11146 * gdb.base/page.exp: Remove unnecessary timeout setting.
11148 2010-01-29 Joel Brobecker <brobecker@adacore.com>
11150 * gdb.ada/rec_return: New testcase.
11152 2010-01-29 Joel Brobecker <brobecker@adacore.com>
11154 * gdb.ada/call_pn: New testcase.
11156 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11158 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11159 (Top level): Use it to resume.
11160 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11161 the Thumb mode displaced stepping error as unsupported.
11163 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11165 * gdb.cp/nsusing.exp: Added more tests.
11166 * gdb.cp/nsrecurs.exp: Ditto.
11167 * gdb.cp/nsusing.cc: Added test functions.
11168 * gdb.cp/nsrecurs.cc: Ditto.
11170 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11172 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11173 absolute directory pathnames in gdb.sum file.
11175 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11177 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11178 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11180 2010-01-26 Tom Tromey <tromey@redhat.com>
11183 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11186 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11188 * gdb.cp/nsrecurs.exp: New test.
11189 * gdb.cp/nsrecurs.cc: New test program.
11190 * gdb.cp/nsstress.exp: New test.
11191 * gdb.cp/nsstress.cc: New test program.
11192 * gdb.cp/nsdecl.exp: New test.
11193 * gdb.cp/nsdecl.cc: New test program.
11195 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11197 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11198 imported into file scope.
11199 Marked test as xfail.
11200 * gdb.cp/namespace-using.cc (marker5): New function.
11201 * gdb.cp/shadow.exp: New test.
11202 * gdb.cp/shadow.cc: New test program.
11203 * gdb.cp/nsimport.exp: New test.
11204 * gdb.cp/nsimport.cc: New test program.
11206 2010-01-25 Tom Tromey <tromey@redhat.com>
11209 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11210 with "set print null-stop on".
11212 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11214 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11215 Adjust it for DISASSEMBLY_OMIT_FNAME.
11217 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11220 * gdb.dwarf2/member-ptr-forwardref.exp,
11221 gdb.dwarf2/member-ptr-forwardref.S: New.
11223 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11225 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11226 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11227 thread1_tid_mutex. Remove gdbstop_mutex handling.
11228 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11229 thread2_tid_mutex. Remove gdbstop_mutex handling.
11230 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11231 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11232 pthread_cond_wait conditionalizations by while loops.
11234 2010-01-20 Tom Tromey <tromey@redhat.com>
11236 PR backtrace/10770:
11237 * gdb.dwarf2/pr10770.exp: New file.
11238 * gdb.dwarf2/pr10770.c: New file.
11239 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11241 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11243 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11244 that target was removed, and the test always runs native anyway.
11246 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11248 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11249 gdb.base/watchpoint-cond-gone-stripped.c: New.
11251 2010-01-19 Tom Tromey <tromey@redhat.com>
11254 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11256 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11257 (main): Use AAA::SomeEnum.
11259 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11261 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11262 (test_ignore_count): Declare line_callme_body global.
11263 (run to breakpoint with ignore count): Use line_callme_body.
11264 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11265 (set line_main_hello, set line_main_return): Reindent.
11266 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11268 (continue to callee4): Use line_callee4_body.
11269 (check *stopped from CLI command): Use line_callee4_next.
11270 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11271 (set line_main_hello, set line_main_return): Reindent.
11272 (set line_callee4_head, set line_callee4_body): New.
11273 (continue to callee4): Use line_callee4_body.
11275 2010-01-18 Tom Tromey <tromey@redhat.com>
11278 * gdb.cp/casts.cc: Add new classes and variables.
11279 * gdb.cp/casts.exp: Test new operators.
11281 2010-01-18 Tom Tromey <tromey@redhat.com>
11282 Thiago Jung Bauermann <bauerman@br.ibm.com>
11284 * gdb.python/source2.py: New file.
11285 * gdb.python/source1: New file.
11286 * gdb.python/python.exp: Test "source" command.
11288 2010-01-15 Stan Shebs <stan@codesourcery.com>
11290 * gdb.trace/tfile.c: New file.
11291 * gdb.trace/tfile.exp: New file.
11293 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11295 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11297 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11299 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11301 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11303 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11304 (libfunc): New parameter action. Implement also selectable "sleep".
11305 * gdb.base/break-interp-main.c: Include assert.h.
11306 (libfunc): New parameter action.
11307 (main): New parameters argc and argv. Assert argc. Pass argv.
11308 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11309 (test_attach): New proc.
11310 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11311 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11313 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11315 * gdb.base/break-interp.exp (test_core): New proc.
11316 (test_ld): Call it.
11318 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11320 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11321 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11322 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11323 and gdb_compile_shlib. Use new -Wl compiler options.
11324 (dl bt, main bt): New tests.
11326 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11328 Support PIEs with no symfile_objfile.
11329 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11330 (test_ld): New parameter trynosym.
11331 (test_ld <$trynosym>): New block.
11333 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11335 * gdb.base/break-interp.exp: New file.
11337 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11339 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11340 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11341 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11343 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11344 * gdb.python/py-mi.exp: Add lazy string test.
11346 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11348 * lib/mi-support.exp (mi_check_thread_states): Handle
11349 core number in thread listing.
11351 2010-01-12 Joel Brobecker <brobecker@adacore.com>
11353 * gdb.base/maint.exp: Adjust the expected output for the
11354 "maint print type" test. Use gdb_test_multiple instead of
11355 gdb_sent/gdb_expect.
11357 2010-01-11 Doug Evans <dje@google.com>
11359 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11360 from gdbserver_download. All callers updated.
11362 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11364 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11366 Implement binary numbers parsing.
11367 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11368 (test_integer_literals_rejected): New binary tests.
11370 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11372 * gdb.cell/configure: Regenerate.
11374 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11376 * gdb.base/corefile.exp: Move the core finding block out and call it as
11377 core_find, new variable $corefile, replace corefile by $corefile and
11378 [file tail $corefile] for usage vs. test names resp.
11379 * lib/gdb.exp (core_find): Move it as a new function here. New
11380 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11381 $destcore. Return "" on error.
11383 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11385 Workaround PR binutils/10802.
11386 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11389 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11391 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11393 2010-01-08 Joel Brobecker <brobecker@adacore.com>
11395 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11396 call, to avoid interruption.
11398 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11400 * gdb.stabs/weird.def (args93): New.
11402 2010-01-07 Doug Evans <dje@google.com>
11404 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11406 2010-01-07 Tom Tromey <tromey@redhat.com>
11408 * gdb.base/source.exp: Use correct line number.
11410 2010-01-05 Stan Shebs <stan@codesourcery.com>
11412 * gdb.trace/tracecmd.exp: Test ftrace.
11414 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11416 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11418 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11420 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11421 "uint_for_mi_testing".
11423 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11425 Test indented comment in file being sourced.
11426 * gdb.base/commands.exp: Test indented comment in file being sourced.
11428 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11430 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11431 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11432 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11435 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11437 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11440 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11442 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11443 missing $after_stopped and comma (,) expectation.
11445 2009-12-31 Stan Shebs <stan@codesourcery.com>
11447 * gdb.trace/actions.exp: Test teval action.
11449 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11451 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11452 (top level): Call test_watchpoint_in_big_blob.
11453 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11455 (func3): Write to buf.
11457 2009-12-29 Stan Shebs <stan@codesourcery.com>
11459 * gdb.trace/actions.exp: Test default-collect.
11461 2009-12-28 Stan Shebs <stan@codesourcery.com>
11463 * gdb.trace/tsv.exp: New file.
11464 * gdb.base/completion.exp: Update ambiguous info output.
11466 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11468 * gdb.base/find.c (main): Reference search buffers.
11469 * gdb.base/included.c (main): Reference integer.
11470 * gdb.base/ptype.c (charfoo): Declare.
11471 (intfoo): Call charfoo.
11472 * gdb.base/scope0.c (useitp): New function.
11473 (usestatics): Use useitp.
11474 (useit): Add a type for val.
11475 * gdb.base/scope1.c (useit1): Take a pointer argument.
11476 (usestatics1): Update calls to useit1.
11477 * gdb.cp/call-c.cc: Declare foo.
11479 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
11480 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
11481 (main): Call C::ensureRefs and ensureOtherRefs.
11482 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
11484 (ensureOtherRefs): New function.
11485 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
11486 * gdb.cp/templates.cc (main): Call t5i.value.
11488 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11490 Fix compatibility with G++-4.5.
11491 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
11492 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
11493 (uncaught return): Remove.
11495 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11496 Phil Muldoon <pmuldoon@redhat.com>
11498 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
11499 (bp_location13, bp_location14, bp_location17, bp_location18)
11500 (marker3_proto, marker4_proto): New variables.
11501 (breakpoint info): Update output.
11502 (run until breakpoint at marker3, run until breakpoint at marker4): New
11505 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11507 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
11508 Replace the printf call of Y by provided "y-set-1" label. New block
11509 for the second shared library.
11510 * gdb.base/unload.exp: Compile also the second library, call
11511 gdb_load_shlibs also for it. Use now gdb_breakpoint.
11512 (single pending breakpoint info): Rename to ...
11513 (pending breakpoint info before run): ... this extended test.
11514 (libfile2, libname2, libsrcfile2, libsrc2)
11515 (lib_sl2): New variables.
11516 (exec_opts): Set also SHLIB_NAME2.
11517 (pending breakpoint info on first run at shrfunc1)
11518 (pending breakpoint info on second run at shrfunc1)
11519 (pending breakpoint info on second run at shrfunc2)
11520 (print y from libfile, print y from libfile2): New tests.
11521 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11522 * gdb.base/unloadshr2.c: New.
11524 2009-12-22 Hui Zhu <teawater@gmail.com>
11526 * gdb.reverse/sigall-reverse.exp: Adjust.
11528 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11532 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11533 (main): Call do_bitfield_tests.
11534 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
11536 2009-12-20 Joel Brobecker <brobecker@adacore.com>
11538 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11539 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11540 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11541 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11542 gdb.modula2/unbounded1.c: Update copyright header.
11544 2009-12-10 Chris Moller <moller@mollerware.com>
11547 * gdb.cp/virtfunc2.exp: New tests
11548 * gdb.cp/virtfunc2.cc: New tests
11549 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11551 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11553 * gdb.reverse/i387-env-reverse.c: New file.
11554 * gdb.reverse/i387-env-reverse.exp: New file.
11555 * gdb.reverse/i387-stack-reverse.c: New file.
11556 * gdb.reverse/i387-stack-reverse.exp: New file.
11558 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11560 * gdb.python/py-type.exp (test_range): New test.
11562 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11566 * gdb.python/py-type.exp: New file.
11567 * gdb.python/py-type.c: New file.
11568 * Makefile.in: Add py-type.
11570 2009-12-03 Tom Tromey <tromey@redhat.com>
11572 * gdb.python/py-value.exp (test_parse_and_eval): New
11575 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11579 * gdb.base/pr11022.exp: New test.
11580 * gdb.base/pr11022.c: New test.
11582 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11584 Fix spurious false FAILs.
11585 * gdb.base/structs.c (chartest): New.
11586 (main): Fill-in chartest.
11587 * gdb.base/structs.exp (anychar_re, first): New.
11588 (start_structs_test): Import global anychar_re and first.
11589 New gdb_test call "set print elements 300; ${testfile}"
11590 (start_structs_test <$first>): New block.
11591 (any): Import global anychar_re. New variable ac. Use ${ac}.
11593 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11595 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11597 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11599 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11600 Force $srcfile file.
11601 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11603 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11605 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11606 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11607 * gdb.threads/watchthreads-reorder.exp: Likewise.
11609 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11613 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11614 "if", and "thread". Correct matching in the previous test.
11616 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11618 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11620 2009-11-23 Michael Snyder <msnyder@vmware.com>
11622 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11623 * gdb.reverse-watch-precsave.exp: Ditto.
11625 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11627 * gdb.asm/asm-source.exp: Adjust.
11628 * gdb.base/help.exp: Adjust.
11630 2009-11-22 Pedro Alves <pedro@codesourcery.com>
11632 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11633 (do_syscall_tests_without_xml): Set data-directory to
11634 /the/path/to/nowhere.
11636 2009-11-21 Pedro Alves <pedro@codesourcery.com>
11638 * gdb.threads/local-watch-wrong-thread.c,
11639 gdb.threads/local-watch-wrong-thread.exp: New files.
11641 2009-11-21 Pedro Alves <pedro@codesourcery.com>
11643 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11644 assume new `regsub' syntax available.
11646 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11648 * gdb.base/watchpoint-hw-hit-once.exp,
11649 gdb.base/watchpoint-hw-hit-once.c: New.
11651 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11653 * gdb.threads/watchthreads-reorder.exp,
11654 gdb.threads/watchthreads-reorder.c: New.
11656 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11658 * gdb.xml/tdesc-regs.exp: Use for m68k.
11660 2009-11-15 Pedro Alves <pedro@codesourcery.com>
11662 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11664 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11666 * lib/gdb.exp (current_target_name): New procedure.
11667 (gdb_wrapper_target): New variable.
11668 (gdb_wrapper_init): Set gdb_wrapper_target.
11669 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11672 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11674 * gdb.base/remote.exp: Delete the slowest load test.
11675 Do not load with fixed packet sizes.
11677 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11679 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11681 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11683 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11684 srcfile when setting a breakpoint.
11686 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11688 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11691 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11693 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11695 * gdb.base/display.c (force_mem): New.
11696 (do_loops): Use it. Add breakpoint comments.
11697 (do_vars): Add a breakpoint comment.
11698 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11701 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11703 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11704 instead of a bare "run".
11706 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11708 * gdb.python/py-prettyprint.exp: Adjust.
11710 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11712 * lib/cell.exp (skip_cell_tests): Clean up test files before
11715 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11717 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11718 and the breakpoint menu. Do not call perror if a prompt is seen.
11719 Consume the following GDB prompt.
11720 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11721 * gdb.cp/namespace.exp: Use gdb_test.
11722 * gdb.cp/templates.exp: Use gdb_test.
11723 (test_template_breakpoints): Use gdb_test_multiple.
11725 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11727 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11728 (marker4): Reference values.
11730 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11732 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11735 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11737 * gdb.base/break.c (need_malloc): New.
11738 * gdb.base/constvars.c (main): Reference crass and crisp.
11739 * gdb.base/gdb1821.c (main): Reference bar.
11740 * gdb.cp/gdb1355.cc (main): Reference s1.
11741 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11743 * gdb.cp/hang2.cc (dummy2): Define.
11744 * gdb.cp/hang3.cc (dummy3): Define.
11745 * gdb.cp/m-data.cc (main): Reference shadow.
11747 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11748 Nathan Froyd <froydnj@codesourcery.com>
11750 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11753 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11755 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11756 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11757 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11758 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11759 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11760 * gdb.dwarf2/dw2-producer.exp: Likewise.
11761 * gdb.dwarf2/mac-fileno.exp: Likewise.
11762 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11763 py-prettyprint.py to the remote host.
11764 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11766 2009-11-11 Keith Seitz <keiths@redhat.com>
11768 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11769 use it instead of "Foo".
11770 * gdb.cp/classes.exp (do_tests): Add a test to access
11771 a method through a typedef'd class name.
11773 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11775 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11777 * gdb.base/pointers.exp: Likewise.
11778 * gdb.cp/ref-types.exp: Likewise.
11780 2009-11-11 Keith Seitz <keiths@redhat.com>
11782 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11783 new[] and delete[].
11784 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11786 (probe_demangler): Remove all single-quoting of
11787 method and variable names.
11788 (info_func_regexp): Remove the word "void" from any
11789 occurrence of "(void)".
11790 (print_addr_2): Remove all single-quoting of
11792 (print_addr_2_kfail): Likewise.
11793 (print_addr): Single-quote C function names before
11794 passing to print_addr_2.
11795 (test_paddr_operator_functions): Remove single-quoting
11797 Add tests for operator new[] and operator delete[].
11799 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11801 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11803 2009-11-09 Keith Seitz <keiths@redhat.com>
11805 * gdb.cp/overload.exp: Add tests for resolving overloaded
11806 methods in expression parsing/evaluation.
11808 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11810 * lib/gdb.exp (default_gdb_version): Use --version instead of
11813 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11815 * lib/gdb.exp (gdb_compile_test): New.
11816 (skip_ada_tests, skip_java_tests): New.
11817 (gdb_compile): Use gdb_compile_test for f77.
11818 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11819 * lib/java.exp (compile_java_from_source): Remove runtests check,
11820 use gdb_compile_test to record result.
11821 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11822 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11823 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11824 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11825 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11826 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11827 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11828 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11829 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11830 adjust gdb_compile invocations.
11832 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11834 * Makefile.in (abs_builddir): New.
11835 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11836 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11837 `$(abs_builddir)/site.exp'.
11839 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11841 * config/m68k-emc.exp, lib/emc-support.exp,
11842 gdb.trace/gdb_c_test.c: Delete.
11843 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11844 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11845 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11846 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11847 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11848 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11849 casing for m68k-*-elf.
11851 2009-11-03 Pedro Alves <pedro@codesourcery.com>
11853 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11854 * gdb.arch/i386-prologue.exp: Likewise.
11855 * gdb.arch/i386-unwind.exp: Likewise.
11857 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11859 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11861 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11863 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11865 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11867 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
11869 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11871 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
11873 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11875 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
11876 * gdb.base/sepdebug2.c: New file.
11878 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
11880 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
11881 the modified warnings for catch syscall. Verify if GDB was compiled
11882 with support for lib expat, and choose which tests to run depending
11885 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
11887 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
11888 that composite commands are parsed OK. And also test
11889 that breakpoint commands do work.
11891 2009-10-23 Michael Snyder <msnyder@vmware.com>
11893 gdb.reverse/consecutive-precsave.exp: Change expect pattern
11894 to allow for new disassembly style.
11896 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11898 * gdb.asm/asm-source.exp: Adjust.
11900 2009-10-22 Michael Snyder <msnyder@vmware.com>
11902 * gdb.reverse/break-precsave.exp: New test.
11903 * gdb.reverse/consecutive-precsave.exp: Ditto.
11904 * gdb.reverse/finish-precsave.exp: Ditto.
11905 * gdb.reverse/i386-precsave.exp: Ditto.
11906 * gdb.reverse/machinestate-precsave.exp: Ditto.
11907 * gdb.reverse/sigall-precsave.exp: Ditto.
11908 * gdb.reverse/solilb-precsave.exp: Ditto.
11909 * gdb.reverse/step-precsave.exp: Ditto.
11910 * gdb.reverse/until-precsave.exp: Ditto.
11911 * gdb.reverse/watch-precsave.exp: Ditto.
11913 2009-10-22 Michael Snyder <msnyder@vmware.com>
11915 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
11916 for gdb_expect. Adjust one test's expect strings for the new
11917 format of disassemble.
11918 * gdb.reverse/finish-reverse.exp: Delete 'return'.
11919 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
11921 * gdb.reverse/step-reverse.exp: Delete 'return'.
11922 * gdb.reverse/until-reverse.exp: Delete blank lines.
11923 * gdb.reverse/watch-reverse.exp: Delete blank lines.
11925 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
11927 * gdb.base/consecutive.exp: Adjust.
11928 * gdb.base/display.exp: Likewise.
11929 * gdb.base/pc-fp.exp: Likewise.
11930 * gdb.base/sigbpt.exp: Likewise.
11932 2009-10-19 Michael Snyder <msnyder@vmware.com>
11934 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
11935 * gdb.reverse/finish-reverse.c: Ditto.
11936 * gdb.reverse/sigall-reverse.c: Ditto.
11937 * gdb.reverse/solib-reverse.c: Ditto.
11938 * gdb.reverse/step-reverse.c: Ditto.
11939 * gdb.reverse/watch-reverse.c: Ditto.
11941 2009-10-19 Pedro Alves <pedro@codesourcery.com>
11942 Stan Shebs <stan@codesourcery.com>
11944 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
11945 * gdb.base/foll-exec.exp: Adjust to expect a process id before
11946 "Executing new program".
11947 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
11948 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
11949 left listed after having been killed.
11950 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
11951 * gdb.base/maint.exp: Adjust test.
11953 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
11954 * gdb.multi/Makefile.in: New.
11955 * gdb.multi/base.exp: New.
11956 * gdb.multi/goodbye.c: New.
11957 * gdb.multi/hangout.c: New.
11958 * gdb.multi/hello.c: New.
11959 * gdb.multi/bkpt-multi-exec.c: New.
11960 * gdb.multi/bkpt-multi-exec.exp: New.
11961 * gdb.multi/crashme.c: New.
11963 2009-10-13 Tristan Gingold <gingold@adacore.com>
11965 * gdb.base/sepdebug.exp: Check debug info are found.
11967 2009-10-08 Pedro Alves <pedro@codesourcery.com>
11969 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
11972 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11974 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
11976 2009-10-07 Joel Brobecker <brobecker@adacore.com>
11978 * gdb.base/watchpoints.c: Add copyright header. Reformat one
11981 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
11983 * gdb.base/annota1.exp: Remove obsolete match_max increase.
11984 * gdb.base/annota3.exp: Idem.
11985 * gdb.base/maint.exp: Idem.
11987 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
11989 * lib/gdb.exp (default_gdb_init): Set current value of match_max
11992 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11994 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
11995 mingw and cygwin targets.
11997 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11998 Pedro Alves <pedro@codesourcery.com>
12000 * lib/gdb.exp (gdb_compile): Avoid adding
12001 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
12003 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12005 * gdb.base/shr1.c: Use %p in format string.
12006 * gdb.base/unload.c: Avoid warning in fprintf.
12007 * gdb.base/watchpoint-solib.c: Idem.
12009 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
12011 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
12013 (test_unlink): Correct printf string.
12014 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
12015 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
12017 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12019 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
12020 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
12021 * gdb.arch/ia64-breakpoint-shadow.S: New file.
12023 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12025 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
12026 * gdb.objc/nondebug.exp: Likewise.
12028 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12030 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
12031 target_info setting.
12033 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
12034 that detect new threads during "info threads".
12036 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12038 * gdb.threads/manythreads.c (main): Increase thread stack size
12039 to 2*PTHREAD_STACK_MIN.
12040 * gdb.threads/multi-create.c (main): Likewise.
12041 (create_function): Likewise.
12043 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12045 * gdb.base/dump.exp: Pass difference of pointer types instead
12046 of integer types as offset to restore in intarr3.srec case.
12048 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12050 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12052 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12054 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12056 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
12058 New test for two watchpoints, with disabling of
12059 the first inserted.
12060 * testsuite/gdb.base/watchpoints.c: New file.
12061 * testsuite/gdb.base/watchpoints.exp: New file.
12063 2009-09-25 Tom Tromey <tromey@redhat.com>
12065 * gdb.base/charset.exp: Test utf-16 strings with Python.
12067 2009-09-25 Tom Tromey <tromey@redhat.com>
12069 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12071 * gdb.base/charset.c (utf_32_string): Rename.
12072 (init_utf32): Rename.
12075 2009-09-22 Tom Tromey <tromey@redhat.com>
12077 * gdb.python/py-function.exp: Add regression tests.
12079 2009-09-21 Keith Seitz <keiths@redhat.com>
12081 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12082 with invalid operator.
12084 2009-09-21 Keith Seitz <keiths@redhat.com>
12086 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12087 and destructor using typedef name of class.
12088 * gdb.cp/classes.cc (class Base1): Add a destructor.
12089 (base1): New typedef.
12090 (use_methods): Instanitate an object of type base1.
12091 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12092 (do_tests): Call test_template_typedef.
12093 * gdb.cp/templates.cc (Baz::~Baz): New method.
12094 (intBazOne): New typedef.
12095 (main): Instantiate intBazOne.
12097 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12101 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12103 (run_lang_tests): Add print elements test.
12105 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12107 * gdb.python/py-value.exp (test_subscript_regression): New
12108 function. Test for invalid subscripts.
12109 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12110 (ptr_ref): New function.
12112 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12114 * gdb.base/default.exp: Fix "show convenience".
12116 2009-09-15 Tom Tromey <tromey@redhat.com>
12118 * lib/mi-support.exp (mi_create_varobj): Update.
12119 (mi_create_floating_varobj): Likewise.
12120 (mi_create_dynamic_varobj): New proc.
12121 (mi_varobj_update): Update.
12122 (mi_varobj_update_with_type_change): Likewise.
12123 (mi_varobj_update_kv_helper): New proc.
12124 (mi_varobj_update_dynamic_helper): Rewrite.
12125 (mi_varobj_update_dynamic): New proc.
12126 (mi_list_varobj_children): Update.
12127 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12128 * gdb.python/python-prettyprint.py (pp_outer): New class.
12129 (pp_nullstr): Likewise.
12130 (lookup_function): Register new printers.
12131 * gdb.python/python-prettyprint.c (struct substruct): New type.
12132 (struct outerstruct): Likewise.
12133 (substruct_test): New function.
12134 (struct nullstr): New type.
12135 (string_1, string_2): New globals.
12136 (main): Add new tests.
12137 * gdb.python/python-mi.exp: Added regression tests.
12138 * gdb.mi/mi2-var-display.exp: Update.
12139 * gdb.mi/mi2-var-cmd.exp: Update.
12140 * gdb.mi/mi2-var-child.exp: Update.
12141 * gdb.mi/mi2-var-block.exp: Update.
12142 * gdb.mi/mi-var-invalidate.exp: Update.
12143 * gdb.mi/mi-var-display.exp: Update.
12144 * gdb.mi/mi-var-cmd.exp: Update.
12145 * gdb.mi/mi-var-child.exp: Update.
12146 * gdb.mi/mi-var-block.exp: Update.
12147 * gdb.mi/mi-break.exp: Update.
12148 * gdb.mi/gdb701.exp: Update.
12150 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12152 * Makefile.in: Inclusion of catch-syscall object.
12153 * gdb.base/catch-syscall.c: New file.
12154 * gdb.base/catch-syscall.exp: New file.
12156 2009-09-12 Michael Snyder <msnyder@vmware.com>
12158 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12159 that can support reverse debuggnig.
12161 2009-09-11 Tom Tromey <tromey@redhat.com>
12163 * gdb.dwarf2/valop.S: New file.
12164 * gdb.dwarf2/valop.exp: New file.
12166 2009-09-11 Mark Kettenis <kettenis@gnu.org>
12168 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12170 2009-09-10 Doug Evans <dje@google.com>
12172 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12173 Add $gdb_prompt to second breakpoint regexp.
12175 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12177 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12178 names, add missing ones.
12179 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12180 * gdb.python/py-frame.c: Rename from python-frame.c.
12181 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12183 * gdb.python/py-function.exp: Rename from python-function.exp.
12184 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12186 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12187 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12188 Adjust testfile name.
12189 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12190 * gdb.python/py-template.cc: Rename from python-template.cc.
12191 * gdb.python/py-template.exp: Rename from python-template.exp.
12192 Adjust testfile name.
12193 * gdb.python/py-value.c: Rename from python-value.c.
12194 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12197 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12199 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12201 (Second breakpoint address is valid on ia64)
12202 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12204 2009-09-03 Joseph Myers <joseph@codesourcery.com>
12206 * gdb.base/ending-run.exp: Restrict regular expression matching
12207 line number to require closing brace following.
12209 2009-09-03 Doug Evans <dje@google.com>
12211 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12213 2009-09-02 Tom Tromey <tromey@redhat.com>
12215 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12217 2009-09-02 Tom Tromey <tromey@redhat.com>
12219 * gdb.dwarf2/callframecfa.exp: New file.
12220 * gdb.dwarf2/callframecfa.S: New file.
12222 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12224 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12225 gdb.base/solib-overlap-main.c: New.
12227 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12231 * gdb.base/bitfields.c (struct container, container): New.
12232 (main): Initialize it and call break5.
12233 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12235 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12237 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12238 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12240 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12242 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12244 2009-08-26 Michael Snyder <msnyder@vmware.com>
12246 * gdb.base/i386-reverse.c: New file.
12247 * gdb.base/i386-reverse.exp: New file.
12248 * gdb.base/Makefile.in: Add new files to be removed.
12250 2009-08-26 Joseph Myers <joseph@codesourcery.com>
12252 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12253 environment-pwd for remote host.
12254 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12256 2009-08-24 Keith Seitz <keiths@redhat.com>
12258 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12259 Add two new C++ completer tests which limit the output to a
12262 2009-08-24 Michael Snyder <msnyder@vmware.com>
12264 * gdb.base/del.exp: Fix typo in comment.
12265 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12267 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12269 * configure: Regenerate.
12270 * gdb.hp/configure: Likewise.
12271 * gdb.hp/gdb.aCC/configure: Likewise.
12272 * gdb.hp/gdb.base-hp/configure: Likewise.
12273 * gdb.hp/gdb.compat/configure: Likewise.
12274 * gdb.hp/gdb.defects/configure: Likewise.
12275 * gdb.hp/gdb.objdbg/configure: Likewise.
12276 * gdb.stabs/configure: Likewise.
12278 2009-08-19 Doug Evans <dje@google.com>
12280 * gdb.base/gdbvars.c: New file.
12281 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12283 2009-08-14 Pedro Alves <pedro@codesourcery.com>
12285 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12286 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12288 2009-08-13 Pedro Alves <pedro@codesourcery.com>
12290 * gdb.base/default.exp: Adjust "set language test": it's now an
12291 enum command. Larger help string moved to "help set language".
12292 * gdb.base/help.exp: Adjust "help set language" expected output,
12293 now lists all known languages.
12295 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12297 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12298 all frame arguments.
12299 * gdb.arch/altivec-regs.exp: Likewise.
12301 2009-08-07 Tom Tromey <tromey@redhat.com>
12303 * gdb.base/setshow.exp: Add tests for changes to set language, set
12304 check range, and set check type.
12306 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12308 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12309 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
12312 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12314 * configure.ac: Run gdb.cell tests when appropriate.
12315 * configure: Regenerate.
12316 * lib/cell.exp: New file.
12317 * gdb.cell: New directory.
12318 * gdb.cell/configure.ac: New file.
12319 * gdb.cell/configure: New file.
12320 * gdb.cell/Makefile.in: New file.
12321 * gdb.cell/arch.exp: New file.
12322 * gdb.cell/break.c: New file.
12323 * gdb.cell/break.exp: New file.
12324 * gdb.cell/break-spu.c: New file.
12325 * gdb.cell/bt.c: New file.
12326 * gdb.cell/bt2-spu.c: New file.
12327 * gdb.cell/bt-spu.c: New file.
12328 * gdb.cell/bt.exp: New file.
12329 * gdb.cell/coremaker.c: New file.
12330 * gdb.cell/coremaker-spu.c: New file.
12331 * gdb.cell/core.exp: New file.
12332 * gdb.cell/gcore.exp: New file.
12333 * gdb.cell/data.c: New file.
12334 * gdb.cell/data.exp: New file.
12335 * gdb.cell/data-spu.c: New file.
12336 * gdb.cell/ea-cache.exp: New file.
12337 * gdb.cell/ea-cache.c: New file.
12338 * gdb.cell/ea-cache-spu.c: New file.
12339 * gdb.cell/ea-standalone.c: New file.
12340 * gdb.cell/ea-standalone.exp: New file.
12341 * gdb.cell/ea-test.c: New file.
12342 * gdb.cell/ea-test.exp: New file.
12343 * gdb.cell/f-regs.exp: New file.
12344 * gdb.cell/mem-access.c: New file.
12345 * gdb.cell/mem-access.exp: New file.
12346 * gdb.cell/mem-access-spu.c: New file.
12347 * gdb.cell/ptype.exp: New file.
12348 * gdb.cell/registers.exp: New file.
12349 * gdb.cell/size.c: New file.
12350 * gdb.cell/sizeof.exp: New file.
12351 * gdb.cell/size-spu.c: New file.
12352 * gdb.cell/solib.exp: New file.
12353 * gdb.cell/solib-symbol.exp: New file.
12355 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12357 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12359 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12361 * gdb.base/float.exp: Handle VFP registers.
12363 2009-07-14 Michael Snyder <msnyder@vmware.com>
12365 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12366 to bring gdb to the beginning of the calling line.
12368 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12369 confusing the i386 epilogue unwinder.
12371 2009-07-14 Stan Shebs <stan@codesourcery.com>
12373 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12375 2009-07-14 Michael Snyder <msnyder@vmware.com>
12377 * gdb.reverse/step-reverse.exp (stepi into function call):
12378 Call instruction may not be first instruction in the line.
12379 (reverse stepi from a function call): Used wrong line number.
12381 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12383 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12385 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12387 Fix gdb.base/macscp.exp when using custom inputrc.
12388 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12389 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12391 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12392 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12394 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12396 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12397 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12398 Change the compilation target to match the testcase name.
12399 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12401 * a2-run.exp: Use for setup prepare_for_testing. Change the
12402 compilation target to match the testcase name.
12403 * gdb.base/commands.exp: Likewise.
12404 * gdb.base/finish.exp: Likewise.
12405 * gdb.base/float.exp: Likewise.
12406 * gdb.base/info-target.exp: Likewise.
12407 * gdb.base/relational.exp: Likewise.
12408 * gdb.base/term.exp: Likewise.
12409 * gdb.base/until.exp: Likewise.
12410 * gdb.base/volatile.exp: Likewise.
12411 * gdb.base/whatis-exp.exp: Likewise.
12413 2009-07-11 Hui Zhu <teawater@gmail.com>
12415 * gdb.base/help.exp (disassemble): Update expected help text.
12417 2009-07-09 Tom Tromey <tromey@redhat.com>
12419 * lib/gdb.exp: Handle TRANSCRIPT.
12420 (remote_spawn, remote_close, send_gdb): New procs.
12422 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12424 * gdb.python/python-prettyprint.c: Add counted null string
12426 * gdb.python/python-prettyprint.exp: Print null string. Test for
12428 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12429 * gdb.python/python-value.exp (test_value_in_inferior): Add
12430 variable length string fetch tests.
12431 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12433 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12435 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12437 2009-07-07 Tom Tromey <tromey@redhat.com>
12439 * gdb.base/call-rt-st.exp: Update for change to escape output.
12440 * gdb.base/callfuncs.exp: Likewise.
12441 * gdb.base/charset.exp: Likewise.
12442 * gdb.base/constvars.exp: Likewise.
12443 * gdb.base/long_long.exp: Likewise.
12444 * gdb.base/pointers.exp: Likewise.
12445 * gdb.base/printcmds.exp: Likewise.
12446 * gdb.base/setvar.exp: Likewise.
12447 * gdb.base/store.exp: Likewise.
12448 * gdb.cp/ref-types.exp: Likewise.
12449 * gdb.mi/mi-var-child.exp: Likewise.
12450 * gdb.mi/mi-var-display.exp: Likewise.
12451 * gdb.mi/mi2-var-display.exp: Likewise.
12452 * gdb.base/charset.exp: Test octal escape sequence length.
12453 Update for change to escape output.
12455 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12457 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12459 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12461 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12463 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12465 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12466 gdbserver increasing $portnum if "Can't bind address" has been seen.
12468 2009-07-05 Pedro Alves <pedro@codesourcery.com>
12470 * gdb.base/ending-run.exp: Add "step out of main" pattern for
12473 2009-07-05 Pedro Alves <pedro@codesourcery.com>
12475 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
12478 2009-07-02 Pedro Alves <pedro@codesourcery.com>
12480 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
12481 linux. Adjust to use "inferior", "info inferiors", "detach
12482 inferior" and "kill inferior" instead of "restart", "info fork",
12483 "detach fork" and "delete fork".
12484 * gdb.base/ending-run.exp: Spell out "info".
12485 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
12486 the "kill" command.
12488 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12490 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
12491 change to prefix TLS offset in hex with 0x.
12493 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12495 * gdb.base/default.exp: Update test case for "x" changes.
12497 2009-07-01 Tristan Gingold <gingold@adacore.com>
12499 * gdb.base/bigcore.exp: Make darwin untested.
12501 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12503 * gdb.base/completion.exp (directory completion): Create the directory.
12504 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
12506 (directory completion 2): Expect now ${escapeuniquesub}.
12507 (Glob remaining of directory test): Remove one excessive newline.
12508 Expect the real output.
12510 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12512 Fix `make check//%' target after `make check' has been ran.
12513 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
12515 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
12518 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12520 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12521 the expected result record.
12523 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12525 Remove racy FAILs relying just on the timeouts.
12526 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12527 (annotation_level 2): Remove racy FAILs.
12529 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12532 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12534 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12536 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12538 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12540 * gdb.mi/mi-stack.exp: Testing symbolic options
12541 to -stack-list-locals and -stack-list-arguments.
12543 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12545 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12547 2009-06-29 Tom Tromey <tromey@redhat.com>
12549 * dg-extract-results.sh: New file.
12550 * Makefile.in (FORCE_PARALLEL): New variable.
12551 (CHECK_TARGET): New conditional variable.
12552 (check): Use CHECK_TARGET.
12553 (DO_RUNTEST): New variable.
12554 (check-single): New target.
12555 (TEST_DIRS): New variable.
12556 (TEST_TARGETS): Likewise.
12557 (check-parallel): New target.
12558 (check-gdb.%): New pattern.
12559 (BASE1_FILES): New variable.
12560 (BASE2_FILES): Likewise.
12561 (check-gdb.base%): New pattern.
12562 (%/.dir): New pattern.
12563 * configure: Rebuild.
12564 * aclocal.m4 (AM_CONDITIONAL): New defun.
12565 * configure.ac: Check whether user is using GNU make.
12566 (GMAKE): New conditional.
12568 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12570 * gdb.cp/namespace-nested-import.cc: New test.
12571 * gdb.cp/namespace-nested-import.exp: New test.
12573 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12575 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12576 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12577 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12578 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12579 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12580 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12581 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12582 gdb.opt/inline-markers.c: New files.
12583 * lib/gdb.exp (skip_inline_frame_tests): New function.
12584 (skip_inline_var_tests): New function.
12586 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12588 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12591 2009-06-27 Michael Snyder <msnyder@vmware.com>
12593 * gdb.reverse: New directory.
12594 * gdb.reverse/break-reverse.c: New test.
12595 * gdb.reverse/break-reverse.exp: New test.
12596 * gdb.reverse/consecutive-reverse.c: New test.
12597 * gdb.reverse/consecutive-reverse.exp: New test.
12598 * gdb.reverse/finish-reverse.c: New test.
12599 * gdb.reverse/finish-reverse.exp: New test.
12600 * gdb.reverse/machinestate.c: New test.
12601 * gdb.reverse/ms1.c: New test.
12602 * gdb.reverse/machinestate.exp: New test.
12603 * gdb.reverse/Makefile.in: New file.
12604 * gdb.reverse/shr2.c: New test.
12605 * gdb.reverse/solib-reverse.c: New test.
12606 * gdb.reverse/solib-reverse.exp: New test.
12607 * gdb.reverse/step-reverse.c: New test.
12608 * gdb.reverse/step-reverse.exp: New test.
12609 * gdb.reverse/until-reverse.c: New test.
12610 * gdb.reverse/ur1.c: New test.
12611 * gdb.reverse/until-reverse.exp: New test.
12612 * gdb.reverse/watch-reverse.c: New test.
12613 * gdb.reverse/watch-reverse.exp: New test.
12614 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12615 * configure: Regenerate.
12617 2009-06-26 Doug Evans <dje@google.com>
12619 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12621 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12623 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12624 windows problem for 'file delete $binfile'.
12626 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12628 * gdb.cp/namespace-using.exp: New test.
12629 * gdb.cp/namespace-using.cc: New test.
12631 2009-05-20 Joel Brobecker <brobecker@adacore.com>
12633 * gdb.ada/variant_record_packed_array: New testcase.
12635 2009-06-23 Tom Tromey <tromey@redhat.com>
12637 * gdb.base/charset.exp (test_combination): Regression test.
12638 * gdb.base/charset.c (my_wchar_t): New typedef.
12639 (myvar): New global.
12642 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12644 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12647 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12649 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12651 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12653 * gdb.mi/gdb680.exp: Update test for error message.
12655 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12657 * gdb.base/annota1.exp: Allow multiple occurrences of the
12658 frames-invalid annotation.
12659 * gdb.cp/annota2.exp: Likewise.
12661 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12663 * gdb.cp/gdb2495.cc: New file.
12664 * gdb.cp/gdb2495.exp: New file.
12666 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12668 Report error on GDB crash during runto.
12669 * lib/gdb.exp (runto <eof>): New.
12671 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12673 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12674 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12675 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12676 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12677 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12678 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12679 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12680 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12681 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12682 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12683 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12684 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12685 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12686 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12687 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12688 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12689 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12690 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12691 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12692 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12693 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12694 gdb.trace/passcount.exp, gdb.trace/report.exp,
12695 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12696 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12697 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12700 2009-06-07 Pedro Alves <pedro@codesourcery.com>
12702 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12703 defined before referencing it.
12705 2009-06-03 Doug Evans <dje@google.com>
12707 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12708 * gdb.arch/i386-see.c: Ditto.
12710 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12712 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12713 (check_macro): Return 1 if undefined.
12714 If first test fails, check if macro debug information is available,
12715 and report unsupported test if no macro information is found.
12717 2009-05-29 Doug Evans <dje@google.com>
12719 * gdb.threads/hand-call-in-threads.exp: New.
12720 * gdb.threads/hand-call-in-threads.c: New.
12722 2009-05-29 Michael Snyder <msnyder@vmware.com>
12724 * gdb.base/break-always.exp: Change "1" to "on".
12725 Add confirmation check.
12727 2009-05-28 Pedro Alves <pedro@codesourcery.com>
12729 * gdb.threads/threxit-hop-specific.c: New.
12730 * gdb.threads/threxit-hop-specific.exp: New.
12731 * gdb.threads/thread-execl.c: New.
12732 * gdb.threads/thread-execl.exp: New.
12734 2009-05-27 Tom Tromey <tromey@redhat.com>
12735 Thiago Jung Bauermann <bauerman@br.ibm.com>
12737 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12738 (mi_child_regexp): Likewise.
12739 (mi_list_varobj_children_range): Likewise.
12740 (mi_get_features): Likewise.
12741 (mi_list_varobj_children): Rewrite.
12742 * gdb.python/python-mi.exp: New file.
12744 2009-05-27 Tom Tromey <tromey@redhat.com>
12745 Thiago Jung Bauermann <bauerman@br.ibm.com>
12746 Phil Muldoon <pmuldoon@redhat.com>
12747 Paul Pluzhnikov <ppluzhnikov@google.com>
12749 * gdb.python/python-prettyprint.exp: New file.
12750 * gdb.python/python-prettyprint.c: New file.
12751 * gdb.python/python-prettyprint.py: New file.
12752 * gdb.base/display.exp: print/r is now valid.
12754 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12755 Tom Tromey <tromey@redhat.com>
12756 Pedro Alves <pedro@codesourcery.com>
12757 Paul Pluzhnikov <ppluzhnikov@google.com>
12759 * gdb.python/python-template.exp: New file.
12760 * gdb.python/python-template.cc: New file.
12761 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12763 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12765 (test_value_after_death): New proc.
12766 * gdb.python/python-value.c (PTR): New typedef.
12767 (main): New variable 'x'.
12769 2009-05-27 Tom Tromey <tromey@redhat.com>
12771 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12773 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12776 2009-05-27 Pedro Alves <pedro@codesourcery.com>
12778 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12780 2009-05-24 Pedro Alves <pedro@codesourcery.com>
12782 * gdb.threads/fork-thread-pending.c: New.
12783 * gdb.threads/fork-thread-pending.exp: New.
12785 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12787 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12788 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12790 2009-05-18 Jon Beniston <jon@beniston.com>
12792 * gdb.asm/asm-source.exp: Add lm32 target.
12794 2009-05-17 Pedro Alves <pedro@codesourcery.com>
12796 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12797 `gdb_get_line_number'. Call `callee' in both parent and child.
12798 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12799 `gdb_get_line_number' instead of hardcoding line numbers.
12800 (catch_fork_unpatch_child): New procedure to test detaching
12801 breakpoints from child fork.
12802 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12803 hardcoding line numbers.
12804 (do_fork_tests): Run `catch_fork_unpatch_child'.
12806 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12808 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12809 of structure type enters or leaves the scope, it
12810 is reported by -var-update.
12812 2009-05-11 Doug Evans <dje@sebabeach.org>
12814 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
12815 * gdb.threads/pending-step.c (main): Fix off-by-one error.
12816 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12818 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12820 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12822 2009-04-30 Doug Evans <dje@google.com>
12824 * gdb.threads/watchthreads2.exp: New testcase.
12825 * gdb.threads/watchthreads2.c: New testcase.
12827 2009-04-29 Doug Evans <dje@google.com>
12829 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12830 * gdb.cp/mb-ctor.cc: Ditto.
12831 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12832 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12833 * gdb.cp/mb-inline1.cc: Call it.
12834 * gdb.cp/mb-inline2.cc: Ditto.
12835 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12836 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12838 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12840 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12841 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12842 Replace all uses of `decimal' by `nonzero'.
12843 (info macro FROM_COMMANDLINE): New test.
12845 2009-04-27 Tom Tromey <tromey@redhat.com>
12847 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12849 2009-04-27 Doug Evans <dje@google.com>
12851 * gdb.threads/watchthreads.c (main): Initialize args before starting
12852 the threads. Plus formatting cleanup.
12853 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12854 biased scheduling of one thread.
12856 2009-04-27 Jerome Guitton <guitton@adacore.com>
12858 * gdb.cp/templates.cc (GetMax): New template.
12859 (main): Declare two instances of GetMax.
12860 * gdb.cp/templates.exp: Add new test.
12862 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12864 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12866 2009-04-22 Joseph Myers <joseph@codesourcery.com>
12868 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
12870 2009-04-15 Tom Tromey <tromey@redhat.com>
12872 * gdb.base/charset.exp: Add regression test.
12874 2009-04-14 Joel Brobecker <brobecker@adacore.com>
12876 * gdb.base/exe-lock.exp: New testcase.
12878 2009-04-13 Tom Tromey <tromey@redhat.com>
12880 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
12883 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12885 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
12886 * gdb.server/ext-attach.exp: Likewise.
12888 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
12890 Eliminate some sleep usage.
12892 * gdb.mi/basics.c (do_nothing): New.
12893 (main): Use do_nothing instead of printf, so that
12894 not to introduce race condition between output of
12895 inferiour and output of gdb. Do not use sleep as it
12896 is not generally available on embedded targets.
12898 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12900 * gdb.server/ext-attach.exp: Expect an optional process id after
12901 "Detached from remote process".
12903 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12905 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
12906 gdb.dwarf2/dw2-unresolved.exp: New.
12908 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12910 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
12913 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12915 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
12916 mi_run_to_main. Skip thread exit test on remote targets.
12917 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
12919 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
12921 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
12922 when expecting ^connected. Detect when the target doesn't support
12924 (mi_run_cmd): Detect if non-stop mode was requested by isn't
12925 supported. Return -1 on error, 0 on success.
12926 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
12927 (mi_runto): Return mi_runto_helper's result explicitly.
12929 2009-04-01 Pedro Alves <pedro@codesourcery.com>
12931 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
12933 2009-04-01 Tom Tromey <tromey@redhat.com>
12935 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
12936 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
12937 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
12938 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
12940 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
12941 Jan Kratochvil <jan.kratochvil@redhat.com>
12944 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
12946 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
12948 * dw2-strp.S (DW_AT_language): Change to C++.
12949 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
12951 2009-03-31 Joel Brobecker <brobecker@adacore.com>
12953 * gdb.ada/tasks: New testcase.
12955 2009-03-30 Stan Shebs <stan@codesourcery.com>
12957 * gdb.trace/actions.exp: Update to match new info trace format.
12958 * gdb.trace/deltrace.exp: Ditto.
12959 * gdb.trace/infotrace.exp: Ditto.
12960 * gdb.trace/passcount.exp: Ditto.
12961 * gdb.trace/save-trace.exp: Ditto.
12962 * gdb.trace/while-stepping.exp: Ditto.
12963 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
12965 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12967 * gdb.python/python-frame.c: New file.
12968 * gdb.python/python-frame.exp: New file.
12970 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
12972 * gdb.python/python-value.exp: Add tests for the address
12975 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
12977 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
12979 2009-03-26 Doug Evans <dje@google.com>
12981 * gdb.mi/mi-nonstop-exit.exp: New file.
12982 * gdb.mi/non-stop-exit.c: New file.
12984 2009-03-26 Tom Tromey <tromey@redhat.com>
12986 Update for change to prologue skipping:
12987 * gdb.mi/mi2-simplerun.exp: Update.
12988 * gdb.mi/mi2-break.exp: Update.
12989 * gdb.mi/mi-simplerun.exp: Update.
12990 * gdb.mi/mi-break.exp: Update.
12991 * gdb.base/ending-run.exp: Update.
12993 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
12995 * gdb.python/python-value.exp (test_value_in_inferior): Test
12996 gdb.Value.is_optimized_out attribute.
12998 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13000 * gdb.dwarf2/dw2-noloc-main.c: New file.
13001 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
13004 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
13005 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
13006 (DW_TAG_subprogram func_cu1, noloc): Remove.
13008 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
13009 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
13010 (file_symbols): New procedure.
13012 2009-03-25 Tom Tromey <tromey@redhat.com>
13014 * gdb.base/charset.exp (valid_target_charset): New proc.
13015 Use it to skip tests on invalid charsets.
13017 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
13019 * gdb.base/completion.exp: Add a test for directory completion.
13021 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13024 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
13025 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
13027 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
13029 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
13030 * gdb.python/python-function.exp: Add test for function returning
13033 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
13035 * gdb.python/python-function.exp: New file.
13037 2009-03-20 Tom Tromey <tromey@redhat.com>
13039 * gdb.base/store.exp: Update for change to escape output.
13040 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
13042 * gdb.base/pointers.exp: Update for change to escape output.
13043 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
13045 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13047 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13049 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13051 * gdb.base/setvar.exp: Update for change to escape output.
13052 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13053 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13055 (test_print_string_constants): Likewise.
13056 * gdb.base/charset.exp (valid_host_charset): Check size of
13057 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13058 cases. Handle "auto"-related output.
13059 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13060 (uvar, Uvar): New globals.
13062 2009-03-19 Jerome Guitton <guitton@adacore.com>
13064 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13066 * gdb.ada/fixed_points.exp: Ditto.
13068 2009-03-18 Pedro Alves <pedro@codesourcery.com>
13070 * return-nodebug.c: Don't include stdio.h.
13072 (func): Delete definition and provide extern declaration.
13074 (main): Don't call printf. Call func and store its result in t.
13075 * return-nodebug1.c: New.
13076 * return-nodebug.exp: Don't expect stdio output. Instead, print
13077 the global variable t. Drop printf formatters and cast types from
13078 foreach loop. Don't use prepare_for_testing. Compile
13079 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13080 define FORMAT or CAST.
13082 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13084 * gdb.base/solib-display.exp: Disable test for remote targers.
13086 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13088 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13090 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13093 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13094 code from `follow parent, print pids'.
13095 (`follow child, print pids', `follow parent, print pids'): Call it.
13096 Replace `gdb_test "break..."' by gdb_breakpoint.
13098 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13100 * gdb.mi/mi-cli.exp: Adjust for output difference in
13101 sync and async modes.
13103 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13105 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13106 that was checked in by mistake. Remove loading of ada.exp, since
13107 this is not necessary in this case.
13109 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13111 * gdb.ada/ptype_arith_binop.exp: New testcase.
13113 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13115 * gdb.ada/mod_from_name: New testcase.
13117 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13119 * gdb.ada/tick_last_segv: New testcase.
13121 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13123 * gdb.mi/mi-cli.exp: Remove debug print.
13125 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13127 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13128 include the token in ^running and frame info in *stopped.
13130 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13132 * solib-display.exp: New file.
13133 * solib-display-main.c: New file.
13134 * solib-display-lib.c: New file.
13136 2009-03-05 Pedro Alves <pedro@codesourcery.com>
13138 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13140 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13142 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13143 (list_and_check_macro): Use more specific test name.
13144 (next to definition): Make the test names unique.
13146 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13148 * gdb.pascal/floats.exp: Accept approximate results everywhere.
13150 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13152 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13154 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13155 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13156 * lib/mi-support.exp (library_loaded_re): New.
13157 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13159 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13161 * gdb.gdb/observer.exp: Use test_notification observer, not
13162 normal_stop, everywhere.
13163 (test_normal_stop_notifications): Rename to...
13164 (test_notifications): ...this.
13165 (test_observer_normal_stop): Rename to...
13166 (test_observer): ...this.
13168 2009-02-16 Doug Evans <dje@google.com>
13170 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13171 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13172 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13173 (test_prefixed_syscall,test_int3): New tests.
13174 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13175 (test_prefixed_syscall,test_int3): New tests.
13177 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13179 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13180 (mi_expect_interrupt): Likewise.
13181 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13184 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13186 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13187 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13188 Replace calls to get_valueofx by get_hexadecimal_valueof.
13190 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13192 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13193 (get_integer_valueof): New procedure.
13194 (get_sizeof): Use new get_integer_value_of.
13195 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13196 by get_integer_valueof.
13198 2009-02-13 Tom Tromey <tromey@redhat.com>
13200 * gdb.base/remote.exp (get_sizeof): Remove.
13201 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13202 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13203 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13204 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13205 (get_sizeof): Likewise.
13207 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13210 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13212 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13214 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13216 2009-02-06 Pedro Alves <pedro@codesourcery.com>
13218 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13220 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13222 * gdb.python/python-cmd.exp: New file.
13224 2009-02-06 Tristan Gingold <gingold@adacore.com>
13226 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13228 2009-02-05 Tristan Gingold <gingold@adacore.com>
13230 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13231 pointer is dereferenced and use this signal name in regexp.
13232 * gdb.base/signull.exp: Ditto.
13233 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13234 * gdb.base/signull.c (main): Ditto.
13236 2009-02-04 Tom Tromey <tromey@redhat.com>
13237 Thiago Jung Bauermann <bauerman@br.ibm.com>
13239 * gdb.python/python-value.exp: Use `gdb.history' instead of
13240 `gdb.value_from_history'.
13241 (test_value_numeric_ops): Add test for conversion of enum constant.
13242 * gdb.python/python-value.c (enum e): New type.
13243 (evalue): New global.
13246 2009-02-04 Jerome Guitton <guitton@adacore.com>
13248 * gdb.ada/uninitialized_vars: New test program.
13249 * gdb.ada/uninitialized_vars.exp: New testcase.
13251 2009-02-02 Tom Tromey <tromey@redhat.com>
13253 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13254 * gdb.cp/pr2489.cc: Rename...
13255 * gdb.cp/pr9594.cc: ... to this.
13257 2009-02-02 Tom Tromey <tromey@redhat.com>
13259 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13260 * gdb.cp/pr2489.cc: New file.
13261 * gdb.cp/cpcompletion.exp: New file.
13263 2009-02-02 Tom Tromey <tromey@redhat.com>
13266 * gdb.cp/call-c.exp: Add regression test.
13267 * gdb.cp/call-c.cc (FooHandle): New typedef.
13268 (main): New variable 'handle'.
13270 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13272 * lib/mi-support.exp (et_mi_thread_list)
13273 (check_mi_and_console_threads): Adjust for current thread in
13274 -thread-list-ids output.
13276 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13278 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13281 2009-01-28 Doug Evans <dje@google.com>
13283 * gdb.arch/amd64-disp-step.S: New file.
13284 * gdb.arch/amd64-disp-step.exp: New file.
13285 * gdb.arch/i386-disp-step.S: New file.
13286 * gdb.arch/i386-disp-step.exp: New file.
13288 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13290 * gdb.base/find.exp: Set newline variable
13291 using quotes instead of braces to fix cygwin failures.
13293 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13295 * gdb.base/radix.exp: Add tests to ensure that that set
13296 input-radix 0 and set output-radix 0 are really rejected.
13298 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13300 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13303 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13306 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13308 2009-01-22 Pedro Alves <pedro@codesourcery.com>
13311 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13313 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13315 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13316 binfile definition to fix Windows OS failure.
13318 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13321 * gdb.base/interrupt.c (sigint_handler): New.
13322 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13324 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13325 Test "signal SIGINT".
13327 2009-01-19 Doug Evans <dje@google.com>
13329 * gdb.base/break.exp: Update expected gdb output.
13330 * gdb.base/sepdebug.exp: Ditto.
13331 * gdb.mi/mi-syn-frame.exp: Ditto.
13332 * gdb.mi/mi2-syn-frame.exp: Ditto.
13333 * gdb.base/call-signal-resume.exp: New file.
13334 * gdb.base/call-signals.c: New file.
13335 * gdb.base/unwindonsignal.exp: New file.
13336 * gdb.base/unwindonsignal.c: New file.
13337 * gdb.threads/interrupted-hand-call.exp: New file.
13338 * gdb.threads/interrupted-hand-call.c: New file.
13339 * gdb.threads/thread-unwindonsignal.exp: New file.
13341 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13343 * gdb.base/define.exp: Test defining and hooking prefix commands.
13344 * gdb.python/python.exp: Update test for "show user" output.
13346 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13348 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13349 now the output exactly, using less wildcards. Expect also the output
13350 of gfortran-4.3. Update for the f-valprint.c modification from
13352 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13353 Remove gdb_test test names where matching the command.
13355 2009-01-01 Pedro Alves <pedro@codesourcery.com>
13357 PR breakpoints/9681:
13358 * gdb.base/watchpoint.exp: Add regression test.
13360 2008-12-31 Pedro Alves <pedro@codesourcery.com>
13362 * gdb.threads/attach-into-signal.exp: Don't use
13363 gdb_suppress_entire_file.
13364 * gdb.threads/attach-stopped.exp: Ditto.
13365 * gdb.threads/attachstop-mt.exp: Ditto.
13367 2008-12-31 Pedro Alves <pedro@codesourcery.com>
13370 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13372 2008-12-29 Pedro Alves <pedro@codesourcery.com>
13375 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13376 and unsupported output radices are really rejected.
13378 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13380 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13382 2008-12-22 Tom Tromey <tromey@redhat.com>
13384 * gdb.cp/punctuator.exp: New file.
13386 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13388 * gdb.base/completion.exp (Completing non-existing component): New test.
13390 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13392 Fix for PR gdb/8648.
13393 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13394 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13395 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13396 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13398 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13400 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13402 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
13404 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13405 compiler actually generate code at the expected line number.
13407 2008-12-15 Jie Zhang <jie.zhang@analog.com>
13409 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13411 2008-12-12 Tom Tromey <tromey@redhat.com>
13413 * gdb.base/commands.exp (redefine_hook_test): New proc.
13416 2008-12-11 Tom Tromey <tromey@redhat.com>
13418 * gdb.base/macscp.exp: New regression test.
13420 2008-12-11 Tom Tromey <tromey@redhat.com>
13422 * gdb.base/macscp.exp: Print "address.addr".
13423 * gdb.base/macscp1.c (struct outer): New struct.
13424 (address): New global.
13426 2008-12-09 Tom Tromey <tromey@redhat.com>
13428 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13431 2008-12-04 Doug Evans <dje@google.com>
13433 * gdb.server/ext-run.exp: Relax regexp for init program.
13435 2008-12-03 Tristan Gingold <gingold@adacore.com>
13437 * gdb.base/macscp.exp: Generate an object file during compilation
13438 to work around Darwin dsymutil limitations.
13440 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13442 Test resolving external references to TLS variables.
13443 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13444 FILE2_THREAD_LOCAL.
13445 (testfile2, srcfile2): New variables.
13446 * gdb.threads/tls.c (file2_thread_local)
13447 (function_referencing_file2_thread_local): New.
13448 * gdb.threads/tls2.c: New file.
13450 2008-11-28 Joel Brobecker <brobecker@adacore.com>
13452 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
13453 rather than integer, as integer might not be big enough when
13456 2008-11-27 Jerome Guitton <guitton@adacore.com>
13458 * gdb.cp/formatted-ref.exp: Add equality test.
13459 * gdb.ada/formatted_ref.exp: Ditto.
13461 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13463 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13464 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13466 2008-11-20 Andreas Schwab <schwab@suse.de>
13468 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
13469 matching syscall entry point.
13470 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13471 (tcatch_vfork_then_child_follow): Likewise. Finish through
13472 vfork even if we stopped at the syscall trampoline.
13474 2008-11-20 Doug Evans <dje@google.com>
13476 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
13478 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
13480 * gdb.arch/ppc-dfp.exp: New file.
13481 * gdb.arch/ppc-dfp.c: New file.
13483 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13485 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
13487 2008-11-17 Doug Evans <dje@google.com>
13489 * gdb.mi/mi-syn-frame.exp: Update expected output.
13490 * gdb.mi/mi2-syn-frame.exp: Update expected output.
13492 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13494 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
13495 "thread N" results in =thread-selected.
13496 * lib/mi-support (mi_run_cmd, mi_expect_stop)
13497 (mi_send_resuming_command_raw): Be prepared for
13500 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13502 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
13503 * lib/mi-support.exp: Likewise.
13505 2008-11-16 Joel Brobecker <brobecker@adacore.com>
13507 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
13508 commands from the expected output for "help catch".
13510 2008-11-15 Joel Brobecker <brobecker@adacore.com>
13512 * gdb.ada/int_deref.exp: New testcase.
13514 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
13516 * gdb.mi/gdb2549.exp: New file.
13518 2008-11-11 Doug Evans <dje@google.com>
13520 * gdb.base/callexit.exp: New file.
13521 * gdb.base/callexit.c: New file.
13523 2008-11-10 Doug Evans <dje@google.com>
13525 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13526 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13527 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13528 (default_gdb_start,default_gdb_exit): Ditto.
13529 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13530 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13531 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13532 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13533 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13534 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13536 2008-11-03 Andreas Schwab <schwab@suse.de>
13538 * gdb.base/hashline2.exp: Fix typo.
13539 * gdb.base/hashline3.exp: Likewise.
13541 2008-10-30 Tom Tromey <tromey@redhat.com>
13543 * gdb.base/pointers.exp: Add test.
13544 * gdb.base/pointers.c (k, S): New typedefs.
13545 (instance): New global.
13547 2008-10-30 Andreas Schwab <schwab@suse.de>
13549 * gdb.base/args.exp: Add tests for newlines.
13551 2008-10-30 Joel Brobecker <brobecker@adacore.com>
13553 gdb.base/foll-exec.exp: Update the expected output of a couple
13554 of "info breakpoints" tests.
13556 2008-10-28 Tom Tromey <tromey@redhat.com>
13558 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13560 2008-10-24 Pedro Alves <pedro@codesourcery.com>
13562 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13564 Use runto_main before any test that requires execution.
13566 2008-10-23 Pedro Alves <pedro@codesourcery.com>
13568 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13571 2008-10-22 Joel Brobecker <brobecker@adacore.com>
13573 * gdb.base/completion.exp: Update expected output following
13574 the addition of the "info tasks" command.
13576 2008-10-22 Tom Tromey <tromey@redhat.com>
13578 * gdb.base/exprs.exp (test_expr): Add test for string
13581 2008-10-19 Pedro Alves <pedro@codesourcery.com>
13583 * configure.ac: Output gdb.python/Makefile.
13584 * configure: Regenerate.
13585 * gdb.python/Makefile.in: New.
13587 2008-10-16 Joel Brobecker <brobecker@adacore.com>
13589 * gdb.base/foll-fork.exp: Adjust the expected output to match
13590 the new description for fork/vfork catchpoints in the "info
13591 breakpoints" output.
13593 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13595 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13597 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13599 * gdb.python/python-value.c: New file.
13600 * gdb.python/python-value.exp: New file.
13602 2008-10-15 Pedro Alves <pedro@codesourcery.com>
13604 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13606 2008-10-15 Denis Pilat <denis.pilat@st.com>
13608 * gdb.cp/mb-ctor.exp: Fix a typo.
13610 2008-10-09 Tom Tromey <tromey@redhat.com>
13612 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13613 'fprintf' and 'stderr'.
13615 2008-10-07 Joel Brobecker <brobecker@adacore.com>
13617 * gdb.ada/ref_tick_size.exp: New testcase.
13619 2008-10-06 Doug Evans <dje@google.com>
13621 * gdb.dwarf2/dw2-cu-size.exp: New file.
13622 * gdb.dwarf2/dw2-cu-size.S: New file.
13624 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13625 .Ltype_int for clarity.
13627 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13630 * gdb.cp/gdb2384.exp: Extended to test more cases.
13631 * gdb.cp/gdb2384.cc: Likewise.
13632 * gdb.cp/gdb2384-base.h: Likewise.
13633 * gdb.cp/gdb2384-base.cc: Likewise.
13635 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13637 * gdb.base/maint.exp (maint print type): Remove printing
13638 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13640 2008-09-30 Tom Tromey <tromey@redhat.com>
13642 * gdb.base/macscp.exp: Add completion tests.
13643 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13644 (TWENTY_THREE): Likewise.
13645 (FORTY_EIGHT): Likewise.
13647 2008-09-30 Tom Tromey <tromey@redhat.com>
13649 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13651 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13653 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13655 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13656 testcase is derived from. Fix racy dependency on an expected PID
13657 number. No longer support the testcase on Linux kernel 2.4.x.
13659 2008-09-27 Tom Tromey <tromey@redhat.com>
13661 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13664 2008-09-22 Pedro Alves <pedro@codesourcery.com>
13666 * lib/mi-support.exp (mi_expect_interrupt): New.
13667 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13668 from gdb.mi/mi-nonstop.exp.
13669 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13670 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13671 lib/mi-support.exp.
13672 Use mi_check_thread_states throughout. Avoid ".*" and do not
13673 require an anchor after -exec-run.
13675 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13677 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13678 stop is pending. Avoid ".*" when two stops are pending.
13679 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13680 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13681 newlines in fullnames.
13682 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13683 (mi_expect_stop): Update comments. Only anchor in sync mode.
13684 Do not match newlines.
13685 (mi_send_resuming_command_raw): Always return status.
13686 (mi_get_stop_line): Do not match more than one line by accident.
13687 Only anchor in sync mode.
13688 (mi_run_inline_test): If -exec-next fails, give up.
13690 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13692 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13695 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13697 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13699 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13701 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13702 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13703 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13704 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13705 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13706 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13707 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13708 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13709 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13710 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13711 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13712 Include the "= " sequence in the expected output of print tests.
13714 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13716 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13717 description for boolean types.
13719 2008-09-09 Pedro Alves <pedro@codesourcery.com>
13721 * gdb.base/hook-stop-continue.c: New.
13722 * gdb.base/hook-stop-continue.exp: New.
13724 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13726 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13728 2008-09-08 Jerome Guitton <guitton@adacore.com>
13730 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13731 (stack_check_probe_2, stack_check_probe_loop_1)
13732 (stack_check_probe_loop_2): New functions.
13733 (main): Add call to these new functions.
13734 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13735 functions, check that the breakpoint is inserted at the appropriate
13737 (insert_breakpoint): Slightly refine this procedure so that it can
13738 be called several times in the test.
13740 2008-09-08 Jerome Guitton <guitton@adacore.com>
13742 * gdb.base/stack-checking.c: New file.
13743 * gdb.base/stack-checking.exp: New file.
13745 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13747 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13748 * gdb.arch/altivec-regs.exp: Likewise.
13749 * gdb.arch/vsx-regs.exp: Likewise.
13751 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13753 * gdb.arch/ppc-fp.exp: New file.
13754 * gdb.arch/ppc-fp.c: New file.
13756 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13758 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13759 lest gcc-4.3.1 optimizes the whole thing away.
13761 2008-09-04 Michael Snyder <msnyder@vmware.com>
13763 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13764 as "at" (for non-debug functions such as _start).
13766 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13768 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13769 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13770 software watchpoints.
13771 * gdb.base/watch_thread_num.exp: Likewise.
13773 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13775 * gdb.arch/i386-bp_permanent.exp: New test.
13777 2008-08-24 Tom Tromey <tromey@redhat.com>
13779 * gdb.base/maint.exp: Update "maint print type".
13781 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13783 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13784 support. Adjust the order of "*running" notifications.
13785 * gdb.mi/non-stop.c: Don't cast from int to void* and
13788 2008-08-20 Mark Kettenis <kettenis@gnu.org>
13790 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13791 expect to find it in the "info frame" output.
13793 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13795 * gdb.base/interp.exp: Always consume both prompts.
13797 2008-08-20 Pedro Alves <pedro@codesourcery.com>
13799 * gdb.base/pending.exp: Test pending breakpoints without symbols
13802 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13804 * lib/mi-support.exp (mi_expect_stop): Produce
13805 more details on failures.
13806 * gdb.mi/mi-nonstop.exp: New.
13807 * gdb.mi/non-stop.c: New.
13809 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13811 * gdb.mi/mi-async.exp: Use 'set target-async'.
13812 * lib/mi-support.exp: Use 'set/show target-async'.
13814 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13816 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13818 2008-08-17 Tom Tromey <tromey@redhat.com>
13820 * gdb.base/help.exp (help catch): Rewrite.
13822 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13824 * gdb.base/define.exp: Test indented command documentation.
13825 * gdb.python/python.exp: Test indented multi-line command.
13827 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
13829 * testsuite/gdb.arch/vsx-regs.c: New source file.
13830 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13831 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13833 2008-08-14 Tom Tromey <tromey@redhat.com>
13835 * gdb.base/macscp.exp: Add regression test for "macro define" or
13836 "macro undef" with no arguments.
13838 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13840 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
13842 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13844 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13846 2008-08-06 Tom Tromey <tromey@redhat.com>
13848 * gdb.python/python.exp: New file.
13850 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13852 Fix for PR gdb/1543.
13853 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13855 (location): New variable.
13856 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13857 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13858 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13859 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13860 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13861 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13862 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13863 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13864 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13865 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
13866 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
13867 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
13868 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
13869 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
13870 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13871 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
13872 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
13873 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
13874 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
13875 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13876 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
13877 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
13878 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
13879 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
13880 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
13881 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
13882 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
13883 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
13884 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
13885 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
13886 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
13887 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
13888 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
13889 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
13890 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
13891 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
13892 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
13893 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13894 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
13895 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
13896 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
13897 gdb.base/type-opaque.exp, gdb.base/until.exp,
13898 gdb.base/value-double-free.c, gdb.base/varargs.exp,
13899 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
13900 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
13901 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13902 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
13903 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
13904 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13905 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13906 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13907 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
13908 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
13909 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
13910 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
13911 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
13912 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
13913 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
13914 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13915 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
13916 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
13917 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
13918 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13919 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
13920 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
13921 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
13922 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13923 gdb.pascal/types.exp, gdb.stabs/weird.exp,
13924 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
13925 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
13926 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
13927 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
13928 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
13929 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
13930 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13931 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13932 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13933 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13934 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13935 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13936 lib/mi-support.exp, lib/trace-support.exp: Remove reference
13937 to bug-gdb@prep.ai.mit.edu .
13939 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
13941 * lib/mi-support.exp (mi_load_shlibs): New.
13942 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
13944 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
13946 * lib/mi-support.exp (get_mi_thread_list)
13947 (check_mi_and_console_threads): New, moved from ...
13948 * gdb.mi/mi-pthread.exp: ...here.
13949 * gdb.mi/gdb669.exp (get_mi_thread_list)
13950 (check_mi_and_console_threads): Delete.
13951 * gdb.mi/mi2-pthread.exp: Likewise.
13953 2008-07-28 Tom Tromey <tromey@redhat.com>
13955 * Makefile.in (just-check): Remove. Move body to...
13958 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13960 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
13961 Add a test for duplicated SIGINTs.
13963 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13965 * gdb.threads/schedlock.exp (get_args): Update to work for any
13967 (Top level): Report the number of threads that did not resume.
13969 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13971 * gdb.dwarf2/dw2-compressed.S: Also define __start.
13973 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13975 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
13978 2008-07-26 Tom Tromey <tromey@redhat.com>
13980 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
13981 (function_struct, function_struct_ptr): New globals.
13982 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
13983 function pointer in a struct.
13985 2008-07-26 Tom Tromey <tromey@redhat.com>
13987 * gdb.base/macscp.exp: Add test for macro lexing bug.
13989 2008-07-18 Tom Tromey <tromey@redhat.com>
13991 * gdb.base/macscp.exp: Add macro tests.
13993 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13995 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
13997 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13999 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
14001 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
14003 * gdb.cp/class2.exp: fix for failure on spu-elf
14005 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14007 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
14009 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14011 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
14013 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
14015 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
14017 2008-07-11 Kevin Buettner <kevinb@redhat.com>
14019 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
14020 of regexp to account for changes made to GDB in the printing of
14023 2008-07-11 Tom Tromey <tromey@redhat.com>
14025 * gdb.base/completion.exp: Add 'help' completion test.
14027 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14029 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
14031 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
14033 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
14035 2008-07-09 Pedro Alves <pedro@codesourcery.com>
14037 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
14039 2008-07-09 Pedro Alves <pedro@codesourcery.com>
14041 * gdb.base/fullname.exp: Restore pwd if compiling failed.
14043 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14045 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14047 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14049 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14050 previous commit. Add a comment.
14052 2008-06-28 Pedro Alves <pedro@codesourcery.com>
14054 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14056 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14058 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14060 2008-06-27 Pedro Alves <pedro@codesourcery.com>
14062 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14063 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14064 compiling an executable, link in an object that forces unbuffered
14066 * lib/set_unbuffered_mode.c: New file.
14068 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14070 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14072 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14074 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14076 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14077 Demand that *running is output.
14078 (detect_async): Perform checking every time.
14079 (mi_send_resuming_command): Extract everything into...
14080 (mi_send_resuming_command_raw): ...this.
14081 (mi_expect_stop): Don't accept any output before *stopped.
14083 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14085 Robustify mi-simplerun.
14086 * gdb.mi/basics.c (main): Add a call to sleep.
14087 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14088 * gdb.mi/mi2-cli.exp: Likewise.
14089 * gdb.mi/mi-break.exp: Likewise.
14091 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
14093 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14095 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14097 * gdb.mi/mi-console.exp: Adjust.
14098 * gdb.mi/mi-syn-frame.exp: Adjust.
14099 * gdb.mi/mi2-console.exp: Adjust.
14100 * gdb.mi/mi2-syn-frame.exp: Adjust.
14101 * lib/mi-support.exp (mi_run_cmd): Adjust.
14102 (mi_send_resuming_command): Adjust.
14104 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14106 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
14107 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14108 testing of stopped.
14109 * gdb.mi/mi2-syn-frame.exp: Likewise.
14110 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14111 (async, detect_async): New.
14112 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14113 depending on if we're running in sync or async mode.
14115 2008-06-09 Tom Tromey <tromey@redhat.com>
14117 * gdb.base/completion.exp: New tests for field name completion
14118 with spaces, and field name completion with '->'.
14120 2008-06-06 Tom Tromey <tromey@redhat.com>
14122 * gdb.base/break1.c (struct some_struct): New struct.
14123 (values): New global.
14124 * gdb.base/completion.exp: Add field name completion test.
14126 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14128 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14130 * gdb.cp/call-c.cc: Likewise.
14132 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
14134 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14137 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14138 Pedro Alves <pedro@codesourcery.com>
14140 * gdb.threads/execl.c, gdb.threads/execl1.c,
14141 gdb.threads/execl.exp: New tests.
14143 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14144 Daniel Jacobowitz <dan@codesourcery.com>
14146 * gdb.cp/exception.exp: Activate test, make it work with pending
14149 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14151 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14153 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14155 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14157 * gdb.mi/mi2-var-cmd.exp: Likewise.
14159 2008-05-27 Andreas Schwab <schwab@suse.de>
14161 * gdb.base/frame-args.exp: Handle arguments that are optimized
14164 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
14166 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14167 quiet for ppc32 and group options into a single variable.
14169 2008-05-23 Joel Brobecker <brobecker@adacore.com>
14171 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14172 of zero-size elements.
14173 * gdb.ada/null_array.exp: Test printing this new array.
14175 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14177 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14179 2008-05-21 Joel Brobecker <brobecker@adacore.com>
14181 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14182 of the "finish" command.
14184 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
14186 * gdb.base/annota1.exp: Test for new annotation.
14188 2008-05-16 Pedro Alves <pedro@codesourcery.com>
14190 * gdb.base/fixsection.exp: New file.
14191 * gdb.base/fixsection0.c: New file.
14192 * gdb.base/fixsection1.c: New file.
14194 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14196 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14197 * gdb.base/annota3.exp: Likewise.
14199 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14201 * gdb.base/watch_thread_num.exp: Don't run tests that require
14202 watchpoints if the target doesn't support them.
14204 2008-05-12 Doug Evans <dje@google.com>
14206 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14208 2008-05-09 Joel Brobecker <brobecker@adacore.com>
14210 * gdb.ada/assign_1.exp: New testcase.
14212 2008-05-09 Doug Evans <dje@google.com>
14214 * gdb.base/find.exp: New file.
14215 * gdb.base/find.c: New file.
14217 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14219 * gdb.base/commands.exp (watchpoint_command_test): Handle
14220 gdb,no_hardware_watchpoints.
14221 * gdb.base/float.exp: Allow ARM targets without floating point.
14222 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14224 2008-05-06 Jerome Guitton <guitton@adacore.com>
14225 Joel Brobecker <brobecker@adacore.com>
14227 * gdb.ada/lang_switch: New test program.
14228 * gdb.ada/lang_switch.exp: New testcase.
14230 2008-05-05 Doug Evans <dje@google.com>
14232 * gdb.base/help.exp (disassemble): Update expected help text.
14234 2008-05-04 Pedro Alves <pedro@codesourcery.com>
14236 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14238 2008-05-04 Pedro Alves <pedro@codesourcery.com>
14240 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14243 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14245 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14246 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14247 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14248 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14250 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14252 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14253 notification to appear.
14255 2008-05-04 Daniel Jacobowitz <dan@debian.org>
14257 * gdb.base/fullname.c: New file.
14258 * gdb.base/fullname.exp: New file.
14259 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14261 2008-05-03 Pedro Alves <pedro@codesourcery.com>
14263 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14264 expressions with macros.
14266 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14268 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14270 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14272 * gdb.base/completion.exp: Handle lack of other symbols beginning
14275 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14277 2008-05-02 Jim Blandy <jimb@codesourcery.com>
14279 * gdb.asm/asmsrc1.s: Add scratch space.
14281 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14282 Daniel Jacobowitz <dan@codesourcery.com>
14284 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14285 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14286 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14288 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14290 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14292 2008-05-01 Joel Brobecker <brobecker@adacore.com>
14294 * gdb.base/info-target.exp: New testcase.
14296 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14298 * gdb.cp/hang.exp: Use .cc instead of .C.
14299 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14300 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14302 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14304 * gdb.base/gdb1250.exp: Remove perror.
14305 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14307 2008-04-30 Pedro Alves <pedro@codesourcery.com>
14309 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14312 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14314 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14315 (maybe_kfail): New.
14317 2008-04-25 Pedro Alves <pedro@codesourcery.com>
14319 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14321 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14323 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14324 * gdb.mi/mi2-syn-frame.exp: Likewise.
14325 * lib/mi-support.exp: Likewise.
14327 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14329 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14330 to specify regexp for the location to stop at.
14331 * gdb.base/break-always.c: New.
14332 * gdb.base/break-always.exp: New.
14334 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14336 * lib/mi-support.exp (mi_runto_helper): Adjust
14337 for the original-location field.
14338 (mi_create_breakpoint, mi_list_breakpoints): New.
14339 * gdb.mi/mi-break.exp: Adjust.
14340 * gdb.mi/mi2-break.exp: Adjust.
14341 * gdb.mi/mi-pending.exp: Adjust.
14342 * gdb.mi/mi-simplerun.exp: Adjust.
14343 * gdb.mi/mi2-simplerun.exp: Adjust.
14344 * gdb.mi/mi-syn-frame.exp: Adjust.
14345 * gdb.mi/mi2-syn-frame.exp: Adjust.
14346 * gdb.mi/mi-until.exp: Adjust.
14347 * gdb.mi/mi2-until.exp: Adjust.
14348 * gdb.mi/mi-var-display.exp: Adjust.
14349 * gdb.mi/mi2-var-display.exp: Adjust.
14350 * gdb.mi/mi-watch.exp: Adjust.
14351 * gdb.mi/mi2-watch.exp: Adjust.
14353 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
14355 * aclocal.m4: Add override.m4.
14356 * configure: Regenerate.
14358 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14360 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14361 '-var-update --all-values' reports new value even the type
14362 of a variable object has changed.
14364 2008-04-18 Craig Silverstein <csilvers@google.com>
14366 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14369 2008-04-18 Joel Brobecker <brobecker@adacore.com>
14371 * gdb.ada/atomic_enum: New test program.
14372 * gdb.ada/atomic_enum.exp: New testcase.
14374 2008-04-17 Doug Evans <dje@google.com>
14376 * gdb.opt/Makefile.in: Fix whitespace.
14378 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14380 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14382 2008-04-17 Doug Evans <dje@google.com>
14384 * gdb.base/hashline1.exp: New testcase.
14385 * gdb.base/hashline2.exp: New testcase.
14386 * gdb.base/hashline2.exp: New testcase.
14388 2008-04-17 Pedro Alves <pedro@codesourcery.com>
14390 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14392 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14394 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14395 temporary breakpoint to match "Temporary breakpoint".
14396 * gdb.base/break.exp (delete_breakpoints): Likewise.
14397 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14398 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14399 * gdb.base/display.exp: Likewise.
14400 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14401 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14402 * gdb.base/restore.exp (restore_tests): Likewise.
14403 * gdb.base/sepdebug.exp: Likewise.
14404 * gdb.base/watchpoint.exp: Likewise.
14405 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14406 * gdb.mi/mi-pending.exp: Likewise.
14407 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14408 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14409 * gdb.mi/mi-var-cmd.exp: Likewise.
14410 * gdb.mi/mi-var-display.exp: Likewise.
14411 * gdb.mi/mi2-cli.exp: Likewise.
14412 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14413 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14414 * gdb.mi/mi2-var-display.exp: Likewise.
14415 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14416 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14418 (mi_expect_stop): Move after_reason argument to be really after
14419 reason. This is to support fix for PR2424.
14421 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14423 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14425 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14427 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
14428 field. Add more floating varobj tests.
14429 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
14431 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14432 (main): Call do_at_tests.
14433 * lib/mi-support.exp (mi_create_floating_varobj)
14434 (mi_varobj_update_with_type_change): New.
14436 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14438 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14439 option of -var-evaluate-expression.
14440 * gdb.mi/mi2-var-display.exp: Likewise.
14442 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14444 Introduce test setup helpers.
14445 * lib/gdb.exp (build_executable, clean_restart)
14446 (prepare_for_testing): New.
14447 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14448 * gdb.base/return.exp: Likewise.
14449 * gdb.base/ending-run.exp: Likewise.
14451 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
14453 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14454 Interface (MI) responses.
14456 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14458 * gdb.cp/breakpoint.cc: New code to test conditions involving
14460 * gdb.cp/breakpoint.exp: Test condition involving member
14463 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14465 * lib/mi-support.exp (mi_expect_stop): New.
14466 (mi_run_cmd): Change the
14467 token. Use mi_send_resuming_command, use
14469 (mi_execute_to_helper): Rename to mi_execute_to.
14470 (mi_send_resuming_command): Add more error patterns.
14471 (mi_wait_for_stop): Renamed to...
14472 (mi_get_stop_line): ...this.
14473 (mi_run_inline_test): Adjust.
14475 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
14476 * gdb.mi/mi-console.exp: Likewise.
14477 * gdb.mi/mi-pending.exp: Likewise.
14478 * gdb.mi/mi-simplerun.exp: Likewise.
14479 * gdb.mi/mi-stack.exp: Likewise.
14480 * gdb.mi/mi-stepi.exp: Likewise.
14481 * gdb.mi/mi-syn-frame.exp: Add comment.
14482 * gdb.mi/mi-until.exp: Likewise.
14483 * gdb.mi/mi-var-display.exp: Likewise.
14484 * gdb.mi/mi-watch.exp: Likewise.
14485 * gdb.mi/mi2-cli.exp: Likewise.
14486 * gdb.mi/mi2-console.exp: Likewise.
14487 * gdb.mi/mi2-simplerun.exp: Likewise.
14488 * gdb.mi/mi2-stack.exp: Likewise.
14489 * gdb.mi/mi2-stepi.exp: Likewise.
14490 * gdb.mi/mi2-until.exp: Likewise.
14491 * gdb.mi/mi2-var-display.exp: Likewise.
14492 * gdb.mi/mi2-watch.exp: Likewise.
14494 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14496 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
14498 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
14500 2008-04-04 Pedro Alves <pedro@codesourcery.com>
14502 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
14503 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
14504 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14505 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
14506 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
14507 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
14508 expect an mi error duplicated in stderr.
14510 2008-04-03 Joel Brobecker <brobecker@adacore.com>
14512 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
14513 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
14514 Add a couple of tests that verify the behavior when the new setting
14515 is set to "cancel" and "all".
14516 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
14517 "ask" before we start the testing.
14519 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14521 * gdb.cp/casts.cc: Add class reference variables.
14522 * gdb.cp/casts.exp: New test cases for up/down casting references.
14524 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14526 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14527 instead of beginning to make an extra test pass.
14528 * gdb.mi/mi2-var-display.exp: Likewise.
14530 2008-03-31 Maciej W. Rozycki <macro@mips.com>
14532 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14534 2008-03-31 Markus Deuling <deuling@de.ibm.com>
14535 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14537 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14538 value. Add xfail for older kernels.
14540 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14542 Bring mi-support in line with gdb.exp.
14543 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14544 (mi_gdb_start): New function.
14546 2008-03-28 Maciej W. Rozycki <macro@mips.com>
14548 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14550 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14552 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14553 * gdb.mi/mi2-var-display.exp: Likewise.
14555 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14557 * lib/mi-support.exp (mi_create_varobj_checked): New.
14558 (mi_list_varobj_children): Allow to check for a
14560 (mi_list_array_varobj_children): New.
14562 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14563 and mi_list_varobj_children, as opposed to hardcoding
14565 * gdb.mi/gdb701.exp: Likewise.
14566 * gdb.mi/gdb792.exp: Likewise.
14567 * gdb.mi/mi-var-block.exp: Likewise.
14568 * gdb.mi/mi-var-cmd.exp: Likewise.
14569 * gdb.mi/mi-var-invalidate.exp: Likewise.
14570 * gdb.mi/mi2-var-block.exp: Likewise.
14571 * gdb.mi/mi2-var-child.exp: Likewise.
14572 * gdb.mi/mi2-var-cmd.exp: Likewise.
14573 * gdb.mi/mi2-var-display.exp: Likewise.
14575 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14577 Fix random false FAILs on i386.
14578 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14580 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14583 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14585 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14588 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14590 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14592 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14595 2008-03-21 Pedro Alves <pedro@codesourcery.com>
14597 * gdb.threads/fork-child-threads.exp: Test next over fork.
14599 2008-03-21 Chris Demetriou <cgd@google.com>
14601 * gdb.base/break.exp (rbreak junk): New test for rbreak
14602 "Junk at end of arguments" issue.
14604 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14606 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14607 *& to work on created array elements.
14608 (Top level): Test print $pc with a file. Test string operations
14610 * gdb.base/ptype.exp: Do not expect *& to work on created array
14613 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14615 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14616 gdb.threads/staticthreads.exp: Update exit query.
14618 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14620 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14622 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14624 * gdb.base/watchpoint.c (global_ptr, func4): New.
14625 (main): Call func4.
14626 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14627 (test_inaccessible_watchpoint): New.
14629 2008-02-29 Maciej W. Rozycki <macro@mips.com>
14631 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14632 select the largest.
14634 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14636 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14637 frames-invalid annotations.
14639 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14641 * gdb.base/assign.exp: avoid same output for different tests.
14643 2008-02-27 Doug Evans <dje@google.com>
14645 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14647 (breakpoint_to_handler_entry): Ditto.
14649 2008-02-27 Joel Brobecker <brobecker@adacore.com>
14651 * gdb.base/ending-run.exp: Use the first line of code inside
14652 function body to test breakpoints.
14653 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14654 location where the breakpoint is inserted when using the line
14655 where a function is declared. Fix typo in the description of
14657 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14659 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14661 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
14664 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14666 * gdb.base/args.exp: avoid same output for tests
14667 with single quotes.
14669 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14671 * gdb.base/annota1.exp: Adjust for 'info break'
14673 * gdb.base/annota3.exp: Likewise.
14674 * gdb.base/break.exp: Likewise.
14675 * gdb.base/condbreak.exp: Likewise.
14676 * gdb.base/pending.exp: Likewise.
14677 * gdb.base/sepdebug.exp: Likewise.
14678 * gdb.base/unload.exp: Likewise.
14679 * gdb.cp/ovldbreak.exp: Likewise.
14680 * gdb.mi/mi-pending.exp: Likewise.
14682 2008-02-07 Doug Evans <dje@google.com>
14684 * gdb.cp/mb-inline.exp: New.
14685 * gdb.cp/mb-inline.h: New.
14686 * gdb.cp/mb-inline1.cc: New.
14687 * gdb.cp/mb-inline2.cc: New.
14689 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14691 * gdb.pascal/floats.pas: New test program.
14692 * gdb.pascal/floats.exp: New testcase.
14694 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14696 * gdb.base/callfuncs.c (t_float_many_args): New function.
14697 (t_double_many_args): New function.
14698 * gdb.base/callfuncs.exp: Add tests for exceeding float
14699 and double parameters passed through the stack.
14701 2008-02-05 Joel Brobecker <brobecker@adacore.com>
14703 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14704 gdb.ada/complete/foo.adb: New files.
14705 * gdb.ada/complete.exp: New testcase.
14707 2008-02-03 Doug Evans <dje@google.com>
14709 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14711 * gdb.cp/gdb2384.exp: New file.
14712 * gdb.cp/gdb2384.cc: New file.
14713 * gdb.cp/gdb2384-base.h: New file.
14714 * gdb.cp/gdb2384-base.cc: New file.
14716 2008-02-02 Doug Evans <dje@google.com>
14718 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14720 2007-02-01 Joel Brobecker <brobecker@adacore.com>
14722 * gdb.ada/sym_print_name: New test program.
14723 * gdb.ada/sym_print_name.exp: New testcase.
14725 2007-02-01 Joel Brobecker <brobecker@adacore.com>
14727 * gdb.ada/nested/hello.adb: New file.
14728 * gdb.ada/nested.exp: New testcase.
14729 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14731 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14733 * gdb.mi/basic.c (return_1): New function.
14734 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14735 don't cause future evaluations of function to report
14736 creation of internal breakpoints.
14738 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14740 * gdb.mi/mi-break.exp (test_error): New.
14743 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
14745 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14746 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14748 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14750 * gdb.pascal/integers.pas: New test program.
14751 * gdb.pascal/integers.exp: New testcase.
14753 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14755 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14757 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
14759 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14760 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14762 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14764 * gdb.ada/formatted_ref: New test program.
14765 * gdb.ada/formatted_ref.exp: New testcase.
14767 * gdb.cp/formatted-ref.cc: New file.
14768 * gdb.cp/formatted-ref.exp: New testcase.
14770 2008-01-30 Joel Brobecker <brobecker@adacore.com>
14772 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14774 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
14776 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14777 (test_file_list_exec_source_file): Update to new macro-info field.
14779 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14781 * gdb.ada/exprs: New test program.
14782 * gdb.ada/exprs.exp: New testcase.
14784 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14786 * dfp-test.c (DELTA, DELTA_B): New definitions.
14787 (double_val1, double_val2, double_val3, double_val4, double_val5,
14788 double_val6, double_val7, double_val8, double_val9, double_val10,
14789 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14790 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14791 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14792 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14793 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14794 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14795 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14796 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14797 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14798 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14799 dec128_val16): New global variables.
14800 (decimal_dec128_align): New function.
14801 (decimal_mixed): Likewise.
14802 (decimal_many_args_dec32): Likewise.
14803 (decimal_many_args_dec64): Likewise.
14804 (decimal_many_args_dec128): Likewise.
14805 (decimal_many_args_mixed): Likewise.
14806 * dfp-test.exp: Add tests calling new inferior functions.
14808 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14810 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14811 gdb.server/ext-run.exp: New files.
14812 * lib/gdbserver-support.exp (gdbserver_download): New.
14813 (gdbserver_start): New. Update gdbserver expected
14815 (gdbserver_spawn): Use them.
14816 (gdbserver_start_extended): New.
14818 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14820 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14822 (do_exec_tests): Check for systems which do not support catchpoints.
14823 Do not match START.
14824 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14825 Run on GNU/Linux. Enable verbose output.
14826 (check_fork_catchpoints): New.
14827 (explicit_fork_child_follow, catch_fork_child_follow)
14828 (tcatch_fork_parent_follow): Update expected messages.
14829 (do_fork_tests): Use check_fork_catchpoints.
14830 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14831 Run on GNU/Linux. Enable verbose output.
14832 (check_vfork_catchpoints): New.
14833 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14835 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14837 2008-01-29 Jim Blandy <jimb@red-bean.com>
14839 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14841 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14843 2008-01-29 Jim Blandy <jimb@red-bean.com>
14845 * gdb.threads/sigthread.c: Use barriers to ensure that
14846 child_thread and child_thread_two are always initialized before we
14849 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14851 * gdb.base/watchpoint-solib.exp: New.
14852 * gdb.base/watchpoint-solib.c: New.
14853 * gdb.base/watchpoint-solib-shr.c: New.
14855 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14857 * gdb.base/gdb1056.exp: Add unsigned integer test.
14859 2008-01-28 Doug Evans <dje@google.com>
14861 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14863 2008-01-27 Jim Blandy <jimb@codesourcery.com>
14865 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
14867 * gdb.base/expand-psymtabs.exp: Doc fix.
14869 2008-01-26 Mark Kettenis <kettenis@gnu.org>
14871 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14873 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
14875 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
14878 2008-01-23 Chris Demetriou <cgd@google.com>
14880 * gdb.threads/thread_events.c: New testcase source file.
14881 * gdb.threads/thread_events.exp: New testcase expect file.
14883 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
14885 * lib/gdb.exp: Add the variable octal.
14887 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
14890 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
14891 Vladimir Prus <vladimir@codesourcery.com>
14893 * gdb.base/float.exp: Allow missing floating point for m68k and
14896 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
14898 * gdb.mi/basics.c: Setup for testing breakpoints
14900 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
14901 * gdb.mi/mi-cli.exp: Adjust.
14902 * gdb.mi/mi2-cli.exp: Adjust.
14904 2008-01-17 Pedro Alves <pedro@codesourcery.com>
14906 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
14907 and 'dummy_ptr' integer pointer. Initialize struct_declarations
14908 with dummy_ptr's address.
14909 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
14910 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
14912 * gdb.mi/mi2-var-child.exp: Likewise.
14914 2008-01-09 Joel Brobecker <brobecker@adacore.com>
14916 * gdb.ada/null_array: New test program.
14917 * gdb.ada/null_array.exp: New testcase.
14919 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
14921 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
14922 with required float modifiers.
14924 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14926 * gdb.ada/funcall_param: New test program.
14927 * gdb.ada/funcall_param.exp: New testcase.
14929 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14931 * gdb.ada/arrayparam: New test program.
14932 * gdb.ada/arrayparam.exp: New testcase.
14934 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14936 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
14937 landed. Should also fix random failures in the test following it.
14939 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
14941 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
14942 for expressions with decimal float values.
14943 (test_dfp_conversions): New function to test casts to and from
14944 decimal float types.
14945 Call test_dfp_conversions.
14946 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
14948 (main): Initialize ds.float4 and ds.double8 elements.
14949 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
14950 string to new error message.
14951 (d64_set_tests): Likewise.
14952 (d128_set_tests): Likewise.
14953 Add tests for expressions with decimal float variables. Add tests for
14954 conversions to and from decimal float types.
14956 2008-01-05 Joel Brobecker <brobecker@adacore.com>
14958 * gdb.ada/packed_tagged/comp_bug.adb: New file.
14959 * gdb.ada/packed_tagged.exp: New testcase.
14961 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14963 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
14964 gdb.ada/homonym/homonym_main.adb: New files.
14965 * gdb.ada/homonym.exp: New testcase.
14967 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14969 * gdb.ada/packed_array.exp: Add testing of references to
14972 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14974 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
14976 * gdb.ada/type_coercion.exp: New testcase.
14978 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14980 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
14981 gdb.ada/tagged/foo.adb: New file.
14982 * gdb.ada/tagged.exp: New testcase.
14984 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14986 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
14987 gdb.ada/ptype_field/foo.adb: New files.
14988 * gdb.ada/ptype_field.exp: New testcase.
14990 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14992 * gdb.ada/print_pc.exp: New testcase.
14994 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14996 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
14997 gdb.ada/taft_type/p.adb: New files.
14998 * gdb.ada/taft_type.exp: New testcase.
15000 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15002 * gdb.ada/array_bounds/bar.adb: New file.
15003 * gdb.ada/array_bounds.exp: New testcase.
15005 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15007 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
15008 gdb.ada/arrayptr/foo.adb: New files.
15009 * gdb.ada/arrayptr.exp: New testcase.
15011 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15013 * gdb.base/set-lang-auto.exp: New testcase.
15015 2008-01-03 Joel Brobecker <brobecker@adacore.com>
15017 * gdb.ada/fun_addr/foo.adb: New file.
15018 * gdb.ada/fun_addr.exp: New testcase.
15020 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15022 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
15025 2008-01-02 Joel Brobecker <brobecker@adacore.com>
15027 * array_subscript_addr/p.adb: New file.
15028 * array_subscript_addr.exp: New testcase.
15030 2008-01-02 Joel Brobecker <brobecker@adacore.com>
15032 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
15034 * gdb.ada/str_cmp_ref.exp: New testcase.
15036 2008-01-01 Joel Brobecker <brobecker@adacore.com>
15038 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
15039 gdb.ada/fun_in_declare/foo.adb: New files.
15040 * gdb.ada/fun_in_declare.exp: New testcase.
15042 2008-01-01 Joel Brobecker <brobecker@adacore.com>
15044 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15045 gdb.ada/ref_param/pck.ads: New files.
15046 * gdb.ada/ref_param.exp: New testcase.
15048 2008-01-01 Joel Brobecker <brobecker@adacore.com>
15050 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15051 gdb.ada/interface/foo.adb: New files.
15052 * gdb.ada/interface.exp: New testcase.
15054 2007-12-31 Jim Blandy <jimb@codesourcery.com>
15056 * gdb.base/multi-forks.exp: Consume all output from child
15057 processes before proceeding to next test.
15059 2007-12-29 Jim Blandy <jimb@codesourcery.com>
15061 * configure: Regenerated.
15063 2007-12-27 Joel Brobecker <brobecker@adacore.com>
15065 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15066 gdb.ada/fixed_cmp/fixed.adb: New files.
15067 * gdb.ada/fixed_cmp.exp: New testcase.
15069 2007-12-27 Joel Brobecker <brobecker@adacore.com>
15071 * gdb.ada/boolean_expr.exp: New testcase.
15073 2007-12-26 Jim Blandy <jimb@codesourcery.com>
15075 * gdb.base/multi-forks.exp: Doc fix.
15077 2007-12-26 Joel Brobecker <brobecker@adacore.com>
15079 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15080 * gdb.ada/char_param.exp: Do not compile our test program with
15081 -gnata, this is unnecessary.
15082 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15084 2007-12-24 Joel Brobecker <brobecker@adacore.com>
15086 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15087 gdb.ada/print_chars/foo.adb: New files.
15088 * gdb.ada/print_chars.exp: New testcase.
15090 2007-12-24 Joel Brobecker <brobecker@adacore.com>
15092 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15093 gdb.ada/char_param/foo.adb: New files.
15094 * gdb.ada/char_param.exp: New testcase.
15096 2007-12-22 Jim Blandy <jimb@codesourcery.com>
15098 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15099 hard-coding source line numbers into the test.
15100 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15101 gdb_get_line_number to find.
15103 2007-12-22 Joel Brobecker <brobecker@adacore.com>
15105 * gdb.base/ptype.c (highest): New struct type.
15106 (the_highest): New variable of that type.
15107 (main): Add dummy assignment to a field of variable the_highest.
15108 * gdb.base/ptype.exp: Test type printing of our new variable.
15110 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15112 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
15113 and record first explicitly generated thread number.
15114 Use that thread number for thread specific watchpoint test.
15115 Add iteration number to repetitive tests.
15117 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15118 Jim Blandy <jimb@codesourcery.com>
15120 * gdb.base/expand-psymtabs.c: New testcase
15122 * gdb.base/expand-psymtabs.exp: New testcase
15125 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
15127 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15128 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15130 2007-12-17 Joel Brobecker <brobecker@adacore.com>
15132 * gdb.ada/frame_args/foo.adb: New file.
15133 * gdb.ada/frame_args/pck.ads: New file.
15134 * gdb.ada/frame_args/pck.adb: New file.
15135 * gdb.ada/frame_args.exp: New testcase.
15137 2007-12-17 Joel Brobecker <brobecker@adacore.com>
15139 * gdb.base/frame-args.c: New file.
15140 * gdb.base/frame-args.exp: New testcase.
15142 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
15143 Joseph Myers <joseph@codesourcery.com>
15145 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15147 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
15149 * gdb.mi/mi-pending.exp: New.
15150 * gdb.mi/mi-pending.c: New.
15151 * gdb.mi/mi-pendshr.c: New.
15153 2007-12-06 Jim Blandy <jimb@codesourcery.com>
15155 * gdb.base/default.exp: Update expected output for 'info catch'.
15157 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15159 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15160 must be set to binary.
15162 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15164 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15166 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15168 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15169 gdb.mi/mi-file-transfer.exp: New.
15171 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15173 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15175 2007-11-22 Maciej W. Rozycki <macro@mips.com>
15177 * gdb.trace/backtrace.exp: Fix a typo.
15178 * gdb.trace/circ.exp: Likewise.
15179 * gdb.trace/collection.exp: Likewise.
15180 * gdb.trace/limits.exp: Likewise.
15181 * gdb.trace/report.exp: Likewise.
15182 * gdb.trace/tfind.exp: Likewise.
15183 * gdb.trace/while-dyn.exp: Likewise.
15185 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
15187 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15188 objects of pointers that can't be dereferenced are now
15191 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15193 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15194 (target_cpu): Remove.
15196 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15198 * gdb.base/ending-run.exp: Expect the list of cleared
15199 breakpoint to come in natural order, not the reversed one.
15201 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15203 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15204 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
15206 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
15208 * gdb.base/printcmds.exp: New function
15209 test_printf_with_dfp.
15211 2007-11-02 Doug Evans <dje@google.com>
15213 * gdb.disasm/t01_mov.s: Remove carriage returns.
15214 * gdb.disasm/t02_mova.s: Ditto.
15215 * gdb.disasm/t03_add.s: Ditto.
15216 * gdb.disasm/t04_sub.s: Ditto.
15217 * gdb.disasm/t05_cmp.s: Ditto.
15218 * gdb.disasm/t06_ari2.s: Ditto.
15219 * gdb.disasm/t07_ari3.s: Ditto.
15220 * gdb.disasm/t08_or.s: Ditto.
15221 * gdb.disasm/t09_xor.s: Ditto.
15222 * gdb.disasm/t10_and.s: Ditto.
15223 * gdb.disasm/t11_logs.s: Ditto.
15224 * gdb.disasm/t12_bit.s: Ditto.
15225 * gdb.disasm/t13_otr.s: Ditto.
15227 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15229 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15231 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15233 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15234 provide DFP support.
15236 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15238 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15239 Test "set powerpc vector-abi". Skip auto-detection tests for old
15242 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15244 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15245 with [string compare].
15247 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15249 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15250 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15252 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
15254 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15255 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15256 * gdb.opt/Makefile.in: New makefile.
15257 * Makefile.in: Create new directory "gdb.opt".
15258 * configure.ac: Add "gdb.opt" directory.
15259 * configure: Regenerated.
15261 2007-10-25 Doug Evans <dje@google.com>
15263 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15264 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15266 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
15267 Thiago Jung Bauermann <bauerman@br.ibm.com>
15269 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15270 Floating Point expressions.
15271 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15272 Floating Point variables.
15273 * gdb.base/dfp-test.c: new file containing program with Decimal
15274 Floating variables, used by gdb.base/dfp-test.exp.
15276 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15278 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15280 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15282 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15283 compiling test case with GCC.
15284 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15286 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15288 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15291 2007-10-18 Michael Snyder <msnyder@specifix.com>
15293 * gdb.base/dbx.exp: Add missing "-re " operator.
15295 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15297 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15298 * configure.ac: Removed trailing spaces after backslash.
15299 * gdb.modula2: New directory.
15300 * gdb.modula2/Makefile.in: New file.
15301 * gdb.modula2/unbounded-array.exp: New file.
15302 * gdb.modula2/unbounded1.c: New file.
15304 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15306 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15308 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
15310 * gdb.base/sigstep.c (main): Add checks for
15311 return values for setitimer call.
15312 Call setitimer again with itimer = ITIMER_REAL
15313 if first call to setitimer fails.
15315 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
15317 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15320 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15322 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15324 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
15326 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15327 of gdb_expect call, to avoid interruption.
15329 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15331 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15332 (v_unsigned_long_long, v_long_long_array)
15333 (v_signed_long_long_array, v_unsigned_long_long_array)
15334 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15335 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15336 [!NO_LONG_LONG]: New.
15337 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15338 v_long_long_member.
15340 (v_long_long_func, v_signed_long_long_func)
15341 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15342 (main) [!NO_LONG_LONG]: Initialize long long variants.
15344 * gdb.base/whatis.exp: If board file requests no_long_long, build
15345 test with NO_LONG_LONG defined. Test long long, signed long long,
15346 and unsigned long long variants but only if board file doesn't
15349 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
15350 Daniel Jacobowitz <dan@codesourcery.com>
15352 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15353 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15354 * configure: Regenerated.
15355 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15356 gdb.pascal/types.exp, lib/pascal.exp: New files.
15358 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15360 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15362 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15363 to return to the call.
15364 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15365 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15366 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15367 * gdb.mi/mi-until.exp (test_until): Likewise.
15368 * gdb.mi/mi2-until.exp (test_until): Likewise.
15370 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15372 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15374 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15376 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15378 * gdb.threads/watchthreads.c (thread_function): Sleep between
15380 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15381 at once for S/390. Generate matching fails and passes.
15383 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15385 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15386 the 'struct_declarations' variable to zeros.
15388 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15390 * gdb.cp/mb-ctor.cc: New.
15391 * gdb.cp/mb-ctor.exp: New.
15392 * gdb.cp/mb-templates.cc: New.
15393 * gdb.cp/mb-templates.exp: New.
15395 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15397 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15399 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15401 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15403 * configure: Regenerate.
15405 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
15407 * gdb.base/annota1.exp: Adjust for 'info break'
15409 * gdb.base/annota3.exp: Likewise.
15410 * gdb.base/break.exp: Likewise.
15411 * gdb.base/condbreak.exp: Likewise.
15412 * gdb.base/pending.exp: Likewise.
15413 * gdb.base/sepdebug.exp: Likewise.
15414 * gdb.base/unload.exp: Likewise.
15415 * gdb.base/ovldbreak.exp: Likewise.
15417 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15419 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15421 * gdb.base/chng-syms.exp: Likewise.
15422 * gdb.base/unload.exp: Likewise.
15424 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15426 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15428 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15430 * schedlock.c (NUM): Change to 1.
15431 (main): Use args[0] for the main thread.
15432 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15433 regardless of the number of threads.
15435 2007-09-14 Maciej W. Rozycki <macro@mips.com>
15437 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15439 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15441 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15442 watchpoint type down.
15443 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15446 2007-09-14 Maciej W. Rozycki <macro@mips.com>
15448 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15449 Move all the tests here and run them twice, once using software
15450 watchpoints and once using hardware watchpoints.
15451 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15453 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15455 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15458 2007-09-10 Mark Kettenis <kettenis@gnu.org>
15460 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15463 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15464 know about $ORIGIN. Calculate output dir from $dest instead of
15465 using ${objdir}/{$subdir}.
15467 2007-09-09 Mark Kettenis <kettenis@gnu.org>
15469 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
15470 gcore, before continuing with the test.
15472 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
15474 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
15475 * gdb.mi/mi-watch.exp: Likewise.
15477 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15478 Jim Blandy <jimb@codesourcery.com>
15480 * gdb.arch/i386-sse.exp: Do not expect character constants.
15481 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
15482 * gdb.base/display.exp: Allow print/s.
15483 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
15484 and unsigned char array changes.
15486 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15488 * gdb.base/display.exp: Add tests for printf %p.
15490 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
15492 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
15493 the dll name to unicode.
15495 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15497 * gdb.base/default.exp (show version): Update the version text.
15498 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
15500 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15502 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
15505 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15507 * lib/gdb.exp (build_id_debug_filename_get): New function.
15508 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
15509 Remove the generate DEBUG file for the future testcase runs.
15510 New testcase for the NT_GNU_BUILD_ID retrieval.
15511 Move the final testing step to ...
15512 (test_different_dir): ... a new function.
15513 New parameter XFAIL to XFAIL all the tests performed.
15514 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
15515 New parameter TYPE to PF_PREFIX all the tests performed.
15517 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
15519 * gdb.mi/mi-var-cp.cc (path_expression): New
15521 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15523 2007-08-27 Markus Deuling <deuling@de.ibm.com>
15525 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15526 to fit into SPU Local Store memory.
15528 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15530 * gdb.base/default.exp: Adjust the expected output of "info
15531 warranty" after the switch to GPLv3.
15533 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15535 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15536 to 30000 (from 20000).
15538 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15540 Switch the license of all .exp files to GPLv3.
15541 Switch the license of all .f and .f90 files to GPLv3.
15542 Switch the license of all .s and .S files to GPLv3.
15544 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15546 * configure.ac: Switch license to GPLv3.
15548 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15550 Switch the licensing to GPLv3 for all .ads and .adb files.
15552 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15554 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15556 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15558 2007-08-17 Joel Brobecker <brobecker@adacore.com>
15560 * gdb.base/step-line.c: Switch license to GPL version 3, and
15561 update copyright year.
15562 * gdb.base/step-line.inp: Likewise.
15564 2007-08-17 Joel Brobecker <brobecker@adacore.com>
15566 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15567 changes inside gdb1555.c.
15568 * gdb.base/pending.exp: Likewise.
15570 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15572 * config/default.exp: New file.
15574 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15576 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15577 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15579 2007-07-30 Maciej W. Rozycki <macro@mips.com>
15581 * gdb.base/dump.exp: Force the correct endianness for binary
15582 formats not carrying this information.
15584 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15586 * gdb.threads/staticthreads.exp: Match .*sem_post.
15588 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15590 * gdb.base/readline.exp (operate_and_get_next): Match the final
15593 2007-07-23 Kevin Buettner <kevinb@redhat.com>
15595 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15598 2007-07-18 Kevin Buettner <kevinb@redhat.com>
15600 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15601 prior to `gdb_start'.
15603 2007-07-18 Kevin Buettner <kevinb@redhat.com>
15605 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15606 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15607 Remove call to gdb_unload.
15609 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15610 Daniel Jacobowitz <dan@codesourcery.com>
15612 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15614 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15615 * gdb.base/unload.exp: Use shared library test routines.
15617 2007-07-03 Markus Deuling <deuling@de.ibm.com>
15619 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15620 * gdb.base/solib-symbol-lib.c: Likewise.
15621 * gdb.base/solib-symbol-main.c: Likewise.
15623 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15625 * config/gdbserver.exp (gdb_reconnect): New.
15626 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15627 gdb.base/solib-disc.exp: New files.
15628 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15630 (gdb_compile): Add shlib_load flag.
15631 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15633 (gdbserver_reconnect): New.
15635 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
15636 Daniel Jacobowitz <dan@codesourcery.com>
15638 * gdb.base/annota3.exp: Test for if construct.
15640 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15642 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15644 2007-06-21 Chris Dearman <chris@mips.com>
15645 Maciej W. Rozycki <macro@mips.com>
15647 * gdb.base/display.exp: Allow a newline after display/i.
15648 * gdb.base/pc-fp.exp: Likewise.
15649 * gdb.base/sigbpt.exp: Likewise.
15651 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15653 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15654 required features to be included.
15656 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15658 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15659 in info threads output.
15661 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15662 Markus Deuling <deuling@de.ibm.com>
15664 * gdb.arch/spu-info.exp: New testcase.
15665 * gdb.arch/spu-info.c: New file.
15667 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15669 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15670 tpcs_offset. Restore lr after the call.
15671 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15673 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15675 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15676 (gdbserver_run): Kill any running gdbserver.
15677 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15679 2007-05-17 Maciej W. Rozycki <macro@mips.com>
15681 * gdb.base/sigbpt.exp: Preset segv_addr.
15683 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15685 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15686 (gdb_compile_shlib): Likewise.
15687 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15688 (default_gdb_init): Clear cleanfiles.
15689 (gdb_finish): Delete recorded cleanfiles.
15690 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15692 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15693 Do not use isnative.
15694 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15695 gdb.base/so-impl-ld.exp: Likewise.
15696 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15697 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15700 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15702 * config/unknown.exp: Remove.
15704 2007-05-15 Markus Deuling <deuling@de.ibm.com>
15706 * gdb.base/info-proc.exp: Check is_remote.
15708 2007-05-14 Markus Deuling <deuling@de.ibm.com>
15710 * gdb.base/gcore.exp: Initialize variable core_supported.
15712 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15714 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15716 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15718 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15719 * gdb.threads/print-threads.exp (test_all_threads): Allow
15720 negative and hexadecimal thread IDs.
15722 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15724 * gdb.java/jprint.java (public): Avoid invalid call to static
15727 2007-05-14 Denis Pilat <denis.pilat@st.com>
15729 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15730 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15731 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15732 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15733 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15735 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15737 * gdb.base/overlays.exp: Add support for targets with only code
15738 overlay support, not data overlay. Support spu-*-* target in
15740 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15741 * gdb.base/spu.ld: New file.
15743 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15745 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15747 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15749 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15751 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15753 * gdb.java/jmain.exp: Handle demangled names with and without method
15756 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15758 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15759 (have_a_very_merry_interrupt): Remove calls to puts.
15760 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15762 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15765 2007-04-29 Markus Deuling <deuling@de.ibm.com>
15766 Daniel Jacobowitz <dan@codesourcery.com>
15768 * gdb.base/auxv.exp (core_works): Also check is_remote.
15769 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15771 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
15773 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15774 message, not the undefined 'module' variable.
15775 * gdb.base/siginfo.exp: Likewise.
15776 * gdb.base/sigstep.exp: Likewise.
15777 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15779 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15781 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
15783 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15784 target sim fails. Return 0 otherwise.
15785 (gdb_load): Return prematurely if gdb_target_sim fails.
15787 2007-04-16 Denis Pilat <denis.pilat@st.com>
15789 * gdb.base/setshow.exp: Reset height after having set it to 100.
15791 2007-04-16 Denis Pilat <denis.pilat@st.com>
15793 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15795 2007-04-16 Denis Pilat <denis.pilat@st.com>
15797 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15799 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15801 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15802 tests. Run the frozen varobjs test.
15803 * gdb.mi/var-cmd.c (do_frozen_tests): New.
15804 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
15806 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15808 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15809 gdb.base/type-opaque.exp: New files.
15811 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
15813 * gdb.mi/mi-var-child.c
15814 (do_children_tests): User char[2] instead of
15815 char so that automatic printing of pointers to char
15816 don't give unpredicable result.
15817 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15819 * gdb.mi/mi-var-child.exp: Step to right line
15820 of do_children_tests.
15821 * gdb.mi/mi2-var-child.exp: Likewise.
15822 * gdb.mi/mi-var-cmd.exp: Step to right line of
15824 (do_children_tests): User char[2] instead of
15825 char so that automatic printing of pointers to char
15826 don't give unpredicable result.
15827 * gdb.mi/mi2-var-cmd.exp: Likewise.
15828 * lib/mi-support.exp (mi_continue_to_line):
15829 Pass test name to mi_wait_for_stop.
15831 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15833 * gdb.asm/asm-source.exp: Remove d10v case.
15834 * lib/gdb.exp (skip_cplus_tests): Likewise.
15835 * gdb.asm/d10v.inc: Deleted.
15837 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15839 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15841 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15843 * config/netware.exp: Delete file.
15845 2007-03-29 Joel Brobecker <brobecker@adacore.com>
15847 * gdb.dwarf2/dw2-noloc.S: New file.
15848 * gdb.dwarf2/dw2-noloc.exp: New file.
15850 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15852 * gdb.cp/method2.cc: New test.
15853 * gdb.cp/method2.exp: New test.
15854 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15856 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15858 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15860 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15862 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15864 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15866 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
15867 (gdb_load): Delete, replace with...
15868 (gdb_reload): ...this.
15869 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
15870 * gdb.server/server-mon.exp: Likewise.
15871 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
15872 (gdb_start_cmd): New.
15873 (gdb_file_cmd): Save the last loaded file.
15875 (gdb_gnu_strip_debug): Use transform.
15876 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
15877 support here. Use new $last_loaded_file. Check mtime.
15878 (gdb_target_cmd): Handle ObjC failure case.
15879 (infer_host_exec): Delete.
15880 (gdbserver_load): Rename to...
15881 (gdbserver_run): ...this. Simplify.
15882 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
15883 (mi_gdb_load): Move most contents to a new function...
15884 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
15885 (mi_run_cmd): Use mi_gdb_target_load.
15886 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
15887 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
15889 * gdb.base/charsign.exp: Remove incorrect comment.
15890 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
15891 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
15892 gdb.base/start.exp: Use gdb_start_cmd.
15894 2007-03-23 Nigel Stephens <nigel@mips.com>
15895 Maciej W. Rozycki <macro@mips.com>
15897 * gdb.base/sigbpt.exp: Fix the message when skipping test.
15898 * gdb.base/signull.exp: Similarly.
15900 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15902 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
15903 messages available to test cases (like chng-sym.exp).
15905 2007-03-14 Andreas Schwab <schwab@suse.de>
15907 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15910 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
15912 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
15913 (optimized_1): New.
15914 (main): Call optimized_1.
15915 (gdb2029): Correct typos. Call gdb2029_marker.
15916 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
15919 2007-03-12 Mark Kettenis <kettenis@gnu.org>
15921 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
15922 as tabs. Remove redundant test pattern.
15924 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15926 * gdb.base/long_long.exp: Accept optional symbol name in <...>
15927 for /a format output.
15929 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
15931 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
15932 collect output incrementally.
15934 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15936 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
15937 for -var-create lpcharacter test.
15938 * gdb.mi/mi2-var-cmd.exp: Likewise.
15940 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15942 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
15943 pass on targets where address zero is readable.
15945 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15947 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
15948 just a single architecture.
15950 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15952 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
15953 (fetch_all_registers): New function, uses gdb_test_multiple and
15954 exp_continue to fetch inferior output line-by-line.
15955 Replace all uses of do_get_all_registers by fetch_all_registers.
15957 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15959 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
15962 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15964 * gdb.threads/manythreads.exp: Use $message string for
15965 consistancy; add a default (timeout) case.
15967 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15969 * gdb.base/watchpoint.exp: Fix truncated comment.
15971 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15973 * Makefile.in: Remove spurious single-quotes from sed command.
15975 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15977 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
15979 * gdb.mi/mi2-var-cmd.exp: Likewise.
15981 2007-02-27 Joel Brobecker <brobecker@adacore.com>
15983 * gdb.dwarf2/dw2-producer.S: New file.
15984 * gdb.dwarf2/dw2-producer.exp: New testcase.
15986 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
15988 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15989 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15990 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15991 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
15992 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
15993 Revert tests to use mi_gdb_test and include value field in output
15996 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15998 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
16000 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
16002 * gdb.base/maint.exp: Remove full paths from test names.
16003 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
16004 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
16006 2007-02-27 Joel Brobecker <brobecker@adacore.com>
16008 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
16010 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16012 * gdb.server/server-mon.exp: New test.
16014 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16016 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
16018 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
16020 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
16021 register capitalization.
16023 2007-02-13 Denis Pilat <denis.pilat@st.com>
16025 * gdb.mi/mi-var-invalidate.exp: New file.
16027 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16029 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
16031 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16033 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
16035 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
16037 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
16038 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
16040 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
16042 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
16043 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
16044 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16045 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16046 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16047 * gdb.mi/gdb792.exp, lib/mi-support.exp:
16048 Update tests to include value field in output of -var-create.
16050 2007-02-08 Andreas Schwab <schwab@suse.de>
16052 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16054 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16056 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16057 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16059 2007-02-02 Denis Pilat <denis.pilat@st.com>
16061 * gdb.threads/threadapply.exp: check that frame is not changed by
16062 the thread apply all command.
16064 2007-01-31 Andreas Schwab <schwab@suse.de>
16066 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16068 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16069 in the dwarf sections.
16070 * gdb.dwarf2/mac-fileno.S: Likewise.
16072 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16073 bspstore register on ia64.
16075 2007-01-29 Andreas Schwab <schwab@suse.de>
16077 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16078 "frame-begin" annotation.
16080 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16081 number of "frames-invalid" annotations.
16083 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16085 * gdb.base/commands.exp: Call if_commands_test.
16086 (gdb_test_no_prompt, if_commands_test): New.
16088 2007-01-28 Mark Kettenis <kettenis@gnu.org>
16090 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16092 2007-01-27 Andreas Schwab <schwab@suse.de>
16094 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16095 .short/.int/.quad in the dwarf sections.
16096 * gdb.dwarf2/dw2-intercu.S: Likewise.
16097 * gdb.dwarf2/dw2-intermix.S: Likewise.
16099 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16101 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
16102 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16104 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16105 * gdb.base/setvar.exp: Likewise.
16107 2007-01-26 Andreas Schwab <schwab@suse.de>
16109 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16112 * gdb.base/multi-forks.exp ("restart $i"): Also match
16113 __kernel_syscall_via_break.
16115 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16117 * lib/mi-support.exp (mi_delete_varobj): New.
16118 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16120 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16121 (main): Call the above.
16122 (reference_update_test, base_in_reference_test)
16123 (reference_to_pointer): Delete the created varobjs.
16125 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16127 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16128 * configure: Regenerated.
16129 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16130 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16131 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16132 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16133 * lib/gdb.exp (gdb_skip_xml_test): New function.
16135 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16137 * gdb.base/sigrepeat.exp: Correct error message.
16139 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16140 Daniel Jacobowitz <dan@codesourcery.com>
16142 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16143 gdb.arch/i386-gnu-cfi-asm.S: New files.
16145 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16147 * lib/gdb.exp: Abort on missing `site.exp'.
16149 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16150 Daniel Jacobowitz <dan@codesourcery.com>
16152 * gdb.base/included.c, gdb.base/included.exp,
16153 gdb.base/included.h: New files.
16155 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16157 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16158 (maximize_rlimit): Reduce limits on 64-bit systems.
16160 2007-01-19 Mark Kettenis <kettenis@gnu.org>
16162 From Marcus Deuling <deuling@de.ibm.com>:
16163 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16166 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
16168 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16169 (test_path_specification): Use objdir instead of srcdir to always
16170 get an absolute filename.
16172 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16174 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16176 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16178 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16179 Make sure the variable we're using is in scope.
16180 (reference_to_pointer): Likewise.
16182 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16184 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16185 has no debug information.
16187 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16189 * gdb.base/annota1.exp: Remove extra send_gdb.
16191 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16193 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16195 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16197 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16199 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
16200 Daniel Jacobowitz <dan@codesourcery.com>
16202 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16203 lcharacter or linteger change. Correct duplicated test name.
16204 * gdb.mi/mi2-var-cmd.exp: Likewise.
16206 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16208 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16210 2007-01-05 Joel Brobecker <brobecker@adacore.com>
16212 * gdb.base/nofield.c: New file.
16213 * gdb.base/nofield.exp: New testcase.
16215 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
16217 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16219 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16222 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16224 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16226 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16228 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16231 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16233 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16234 Expect ".exe" extension.
16236 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16238 * gdb.base/charset.exp: Add explicit filename to break.
16239 * gdb.base/dbx.exp: Add explicit filename to breaks.
16241 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16243 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16244 * gdb.mi/mi2-file.exp: Likewise.
16246 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16248 Implement specification of MI tests as comments
16249 in C and C++ sources.
16250 * lib/mi-support.exp (mi_autotest_data): New variable.
16251 (mi_autotest_source): New variable.
16252 (count_newlines, mi_prepare_inline_tests)
16253 (mi_get_inline_test, mi_continue_to_line)
16254 (mi_run_inline_test, mi_tbreak)
16255 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16256 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16258 * gdb.mi/mi-var-cp.cc: Define tests here.
16260 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16262 Simplify usage of mi_continue_to.
16263 * lib/mi-support.exp (mi_runto_helper): Renamed
16264 from mi_runto, added new parameter 'run_or_continue'.
16265 (mi_runto): Use mi_runto_helper.
16266 (mi_continue_to): Accept just function name as parameter.
16267 Use mi_runto_helper.
16268 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16269 * gdb.mi/mi2-var-cmd.exp: Likewise.
16271 2006-01-04 Joel Brobecker <brobecker@adacore.com>
16273 Make this testcase a bit more realistic. The current code
16274 is too simplistic, and allows the compiler to optimize out
16275 some of the entities we need for this testcase.
16276 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16277 (Do_Nothing): Add extra parameter.
16278 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16279 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16280 by using a variable of type Void_Star.
16282 2006-01-04 Joel Brobecker <brobecker@adacore.com>
16284 * gdb.ada/catch_ex/foo.adb: New file.
16285 * gdb.ada/catch_ex.exp: New testcase.
16287 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16289 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16290 pass --image-base to linker.
16292 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16293 Daniel Jacobowitz <dan@codesourcery.com>
16295 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16298 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16300 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16301 output. Test the types of members and member pointers.
16302 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16304 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16305 statement. Enable for GCC. Update expected output for some tests
16306 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16308 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16309 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16310 (Diamond::vget_base): New.
16311 (main): Add new tests.
16312 * gdb.cp/printmethod.exp: Update expected output for member functions.
16313 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16314 print pEe->D::vg().
16316 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16318 * gdb.threads/tls.exp: Allow stops in sem_post.
16320 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16322 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16323 * gdb.base/annota3.exp: Likewise.
16324 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16325 again (instead of timing out).
16326 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16328 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16329 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16330 test from jmisc1.exp.
16331 * gdb.java/jmisc1.exp: Delete.
16332 * gdb.java/jprint.exp: Adjust to work with method signatures including
16334 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16335 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16336 * lib/java.exp (compile_java_from_source): Pass the correct type
16339 2006-12-31 Joel Brobecker <brobecker@adacore.com>
16341 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16342 (stack_align_edx): New function.
16343 (stack_align_eax): New function.
16344 (main): Add calls to stack_align_edx and stack_align_eax.
16345 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16346 Add testing for the cases where the register used during a stack
16347 realignment is edx. Same for eax.
16349 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16351 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16352 and generic PE targets.
16354 2006-12-29 Joel Brobecker <brobecker@adacore.com>
16356 * gdb.ada/array_return.exp: Update copyright date list.
16358 2006-12-27 Joel Brobecker <brobecker@adacore.com>
16360 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16361 (Create_Small_Float_Vector): New function.
16362 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16364 * gdb.ada/array_return/p.adb: Use new type and function from
16366 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16367 able to print the value returned by a function returning an
16370 2006-12-20 Joel Brobecker <brobecker@adacore.com>
16372 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16373 The associated tests should be PASSing.
16375 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16377 Test for base in references.
16378 * gdb.mi/mi-var-cp.cc: Add test code.
16379 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16380 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16381 * gdb.mi/mi2-watch.exp: Likewise.
16382 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16383 (mi_list_varobj_children): New function.
16385 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16387 * lib/mi-support.exp
16388 (mi_runto): Accept "()" after function name.
16389 (mi_create_varobj): New function.
16390 (mi_varobj_update): New function.
16391 (mi_Check_varobj_value): New function.
16392 * gdb.mi/mi-var-cp.exp: New file.
16393 * gdb.mi/mi-var-cp.cc: New file.
16395 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16397 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16398 gdb.base/weaklib2.c: New files.
16400 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
16402 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16403 info. Adjust test names.
16405 * gdb.base/break.c (main): Move position of malloc.
16406 * gdb.base/break.exp: Revert mistaken checkin.
16408 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16410 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16411 assignement of arrays and function pointers.
16412 * gdb.mi/var-cmd.c: Add declaration necessary for above
16415 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16417 * gdb.base/break.c (main): Call malloc.
16419 * gdb.threads/linux-dp.exp: Read thread table before and after
16420 creating each philosopher and verify it.
16422 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16423 Paul Brook <paul@codesourcery.com>
16424 Daniel Jacobowitz <dan@codesourcery.com>
16426 * gdb.base/ending-run.exp: Flatten expect script stepping out of
16427 main to remove duplication. Add start function of the form
16428 '_*start[1-9]*'. Add RVDS start function.
16430 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16432 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16434 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16436 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16437 * gdb.asm/spu.inc: New file.
16438 * gdb.base/term.exp: Disable if [target_info exists noargs].
16439 * gdb.gdb/complaints.exp: Disable if ![isnative].
16440 * gdb.gdb/selftest.exp: Likewise.
16441 * gdb.gdb/observer.exp: Likewise.
16442 * gdb.gdb/xfullpath.exp: Likewise.
16443 * gdb.base/attach.exp: Disable on SPU target.
16444 * gdb.cp/bs145503.exp: Likewise.
16445 * gdb.cp/exception.exp: Likewise.
16446 * gdb.cp/userdef.exp: Likewise.
16448 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16450 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16452 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16454 * gdb.base/completion.exp: Fix completion tests for
16455 'info' and 'info '.
16456 * gdb.base/help.exp (help_test_raw, test_class_help)
16457 (test_prefix_command_help): Move...
16458 * lib/gdb.exp: Here.
16459 * gdb.base/main.exp: Adjust.
16460 * gdb.cp/maint.exp: Adjust.
16461 * gdb.trace/tracecmd.exp: Use test_help_class.
16463 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16465 * gdb.stabs/weird.exp (print_weird_var): Use
16466 gdb_test_multiple instead of gdb_expect.
16468 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16470 * gdb.base/help.exp (help_test_raw): New.
16471 (test_class_help): New.
16472 (test_prefix_command_help): New.
16475 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
16477 * gdb.base/constvars.c (main): Write to crass and crips, so that
16478 they are allocated by the compiler.
16480 2006-10-27 Andreas Schwab <schwab@suse.de>
16482 * gdb.base/multi-forks.exp: Use "detach fork" instead of
16485 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
16487 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
16490 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16492 * gdb.base/sepdebug.exp: Remove debug format test.
16493 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
16495 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
16497 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16499 * gdb.threads/manythreads.c (thread_function, main): Don't cast
16500 int to pointer or pointer to int.
16501 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
16503 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
16505 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
16507 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16509 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
16511 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16514 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
16516 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16518 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16519 the corresponding bug has been fixed in GDB (PR/2018).
16521 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16523 * gdb.base/subst.exp: New testcase.
16525 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16527 * gdb.ada/array_return/pck.ads: Add copyright notice.
16528 * gdb.ada/array_return/pck.adb: Likewise.
16529 * gdb.ada/array_return/p.adb: Likewise.
16530 * gdb.ada/exec_changed/first.adb: Likewise.
16531 * gdb.ada/exec_changed/second.adb: Likewise.
16533 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16535 * gdb.ada/watch_arg/watch.adb: New file.
16536 * gdb.ada/watch_arg.exp: New testcase.
16538 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16540 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
16541 via string_to_regexp.
16542 * gdb.mi/mi2-basics.exp: Likewise.
16544 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
16546 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16547 Remove unused / obsolete files.
16549 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
16551 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16553 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16555 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16556 HIGH_FRAME argument to -stack-list-arguments can be larger than
16557 the number of frames.
16559 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16561 * gdb.base/args.c (main): Add breakpoint marker.
16562 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16563 really test empty arguments.
16564 (args_load): Delete.
16567 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
16569 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
16570 check for one file.
16572 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16574 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16575 HIGH_FRAME argument to -stack-list-locals can be larger than
16576 the number of frames.
16578 2006-08-18 Fred Fish <fnf@specifix.com>
16580 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16581 '$' in front of skip_vmx_tests_saved when setting that.
16583 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16585 * gdb.base/trace-commands.exp: New file.
16587 2006-08-10 Joel Brobecker <brobecker@adacore.com>
16588 Daniel Jacobowitz <dan@codesourcery.com>
16590 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16591 expected output of the backtrace commands.
16593 2006-08-09 Joel Brobecker <brobecker@adacore.com>
16595 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16596 untested followed by return combination.
16597 * gdb.arch/altivec-regs.exp: Likewise.
16598 * gdb.arch/e500-abi.exp: Likewise.
16599 * gdb.arch/e500-regs.exp: Likewise.
16600 * gdb.arch/gdb1291.exp: Likewise.
16601 * gdb.arch/gdb1431.exp: Likewise.
16602 * gdb.arch/gdb1558.exp: Likewise.
16603 * gdb.arch/i386-prologue.exp: Likewise.
16604 * gdb.arch/i386-unwind.exp: Likewise.
16605 * gdb.asm/asm-source.exp: Likewise.
16606 * gdb.base/a2-run.exp: Likewise.
16607 * gdb.base/advance.exp: Likewise.
16608 * gdb.base/all-bin.exp: Likewise.
16609 * gdb.base/annota1.exp: Likewise.
16610 * gdb.base/annota3.exp: Likewise.
16611 * gdb.base/args.exp: Likewise.
16612 * gdb.base/arithmet.exp: Likewise.
16613 * gdb.base/assign.exp: Likewise.
16614 * gdb.base/async.exp: Likewise.
16615 * gdb.base/attach.exp: Likewise.
16616 * gdb.base/bang.exp: Likewise.
16617 * gdb.base/bigcore.exp: Likewise.
16618 * gdb.base/bitfields.exp: Likewise.
16619 * gdb.base/bitfields2.exp: Likewise.
16620 * gdb.base/break.exp: Likewise.
16621 * gdb.base/call-sc.exp: Likewise.
16622 * gdb.base/call-strs.exp: Likewise.
16623 * gdb.base/callfuncs.exp: Likewise.
16624 * gdb.base/checkpoint.exp: Likewise.
16625 * gdb.base/chng-syms.exp: Likewise.
16626 * gdb.base/code-expr.exp: Likewise.
16627 * gdb.base/commands.exp: Likewise.
16628 * gdb.base/completion.exp: Likewise.
16629 * gdb.base/cond-expr.exp: Likewise.
16630 * gdb.base/condbreak.exp: Likewise.
16631 * gdb.base/consecutive.exp: Likewise.
16632 * gdb.base/constvars.exp: Likewise.
16633 * gdb.base/corefile.exp: Likewise.
16634 * gdb.base/cvexpr.exp: Likewise.
16635 * gdb.base/dbx.exp: Likewise.
16636 * gdb.base/define.exp: Likewise.
16637 * gdb.base/detach.exp: Likewise.
16638 * gdb.base/display.exp: Likewise.
16639 * gdb.base/dump.exp: Likewise.
16640 * gdb.base/ena-dis-br.exp: Likewise.
16641 * gdb.base/ending-run.exp: Likewise.
16642 * gdb.base/environ.exp: Likewise.
16643 * gdb.base/eval-skip.exp: Likewise.
16644 * gdb.base/exprs.exp: Likewise.
16645 * gdb.base/fileio.exp: Likewise.
16646 * gdb.base/finish.exp: Likewise.
16647 * gdb.base/float.exp: Likewise.
16648 * gdb.base/foll-exec.exp: Likewise.
16649 * gdb.base/foll-fork.exp: Likewise.
16650 * gdb.base/foll-vfork.exp: Likewise.
16651 * gdb.base/freebpcmd.exp: Likewise.
16652 * gdb.base/funcargs.exp: Likewise.
16653 * gdb.base/gcore.exp: Likewise.
16654 * gdb.base/gdb1090.exp: Likewise.
16655 * gdb.base/gdb1250.exp: Likewise.
16656 * gdb.base/huge.exp: Likewise.
16657 * gdb.base/info-proc.exp: Likewise.
16658 * gdb.base/interrupt.exp: Likewise.
16659 * gdb.base/jump.exp: Likewise.
16660 * gdb.base/langs.exp: Likewise.
16661 * gdb.base/lineinc.exp: Likewise.
16662 * gdb.base/list.exp: Likewise.
16663 * gdb.base/logical.exp: Likewise.
16664 * gdb.base/long_long.exp: Likewise.
16665 * gdb.base/macscp.exp: Likewise.
16666 * gdb.base/maint.exp: Likewise.
16667 * gdb.base/mips_pro.exp: Likewise.
16668 * gdb.base/miscexprs.exp: Likewise.
16669 * gdb.base/multi-forks.exp: Likewise.
16670 * gdb.base/opaque.exp: Likewise.
16671 * gdb.base/overlays.exp: Likewise.
16672 * gdb.base/pc-fp.exp: Likewise.
16673 * gdb.base/pointers.exp: Likewise.
16674 * gdb.base/printcmds.exp: Likewise.
16675 * gdb.base/psymtab.exp: Likewise.
16676 * gdb.base/ptype.exp: Likewise.
16677 * gdb.base/recurse.exp: Likewise.
16678 * gdb.base/relational.exp: Likewise.
16679 * gdb.base/relocate.exp: Likewise.
16680 * gdb.base/remote.exp: Likewise.
16681 * gdb.base/reread.exp: Likewise.
16682 * gdb.base/restore.exp: Likewise.
16683 * gdb.base/return.exp: Likewise.
16684 * gdb.base/return2.exp: Likewise.
16685 * gdb.base/scope.exp: Likewise.
16686 * gdb.base/sect-cmd.exp: Likewise.
16687 * gdb.base/sep.exp: Likewise.
16688 * gdb.base/sepdebug.exp: Likewise.
16689 * gdb.base/setshow.exp: Likewise.
16690 * gdb.base/setvar.exp: Likewise.
16691 * gdb.base/sigall.exp: Likewise.
16692 * gdb.base/sigbpt.exp: Likewise.
16693 * gdb.base/signals.exp: Likewise.
16694 * gdb.base/signull.exp: Likewise.
16695 * gdb.base/sizeof.exp: Likewise.
16696 * gdb.base/solib.exp: Likewise.
16697 * gdb.base/step-line.exp: Likewise.
16698 * gdb.base/step-test.exp: Likewise.
16699 * gdb.base/structs.exp: Likewise.
16700 * gdb.base/structs2.exp: Likewise.
16701 * gdb.base/term.exp: Likewise.
16702 * gdb.base/twice.exp: Likewise.
16703 * gdb.base/until.exp: Likewise.
16704 * gdb.base/varargs.exp: Likewise.
16705 * gdb.base/volatile.exp: Likewise.
16706 * gdb.base/watchpoint.exp: Likewise.
16707 * gdb.base/whatis-exp.exp: Likewise.
16708 * gdb.base/whatis.exp: Likewise.
16709 * gdb.cp/ambiguous.exp: Likewise.
16710 * gdb.cp/annota2.exp: Likewise.
16711 * gdb.cp/annota3.exp: Likewise.
16712 * gdb.cp/bool.exp: Likewise.
16713 * gdb.cp/breakpoint.exp: Likewise.
16714 * gdb.cp/casts.exp: Likewise.
16715 * gdb.cp/class2.exp: Likewise.
16716 * gdb.cp/classes.exp: Likewise.
16717 * gdb.cp/cplusfuncs.exp: Likewise.
16718 * gdb.cp/ctti.exp: Likewise.
16719 * gdb.cp/derivation.exp: Likewise.
16720 * gdb.cp/exception.exp: Likewise.
16721 * gdb.cp/gdb1355.exp: Likewise.
16722 * gdb.cp/hang.exp: Likewise.
16723 * gdb.cp/inherit.exp: Likewise.
16724 * gdb.cp/local.exp: Likewise.
16725 * gdb.cp/m-data.exp: Likewise.
16726 * gdb.cp/m-static.exp: Likewise.
16727 * gdb.cp/member-ptr.exp: Likewise.
16728 * gdb.cp/method.exp: Likewise.
16729 * gdb.cp/misc.exp: Likewise.
16730 * gdb.cp/namespace.exp: Likewise.
16731 * gdb.cp/overload.exp: Likewise.
16732 * gdb.cp/ovldbreak.exp: Likewise.
16733 * gdb.cp/pr-1023.exp: Likewise.
16734 * gdb.cp/pr-1210.exp: Likewise.
16735 * gdb.cp/pr-574.exp: Likewise.
16736 * gdb.cp/printmethod.exp: Likewise.
16737 * gdb.cp/psmang.exp: Likewise.
16738 * gdb.cp/ref-params.exp: Likewise.
16739 * gdb.cp/ref-types.exp: Likewise.
16740 * gdb.cp/rtti.exp: Likewise.
16741 * gdb.cp/templates.exp: Likewise.
16742 * gdb.cp/try_catch.exp: Likewise.
16743 * gdb.cp/userdef.exp: Likewise.
16744 * gdb.cp/virtfunc.exp: Likewise.
16745 * gdb.disasm/am33.exp: Likewise.
16746 * gdb.disasm/h8300s.exp: Likewise.
16747 * gdb.disasm/mn10300.exp: Likewise.
16748 * gdb.disasm/sh3.exp: Likewise.
16749 * gdb.disasm/t01_mov.exp: Likewise.
16750 * gdb.disasm/t02_mova.exp: Likewise.
16751 * gdb.disasm/t03_add.exp: Likewise.
16752 * gdb.disasm/t04_sub.exp: Likewise.
16753 * gdb.disasm/t05_cmp.exp: Likewise.
16754 * gdb.disasm/t06_ari2.exp: Likewise.
16755 * gdb.disasm/t07_ari3.exp: Likewise.
16756 * gdb.disasm/t08_or.exp: Likewise.
16757 * gdb.disasm/t09_xor.exp: Likewise.
16758 * gdb.disasm/t10_and.exp: Likewise.
16759 * gdb.disasm/t11_logs.exp: Likewise.
16760 * gdb.disasm/t12_bit.exp: Likewise.
16761 * gdb.disasm/t13_otr.exp: Likewise.
16762 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16763 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16764 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16765 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16766 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16767 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16768 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16769 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16770 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16771 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16772 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16773 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16774 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16775 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16776 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16777 * gdb.mi/gdb701.exp: Likewise.
16778 * gdb.mi/gdb792.exp: Likewise.
16779 * gdb.mi/mi-basics.exp: Likewise.
16780 * gdb.mi/mi-break.exp: Likewise.
16781 * gdb.mi/mi-cli.exp: Likewise.
16782 * gdb.mi/mi-console.exp: Likewise.
16783 * gdb.mi/mi-disassemble.exp: Likewise.
16784 * gdb.mi/mi-eval.exp: Likewise.
16785 * gdb.mi/mi-file.exp: Likewise.
16786 * gdb.mi/mi-read-memory.exp: Likewise.
16787 * gdb.mi/mi-regs.exp: Likewise.
16788 * gdb.mi/mi-return.exp: Likewise.
16789 * gdb.mi/mi-simplerun.exp: Likewise.
16790 * gdb.mi/mi-stack.exp: Likewise.
16791 * gdb.mi/mi-stepi.exp: Likewise.
16792 * gdb.mi/mi-syn-frame.exp: Likewise.
16793 * gdb.mi/mi-until.exp: Likewise.
16794 * gdb.mi/mi-var-block.exp: Likewise.
16795 * gdb.mi/mi-var-child.exp: Likewise.
16796 * gdb.mi/mi-var-cmd.exp: Likewise.
16797 * gdb.mi/mi-var-display.exp: Likewise.
16798 * gdb.mi/mi-watch.exp: Likewise.
16799 * gdb.mi/mi2-basics.exp: Likewise.
16800 * gdb.mi/mi2-break.exp: Likewise.
16801 * gdb.mi/mi2-cli.exp: Likewise.
16802 * gdb.mi/mi2-console.exp: Likewise.
16803 * gdb.mi/mi2-disassemble.exp: Likewise.
16804 * gdb.mi/mi2-eval.exp: Likewise.
16805 * gdb.mi/mi2-file.exp: Likewise.
16806 * gdb.mi/mi2-read-memory.exp: Likewise.
16807 * gdb.mi/mi2-regs.exp: Likewise.
16808 * gdb.mi/mi2-return.exp: Likewise.
16809 * gdb.mi/mi2-simplerun.exp: Likewise.
16810 * gdb.mi/mi2-stack.exp: Likewise.
16811 * gdb.mi/mi2-stepi.exp: Likewise.
16812 * gdb.mi/mi2-syn-frame.exp: Likewise.
16813 * gdb.mi/mi2-until.exp: Likewise.
16814 * gdb.mi/mi2-var-block.exp: Likewise.
16815 * gdb.mi/mi2-var-child.exp: Likewise.
16816 * gdb.mi/mi2-var-cmd.exp: Likewise.
16817 * gdb.mi/mi2-var-display.exp: Likewise.
16818 * gdb.mi/mi2-watch.exp: Likewise.
16819 * gdb.stabs/exclfwd.exp: Likewise.
16820 * gdb.stabs/weird.exp: Likewise.
16821 * gdb.threads/gcore-thread.exp: Likewise.
16822 * gdb.trace/actions.exp: Likewise.
16823 * gdb.trace/backtrace.exp: Likewise.
16824 * gdb.trace/circ.exp: Likewise.
16825 * gdb.trace/collection.exp: Likewise.
16826 * gdb.trace/deltrace.exp: Likewise.
16827 * gdb.trace/infotrace.exp: Likewise.
16828 * gdb.trace/limits.exp: Likewise.
16829 * gdb.trace/packetlen.exp: Likewise.
16830 * gdb.trace/passc-dyn.exp: Likewise.
16831 * gdb.trace/passcount.exp: Likewise.
16832 * gdb.trace/report.exp: Likewise.
16833 * gdb.trace/save-trace.exp: Likewise.
16834 * gdb.trace/tfind.exp: Likewise.
16835 * gdb.trace/tracecmd.exp: Likewise.
16836 * gdb.trace/while-dyn.exp: Likewise.
16837 * gdb.trace/while-stepping.exp: Likewise.
16839 2006-08-08 Joel Brobecker <brobecker@adacore.com>
16841 * gdb.base/step-bt.c: New file.
16842 * gdb.base/step-bt.exp: New testcase.
16844 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16846 * config/monitor.exp (gdb_load): Remove support for obsolete
16847 download-write-size.
16848 * gdb.base/remote.exp: Likewise. Update all callers of
16851 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16853 * cursal.exp: Pass binfile to gdb_load.
16855 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16857 * gdb.base/cursal.exp: Add "" to gdb_load call.
16859 2006-07-29 Mark Kettenis <kettenis@gnu.org>
16861 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16862 NetBSD/ELF targets.
16864 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16866 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
16869 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
16871 * gdb.base/completion.exp: Update for change in "file" behavior.
16872 * gdb.stabs/weird.exp: Likewise.
16873 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
16874 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
16876 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
16878 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
16879 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
16881 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
16883 * gdb.base/default.exp: Update source command error message.
16884 * gdb.base/help.exp: Update 'help source' message.
16886 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
16888 * gdb.cp/bs15503.exp: Update comment for no longer crashing
16891 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
16893 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
16895 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16897 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
16899 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16901 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
16903 2006-07-17 Mark Kettenis <kettenis@gnu.org>
16905 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
16906 *-*-openbsd* from targets for wich we expect ARM FPA floating
16909 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
16911 * gdb.cp/annota3.exp: Expect frame-begin annotation.
16913 2006-07-17 Mark Kettenis <kettenis@gnu.org>
16915 * gdb.base/annota3.exp: Expect frame-begin annotation.
16917 2006-07-14 Joel Brobecker <brobecker@adacore.com>
16919 * gdb.base/help.exp: Adjust "help unset" test to accept
16920 any list of unset commands.
16922 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
16923 Daniel Jacobowitz <dan@codesourcery.com>
16925 * gdb.cp/ref-params.exp: New test.
16926 * gdb.cp/ref-params.cc: New source file.
16927 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
16929 2006-07-08 Mark Kettenis <kettenis@gnu.org>
16931 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
16932 spaces/tabs in regular expressions since they might not be there.
16934 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
16936 * gdb.base/ifelse.exp: New file.
16938 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
16940 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
16942 * gdb.base/huge.exp: Loop over compilation to find a size that
16944 * gdb.base/remote.exp: Correct expected strings.
16945 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
16947 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16949 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
16951 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16953 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
16956 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16958 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
16959 enable stabs testing.
16961 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16963 * gdb.base/auxv.exp: Intercept undefined command messages before
16964 gdb_test_multiple does.
16966 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16968 * Makefile.in (host_alias): Remove.
16969 (target_alias): Use @target_noncanonical@.
16970 (site.exp): Don't set host_alias.
16971 * aclocal.m4: Remove contents. Include acx.m4.
16972 * configure: Regenerated.
16973 * configure.ac: Use ACX_NONCANONICAL_TARGET.
16975 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
16977 * lib/gdb.exp (gdb_load_cmd): New.
16979 * gdb.base/fileio.c: Add system(NULL) test.
16980 * gdb.base/fileio.exp: Check it.
16982 * gdb.base/break.c: Add 10a breakpoint at }
16983 * gdb.base/break.exp: Add test for breakpoint at }
16984 * gdb.cp/anon-union.cc: Add code at end of function.
16985 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
16986 * gdb.mi/var-cmd.c: Add code at end of function.
16987 * gdb.mi/mi-var-display.exp: Adjust end of next.
16988 * gdb.mi/mi2-var-display.exp: Likewise.
16989 * gdb.base/fileio.c: Add stop function and insert calls at
16991 * gdb.base/fileio.exp: Breakpoint stop function and remove
16992 explicit line number references.
16994 2006-05-19 Joel Brobecker <brobecker@adacore.com>
16996 * gdb.base/del.exp (test_delete_alias): New function.
16997 Now check that both "del" and "d" work as aliases for "delete".
16999 2006-05-18 Fred Fish <fnf@specifix.com>
17001 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
17002 required. Check for spurious output after program exits normally.
17004 2006-05-17 Fred Fish <fnf@specifix.com>
17006 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
17007 gdb_load, so it works in the simulator.
17009 2006-05-11 Fred Fish <fnf@specifix.com>
17011 * gdb.base/bang.exp: Ignore unexpected output between the
17012 "program exited normally" and the gdb prompt, as many other
17015 2006-05-07 Mark Kettenis <kettenis@gnu.org>
17017 * gdb.base/help.exp: Make "delete checkpoint" part option for
17018 "help d" and "help delete" tests.
17020 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
17022 * gdb.mi/mi-basics.exp: Add missing serial number to
17023 expected output in some mi_gdb_test statements.
17024 * gdb.mi/mi2-basics.exp: Likewise.
17026 2006-05-05 Joel Brobecker <brobecker@adacore.com>
17028 * gdb.base/del.c: New file.
17029 * gdb.base/del.exp: New testcase.
17031 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
17033 * gdb.base/break.exp: Do not assume a breakpoint on
17034 main will actually be in $srcfile when optimizing.
17035 * gdb.base/savedregs.exp: Do not require that the dummy
17036 frame location match up to a symbol and source file location.
17037 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
17038 will get printed without a mi_cmd_data_list_register_values prefix.
17039 (*-data-list-register-*): Correct regular expressions to expect the new
17040 pseudo d? floating point registers.
17041 * gdb.mi/mi2-regs.exp: Likewise.
17043 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
17045 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17046 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17047 is allocated by the compiler.
17048 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17049 anons, e, anone to force their allocation by the compiler.
17051 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
17053 * gdb.base/help.exp: Update expected text for help d and
17056 2006-05-02 Mark Kettenis <kettenis@gnu.org>
17058 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17059 NetBSD/ELF targets.
17061 2006-04-30 Mark Kettenis <kettenis@gnu.org>
17063 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17064 single-step breakpoint fails; make this a KFAIL on
17066 * gdb.base/siginfo.exp: Likewise.
17067 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17069 2006-04-26 Michael Snyder <msnyder@redhat.com>
17071 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17072 which may have to consume output from other forks.
17073 Add tests to make sure that "delete fork" succeeded.
17075 2006-04-20 Michael Snyder <msnyder@redhat.com>
17077 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17078 Add support for the Renesas M32C and M16C.
17080 * gdb.asm/asm-source.exp: Add m32c target.
17081 * gdb.asm/m32c.inc: Support for m32c target.
17083 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17085 * gdb.base/commands.exp (recursive_source_test): New test.
17087 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
17089 * gdb.base/float.exp: Add pattern for sparc targets.
17091 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17093 * gdb.base/commands.exp (stray_arg0_test): New test.
17095 2006-03-30 Paul Brook <paul@codesourcery.com>
17097 * gdb.mi/mi-until.exp: kfail broken until command.
17098 * gdb.mi/mi2-until.exp: Ditto.
17100 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
17102 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17104 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
17106 * gdb.base/prelink.exp: Anchor tested-for regular expression
17109 2006-03-07 Paul Brook <paul@codesourcery.com>
17111 * gdb.base/assign.exp: Correct fail message.
17113 2006-03-07 Paul Brook <paul@codesourcery.com>
17115 * lib/compiler.c: Extract armcc version number.
17116 * lib/compiler.cc: Ditto.
17118 2006-03-07 Paul Brook <paul@codesourcery.com>
17120 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17121 additional_flags=-w.
17122 * gdb.arch/altivec-regs.exp: Ditto.
17123 * gdb.arch/e500-abi.exp: Ditto.
17124 * gdb.arch/e500-regs.exp: Ditto.
17125 * gdb.base/all-bin.exp: Ditto.
17126 * gdb.base/annota1.exp: Ditto.
17127 * gdb.base/annota3.exp: Ditto.
17128 * gdb.base/args.exp: Ditto.
17129 * gdb.base/arithmet.exp: Ditto.
17130 * gdb.base/assign.exp: Ditto.
17131 * gdb.base/async.exp: Ditto.
17132 * gdb.base/bang.exp: Ditto.
17133 * gdb.base/break.exp: Ditto.
17134 * gdb.base/call-rt-st.exp: Ditto.
17135 * gdb.base/completion.exp: Ditto.
17136 * gdb.base/cond-expr.exp: Ditto.
17137 * gdb.base/condbreak.exp: Ditto.
17138 * gdb.base/consecutive.exp: Ditto.
17139 * gdb.base/define.exp: Ditto.
17140 * gdb.base/display.exp: Ditto.
17141 * gdb.base/ena-dis-br.exp: Ditto.
17142 * gdb.base/environ.exp: Ditto.
17143 * gdb.base/eval-skip.exp: Ditto.
17144 * gdb.base/info-proc.exp: Ditto.
17145 * gdb.base/jump.exp: Ditto.
17146 * gdb.base/logical.exp: Ditto.
17147 * gdb.base/long_long.exp: Ditto.
17148 * gdb.base/maint.exp: Ditto.
17149 * gdb.base/miscexprs.exp: Ditto.
17150 * gdb.base/pc-fp.exp: Ditto.
17151 * gdb.base/pointers.exp: Ditto.
17152 * gdb.base/relational.exp: Ditto.
17153 * gdb.base/reread.exp: Ditto.
17154 * gdb.base/sect-cmd.exp: Ditto.
17155 * gdb.base/sep.exp: Ditto.
17156 * gdb.base/sepdebug.exp: Ditto.
17157 * gdb.base/until.exp: Ditto.
17158 * gdb.base/whatis-exp.exp: Ditto.
17159 * gdb.cp/annota2.exp: Ditto.
17160 * gdb.cp/annota3.exp: Ditto.
17161 * gdb.trace/actions.exp: Ditto.
17162 * gdb.trace/backtrace.exp: Ditto.
17163 * gdb.trace/circ.exp: Ditto.
17164 * gdb.trace/collection.exp: Ditto.
17165 * gdb.trace/deltrace.exp: Ditto.
17166 * gdb.trace/infotrace.exp: Ditto.
17167 * gdb.trace/limits.exp: Ditto.
17168 * gdb.trace/packetlen.exp: Ditto.
17169 * gdb.trace/passc-dyn.exp: Ditto.
17170 * gdb.trace/passcount.exp: Ditto.
17171 * gdb.trace/report.exp: Ditto.
17172 * gdb.trace/save-trace.exp: Ditto.
17173 * gdb.trace/tfind.exp: Ditto.
17174 * gdb.trace/tracecmd.exp: Ditto.
17175 * gdb.trace/while-dyn.exp: Ditto.
17176 * gdb.trace/while-stepping.exp: Ditto.
17177 * lib/gdb.exp: Ditto.
17178 (gdb_compile): Handle nowarning option.
17180 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
17182 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17183 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17184 Rename executable to prelinkt. Don't re-prelink if we didn't
17185 get a core file. Test prelink -u exit status to tell whether
17186 prelinking failed. Use gdb_test_multiple.
17188 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17190 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17191 (do_tests): Call it.
17193 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
17195 * gdb.base/prelink.exp: New test.
17196 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17198 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17200 * gdb.fortran/derived-type.f90: New file.
17201 * gdb.fortran/derived-type.exp: New testcase.
17203 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17205 * gdb.base/default.exp: Allow ';' as a directory separator.
17207 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17209 * gdb.base/help.exp (help add-symbol-file): Update.
17211 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17213 * gdb.base/help.exp (help load): Update expected results.
17215 2006-02-19 Fred Fish <fnf@specifix.com>
17217 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17218 specifix hex value as part of results.
17219 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
17221 2006-02-16 Fred Fish <fnf@specifix.com>
17223 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17224 ushort_addr, and slong_addr, so the typedefs are not optimized
17226 * gdb.base/whatis.exp: Add tests using type name for struct type,
17227 union type, enum type, and typedef.
17229 2006-02-13 Mark Kettenis <kettenis@gnu.org>
17231 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17233 2006-02-13 Jim Blandy <jimb@redhat.com>
17235 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17236 case where it takes two "next" commands to skip past the init
17239 2006-02-12 Fred Fish <fnf@specifix.com>
17241 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17242 to handle cases where it takes two "next" commands to skip
17243 past the init call.
17245 2006-02-07 Joel Brobecker <brobecker@adacore.com>
17247 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17250 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
17252 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17255 2006-01-29 Mark Kettenis <kettenis@gnu.org>
17257 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17259 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17261 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17264 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17266 * gdb.cp/maint.exp: Set complaints to a positive value.
17268 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17270 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17271 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17274 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17276 * gdb.base/checkpoint.c: Update copyright notice. Include
17279 2006-01-04 Jim Blandy <jimb@redhat.com>
17281 * gdb.asm/asm-source.exp: Independently provide default values for
17282 asm-flags and debug-flags. Use 'string equal' to do the
17283 comparison, not the implicit expr's '==' operator. Remove
17284 now-unneeded assignments to asm-flags. In h8300 case, place
17285 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17287 2006-01-04 Michael Snyder <msnyder@redhat.com>
17289 * gdb.base/checkpoint.c: New file.
17290 * gdb.base/checkpoint.exp: New file.
17291 * gdb.base/multi-fork.c: New file.
17292 * gdb.base/multi-fork.exp: New file.
17293 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17295 2006-01-04 Fred Fish <fnf@specifix.com>
17297 * gdb.base/ptype.c (foo): Add typedef.
17298 (intfoo): Add function.
17299 * gdb.base/ptype1.c: New file.
17300 * gdb.base/ptype.exp: Handle compilation and linking with two
17301 source files. Test that proper type for "foo" is found based
17302 on source context rather than first match found in symtabs.
17304 2005-12-28 Mark Kettenis <kettenis@gnu.org>
17306 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17307 * gdb.asm/openbsd.inc: Indent commands.
17309 2005-12-26 Mark Kettenis <kettenis@gnu.org>
17311 * gdb.base/freebpcmd.exp: Increase timeout.
17313 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17315 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17317 * gdb.base/default.exp: Update check for "show version".
17319 2005-12-09 Randolph Chung <tausq@debian.org>
17321 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17322 * gdb.asm/pa64.inc: New file.
17324 2005-12-09 Randolph Chung <tausq@debian.org>
17326 * gdb.asm/common.inc: Indent commands.
17327 * gdb.asm/asmsrc1.s: Likewise.
17328 * gdb.asm/asmsrc2.s: Likewise.
17330 2005-12-09 Randolph Chung <tausq@debian.org>
17332 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17333 (get_addr_of_sym): Remove duplicate print.
17334 (gen_core): xfail hppa*-*-hpux*, update expected output.
17335 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17336 * gdb.arch/pa64-nullify.s: New file.
17338 2005-12-09 Randolph Chung <tausq@debian.org>
17340 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17342 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
17344 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17345 code generation for these functions.
17346 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17349 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17351 * gdb.base/help.exp (help b, help br, help bre, help brea)
17352 (help break): Update the expected message.
17354 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17356 * gdb.asm/m68hc11.inc: Setup the data section.
17357 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17358 script for this test.
17359 (m6812-*-*): Likewise.
17361 2005-11-09 Randolph Chung <tausq@debian.org>
17363 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17365 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17367 * gdb.base/break.exp: Fix a comment typo.
17369 2005-11-03 Jim Blandy <jimb@redhat.com>
17371 Checked in by Elena Zannoni <ezannoni@redhat.com>
17373 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
17375 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
17377 * gdb.arch/gdb1558.c: Include stdio.h.
17379 2005-10-31 Mark Kettenis <kettenis@gnu.org>
17381 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17383 2005-10-31 Mark Kettenis <kettenis@gnu.org>
17385 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17387 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17389 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17390 vscr" tests to better match output.
17392 2005-10-12 Jim Blandy <jimb@redhat.com>
17394 * gdb.base/structs.exp (any): New function.
17395 (test_struct_returns): Don't make any assumptions at all about
17396 what value the function returns when GDB can't set the return
17399 2005-10-09 Joel Brobecker <brobecker@adacore.com>
17401 * gdb.ada/arrayidx/p.adb: New file.
17402 * gdb.ada/arrayidx.exp: New testcase
17404 2005-10-09 Joel Brobecker <brobecker@adacore.com>
17406 * gdb.ada/array_return/pck.ads: New file.
17407 * gdb.ada/array_return/pck.adb: New file.
17408 * gdb.ada/array_return/p.adb: New file.
17409 * gdb.ada/array_return.exp: New testcase.
17411 2005-10-03 Joel Brobecker <brobecker@adacore.com>
17413 * gdb.base/arrayidx.c: New file.
17414 * gdb.base/arrayidx.exp: New testcase.
17416 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
17418 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17419 frames-invalid and breakpoints-invalid are no longer generated
17420 with level 3 so don't expect them in the output.
17422 2005-09-27 Bob Rossi <bob@brasko.net>
17424 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
17425 from test. Escape the | in mi_gdb_test call.
17426 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17427 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17428 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17429 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17430 expected regex's in mi_gdb_test calls.
17431 * lib/mi-support.exp: Remove arbitrary .* from tests.
17432 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17433 Fully anchor GDB/MI expected results in mi_gdb_test.
17434 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17435 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17437 2005-09-26 Paul Brook <paul@codesourcery.com>
17439 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17441 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17443 * bfp-test.c: New file.
17444 * bfp-test.exp: New testcase.
17446 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17448 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17449 of subarray and substring variable.
17450 * gdb.fortran/subarray.f: New source file for the test of subarray
17451 and substring variable evaluation.
17452 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17453 of string constant.
17455 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17457 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17460 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17462 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17463 powerpc altivec' test with an almost identical 'info vector' test.
17465 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17467 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17468 vscr" tests to match output.
17470 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17472 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
17475 2005-09-11 Bob Rossi <bob@brasko.net>
17477 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
17478 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
17479 commands that return an MI output command and an asyncronous MI output
17481 * gdb.mi/mi-console.exp: Ditto.
17483 2005-09-11 Bob Rossi <bob@brasko.net>
17485 * gdb.mi/mi-var-child.c: Include <string.h>.
17487 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
17489 * killed.exp: Correct gdb_expect syntax.
17491 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
17493 * lib/mi-support.exp (mi_gdb_load): Fix typo.
17495 2005-08-02 Bob Rossi <bob@brasko.net>
17497 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
17498 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
17499 Change tests to inferior-tty-set/show.
17500 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
17501 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
17502 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
17503 inferior. Use mi_gdb_test to get GDB and Inferior output.
17504 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
17506 (mi_inferior_tty_name): Add inferior PTY file name.
17507 (mi_gdb_start): Add INFERIOR_PTY parameter.
17508 (mi_gdb_test): Add IPATTERN parameter.
17510 2005-08-02 Bob Rossi <bob@brasko.net>
17512 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
17513 parameter to mi_gdb_test.
17514 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
17516 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17518 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17519 struct_declarations.
17520 * gdb.mi/mi-var-child.exp: Step over the initialization of
17521 struct_declarations.
17523 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17525 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17526 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17527 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17528 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17529 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17532 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
17534 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17535 (do_children_tests): Assign values to the extra elements.
17537 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17538 them for tests for "-var-update --no-values" and
17539 "-var-update --all-values".
17540 Add test for "-var-list-children --simple-values".
17542 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17544 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17545 "-stack-list-locals --simple-values" Improve doc strings and
17548 2005-07-18 Mark Kettenis <kettenis@gnu.org>
17550 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17552 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17554 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17557 2005-07-14 Bob Rossi <bob@brasko.net>
17559 * gdb.base/default.exp (tty): Changed output of command.
17560 * gdb.base/help.exp (help tty): Ditto.
17562 2005-07-12 Mark Kettenis <kettenis@gnu.org>
17564 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17566 2005-07-10 Mark Kettenis <kettenis@gnu.org>
17568 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17569 -stack-select-frame without arguments.
17570 (test_stack_frame_listing): Add test for newly implemented command
17573 2005-07-06 Bob Rossi <bob@brasko.net>
17575 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17577 (Copyright): Update copyright.
17579 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17581 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17582 tests to evaluate exponentiation expression.
17584 2005-06-29 Andreas Schwab <schwab@suse.de>
17586 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17587 main to avoid warnings.
17589 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17591 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
17593 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17594 -stack-select-frame without arguments.
17595 (test_stack_frame_listing): Add test for newly implemented command
17598 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17600 * gdb.fortran/array-element.f: New file.
17601 * gdb.fortran/array-element.exp: New testcase.
17603 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17605 * gdb.base/bigcore.exp: Correct checks for systems which can
17606 not dump a large core file.
17608 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17610 * gdb.base/relocate.c: Add a copyright notice.
17612 * gdb.base/relocate.exp: Test printing the values of variables
17613 from a relocatable file.
17615 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17617 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17618 excess MI output after an error.
17620 2005-05-29 Joel Brobecker <brobecker@adacore.com>
17622 * gdb.arch/alpha-step.c: New file.
17623 * gdb.arch/alpha-step.exp: New testcase.
17625 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17626 Dennis Brueni <dennis@slickedit.com>
17628 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17629 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17630 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17631 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17632 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17633 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17634 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17636 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17637 Wu Zhou <woodzltc@cn.ibm.com>
17639 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17640 IBM's xlc compiler.
17641 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17642 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17644 2005-05-13 Jim Blandy <jimb@redhat.com>
17646 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17647 calling gdb_suppress_entire_file.
17648 * gdb.base/charset.exp: Same.
17649 * gdb.base/call-rt-st.exp: Same.
17651 2005-05-05 Bob Rossi <bob_rossi@cox.net>
17653 * lib/gdb.exp (fullname_syntax): Added global regex.
17654 (fullname_syntax_POSIX): Ditto.
17655 (fullname_syntax_UNC): Ditto.
17656 (fullname_syntax_DOS_CASE): Ditto.
17657 (fullname_syntax_DOS): Ditto.
17658 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17659 fullname_syntax variable to scope and use it.
17660 (test_file_list_exec_source_files): Ditto.
17661 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17663 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17665 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17667 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17669 * lib/gdb.exp (skip_altivec_tests): New function, based on
17670 check_vmx_hw_available from the GCC testsuite.
17671 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17672 * lib/gdb.arch/altivec-regs.exp: Likewise.
17674 2005-05-02 Jim Blandy <jimb@redhat.com>
17676 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17677 calling gdb_suppress_entire_file.
17679 2005-04-30 Randolph Chung <tausq@debian.org>
17681 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17682 Slightly relax "sem_post" name checking.
17684 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17686 * gdb.base/unload.exp: Use new shared library infrastructure.
17688 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17690 * gdb.base/so-impl-ld.exp: Use new shared library
17693 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
17695 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17696 * gdb.asm/h8300.inc: New file.
17698 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17700 * gdb.base/shlib-call.exp: Change to use new shared library
17703 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17705 * gdb.base/pending.exp: Change to use new shared library
17708 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17710 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17711 use test_compiler_info instead of gcc_compiled, and update copyright.
17713 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17715 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17716 shared objects being adjusted and update copyright years.
17718 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17720 * ChangeLog: Correct some 2003-01-13 dates.
17721 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17722 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17723 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17724 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17725 gdb.trace/tfind.exp: Update copyright years.
17727 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17728 Daniel Jacobowitz <dan@codesourcery.com>
17730 * lib/gdb.exp (gdb_compile): Handle shlib=.
17731 (gdb_compile_shlib): New function.
17733 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17735 * lib/gdb.exp (test_compiler_info): Give argument a default value.
17737 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17739 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17741 * configure.ac: Likewise.
17742 * configure: Regenerated.
17743 * gdb.gdbserver/Makefile.in: Moved to...
17744 * gdb.server/Makefile.in: ... here.
17745 * gdb.gdbserver/server.c: Moved to...
17746 * gdb.server/server.c: ... here.
17747 * gdb.gdbserver/server-run.exp: Moved to...
17748 * gdb.server/server-run.exp: ... here.
17750 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17752 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17753 * configure.ac: Create gdb.gdbserver/Makefile.
17754 * configure: Regenerated.
17755 * lib/gdbserver-support.exp: New file, derived from
17756 config/gdbserver.exp.
17757 * config/gdbserver.exp: Use gdbserver-support.exp.
17758 * gdb.gdbserver/Makefile.in: New file.
17759 * gdb.gdbserver/server.c: New file.
17760 * gdb.gdbserver/server-run.exp: New file.
17762 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17764 * lib/gdb.exp (test_compiler_info): Return compiler_info
17765 if no arguments are given.
17767 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17769 * gdb.arch/altivec-abi.exp: Check for compiler and set
17770 use altivec' flag accordingly.
17771 * gdb.arch/altivec-regs.exp: Likewise.
17773 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17775 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17777 2005-03-27 Andreas Schwab <schwab@suse.de>
17779 * gdb.base/bigcore.c (main): Add missing mode argument in open
17782 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17784 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17786 * config/gdbserver.exp (gdb_load): Likewise.
17788 2005-03-14 Paul Brook <paul@codesourcery.com>
17790 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17793 2005-03-09 Joel Brobecker <brobecker@adacore.com>
17795 * gdb.dwarf2/dup-psym.S: New file.
17796 * gdb.dwarf2/dup-psym.exp: New testcase.
17798 2005-03-09 Joel Brobecker <brobecker@adacore.com>
17800 * gdb.ada/exec_changed/first.adb: New file.
17801 * gdb.ada/exec_changed/second.adb: New file.
17802 * gdb.ada/exec_changed.exp: New testcase.
17804 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17806 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17808 (main): Test operator+.
17809 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17812 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17813 * gdb.base/signull.exp: Disable if gdb,nosignals.
17814 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17815 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17816 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17817 * gdb.mi/mi2-console.exp: Likewise.
17818 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17819 continue output at start.
17820 (gdb_collect_locals_test): Robustify regexp.
17821 * gdb.trace/passc-dyn.exp: Fix comment typo.
17822 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17824 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
17826 * gdb.asm/asm-source.exp: Add iq2000 case.
17827 * gdb.asm/iq2000.inc: New file.
17829 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
17831 * gdb.base/command.exp: Change hardcoded value to regular expression.
17832 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17834 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17836 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17837 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17838 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17839 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17840 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17842 2005-03-05 Mark Kettenis <kettenis@gnu.org>
17844 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17847 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17849 * lib/compiler.c: Add test for IBM's xlc compiler.
17850 * lib/compiler.cc: Likewise.
17852 2004-02-24 Joel Brobecker <brobecker@adacore.com>
17854 * gdb.ada/fixed_points.exp: Create compilation object directory
17855 before running the test.
17856 * gdb.ada/null_record.exp: Likewise.
17857 * gdb.ada/packed_array.exp: Likewise.
17858 * gdb.ada/start.exp: Likewise.
17860 2005-02-15 Joel Brobecker <brobecker@adacore.com>
17862 * gdb.ada/packed_array/pa.adb: New file.
17863 * gdb.ada/packed_array.exp: New testcase.
17865 2005-02-10 Mark Kettenis <kettenis@gnu.org>
17867 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17870 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
17871 on *-*-openbsd*. Correctly match whitespace in regukar
17874 2005-02-10 Daniel Jacobowitz <dan@debian.org>
17876 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
17878 * gdb.base/gdb1821.c: New test file.
17879 * gdb.base/gdb1821.exp: New test file.
17881 2005-02-09 Joel Brobecker <brobecker@adacore.com>
17883 * gdb.base/start.c: New file.
17884 * gdb.base/start.exp: New testcase.
17886 2005-02-09 Joel Brobecker <brobecker@adacore.com>
17888 * gdb.ada/start/dummy.adb: New file.
17889 * gdb.ada/start.exp: New testcase.
17891 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
17893 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
17894 for printing symbols and statistics.
17895 Add test for using relative pathnames in "maint print msymbols" test.
17896 Mark "maint info sections DATA" XFAIL on Cygwin.
17897 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
17900 2005-02-09 Andreas Schwab <schwab@suse.de>
17902 Committed by Andrew Cagney <cagney@gnu.org>
17903 * gdb.base/remotetimeout.exp: New file.
17905 2005-02-07 Mark Kettenis <kettenis@gnu.org>
17907 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
17909 2005-02-03 Joel Brobecker <brobecker@adacore.com>
17911 * gdb.ada/gnat_ada.gpr: New file.
17912 * gdb.ada/gnat_ada.gin: Delete, no longer used.
17913 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
17914 * configure.ac: No longer generate gnat_ada.gpr.
17915 * configure: Regenerate.
17916 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
17917 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
17918 * gdb.ada/null_record/bar.ads: Likewise.
17919 * gdb.ada/null_record/bar.adb: Likewise.
17920 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
17921 * gdb.ada/null_record.exp (testdir): New variable.
17922 (testfile): executable is now in testdir subdirectory.
17923 (srcfile): Use full path to the main compilation unit.
17924 * gdb.ada/fixed_points.exp: Same changes as above.
17926 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
17928 * gdb.base/interp.exp: New test.
17930 2005-01-24 Andrew Cagney <cagney@gnu.org>
17932 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
17934 2005-01-19 Andrew Cagney <cagney@gnu.org>
17936 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
17937 configure.ac not configure.in.
17939 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
17941 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
17942 * gdb.base/list.exp (test_list_function)
17943 (test_list_filename_and_function): Ditto.
17944 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
17946 2005-01-16 Andrew Cagney <cagney@gnu.org>
17948 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
17950 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
17952 2005-01-14 Andrew Cagney <cagney@gnu.org>
17954 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
17955 * gdb.mi/mi2-var-cmd.exp: Ditto.
17957 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
17959 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
17961 2005-01-07 Andrew Cagney <cagney@gnu.org>
17963 * configure.ac: Rename configure.in, require autoconf 2.59.
17964 * configure: Re-generate.
17965 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
17966 * gdb.stabs/configure: Re-generate.
17967 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
17968 * gdb.hp/configure: Re-generate.
17969 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
17971 * gdb.hp/gdb.objdbg/configure: Re-generate.
17972 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
17974 * gdb.hp/gdb.defects/configure: Re-generate.
17975 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
17977 * gdb.hp/gdb.compat/configure: Re-generate.
17978 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
17980 * gdb.hp/gdb.base-hp/configure: Re-generate.
17981 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
17983 * gdb.hp/gdb.aCC/configure: Re-generate.
17985 2004-12-15 Jim Blandy <jimb@redhat.com>
17987 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
17988 under NPTL when there is debugging info available for libpthread.
17990 2004-12-13 Jerome Guitton <guitton@gnat.com>
17992 * gdb.ada/fixed_points.c: New file.
17993 * gdb.ada/fixed_points.exp: New file.
17995 2004-12-03 Randolph Chung <tausq@debian.org>
17997 * gdb.arch/pa-nullify.exp: New file.
17998 * gdb.arch/pa-nullify.s: New file.
18000 2004-11-30 Randolph Chung <tausq@debian.org>
18002 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
18003 instead of "tbug". Fix regexp to work properly with gdb_test.
18005 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
18007 * gdb.base/bitfields2.exp: New test.
18008 * gdb.base/bitfields2.c: New file.
18010 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
18012 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
18014 2004-11-16 Randolph Chung <tausq@debian.org>
18016 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
18018 2004-11-14 Daniel Jacobowitz <dan@debian.org>
18020 * gdb.threads/threadapply.exp: Correct "macro details" test.
18022 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
18024 * gdb.threads/threadapply.exp: New test.
18025 * gdb.threads/threadapply.c: New file.
18027 2004-11-07 Mark Kettenis <kettenis@gnu.org>
18029 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
18032 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
18034 * gdb.base/cursal.exp: New file.
18035 * gdb.base/cursal.c: New file.
18037 2004-11-03 Andrew Cagney <cagney@gnu.org>
18039 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
18041 2004-10-30 Mark Kettenis <kettenis@gnu.org>
18043 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
18044 NetBSD/ELF targets.
18046 2004-10-29 Joel Brobecker <brobecker@gnat.com>
18048 * gdb.threads/bp_in_thread.c: New file, copied from
18049 pthread_cond_wait.c.
18050 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18051 file, rather than reusing the .c file from another testcase.
18053 2004-10-20 Joel Brobecker <brobecker@gnat.com>
18055 * gdb.ada/null_record.exp: Check where we stopped after
18056 sending the start command, instead of where the associated
18057 temporary breakpoint was inserted.
18059 2004-10-14 Andrew Cagney <cagney@gnu.org>
18061 * gdb.mi/gdb701.c (main): Return 0.
18063 2004-10-13 Daniel Jacobowitz <dan@debian.org>
18065 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
18067 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18069 * gdb.threads/schedlock.c: Add comment markers to use to find
18071 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18073 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18076 2004-10-12 Daniel Jacobowitz <dan@debian.org>
18078 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18080 2004-10-12 Daniel Jacobowitz <dan@debian.org>
18082 * configure.in: Add gdb.dwarf2.
18083 * configure: Regenerated.
18084 * Makefile.in: Add gdb.dwarf2.
18085 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18086 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18087 gdb.dwarf2/file1.txt: New files.
18089 2004-10-11 Orjan Friberg <orjanf@axis.com>
18091 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
18092 of "run", since the latter doesn't work with remote targets. Adjust
18093 the breakpoint numbering accordingly.
18094 * gdb.threads/pthread_cond_wait.exp: Ditto.
18096 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18098 * gdb.base/overlays.exp: Update copyright years.
18100 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18102 * gdb.base/overlays.exp: Disable if target is Linux.
18104 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
18106 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18108 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18110 * gdb.asm/asm-source.exp: Add m32r-linux target.
18111 * gdb.asm/m32r-linux.inc: New file.
18113 2004-09-24 Andrew Cagney <cagney@redhat.com>
18114 David Anderson <anderson@redhat.com>
18116 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18117 command fails, assume things will work.
18118 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18119 (_GNU_SOURCE): Define.
18120 (print_unsigned, print_hex): Change parameter to "long long".
18121 (print_byte_count): New function, use to print byte counts.
18122 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18124 (main): Compute an upper bound on a corefile in max_core_size.
18125 Limit memory chunk size to max_core_size. Limit total memory
18126 allocated to max_core_size.
18128 2004-09-23 Andrew Cagney <cagney@gnu.org>
18130 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18131 from a separate process with code that creates a corefile by
18132 making the inferior dump core.
18134 2004-09-23 Mark Kettenis <kettenis@gnu.org>
18136 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18139 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18141 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18142 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18143 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18146 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18148 * gdb.java/jprint.exp: New test case for java inferior call.
18149 * gdb.java/jprint.java: Ditto.
18151 2004-09-15 Joel Brobecker <brobecker@gnat.com>
18153 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18155 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18157 * gdb.threads/killed.c: Include <stdlib.h>.
18158 * gdb.threads/pthreads.c: Likewise.
18160 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18162 * gdb.threads/killed.c: Add copyright notice.
18164 2004-09-10 Jason Molenda (jmolenda@apple.com)
18166 * gdb.base/define.exp: Two new tests to verify zero space chars
18167 after 'if' and 'while' commands in a user-defined command is correctly
18170 2004-09-08 Andrew Cagney <cagney@gnu.org>
18172 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18173 delivery test with duplicate at end of file.
18175 2004-09-06 Mark Kettenis <kettenis@jive.nl>
18177 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18179 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18181 * config/hppro.exp: Removed.
18183 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18185 * config/sparclet.exp: Removed.
18187 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18189 * config/udi.exp: Removed.
18191 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18193 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18195 (advancei): Likewise.
18197 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18199 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18201 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18203 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
18204 to check for nodebug in executable.
18205 * gdb.gdb/observer.exp (setup_test): Likewise.
18206 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18207 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18209 2004-09-01 Andrew Cagney <cagney@gnu.org>
18211 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18214 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18216 * gdb.base/unload.exp: Fix expected warning message to match
18219 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
18221 * gdb.base/call-rt-st.exp: Fix typos.
18223 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18225 * gdb.threads/thread_check.exp: New testcase.
18226 * gdb.threads/thread_check.c: New testcase.
18228 2004-08-31 Andrew Cagney <cagney@gnu.org>
18230 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18231 (skip_to_handler_entry): New procedures. Test stepping into a
18232 handler when the breakpoint is at the handler's entry point.
18234 2004-08-30 Andrew Cagney <cagney@gnu.org>
18236 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18239 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18241 With code from Manoj Iyer <manjo@austin.ibm.com>:
18242 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18243 return value. Add an arm for "no debugging symbols found".
18244 Change a stray "error" to "perror".
18245 (gdb_run_cmd): Adapt to new return value.
18246 * gdb.base/remote.exp: Adapt to new return value.
18247 * gdb.gdb/complaints.exp: Likewise.
18248 * gdb.gdb/observer.exp: Likewise.
18249 * gdb.gdb/selftest.exp: Likewise.
18250 * gdb.gdb/xfullpath.exp: Likewise.
18252 2004-08-27 Joel Brobecker <brobecker@gnat.com>
18254 * gdb.threads/bp_in_thread.exp: New testcase.
18256 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18258 Fix PR testsuite/1735.
18259 * gdb.threads/schedlock.c (thread_function): Add a cast
18260 to suppress a gcc warning.
18261 * gdb.threads/thread-specific.c (thread_function): Likewise.
18263 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18265 * gdb.base/unload.c: Include <stdlib.h>.
18267 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18269 From Paul Gilliam <pgilliam@us.ibm.com>:
18270 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18271 synchronized after the "return".
18273 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18275 * gdb.mi/basics.c: Include <stdio.h>.
18276 * gdb.mi/pthreads.c: Include <stdlib.h>.
18277 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18279 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18281 * gdb.threads/schedlock.c: Add copyright notice.
18283 2004-08-25 Andrew Cagney <cagney@gnu.org>
18285 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18286 (skip_over_handler, breakpoint_over_hander): New test procedures.
18287 (advance, advancei): Add a proper prefix, do not use
18289 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18291 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18293 * gdb.mi/basics.c: Add copyright notice.
18294 * gdb.mi/var-cmd.c: Add copyright notice.
18296 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18298 * lib/gdb.exp: Remove signed_keyword_not_used.
18299 * lib/compiler.c: Likewise.
18300 * lib/compiler.cc: Likewise.
18302 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18304 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18305 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18307 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18309 * gdb.base/whatis.c: Add copyright notice.
18311 2004-08-20 Mark Kettenis <kettenis@gnu.org>
18313 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18314 it to skip the breakpoints encoded in the inline assembly.
18316 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18318 * Makefile.in: Add gdb.fortran.
18320 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18322 * gdb.base/call-sc.exp (test_scalar_returns):
18323 Fix cut-and-paste glitch in "Make fun return now".
18325 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18327 * configure.in: Add gdb.fortran.
18328 * configure: Regenerate.
18329 * gdb.fortran/Makefile.in: New file.
18330 * lib/gdb.exp (skip_fortran_tests): New procedure.
18332 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18334 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18335 reference to bug-gnu@prep.ai.mit.edu.
18336 * gdb.mi/mi-var-child.exp: Likewise.
18337 * gdb.mi/mi-var-cmd.exp: Likewise.
18338 * gdb.mi/mi-var-display.exp: Likewise.
18339 * gdb.mi/mi2-var-block.exp: Likewise.
18340 * gdb.mi/mi2-var-child.exp: Likewise.
18341 * gdb.mi/mi2-var-cmd.exp: Likewise.
18342 * gdb.mi/mi2-var-display.exp: Likewise.
18344 2004-08-15 Mark Kettenis <kettenis@gnu.org>
18346 * gdb.base/unload.c (main): Make local variable msg const.
18348 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18350 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18351 to bug-gnu@prep.ai.mit.edu.
18352 * gdb.mi/mi-disassemble.exp: Likewise.
18353 * gdb.mi/mi-eval.exp: Likewise.
18354 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18355 default line number.
18356 * gdb.mi/mi-return.exp: Likewise.
18357 * gdb.mi/mi-simplerun.exp: Likewise.
18358 * gdb.mi/mi-stack.exp: Likewise.
18359 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18360 number with explicit range test.
18361 * gdb.mi/mi-watch.exp: Likewise.
18362 * gdb.mi/mi2-break.exp: Likewise.
18363 * gdb.mi/mi2-cli.exp: Likewise.
18364 * gdb.mi/mi2-disassemble.exp: Likewise.
18365 * gdb.mi/mi2-eval.exp: Likewise.
18366 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18367 default line number.
18368 * gdb.mi/mi2-return.exp: Likewise.
18369 * gdb.mi/mi2-simplerun.exp: Likewise.
18370 * gdb.mi/mi2-stack.exp: Likewise.
18371 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18372 number with explicit range test.
18373 * gdb.mi/mi2-watch.exp: Likewise.
18375 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18377 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18378 * gdb.cp/m-static.exp: Likewise.
18379 * gdb.cp/rtti.exp: Likewise.
18381 2004-08-14 Mark Kettenis <kettenis@gnu.org>
18383 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18385 2004-08-14 Eli Zaretskii <eliz@gnu.org>
18387 * ChangeLog: Prefix Local Variables with semi-colons and indent
18388 the reference to older ChangeLog files, to fix fontification in
18391 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18393 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18394 * gdb.mi/mi2-break.exp: Likewise.
18396 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18398 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18400 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18402 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18404 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18406 * gdb.cp/classes.exp: Remove unused declarations. Just let
18407 test names default instead of providing special names. Remove
18408 extraneous demangler test.
18410 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18412 * gdb.base/unload.exp: New test for breakpoints in dynamically
18414 * gdb.base/unload.c: Ditto.
18415 * gdb.base/unloadshr.c: Ditto.
18417 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18419 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18420 cp_test_ptype_class.
18421 (test_enums): Likewise.
18423 2004-08-10 Andrew Cagney <cagney@gnu.org>
18425 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18428 2004-08-10 Andrew Cagney <cagney@gnu.org>
18430 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18433 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18435 * ChangeLog: Add copyright notice. The notice is copied
18436 from emacs 21.3 top level ChangeLog.
18438 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18440 * lib/cp-support.exp: New file.
18441 * lib/cp-support.exp (cp_test_type_class): New function.
18442 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18443 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18444 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18445 cp_test_ptype_class.
18447 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18449 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18450 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18451 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18452 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18453 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18454 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18455 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18456 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18457 gdb.mi/mi2-watch.exp: Update copyright years.
18459 2004-08-09 Mark Kettenis <kettenis@gnu.org>
18461 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18463 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18465 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18466 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18467 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18468 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
18469 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
18470 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
18471 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
18472 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18473 gdb.mi/mi-watch.exp: Update copyright years.
18475 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18478 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
18479 from a breakpoint with a pending signal.
18481 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18484 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
18485 * gdb.base/sigaltstack.exp (finish_test): Consume output until
18487 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
18489 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18491 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
18493 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18496 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
18499 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18501 * gdb.arch/i386-prologue.exp: Compile without debug information.
18503 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
18505 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
18506 rather than asking gdb to search.
18508 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18510 * gdb.base/gcore.c: Include <string.h>.
18512 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18514 * gdb.base/gcore.c: Add copyright notice.
18516 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18518 * gdb.base/freebpcmd.c: Include <stdio.h>.
18519 * gdb.base/long_long.c: Include <string.h>.
18520 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18521 * gdb.base/siginfo.c: Include <string.h>.
18522 * gdb.base/sigstep.c: Include <string.h>.
18524 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18526 * gdb.base/complex.c: Include <stdlib.h>.
18528 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18530 * gdb.base/complex.c: Add copyright notice.
18532 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18534 * gdb.base/charset.c: Include <stdlib.h>.
18536 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18538 * gdb.base/auxv.c: Include <stdlib.h>.
18540 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18542 * gdb.base/auxv.c: Add copyright notice.
18544 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18546 * gdb.base/coremaker.c: Add copyright notice.
18547 * gdb.base/coremaker2.c: Add copyright notice.
18549 2004-08-04 Andrew Cagney <cagney@gnu.org>
18551 * gdb.base/store.exp: Update copyright.
18552 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18553 names, do not import gdb_prompt.
18555 2004-08-01 Andrew Cagney <cagney@gnu.org>
18557 Fix PR testsuite/1729.
18558 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18559 not use capture_value with value 4.
18560 (capture_value): Add optional test name parameter.
18561 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18562 the prefix, pass to capture_value.
18564 2004-08-01 Mark Kettenis <kettenis@gnu.org>
18566 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18567 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18568 (main): Call new function.
18570 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18572 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18574 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18576 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18578 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18580 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
18581 Accept more values of vtbl pointer. Remove some messages
18582 about "obsolete gcc or gdb".
18584 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18586 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18588 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18590 * gdb.base/asm-source.exp: Properly convert target board
18591 debug flags from gcc format to binutils format.
18593 2004-07-28 Mark Kettenis <kettenis@gnu.org>
18595 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18596 gdb1718". PR backtrace/1718 partially fixed.
18598 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18600 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18602 2004-07-26 Nick Clifton <nickc@redhat.com>
18604 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18605 good default value for a specific architecture is available then
18606 set it to that value. Otherwise default to the -gstabs switch.
18607 Remove the -g... switches from the asm-flags variable. Allow the
18608 target board info to override the value if it wants to. Pass the
18609 switch on the assembler command line.
18611 2004-07-23 Mark Kettenis <kettenis@gnu.org>
18613 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18614 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18615 (main): Call new function.
18617 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18619 Test for PR exp/1715.
18620 * gdb.base/radix.exp: Refactor common procedures. Make all
18621 test names unique. Change XFAIL to KFAIL.
18623 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18625 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18626 * gdb.ada/gnat_ada.gin: ... to here.
18627 * configure.in: Use gnat_ada.gin.
18628 * configure: Regenerate.
18630 2004-07-20 Andrew Cagney <cagney@gnu.org>
18632 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18633 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18634 XFAILs. Clean up test messages and comments. Check backtraces.
18635 Delete re-sync code.
18637 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18640 * gdb.base/annota1.exp: Honor gdb,nosignals.
18641 * gdb.base/annota3.exp: Likewise.
18643 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18645 * lib/java.exp: Update copyright notice.
18647 2004-07-19 Andrew Cagney <cagney@gnu.org>
18649 * gdb.base/selftest.exp: Copy file from here ...
18650 * gdb.gdb/selftest.exp: ... to here.
18652 2004-07-16 Andrew Cagney <cagney@redhat.com>
18654 * lib/insight-support.exp: Delete file.
18655 * lib/java.exp (java_init): Fix copyright.
18657 2004-07-16 Andrew Cagney <cagney@gnu.org>
18659 * gdb.base/restore.c: Append "prologue" to comments marking the a
18660 function's prologue.
18661 * gdb.base/restore.exp: Update copyright, re-indent.
18662 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18663 callerN" prefix where needed. Update patterns that match a
18664 function's prologue.
18666 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18668 * gdb.base/restore.c: Add copyright notice.
18670 2004-07-16 Andrew Cagney <cagney@gnu.org>
18672 * gdb.base/logical.exp: Update copyright.
18673 (evaluate): New procedure. Use to re-implement tests using
18676 2004-07-14 Martin Hunt <hunt@redhat.com>
18678 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18679 which fixes some problems where init.tcl was not found.
18681 2004-07-13 Andrew Cagney <cagney@gnu.org>
18683 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18684 (check_sizeof, check_valueof): Do not include the output in the
18685 test name. Use gdb_test.
18686 (get_valueof): Use gdb_test_multiple.
18688 * gdb.base/step-test.exp: Update copyright. Use
18689 gdb_test_multiple. Ensure that test names do not include
18690 architecture dependent output.
18692 * gdb.gdb/observer.exp: Update copyright.
18693 (setup_test): Use gdb_test_multiple.
18694 (attach_first_observer, attach_second_observer)
18695 (attach_third_observer, detach_first_observer)
18696 (detach_second_observer, detach_third_observer)
18697 (reset_counters, check_counters): Make $message a prefix.
18698 (test_normal_stop_notifications): Add "args" parameter - a list of
18699 init functions to be called. Make $message a prefix,
18700 (test_observer_normal_stop): Change the message prefixes so that
18701 they are unique, pass the attach / detach procedures to
18702 test_normal_stop_notifications.
18704 * gdb.base/signull.exp (test_segv): Prefix all tests with
18705 "${name}". Clean up test messages.
18707 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18709 * gdb.base/ena-dis-br.exp: Update copyright.
18710 (break_at): New function. Replace send_gdb with gdb_test,
18711 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18712 ignore count, not stopped at bpt", with KFAIL.
18714 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
18716 * gdb.base/attach.exp: Remove cleanupfile handling.
18718 2004-07-12 Andrew Cagney <cagney@gnu.org>
18720 * gdb.base/annota1.exp: Cleanup corefile test name.
18721 * gdb.base/annota3.exp: Ditto.
18723 2004-07-12 Andrew Cagney <cagney@gnu.org>
18725 * gdb.base/signals.exp: Clean up copyright, re-indent.
18727 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18728 gdb_test and gdb_test_multiple.
18730 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18732 * gdb.java/jmain.exp: Fix expected line number for main to
18733 break at. Set XFAIL for break at main test since gcj does not
18734 provide line number info for first statement in main.
18736 2004-07-08 Andrew Cagney <cagney@gnu.org>
18738 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18740 * gdb.base/sigbpt.exp: Make the common part of each test name a
18741 prefix instead of suffix.
18743 2004-07-07 Bob Rossi <bob_rossi@cox.net>
18745 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18746 test from test_tbreak_creation_and_listing to
18747 test_file_list_exec_source_file
18748 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18749 Changed name of test from test_tbreak_creation_and_listing to
18750 test_file_list_exec_source_file
18752 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18754 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18755 the jmisc() constructor instead of <init>.
18756 * gdb.java/jmisc1.exp: Ditto.
18758 2004-07-07 Andrew Cagney <cagney@gnu.org>
18760 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18763 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18765 * gdb.cp/templates.exp: Accept whitespace change in demangler
18768 2004-07-06 Andrew Cagney <cagney@gnu.org>
18770 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18772 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18774 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18775 * lib/compiler.cc: Likewise.
18777 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18779 * lib/compiler.cc: Work around string preprocessing problem
18780 with old hp c++ compiler.
18781 * lib/compiler.c: Likewise.
18783 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
18785 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18786 directives to conditionalize symbol prefixing.
18787 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18788 additional_flags handling. Add underscore prefix for Cygwin.
18789 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18790 conditionalize symbol prefixing.
18791 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18792 additional_flags handling. Add underscore prefix for Cygwin.
18794 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
18796 * gdb.base/bigcore.exp: Skip test on Cygwin.
18798 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18800 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18801 formats for "info register". Use gdb_test_multiple. Fix
18802 the "invalid register" test.
18804 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
18806 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18807 PID for Cygwin. Add Cygwin specific strings to check for in some
18809 (do_attach_tests): Add a test for user interaction when attaching
18810 to a process with no matching symbol table already loaded.
18812 2004-06-26 Andrew Cagney <cagney@gnu.org>
18814 Test PR java/1567 and PR java/1565.
18815 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18816 * gdb.java/jmisc2.exp: Delete file.
18818 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18820 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18822 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
18824 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18827 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18829 * gdb.cp/pr-1553.exp: Remove.
18831 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18833 * gdb.cp/pr-1553.cc: Remove.
18834 * gdb.cp/pr-1553.exp: Disable this test.
18836 2004-06-20 Jim Blandy <jimb@redhat.com>
18838 Fix PR testsuite/1680.
18839 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18840 regular expressions.
18842 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18844 Fix PR testsuite/1679.
18845 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18846 Issue an UNSUPPORTED result instead.
18848 2004-06-18 Jim Blandy <jimb@redhat.com>
18850 * gdb.base/charset.exp: Only send a control-C if we see a new
18851 prompt and incomplete command.
18853 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18855 * gdb.cp/pr-574.cc: Add copyright notice.
18857 2004-06-17 Jim Blandy <jimb@redhat.com>
18859 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18860 cases where the regexp has no groups; this grabs random text from
18861 the previous test suite, whatever that was.
18863 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18865 * gdb.cp/printmethod.cc: Add copyright notice.
18867 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
18869 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
18871 2004-06-16 Andrew Cagney <cagney@gnu.org>
18873 * gdb.base/signull.c: Update copyright. Include <string.h>.
18874 (bowler): Replace data_pointer with data_read
18875 and data_write cases. Add code_descriptor case.
18876 (zero, desc): New array and pointer.
18877 (data, code): Change to simple pointers.
18878 * gdb.base/signull.exp: Fix probe pattern matching a function
18879 descriptor SIGSEGV. Replace data_pointer with data_read and
18882 2004-06-16 Andrew Cagney <cagney@gnu.org>
18884 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
18886 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18888 * gdb.base/long_long.c: Add copyright notice.
18890 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18892 * gdb.base/long_long.exp: Remove reference to
18893 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
18894 to gdb_breakpoint and gdb_continue_to_breakpoint.
18896 2004-06-14 Jim Blandy <jimb@redhat.com>
18898 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
18901 2004-06-14 Andrew Cagney <cagney@gnu.org>
18903 * gdb.base/gcore.exp (capture_command_output): Delete the always
18904 passing tests containing inferior values.
18905 * gdb.base/ending-run.exp: Do not include the breakpoint address
18906 in the test message. Update copyright.
18907 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
18908 size in the test name, use gdb_test_multiple. Update copyright.
18910 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18912 * gdb.cp/ref-types.cc: Add copyright notice.
18914 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18916 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
18918 * lib/compiler.cc: Likewise.
18919 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
18920 'set' commands. Log diagnostics for other lines. Set
18921 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
18923 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
18925 * gdb.cp/try_catch.cc: Add copyright notice.
18927 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
18929 * gdb.cp/userdef.cc: Add copyright notice.
18931 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
18933 * gdb.cp/virtfunc.cc: Add copyright notice.
18935 2004-06-11 Randolph Chung <tausq@debian.org>
18937 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
18940 2004-06-10 Andrew Cagney <cagney@gnu.org>
18942 * lib/compiler.cc, lib/compiler.c: Append either
18943 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
18944 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
18945 instead of gcc-3-3.
18947 2004-06-09 Andrew Cagney <cagney@gnu.org>
18949 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
18950 gdb/1455, bug is specific to "long long" and "double".
18952 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
18953 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
18954 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
18957 2004-06-09 Andrew Cagney <cagney@gnu.org>
18959 * gdb.base/structs.exp (test_struct_returns): Replace
18960 "return_value_unknown" and "finish_value_unknown" by
18961 "return_value_known" and "finish_value_known". Instead of
18962 "return_value_unknown" iff "finish_value_unknown", check
18963 "return_value_known" implies "finish_value_known".
18965 2004-06-08 Martin Hunt <hunt@redhat.com>
18967 * gdb.base/float.exp: Add pattern for mips targets.
18969 2004-06-08 Randolph Chung <tausq@debian.org>
18971 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
18972 message for unknown architectures more clear.
18974 2004-06-08 Joel Brobecker <brobecker@gnat.com>
18976 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
18977 start the execution of the program.
18979 2004-06-07 Jim Blandy <jimb@redhat.com>
18981 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
18982 * gdb.arch/i386-cpuid.h: New helper file.
18984 2004-06-07 Randolph Chung <tausq@debian.org>
18986 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
18989 2004-06-04 Roland McGrath <roland@redhat.com>
18992 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
18993 differently to be robust to output buffering differences.
18995 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
18997 * gdb.threads/pthreads.exp: Update copyright years.
18998 (check_control_c): Change asynchronous 'after' to synchronous.
19000 2004-06-04 Roland McGrath <roland@redhat.com>
19002 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
19005 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
19008 * gdb.threads/manythreads.exp: Change asynchronous 'after'
19009 calls to synchronous.
19011 2004-05-26 Jim Blandy <jimb@redhat.com>
19013 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
19015 2004-05-24 Randolph Chung <tausq@debian.org>
19017 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
19018 * gdb.asm/pa.inc: New file.
19020 2004-05-22 Mark Kettenis <kettenis@gnu.org>
19022 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
19024 2004-05-21 Joel Brobecker <brobecker@gnat.com>
19025 Daniel Jacobowitz <drow@mvista.com>
19027 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
19030 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19032 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
19033 setjmp/longjmp. Use sigaction instead of signal.
19035 2004-05-19 J. Brobecker <brobecker@gnat.com>
19036 Michael Snyder <msnyder@redhat.com>
19038 * gdb.threads/pthread_cond_wait.c: New file.
19039 * gdb.threads/pthread_cond_wait.exp: New testcase.
19041 2004-05-13 Andrew Cagney <cagney@redhat.com>
19043 * gdb.base/signull.exp, gdb.base/signull.c: New files.
19044 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19046 2004-05-11 Andrew Cagney <cagney@redhat.com>
19048 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19049 fixed but revealed gdb/1639.
19051 2004-05-10 Andrew Cagney <cagney@redhat.com>
19053 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19054 func1" and "next to 2nd alarm", kernel bug avoided.
19056 2004-05-10 Daniel Jacobowitz <dan@debian.org>
19059 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19060 XFAIL if it is smaller than bytes_allocated.
19061 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19062 (main): Make chunks_allocated unsigned. Correct comment.
19064 2004-05-07 Joel Brobecker <brobecker@gnat.com>
19066 * gdb.arch/powerpc-aix-prologue.c: New file.
19067 * gdb.arch/powerpc-aix-prologue.exp: New file.
19069 2004-05-07 Jim Blandy <jimb@redhat.com>
19071 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19072 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19074 2004-05-06 Joel Brobecker <brobecker@gnat.com>
19076 * gdb.base/sep.exp: No longer setup_kfail when the program was
19079 2004-05-05 Jim Ingham <jingham@apple.com>
19081 * gdb.base/pending.exp: Make sure pending breakpoints
19082 preserve the ignore count.
19084 2004-04-27 Jerome Guitton <guitton@gnat.com>
19086 * i386-prologue.exp: Add testcase for jump instruction as first
19087 instruction of the real code.
19088 * i386-prologue.c (jump_at_beginning): New function.
19090 2004-04-28 Mark Kettenis <kettenis@gnu.org>
19092 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19095 2004-04-28 Mark Kettenis <kettenis@gnu.org>
19097 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19100 2004-04-25 Mark Kettenis <kettenis@gnu.org>
19102 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19103 expression that checks the return type.
19105 2004-04-23 Andrew Cagney <cagney@redhat.com>
19107 * gdb.base/call-sc.exp: New test of scalar call/return values.
19108 * gdb.base/call-sc.c: Ditto.
19110 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19112 * gdb.threads/manythreads.c: Reduce thread stack size.
19114 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19116 * gdb.threads/manythreads.c: Add copyright notice.
19118 2004-04-23 Andrew Cagney <cagney@redhat.com>
19120 * gdb.base/siginfo.exp: Better handle step out of signal.
19121 * gdb.base/sigstep.exp: Ditto.
19123 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
19124 Daniel Jacobowitz <drow@mvista.com>
19126 * gdb.threads/manythreads.c: New testcase.
19127 * gdb.threads/manythreads.exp: Ditto.
19129 2004-04-22 Jim Blandy <jimb@redhat.com>
19131 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19132 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19134 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19136 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19138 2004-04-21 Andrew Cagney <cagney@redhat.com>
19140 * gdb.base/sigstep.c: New file.
19141 * gdb.base/sigstep.exp: New file.
19143 2004-04-16 Joel Brobecker <brobecker@gnat.com>
19145 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19146 call to observer_notify_normal_stop.
19148 2004-04-15 Andrew Cagney <cagney@redhat.com>
19150 * gdb.base/siginfo.c: New file.
19151 * gdb.base/siginfo.exp: New file.
19153 2004-04-12 J. Brobecker <brobecker@gnat.com>
19155 * gdb.base/sep.exp: Fix typo in comment.
19157 2004-04-12 J. Brobecker <brobecker@gnat.com>
19159 * gdb.base/sep.c: New file.
19160 * gdb.base/sep-proc.c: New file.
19161 * gdb.base/sep.exp: New testcase.
19163 2004-04-09 Mark Kettenis <kettenis@gnu.org>
19165 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19168 2004-04-05 Andrew Cagney <cagney@redhat.com>
19170 * gdb.base/sigaltstack.c: New file.
19171 * gdb.base/sigaltstack.exp: New file.
19173 2004-04-04 Joel Brobecker <brobecker@gnat.com>
19175 * gdb.base/foll-fork.exp: Update the expected output for
19176 "help set follow-fork-mode", to match a change that was made
19177 to the help of this variable on 2004-01-13.
19179 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19181 * lib/ada.exp: Add copyright notice.
19182 * bar.ads: Likewise.
19183 * bar.adb: Likewise.
19184 * null_record.adb: Likewise.
19185 * null_record.exp: Likewise.
19186 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19188 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19190 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19191 * configure: Regenerate.
19193 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19195 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19196 to build the application. Remove the message printed when in
19197 verbose mode, redundant with the UNSUPPORTED message above.
19199 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19201 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19202 * gdb.ada (null_record.exp): New testcase.
19204 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19206 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19208 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19210 * gdb.ada: New subdirectory.
19211 * gdb.ada/Makefile.in: New file.
19212 * gdb.ada/gnat_ada.gpr.in: New file.
19214 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19216 * lib/ada.exp: New file.
19218 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
19220 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19221 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19223 2004-03-22 Andrew Cagney <cagney@redhat.com>
19225 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19226 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19227 Problem identified by Ulrich Weigand.
19229 2004-03-17 David Carlton <carlton@kealia.com>
19231 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19234 2004-03-16 Roland McGrath <roland@redhat.com>
19236 * gdb.base/auxv.exp: New file.
19237 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19239 2004-03-12 David Carlton <carlton@kealia.com>
19241 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19242 * gdb.cp/pr-1553.cc: Ditto.
19243 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19246 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19248 * gdb.cp/templates.exp: Accept more template types.
19250 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19252 From Corinna Vinschen with modifications.
19253 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19254 local variable obj_with_enum.
19255 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19256 results with obj_with_enum.
19258 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19260 * gdb.cp/classes.cc: New file, copied from misc.cc.
19261 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19263 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19265 * gdb.cp/misc.cc: Add copyright notice.
19267 2004-03-05 David Carlton <carlton@kealia.com>
19269 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19270 * gdb.cp/rtti.h: Update copyright.
19271 (namespace n2::n3): New.
19272 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19273 (n2::n3::func3): New.
19274 (main): Call n2::n3::func3.
19275 * gdb.cp/rtti2.cc: Update copyright.
19276 (n2::create3): New.
19278 2004-03-04 Mark Kettenis <kettenis@gnu.org>
19280 * gdb.asm/openbsd.inc: Fix typo.
19282 2004-03-03 Fred Fish <fnf@redhat.com>
19284 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19285 "val" instead of unused "size". Update copyright year.
19287 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
19289 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19290 to use unsigned char.
19291 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19292 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19294 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
19296 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19299 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
19301 * gdb.base/relocate.c (dummy): Initialize.
19303 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
19305 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19306 a breakpoint at exit.
19308 2004-02-27 Fred Fish <fnf@redhat.com>
19310 * gdb.base/chng-syms.exp: Add expect condition to match failing
19311 case that isn't a timeout.
19313 2004-02-27 Andrew Cagney <cagney@redhat.com>
19315 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19318 2004-02-26 Fred Fish <fnf@redhat.com>
19320 * gdb.arch/gdb1431.c: Remove.
19321 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19322 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19323 of "until" incorrectly.
19325 2004-02-26 J. Brobecker <brobecker@gnat.com>
19327 * gdb.cp/class2.cc (empty): New class.
19328 (refer): New function.
19329 (main): Declare an object of type empty and use it.
19330 * gdb.cp/class2.exp: Print the value of an object of type empty.
19332 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19334 * gdb.base/langs.exp: Update query string to match the
19335 new nquery format used for pending breakpoints.
19337 2004-02-26 Andrew Cagney <cagney@redhat.com>
19340 * gdb.base/charset.c: Update copyright notice.
19341 (main, init_string): Remove the escape character '\e' tests.
19342 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19343 * gdb.base/charset.exp (valid_host_charset): Ditto.
19344 * gdb.base/setvar.exp: Ditto.
19346 2004-02-24 Andrew Cagney <cagney@redhat.com>
19348 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19349 mmapped data in core file" PASS and FAIL messages consistent.
19351 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19352 setting a breakpoint. Work around PR java/1565.
19354 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19356 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19358 * gdb.base/pending.exp: Ditto.
19360 2004-02-22 Mark Kettenis <kettenis@gnu.org>
19362 * configure.in: Run stabs tests on *BSD.
19363 * configure: Regenerated.
19365 2004-02-21 Mark Kettenis <kettenis@gnu.org>
19367 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19369 2004-02-20 Fred Fish <fnf@redhat.com>
19371 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19372 blank in test for "returns short", for consistency with other
19373 "returns xxx" tests. Update copyright year.
19375 2004-02-19 Fred Fish <fnf@redhat.com>
19377 New testcase for PR breakpoint/1558.
19378 * gdb.arch/gdb1558.exp: New file.
19379 * gdb.arch/gdb1558.c: New file.
19381 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
19383 * gdb.base/nodebug.exp: Fix typo.
19385 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19387 Committed by Jim Blandy <jimb@redhat.com>.
19389 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19391 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19393 * gdb.base/float.exp: Support s390*-*-* targets.
19395 2004-02-17 Adam Fedor <fedor@gnu.org>
19397 * gdb.base/gdb1555.exp: New file.
19398 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19400 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
19402 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19404 2004-02-16 Fred Fish <fnf@redhat.com>
19406 * gdb.arch/gdb1291.c: Remove
19407 * gdb.arch/gdb1291.s: New test input file.
19408 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19409 fail. Test for correct result, known incorrect result, other
19410 failures and timeouts.
19412 2004-02-16 Andrew Cagney <cagney@redhat.com>
19414 * gdb.base/bigcore.exp: New file.
19415 * gdb.base/bigcore.c: New file.
19417 2004-02-13 Andrew Cagney <cagney@redhat.com>
19419 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19420 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19421 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19422 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19423 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19424 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19425 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19426 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19427 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19428 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19430 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19432 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19433 executed is an alloc instruction.
19435 2004-02-11 David Carlton <carlton@kealia.com>
19437 * gdb.cp/breakpoint.exp: New.
19438 * gdb.cp/breakpoint.cc: New.
19440 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19442 Partial fix for PR gdb/1543.
19443 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19444 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19445 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19446 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19447 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19448 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19449 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19450 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19451 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19452 to bug-gdb@prep.ai.mit.edu .
19453 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19454 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19455 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19458 2004-02-10 Andrew Cagney <cagney@redhat.com>
19460 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19461 using gdb_internal_error_resync.
19463 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
19465 * gdb.threads/thread-specific.exp: Stop early if no threads are
19468 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
19470 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
19472 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
19474 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
19477 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
19479 * config/sim.exp (gdb_load): Handle $arg == "".
19480 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
19481 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
19483 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
19485 * gdb.base/maint.exp: Update test to reflect
19488 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
19490 * gdb.base/pendshr.c (pendfunc): New function that calls
19492 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
19494 2004-02-04 Fred Fish <fnf@redhat.com>
19496 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
19497 function symbols and update copyright years.
19498 * gdb.arch/gdb1291.c: Ditto.
19500 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19502 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
19504 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19506 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
19508 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19510 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
19512 2004-02-02 Fred Fish <fnf@redhat.com>
19514 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
19515 remote targets. Update copyright years.
19517 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19519 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19521 * gdb.base/langs.exp: Fix test which attempts to create
19522 breakpoint on non-existent function to handle new pending
19524 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19526 * gdb.base/pending.exp: New test.
19527 * gdb.base/pending.c: New file.
19528 * gdb.base/pendshr.c: Ditto.
19530 2004-02-02 David Carlton <carlton@kealia.com>
19532 * gdb.cp/overload.exp: Add overloadNamespace tests.
19533 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19534 (overloadNamespace, XXX): New.
19535 (main): Call XXX::marker2.
19537 2004-02-01 Fred Fish <fnf@redhat.com>
19539 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19540 * gdb.base/finish.exp: Ditto.
19541 * gdb.base/gcore.exp: Ditto.
19542 * gdb.base/huge.exp: Ditto.
19543 * gdb.base/info-proc.exp: Ditto.
19544 * gdb.base/return2.exp: Ditto.
19545 * gdb.threads/gcore-thread.exp: Ditto.
19547 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19549 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19551 2004-02-01 Mark Kettenis <kettenis@gnu.org>
19553 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19554 that opening the file succeeds on OpenBSD.
19556 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19558 * gdb.threads/thread-specific.c: New file.
19559 * gdb.threads/threads-specific.exp: New test script.
19560 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19563 2004-02-01 Mark Kettenis <kettenis@gnu.org>
19565 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19566 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19567 only on the "print_small_structs from print_long_arg_list" test.
19569 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19571 * gdb.base/completion.exp: Kill a stray backslash.
19573 From Jim Ingham <jingham@apple.com>:
19574 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19575 agrees with the result from sending a tab.
19577 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
19579 * gdb.base/chng-syms.exp: Remove stray newline.
19581 2004-01-31 Mark Kettenis <kettenis@gnu.org>
19583 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19585 * gdb.asm/openbsd.inc: New file.
19587 2004-01-30 Mark Kettenis <kettenis@gnu.org>
19589 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19590 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19591 *-*solaris2*. Remove commented out default settings for
19592 asm-flags. Replace gdb_compile with target_link.
19594 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19596 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19597 for all tests. Remove old hp-ux and cygnus xfail cases.
19599 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19601 * gdb.base/chng-syms.exp: New file.
19602 * gdb.base/chng-syms.c: New file.
19604 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19606 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19607 Provide arms for current output in all my configurations.
19609 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19611 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19612 * lib/compiler.cc: Likewise.
19613 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19614 get the right preprocessor. Eval the output directly. Remove
19615 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19616 hp_f77_compiler and hp_f90_compiler completely.
19617 (gdb_preprocess): Delete.
19618 (get_compiler): Delete.
19620 2004-01-24 Mark Kettenis <kettenis@gnu.org>
19622 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19625 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
19627 * gdb.mi/mi-stack.exp: Update copyright.
19629 2004-01-23 David Carlton <carlton@kealia.com>
19631 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19632 test for cp_lookup_transparent_type.
19633 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19636 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
19638 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19641 2004-01-23 David Carlton <carlton@kealia.com>
19643 * gdb.cp/namespace.cc (C::ensureRefs): New.
19644 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19646 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
19648 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19649 case "-stack-list-locals 2".
19650 * gdb.mi/mi-var-child.exp: Test for case
19651 "-var-list-children --all-values NAME".
19653 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19655 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19657 2004-01-18 Mark Kettenis <kettenis@gnu.org>
19659 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19660 used with gdb_test_multiple.
19662 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19663 read at address 0. This fixes PR testsuite/1504.
19665 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
19667 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19668 Remove downloading, guessing the host executable, the calls to
19669 gdb_file_cmd and gdb_target_cmd, and "load" support.
19670 (infer_host_exec): New function broken out from gdb_load.
19671 (gdb_load): New wrapper for gdbserver_gdb_load.
19672 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19673 gdb_target_cmd. Use -target-select.
19674 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19675 Download binaries to the host. Clear last_mi_remote_file when
19676 we load a new binary.
19677 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19678 call gdbserver_gdb_load and mi_gdb_target_cmd.
19680 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19682 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19685 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19687 * gdb.cp/templates.exp: Fix typo in test name of
19688 "print Foo<volatile char*>::foo".
19690 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19692 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19694 2004-01-16 Ben Elliston <bje@wasabisystems.com>
19696 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19697 (clean mostlyclean): Remove empty rm.
19699 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19701 * gdb.base/setvar.exp: Add copyright years.
19703 2004-01-14 David Carlton <carlton@bactrian.org>
19705 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19706 PR c++/1511 and update coment.
19707 * gdb.cp/templates.exp: Update patterns to match current output.
19708 If changes involve something other than whitespace, KFAIL
19709 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19711 2004-01-14 David Carlton <carlton@kealia.com>
19713 * gdb.cp/namespace.exp: Add tests involving classes defined within
19715 * gdb.cp/namespace.cc (C::CClass): New.
19716 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19718 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
19720 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19721 what debug info we have. Print a better message if something goes
19722 wrong while producing the separate debug info file.
19724 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19726 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19728 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19730 * gdb.base/callfuncs.c: Add copyright notice.
19732 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19734 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19735 inheritance. PR gdb/1498, PR gcc/13539.
19737 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
19739 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19740 test specific name.
19741 * gdb.mi/gdb669.exp: Ditto.
19742 * gdb.mi/mi-pthreads.exp: Ditto.
19743 * gdb.mi/mi1-pthreads.exp: Ditto.
19744 * gdb.mi/mi2-pthreads.exp: Ditto.
19746 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19748 * gdb.cp/member-ptr.cc: Add copyright notice.
19750 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19752 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19753 some patterns for recent versions of gcc and hpacc. Delete
19754 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19755 Delete tests that access a NULL pointer-to-member-data. This
19756 script is still disabled for gcc.
19758 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
19760 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
19763 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
19765 * gdb.base/sepdebug.exp: New file.
19766 * gdb.base/sepdebug.c: New file.
19767 * lib/gdb.exp (separate_debug_filename): New procedure.
19768 (gdb_gnu_strip_debug): New procedure.
19770 2004-01-12 Andrew Cagney <cagney@redhat.com>
19772 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19773 * gdb.mi/ChangeLog-1999-2003: New file.
19775 2004-01-12 Andrew Cagney <cagney@redhat.com>
19777 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19778 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19779 or EEXIST", treat EBUSY as an XFAIL.
19781 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19783 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19786 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19788 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19791 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19793 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19794 and "(aCC)" decorations. Remove obsolete doco about old
19797 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19799 * gdb.cp/exception.exp: Fix typo in doco.
19801 2004-01-09 Mark Kettenis <kettenis@gnu.org>
19803 * gdb.base/gdb1476.exp: Fix typo.
19805 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19807 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19810 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19812 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19813 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19814 Use gdb_compile. Remove restriction on gcc. Add some patterns
19815 for recent version of gdb. Delete second half, which was a copy
19816 of the first half with different build flags. This test is
19817 still disabled because it is still not ready for production.
19819 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19821 * gdb.cp/exception.cc: Add copyright notice.
19822 * gdb.cp/exception.exp: Add a notice that this file is broken
19823 because of line number changes caused by addition of copyright
19826 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19828 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19829 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19831 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19833 * gdb.cp/classes.exp: Accept gnu abi 2.
19834 * gdb.cp/derivation.exp: Likewise.
19835 * gdb.cp/overload.exp: Likewise.
19836 * gdb.cp/virtfunc.exp: Likewise.
19838 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19840 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19841 semicolon after end of function.
19843 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19845 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19846 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19847 boilerplate code for compiling and running the program under
19848 test. Add some string method tests.
19850 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19852 * gdb.cp/bs15503.cc: Add copyright notice.
19853 * gdb.cp/bs15503.exp: Adjust line number.
19855 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19857 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19858 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19860 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19862 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19865 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19867 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
19868 * gdb.cp/ctti.exp: Use the marker instead of "next".
19869 With gcc, run further before bailing.
19871 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19873 * gdb.cp/cttiadd.cc: Add copyright notice.
19874 * gdb.cp/cttiadd1.cc: Likewise.
19875 * gdb.cp/cttiadd2.cc: Likewise.
19876 * gdb.cp/cttiadd3.cc: Likewise.
19878 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19880 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
19881 Use gdb_test, gdb_test_multiple. Use floating-point values that
19882 have exact representations in IEEE-ish formats.
19884 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19886 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
19887 compilers. Delete duplicate call to get_compiler_info.
19888 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
19889 * gdb.base/volatile.exp: Likewise.
19891 2004-01-07 Mark Kettenis <kettenis@gnu.org>
19893 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
19894 memory at address 0.
19896 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19898 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
19899 to test for hp-ux assembler. Fix copyright years.
19901 2004-01-07 Andrew Cagney <cagney@redhat.com>
19903 * gdb.base/fileio.c (strerrno): Add "EBUSY".
19905 2004-01-07 Andrew Cagney <cagney@redhat.com>
19907 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
19908 when creating the read-only file. From analysis by Roland McGrath
19911 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19913 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
19915 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19917 * gdb.base/cvexpr.c: Be type-safe with function pointers and
19920 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19922 * gdb.cp/m-static.exp: Compile one source file at a time.
19923 Delete unused call to get_compiler_info.
19925 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19927 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
19928 * gdb.base/call-rt-st.exp: Likewise.
19929 * gdb.base/nodebug.exp: Likewise.
19930 * gdb.base/volatile.exp: Likewise.
19931 * gdb.cp/ref-types.exp: Likewise.
19932 * gdb.cp/templates.exp: Likewise.
19934 2004-01-05 Mark Kettenis <kettenis@gnu.org>
19936 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
19938 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
19940 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
19943 2004-01-04 Mark Kettenis <kettenis@gnu.org>
19945 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19948 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19949 sparc64-*-* and sparc*-solaris2*.
19951 2004-01-04 Mark Kettenis <kettenis@gnu.org>
19953 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
19954 return ${tests}" test. The ${tests} already mentions the
19957 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19959 * gdb.cp/local.exp: Accept gcc abi 2.
19961 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19963 * gdb.cp/templates.exp: Accept gcc abi 2.
19965 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19967 * lib/compiler.cc: Remove supports_template_debugging.
19968 * gdb.cp/templates.exp: Do not test supports_template_debugging.
19970 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19972 * gdb.cp/namespace.exp: Accept gcc abi 2.
19974 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19976 * gdb.cp/method.exp: Accept gcc abi 2.
19978 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19980 * gdb.cp/classes.exp: Generate identical results as old version.
19981 * gdb.cp/derivation.exp: Likewise.
19982 * gdb.cp/overload.exp: Likewise.
19983 * gdb.cp/virtfunc.exp: Likewise.
19985 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19987 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
19988 mysterious bug with sourceware version of expect.
19990 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19992 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
19993 current versions of gcc, including gcc abi 2. Remove gratuitous
19994 restart of test program. Use gdb_test_multiple and gdb_test for
19995 all tests. Add patterns to xfail missing "const" in "const char *"
19996 and kfail PR gdb/1155.
19998 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
20000 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
20001 current versions of gcc, including gcc abi 2. Remove gratuitous
20002 restart of test program. Use gdb_test_multiple and gdb_test for
20003 all tests. Add patterns to kfail PR gdb/1498.
20005 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20007 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
20008 current versions of gcc, including gcc abi 2. Use "breakpoint"
20009 and "continue" instead of restarting the target program. Use
20010 gdb_test_multiple and gdb_test for all tests.
20012 2004-01-01 Mark Kettenis <kettenis@gnu.org>
20014 * gdb.asm/asm-source.exp: Update copyright year. Link statically
20017 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
20019 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
20020 current versions of gcc, including gcc abi 2. Use "breakpoint"
20021 and "continue" instead of restarting the target program several
20022 times. Use gdb_test_multiple and gdb_test for all tests.
20024 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
20026 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
20029 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20031 * gdb.base/environ.exp: Handle compiling test case from multiple
20034 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20036 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
20038 2003-12-17 Jim Blandy <jimb@redhat.com>
20040 * gdb.base/freebpcmd.c: Add copyright notice.
20042 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
20044 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20046 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20048 2003-12-13 Jim Blandy <jimb@redhat.com>
20050 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20052 2003-12-12 Kevin Buettner <kevinb@redhat.com>
20054 * gdb.asm/frv.inc: New file.
20055 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20057 2003-12-09 Fred Fish <fnf@redhat.com>
20059 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20060 functions to break1.c and leave prototypes behind. Add more
20061 "set breakpoint NN here" comments.
20062 * gdb.base/break1.c: New file.
20064 * gdb.base/break.exp: Handle compiling test case from multiple
20065 source files and change source file references as needed.
20066 * gdb.base/completion.exp: Ditto.
20067 * gdb.base/condbreak.exp: Ditto.
20068 * gdb.base/define.exp: Ditto.
20069 * gdb.base/ena-dis-br.exp: Ditto.
20070 * gdb.base/info-proc.exp: Ditto.
20071 * gdb.base/maint.exp: Ditto.
20072 * gdb.base/until.exp: Ditto.
20074 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20075 hardcoded line numbers.
20076 * gdb.base/define.exp: Ditto.
20077 * gdb.base/ena-dis-br.exp: Ditto.
20078 * gdb.base/maint.exp: Ditto.
20079 * gdb.base/until.exp: Ditto.
20081 * gdb.base/completion.exp: Use "break1" for completion tests since
20082 "break" is no longer a unique prefix.
20084 2003-12-06 Andrew Cagney <cagney@redhat.com>
20086 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20087 "return_value_unimplemented". When an unimplemented struct return
20088 architecture, report incorrect values as a KFAIL
20090 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20092 * gdb.cp/rtti.exp: Accept new wording of warning from
20093 cp_lookup_rtti_type.
20095 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20097 Partial fix for PR testsuite/1456.
20098 * gdb.base/scope.exp (test_at_main): Replace references to
20099 gcc_compiled with calls to test_compiler_info.
20100 (test_at_foo): Likewise.
20101 (test_at_bar): Likewise.
20103 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20105 Partial fix for PR testsuite/1456.
20106 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20107 to test_compiler_info.
20109 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20111 * gdb.base/so-impl-ld.exp: Update copyright notice.
20113 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20115 Partial fix for PR testsuite/1456.
20116 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20117 to test_compiler_info.
20119 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20121 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20122 from current versions of gdb. Clean up regular expressions.
20123 Delete redundant timeout case.
20125 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20127 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20128 from current versions of gdb. Clean up regular expressions.
20129 Delete redundant timeout case.
20131 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20133 Partial fix for PR testsuite/1456.
20134 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20135 gcc_compiled with call to test_compiler_info.
20137 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20139 Partial fix for PR testsuite/1456.
20140 * gdb.base/list.exp (test_list_function): Delete unused declaration
20143 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20145 Partial fix for PR testsuite/1456.
20146 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20147 call to test_compiler_info.
20149 2003-11-29 Mark Kettenis <kettenis@gnu.org>
20151 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20152 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20153 it to create the appropriate note.inc.
20154 * gdb.asm/asmsrc1.s: Include "note.inc".
20155 * gdb.asm/netbsd.inc: New file.
20156 * gdb.asm/empty.inc: New file.
20158 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20160 Partial fix for PR testsuite/1456.
20161 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20162 calls to test_compiler_info.
20164 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20166 Partial fix for PR testsuite/1456.
20167 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20168 calls to test_compiler_info.
20170 2003-11-27 Mark Kettenis <kettenis@gnu.org>
20172 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20173 pattern for the KFAILs.
20175 2003-11-25 Adam Fedor <fedor@gnu.org>
20177 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20178 * gdb.objc/objcdecode.m: New file.
20180 2003-11-25 Adam Fedor <fedor@gnu.org>
20182 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20183 * gdb.objc/nondebug.m: New file.
20185 2003-11-26 Ben Elliston <bje@wasabisystems.com>
20187 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20188 NetBSD as it does on FreeBSD. Modelled on a similar change by
20189 Mark Kettenis on 2003-05-30.
20190 (link-flags): Set to "--entry _start" regardless of target.
20191 Special linker flags are to be appended to $link-flags.
20192 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20194 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20196 * gdb.cp/method.exp: Accept output of new demangler.
20198 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20200 * gdb/class2.exp: New file.
20201 * gdb/class2.cc: New file.
20203 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20205 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20208 2003-11-23 Mark Kettenis <kettenis@gnu.org>
20210 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20213 2003-11-23 Mark Kettenis <kettenis@gnu.org>
20215 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20216 "continue" into "run".
20218 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20220 Partial fix for PR testsuite/1456.
20221 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20222 call to test_compiler_info.
20223 * gdb.cp/ctti.exp: Likewise.
20224 * gdb.cp/derivation.exp: Likewise.
20225 * gdb.cp/member-ptr.exp: Likewise.
20226 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20227 reference to gcc_compiled.
20229 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20231 Fix PR testsuite/1463.
20232 * gdb.base/structs.exp (start_structs_test): Call
20233 get_debug_format before using the debug format.
20235 2003-11-22 Andrew Cagney <cagney@redhat.com>
20237 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20238 * gdb.base/structs.exp: Use gdb_test_multiple.
20240 2003-11-20 Andrew Cagney <cagney@redhat.com>
20242 * gdb.base/structs.exp: Handle and recover from internal errors.
20243 Replace "foo${n}" with "foo<n>" in test messages.
20245 * gdb.base/structs.exp: Update copyright. Rewrite.
20246 * gdb.base/structs.c: Update copyright. Rewrite.
20248 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20249 resync count exceeded.
20251 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20252 from the internal error.
20253 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20254 Original from Jim Blandy.
20255 (gdb_test_multiple): Use gdb_internal_error_resync.
20257 2003-11-19 Andrew Cagney <cagney@redhat.com>
20259 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20262 2003-11-17 Mark Kettenis <kettenis@gnu.org>
20264 New testcase for PR backtrace/1435.
20265 * gdb.arch/i386-unwind.exp: New file.
20266 * gdb.arch/i386-unwind.c: New file.
20268 2003-11-17 Andrew Cagney <cagney@redhat.com>
20270 * lib/gdb.exp (compiler_info): New global.
20271 (test_compiler_info): New function.
20272 (get_compiler_info): Set compiler_info.
20273 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20274 "compiler_info" to gcc-<major>-<minor>.
20276 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20278 * gdb.trace/configure: Remove.
20280 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
20282 * gdb.base/break.c: Add comments to aid finding line numbers for
20284 * gdb.base/break.exp: Remove all references to explicit line
20287 2003-11-11 Nick Clifton <nickc@redhat.com>
20289 * gdb.base/shreloc.exp: Do not run for targets which do not
20290 support shared objects.
20292 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
20294 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20295 Don't run tests if nofileio flag is given.
20297 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
20299 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
20300 as well as 'Watchpoint'.
20302 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
20304 Reported by Jim Ingham <jingham@apple.com>:
20305 * gdb.base/annota1.exp: Match at least one occurrence of the
20306 signal handler annotation.
20308 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
20310 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20311 as well as 'Watchpoint'.
20313 2003-11-05 Michael Chastain <mec@shout.net>
20315 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20317 2003-11-03 Kris Warkentin <kewarken@qnx.com>
20319 * gdb.arch/gdb1291.c: New test file.
20320 * gdb.arch/gdb1291.exp: New test script.
20321 * gdb.arch/gdb1431.c: New test file.
20322 * gdb.arch/gdb1431.exp: New test script.
20324 2003-10-22 Michael Chastain <mec@shout.net>
20326 * gdb.mi/pthreads.c: Add copyright notice.
20328 2003-10-22 Michael Chastain <mec@shout.net>
20330 * gdb.threads/pthreads.c: Add copyright notice.
20332 2003-10-20 Michael Chastain <mec@shout.net>
20334 * gdb.base/gdb1056.exp: New test script.
20336 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
20338 * gdb.threads/killed.exp: Use gdb_run_cmd.
20340 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
20342 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20343 create a core file.
20344 * gdb.threads/gcore-thread.exp: Likewise.
20346 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
20348 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20349 type, based on char type.
20350 (struct bit_flags_short_t): New bitfield type, based on short type.
20351 (init_bit_flags_char): New fuction.
20352 (init_bit_flags_short): Ditto.
20353 (print_bit_flags_char): Ditto.
20354 (print_bit_flags_short): Ditto.
20355 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20357 2003-10-11 Michael Chastain <mec@shout.net>
20359 * gdb.base/call-rt-st.exp: Update copyright year.
20361 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20363 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20364 * gdb.disasm/sh3.s: Ditto.
20366 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
20368 * gdb.threads/switch-threads.exp: New test.
20369 * gdb.threads/switch-threads.c: New source file.
20371 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
20373 * gdb.base/ending-run.exp: Add sh specific case.
20375 2003-10-06 Andrew Cagney <cagney@redhat.com>
20377 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20378 * gdb.disasm/mn10200.exp: Delete obsolete file.
20380 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
20382 * ChangeLog: Correct an entry command.exp -> commands.exp.
20383 * gdb.base/commands.exp (bp_deleted_in_command_test)
20384 (temporary_breakpoint_commands): Check noargs.
20386 2003-09-25 David Carlton <carlton@kealia.com>
20388 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20389 of some print tests, where appropriate. Add tests for C::D::cd,
20390 E::ce, F::cXfX, G::XgX.
20391 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20393 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
20395 * lib/java.exp (java_init): Import target_alias before using it.
20397 2003-09-25 David Carlton <carlton@kealia.com>
20399 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20401 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
20403 * gdb.base/selftest.exp: Accomodate more instruction reordering
20406 2003-09-17 Michael Chastain <mec@shout.net>
20408 * gdb.cp/gdb1355.exp: New file.
20409 * gdb.cp/gdb1355.c: New file.
20411 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
20413 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20414 * gdb.asm/sh.inc: New file.
20416 2003-09-11 David Carlton <carlton@kealia.com>
20418 * gdb.cp/namespace.exp: Add tests for namespace types.
20419 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
20420 (test_namespace): New.
20422 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
20424 * gdb.base/relocate.exp: Handle new gdb output at startup.
20425 * gdb.stabs/weird.exp: Ditto.
20427 2003-09-08 Michael Chastain <mec@shout.net>
20429 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20431 2003-09-07 Michael Chastain <mec@shout.net>
20433 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20436 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20438 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20440 2003-08-30 Michael Chastain <mec@shout.net>
20442 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20443 * gdb.gdb/observer.exp: Ditto.
20444 * gdb.gdb/xfullpath.exp: Ditto.
20446 2003-08-29 Mark Kettenis <kettenis@gnu.org>
20448 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20451 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20453 * gdb.base/dump.exp: Skip for ia64.
20455 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20457 * gdb.asm/asm-source.exp: Add ia64 support.
20458 * gdb.asm/ia64.inc: New file.
20460 2003-08-22 Michael Chastain <mec@shout.net>
20462 * gdb.cp: New directory.
20463 * gdb.cp/*: Copy from gdb.c++/*.
20464 * gdb.c++/*: Remove.
20465 * Makefile.in: Change gdb.c++ to gdb.cp.
20466 * configure.in: Ditto.
20467 * configure: Regnerate.
20469 2003-08-18 Mark Kettenis <kettenis@gnu.org>
20471 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
20472 * gdb.arch/i386-prologue.c (gdb1338): Add function.
20474 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
20476 * mi-var-display.exp (-var-list-children weird): Accept function
20477 pointers with argument types.
20478 * mi1-var-display.exp (-var-list-children weird): Likewise.
20479 * mi2-var-display.exp (-var-list-children weird): Likewise.
20481 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
20483 * gdb.base/annota3.exp: Add missing newline.
20485 2003-08-06 Michael Chastain <mec@shout.net>
20487 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
20489 2003-08-12 Michael Snyder <msnyder@redhat.com>
20491 * gdb.base/float.exp: Add test for SH.
20493 2003-08-10 Mark Kettenis <kettenis@gnu.org>
20495 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
20497 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20499 * gdb.base/completion.exp: Remove reduntant completion test
20502 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20504 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
20505 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
20506 gdb.trace/save-trace.exp: Make sure that full pathnames are
20509 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20511 * configure.in: Don't generate config.h from config.hin.
20512 * configure: Regenerate.
20513 * config.hin: Remove file.
20514 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
20515 * gdb.threads/pthreads.c: Ditto.
20517 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
20519 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20520 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20521 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20522 Replace ld24 with seth/add3.
20524 2003-08-02 Andrew Cagney <cagney@redhat.com>
20526 * gdb.base/annota3.exp: New file.
20527 * gdb.base/annota3.c: New file.
20528 * gdb.c++/annota3.exp: New file.
20529 * gdb.c++/annota3.cc: New file.
20531 2003-07-29 Michael Chastain <mec@shout.net>
20533 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20535 (do_pass): Likewise.
20536 * gdb.threads/tls.exp: Always initialize no_of_threads.
20538 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
20540 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20542 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20543 * gdb.threads/tls.exp: Recognize one case of the host library not
20546 2003-07-27 Andrew Cagney <cagney@redhat.com>
20548 * gdb.base/fileio.exp: Use SH when running commands using
20551 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
20553 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20554 * gdb.base/relocate.c (dummy): New padding array.
20556 2003-07-22 Michael Snyder <msnyder@redhat.com>
20558 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
20560 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20561 patterns to be more general, accepting old and new output.
20562 Some output chars (such as '+') also must be quoted.
20563 Some addresses are displayed numerically instead of
20566 2003-07-23 Michael Snyder <msnyder@redhat.com>
20568 * gdb.base/return2.exp: Don't test long-long return.
20570 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20571 * gdb.disasm/t01_mov.exp: Ditto.
20572 * gdb.disasm/t02_mova.s: Ditto.
20573 * gdb.disasm/t02_mova.exp: Ditto.
20574 * gdb.disasm/t03_add.s: Ditto.
20575 * gdb.disasm/t03_add.exp: Ditto.
20576 * gdb.disasm/t04_sub.s: Ditto.
20577 * gdb.disasm/t04_sub.exp: Ditto.
20578 * gdb.disasm/t05_cmp.s: Ditto.
20579 * gdb.disasm/t05_cmp.exp: Ditto.
20580 * gdb.disasm/t06_ari2.s: Ditto.
20581 * gdb.disasm/t06_ari2.exp: Ditto.
20582 * gdb.disasm/t07_ari3.s: Ditto.
20583 * gdb.disasm/t07_ari3.exp: Ditto.
20584 * gdb.disasm/t08_or.s: Ditto.
20585 * gdb.disasm/t08_or.exp: Ditto.
20586 * gdb.disasm/t09_xor.s: Ditto.
20587 * gdb.disasm/t09_xor.exp: Ditto.
20588 * gdb.disasm/t10_and.s: Ditto.
20589 * gdb.disasm/t10_and.exp: Ditto.
20590 * gdb.disasm/t11_logs.s: Ditto.
20591 * gdb.disasm/t11_logs.exp: Ditto.
20592 * gdb.disasm/t12_bit.s: Ditto.
20593 * gdb.disasm/t12_bit.exp: Ditto.
20594 * gdb.disasm/t13_otr.s: Ditto.
20595 * gdb.disasm/t13_otr.exp: Ditto.
20597 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
20599 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20601 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
20603 * gdb.threads/tls.c : New file.
20604 * gdb.threads/tls.exp : New file.
20605 * gdb.threads/tls-main.c : New file.
20606 * gdb.threads/tls-shared.c : New file.
20607 * gdb.threads/tls-shared.exp : New file.
20609 2003-07-22 Andreas Schwab <schwab@suse.de>
20611 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20613 2003-07-20 Andreas Schwab <schwab@suse.de>
20615 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20616 due to insn reordering.
20618 2003-07-15 Andrew Cagney <cagney@redhat.com>
20620 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20622 2003-07-15 Michael Chastain <mec@shout.net>
20624 * gdb.base/gdb1250.exp: New file.
20625 * gdb.base/gdb1250.c: New file.
20627 2003-07-09 Michal Ludvig <mludvig@suse.cz>
20629 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20630 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20632 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
20634 * gdb.threads/tls.c: New file.
20635 * gdb.threads/tls.exp: New file.
20636 * gdb.threads/tls-main.c: New file.
20637 * gdb.threads/tls-shared.c: New file.
20638 * gdb.threads/tls-shared.exp: New file.
20640 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
20642 * gdb.base/annota1.exp: Make sure that we properly escape the
20643 full path of the source file. Xfail more permissive patterns,
20644 due to a compiler debug info problem.
20646 2003-07-07 Andreas Schwab <schwab@suse.de>
20648 * gdb.asm/m68k.inc: New file.
20649 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20651 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20652 arguments"): Also match negative number.
20654 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20656 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
20658 * gdb.base/store.c (charest): New typedef.
20659 (add_char): Rename to add_charest, update.
20660 (wack_char): Rename to wack_charest, update types. Return l + r
20661 to keep r live across the call.
20662 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20663 (wack_double, wack_doublest): Return l + r to keep r live across
20665 * gdb.base/store.exp: Accomodate store.c changes.
20667 2003-06-30 David Carlton <carlton@kealia.com>
20669 * gdb.c++/maint.exp (test_invalid_name): New.
20670 (test_first_component): Add tests for invalid names.
20672 2003-06-29 Michael Chastain <mec@shout.net>
20674 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20675 output of '<VTT for class>' for virtual base classes.
20677 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20679 * gdb.base/completion.exp: Tab-complete "complet" instead of
20681 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20683 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20685 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20686 * gdb.base/volatile.exp: Likewise.
20688 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20690 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20693 2003-06-28 Michael Chastain <mec@shout.net>
20694 Daniel Jacobowitz <drow@mvista.com>
20696 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20697 initial line count of 'captured_main' from 26 to 32.
20698 (test_with_self): Allow xmalloc call to be interleaved with the
20699 preceding two lines.
20701 2003-06-24 Joel Brobecker <brobecker@gnat.com>
20703 * gdb.base/bang.exp: New testcase.
20705 2003-06-23 Joel Brobecker <brobecker@gnat.com>
20707 * gdb.base/langs.exp: Add some tests for the "minimal" language
20710 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
20712 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20715 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
20717 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20720 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
20722 * gdb.c++/pr-1210.cc: New file.
20723 * gdb.c++/pr-1210.exp: New file.
20725 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
20727 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20730 2003-06-15 Mark Kettenis <kettenis@gnu.org>
20732 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20733 on *-*-*bsd* instead of *-*-freebsd*.
20735 2003-06-14 Andrew Cagney <cagney@redhat.com>
20737 * gdb.base/store.exp: Test longest and doublest. Test all
20738 parameters. Weaken return statement match.
20739 * gdb.base/store.c: Add longest and doublest - aka long long and
20740 long double functions. Put all parameters into local register
20741 variables. Use negative values.
20743 2003-06-14 Andrew Cagney <cagney@redhat.com>
20745 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20746 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20748 * gdb.base/fileio.exp: Disable target when nointerrupts and
20749 noinferiorio, instead of limiting it to remote. Use remote_exec
20752 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20754 * gdb.base/float.exp: Add ia64 support.
20756 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
20758 * gdb.base/fileio.exp: Run only on remote targets.
20760 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
20762 * gdb.base/fileio.c: New file, testing File-I/O.
20763 * gdb.base/fileio.exp: Ditto.
20765 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20767 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20768 shared objects after relocation at load time (gdb PR/1132).
20769 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
20770 as above, part of the shared object relocation test.
20772 2003-06-08 Mark Kettenis <kettenis@gnu.org>
20774 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20775 fully filled history list.
20776 * gdb.base/gdb_history: New file.
20778 * gdb.base/signals.exp: XFAIL "continue to func1" on
20781 * gdb.base/attach.exp: When trying to attach to a nonexistent
20782 process, make it possible to specify the PID based on the target,
20783 and do so for *-*-freebsd*.
20785 2003-06-02 Richard Henderson <rth@redhat.com>
20787 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20789 2003-06-02 Richard Henderson <rth@redhat.com>
20791 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20793 2003-06-02 Richard Henderson <rth@redhat.com>
20795 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20797 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
20799 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20802 2003-06-01 Mark Kettenis <kettenis@gnu.org>
20804 * gdb.asm/asm-source.exp: Check for memory read errors in
20805 disassembler test on *BSD too.
20807 2003-06-01 Richard Henderson <rth@redhat.com>
20809 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20811 (gdbasm_call): Lose ldgp.
20812 (gdbasm_startup): Add frame information.
20813 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20815 2003-05-31 Mark Kettenis <kettenis@gnu.org>
20817 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20820 2003-05-30 Mark Kettenis <kettenis@gnu.org>
20822 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20825 2003-05-29 Richard Henderson <rth@redhat.com>
20827 * gdb.asm/alpha.inc: New file.
20828 * gdb.asm/asm-source.exp: Use it.
20830 2003-05-29 Jim Blandy <jimb@redhat.com>
20832 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20835 2003-05-22 Jim Blandy <jimb@redhat.com>
20837 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20840 2003-05-20 David Carlton <carlton@math.stanford.edu>
20842 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20845 2003-05-19 David Carlton <carlton@bactrian.org>
20847 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20848 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20850 2003-05-19 David Carlton <carlton@bactrian.org>
20852 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20854 Bump copyright date.
20855 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20856 (main): Call C::D::marker2.
20857 * gdb.c++/namespace1.cc: New file.
20859 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20861 Roland McGrath <roland@redhat.com>
20862 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
20863 there is no manager thread.
20865 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
20867 * gdb.threads/schedlock.exp: Remove assumption that all threads
20868 will run in a particular small time slice. Also ensure we break
20869 in one of the child threads rather than the main thread.
20871 2003-05-07 Jim Blandy <jimb@redhat.com>
20873 Add support for assembly source testing on the s390x.
20874 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
20876 * gdb.asm/s390x.inc: New file.
20878 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
20879 succession of 'if' statements.
20881 2003-05-05 Andrew Cagney <cagney@redhat.com>
20883 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
20885 2003-05-05 Andrew Cagney <cagney@redhat.com>
20887 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
20888 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
20890 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
20892 * gdb.base/charset.exp: Update based on new behavior of set/show
20895 2003-05-01 Andrew Cagney <cagney@redhat.com>
20897 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
20898 variable do not give memory errors.
20900 2003-04-30 Adam Fedor <fedor@gnu.org>
20902 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
20903 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
20904 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
20905 gdb.objc/basicclass.m: : New files
20907 * lib/gdb.exp (gdb_compile_objc): New procedure.
20909 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
20911 * gdb.base/signals.exp: Make backtrace tests more specific.
20913 2003-04-23 David Carlton <carlton@bactrian.org>
20915 * gdb.c++/maint.exp (test_first_component): Add tests for
20916 'operator' in more locations.
20918 2003-04-16 Kevin Buettner <kevinb@redhat.com>
20920 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
20922 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
20924 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
20925 func marke' instead. Update test name.
20927 2003-04-15 David Carlton <carlton@math.stanford.edu>
20929 * gdb.c++/maint.exp: New file.
20931 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
20933 * gdb.threads/schedlock.c: Change type of thread function argument
20934 to long, to avoid warnings on 64-bit platforms.
20936 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
20938 * gdb.base/attach.exp: Add new message from ptrace in case of
20939 attaching to nonexistent process.
20941 2003-04-11 Jim Blandy <jimb@redhat.com>
20943 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20944 gdb.c++/userdef.cc: Place comments on the lines to which the
20945 marker function might return.
20946 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20947 gdb.c++/userdef.exp: Look for those comments to check that we've
20948 returned to the right place, instead of checking line numbers.
20950 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
20952 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
20953 match on sourcefile name, instead of directory name.
20955 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
20957 * gdb.base/completion.exp: Use string_to_regexp to match the
20958 working directory name.
20960 2003-04-09 Jim Blandy <jimb@redhat.com>
20962 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20963 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
20964 after an inferior function call, report the failure, but allow the
20967 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20969 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20972 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20974 * gdb.base/break.exp: Revert last patch.
20976 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
20978 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20981 2003-04-02 Andrew Cagney <cagney@redhat.com>
20983 * gdb.base/callfuncs.exp: Make "print add" messages unique.
20984 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
20985 matching directories by the name breakpoint.
20986 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
20987 Make "continue to marker1" consistent.
20988 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
20989 message consistent.
20990 * lib/gdb.exp: Put "the program is no longer running", and "the
20991 program exited" in parenthesis.
20992 * lib/mi-support.exp: Ditto.
20994 2003-04-02 Bob Rossi <bob_rossi@cox.net>
20996 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
20998 2003-03-29 Andrew Cagney <cagney@redhat.com>
21000 * gdb.base/sizeof.c (main): Print the value of '\377'.
21001 * gdb.base/sizeof.exp: Check the sign of '\377'.
21003 2003-03-27 Michael Chastain <mec@shout.net>
21005 * gdb.base/gdb1090.exp: New file.
21006 * gdb.base/gdb1090.cc: New file.
21008 2003-03-27 J. Brobecker <brobecker@gnat.com>
21010 * gdb.gdb/observer.exp: New regression test.
21012 2003-03-27 Michael Chastain <mec@shout.net>
21014 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
21015 * gdb.base/ptype.exp: Likewise.
21017 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
21019 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
21021 2003-03-26 Michael Chastain <mec@shout.net>
21023 * gdb.base/ptype.exp: Actually use some typedef'd types.
21025 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
21027 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
21028 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
21030 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21032 * gdb.base/default.exp: Fix regular expression.
21034 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21036 * gdb.base/args.exp: Fix regular expression.
21038 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21040 * gdb.base/help.exp: Allow Win32 child process.
21042 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21044 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21045 when stepping out of main().
21047 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21049 * gdb.base/default.exp: Check for win32 specific message when calling
21050 "run" without executable.
21052 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21054 * gdb.base/args.exp: Expect .exe in output.
21056 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21058 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21061 2003-03-17 Andrew Cagney <cagney@redhat.com>
21063 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21065 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21066 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21068 2003-03-17 David Carlton <carlton@math.stanford.edu>
21070 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21071 test, for PR breakpoints/38.
21072 Call test_watchpoint_and_breakpoint.
21073 * gdb.base/watchpoint.c (func3): New function.
21074 (main): Call func3.
21076 2003-03-04 David Carlton <carlton@math.stanford.edu>
21078 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21079 Garply<Garply<char> >:: garply".
21080 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21081 with respect to PR c++/1111; note also PR c++/1113.
21082 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21083 respect to PR c++/1062.
21084 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21086 2003-03-03 David Carlton <carlton@math.stanford.edu>
21088 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21089 with respect to PR c++/57.
21090 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21092 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21093 respect to PR c++/57.
21095 2003-03-03 David Carlton <carlton@math.stanford.edu>
21097 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21098 respect to PR c++/33 into FAILs.
21100 2003-03-03 Michael Chastain <mec@shout.net>
21102 * configure.in: Update copyright years.
21104 2003-03-03 Michael Chastain <mec@shout.net>
21106 * Makefile.in: Update copyright years.
21108 2003-02-28 David Carlton <carlton@math.stanford.edu>
21110 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21111 print class instead of struct and/or superfluous protection
21112 specifiers, as long as the resulting output is equivalent to the
21114 Delete FIXME from end of messages on tests that don't need
21117 2003-02-28 David Carlton <carlton@math.stanford.edu>
21119 * gdb.c++/templates.exp (do_tests): Allow const in the two
21120 Foo<volatile char *>::foo tests.
21122 2003-02-27 Michael Snyder <msnyder@redhat.com>
21124 * gdb.base/restore.c (main): Return zero, so exit code
21125 will be consistant.
21127 2003-02-26 David Carlton <carlton@math.stanford.edu>
21129 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21130 char *>::foo" test with respect to PR c++/33. Create a new test
21131 which is identical to that one except that it doesn't put the
21132 space between the "char" and the "*"; KFAIL it, too.
21134 2003-02-26 David Carlton <carlton@math.stanford.edu>
21136 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21137 template types into either PASSes or KFAILs (corresponding to PR
21138 c++/57). Tweak indentation. Update copyright.
21140 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21142 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21144 2003-02-13 Michael Chastain <mec@shout.net>
21146 * gdb.base/exprs.exp: Remove i960 remnants.
21147 * gdb.base/funcargs.exp: Likewise.
21148 * gdb.base/list.exp: Likewise.
21149 * gdb.base/ptype.exp: Likewise.
21151 2003-02-14 David Carlton <carlton@math.stanford.edu>
21153 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21154 pEe->D::vg()" from XFAIL to KFAIL.
21156 2003-02-13 Jason Molenda (jmolenda@apple.com)
21158 * gdb.base/maint.exp: Update maint print statistics regexp to include
21161 2003-02-13 Michael Chastain <mec@shout.net>
21163 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21165 2003-02-12 Michael Chastain <mec@shout.net>
21167 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21168 * gdb.c++/inherit.exp: Likewise.
21169 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21170 * gdb.c++/templates.exp: Likewise.
21171 * gdb.c++/virtfunc.exp: Likewise.
21173 2003-02-06 Jason Molenda (jason-cl@molenda.com)
21175 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21176 why the code is written that way.
21178 2003-02-05 Michael Chastain <mec@shout.net>
21180 * gdb.base/dump.exp: Add missing copyright line.
21182 2003-02-05 Jason Molenda (jason-cl@molenda.com)
21184 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
21185 at the beginning so the breakpoint doesn't get set on the loop.
21187 2003-02-05 Michael Chastain <mec@shout.net>
21189 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21190 output for configurations with gcc 2.95.3.
21192 2003-02-05 Keith Seitz <keiths@redhat.com>
21193 Andrew Cagney <ac131313@redhat.com>
21195 * gdb.mi/mi-cli.exp: New file.
21197 2003-02-04 Michael Chastain <mec@shout.net>
21199 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21200 Call perror and then continue.
21202 2003-02-03 Michael Chastain <mec@shout.net>
21204 * gdb.c++/pr-1023.cc: New file.
21205 * gdb.c++/pr-1023.exp: New file.
21207 2003-02-05 Jim Blandy <jimb@redhat.com>
21209 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21210 it's local to foobar. Check for it there, and check that it's not
21212 * gdb.c++/local.cc (marker2): New function.
21213 (foobar): Call marker1.
21214 (main): Call marker2 instead of marker1.
21216 2003-02-04 Andrew Cagney <ac131313@redhat.com>
21218 * gdb.disasm/mn10200.exp: Obsolete file.
21219 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21220 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21221 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21223 2003-02-04 David Carlton <carlton@math.stanford.edu>
21225 * gdb.c++/overload.exp: Test intToChar(1).
21226 * gdb.c++/overload.cc (intToChar): New.
21227 (main): Call intToChar.
21229 2003-02-03 David Carlton <carlton@math.stanford.edu>
21231 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21233 KFAIL some of the continue_to_bp_overloaded calls, according to
21236 2003-02-01 Michael Chastain <mec@shout.net>
21238 * gdb.base/advance.c (marker1): New marker function.
21239 * gdb.base/advance.exp: When the 'advance' command lands on the
21240 return breakpoint, it can legitimately stop on either the
21241 current line or the next line. Accommodate both outcomes.
21242 * gdb.base/until.exp: Likewise.
21244 2003-02-02 Andrew Cagney <ac131313@redhat.com>
21246 2002-11-10 Jason Molenda (jason-cl@molenda.com):
21247 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21248 now a list, not a tuple.
21249 * gdb.mi/mi-var-display.exp: Ditto.
21250 * gdb.mi/gdb792.exp: Ditto.
21252 2003-02-01 Andrew Cagney <ac131313@redhat.com>
21254 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
21255 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21257 * gdb.mi/mi-syn-frame.c: Part of same.
21259 2003-02-01 Mark Kettenis <kettenis@gnu.org>
21261 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21262 gdb.mi/mi1-pthreads.exp: Return instead of calling
21263 gdb_suppress_entire_file.
21265 2003-02-01 Mark Salter <msalter@redhat.com>
21267 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21269 2003-01-31 Mark Salter <msalter@redhat.com>
21271 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21274 2003-01-30 Michael Chastain <mec@shout.net>
21276 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21277 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21278 has been fixed in gdb/readline on 2003-01-09.
21280 2003-01-29 Michael Snyder <msnyder@redhat.com>
21282 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21283 * gdb.base/display.exp: Allow for leading underscore in symbol.
21284 * gdb.base/args.exp: Skip if target does not support args passing.
21286 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
21288 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
21289 gdb_test. Accept a list of expect arguments as the third
21291 (gdb_test): Use it.
21293 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
21295 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21296 allow for different test tree configurations. Update some
21297 tescases accordingly.
21298 * gdb.arch/altivec-regs.exp: Ditto.
21299 * gdb.asm/asm-source.exp: Ditto.
21300 * gdb.base/advance.exp: Ditto.
21301 * gdb.base/display.exp: Ditto.
21302 * gdb.base/long_long.exp: Ditto.
21303 * gdb.base/mips_pro.exp: Ditto.
21304 * gdb.base/overlays.exp: Ditto.
21305 * gdb.base/relocate.exp: Ditto.
21306 * gdb.base/setshow.exp: Ditto.
21307 * gdb.base/step-line.exp: Ditto.
21308 * gdb.base/step-test.exp: Ditto.
21309 * gdb.base/until.exp: Ditto.
21310 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21312 2003-01-17 David Carlton <carlton@math.stanford.edu>
21314 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21315 corresponding to PR c++/945.
21318 2003-01-17 David Carlton <carlton@math.stanford.edu>
21320 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21321 corresponding to PR c++/68.
21323 2003-01-17 David Carlton <carlton@math.stanford.edu>
21325 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21326 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21327 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21329 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
21331 * gdb.base/break.exp: Fix change of default location, because of
21332 removal of until tests.
21333 * gdb.base/help.exp: Update test for new 'until' help message.
21334 Add test for help on 'advance'.
21335 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
21337 2003-01-15 Mark Kettenis <kettenis@gnu.org>
21339 * gdb.base/default.exp: Adapt "info float" test for recent changes
21340 to that command. Add test for "info vector".
21341 * gdb.base/float.exp: New file. Add test for "info float" that
21342 resembles the old test in gdb.base/default.exp.
21344 2003-01-15 David Carlton <carlton@math.stanford.edu>
21346 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21348 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
21350 * gdb.base/break.exp: Move the tests of until command from here...
21351 * gdb.base/until.exp: ... to here. New file. Add other tests.
21352 * gdb.base/advance.c: New file.
21353 * gdb.base/advance.exp: New file.
21355 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
21357 * gdb.base/args.c: New file.
21358 * gdb.base/args.exp: New file.
21360 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21362 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21364 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21366 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21368 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21370 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21373 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21375 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21377 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21379 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21381 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21383 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21385 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21386 * gdb.mi/mi1-console.exp: Likewise.
21388 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21390 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21391 * gdb.mi/mi1-console.exp: Likewise.
21393 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21395 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21397 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
21399 * gdb.base/detach.exp: New test.
21401 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
21403 * Makefile.in (ALL_SUBDIRS): New variable.
21404 (subdirs, clean, distclean): Use it.
21405 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21406 regenerating Makefile, since it is generated from the top level.
21407 * gdb.asm/Makefile.in: Likewise.
21408 * gdb.base/Makefile.in: Likewise.
21409 * gdb.c++/Makefile.in: Likewise.
21410 * gdb.disasm/Makefile.in: Likewise.
21411 * gdb.java/Makefile.in: Likewise.
21412 * gdb.mi/Makefile.in: Likewise.
21413 * gdb.threads/Makefile.in: Likewise.
21414 * gdb.trace/Makefile.in: Likewise.
21416 2003-01-09 David Carlton <carlton@math.stanford.edu>
21418 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21419 Add copyright year 2003.
21421 2003-01-06 Michael Chastain <mec@shout.net>
21423 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21424 When selecting a thread, 'line' and 'file' are optional.
21425 * gdb.mi/mi1-pthreads.exp: Likewise.
21427 2003-01-06 Andreas Schwab <schwab@suse.de>
21429 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21432 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21435 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21436 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21438 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21439 instead of calling gdb_suppress_entire_file.
21440 * gdb.threads/print-threads.exp: Likewise.
21441 * gdb.threads/schedlock.exp: Likewise.
21443 * gdb.threads/killed.exp: Return instead of calling
21444 gdb_suppress_entire_file.
21445 * gdb.threads/linux-dp.exp: Likewise.
21446 * gdb.threads/pthreads.exp: Likewise.
21448 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21450 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21452 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21453 * gdb.base/whatis.exp: Always allow (void) after function names.
21455 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21457 * gdb.c++/casts.exp: Correct regexp.
21459 2003-01-04 Mark Kettenis <kettenis@gnu.org>
21461 * configure.in: Call AC_CONFIG_HEADER. Don't call
21462 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21463 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21464 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21465 aforementioned directories in the AC_OUPUT call.
21466 * config.hin: New file.
21467 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21468 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
21469 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
21470 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
21471 pass -I$objdir instead of -I$objdir/$subdir in compilation.
21472 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
21473 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
21474 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
21475 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
21476 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
21477 gdb.threads/configure.in, gdb.threads/configure,
21478 gdb.threads/config.in, gdb.trace/configure.in,
21479 gdb.trace/configure: Removed.
21481 2003-01-03 Michael Chastain <mec@shout.net>
21483 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
21484 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
21486 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
21488 * gdb.base/store.exp: Fix regular expressions.
21490 2002-12-28 Mark Kettenis <kettenis@gnu.org>
21492 * configure.in: Rewrite.
21493 * configure: Regenerated.
21495 2003-01-03 David Carlton <carlton@math.stanford.edu>
21497 * gdb.base/psymtab.exp: New file.
21498 * gdb.base/psymtab1.c: Ditto.
21499 * gdb.base/psymtab2.c: Ditto.
21501 2002-12-23 Adam Fedor <fedor@gnu.org>
21503 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
21505 2002-12-23 David Carlton <carlton@math.stanford.edu>
21507 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
21508 and current_directory initialization.
21510 2002-12-22 Jim Blandy <jimb@redhat.com>
21512 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
21513 rather than as part of the output file name.
21515 * gdb.base/attach.exp: There's no need to copy the test program to
21516 /tmp; that was only ever necessary on HP/UX, and this test is
21517 entirely disabled there anyway.
21519 2002-12-21 Jim Blandy <jimb@redhat.com>
21521 * gdb.c++/psmang.exp: Doc fix.
21523 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21526 2002-12-20 David Carlton <carlton@math.stanford.edu>
21528 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21530 2002-12-18 Michael Chastain <mec@shout.net>
21532 * gdb.c++/annota2.exp: Add copyright year 2002.
21534 2002-12-17 David Carlton <carlton@math.stanford.edu>
21536 * gdb.c++/try_catch.cc: Add marker comments.
21537 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21538 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21539 * gdb.c++/m-static.cc: Ditto.
21540 * gdb.c++/m-static1.cc: Ditto.
21541 * gdb.c++/try_catch.cc: Ditto.
21543 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21545 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21546 to see whether we are using the new -environment-directory
21547 command which resets via -r or the old version of the command
21548 which may prompt the user. Part of fix for gdb/741.
21550 2002-12-13 Andrew Cagney <ac131313@redhat.com>
21552 * gdb.fortran/types.exp: Update obsolete comment.
21553 * gdb.fortran/exprs.exp: Ditto.
21554 * lib/gdb.exp: Delete obsolete code.
21555 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21556 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21557 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21558 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21559 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21560 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21561 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21562 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21563 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21564 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21565 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21566 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21567 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21568 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21569 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21570 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21571 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21572 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21573 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21574 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21575 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21576 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21577 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21578 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21579 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21580 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21581 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21582 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21583 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21584 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21585 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21586 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21587 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21588 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21589 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21590 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21591 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21593 2002-12-11 David Carlton <carlton@math.stanford.edu>
21595 * gdb.c++/m-data.exp: Add test for members that shadow global
21596 variables: see PR gdb/804.
21597 * gdb.c++/m-data.cc: Ditto.
21599 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
21601 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21603 2002-12-06 David Carlton <carlton@math.stanford.edu>
21605 * gdb.base/store.c: Don't declare functions static.
21607 2002-12-04 Andrew Cagney <ac131313@redhat.com>
21609 * gdb.base/store.exp, gdb.base/store.c: New files.
21611 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21613 * gdb.base/selftest.exp: Update for current gdb.
21615 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21617 * gdb.base/maint.exp: Only dump symbols from one source file
21620 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21622 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21625 2002-11-25 Jim Blandy <jimb@redhat.com>
21627 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21628 function appearing in error message.
21630 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
21632 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21634 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21636 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21637 for mi1 and current mi is in correct format. New mi startup message
21638 should be in mi console format. This is part of fix for PR gdb/604.
21640 2002-09-18 Fernando Nasser <fnasser@redhat.com>
21642 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21643 which explicitly prints the zero offset as "+0".
21645 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
21647 * gdb.threads/schedlock.c (args): Make unsigned.
21649 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
21651 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21652 numbers. Allow "foo2|selected stack frame".
21653 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21654 * gdb.asm/asmsrc2.s: Likewise.
21655 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21657 * gdb.asm/mips.inc: New file.
21659 2002-10-18 Adam Fedor <fedor@gnu.org>
21661 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21662 * gdb.base/help.exp: Likewise.
21664 2002-10-17 Kevin Buettner <kevinb@redhat.com>
21666 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21667 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21669 2002-10-02 Jim Blandy <jimb@redhat.com>
21671 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21673 2002-10-01 Andrew Cagney <ac131313@redhat.com>
21675 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21676 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21677 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21678 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21679 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21680 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21681 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21683 2002-09-29 Andrew Cagney <ac131313@redhat.com>
21685 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21686 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21687 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21688 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21689 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21690 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21691 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
21693 2002-09-27 Kevin Buettner <kevinb@redhat.com>
21695 * gdb.base/annota1.exp (info break): Make directory components of
21696 path optional since not all compilers emit this debug information.
21698 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21699 step ends up stepping out of the function instead of stopping on
21702 2002-09-26 Keith Seitz <keiths@redhat.com>
21704 * lib/insight-support.exp (gdbtk_start): Figure out where
21705 the insight executable is based on where gdb is. Use this
21706 executable to start insight instead of gdb.
21708 2002-09-25 Andrew Cagney <cagney@redhat.com>
21710 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21712 2002-09-24 Andrew Cagney <ac131313@redhat.com>
21714 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21715 test_isolated_complaints.
21716 (test_empty_complaint): New function.
21717 (test_empty_complaints): New function. Check no output when no
21720 2002-09-19 Jim Blandy <jimb@redhat.com>
21722 * gdb.base/charset.exp, gdb.base/charset.c: New files.
21724 2002-09-19 Andrew Cagney <ac131313@redhat.com>
21726 * gdb.gdb/complaints.exp: New file.
21728 2002-09-18 Andrew Cagney <ac131313@redhat.com>
21730 * gdb.base/maint.exp: Check `help maint internal-warning'.
21732 2002-09-18 David Carlton <carlton@math.stanford.edu>
21734 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21735 numbers, and replace them by a single breakpoint after the
21736 constructors are all finished.
21738 * gdb.c++/m-static.cc: Add test 4.
21739 * gdb.c++/m-static.h: New file.
21740 * gdb.c++/m-static1.cc: New file.
21742 * gdb.c++/printmethod.exp: New file.
21743 * gdb.c++/printmethod.cc: New file.
21745 * gdb.c++/pr-574.exp: New file.
21746 * gdb.c++/pr-574.cc: New file.
21748 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21750 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21751 embedded targets which never actually exit.
21753 2002-09-18 Fernando Nasser <fnasser@redhat.com>
21755 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21756 "don't step after run" as unresolved or unsupported, instead of xfail.
21758 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21760 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21761 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21762 Add newline to expected string in "step out of main (status wrapper)"
21765 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21767 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21768 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21770 2002-09-17 Tom Tromey <tromey@redhat.com>
21772 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21773 \000, not \0, in double-quoted string.
21775 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
21777 * gdb.base/commands.exp: Don't expect a "Program exited normally"
21778 string after running the commands execution on breakpoint tests.
21780 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
21782 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21784 2002-09-12 Joel Brobecker <brobecker@gnat.com>
21786 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21788 2002-09-10 Keith Seitz <keiths@redhat.com>
21790 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21792 (mi_run_to_main): Use mi_runto.
21793 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21795 2002-09-10 Keith Seitz <keiths@redhat.com>
21797 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21798 regexp for stopping at main. Could have multiple event notifications.
21799 Don't assume that main was declared with no parameters.
21800 (mi_next): Use mi_step_to.
21801 (mi_step): Use mi_next_to.
21803 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
21805 * gdb.base/default.exp: Fix expected string in `info float' test.
21807 2002-09-09 Ben Elliston <bje@redhat.com>
21809 * config/mips.exp: Update comments.
21810 * config/mips-idt.exp: Likewise.
21811 * config/nind.exp: Likewise.
21812 * config/slite.exp: Likewise.
21813 * config/sparclet.exp: Likewise.
21814 * config/udi.exp: Likewise.
21815 * config/vx.exp: Likewise.
21816 * config/vxworks29k.exp: Likewise.
21818 2002-09-05 Jim Blandy <jimb@redhat.com>
21820 * gdb.threads/killed.exp: Fix test failure message.
21822 2002-09-04 Keith Seitz <keiths@redhat.com>
21824 * lib/mi-support.exp: Update copyright.
21825 (mi_gdb_test): Increase the priority of the expected pattern
21826 so that it matches gdb_test.
21828 2002-09-03 Keith Seitz <keiths@redhat.com>
21830 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21831 Use integer comparison instead of string comparison for testing
21832 whether binary was built.
21834 2002-09-03 Jim Blandy <jimb@redhat.com>
21836 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21838 2002-08-29 Jim Blandy <jimb@redhat.com>
21840 * gdb.threads/pthreads.exp: Move the portable thread compilation
21841 code into a function in lib/gdb.exp, and call that from here.
21842 * lib/gdb.exp (gdb_compile_pthreads): New function.
21844 2002-08-29 Keith Seitz <keiths@redhat.com>
21846 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21847 expect_out so that callers can get at it.
21849 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
21851 * gdb.threads/print-threads.c: New file.
21852 * gdb.threads/print-threads.exp: New file.
21853 * gdb.threads/schedlock.c: New file.
21854 * gdb.threads/schedlock.exp: New file.
21856 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
21858 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21861 2002-08-17 Mark Kettenis <kettenis@gnu.org>
21863 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21864 targets. The problem should be fixed now.
21866 2002-08-15 Mark Kettenis <kettenis@gnu.org>
21868 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
21869 2002-07-24 change that removes final dots from error messages.
21871 2002-08-13 Tom Tromey <tromey@redhat.com>
21873 * gdb.base/readline.exp: New file.
21875 2002-08-01 Andrew Cagney <ac131313@redhat.com>
21877 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
21880 2002-08-01 Andrew Cagney <cagney@redhat.com>
21882 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
21883 CHILL_FOR_TARGET and CHILL_LIB.
21884 * configure.in (configdirs): Remove gdb.chill.
21885 * configure: Regenerate.
21886 * lib/gdb.exp: Obsolete references to chill.
21887 * gdb.fortran/types.exp: Ditto.
21888 * gdb.fortran/exprs.exp: Ditto.
21890 2002-07-30 Kevin Buettner <kevinb@redhat.com>
21892 * gdb.base/shlib-call.exp (additional_flags): Conditionally
21893 set Irix-specific compile and link flags.
21895 2002-07-29 Kevin Buettner <kevinb@redhat.com>
21897 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
21898 source files. The ``-o'' option doesn't work with the ``-E'' option
21899 when using the Irix compiler.
21901 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
21903 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
21904 Improve support for reusing an exec file. Copy exec file
21905 to target, and run gdbserver on the target instead of on the host.
21907 2002-07-18 Jim Blandy <jimb@redhat.com>
21909 * gdb.base/ending-run.exp: Don't expect to see the program end in
21910 some orderly fashion when we're running on a real stand-alone
21913 * gdb.base/interrupt.exp: Correct logic for skipping tests on
21914 targets that don't support interrupts.
21916 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
21918 * gdb.base/attach.exp: Add patterns to match output from /proc-based
21920 Move comments in expect statements to inside the actions, so that they
21921 don't get matched against.
21923 2002-07-10 Mark Kettenis <kettenis@gnu.org>
21925 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
21926 function when asleep" test.
21928 2002-07-10 Andrew Cagney <ac131313@redhat.com>
21930 * gdb.base/page.exp: Rewrite to handle problems with very long
21931 `info set' output. Update copyright.
21933 2002-06-26 Andrew Cagney <ac131313@redhat.com>
21935 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
21937 * gdb.hp/configure: Regenerate.
21938 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
21939 * gdb.hp/gdb.threads-hp/configure: Delete file.
21940 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
21942 2002-06-22 Andrew Cagney <ac131313@redhat.com>
21944 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
21945 setlocale, bindtextdomain and textdomain.
21947 2002-06-11 Jim Blandy <jimb@redhat.com>
21949 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
21950 preprocessor macro information is present.
21952 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
21955 2002-06-06 Michael Snyder <msnyder@redhat.com>
21957 * gdb.base/overlays.exp: Record addresses of overlay
21958 functions in TCL variables rather than in GDB variables,
21959 to avoid having GDB convert them to pointers (with loss
21962 * gdb.base/d10v.ld: Merge in several years worth of
21963 default linker script changes.
21964 * gdb.base/long_long.exp: Add check for sizeof (long double).
21966 2002-06-06 Michal Ludvig <mludvig@suse.cz>
21968 * gdb.asm/asm-source.exp: Add x86-64 target.
21969 * gdb.asm/x86_64.inc: New.
21971 2002-05-30 Michael Chastain <mec@shout.net>
21973 From Benjamin Kosnik <bkoz@redhat.com>:
21974 * gdb.c++/m-static.cc: New file.
21975 * gdb.c++/m-static.exp: New file.
21977 2002-05-28 Michael Snyder <msnyder@redhat.com>
21979 * gdb.base/call-ar-st.exp: Allow for reduced floating point
21982 2002-05-27 Michael Chastain <mec@shout.net>
21984 From Benjamin Kosnik <bkoz@redhat.com>:
21985 * gdb.c++/m-data.cc: New file.
21986 * gdb.c++/m-data.exp: New file.
21988 2002-05-27 Michael Chastain <mec@shout.net>
21990 From Benjamin Kosnik <bkoz@redhat.com>:
21991 * gdb.c++/try_catch.cc: New file.
21992 * gdb.c++/try_catch.exp: New file.
21994 2002-05-27 Michael Chastain <mec@shout.net>
21996 * gdb.c++/local.exp: Accept more nested types in output.
21998 2002-05-26 Michael Chastain <mec@shout.net>
22000 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
22002 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
22004 * lib/gdb.exp (gdb_wrapper_init): Just because
22005 gdb_wrapper_file exists, this does not mean that the file
22006 should not be rebuilt. That is what gdb_wrapper_initialized
22008 (default_gdb_init): Reset gdb_wrapper_initialized.
22010 2002-05-23 Michael Snyder <msnyder@redhat.com>
22012 * gdb.base/all-bin.exp: Revise previous patch by just reducing
22013 the precision of the floating point test results.
22014 * gdb.base/call-rt-st.exp: Ditto.
22016 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
22017 * gdb.base/call-rt-st.exp: Ditto.
22019 2002-05-19 Michael Chastain <mec@shout.net>
22021 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
22023 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
22025 * configure.in (configdirs): Add gdb.arch.
22026 * configure: Regenerate.
22028 2002-05-17 Jim Blandy <jimb@redhat.com>
22030 * gdb.base/completion.exp: Recognize the more detailed error
22031 messages produced by the macro expander's lexical analyzer.
22033 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
22035 * gdb.arch/altivec-abi.c: New file.
22036 * gdb.arch/altivec-abi.exp: New file.
22037 * gdb.arch/altivec-regs.c: New file.
22038 * gdb.arch/altivec-regs.exp: New file.
22040 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
22042 * gdb.base/maint.exp (maint print type): Update for new type
22045 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
22047 * gdb.arch: New directory.
22048 * gdb.arch/configure.in: New file.
22049 * gdb.arch/configure: New file.
22050 * gdb.arch/Makefile.in: New file.
22052 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
22054 * gdb.asm/asm-source.exp: Add v850 as supported target.
22055 * gdb.asm/v850.inc: New file.
22057 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
22059 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22061 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
22063 * gdb.base/break.exp: Check 'break "marker2"'.
22065 2002-05-10 Michael Snyder <msnyder@redhat.com>
22067 * gdb.base/long_long.exp: Fix typo.
22069 2002-05-10 Jim Blandy <jimb@redhat.com>
22071 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22074 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22075 Recognize more detailed error message produced by the macro
22076 expander's lexical analyzer.
22077 * lib/gdb.exp (test_print_reject): Same.
22079 2002-05-09 Mark Kettenis <kettenis@gnu.org>
22081 * gdb.c++/method.exp: Fix typo.
22083 2002-05-08 Michael Snyder <msnyder@redhat.com>
22085 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22086 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
22087 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
22088 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22089 Add iftarget clause for strongarm.
22091 2002-05-06 Michael Snyder <msnyder@redhat.com>
22093 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22094 (gdb_continue_to_end): Accept output from status wrapper.
22095 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22096 Clean up fail messages to match pass messages.
22098 Enable the "needs_status_wrapper" testsuite feature.
22099 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22100 (gdb_compile): Conditionally call gdb_wrapper_init.
22101 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22102 * gdb.c++/method.exp: Recognize output from status wrapper.
22104 2002-05-06 Ben Elliston <bje@redhat.com>
22105 From Graydon Hoare <graydon@redhat.com>
22107 * config/sid.exp: Include support for "rawsid" protocol.
22109 2002-05-03 Jim Blandy <jimb@redhat.com>
22111 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22112 * gdb.c++/hang3.C: New file.
22114 2002-05-04 Andrew Cagney <ac131313@redhat.com>
22116 * gdb.base/default.exp: Remove obsolete code.
22117 * gdb.c++/misc.exp: Ditto. Update copyright.
22118 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22119 * gdb.base/whatis.exp: Ditto. Update copyright.
22120 * gdb.base/scope.exp: Ditto. Update copyright.
22121 * gdb.base/ptype.exp: Ditto. Update copyright.
22122 * gdb.base/printcmds.exp: Ditto. Update copyright.
22123 * gdb.base/opaque.exp: Ditto. Update copyright.
22124 * gdb.base/list.exp: Ditto.
22125 * gdb.base/funcargs.exp: Ditto. Update copyright.
22126 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22127 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22128 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22129 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22130 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22131 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22133 2002-05-02 Michael Snyder <msnyder@redhat.com>
22135 * gdb.base/watchpoint.exp: Add xscale target.
22136 * gdb.base/long_long.exp: Add xscale target.
22137 * gdb.base/default.exp: Add xscale target.
22139 2002-05-01 Jim Blandy <jimb@redhat.com>
22141 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22142 gdb.c++/hang.exp: New test.
22144 2002-05-01 Fred Fish <fnf@redhat.com>
22146 * gdb.base/completion.exp: Handle completions of "./Make" for
22147 more than one completion possibility, as is the case when we
22148 build and test in the source tree.
22150 2002-04-29 Anthony Green <green@redhat.com>
22152 * gdb.java/jmisc1.exp: New file.
22153 * gdb.java/jmisc2.exp: New file.
22155 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
22157 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22159 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
22161 * gdb.base/help.exp: Change 'help status' to allow for target
22162 dependent output differences.
22164 2002-04-22 Michael Chastain <mec@shout.net>
22166 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22168 2002-04-22 Michael Chastain <mec@shout.net>
22170 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22172 2002-04-17 David S. Miller <davem@redhat.com>
22174 * gdb.asm/sparc64.inc: New file.
22175 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22177 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
22179 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22180 instruction file directly into the build tree. Clean up at end of
22183 2002-04-18 David S. Miller <davem@redhat.com>
22185 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22186 handle 64-bit platforms correctly.
22187 * gdb.base/maint.exp: Likewise.
22189 2002-04-18 Kevin Buettner <kevinb@redhat.com>
22191 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22192 ``-fpic'' when compiling files comprising a shared library, but
22193 it does need additional linker flags in order to find shared
22194 libraries at run time.
22196 2002-04-18 Kevin Buettner <kevinb@redhat.com>
22198 * gdb.base/cvexpr.c (use): New function.
22199 (main): Invoke use() on all global variables to prevent
22200 some linkers from deleting these otherwise unused symbols.
22202 2002-04-17 Michael Chastain <mec@shout.net>
22203 From David S. Miller <davem@redhat.com>
22205 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22206 handle 64-bit platforms correctly.
22208 2002-04-12 Michael Snyder <msnyder@redhat.com>
22209 From Jim Blandy <jimb@redhat.com>
22210 * gdb.base/foo.c (foox): Remove section attribute; the linker
22211 script can handle this instead.
22212 * gdb.base/bar.c (barx): Same.
22213 * gdb.base/baz.c (bazx): Same.
22214 * gdb.base/grbx.c (grbxx): Same.
22216 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22217 manager doesn't automatically unmap overlays unnecessarily.
22219 2002-04-10 Martin M. Hunt <hunt@redhat.com>
22221 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22222 stepping out of main.
22224 2002-04-09 Michael Chastain <mec@shout.net>
22226 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22227 scope so that the nested scope tests will make sense.
22228 * gdb.c++/local.exp: Write patterns that actually work with gcc
22229 (the HP patterns "were never known to work with gcc").
22230 Keep the old aCC patterns too.
22232 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
22234 * gdb.base/attach.exp: Correct target board test.
22236 2002-04-08 Michael Chastain <mec@shout.net>
22238 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22239 in a const method. Add some xfail and fail cases for configurations
22240 that do not emit the "const ...".
22242 2002-04-07 Michael Chastain <mec@shout.net>
22244 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22245 Accept "A * const" and "const A * const" as type of "this".
22246 Fix spelling of getFunky throughout. Make messages uniform.
22248 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
22250 Work around for PR gdb/285:
22251 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22253 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
22255 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22256 instructions file at run time instead of configure time.
22257 Sometimes we run the test in a directory that is not the one we
22259 * gdb.asm/configure.in: Delete creation of symlink.
22260 * gdb.asm/configure: Regenerate.
22262 2002-04-05 J. Brobecker <brobecker@gnat.com>
22264 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22265 xfullpath () function.
22267 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
22269 * gdb.asm/Makefile.in: Correct dependencies.
22271 * gdb.asm/powerpc.inc: New file.
22272 * gdb.asm/asm-source.exp: Add PowerPC.
22273 * gdb.asm/configure.in: Likewise.
22274 * gdb.asm/configure: Regenerated.
22276 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
22278 * gdb.base/relocate.exp: New file.
22279 * gdb.base/relocate.c: New file.
22281 2002-04-04 Fred Fish <fnf@redhat.com>
22283 * gdb.base/step-test.exp: Update comment regarding stopping in
22284 memcpy/bcopy calls inserted as part of the compiler runtime.
22286 2002-04-04 Michael Snyder <msnyder@redhat.com>
22288 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22290 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
22292 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22293 (gdb_expect): Remove $notransfer hack.
22295 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
22297 * gdb.c++/classes.exp ("calling method for small class"): Match
22298 updated register output.
22300 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
22303 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22304 when finished. Make gdb_file_cmd send "exec-file" when
22307 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
22309 * gdb.base/attach.exp: Remove extra setup_xfail.
22311 2002-03-26 Michael Snyder <msnyder@redhat.com>
22313 * gdb.base/default.exp: Add tests for dump, append, and restore.
22314 * gdb.base/help.exp: Add tests for dump, append, and restore.
22315 * gdb.base/dump.exp: New file, test dump, append and restore.
22316 * gdb.base/dump.c: New file.
22318 2002-03-27 Michael Snyder <msnyder@redhat.com>
22320 * gdb.base/help.exp: Modify expect strings to reflect
22321 clean-ups in help messages.
22323 2002-03-26 Fred Fish <fnf@redhat.com>
22325 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22326 have debugging info for those functions and the compiler uses them
22327 internally to copy structs around.
22329 2002-03-26 Fred Fish <fnf@redhat.com>
22331 * gdb.base/list.exp: Revert the change made yesterday and add note
22332 about why we don't list the default lines for remote targets.
22334 2002-03-25 Michael Snyder <msnyder@redhat.com>
22336 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22338 2002-03-25 Fred Fish <fnf@redhat.com>
22340 * gdb.base/list.exp: This test works on remote targets so remove
22341 the short circuit for remote targets. Update copyright.
22343 2002-03-25 Fred Fish <fnf@redhat.com>
22345 * gdb.base/attach.exp: Fix logic error that was suppressing this
22346 test for all non hppa*-*-hpux* targets, instead of the hp target.
22347 Move comments closer to the suppression point. Also now need to
22348 check that we are running natively.
22350 2002-03-22 Michael Snyder <msnyder@redhat.com>
22352 * gdb.base/default.exp: Add test for gcore. Update copyright.
22353 * gdb.base/help.exp: Add test for gcore. Update copyright.
22355 2002-03-06 Fred Fish <fnf@redhat.com>
22357 * gdb.base/funcargs.c: Remove extraneous ';' character.
22358 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22360 2002-03-04 Michael Chastain <mec@shout.net>
22362 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22363 accommodate gcc v3 function signature.
22364 * gdb.mi/mi0-var-cmd-exp: Ditto.
22366 2002-02-24 Andrew Cagney <ac131313@redhat.com>
22368 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22369 ``GNU/Linux'' or ``Linux kernel''
22370 * testsuite/gdb.threads/pthreads.c: Ditto.
22372 2002-02-24 Michael Chastain <mec@shout.net>
22374 * gdb.threads/pthreads.c (thread1): Add a return statement.
22375 (thread2): Likewise.
22378 2002-02-23 Michael Chastain <mec@shout.net>
22380 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22383 2002-02-23 Michael Chastain <mec@shout.net>
22385 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22386 test "ptype bint". The test passes on all my stabs configurations.
22388 2002-02-21 Jim Blandy <jimb@redhat.com>
22390 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22391 filename at a time, and watch for the ones we want to see.
22393 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22394 types of pointers to prototyped functions.
22396 2002-02-20 Andrew Cagney <ac131313@redhat.com>
22398 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22399 signed, unsigned and straight char.
22400 (padding_char, padding_short, padding_int, padding_long,
22401 padding_long_long, padding_float, padding_double,
22402 padding_long_double): New global variables.
22403 (fill, fill_structs): New functions.
22405 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22406 for correctly sized writes. Update copyright.
22407 (get_valueof): New procedure.
22408 (get_sizeof): Call get_valueof.
22409 (check_valueof): New procedure.
22410 (check_padding): New procedure.
22412 2002-02-20 Michael Chastain <mec@shout.net>
22414 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22415 to setup_xfail. Document some of the remaining calls.
22417 2002-02-18 Michael Chastain <mec@shout.net>
22419 * gdb.c++/userdef.exp: Update copyright year.
22421 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
22423 * gdb.c++/userdef.exp: Test overloaded operators properly.
22426 2002-02-14 Michael Snyder <msnyder@redhat.com>
22428 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22430 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
22432 * gdb.base/a2-run.exp: Check for a remote target properly.
22433 * gdb.base/annota1.exp: Likewise.
22434 * gdb.base/list.exp: Likewise.
22435 * gdb.base/reread.exp: Likewise.
22436 * gdb.base/scope.exp: Likewise.
22437 * gdb.base/shlib-call.exp: Likewise.
22438 * gdb.base/term.exp: Likewise.
22439 * gdb.c++/annota2.exp: Likewise.
22441 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
22443 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22445 2002-02-10 Michael Chastain <mec@shout.net>
22447 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22448 (call_after_alloca): Ditto.
22450 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
22452 * gdb.base/ending-run.exp: Guard "cont" test with
22453 gdb_skip_stdio_test.
22455 2002-02-06 Jim Blandy <jimb@redhat.com>
22457 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22459 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22460 To here. Disable this test on non-HP platforms. Add big comment.
22462 2002-02-04 Michael Snyder <msnyder@redhat.com>
22464 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22465 other than d10v and m32r.
22467 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
22469 * gdb.base/default.exp: Rewrite test patterns to reduce time
22470 taken to match them.
22472 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22474 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
22475 Allow a start function above main.
22476 * gdb.threads/linux-dp.exp: Fix copyright date.
22478 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22480 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
22481 (check_philosopher_stack): Check for manager thread before checking
22482 for a just-starting thread.
22484 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22486 From Neil Booth <neil@daikokuya.demon.co.uk>:
22487 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
22490 2002-01-21 Fred Fish <fnf@redhat.com>
22492 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
22495 2002-01-21 Jim Blandy <jimb@redhat.com>
22497 * gdb.base/reread.exp: Check that GDB properly re-reads the
22498 executable file when it changes while no inferior is running.
22500 2002-01-21 Fred Fish <fnf@redhat.com>
22502 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
22503 optionally accept the "shlib events" variation.
22505 2002-01-21 Jim Blandy <jimb@redhat.com>
22507 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
22508 call `fflush' after every `printf', so that the output is produced
22509 at predictable points, regardless of whatever buffering does (or
22510 doesn't) take place.
22511 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
22512 at different points.
22514 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
22516 * gdb.c++/inherit.exp: Update copyright years.
22517 * gdb.c++/method.exp: Likewise.
22519 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
22521 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22522 artificial methods/arguments.
22523 * gdb.c++/derivation.exp: Likewise.
22524 * gdb.c++/inherit.exp: Likewise.
22525 * gdb.c++/method.exp: Likewise.
22526 * gdb.c++/virtfunc.exp: Likewise.
22528 2002-01-18 Andrew Cagney <ac131313@redhat.com>
22530 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22531 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22532 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22533 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22534 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22535 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22537 2002-01-17 Jim Blandy <jimb@redhat.com>
22539 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22540 anchoring the pattern matching the entry point symbol's name.
22542 2002-01-17 Andrew Cagney <ac131313@redhat.com>
22544 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22545 continue/quit query. Update copyright.
22547 2002-01-14 Michael Snyder <msnyder@redhat.com>
22549 * gdb.base/gcore.exp: Remove extra debugging output.
22551 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
22553 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22554 for slightly dubious v2 mangled string.
22556 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
22558 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22560 2002-01-10 Jason Merrill <jason@redhat.com>
22562 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
22564 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22566 * gdb.c++/derivation.exp: Likewise.
22567 * gdb.c++/templates.exp: Likewise.
22568 * gdb.c++/virtfunc.exp: Likewise.
22570 2002-01-10 Michael Snyder <msnyder@redhat.com>
22572 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
22574 2002-01-08 Michael Snyder <msnyder@redhat.com>
22576 * gdb.base/gcore.exp: New test for generate-core-file command.
22577 * gdb.base/gcore.c: Testcase for above.
22578 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22580 2002-01-08 Jason Merrill <jason@redhat.com>
22582 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22584 2002-01-07 Fred Fish <fnf@redhat.com>
22586 * gdb.c++/overload.exp: Remove unconditional xfails for:
22587 print foo_instance1.overloadargs(1)
22588 print foo_instance1.overloadargs(1, 2)
22589 print foo_instance1.overloadargs(1, 2, 3)
22590 print foo_instance1.overloadargs(1, 2, 3, 4)
22591 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22592 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22593 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22594 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22595 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22596 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22597 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22598 print foo_instance1.overload1arg()
22599 print foo_instance1.overload1arg((char)arg2)
22600 print foo_instance1.overload1arg((signed char)arg3)
22601 print foo_instance1.overload1arg((unsigned char)arg4)
22602 print foo_instance1.overload1arg((int)arg7)
22603 print foo_instance1.overload1arg((unsigned int)arg8)
22604 print foo_instance1.overload1arg((float)arg11)
22605 print foo_instance1.overload1arg((double)arg12)
22607 2002-01-07 Michael Snyder <msnyder@redhat.com>
22609 * gdb.base/huge.exp: New test. Print a very large target data object.
22610 (skip_huge_test): New test variable. Define if you want to skip this
22611 test. The test reads an 8 megabyte data object from the target, so it
22612 might be very time consuming on remote targets with a slow connection.
22613 * gdb.base/huge.c: New file. Test case for above.
22615 2002-01-07 Fred Fish <fnf@redhat.com>
22617 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22618 g_instance.bfoo, and g_instance.cfoo.
22620 2002-01-07 Jeffrey A Law <law@redhat.com>
22622 * gdb.base/break.c (multi_line_if_conditional): New function.
22623 (multi_ilne_while_conditional): Likewise.
22624 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22625 IF or WHILE condition puts the breakpoint at the start of
22628 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22629 hppa*-*-hpux* expected failure.
22630 * gdb.base/structs.exp (do_function_calls): Similarly.
22632 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22635 2002-01-06 Andrew Cagney <ac131313@redhat.com>
22638 * gdb.base/structs.exp: Replace skip for a29k with skip for
22639 gdb,cannot_call_functions.
22640 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22641 * gdb.base/callfuncs.exp: Ditto.
22642 * gdb.base/call-rt-st.exp: Ditto.
22643 * gdb.base/call-strs.exp: Ditto.
22644 * gdb.base/callfwmall.exp: Ditto.
22645 * gdb.base/scope.exp: Obsolete xfail a29k.
22646 * gdb.c++/misc.exp: Ditto.
22647 * gdb.c++/cplusfuncs.exp: Ditto.
22648 * gdb.base/ptype.exp: Ditto.
22649 * gdb.base/printcmds.exp: Ditto.
22650 * gdb.base/opaque.exp: Ditto.
22651 * gdb.base/list.exp: Ditto.
22652 * gdb.base/funcargs.exp: Ditto.
22653 * gdb.base/default.exp: Ditto.
22655 2002-01-04 Michael Snyder <msnyder@redhat.com>
22657 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
22658 * gdb.base/maint.exp: Add tests for maint info sections options.
22660 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22662 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22664 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
22666 * gdb.asm/arm.inc: New file.
22667 * gdb.asm/asm-source.exp: Add arm targets.
22668 * gdb.asm/configure.in: Ditto.
22669 * gdb.asm/configure: Recreated from configure.in.
22671 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22673 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22674 with HP's compiler.
22675 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22676 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22677 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22678 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22680 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22681 either HP's compilers or GCC.
22683 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22684 a SIGBUS or SIGSEGV.
22686 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22688 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22689 can be compiled with either HP's compiler or GCC.
22691 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22692 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22693 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22695 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22696 to match current gdb output. Update due to using auto-solib-limit
22697 for limiting instead of overloading auto-solib-add.
22698 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22701 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
22702 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22703 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22704 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22705 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22706 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22707 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22708 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22709 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22710 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22711 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22712 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22713 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
22715 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22716 a SIGTRAP to the inferior.
22718 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
22720 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22721 Substitute call to target_link by call to gdb_compile.
22723 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22725 * gdb.base/break.exp: Fix HP specific search string when testing
22726 backtracing in a called function.
22728 * gdb.base/constvars.exp: Only set lang to C++ if we're
22729 compiling the test with HP's compilers.
22730 * gdb.base/volatile.exp: Similarly.
22732 2001-12-19 Jim Blandy <jimb@redhat.com>
22734 * gdb.base/printcmds.exp: Expect the null character to be printed
22735 as '\0', and the '\013' to be printed as '\v'.
22736 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22737 * gdb.base/setvar.exp: Same.
22739 2001-12-17 Jim Blandy <jimb@redhat.com>
22741 * gdb.base/completion.exp: Rather than completing very long
22742 filenames, which can make the readline library produce output we
22743 don't recognize, cd to the directory first, and then complete
22744 using nice, short relative paths.
22746 * gdb.base/completion.exp: On some systems, there is, in fact, a
22747 variable named `b' in scope, since GDB treats all static
22748 variables as being in scope. So use `no_var_named_this'
22751 * gdb.base/corefile.exp: Recognize the message saying that GDB
22752 can't find the core file's registers as a failure.
22754 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22756 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22757 test expect string more specific.
22759 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
22761 * gdb.asm/asm-source.exp: Add support for xstormy16.
22762 * gdb.asm/configure.in: Ditto.
22763 * gdb.asm/configure: Rebuild.
22764 * gdb.asm/xstormy16.inc: New file.
22766 2001-12-10 Fred Fish <fnf@redhat.com>
22768 * gdb.base/maint.exp: Update to match changes in type dumping code.
22770 2001-12-10 Jim Blandy <jimb@redhat.com>
22772 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
22773 matching the entry point symbol's name at the beginning of the
22776 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
22778 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22779 gdb.c++/inherit.exp, gdb.c++/method.exp,
22780 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22781 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22782 and class layout support.
22784 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
22786 * gdb.c++/classes.exp: Add test for static member function.
22787 * gdb.c++/misc.cc: Add class with static member function.
22789 2001-12-07 Jim Blandy <jimb@redhat.com>
22791 If GDB says it can't find the struct the function returned, report
22792 those tests as `unsupported'.
22793 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22794 Rewrite subsequent tests to use it.
22796 If GDB says it can't find the struct the function returned, report
22797 those tests as `unsupported'.
22798 * gdb.base/structs.exp (call_struct_func): New function.
22799 (do_function_calls): Use call_struct_func to call the functions
22802 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22803 whether functions are prototyped or not, so we can't possibly pass
22804 arguments to t_float_values2 properly.
22806 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22807 value of `timeout' for targets other than the mips*tx39-*.
22809 2001-12-06 Michael Snyder <msnyder@redhat.com>
22811 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
22812 and detect whether the start symbol has a leading underscore.
22814 2001-12-04 Jim Blandy <jimb@redhat.com>
22816 * gdb.base/completion.exp: Clarify indentation.
22818 2001-12-03 Jim Blandy <jimb@redhat.com>
22820 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22821 variables on the S/390, not `.word'.
22823 2001-11-30 Jim Blandy <jimb@redhat.com>
22825 Add assembly-source tests for s390-ibm-linux.
22826 * gdb.asm/s390.inc: New file.
22827 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22828 the S/390 architecture.
22829 * gdb.asm/configure: Regenerated.
22831 2001-11-30 Michael Snyder <msnyder@redhat.com>
22833 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22834 next, info source, info sources, info line, global and static
22835 variables, and static functions.
22836 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22837 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22838 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22839 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22840 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22841 (gdbasm_leave): Restore frame pointer.
22842 (gdbasm_startup): Copy stack set-up from crt0.S.
22844 2001-11-26 Fernando Nasser <fnasser@redhat.com>
22846 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22847 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22848 to a local (non-static) variable. Copy tstruct.a to a static buffer
22849 and return a pointer to that buffer.
22850 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22852 2001-11-24 Mark Kettenis <kettenis@gnu.org>
22854 * gdb.asm/configure.in: Fix recognition of ix86 target.
22855 * gdb.asm/configure: Regenerate.
22857 2001-11-21 Michael Snyder <msnyder@redhat.com>
22859 * gdb.asm/sparc.inc: New file.
22860 * gdb.asm/asm-source.exp: Recognize sparc target.
22861 * gdb.asm/configure.in: Recognize sparc target.
22862 * gdb.asm/configure: Regenerate.
22864 2001-11-21 Michael Snyder <msnyder@redhat.com>
22866 * gdb.asm/m32r.inc: New file.
22867 * gdb.asm/asm-source.exp: Recognize m32r target.
22868 * gdb.asm/configure.in: Recognize m32r target.
22869 * gdb.asm/configure: Regenerate.
22871 2001-11-20 Michael Snyder <msnyder@redhat.com>
22873 * gdb.asm/i386.inc: New file.
22874 * gdb.asm/asm-source.exp: Recognize ix86 target.
22875 * gdb.asm/configure.in: Recognize ix86 target.
22876 * gdb.asm/configure: Regenerate.
22878 * gdb.c++/namespace.exp: Fix quotes in output messages.
22880 2001-11-14 Michael Snyder <msnyder@redhat.com>
22882 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
22883 qualifier in a type cast expression, to designate an address
22884 in the instruction space (Harvard architecture).
22886 2001-11-13 Michael Snyder <msnyder@redhat.com>
22888 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
22889 Tests for expressions using 'const' and 'volatile'.
22891 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
22893 * gdb.asm/asm-sources.exp: Allow defining linker flags.
22895 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
22897 * lib/mi-support.exp (mi_run_to_helper): Move comments
22898 outside of gdb_expect.
22900 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
22902 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
22903 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
22904 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
22905 mi0_run_to): New functions.
22906 * gdb.mi/mi-simplerun.exp: Use them.
22907 * gdb.mi/mi0-simplerun.exp: Likewise.
22908 * gdb.mi/mi-var-cmd.exp: Likewise.
22909 * gdb.mi/mi0-var-cmd.exp: Likewise.
22911 2001-11-10 Andrew Cagney <ac131313@redhat.com>
22913 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
22914 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
22916 2001-11-09 Andrew Cagney <ac131313@redhat.com>
22918 * gdb.base/restore.exp: Include $expected value in restored test
22921 2001-11-09 Andrew Cagney <ac131313@redhat.com>
22923 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
22926 2001-11-08 Michael Snyder <msnyder@redhat.com>
22928 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
22929 Add pass/fail message for stop at breakpoint in call dummy function.
22931 2001-11-07 Michael Snyder <msnyder@redhat.com>
22933 * gdb.c++/templates.exp (test_template_breakpoints):
22934 If we get an overload menu, but it does not match what
22935 we expect, we still need to issue the "cancel" command.
22936 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
22937 making the whitespace optional. Argument for "new" may be
22938 "unsigned" as well as "unsigned int/long".
22939 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
22940 making the whitespace optional. Also replace "(void) with
22941 "((void|)), making the keyword "void" optional.
22942 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
22943 making the whitespace optional. Also replace "(void) with
22944 "((void|)), making the keyword "void" optional.
22945 * gdb.base/callfuncs.c (t_float_values): This function must
22946 _not_ be prototyped, and the following function (t_float_values2)
22947 must be prototyped (if the compiler supports it), so that GDB
22948 can be tested against both cases. Usually one case involves
22949 promotion of float to double, while the other does not.
22950 * gdb.base/callfwmall.c: Ditto.
22951 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
22952 includes a stack frame for "start".
22954 2001-11-05 Jim Blandy <jimb@redhat.com>
22956 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
22957 pointers are 32 bits long, and that offsets of relocs are always
22958 stored in the data (REL-style), and not in the reloc entry itself
22960 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
22963 2001-11-01 Michael Snyder <msnyder@redhat.com>
22965 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
22966 and regular expression operators by using quoting.
22968 2001-10-31 Michael Snyder <msnyder@redhat.com>
22970 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
22971 depending on what the symbol table contains.
22972 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
22973 the output of the ptype command. Similarly, accept both "const &"
22976 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
22978 * gdb.base/miscexprs.c (main): Add usage of preprocessor
22979 symbol `STORAGE' to allow to choose the storage class of
22980 the local datastructures.
22981 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
22982 compiler directive.
22984 2001-10-30 Michael Snyder <msnyder@redhat.com>
22986 * gdb.base/jump.exp: Allow it to run for all targets.
22988 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
22990 * gdb.base/call-ar-st.c (print_double_array): Match for loop
22991 with new double_array size.
22992 (main): Change storage class of all local variables to static.
22993 Reduce size of double_array to 9.
22994 * gdb.base/call-ar-st.exp: Increase timeout value.
22995 Change expected output for double array to match new size in
22998 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
23000 * gdb.base/ending-run.exp: Create identical output when passing
23001 `step to end of run' case. Add regular expression branch satisfying
23004 2001-10-28 Mark Kettenis <kettenis@gnu.org>
23006 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
23007 that we catch the expected failure under Linux/x86.
23009 2001-10-29 Orjan Friberg <orjanf@axis.com>
23011 * gdb.base/setvar.exp: Escape curly braces.
23012 * gdb.stabs/weird.exp: Ditto.
23014 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
23016 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
23017 * gdm.mi/mi0-hack-cli.exp: Likewise.
23019 2001-10-25 Andrew Cagney <ac131313@redhat.com>
23021 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
23024 2001-10-21 Andrew Cagney <ac131313@redhat.com>
23026 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
23027 checking MI enabled.
23029 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
23031 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
23033 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
23035 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
23036 if gdb child process crashes, just signal an error.
23038 2001-10-02 Jim Blandy <jimb@redhat.com>
23040 * lib/gdb.exp (test_xfail_format): Simplify.
23042 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
23043 front of the variable name `format'. Simplify `if'.
23045 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
23047 * gdb.threads/pthreads.exp: Wait for output and delay
23050 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
23052 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23053 some incorrect output instead of timing out.
23054 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23056 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
23058 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23059 check to allow additional `int'.
23061 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
23063 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23064 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23066 2001-09-27 Michael Snyder <msnyder@redhat.com>
23068 * lib/gdb.exp (test_debug_format): New proc.
23069 (setup_xfail_format): Use new proc test_debug_format.
23070 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23071 proc; use new service proc test_debug_format.
23072 Replace all other "gcc_compiled" tests with this test.
23073 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23074 proc; use new service proc test_debug_format.
23075 Replace all other "gcc_compiled" tests with this test.
23077 2001-09-27 Michael Snyder <msnyder@redhat.com>
23079 * gdb.base/cvexpr.exp: New file.
23080 * gdb.base/cvexpr.c: New file
23081 Test for expressions using const and volatile keywords.
23083 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
23085 * gdb.base/constvars.exp: Check for different orders of keywords
23086 and additional "int" strings in output.
23088 2001-09-22 Andrew Cagney <ac131313@redhat.com>
23090 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23091 responses from "help maint".
23093 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
23095 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23096 to localhost:NNN instead of :NNN, in case Xvfb is listening
23099 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
23101 * gdb.base/recurse.exp: When checking leaving the watchpoint
23102 scope, recognize when gdb is in function's epilogue and pass.
23104 2001-09-18 Keith Seitz <keiths@redhat.com>
23106 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23107 support for running tests against sid targets.
23108 (gdbtk_done): Ditto.
23110 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
23112 * gdb.base/ending-run.c (main): Set stdout buffersize
23113 to the same reasonable value for any target.
23114 * gdb.base/ending-run.exp: Add a regular expression
23115 to make testsuite happy on Sanyo Stormy16 target.
23117 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
23119 * gdb.base/display.c (do_loops): Add float variable `f'.
23120 Increment f in loop.
23121 * gdb.base/display.exp: Increment timeout by 60 seconds.
23122 Change float display test to use variable `f'.
23124 2001-09-17 Jim Blandy <jimb@redhat.com>
23126 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23127 overflowing the limited breakpoint tables on some ROM monitors
23130 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
23132 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23133 the "-ac" (disable access control) flag.
23135 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
23137 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23140 2001-08-30 Keith Seitz <keiths@redhat.com>
23142 * lib/gdb.exp: Move all insight-related functionality into
23144 * lib/insight-support.exp: New file.
23146 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
23148 * config/sid.exp (sid_start): Never set sid verbosity; disable
23149 expect_background {} that consumed its stdout; tolerate </dev/null.
23150 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23152 2001-08-18 Andrew Cagney <ac131313@redhat.com>
23154 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23155 CLI jump command to start it.
23156 (mi_run_to_main): Fail immediatly when unexpected output.
23158 2001-08-18 Andrew Cagney <ac131313@redhat.com>
23160 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23161 beginning of function. Fix PR gdb/191.
23163 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
23165 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23166 what to force sid endianness to.
23168 2001-08-15 Keith Seitz <keiths@redhat.com>
23170 * lib/gdb.exp (gdbtk_start): Don't set environment
23171 variables for TCL_LIBRARY and friends. Insight will
23172 now figure these out for itself.
23174 2001-08-02 Michael Snyder <msnyder@redhat.com>
23176 * gdb.base/completion.exp: Remove the symbol "a64l" from
23177 the expect string; this is target-specific, and not related
23178 to what is being tested.
23180 2001-08-02 Dave Brolley <brolley@redhat.com>
23182 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23184 2001-07-25 Michael Snyder <msnyder@redhat.com>
23186 * gdb.base/consecutive.exp: New file. Test stepping over
23187 breakpoints on consecutive instructions.
23188 * gdb.base/consecutive.c: New file.
23190 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23191 curly braces in regular expressions.
23193 2001-07-25 Michael Snyder <msnyder@redhat.com>
23195 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23196 legitimate output from stepping out of main.
23198 2001-07-22 Keith Seitz <keiths@redhat.com>
23200 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23201 the empty string, do not run the tests.
23203 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23205 * gdb.base/long_long.exp: Detect size of pointer. Take into
23206 account 2-byte pointers when testing for p/a results.
23208 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23210 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
23211 and defined to 1K for m68hc11.
23212 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23213 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23214 (sizeof_random_data): New variable to tell the size of the data table;
23215 don't test past this size; always run to main.
23217 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23219 * gdb.base/return2.exp: return of long long and double fails for
23220 68HC11; don't execute these tests on that platform.
23221 * gdb.base/return.exp: Return of a double fails for 68hc11.
23223 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23225 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23226 tests that print a float.
23227 * call-rt-st.exp: Likewise.
23229 2001-07-12 Mark Kettenis <kettenis@gnu.org>
23231 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23232 running this test on Linux.
23234 2001-06-24 Michael Chastain <chastain@redhat.com>
23236 * gdb.base/arithmet.exp: Remove some tests to make all test names
23239 2001-07-03 Michael Snyder <msnyder@redhat.com>
23241 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23242 the output of the ptype command.
23244 2001-07-02 Michael Snyder <msnyder@redhat.com>
23246 * gdb.base/completion.exp: Don't assume that break.c is the only
23247 source file that may contain functions named "marker".
23248 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23250 2001-06-28 Andrew Cagney <ac131313@redhat.com>
23252 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23253 of files to delete.
23255 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23256 * gdb.disasm/h8300s.exp: New file.
23257 gdb.disasm/h8300s.s: Likewise.
23259 2001-06-27 Andrew Cagney <ac131313@redhat.com>
23261 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23262 empty breakpoint tables.
23264 2001-06-25 Andrew Cagney <ac131313@redhat.com>
23266 * lib/mi-support.exp: Update args=... part of stop-reason
23267 patterns. Accept either a list or a tuple.
23269 2001-06-23 Andrew Cagney <ac131313@redhat.com>
23271 * lib/mi-support.exp: Remove local emacs variable defining
23272 change-log-default-name.
23274 2001-06-22 Michael Chastain <chastain@redhat.com>
23276 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23277 This is operationally compatible with the previous version.
23279 2001-06-13 Jim Blandy <jimb@redhat.com>
23281 * lib/gdb.exp (gdb_test): Doc fix.
23283 2001-06-10 Michael Chastain <chastain@redhat.com>
23285 * gdb.base/exprs.exp: Remove a duplicate test.
23287 2001-06-06 Jim Blandy <jimb@redhat.com>
23289 * gdb.base/return2.exp (main): Use values to test float and double
23290 returns that are not NaN's, to avoid being confused by IEEE
23293 2001-06-04 Michael Snyder <msnyder@redhat.com>
23295 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
23296 non-zero if control_c fails. Terminate the test on failure,
23297 rather than wait for 12 more tests to time out.
23299 2001-06-06 Jim Blandy <jimb@redhat.com>
23301 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
23302 Don't forget to match the GDB prompt.
23304 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23306 2001-06-04 Jim Blandy <jimb@redhat.com>
23308 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23311 2001-05-31 Kevin Buettner <kevinb@redhat.com>
23313 * gdb.base/annota1.exp (info break): Match four or more spaces
23316 2001-05-31 Michael Chastain <chastain@redhat.com>
23318 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23319 (dm_type_int_star): Likewise.
23320 (dm_type_long_star): Likewise.
23321 (dm_type_void_star): Likewise.
23323 2001-05-29 Kevin Buettner <kevinb@redhat.com>
23325 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23326 to a known value in order to get consistent results regardless
23327 of the setting of INPUTRC or the presence or contents of .inputrc.
23329 2001-05-24 Michael Snyder <msnyder@redhat.com>
23331 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23332 Don't require that the main thread and the manager thread are the
23335 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23336 debugging. If test fails, issue an "unsupported" not a "fail".
23338 2001-05-24 Jim Blandy <jimb@redhat.com>
23340 Don't assume that short is shorter than int.
23341 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23342 assume that shorts are smaller than ints. On a 16-bit machine,
23344 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23345 an int, is not equal to ~0 stored in an unsigned char. This tests
23346 the same thing that the previous test meant to, but works on
23347 16-bit machines, too.
23348 ("print unsigned char != (~0)"): Same test, complemented.
23350 2001-05-24 Michael Snyder <msnyder@redhat.com>
23352 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
23353 test for (full_coverage == 0). This makes the test run faster,
23354 and prevents dejagnu getting out of step.
23356 2001-05-23 Kevin Buettner <kevinb@redhat.com>
23358 * gdb.base/finish.exp (finish_void): Revise pattern for
23359 stopping on the call statement to not permit stopping at
23360 the start of the instructions comprising the call sequence.
23362 2001-05-19 Michael Chastain <chastain@redhat.com>
23364 * gdb.base/callfuncs.exp: Make all test names unique.
23365 * gdb.base/commands.exp: Make all test names unique.
23366 * gdb.base/condbreak.exp: Make all test names unique.
23367 * gdb.base/dbx.exp: Make all test names unique.
23368 * gdb.base/default.exp: Make all test names unique.
23369 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23370 and TIMEOUT messages to their corresponding PASS message.
23371 * gdb.base/ending-run.exp: Make all test names unique.
23372 * gdb.base/long_long.exp: Remove duplicate test.
23374 2001-05-21 Kevin Buettner <kevinb@redhat.com>
23376 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23377 stop on the call statement as well as the statement after the
23380 2001-05-21 Michael Snyder <msnyder@redhat.com>
23382 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23384 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
23386 * gdb.base/completion.exp: Revamp test. Make it execute on all
23389 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
23391 * config/gdbserver.exp (gdb_load): Handle the case
23392 in which the arguments to gdbserver are given in the
23393 baseboard configuration file.
23394 Also handle the case in which the server needs to do a
23397 2001-05-07 Keith Seitz <keiths@cygnus.com>
23399 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23400 set up the display for testing.
23401 (gdbtk_start): Convert all paths to paths that tcl will like.
23402 Export target information to environment.
23403 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23405 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23406 (to_tcl_path): New proc to convert a given pathname into
23407 a path acceptible as an argument to a tcl command.
23408 (_gdbtk_export_target_info): New proc to export target info
23409 into the environment for gdbtk testing.
23410 (gdbtk_done): New proc to signal end-of-test.
23412 2001-05-06 Jim Blandy <jimb@redhat.com>
23414 * restore.c: Make the code of caller0 correspond to its comment.
23416 2001-05-03 Michael Snyder <msnyder@redhat.com>
23418 * config/sid.exp (gdb_target_sid): Check for error messages.
23419 On error or timeout, don't make expect exit (which will terminate
23420 all subsequent tests); instead just make gdb exit.
23421 (gdb_load): Check for error messages. On error or timeout,
23422 return a negative value.
23424 2001-04-24 Jim Blandy <jimb@redhat.com>
23426 * gdb.c++/templates.exp: If we see the prompt for the overload
23427 list, but we haven't recognized any of the longer patterns,
23428 arrange for this test to fail, not hang.
23430 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23433 2001-04-22 Michael Chastain <chastain@redhat.com>
23435 * gdb.c++/local.exp: Use the 'runto' library function.
23436 * gdb.c++/namespace.exp: Likewise.
23437 * gdb.c++/overload.exp: Likewise.
23439 2001-03-26 Kevin Buettner <kevinb@redhat.com>
23441 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23442 * gdb.base/step-line.exp: New file. Test step/next in presence of
23444 * gdb.base/step-line.c: New file. Test program for the above.
23445 * gdb.base/step-line.inp: New file. We pretend that this file has
23446 been transformed by some other tool into step-line.c.
23448 2001-03-21 Jim Blandy <jimb@redhat.com>
23450 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23451 unmangled operator names.
23453 2001-03-20 Jim Blandy <jimb@redhat.com>
23455 * gdb.threads/linux-dp.exp: Recognize an additional message
23456 generated by GDB when it doesn't understand how to debug threads
23457 on the target system.
23459 2001-03-19 Andrew Cagney <ac131313@redhat.com>
23461 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23463 2001-03-12 Michael Chastain <chastain@redhat.com>
23465 * gdb.c++/derivation.exp: Use the 'runto' library function.
23467 2001-03-12 Michael Chastain <chastain@redhat.com>
23469 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
23471 2001-02-24 Michael Chastain <chastain@redhat.com>
23473 * gdb.c++/ref-types.exp: Change handwritten code to library
23476 2001-03-16 Orjan Friberg <orjanf@axis.com>
23478 * gdb.base/signals.exp: Set count to 0 explicitly.
23480 2001-03-15 Mark Salter <msalter@redhat.com>
23482 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
23483 (gdb_target_monitor): Add check of gdb_target_cmd return value.
23484 (gdb_load): Add support for additional target_info: gdb_download_size
23485 and gdb_load_timeout.
23487 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
23489 * gdb.base/annota1.exp: Move test of isnative to earlier in the
23490 file -- to prevent failing when the compile fails but we have no
23491 intention of running the tests anyway.
23493 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
23496 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
23499 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
23500 * gdb.c++/namespace.exp: Ditto.
23502 2001-03-07 Orjan Friberg <orjanf@axis.com>
23504 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
23505 * gdb.base/pointers.exp: Relax pattern match of decimals.
23507 2001-03-06 Kevin Buettner <kevinb@redhat.com>
23509 * Makefile.in, config/abug.exp, config/cfdbug.exp,
23510 config/cpu32bug.exp, config/dve.exp, config/est.exp,
23511 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
23512 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
23513 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
23514 config/sh.exp, config/sid.exp, config/slite.exp,
23515 config/sparclet.exp, config/udi.exp, config/unknown.exp,
23516 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
23517 config/vxworks.exp, config/vxworks29k.exp,
23518 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23519 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23520 gdb.base/arithmet.exp, gdb.base/assign.exp,
23521 gdb.base/async.exp, gdb.base/attach.exp,
23522 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23523 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23524 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23525 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23526 gdb.base/commands.exp, gdb.base/completion.exp,
23527 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23528 gdb.base/constvars.exp, gdb.base/corefile.exp,
23529 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23530 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23531 gdb.base/ending-run.exp, gdb.base/environ.exp,
23532 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23533 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23534 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23535 gdb.base/funcargs.exp, gdb.base/help.exp,
23536 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23537 gdb.base/logical.exp, gdb.base/long_long.exp,
23538 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23539 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23540 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23541 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23542 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23543 gdb.base/regs.exp, gdb.base/relational.exp,
23544 gdb.base/remote.exp, gdb.base/reread.exp,
23545 gdb.base/restore.exp, gdb.base/return2.exp,
23546 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23547 gdb.base/selftest.exp, gdb.base/setshow.exp,
23548 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23549 gdb.base/sigall.exp, gdb.base/signals.exp,
23550 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23551 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23552 gdb.base/step-test.exp, gdb.base/structs.c,
23553 gdb.base/structs.exp, gdb.base/structs2.exp,
23554 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23555 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23556 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23557 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23558 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23559 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23560 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23561 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23562 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23563 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23564 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23565 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23566 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23567 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23568 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23569 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23570 gdb.trace/circ.exp, gdb.trace/collection.exp,
23571 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23572 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23573 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23574 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23575 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23576 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23577 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23580 2001-02-27 Michael Snyder <msnyder@cygnus.com>
23582 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23583 first arg is int not float.
23585 2001-02-22 Michael Snyder <msnyder@cygnus.com>
23587 * gdb.base/reread.exp: Unsupported for non-native targets;
23588 doesn't work for remote debugging.
23590 2001-02-19 Fernando Nasser <fnasser@redhat.com>
23592 From Drew Moseley <dmoseley@redhat.com>
23593 * gdb.base/ending-run.exp: Properly handle the BSP state when
23594 stepping past the end of main.
23596 2001-02-19 John Moore <jmoore@redhat.com>
23598 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23599 Converted HPUX fix for non-expected items following multiple
23600 step commands into general solution for all platforms.
23602 2001-02-18 Michael Chastain <chastain@redhat.com>
23604 * gdb.c++/classes.exp (do_tests): Change runto statements
23605 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23606 statements demangler agnostic.
23607 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23608 (gdb_virtfunc_restart): Likewise.
23610 2001-02-14 Michael Chastain <chastain@redhat.com>
23612 * gdb.c++/inherit.exp (do_tests): Change runto statements
23613 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23614 statements demangler agnostic.
23616 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23618 * gdb.threads/pthreads.exp: Unify pass/fail messages for
23619 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23620 before calling common_routine 15 times'' tests.
23622 2001-02-11 Michael Chastain <chastain@redhat.com>
23624 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23625 Helps the test script figure out which demangler is in use.
23626 (dm_type_foo_ref): Ditto.
23627 (dm_type_int_star): Ditto.
23628 (dm_type_long_star): Ditto.
23629 (dm_type_unsigned_int): Ditto.
23630 (dm_type_void): Ditto.
23631 (dm_type_void_star): Ditto.
23632 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
23633 Probe the gdb demangler and set variables to accommodate
23634 formatting differences.
23635 (info_func_regexp): New function. Same as info_func, but
23636 matches against a regexp.
23637 (info_func): Match against a literal string.
23638 (print_addr_2): New function. Match against a literal string,
23639 which can be different from the input to gdb.
23640 (print_addr): Simply call print_addr_2 with the same argument twice.
23641 (test_lookup_operator_functions): Use demangler formatting variables.
23642 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23643 the tests in the same order as the C++ class declaration.
23644 (test_paddr_operator_functions): Ditto.
23645 (test_paddr_overloaded_functions): Ditto.
23646 (test_paddr_hairy_functions): Use demangler formatting variables.
23647 Add reference to gdb/19 for related tests.
23648 (do_tests): Call probe_demangler.
23650 2001-01-30 Kevin Buettner <kevinb@redhat.com>
23652 * gdb.c++/templates.cc (printf): Remove unused function definition.
23654 2001-01-26 Felix Lee <flee@redhat.com>
23656 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23658 2001-01-25 matthew green <mrg@redhat.com>
23660 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23662 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23664 2001-01-25 matthew green <mrg@redhat.com>
23666 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
23667 Deprecate $sid_spawn_id.
23668 (sid_exit): Remove code necessary only for `spawn.'
23670 2001-01-25 matthew green <mrg@redhat.com>
23672 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23674 2001-01-28 Michael Chastain <chastain@redhat.com>
23676 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23677 to call when tests fail. It takes gdb out of the overloaded
23678 function choice menu back to the main prompt, so that the test
23679 program stays synchronized.
23680 (set_bp_overloaded): New proc to collect all the common
23681 code for setting a breakpoint on an overloaded name. Calls
23682 take_gdb_out_of_choice_menu when needed.
23683 (menu_overload1arg): New variable to collect the repeated
23684 instances of the expected menu for an overloaded name. Change
23685 the regular expression to handle changes in g++ type encoding:
23686 "void" can be either "void" or "", and "unsigned int" can be
23687 either "unsigned int" or "unsigned".
23688 (continue_to_bp_overloaded): Change regular expressions to handle
23689 changes in g++ type encoding.
23690 (no proc): Call take_gdb_out_of_choice_menu when needed.
23691 Remove redundant calls to "info break". Accept either "canceled"
23692 or "cancelled". Change regular expressions in "info break"
23693 calls to handle changes in g++ type encoding. Give all tests
23696 2001-01-17 Ben Elliston <bje@redhat.com>
23698 * config/sid.exp: New file.
23700 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23702 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23704 2000-12-21 Michael Snyder <msnyder@cygnus.com>
23706 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23707 Add a RE to accept a non-ascii char if one is ever presented.
23709 2000-12-20 Fernando Nasser <fnasser@redhat.com>
23711 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
23713 2000-12-18 Michael Snyder <msnyder@cygnus.com>
23715 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
23716 in regexp. One '\' does not suffice on Linux.
23718 2000-12-09 Michael Chastain <chastain@redhat.com>
23720 * gdb.base/break.exp (test_clear_command): Use a marker function
23721 rather than 'main' for the test function. Also move this
23722 test to an execution point where the marker function names are
23723 guaranteed to be bound to functions. (Executing tests after a
23724 'finish' from main runs into name conflicts with local names
23725 in __libc_start_main).
23727 2000-12-07 Michael Snyder <msnyder@cygnus.com>
23729 * gdb.base/finish.exp: New test for gdb's "finish" command.
23730 * gdb.base/return2.exp: New test for gdb's "return" command.
23731 * gdb.base/return2.c: New source file for above.
23733 2000-12-05 Michael Snyder <msnyder@cygnus.com>
23735 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23736 * gdb.base/miscexprs.exp: Ditto.
23737 * gdb.base/pointers.exp: Ditto.
23738 * gdb.c++/derivation.exp: Ditto.
23739 * gdb.c++/local.exp: Ditto.
23740 * gdb.c++/namespace.exp: Ditto.
23741 * gdb.c++/overload.exp: Ditto.
23742 * gdb.c++/ref-types.exp: Ditto.
23744 2000-12-05 Michael Snyder <msnyder@cygnus.com>
23746 * gdb.base/constvars.exp: Test result of "up" command.
23747 * gdb.base/miscexprs.exp: Ditto.
23748 * gdb.base/pointers.exp: Ditto.
23749 * gdb.base/scope.exp: Ditto.
23750 * gdb.c++/derivation.exp: Ditto.
23751 * gdb.c++/local.exp: Ditto.
23752 * gdb.c++/namespace.exp: Ditto.
23753 * gdb.c++/overload.exp: Ditto.
23754 * gdb.c++/ref-types.exp: Ditto.
23756 2000-11-22 Michael Chastain <chastain@redhat.com>
23758 * mips_pro.exp: Accept either "middle -> top -> main" or
23759 "middle -> main" in the backtrace, because gcc can optimize
23760 tail calls to jumps. Remove setup_xfail for the hppa case.
23761 Add a comment with the original warning messages from PR 3016,
23762 which was filed in 1993, to preserve them for posterity.
23764 2000-11-17 Nick Duffek <nsd@redhat.com>
23766 * lib/gdb.exp (gdb_test): Override timeout with board info.
23768 2000-11-17 Nick Duffek <nsd@redhat.com>
23770 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23771 the second kill and detach messages.
23773 2000-11-17 Nick Duffek <nsd@redhat.com>
23775 * configure.in: Add AC_EXEEXT.
23776 * configure: Regenerate.
23777 * Makefile.in (just-check): Export EXEEXT.
23778 * lib/gdb.exp ($EXEEXT): Import from environment.
23779 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23780 expect "maint dump-me" on Cygwin.
23781 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23784 2000-11-17 Nick Duffek <nsd@redhat.com>
23786 * gdb.base/break.exp: Test backtrace and finish from called
23787 function on all platforms, not just HP-UX.
23789 2000-11-03 Michael Snyder <msnyder@cygnus.com>
23791 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23792 code from gdb_target_monitor, so it can be used independantly
23793 for gdbserver. Also comment out an unnecessary PUTS.
23795 2000-11-03 Michael Snyder <msnyder@cygnus.com>
23797 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23798 * gdb.base/corefile.exp: Expect the message "Program is being
23799 debugged already" when we send the "corefile" command, since
23800 the preceeding gdb_load may have connected gdb to a remote target.
23801 * gdb.base/display.exp: Disable hardware watchpoints if new
23802 board info variable "no_hardware_watchpoints" is true.
23803 Replace single-letter commands with more readable ones.
23804 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23805 if new board info variable "no_hardware_watchpoints" is true.
23806 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23807 to see if stdio (printf) testing is possible.
23808 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23809 board info variable "no_hardware_watchpoints" is true. Use new
23810 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23812 2000-11-13 Fernando Nasser <fnasser@redhat.com>
23814 From Orjan Friberg <orjanf@axis.com>:
23815 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23816 in array print pattern match.
23818 2000-11-09 Fernando Nasser <fnasser@redhat.com>
23820 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23821 spelling "cancelled" to U.S. spelling "canceled" to match changes
23823 * gdb.c++/ovldbreak.exp: Ditto.
23825 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23827 * gdb.base/callfuncs.c (main): Moved to end of file, call
23828 t_double_values to initialize the FPU before inferior calls are made.
23829 * gdb.base/callfuncs.exp: Test for register preservation after calling
23830 inferior functions. Add tests for continuining, finishing and
23831 returning from a stop in a call dummy.
23833 2000-10-24 Michael Snyder <msnyder@cygnus.com>
23835 * gdb.base/commands.exp: Break up long lines, and re-indent.
23837 2000-10-19 Michael Snyder <msnyder@cygnus.com>
23839 * config/gdbserver.exp: Rewritten from the ground up, to make it
23840 compatible with the current dejagnu tree, and to make it work with
23841 the new "gdbserver" in libremote.
23843 2000-10-16 Michael Snyder <msnyder@cygnus.com>
23845 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23846 * gdb.base/varargs.exp: Skip entire test if no printf support.
23847 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23848 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23850 2000-10-13 Michael Snyder <msnyder@cygnus.com>
23852 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23853 no floating point support.
23854 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23855 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23856 * gdb.base/call-rt-st.exp: Ditto.
23857 * gdb.base/call-strs.exp: Ditto.
23859 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23861 * gdb.base/sizeof.c: include <stdio.h>.
23863 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
23864 'finish', otherwise uncaptured gdb_prompt would potentially
23865 throw remaining test points out of sync.
23867 2000-07-26 Scott Bambrough <scottb@netwinder.org>
23869 * gdb.base/recurse.exp: Run tests for all targets.
23870 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
23871 gnu-oldld case on ARM.
23872 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
23875 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
23877 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
23878 * gdb.java/configure: Rebuild.
23880 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
23882 * gdb.java/jv-exp.exp: New file.
23884 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
23886 * configure: Rebuilt.
23887 * configure.in (configdirs): Add gdb.java.
23888 * gdb.java/jmisc.java: New file.
23889 * gdb.java/jmisc.exp: New file.
23890 * gdb.java/Makefile.in: New file.
23891 * gdb.java/configure: Rebuilt.
23892 * gdb.java/configure.in: New file.
23893 * lib/java.exp: New file.
23895 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
23897 * gdb.base/exprs.exp: Test casts to a pointer including over and
23900 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
23902 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
23903 and the compilers sizes.
23905 2000-07-09 Nick Duffek <nsd@redhat.com>
23907 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
23908 (use_methods): New function.
23909 (main): Call use_methods().
23910 * gdb.c++/classes.exp (test_method_param_class): New procedure.
23911 (do_tests): Call test_method_param_class.
23913 2000-07-09 Nick Duffek <nsd@redhat.com>
23915 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
23917 (test_enums): New procedure. Move enum tests from end of script
23918 to here. Set breakpoint on function name instead of line number.
23919 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
23920 (enums2): New marker function.
23921 (enums1): New function.
23922 (main): Call enums1(). Move enum tests to enums1().
23924 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
23926 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
23927 compile/link program. Update line numbers.
23928 * gdb.asm/d10v.inc: Define ``startup''.
23929 * gdb.asm/asmsrc1.s: Add definition of _start.
23931 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
23933 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
23935 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23937 * gdb.base/maint.exp: Add 'maint print architecture' item to output
23938 of 'help maint print' command.
23940 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
23942 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
23943 they use gdb_expect_list.
23945 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
23947 * gdb.base/commands.exp: Use ``set remote
23948 memory-read-packet-size'' instead of ``set endian big'' to test
23951 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
23953 * gdb.c++/templates.exp (do_tests): Make all of these work under
23954 g++, and stop skipping them.
23956 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
23959 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
23962 2000-06-02 Michael Snyder <msnyder@cygnus.com>
23964 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
23965 the regular expression: accept an (almost) arbitrary sequence of
23966 "frames-invalid" and "breakpoints-invalid" messages both before
23967 and after the "starting" message.
23969 2000-06-02 Michael Snyder <msnyder@cygnus.com>
23971 * gdb.c++/local.exp: This test has never been known to work with g++.
23973 2000-05-18 Michael Snyder <msnyder@cygnus.com>
23975 * gdb.base/annota1.exp (annotate-signal-handler-caller):
23976 Relax the regular expression a little, make it pass on Solaris 8.
23978 2000-05-12 Kevin Buettner <kevinb@redhat.com>
23980 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
23981 a call, do not require that gdb stop on the line after the call.
23982 Instead, it is permissible for gdb to stop on the line of the
23985 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
23987 * gdb.base/break.exp (bp on small function, optimized file):
23988 Add a second pass pattern. The behavior differs here between stabs
23989 and dwarf for one-line functions. Stabs preserves two line symbols
23990 (one before the prologue and one after) with the same line number,
23991 but dwarf regards these as duplicates and discards one of them.
23992 Therefore the address after the prologue (where the breakpoint is)
23993 has no exactly matching line symbol, and GDB reports the breakpoint
23994 as if it were in the middle of a line rather than at the beginning.
23996 2000-05-08 Michael Snyder <msnyder@cygnus.com>
23998 * gdb.base/interrupt.exp: Make "pass" message say "send"
23999 rather than "send_gdb" (for consistancy).
24001 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
24003 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
24004 * gdb.c++/templates.cc: Properly check for GCC version number.
24005 * lib/compiler.cc: Likewise
24007 2000-04-28 Michael Snyder <msnyder@cygnus.com>
24009 * gdb.base/break.exp: When compiled with -O2 optimization,
24010 gdb may not stop at the first line of main, due to code motion.
24012 2000-04-26 Michael Snyder <msnyder@cygnus.com>
24014 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
24015 This test depends on parsing the printf output from the target.
24016 Since the sparclet stub doesn't do stdio, this will never work.
24017 * gdb.base/call-rt-st.exp: ditto.
24018 * gdb.base/call-strs: ditto.
24020 2000-04-24 Michael Snyder <msnyder@cygnus.com>
24022 * gdb.base/miscexprs.exp: make sizeof long array test portable.
24024 * gdb.base/ending-run.exp: After connecting to a remote target,
24025 but before running, the target will appear to be in a random
24026 location. Specify both a file and a line for breakpoints.
24027 Also, the function that calls main may be called 'init'
24028 rather than 'start'.
24030 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24032 * gdb.base/help.exp: Update output for add-symbol-file command.
24034 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
24036 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24037 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
24039 2000-04-07 J.T. Conklin <jtc@redback.com>
24041 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
24043 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
24045 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24047 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
24048 values that can be represented exactly.
24049 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24050 above change, and to not check against the directory part of the source
24052 (step into print_long_arg_list): Likewise.
24053 (print print_small_structs from print_long_arg_list): Likewise.
24054 (print print_long_arg_list): Likewise.
24056 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24058 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
24060 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24062 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24064 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
24066 * gdb.base/commands.exp (deprecated_command_test): Add test for
24067 deprecate with no arguments.
24069 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24071 * gdb.base/break.exp: Add new test for setting breakpoints on
24072 optimized code so we can test breakpoints work even when function
24073 prologues may be optimized away
24075 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24077 From David Whedon <dwhedon@gordian.com>
24078 * gdb.base/commands.exp : Added command deprecator tests.
24080 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
24082 * gdb.base/help.exp: Added test for new apropos command.
24084 2000-03-21 Kevin Buettner <kevinb@redhat.com>
24086 * gdb.base/pointers.c (usevar): New function.
24087 (main): Make sure that global variables v_int_pointer2, rptr,
24088 and y are all referenced someplace in the program by calling
24089 usevar() on them. [Some linkers delete symbols which are
24090 never referenced. The space remains, but there's no way to
24091 get a (symbolic) handle on the variable from the debugger.]
24093 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24095 * gdb.base/printcmds.c: Add typedeffed arrays.
24097 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
24098 procedure to test arrays that are typedef'd.
24100 2000-03-13 James Ingham <jingham@leda.cygnus.com>
24102 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
24103 the library directories.
24105 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24107 * configure.in (configdirs): Add sub directory gdb.mi.
24108 * configure: Re-generate.
24110 * gdb.mi: New directory.
24112 2000-02-25 Scott Bambrough <scottb@netwinder.org>
24114 * gdb.base/long_long.exp: Correct test suite failure when printing
24115 a long long value as a double on ARM platforms.
24117 2000-02-16 Jim Blandy <jimb@redhat.com>
24119 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24120 default source file is set properly before running this test.
24122 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24124 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
24125 gdbtk/library directory, not in gdbtcl2.
24127 2000-02-04 Jim Blandy <jimb@redhat.com>
24129 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24130 backslash from regexp pattern.
24132 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24133 procedure. Use it to run all the "continue to bp overloaded"
24134 tests. Note that this changes the names of the tests slightly.
24135 If the breakpoint hit message includes a hex PC value, because
24136 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24137 from the real source code, still consider that a pass.
24139 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24140 XFAIL here if the breakpoint message contains a hex address. Note
24141 similar change on 1999-11-02.
24143 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24145 * gdb.base/ptype.exp: Establish a default source file before
24146 calling get_debug_format.
24148 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24150 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24152 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24154 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24155 of successive stepi commands -- while in the prologue we should see
24156 the function entry bracket.
24158 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24160 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24161 reach __change_mode() when stepping through the end of main().
24163 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24165 * gdb.base/default.exp: Fix expected pattern.
24166 * gdb.base/help.exp: Same.
24168 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24170 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
24171 Don't use xfail's because that affects only the following test.
24173 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
24176 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24178 2000-01-07 Michael Snyder <msnyder@cygnus.com>
24180 * gdb.base/display.exp: Some yacc parsers like to say
24181 "A syntax error" rather than "A parse error". Accept both.
24183 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24185 * gdb.base/default.exp: Remove OS dependent string from "target
24187 * gdb.base/help.exp: Same for "help target remote" test.
24189 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24191 From Jim Kingdon <kingdon@redhat.com>:
24193 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
24194 prompt (cleanup rather than necessity, but still might keep output
24195 from spilling to next test).
24197 2000-01-02 Fred Fish <fnf@cygnus.com>
24199 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24200 AIX, which defines them in <sys/types.h>.
24202 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
24204 * gdb.base/default.exp: Match arm* etc instead of arm in "info
24207 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
24209 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
24211 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24212 outermost frame disallowed".
24214 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24216 * gdb.base/setvar.exp: New tests for setting the value of a struct
24217 with a constant list.
24219 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24221 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24222 require the user to type a cast before setting the value of a struct.
24224 1999-12-06 Jim Blandy <jimb@cygnus.com>
24226 * gdb.base/default.exp: Expect the new 'info float' command on
24227 all i386 platforms.
24229 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24230 LinuxThreads libraries that don't support debugging.
24232 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24234 * gdb.base/remote.c: Fill the buffer with truely random data.
24235 Change the buffer type to ``unsigned char'' to simplify size
24238 * gdb.base/remote.exp: Reduce download numbers by one. Typical
24239 stub only handles 400-1 byte packets. Verify that the download
24242 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24244 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24245 tests, using UNRESOLVED for the untested cases. Also, does not wait
24246 for a timeout if the prompt was received before a recognizable pattern.
24248 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24250 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24252 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24254 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
24257 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
24259 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24261 * gdb.c++/local.exp: Be more flexible in recognizing local class
24262 name mangling. Don't allow horribly truncated method names.
24263 * gdb.c++/derivation.exp: Expect protected inheritance.
24264 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24265 * gdb.c++/virtfunc.exp: Likewise.
24266 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24267 when printing a nested enum.
24269 1999-11-22 Jim Blandy <jimb@cygnus.com>
24271 * gdb.base/step-test.exp: Properly await GDB's response to setting
24272 a breakpoint on the call to large_struct_by_value.
24274 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24275 just because we have debug info for the `start' function.
24277 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24279 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24280 "Unknown signal" messages, which indicate (on LinuxThreads) that
24281 GDB doesn't know how to debug threads on this system. This is
24282 better than hanging while philosopher 0 dumps chatter into gdb.log.
24284 1999-11-18 Tom Tromey <tromey@cygnus.com>
24286 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24288 1999-11-18 Fred Fish <fnf@cygnus.com>
24290 * gdb.base/coremaker2.c: Add sample program for generating
24291 cores that is more self contained than coremaker.c. Eventually
24292 I'll add more code to this and tie it into the testsuite.
24294 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24296 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24298 1999-11-10 Jimmy Guo <guo@cup.hp.com>
24300 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
24302 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
24305 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24307 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
24308 'continue with watch' test point.
24310 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24312 Merged from p2linux-990323-branch:
24314 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24316 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24318 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
24319 {limit,fixed}''. Test ``set download-write-size''.
24321 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24323 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
24326 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24328 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24330 1999-11-03 Mark Salter <msalter@cygnus.com>
24332 * gdb.base/break.exp: Fix "stub continue" pattern.
24334 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24336 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24338 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24340 * gdb.base/display.exp ("finish"): Add timeout clause.
24342 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24343 plain prompt clause, so this doesn't have to time out in order to
24346 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
24347 breakpoint hit messages include an address.
24349 * gdb.base/display.exp: Don't forget to escape parens in regular
24350 expressions. Unix regexp notatation sucks.
24352 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24354 * gdb.base/annota1.exp: Test for annotate-signalled: change output
24355 order for 'signalled' message.
24357 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24359 From Jimmy Guo <guo@cup.hp.com>:
24360 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24361 * gdb.base/annota1.c: Add code for tests to work with.
24363 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24365 * gdb.base/remote.exp: New test for remote downloading settings.
24366 * gdb.base/remote.c: New file with large .data.
24368 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24370 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24371 for LinuxThreads support, merged from the Code Fusion branch.
24373 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24375 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
24376 containing exp_continue into a while within an expect. Don't
24377 attempt a start more than three times. Check return value from
24380 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24382 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
24385 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
24387 * gdb.base/break.c (main): Added a statement that we can step
24389 * gdb.base/break.exp: Added tests for setting a breakpoint
24390 at an offset and stepping onto a breakpoint.
24392 1999-10-01 Fred Fish <fnf@cygnus.com>
24394 * gdb.base/help.exp (help add-symbol-file): Update to match current
24397 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24399 * gdb.base/break.exp: Code locations are in hex, don't forget!
24402 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24404 * condbreak.exp: Use break.c as test program.
24405 * condbreak.c: Remove, redundant with break.c.
24407 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24409 * config/monitor.exp (gdb_target_monitor): Disable X- and
24410 Z-packets if the target needs it.
24412 1999-09-13 James Ingham <jingham@leda.cygnus.com>
24414 * gdb.c++/overload.exp: Added tests for listing overloaded
24415 functions with function pointers in the arg, explicitly calling
24416 out the version you want.
24418 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24420 * long_long.exp: Add variations of test cases that work for
24421 targets with 16-bit ints and 32-bit doubles.
24423 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24425 * break.c (main): Compare a possibly-uninitialized argc with an
24426 unlikely value that fits in 16 bits.
24428 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24430 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24431 0xfeeb, don't want negative numbers if ints are 16 bits.
24433 * lib/gdb.exp (skip_cplus_tests): New proc.
24434 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24435 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24436 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24437 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24438 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24439 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24440 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24441 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
24443 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24445 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24447 * gdb.base/corefile.exp (up): Allow a parameter to appear
24448 in the frame that we're going up to.
24450 From Jim Blandy <jimb@cygnus.com>:
24452 * gdb.base/default.exp (info float): Expect some output now.
24454 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24455 returning floating-point values to fail on the x86.
24456 * gdb.base/callfwmall.exp (do_function_calls): Same.
24458 * gdb.base/list.exp (test_listsize): Correct expectations for
24459 listing line 1 with listsize 2. Also, listing a single line
24460 works now, as does listing three lines. [Kevin's note: There
24461 were a number of other cases fixed too where the expectations
24464 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24466 * gdb.base/selftest.exp: Add case for when version prints as
24467 constant string instead of char pointer.
24469 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
24471 * gdb.base/ending-run.exp: Add Solaris case for what happens when
24472 stepping out of main.
24474 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
24477 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
24478 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
24480 * gdb.c++/ovldbreak.exp: Update match string in test that
24481 includes a warning of multiple breakpoints.
24483 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
24485 * gdb.base/display.exp: Improve precision of step-after-finish
24488 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
24491 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
24492 configs when using G++, not just hppa*.
24494 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24496 * gdb.base/async.c: New file.
24497 * gdb.base/async.exp: New file.
24499 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
24501 * gdb.base/break.exp: Tweak PA specific tests to properly handle
24504 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
24506 * gdb.base/display.exp: "finish" can leave us mid-line on many
24507 targets, deal with it. Add a small constant to main, instead of
24508 1000 since main+1000 may not be a valid address in the target.
24510 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
24513 * gdb.base/attach.exp: Handle another hpux11 error message variant
24514 when attaching to a process that does not exist.
24516 1999-08-19 J.T. Conklin <jtc@redback.com>
24518 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
24519 characters in 'continue to 1241' test.
24521 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24523 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24524 stop in print_long_arg_list, define and use a whitespace
24525 variable in print_small_structs test, add an XFAIL for Solaris.
24526 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24527 interested enough to fix.
24529 1999-08-13 Keith Seitz <keiths@cygnus.com>
24531 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24532 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24533 proc knows about targets other than the natives.
24534 (test_assign): Use "gdb_run_cmd" to "run" the target.
24535 Check that we've actually hit the breakpoint at main.
24536 When we attempt to assign a value to a local variable, check
24537 that the variable is in the current scope, i.e., don't use
24538 a test with an empty result.
24540 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24542 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
24545 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24547 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24548 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24549 gdb.compat, gdb.threads-hp.
24550 gdb.hp/configure, gdb.hp/configure.in: New files.
24551 gdb.hp/Makefile.in: Recurse into new subdirs.
24552 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24553 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24555 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24557 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24559 * gdb.base/display.exp: Help expect by putting a newline in the
24560 funky printf, remove a bogus p/a test.
24562 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24564 * gdb.base/display.exp: Make sure that when we say 'run', we are
24565 connected to the target. This is necessary when running not
24568 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24570 * gdb.base/step-test.exp: Removed some extraneous messages.
24572 * gdb.base/long_long.exp: Don't run memory examination tests
24573 on little-endian targets (they will need a different set of
24576 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24578 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24579 until somebody decides to fix GDB.
24581 * gdb.base/long_long.c: Stop compiler complaint by specifying long
24583 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24584 matches for a couple x/2 commands.
24586 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24588 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24589 by merging in ref-types2 tests.
24590 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24592 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24593 * gdb.c++/Makefile.in: Add standard actions.
24594 (EXECUTABLES): Rename from PROGS, update list.
24595 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24597 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24598 foo and bar locals.
24599 * gdb.c++/anon-union.exp: Fix tests to match.
24600 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24601 expect matches to handle output variations.
24602 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24603 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
24604 output, add HP alternatives for new and delete prints.
24605 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
24606 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
24607 * gdb.c++/demangle.exp: Use $style when reporting failure.
24608 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24609 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24610 match alternatives.
24611 * gdb.c++/local.exp: Add match alternatives or xfails for HP
24613 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24614 * gdb.c++/method.exp: Add match alternatives.
24615 * gdb.c++/misc.cc: Add bool types.
24616 * gdb.c++/misc.exp: Add tests for bool types.
24617 * gdb.c++/overload.exp: Add xfails.
24618 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24619 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24620 add some more template parameter tests (only for HP currently).
24621 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24622 * gdb.c++/virtfunc.cc: Add return type and value for main.
24623 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24624 match alternatives.
24626 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24628 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24630 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24632 * gdb.base/signals.exp: Don't expect getting a backtrace from
24633 within a signal handler to fail on Linux.
24635 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24637 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24638 * lib/gdb.exp: Remove some gratuitious semicolons.
24639 (delete_breakpoints): Increase timeout.
24640 (gdb_expect): Add -notransfer option.
24641 (gdb_test): Use -notransfer option.
24642 (get_compiler_info): Add f77 case.
24643 (get_compiler): New proc, split out from gdb_preprocess, add f77
24645 (gdb_preprocess): Call get_compiler.
24647 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24648 * gdb.base/attach.exp, gdb.base/display.exp,
24649 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24650 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24651 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24652 third arg to gdb_test.
24653 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24654 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
24655 HP-UX xfails, add others.
24656 * gdb.base/completion.exp: Reflect name change of self-test.
24657 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
24658 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24659 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24661 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24662 useless HP-UX 10.30 references.
24663 * gdb.base/maint.exp: Loosen matches.
24664 * gdb.base/pointers.c (main): Declare more_code.
24665 * gdb.base/pointers.exp: Match on output of a `next'.
24666 * gdb.base/structs.c: Add prototypes.
24667 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24668 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24670 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24672 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
24675 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24677 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24678 Fix run to main failures. Watchpoint can be hardware watchpoint.
24680 * gdb.base/annota1.exp: Clean up some more, in case printf has
24681 debug info. Deal with lack of signal hanlder info in stack.
24683 From Jim Kingdon <kingdon@redhat.com>:
24684 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24686 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24688 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
24689 gdb.base/foll-vfork.exp: Don't run for crosses.
24691 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24693 * gdb.base/configure.in: Check for gdbvars.exp instead of
24695 * gdb.base/configure: Re-generate.
24697 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24699 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24700 in trying to run first and name is too long.
24702 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24703 pointers2.c and pointers2.exp, respectively.
24704 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24707 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24709 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24710 callfuncs2.c and callfuncs2.exp.
24712 * gdb.base/list.exp: Remove mistaken xfails.
24713 * gdb.base/list0.h: Add optional prototypes.
24715 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24717 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
24719 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24720 * ptype.exp: Move test for get_debug_format to before its first
24723 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24725 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24726 * gdb.base/annota2.cc, annota2.exp: Move from here.
24727 * gdb.c++/annota2.cc, annota2.exp: To here.
24728 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24730 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24732 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
24733 a consistent format.
24735 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24737 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24738 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24739 HP compilers, also set the globals $true and $false.
24741 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
24742 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24743 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24744 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24745 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24746 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24747 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24748 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24749 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24750 whatis.c} Add C++ compatible function definitions and return
24751 types, add includes for library functions.
24752 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24753 * gdb.base/step-test.c (myglob): Rename from glob.
24754 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
24755 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24756 files, move here from gdb.hp.
24757 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
24758 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24759 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24760 Adjust line numbers in regexps.
24762 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24763 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24766 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24767 foll-vfork.exp: New files, move here from gdb.hp.
24768 * gdb.base/page.exp: New file, test of pagination command.
24770 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24772 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24774 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
24775 gdb.base/solib.exp: Fix compiler invocation process.
24777 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
24778 HP-UX 11, turn off overload resolution explicitly.
24779 * gdb.base/commands.exp: Set argument list explicitly, add
24781 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24783 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24784 expressions properly.
24785 * gdb.base/corefile.exp: Loosen the match slightly.
24786 * gdb.base/default.exp: Allow "Error accessing memory" message
24788 * gdb.base/display.exp: Skip over x/0 j if PA64.
24789 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24790 * gdb.base/interrupt.exp: Ditto.
24791 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24793 * gdb.base/list.exp: Add xfails for HP-UX.
24794 * gdb.base/long_long.exp: Refine some of the numeric matches.
24795 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24796 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24797 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24798 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24799 * gdb.base/ptype.exp: Succeed on more varieties of output.
24800 * gdb.base/scope.exp: Add xfails for HP-UX.
24801 * gdb.base/sect-cmd.exp: Add more cases.
24802 * gdb.base/setvar.exp: Add xfails for HP-UX.
24803 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24804 * gdb.base/signals.exp: Match on void symbolically.
24805 * gdb.base/step-test.exp: Add case for PA64.
24806 * gdb.base/term.exp: Add exit and restart.
24807 * gdb.base/twice.exp: Clean up after self.
24808 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24809 * gdb.base/whatis.exp: Allow more ways to pass tests.
24811 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
24814 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24816 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
24818 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
24819 print_double_array(double_array)", "continuing to breakpoint
24820 1018", "print print_double_array(array_d)" and "continuing to
24823 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24825 * Makefile.in: Add empty html and install-html targets.
24827 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24829 * config/mt-*: Remove, these haven't been used since 1996.
24831 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24833 * gdb.base/call-strs.c, gdb.base/ending-run.c,
24834 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
24835 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24837 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24839 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24840 simpler match case for the ptype of the big class.
24842 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24844 * gdb.exp: Fix test for gdb_prompt existence.
24846 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24848 * gdb.exp (gdb_test): Add fail after calls to perror.
24850 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24852 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24854 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24856 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24858 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24860 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
24861 malloc() is linked in.
24863 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24865 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
24868 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
24870 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
24872 * gdb.java/jv-print.exp: New file. (Our first Java test!)
24874 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
24876 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
24877 * gdb.base/mips_pro.exp: Likewise.
24879 1999-06-02 Keith Seitz <keiths@cygnus.com>
24881 * gdb.c++/templates.cc: Change all "new" operators to throw
24883 * gdb.c++/cplusfuncs.cc: Likewise.
24885 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
24887 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
24889 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
24890 * gdb.base/ending-run.exp: When stepping out of main, accept a
24891 step into an arbitrary assembler file.
24893 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24895 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
24896 "breakpoint-invalid" to be printed.
24897 * gdb.base/annota2.exp: Revise line number for main
24898 breakpoint. Allow any number of "frames-invalid" and
24899 "breakpoint-invalid" to be printed.
24900 * gdb.base/annota2.cc: Initialize a.x to 0.
24902 1999-05-17 Keith Seitz <keiths@cygnus.com>
24904 * gdb.base/call-ar-st.exp: Skip
24905 "print print_double_array (double_array)" when "skip_float_tests" set.
24906 Ditto for "print print_double_array(array_d)",
24907 "print print_small_structs", "print print_ten_doubles", and
24908 "step into print_long_arg_list".
24909 Don't assume we can step into "print_long_arg_list": we could step
24911 * gdb.base/call-rt-st.exp: Don't run float-related tests when
24912 "skip_float_tests" is set: "print print_one_double(*d1)"
24913 and "print print_two_floats(*f3)".
24914 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
24915 "skip_float_tests" is set.
24916 * gdb.base/varargs.exp: Skip
24917 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
24918 "skip_float_tests" set.
24920 1999-05-06 Keith Seitz <keiths@cygnus.com>
24922 * gdb.base/annota2.cc: Include stdio.h.
24924 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
24926 * gdb.base/crossload.exp: Remove, this has been disabled ever
24927 since BFD stopped including all targets, and cross-GDB gets
24928 plenty of testing anyway.
24929 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
24930 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
24931 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
24932 * gdb.base/README: Remove, was doc for this.
24933 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
24936 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24938 * gdb.base/call-ar-st.exp: Fix one regular expression in test
24941 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
24942 * gdb.base/annota2.exp: New file. More annotation tests.
24943 * gdb.base/annota1.c: New file. Source file for annota1.exp.
24944 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
24946 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
24948 * config/cfdbug.exp: New file.
24950 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
24952 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
24953 Marcus Daniel's and Dale Hawkins's demangler crashes.
24955 * gdb.c++/demangle.exp (test_gnu_style_demangling,
24956 test_lucid_style_demangling, test_arm_style_demangling,
24957 test_hp_style_demangling): Try Tom Tromey's core-dumping
24958 identifier under each demangling style.
24960 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
24962 * gdb.c++/demangle.exp: Include the current demangling style
24964 (current_demangling_style): New global variable.
24965 (set_demangling_style, test_demangling_core, test_demangling,
24966 test_demangling_exact): New functions.
24967 (test_gnu_style_demangling, test_lucid_style_demangling,
24968 test_arm_style_demangling, test_hp_style_demangling): Use those,
24969 instead of calling gdb_test and gdb_test_exact directly.
24970 (catch_demangling_errors): New function, which reports errors
24971 signalled by the demangling test functions in an orderly way.
24972 (do_tests): Use catch_demangling_errors.
24974 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
24976 * gdb.base/signals.exp (test_handle_all_print): Use () for
24977 grouping in expressions, not {}.
24979 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
24982 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
24984 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
24987 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
24989 * gdb.stabs/weird.exp: Test for CC being defined before
24990 looking at its value.
24992 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
24994 * gdb.base/call-ar-st.exp: Remove stray '#'.
24995 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
24996 "short int" and "long int".
24997 * gdb.c++/overload.cc: Cast the string added in the previous
24998 change, to mollify finicky HP compiler.
24999 * gdb.hp/reg-test.exp (testfile): Fix file name.
25000 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
25002 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
25003 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
25004 alternate form of enum ptype.
25006 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
25008 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
25009 * gdb.hp/*.exp: Change all to run compiler probe only after
25010 passing skip_hp_tests, so as not to waste time on guaranteed
25013 * gdb.c++/overload.cc: Pass string instead of char addr, always
25015 * gdb.c++/templates.cc: Fix syntax error.
25017 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25019 * gdb.base/commands.exp: Add test for correct position of '>'
25020 when issuing the 'commands' command after a 'while' or 'if'
25023 1999-03-18 James Ingham <jingham@cygnus.com>
25025 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
25027 * gdb.c++/method.exp: It was testing an uninitialized int on the
25028 stack and assuming it was positive.
25030 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
25032 * gdb.base/step-test.exp: Catch a case where finish is broken and
25033 keep it from killing the rest of the tests.
25034 Use gdb_continue_to_end.
25036 * gdb.base/sigall.exp: use gdb_continue_to_end.
25038 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
25040 * gdb.base/display.exp: use runto_main, not run.
25042 * gdb.base/default.exp: Check for the current error message in the
25043 r abbreviation test.
25044 Add strongarm to the targets that know info float.
25046 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
25047 run which doesn't work with monitors.
25049 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25052 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25054 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25055 end of a program. Traps the case (in Cygmon) when the program
25056 never really exits. Same as Mark's continue_to_exit, but I had
25057 put it in a lot more places, so I used my name. Sorry Mark...
25059 * config/monitor.exp (gdb_target_monitor): added another
25060 target_info parameter: remotebinarydownload. This will set the
25061 remotebinarydownload flag if this is causing some boards trouble.
25063 1999-03-18 Mark Salter <msalter@cygnus.com>
25065 * lib/gdb.exp (continue_to_exit): New function.
25067 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25068 * gdb.base/ending-run.exp: Ditto.
25069 * gdb.base/step-test.exp: Ditto.
25071 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25073 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25074 (suggested by Art Haas <ahaas@neosoft.com>).
25076 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25078 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
25080 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25082 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
25083 descriptions of types (short unsigned int vs unsigned short, etc).
25085 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25087 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25088 a call to strlen; sometimes we do have sources.
25090 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25092 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
25093 character, so GDB won't print garbage after its end.
25095 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25096 breakpoint there instead. Sometimes GCC emits memcpy to handle
25097 the large structures being passed by value, so we step into that
25098 instead of sum_array_print, which obscures what we're really testing.
25099 * gdb.base/step-test.exp: However, we do want a test that notices
25100 the bizarre steps into memcpy, so do that here. Add check for
25101 stepping into function calls that pass large structures by value.
25102 ("Is that a noun clause, or are you just happy to see me?")
25103 Remove all references to specific line numbers.
25104 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25105 New type and function.
25106 (main): Call large_struct_by_value, passing it a large struct by value.
25107 * lib/gdb.exp (gdb_get_line_number): New function.
25109 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25112 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25114 * lib/gdb.exp: Doc fixes.
25116 1999-03-05 Nick Clifton <nickc@cygnus.com>
25118 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
25120 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25122 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
25123 commands. They're not germane to this test, and they don't work
25124 that way on remote targets.
25126 1999-03-01 James Ingham <jingham@cygnus.com>
25128 * Changelog entries merged over from gdb development branch.
25130 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25132 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25133 for outputting results of test run.
25135 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
25137 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
25139 1999-02-25 Felix Lee <flee@cygnus.com>
25141 * lib/gdb.exp (debug_format): initialize
25143 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25145 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25146 * gdb.base/call-rt-st.c: Ditto.
25148 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25150 * gdb.threads/pthreads.exp (horiz): New variable.
25151 (test_startup): Fix regexps that capture thread numbers.
25153 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25155 * gdb.base/smoke.exp: Disambiguate two test case names (both
25158 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25160 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
25163 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25165 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25166 actual output formatting.
25167 * gdb.base/smoke.exp: GDB removes leading 0's.
25168 * gdb.base/volatile.exp: Don't check type of remuneration;
25169 that variable is no longer defined in constvars.c.
25170 * gdb.base/step-test.c (main): Exit with explicit exit code.
25171 * gdb.base/step-test.exp: Remove two nexti checks--they are
25174 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25176 * gdb.base/help.exp ("help delete display"): Fix test to match
25179 * gdb.base/long_long.c (known_types): Initialize values to zero.
25180 * gdb.base/long_long.exp: Step one more line
25181 so 'dec' is initialized in "get to known place". GDB removes
25182 leading zeros. Explicitly ask for hex formatting. Use
25183 unique test case names.
25185 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25187 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
25189 * gdb.c++/method.exp: Add missing close brace.
25191 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25193 * gdb.base/maint.exp: Use 'set height 0' to disable page
25194 prompting, not 'set height 400'.
25196 Fix a bunch of timeouts.
25197 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25198 four separate tests, so expect doesn't take forever to match a ton
25199 of text against a regexp with lots of .* forms.
25200 ("maint print psymbols", "maint print symbols"): Make some of
25201 these greps more selective, so that expect doesn't try to wade
25202 through huge piles of output and time out.
25204 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25206 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
25207 tests: one which doesn't expect shlib events to be reported, and
25208 another which does, but is XFAIL for all platforms other than
25211 * gdb.base/break.exp: Teach the test suite that the `catch
25212 fork', `catch vfork', and `catch exec' commands produce error
25213 messages on platforms that don't provide these features.
25215 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25217 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
25218 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25219 (shortening names from solib_threshold.exp etc), won't run on
25220 anything but HP-UX for the foreseeable future.
25221 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
25224 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25226 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25227 gdb.trace/Makefile.in (clean): Remove all test executables.
25229 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25231 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25232 successfully re-sets breakpoints in shared libraries.
25233 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25235 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25237 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25238 and compiled w/o GCC.
25240 * gdb.hp/watch-cmd.exp: ditto.
25242 * gdb.hp/watch-hp.exp: ditto.
25244 * gdb.hp/xdb1.exp: ditto.
25246 * gdb.hp/xdb2.exp: ditto.
25248 * gdb.hp/dbx.exp: ditto.
25250 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25252 * constvars.c: Remove C++-isms.
25253 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
25256 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25258 The following changes are part of the HP merge.
25260 * gdb.base/break.exp: new tests to verify that catchpoints for
25261 fork, vfork, and exec don't trigger inappropriately.
25263 * gdb.base/opaque.exp: compile one file at a time, then link.
25265 * gdb.base/signals.exp: be more restrictive about which hppa
25266 systems receive a setup_xfail. new tests.
25268 * gdb.base/solib_threshold.build: new file.
25269 * gdb.base/solib_threshold.exp: new file.
25270 * gdb.base/solib_threshold.link_opts: new file.
25271 * gdb.base/solib_threshold.mk: new file.
25272 * gdb.base/gen_solib_threshold.c: new file.
25274 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25275 tests. New tests for enums inside classes.
25277 * gdb.c++/compiler.cc: indicate support of template debugging.
25279 * gdb.c++/demangle.exp: run hp style demangling tests.
25281 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25284 * gdb.c++/misc.cc: changes to support new tests.
25286 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25287 to support new tests.
25289 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25290 gcc, then skip these tests.
25292 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25294 The following files are part of the HP merge; some had longer
25295 names at HP, but have been renamed to be no more than 14
25296 characters in length.
25298 * gdb.hp/ambiguous.cc: new file.
25299 * gdb.hp/ambiguous.exp: new file.
25300 * gdb.hp/attach.exp: new file.
25301 * gdb.hp/attach2.exp: new file.
25302 * gdb.hp/classes-hp.exp: new file.
25303 * gdb.hp/ctti.exp: new file.
25304 * gdb.hp/ctti-add.cc: new file.
25305 * gdb.hp/ctti-add1.cc: new file.
25306 * gdb.hp/ctti-add2.cc: new file.
25307 * gdb.hp/ctti-add3.cc: new file.
25308 * gdb.hp/dbx.exp: new file.
25309 * gdb.hp/exception.cc: new file.
25310 * gdb.hp/exception.exp: new file.
25311 * gdb.hp/foll-exec.c: new file.
25312 * gdb.hp/foll-exec.exp: new file.
25313 * gdb.hp/foll-fork.c: new file.
25314 * gdb.hp/foll-fork.exp: new file.
25315 * gdb.hp/foll-vfork.c: new file.
25316 * gdb.hp/foll-vfork.exp: new file.
25317 * gdb.hp/inherit-hp.exp: new file.
25318 * gdb.hp/more-steps.exp: new file.
25319 * gdb.hp/namespace.cc: new file.
25320 * gdb.hp/namespace.exp: new file.
25321 * gdb.hp/optimize.exp: new file.
25322 * gdb.hp/pxdb.c: new file.
25323 * gdb.hp/pxdb.exp: new file.
25324 * gdb.hp/quicksort.exp: new file.
25325 * gdb.hp/reg-test.exp: new file.
25326 * gdb.hp/reg-test.s: new file.
25327 * gdb.hp/sized-enum.c: new file.
25328 * gdb.hp/sized-enum.exp: new file.
25329 * gdb.hp/start-stop.exp: new file.
25330 * gdb.hp/templ-hp.cc: new file.
25331 * gdb.hp/templ-hp.exp: new file.
25332 * gdb.hp/thr-lib.c: new file.
25333 * gdb.hp/thr-lib.exp: new file.
25334 * gdb.hp/thr-lib.h: new file.
25335 * gdb.hp/thr-liblib.c: new file.
25336 * gdb.hp/virtfun-hp.c: new file.
25337 * gdb.hp/virtfun-hp.exp: new file.
25338 * gdb.hp/watch-cmd.exp: new file.
25339 * gdb.hp/watch-hp.exp: new file.
25340 * gdb.hp/xdb1.exp: new file.
25341 * gdb.hp/xdb2.exp: new file.
25342 * gdb.hp/xdb3.exp: new file.
25344 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25346 The following files are part of the HP merge; some had longer
25347 names at HP, but have been renamed to be no more than 14
25348 characters in length.
25350 * gdb.base/ss.h: new file.
25351 * gdb.base/call-ar-st.c: new file.
25352 * gdb.base/call-ar-st.exp: new file.
25353 * gdb.base/call-rt-st.c: new file.
25354 * gdb.base/call-rt-st-exp: new file.
25355 * gdb.base/call-strs.exp: new file.
25356 * gdb.base/ena-dis-br.exp: new file.
25357 * gdb.base/environ.exp: new file.
25358 * gdb.base/long_long.exp: new file.
25359 * gdb.base/sect-cmd.exp: new file.
25360 * gdb.base/shlib-cl2.exp: new file.
25361 * gdb.base/smoke.exp: new file.
25362 * gdb.base/so-impl-ld.c: new file.
25363 * gdb.base/so-impl-ld.exp: new file.
25364 * gdb.base/so-indr-cl.c: new file.
25365 * gdb.base/so-indr-cl.exp: new file.
25366 * gdb.base/varargs.exp: new file.
25367 * gdb.base/volatile.exp: new file.
25368 * gdb.base/whatis-exp.exp: new file.
25369 * gdb.base/display.exp: new file.
25370 * gdb.c++/derivation.exp: new file.
25371 * gdb.c++/local.exp: new file.
25372 * gdb.c++/member-ptr.exp: new file.
25373 * gdb.c++/overload.exp: new file.
25374 * gdb.c++/ovldbreak.exp: new file.
25375 * gdb.c++/ref-types.exp: new file.
25376 * gdb.c++/ref-types2.exp: new file.
25377 * gdb.c++/userdef.exp: new file.
25379 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25381 * gdb.base/default.exp: Reflect wording change in remote.c.
25383 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
25385 * gdb.base/help.exp: Update to reflect current text.
25387 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25389 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25390 they're stack variables and contain garbage.
25391 * gdb.c++/anon-union.exp: new file.
25393 The following changes were made by David Taylor
25394 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25395 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25398 * gdb.base/bitops.exp: new file.
25399 * gdb.base/default.exp: change expected messages for catch and
25400 info catch tests to reflect HP merge changes.
25401 * gdb.base/enable-disable-break.exp
25402 * gdb.base/ending-run.c: new file.
25403 * gdb.base/long_long.c: new file.
25404 * gdb.base/maint.exp: new file.
25405 * gdb.base/pointers2.exp: new file.
25406 * gdb.base/shlib-call2.exp: new file.
25407 * gdb.base/solib.exp: new file.
25408 * gdb.base/step-test.c: new file.
25409 * gdb.c++/anon-union.cc: new file.
25410 * gdb.c++/local.cc: new file.
25411 * gdb.c++/member-pointer.cc: new file.
25412 * gdb.c++/method.cc: new file.
25413 * gdb.c++/ref-types.cc: new file.
25414 * gdb.c++/ref-types2.cc: new file.
25415 * gdb.c++/userdef.cc: new file.
25417 * gdb.base/scope.exp: compile one file at a time, then link.
25418 * gdb.base/langs.exp: ditto.
25419 * gdb.base/list.exp: ditto.
25421 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25423 The following changes were made by David Taylor
25424 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25425 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25428 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25429 skip tests. When compiling pass c++ flag to gdb_compile.
25432 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25433 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25434 (skip_hp_tests): new function.
25435 (gdb_preprocess): new function.
25437 * configure.in (hpdir): decide whether to configure gdb.hp.
25438 * configure: regenerated.
25440 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25441 to delete on clean.
25442 (EXECUTABLES): update to reflect new additions.
25443 * gdb.base/commands.exp: update message expected.
25444 * gdb.base/default.exp: add copyright notice.
25445 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25446 * gdb.base/help.exp: update messages to reflect current text.
25447 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25448 targets for recurse tests.
25449 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25452 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25453 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25455 * gdb.c++/misc.exp: ditto.
25456 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25457 run the tests. tell gdb_compile that it's a c++ compilation.
25459 * gdb.threads/pthreads.exp: fix typo in message.
25461 * gdb.base/all-bin.exp: new file.
25462 * gdb.base/arithmet.exp: new file.
25463 * gdb.base/assign.exp: new file.
25464 * gdb.base/completion.exp: new file.
25465 * gdb.base/cond-expr.exp: new file.
25466 * gdb.base/condbreak.exp: new file.
25467 * gdb.base/define.exp: new file.
25468 * gdb.base/dollar.exp: new file.
25469 * gdb.base/environment.exp: new file.
25470 * gdb.base/eval-skip.exp: new file.
25471 * gdb.base/jump.exp: new file.
25472 * gdb.base/logical.exp: new file.
25473 * gdb.base/pointers.exp: new file.
25474 * gdb.base/relational.exp: new file.
25475 * gdb.base/section_command.exp: new file.
25476 * gdb.base/whatis-expr.exp: new file.
25478 * gdb.base/all-types.c: new file.
25479 * gdb.base/call-array-struct.c: new file.
25480 * gdb.base/call-return-struct.c: new file.
25481 * gdb.base/call-strings.c: new file.
25482 * gdb.base/callfuncs2.c: new file.
25483 * gdb.base/condbreak.c: new file.
25484 * gdb.base/constvars.c: new file.
25485 * gdb.base/display.c: new file.
25486 * gdb.base/int-type.c: new file.
25487 * gdb.base/jump.c: new file.
25488 * gdb.base/miscexprs.c: new file.
25489 * gdb.base/pointers.c: new file.
25490 * gdb.base/pointers2.c: new file.
25491 * gdb.base/shmain.c: new file.
25492 * gdb.base/shr1.c: new file.
25493 * gdb.base/shr2.c: new file.
25494 * gdb.base/solib.c: new file.
25495 * gdb.base/solib1.c: new file.
25496 * gdb.base/solib2.c: new file.
25497 * gdb.base/varargs.c: new file.
25498 * gdb.c++/derivation.cc: new file.
25499 * gdb.c++/overload.cc: new file.
25500 * gdb.c++/ovldbreak.cc: new file.
25501 * gdb.hp/attach.c: new file.
25502 * gdb.hp/attach2.c: new file.
25503 * gdb.hp/average.c: new file.
25504 * gdb.hp/compiler.c: new file.
25505 * gdb.hp/compiler.cc: new file.
25506 * gdb.hp/execd-program.c: new file.
25507 * gdb.hp/follow-exec.c: new file.
25508 * gdb.hp/follow-fork.c: new file.
25509 * gdb.hp/follow-vfork-and-exec.c: new file.
25510 * gdb.hp/misc-hp.cc: new file.
25511 * gdb.hp/more-steps.c: new file.
25512 * gdb.hp/optimize.c: new file.
25513 * gdb.hp/quicksort.c: new file.
25514 * gdb.hp/run-hp.c: new file.
25515 * gdb.hp/start-stop.c: new file.
25516 * gdb.hp/sum.c: new file.
25517 * gdb.hp/templates-hp.cc: new file.
25518 * gdb.hp/thread-local-in-lib.c: new file.
25519 * gdb.hp/thread-local-in-lib.h: new file.
25520 * gdb.hp/thread-local-in-lib.lib.c: new file.
25521 * gdb.hp/vforked-program.c: new file.
25522 * gdb.hp/virtfunc-hp.cc: new file.
25523 * gdb.hp/watchpoint-hp.c: new file.
25524 * gdb.hp/xdb.c: new file.
25525 * gdb.hp/xdb0.c: new file.
25526 * gdb.hp/xdb0.h: new file.
25527 * gdb.hp/xdb1.c: new file.
25529 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25531 The following change was made by Edith Epstein
25532 <eepstein@cygnus.com> as part of a project to merge in changes
25533 originally made by HP; HP did not create ChangeLog entries.
25535 * gdb.c++/demangle.exp: changed the expected output for some
25536 ARM-style mangling -- removed second reference to datatype.
25537 For example, maint demangle __dt__11T1__pt__2_cFv
25538 T1<char>::~T1<char>(void)
25540 maint demangle __dt__11T1__pt__2_cFv
25541 T1<char>::~T1(void)
25543 (test_hp_style_demangling): new hp specific demangling test cases.
25545 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25547 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25548 * gdb.trace/backtrace.exp: Likewise.
25549 * gdb.trace/circ.exp: Likewise.
25550 * gdb.trace/collection.exp: Likewise.
25551 * gdb.trace/deltrace.exp: Likewise.
25552 * gdb.trace/infotrace.exp: Likewise.
25553 * gdb.trace/limits.exp: Likewise.
25554 * gdb.trace/packetlen.exp: Likewise.
25555 * gdb.trace/passc-dyn.exp: Likewise.
25556 * gdb.trace/passcount.exp: Likewise.
25557 * gdb.trace/report.exp: Likewise.
25558 * gdb.trace/save-trace.exp: Likewise.
25559 * gdb.trace/tfind.exp: Likewise.
25560 * gdb.trace/tracecmd.exp: Likewise.
25561 * gdb.trace/while-dyn.exp: Likewise.
25562 * gdb.trace/while-stepping.exp: Likewise.
25564 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25566 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25568 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25570 From Brendan Kehoe:
25571 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25574 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25576 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
25577 remote dos host testing right.
25579 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25581 * gdb.base/corefile.exp: remove some xfails.
25583 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25585 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
25586 have different timestamps.
25588 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25590 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
25591 gdb.base/default.exp: Replace "exec" with "executable".
25593 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25595 * gdb.base/default.exp: Change else if to elseif from previous
25598 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25600 * gdb.base/default.exp: Add brace missing from previous delta.
25602 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25604 * gdb.base/default.exp: Support test for info float for all
25605 varieties of arm toolchain.
25607 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
25609 * gdb.trace/*.exp: remove "remote_download" command.
25611 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
25613 * gdb.trace/*.exp: remove -gdwarf from compile.
25615 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25617 * gdb.trace/configure.in(AC_INIT): typo
25618 * gdb.trace/configure: regenerated
25620 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
25622 * config/m68k-emc.exp: New file.
25623 * lib/<emc-support.exp trace-support.exp}: New files.
25624 * configure.in: add new test directory gdb.trace.
25625 * gdb.trace/{configure configure.in Makefile.in}: New files.
25626 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25627 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25628 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25629 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25630 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25631 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25632 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
25634 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
25636 * gdb.c++/classes.exp: Change all regular expressions to match
25637 arbitrary combinations of newline/carriage-return, so that they
25638 will work equally well on Unix and Windows.
25639 * gdb.c++/inherit.exp: ditto.
25640 * gdb.c++/virtfunc.exp: ditto.
25642 1998-08-11 Dawn Perchik <dawn@cygnus.com>
25644 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25646 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25648 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25649 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25650 to use a0-a3/d0-d3 as needed.
25652 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25654 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25655 * gdb.disasm/am33.exp: Corresponding changes.
25657 1998-07-11 Felix Lee <flee@cygnus.com>
25659 * gdb.base/callfuncs.exp: add cmp10 test.
25660 * gdb.base/callfuncs.c (cmp10): new function.
25662 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25664 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
25665 into two parts to get around a synchronization problem in expect.
25667 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25669 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25671 * configure.in: Add options for gdbtk testsuite.
25673 * configure: Regenerate.
25675 * gdb.gdbtk: New directory to hold gdbtk tests.
25677 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25679 * gdb.fortran/types.exp: Escape brackets in expect patterns
25680 for test_float_literal_types_accepted tests.
25681 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25684 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25686 * am33.exp: Just compile, do not link the testcase.
25687 * am33.s: Add ".am33" pseudoop to force am33 mode.
25689 1998-06-25 Felix Lee <flee@cygnus.com>
25691 * gdb.base/setshow.exp: make sure $pc is sane.
25693 * gdb.stabs/weird.exp: split expect patterns properly.
25695 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25697 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25698 * gdb.disasm/am33.exp: Run it.
25700 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
25702 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25703 match processing (and eliminate spurious timeouts when running).
25705 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
25707 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25708 exception test, but conditionalize it on target [mach | gnu].
25710 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
25712 * gdb.base/overlays.exp: fixup compile line for linker script.
25714 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25716 * gdb.fortran/types.exp: don't guess at float size.
25718 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25720 * gdb.base/exprs.exp: delete test that depends on int size.
25722 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25724 * config/sim.exp: Removed checks for target triplets.
25725 (gdb_target_sim): Use gdb,target_sim_options.
25727 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25729 * gdb.base/reread.exp: New file.
25730 * gdb.base/reread1.c: New file.
25731 * gdb.base/reread2.c: New file.
25733 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25735 * config/sim.exp: Use 'target sim -sparclite' when running
25736 SPARClite programs.
25738 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25740 * gdb.base/structs2.exp: New file.
25741 * gdb.base/structs2.c: New file.
25743 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25745 * gdb.asm/common.inc: New file.
25746 * gdb.asm/d10v.inc: New file.
25747 * asm-source.exp: Pass -I's to gas to find .inc files.
25748 Update line numbers in expected output.
25749 * asmsrc1.s: Rewrite.
25750 * asmsrc2.s: Rewrite.
25751 * configure.in: Create arch.inc symlink.
25752 * configure: Regenerate.
25753 * Makefile.in (distclean): Delete arch.inc.
25755 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25757 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
25758 (t_enum_value2): ditto
25759 (t_enum_value3): ditto
25761 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25763 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25764 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25766 Use gdb_test instead of send_gdb/gdb_expect sequences.
25768 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25770 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25773 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25775 * gdb.base/branches.c: Code with lots of loops and
25776 subroutines. Used to test gdbs ability to single step through PC
25777 changes, especially to test mips-tdep.c:mips_next_pc
25779 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25781 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25782 more rigorous EGCS C++ error checking.
25784 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25786 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25788 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25789 function when asleep.
25790 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25791 for i*86 Linux and SVR4 signal handling problems.
25792 Remove linux xfail for `next to handler in signals_tests_1', fixed
25793 by recent infrun.c change.
25794 Limit backtrace to 10 frames to avoid timeout problems with infinite
25796 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25797 target.[ch] change.
25799 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25801 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25802 for a newline from gdb before continuing.
25803 (default_gdb_exit): Just look for y or n.
25804 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25805 it does, fail the rests of the tests in the file.
25807 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25809 * config/cygmon.exp: New file.
25811 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25813 * gdb.base/list.exp: Fix problem with "list default lines around
25814 main" test on remote targets.
25816 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25817 run test on remote targets.
25819 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25821 * gdb.asm: New directory.
25822 * configure.in: Configure it.
25823 * configure: Regenerate.
25824 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25825 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25827 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25829 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25831 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
25833 * gdb.base/overlays (several files): Merge the two overlay
25834 managers into one. Change variables (foox, barx, bazx, grbxx)
25835 back into ints but force them to load in their proper sections.
25837 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25839 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
25840 on-chip insn memory and IMAP1 to upper 128k.
25841 (D10VCopy): Handle memory regions crossing 16k boundaries.
25842 (D10VCopy): Transfer data in 32 bit chunks.
25844 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25846 * gdb.base/overlays.c (main): Exit normally when result is
25849 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
25850 map. Include space for printf in .text segment.
25852 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
25853 updated d10v memory VMA/LMA map.
25854 (D10VCopy): Call D10VTranslate.
25856 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25858 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25860 * gdb.base/bar.c (barx, bar): Change variable to small array so
25861 that it won't be put into the .sdata - small data -
25862 section. Update reference.
25863 * gdb.base/baz.c (bazx, baz): Ditto.
25864 * gdb.base/foo.c (foox, foo): Ditto.
25865 * gdb.base/grbx.c (grbxx, grbx): Ditto.
25867 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
25870 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
25872 * gdb.base/overlays.exp: fix up and get working again.
25873 Add tests for backtraces from an overlay function.
25875 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
25877 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
25878 "calling function with watchpoint enabled".
25880 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
25882 * gdb.base/break.exp (test_next_with_recursion): Remove
25883 gdb_suppress_tests for d10v-*-*.
25884 * lib/gdb.exp (gdb_suppress_tests): Disable this function
25885 pending review of whether it is useful or not.
25887 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
25889 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
25891 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
25893 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
25894 * config/dve.exp: New file to support Densan boards.
25896 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
25898 * gdb.base/interrupt.exp: Document problem of simulators, signals,
25901 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
25903 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
25906 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
25908 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
25910 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
25913 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
25914 target_sizeof_long and target_bigendian_p.
25915 (structs_by_value, structs_by_reference): Check values according
25916 to targets word size and endianess.
25918 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
25920 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
25923 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
25925 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
25926 Update test of set args help to match source change.
25928 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
25930 * gdb.base/default.exp: Expect help system output to be in
25931 alphabetical order.
25932 * gdb.base/help.exp: Ditto.
25934 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
25936 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
25937 "i*86-pc-linux-gnu*".
25938 * gdb.base/interrupt.exp: Ditto.
25939 * gdb.base/corefile.exp: Ditto.
25941 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
25942 define vxworks when building the testcase.
25944 * gdb.base/ptype.exp: Fix testnames to be unique.
25945 * gdb.base/radix.exp: Ditto.
25946 * gdb.base/term.exp: Ditto.
25947 * gdb.base/whatis.exp: Ditto.
25948 * gdb.c++/classes.exp: Ditto.
25950 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
25952 * gdb.base/callfuncs.exp: Fix indentation.
25954 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
25955 suppress_flag has been set.
25956 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
25959 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
25961 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
25964 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
25965 set_debug_traps() and breakpoint().
25966 * gdb.c++/misc.cc (main): Ditto.
25967 * gdb.c++/templates.cc (main): Ditto.
25968 * gdb.c++/virtfunc.cc (main): Ditto.
25970 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
25972 * lib/gdb.exp(gdb_step_for_stub): New function.
25973 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
25974 exists, reload the executable and do a "continue" instead of
25976 (runto_main): Use gdb_step_for_stub.
25978 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
25979 tests to have unique names.
25980 * gdb.base/callfuncs.exp: Ditto.
25981 * gdb.base/commands.exp: Ditto.
25982 * gdb.base/default.exp: Ditto.
25983 * gdb.base/help.exp: Ditto.
25984 * gdb.base/list.exp: Ditto.
25985 * gdb.base/opaque.exp: Ditto.
25986 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
25989 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
25990 * gdb.c++/cplusfuncs.cc: Ditto.
25991 * gdb.c++/virtfunc.cc: Ditto.
25993 * config/monitor.exp: Keep track of the last file we saw, rather
25994 than trying to get the info from gdb.
25996 * gdb.fortran/types.exp: Move comment to previous line.
25998 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
26000 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
26003 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
26006 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
26007 string from GDB when it connects.
26009 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
26011 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
26013 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
26014 if we can't get a debug format from GDB (we may be testing an
26015 older GDB). Use a 10 second timeout when checking for the format.
26017 * gdb.stabs/weird.exp: Fix quoting.
26019 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
26021 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
26023 * config/arm-ice.exp: New file.
26025 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
26027 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
26028 until it has been modified to work with the new testsuite.
26030 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
26031 testcase won't compile, cause all of the testcases in the file to
26034 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
26035 (gdb_clear_suppressed): New procedure.
26036 (gdb_stop_suppressing_tests): Only clear suppress_flag if
26037 it contains a positive value.
26039 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
26041 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
26043 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
26045 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26047 * lib/gdb.exp (setup_xfail_format): New function.
26048 (get_debug_format): New function to get debug format.
26049 (debug_format): New global variable to hold last value set
26050 by get_debug_format.
26051 * gdb.base/list.exp: Call get_debug_format and expect some
26052 tests to fail for DWARF 1 and COFF formats.
26053 * gdb.c++/ptype.exp: Ditto.
26054 * gdb.c++/classes.exp: Ditto.
26055 * gdb.c++/cplusfuncs.exp: Ditto.
26056 * gdb.c++/inherit.exp: Ditto.
26057 * gdb.c++/templates.exp: Ditto.
26058 * gdb.c++/virtfunc.exp: Ditto.
26060 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26062 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26063 host doesn't have a currently-open connection.
26065 * config/sparclet.exp: Cleanups and fixes to make it generic for
26066 any gdb stub target. Handle cases where gdb doesn't respond when
26067 interrupted in a sane fashion.
26069 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
26070 same thing in a totally different way.
26072 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
26074 (gdb_start): We set the global gdb_prompt variable in
26075 default_gdb_init now.
26077 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26079 * gdb.base/printcmds.exp: Fix "check for floating addition"
26080 regexp to accept results within approx +/- .01 of exact value.
26081 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26083 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26085 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
26087 (gdb_expect): Add optional timeout parameter, and add timeout
26088 value to various calls.
26089 (gdb_suppress_tests): Only give one warning message per group.
26091 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26093 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
26094 global variables. Handle getting a value for $timeout more
26097 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26099 * lib/gdb.exp: Close connection to remote host if gdb doesn't
26101 (default_gdb_init): New procedure; allow gdb_init to be overridden
26102 by a target configuration file.
26103 (gdb_expect): Pass the timeout to remote_expect.
26105 * config/monitor.exp(gdb_load): Fix typo in regexp.
26107 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26109 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26111 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26113 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
26114 here. Call gdb_target_exec before rebooting the target, to make
26115 sure the connection to the target is closed.
26116 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26117 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26118 Also detect "Timeout reading from remote" error.
26120 * config/gdbserver.exp: Pass the executable being loaded to
26121 gdb_target_monitor. Don't call gdb_file_cmd here; let
26122 gdb_target_monitor do it.
26124 * gdb.disasm/hppa.exp: Don't use exec_output.
26126 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26128 * gdb.base/list.exp: If we're debugging a non-native target,
26129 try to set the pc register to point to the start of the
26130 program before doing the first list command.
26132 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
26133 test_calls after restarting.
26135 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
26138 * gdb.base/watchpoint.exp: Fix typo.
26140 * gdb.base/setshow.exp: Check for use_gdb_stub.
26142 * gdb.base/break.exp: Fix continue until exit test for the gdb
26144 * gdb.base/langs.exp: Ditto.
26146 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
26147 gdb_load_offset. If we weren't given a file to load, figure out
26148 what the current file is and use it.
26150 * config/i386-bozo.exp: New file.
26152 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26154 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26157 * config/proelf.exp: New entry.
26159 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26161 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26164 * gdb.base/watchpoint.exp: Don't run the test_stepping
26165 tests if gdb can't call functions on the target.
26167 * gdb.base/setshow.exp: Don't run the set prompt tests if
26168 the board has gdb_prompt set.
26170 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26172 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26173 * gdb.base/commands.exp: Likewise.
26174 * gdb.base/setshow.exp: Likewise.
26176 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26178 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26181 * config/i960.exp: New file.
26183 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26185 * gdb.base/funcargs.exp: Check for gdb,short_int target
26186 feature instead of looking for explicit target triplets.
26188 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
26190 * gdb.base/printcmds.exp: add a couple more tests a la
26191 "p 123DEADBEEF", to check parse_number.
26192 * top.c: change "to enable to enable" to "to enable" in a couple
26195 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26197 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26200 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26202 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26203 where the test executable is run with explicit args.
26204 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26206 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26208 * gdb.base/run.c: Use FAKEARGV to build test executable that
26209 does not require a command line arg, since most simulators
26210 don't currently support passing such an arg into the simulated
26212 * gdb.base/commands.exp: Change tests to insert the proper
26213 value as the arg to the first recursive factorial call. Change
26214 compilation line to define FAKEARGV at compile time.
26216 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26218 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26219 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26220 function with watchpoint enabled" test.
26222 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26224 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
26225 Don't call gdb_test when the command doesn't return to a gdb prompt.
26227 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
26228 "Tests restarted" messages.
26230 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26232 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26234 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
26236 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26237 for INFO SYMBOL; add help tests for OVERLAY commands.
26238 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26239 add tests for OVERLAY commands
26240 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26241 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26242 * gdb.base/sigall.c: add usestubs code frag
26243 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
26245 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26247 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26249 (gdb_stop_suppressing_tests): Note that tests have restarted.
26251 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26253 * config/h8300.exp: New file.
26255 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26257 * gdb.base/setshow.exp: Check for the existence of a
26258 feature, not its value.
26260 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26262 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26264 * gdb.base/scope.exp: It's now init0(), not init().
26266 * gdb.base/scope0.c: For now, change init() to be init0().
26268 * config/monitor.exp: Use gdb_serial in preference to serial
26271 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
26272 and it's not already set.
26274 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26276 * gdb.base/setshow.exp: Only test the run command if the target
26277 isn't using a stub and if it supports argument passing.
26279 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26281 * config/udi.exp(gdb_start): Make sure UDICONF is set
26282 properly before starting gdb.
26284 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26286 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26287 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26288 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26290 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26292 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
26293 specialized code to reboot the board, use remote_reboot instead.
26295 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26297 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26299 * config/monitor.exp: Make sure we disconnect from the target.
26300 Also, try a reboot/reload cycle instead of failing if the
26303 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26305 * gdb.base/default.exp: Don't set match_max.
26306 * gdb.base/help.exp: Ditto.
26307 * gdb.base/list.exp: Ditto.
26308 * gdb.base/signals.exp: Ditto.
26310 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26311 set, use remote_ld to download the testcase instead of
26314 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26316 * config/vr5000.exp: New file.
26318 * config/monitor.exp(gdb_target_monitor): Add pattern for
26319 "Ending remote" to detect errors in connecting.
26321 * gdb.base/setshow.exp: Add .* within auto language test.
26323 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26326 * config/monitor.exp(gdb_load): Check for a failure when loading,
26327 and reboot the board if necessary.
26329 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26330 a set of tests. Remove print.* from the patterns being checked.
26332 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26334 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26335 refer to gdb_spawn_id.
26337 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26339 * config/sparclet.exp: Ditto.
26340 * config/sparclet-old.exp: Ditto.
26341 * config/slite.exp: Ditto.
26342 * config/sim.exp: Ditto.
26343 * gdb.base/funcargs.exp: Ditto.
26345 * lib/gdb.exp:Remove references to gdb_spawn_id.
26346 (gdb_expect): Move to remote.exp.
26348 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26350 * config/monitor.exp: Detect the "Couldn't establish connection"
26353 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26355 * gdb.base/bitfields.exp: Use runto instead of explicit
26356 gdb_run_cmd/gdb_expect sequences.
26358 * gdb.base/break.exp(text_next_with_recursion): Add match for
26361 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26362 We also need to handle the "A program is being debugged already"
26363 prompt from gdb. Use gdb_test to set the baud rate.
26365 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26366 to 20000. Really. I mean it.
26368 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26370 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
26371 fails. If suppress_flag is set, skip perror message about not
26372 being able to send to GDB.
26373 (send_gdb): If suppress_flag is set, don't try to send commands to
26375 (gdb_expect): If suppress_flag is set, always fail immediately.
26376 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26377 (gdb_init): Call gdb_stop_suppressing_tests.
26378 (default_gdb_exit): Ditto.
26379 (default_gdb_start): Ditto.
26381 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
26382 gdb_stop_suppressing_tests as appropriate.
26383 * gdb.base/break.exp: Ditto.
26384 * gdb.base/callfuncs.exp: Ditto.
26385 * gdb.base/commands.exp: Ditto.
26386 * gdb.base/exprs.exp: Ditto.
26387 * gdb.base/funcargs.exp: Ditto.
26388 * gdb.base/list.exp: Ditto.
26389 * gdb.base/recurse.exp: Ditto.
26390 * gdb.base/scope.exp: Ditto.
26391 * gdb.base/structs.exp: Ditto.
26392 * gdb.c++/inherit.exp: Ditto.
26394 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26396 * config/vr4300.exp: New file.
26398 * gdb.*/*.exp: Call gdb_expect instead of expect.
26400 * lib/gdb.exp(gdb_expect): New function.
26402 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26404 * lib/gdb.exp(gdb_init): New function.
26406 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
26407 for each individual variable set.
26409 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26412 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26414 * gdb.base/scope.exp: Use gdb_test.
26416 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26417 aborting; the testsuite driver will do that for us (see
26418 gdb_finish). Also, use gdb_test in a few more places.
26420 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26422 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26424 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26426 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26427 and "add_tests" are not at the same address.
26429 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26431 * gdb.base/ptype.exp: Use gdb_test.
26433 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26435 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26436 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26437 left in. No longer expect them to fail.
26439 * gdb.stabs/*.mt; Deleted, no longer used.
26440 * gdb.stabs/configure.in: Remove references to target makefile
26442 * gdb.stabs/configure: Rebuilt.
26444 * gdb.disasm/*.mt: Deleted, no longer used.
26445 * gdb.disasm/configure.in: Remove references to target makefile
26446 frags. Use "sh3.s" as the unique filename for this directory.
26447 * gdb.disasm/configure: Rebuilt.
26449 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26450 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26451 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26453 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26455 * config/udi.exp: Use mondfe,name instead of remote_host.
26457 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26459 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26460 a function with a watchpoint enabled on the mn10200.
26462 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26463 before trying to create it!
26465 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26467 * config/vx.exp: Use hostname instead of netport.
26469 * config/vxworks.exp: New file.
26471 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
26473 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
26474 gdb before assuming everything worked. Send a ^C if a timeout
26477 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
26478 $gdb_spawn_id directly.
26479 (gdb_run_cmd): Try _start as well as start. Use the target feature
26480 gdb,start_symbol as the symbol to start from when jumping.
26482 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
26484 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
26487 * gdb.base/recurse.exp: Relax final value test for 'b' so that
26488 it doesn't lose for 16bit integer systems.
26490 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
26492 * gdb.fortran/types.exp: If the target doesn't support "double"
26493 data types, then expect "real" types to only be 4 bytes.
26495 * gdb.c++/virtfunc.exp: Expect failure for virtual function
26496 call tests if the target doesn't support inferior function calls.
26498 * gdb.base/printcmds.exp: Allow minor deviation in FP values
26501 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
26503 * gdb.base/help.exp: Disable "help set", "help show", and
26504 "help support". Simplify regexp for "help stack".
26506 * gdb.base/default.exp: Set match_max to 5000 and the timeout
26507 to 60 seconds. Temporarily set match_max to 15000 around the
26508 "info copying" test.
26510 * gdb.base/nodebug.exp: Don't try to do an inferior function
26511 call if the target doesn't support them.
26512 * gdb.base/printcmds.exp: Likewise.
26513 * gdb.base/setvar.exp: Likewise.
26514 * gdb.base/structs.exp: Likewise.
26515 * gdb.c++/templates.exp: Likewise.
26516 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
26518 * gdb.base/recurse.exp: Enable for the mn10200.
26520 * configure.in: Do configure gdb.stabs directory for *-*-elf
26522 * configure: Rebuilt.
26524 * gdb.base/break.exp: Check for gdb,noresults before testing
26525 exit status and/or results from the target.
26526 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26527 * lib/gdb.exp: Remove old (now bogus) initialization of
26528 noinferior, noargs, noresults and nosignals.
26530 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26532 * config/sh.exp: New file.
26534 * config/slite.exp: Try to connect multiple times to the board
26535 before rebooting. Only send a "monitor run" if need_monitor_run
26538 * gdb.base/break.exp: Don't do the "stub continue" test if
26539 the target has gdb_stub set.
26541 * gdb.base/callfuncs.exp: Increase the timeout.
26543 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26544 if the target has gdb,noinferiorio set.
26546 * gdb.base/list.exp: Increase match_max to 10000 characters.
26548 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26550 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26553 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26555 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26557 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
26558 trying to delete the copy of gdb. Catch the file delete so we
26559 don't die if the delete fails; also, the file should be copied to
26560 the host, not to the build.
26562 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26564 * lib/gdb.exp(gdb_test): Surround the result pattern with
26565 parenthesis in case it contains multiple regexps separated
26568 * gdb.base/watchpoint.exp: Use gdb_test.
26569 * gdb.base/default.exp: Ditto.
26571 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26573 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
26575 * gdb.base/scope.exp: Use gdb_test.
26576 * gdb.c++/classes.exp: Ditto.
26577 * gdb.c++/inherit.exp: Ditto.
26579 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26581 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26582 remote_exec instead.
26583 * gdb.base/corefile.exp: Don't be ridiculous.
26584 * gdb.base/*.c: Add missing stub invocations.
26586 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26588 * config/slite.exp: Miscellaneous fixes.
26590 * lib/gdb.exp: Fix runto.
26592 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26595 * gdb.base/watchpoint.exp: Fix regexp.
26597 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26598 close and wait commands, as the descriptor may now be
26599 invalid. Always call "remote_close host".
26601 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26603 Major rewrite for testsuite revision.
26605 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26606 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26607 instead of relying on spawn_id to always contain a valid
26609 (get_compiler_info): New procedure to build the ${binfile}.ci
26610 file, instead of replicating this in N different places.
26611 (gdb_compile): New procedure.
26613 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
26614 appropriate arguments) instead of compile. Use gdb_test in a lot
26615 more places. Use send_gdb instead of send. Always run gdb_start
26616 at the start of a testcase, as this is no longer done magically.
26618 config/*-gdb.exp: Rename without the -gdb suffix.
26620 config/mips.exp: Use remote_close instead of exit_remote_shell.
26621 config/monitor.exp: Use target_info instead of looking at
26622 baud, timeout, etc.
26623 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26625 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26627 * gdb.c++/templates.exp (test_ptype_of_templates),
26628 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26629 Update expect patterns for destructors and assignment operators
26630 to match corresponding c-typeprint.c changes.
26631 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26632 to destructor breakpoint test, GDB should be able to set the
26633 destructor breakpoint without specifying arguments.
26635 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26637 * gdb.threads/pthreads.exp: Change result for failure to compile due
26638 to lack of pthreads runtime support from an error to simply an
26639 unsupported test, per dejagnu standards.
26641 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26643 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26644 where GDB exits to reduce pattern match time.
26645 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26647 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26649 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
26651 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26652 * gdb.base/default.exp: ditto.
26653 * gdb.base/nodebug.exp: ditto.
26654 * gdb.base/printcmds.exp: ditto.
26655 * gdb.base/ptype.exp: ditto.
26656 * gdb.base/setvar.exp: ditto.
26657 * gdb.base/structs.exp: ditto.
26658 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26660 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26662 * configure, */configure: Rebuild with autoconf 2.12.
26664 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26666 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26667 use new i*86-pc-linux*-gnu quads.
26668 * gdb.base/corefile.exp: Ditto.
26669 * gdb.base/signals.exp: Ditto.
26670 * gdb.base/sigall.exp: Ditto.
26671 * gdb.base/interrupt.exp: Ditto.
26673 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26674 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26677 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
26678 linux. This allows the test case to at least compile on latest
26679 linux, but still not run due to missing the threads runtime library.
26681 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26683 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26684 directory to search gdb directory. Accept and step over conditional
26685 stack alignment code. Consume $prompt in failure cases.
26686 Reset timeout to $oldtimeout instead of some arbitrary value.
26687 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26688 timeout problems with infinite stack backtraces.
26689 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26690 Accept function parameters for linkfunc member.
26692 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26694 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26695 (CXXFLAGS): Remove, unreferenced.
26696 (B_OPTIONS): Add for -B options and add code to initialize with
26697 previous -B options and also add -B option to pick up cross compiled
26699 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26700 doing cross compiles.
26701 (target_alias): Declare global.
26702 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26703 to verify that gcc exists in build tree, and if so set CC to that
26704 gcc and to use B_OPTIONS and TARGET_INCLUDES.
26706 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26708 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26709 ptype test for anonymous union. Fixup testcase to match
26710 current gcc debug output.
26712 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26714 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26715 force argument to an unsigned long type.
26717 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26719 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
26720 tests and anonymous union print/ptype tests.
26721 * gdb.base/list.exp (test_forward-search): Increase timeout by
26722 5 minutes for the "search extremely long line" case.
26723 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26724 completely optional and that the pass/fail messages use the command as
26725 the message if that third arg is a null string.
26726 (gdb_test_exact): Arrange that a null string pattern means match a
26727 null string output rather than any output, which might include random
26729 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26731 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26732 always failing and failure is now exposed by gdb.exp changes.
26734 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26736 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26737 weren't being noted.
26739 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26741 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26742 * gdb.stabs/weird.exp: Remove v_comb xfails.
26744 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
26746 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
26747 list.exp scope.exp watchpoint.exp]
26748 Make all timeout error msgs explicitly say "(timeout)".
26750 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
26752 * config/monitor.exp: Increase download timeout to 1000 seconds.
26754 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
26756 * config/m32r.exp: Increase timeout to 120 seconds.
26758 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26760 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26761 and accept older ordering as obsolescent gcc or gdb.
26762 * gdb.c++/templates.exp: Ditto.
26763 * gdb.c++/virtfunc.exp: Ditto.
26765 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26767 * gdb.base/coremaker.c: Add code to mmap some data so we
26768 can check that it ends up in the core file.
26769 * gdb.base/corefile.exp: Add test to read mmapped data
26772 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
26774 * config/m32r.exp: New file.
26776 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26778 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26779 that cflags can contains -gstabs, and work correctly for other tests.
26781 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
26783 * gdb.base/setshow.exp: New file, tests show and set.
26784 * gdb.base/setshow.c: New file, tests show and set.
26785 * gdb.base/help.exp: Add test for help set|show annotate.
26786 * gdb.base/default.exp: Add test for set|show annotate.
26788 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26790 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26792 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26795 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26797 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26798 and width commands. This is done elsewhere.
26799 * (gdb_start): Don't call gdb_start_sim here. That's already
26800 done in gdb_load. This fixes lots of failures in default.exp.
26802 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26804 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26805 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26806 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26807 in the same we we treat other failures (since it may be an expected
26808 condition), rather than as an error.
26809 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26812 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26814 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26815 (distclean maintainer-clean realclean): No need to remove files
26816 twice. Nuke the duplicates.
26817 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
26818 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
26819 Remove config.h along with other config files.
26821 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26823 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26824 "p func1 ()" and note that rests of tests are skipped.
26825 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
26826 setup_xfails for "print func2::coremaker_local".
26827 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26828 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26829 affected by the previous run test.
26830 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26831 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26832 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26833 "pass int powerset tuple" and "pass modeless int powerset tuple".
26834 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26835 "real write 4" and "real write 8".
26836 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
26837 setup_xfails for "print vs1 after tuple assign 2",
26838 "print \$i after tuple assign 2", and
26839 "print vs2 after tuple assign 2".
26840 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26841 meaningful error message and return -1 so the caller can
26842 suppress further tests and avoid a cascade of errors.
26844 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26846 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26847 format for printing version.
26848 * gdb.base/default.exp: Ditto.
26849 * gdb.base/interrupt.exp: Fix problem with cascade of
26850 errors if child process dies while calling a function.
26852 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26854 * Makefile.in (VPATH): Add
26855 * Makefile.in (Makefile, config.status): Fix rules so things get
26856 remade when necessary.
26858 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26860 * Makefile.in (just-check): Add path to sibling expect dir
26861 to environment variable specified by RPATH_ENVVAR.
26863 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26865 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
26866 (just-check): Add shared library paths for libstdc++, tk,
26867 tcl, bfd, and opcodes to the environment variable specified
26869 * configure.in: Add support to recognize --enable-shared flag
26870 and generate correct value for RPATH_ENVVAR.
26871 * configure: Regenerated with autoconf.
26873 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
26875 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
26876 include all osf versions.
26877 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
26878 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
26879 when target is linux. When failing to build pthreads test
26880 executable, give more meaningful message.
26881 * gdb.threads/pthreads.c: Hpux also uses old definition of second
26882 arg for pthread_create.
26884 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
26886 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
26887 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
26888 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
26889 and -lpthreads (everybody else).
26890 (test_startup): Fail gracefully if threads are not supported.
26891 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
26892 "p/c array_index("abcdef",2)" when not gcc compiled.
26893 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
26894 "print func2::coremaker_local" when not gcc compiled.
26895 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
26896 "ptype on opaque struct tagname (statically)",
26897 "ptype on opaque struct tagname (dynamically) 1", and
26898 "ptype on opaque struct tagname (dynamically) 2"
26899 for not compiled with gcc.
26900 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
26901 backtrace when compiled with gcc.
26902 * lib/gdb.exp (runto_main): Return result of "runto main" rather
26903 than always return success.
26905 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
26907 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
26909 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
26911 * gdb.base/structs.exp: Undo last change.
26913 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
26915 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
26916 encapsulate all the steps/nexts done during self test, starting
26917 at main, and makes them less sensitive to optimization issues.
26918 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
26919 signal handler" test.
26920 * gdb.threads/pthreads.exp: Only run this for native configs.
26921 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
26922 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
26924 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
26925 for "runto test_calls(void)" test.
26927 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
26929 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
26930 and don't expect address info in breakpoint confirmations.
26932 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
26934 * gdb.base/list.exp (test_forward_search): Increase timeout
26935 temporarily by 60 seconds for searching extremely long line,
26936 and then reset to old value when done. Increase expect input
26939 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
26941 * gdb.base/list.exp (test_forward_search): Fix to handle very
26942 long source line without overflowing expect's input buffer.
26944 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
26946 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
26949 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
26952 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
26955 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
26958 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
26960 * configure.in (configdirs): Add gdb.threads.
26961 * configure: Regenerated with autoconf.
26962 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
26963 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
26964 * gdb.threads/configure: New, generated with autoconf.
26966 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
26968 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
26970 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
26972 * gdb.base/signals.exp (test_handle_all_print): Test separately for
26973 each signal's status in the output of "handle all print".
26974 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
26975 the \r\n sequence that immediately precedes the gdb prompt.
26976 * gdb.base/a1-selftest.exp: Save original timeout and restore
26979 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
26981 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
26984 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
26986 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
26988 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
26990 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
26991 timeout by 60 seconds.
26993 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
26995 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
26996 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
26999 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
27001 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
27002 gdb initialization, also report how long dejagnu waited. Restore
27003 old timeout before doing error return. Temporarily increase timeout
27004 by 3 minutes to allow for slow startups over heavy NFS use.
27006 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
27008 * lib/gdb.exp: Report timeout value for verbosity level 2.
27009 * config/gdbserver.exp: Ditto.
27010 * config/hppro.exp: Ditto.
27011 * config/mips-gdb.exp: Ditto.
27012 * config/monitor.exp: Ditto.
27013 * config/netware.exp: Ditto.
27014 * config/sim-gdb.exp: Ditto.
27015 * config/slite-gdb.exp: Ditto.
27016 * config/udi-gdb.exp: Ditto.
27017 * config/unix-gdb.exp: Ditto.
27018 * config/vx-gdb.exp: Ditto.
27019 * gdb.base/a1-selftest.exp: Ditto.
27020 * gdb.base/a2-run.exp: Ditto.
27021 * gdb.base/break.exp: Ditto.
27022 * gdb.base/corefile.exp: Ditto.
27023 * gdb.base/list.exp: Ditto.
27024 * gdb.base/recurse.exp: Ditto.
27025 * gdb.base/scope.exp: Ditto.
27026 * gdb.base/signals.exp: Ditto.
27028 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27030 * gdb.threads/Makefile.in (docdir): Removed.
27032 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
27034 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
27035 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
27037 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
27038 autoconf 2.5 or higher.
27039 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
27041 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
27043 * configure: Regenerated.
27044 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27045 avoid name clashes with SunOS headers.
27047 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27049 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27051 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27053 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27054 prototype information ends up in the compiler info file.
27056 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27058 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27059 attempting to regenerate it. Eliminate use of a temporary file
27060 and just generate the info file directly. Source it immediately,
27061 for consistency of use.
27062 * gdb.base/corefile.exp: Ditto
27063 * gdb.base/exprs.exp: Ditto.
27064 * gdb.base/funcargs.exp: Ditto.
27065 * gdb.base/langs.exp: Ditto.
27066 * gdb.base/list.exp: Ditto.
27067 * gdb.base/mips_pro.exp: Ditto.
27068 * gdb.base/nodebug.exp: Ditto.
27069 * gdb.base/opaque.exp: Ditto.
27070 * gdb.base/ptype.exp: Ditto.
27071 * gdb.base/scope.exp: Ditto.
27072 * gdb.base/setvar.exp: Ditto.
27073 * gdb.base/signals.exp: Ditto.
27074 * gdb.base/whatis.exp: Ditto.
27075 * gdb.c++/templates.exp: Ditto.
27076 * gdb.c++/virtfunc.exp: Ditto.
27077 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
27078 whether or not to add -lstdc++ to the compile command line args.
27080 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27082 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27083 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27084 Increase timeout, a lot of single stepping might be needed if the
27085 target has no hardware watchpoints.
27087 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27089 * gdb.base/break.exp: Ignore compiler warnings when compiling
27091 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27092 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27094 * gdb.base/exprs.exp: Add h8300 xfails.
27095 * gdb.base/funcargs.exp: Likewise.
27096 * gdb.base/nodebug.exp: Likewise.
27097 * gdb.base/printcmds.exp: Likewise.
27098 * gdb.base/ptype.exp: Likewise.
27099 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27101 * gdb.base/return.exp: Handle float/double precision problems
27103 * gdb.base/funcargs.c: Explicitly make last constant argument to
27104 call_after_alloca_subr an unsigned long type.
27105 * gdb.base/return.c: Include stdio.h.
27107 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27109 * config/abug.exp: New file for the older Motorola Bug monitor
27110 that runs on the mvme13x series VME boards.
27111 * config/monitor.exp: Use the new config array for target settings
27114 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27116 * sim-gdb.exp: Make the SH simulator allocate less space when
27119 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27121 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27124 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27126 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27127 "rs6000-*-*" for "list function in include file" when gcc compiled.
27128 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27129 for "p ctable1[120]".
27130 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27131 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27132 Remove setup_xfail for "rs6000-*-*" for
27133 "print 'scope0.c'::filelocal before run".
27134 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27135 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27136 since some compilers don't allow both options to be given
27137 on the same command line. Create object file and move it.
27139 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27141 * gdb.base/corefile.exp: Always regenerate the core file, since
27142 we always regenerate the coremaker program. Detect special case
27143 where registers cannot be read from core file.
27145 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27147 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27148 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27149 * gdb.c++/templates.exp: Only match on basename of file since
27150 some formats like xcoff don't encode directory information.
27151 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27152 and rs6000 AIX xcoff targets.
27153 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27154 * configure: Regenerate.
27155 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27156 here, rather than in distclean.
27158 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27160 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27161 defined, and use it to compile the test case with -O2. The
27162 native compilation still uses no optimization.
27163 * gdb.base/mips_pro.c: Remove inline assembly code since
27164 it is compiled PIC by default, which results in assembler
27165 warnings that make the testsuite think the compilation
27168 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27170 * gdb.c++/misc.exp: Add note to message for
27171 "print s.a for foo struct" that this is a known gcc 2.7.2
27174 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27176 * gdb.base/break.exp: Fix pattern for matching "Delete all
27177 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27178 setup_xfail for deleting all breakpoints test. Fix various
27179 timeout messages to include "(timeout)".
27180 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27181 for "p t_float_values2(3.14159,float_val2)".
27182 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27183 for "continue to call2g" when gcc compiled.
27184 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27185 "up to foo in langs.exp", "show language at foo in langs.exp",
27186 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27187 and "show language at fsub in langs.exp".
27188 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27189 "list line 1 in include file", "list message for lines past EOF",
27190 "list function in include file", "list list0.h:foo", and
27191 "list filename:function; nonexistant function".
27192 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27193 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27194 and "ptype t_char_array" to be for native cc only.
27196 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27198 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
27199 setup_xfail for "print coremaker_bss", "print coremaker_ro",
27200 "print func2::coremaker_local", and "backtrace in corefile.exp".
27202 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27204 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27205 "bt in signals.exp". This problem only appears when running
27206 the testsuite, and then only intermittently.
27208 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27210 * gdb.base/return.exp (return_tests): Differentiate between
27211 two tests of continuing.
27213 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27215 * */Makefile.in (maintainer-clean): Remove config.log.
27216 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27217 * gdb.c++/Makefile.in (PROGS): Add inherit.
27218 (clean): Remove *.ci.
27220 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27222 * gdb.c++/misc.cc: Add test code from Mike Stump.
27223 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27225 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27227 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27228 to "alpha-*-osf2*" and add comment.
27229 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
27230 setup_xfail for "step over execarg initialization" and
27231 "step over corearg initialization".
27232 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27233 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27234 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
27235 gcc compiled for "print coremaker_bss", "print coremaker_ro",
27236 "print func2::coremaker_local", and "backtrace in corefile.exp".
27237 * gdb.base/signals.exp: Build and source signals.ci.
27238 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27239 to be for gcc only.
27240 * lib/gdb.exp: Move verbose statements outside conditionals.
27242 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27244 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27245 Feb 3 procfs.c change.
27247 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27249 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27251 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27253 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27254 from dejagnu's apparent default of 10 seconds, which gives random
27255 results when running the tests over NFS on moderately loaded systems.
27256 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27258 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27260 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27261 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
27264 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27266 * configure.in (CY_AC_PATH_TCLH): Remove.
27267 * configure: Regenerate.
27269 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27271 * gdb.c++/Makefile.in (clean): Add missing '{'.
27273 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27275 * lib/gdb.exp: Provide a default value for noinferior.
27277 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27280 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27282 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27283 the executable, not the .o to run the tests from.
27285 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27287 * gdb.base/break.exp: Don't test for program exit or exit status
27288 if $noresults if nonzero.
27289 * gdb.base/langs.exp: Likewise.
27290 * gdb.base/watchpoint.exp: Likewise.
27292 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27293 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27294 trying to compile the testcase.
27296 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27298 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27299 * gdb.base/signals.exp (continue to handler): Likewise.
27301 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27303 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27305 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27307 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27309 * gdb.base/corefile.exp: Recognize "not found" as failure
27310 when trying to determine if a core file was generated.
27311 If no core file was generate the first time, try again without
27312 the ulimit -c to work around braindamaged shells.
27314 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27316 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27317 [] tests with "test" and enclose string in quotes.
27318 * gdb.stabs/configure: Rebuild
27320 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27322 Changes in sync with expect:
27323 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27324 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27325 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27326 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27327 argument to AC_REQUIRE.
27328 * configure: Regenerated.
27330 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27332 * gdb.base/corefile.exp: When generating a core, discard any
27333 error messages about ulimit not found and the "core dumped"
27334 message from the shell that runs the coredumper.
27336 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27338 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27340 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27341 which sed script to run. Expect failure for v_comb test
27344 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27346 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
27347 "print func2::coremaker_local" and for "backtrace in corefile.exp"
27349 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27351 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27352 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
27353 "sparc-sun-solaris*" xfails for "p v_comb".
27354 * lib/gdb.exp (default_gdb_start): Fix typo.
27355 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27356 messages to not include the full program name that caused
27357 the core dump since some systems (such as solaris) apparently
27358 truncate this path to about 80 characters.
27359 When generating a core file first try increasing the core file
27360 size limit to unlimited since some systems may default it to
27361 zero, and it is harmless to try it. Move the test for failing
27362 to generate a core file to where it will actually get executed.
27363 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27364 new gdb result from g++ debug info improvements and make old
27365 pattern obsolescent. Also account for size_t differences
27366 (may be int or long).
27367 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27368 initialization before function call is placed in the delay slot
27369 and thus appears to be skipped over by commands such as "next".
27371 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27373 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27375 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27377 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27378 input source file; fix code to compile test to deal with this
27380 * gdb.c++/*.exp: Likewise.
27382 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27384 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27385 "bt in signals.exp".
27387 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27389 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27390 "step over execarg initialization" and
27391 "step over corearg initialization".
27393 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27395 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27396 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27398 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27400 From Rob Savoye (rob@poseidon.cygnus.com)
27401 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27402 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
27403 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27404 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27405 configure.in}: Major reworking for autoconfig.
27406 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27407 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
27409 * config/unix-gdb.exp: Make GDB global.
27410 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
27411 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27412 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27413 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27414 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27415 term.exp, twice.exp, watchpoint.exp, whatis.exp},
27416 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
27417 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27418 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27419 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27420 pr-8136.exp, result.exp, string.exp, tuples.exp},
27421 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
27422 to returns as necessary, arrange for test to compile own testcase
27424 * lib/gdb.exp: Changes for testsuite to compile own test cases.
27426 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27428 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
27429 clear_xfail at end of test which might not call either pass or fail.
27430 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27431 "backtrace through signal handler".
27433 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27435 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27436 continuing from a job control stop signal.
27437 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27439 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27441 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27442 * gdb.base/corefile.exp: Likewise.
27443 * gdb.base/funcargs.exp: Likewise.
27445 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27447 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27448 * config/monitor.exp: Add support for setting baud rate.
27450 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27452 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27453 i*86-*-linux* xfails for "backtrace through signal handler".
27454 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27455 "print func2::coremaker_local".
27456 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
27457 alpha-dec-osf2* xfail for
27458 "delete all breakpoints when none".
27460 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27462 * gdb.base/break.exp: Change test that deletes all breakpoints
27463 when no user breakpoints are installed. A post 4.15 change
27464 causes gdb to no longer prompt in this case.
27466 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27468 * gdb.base/return.exp (return_tests): Change xfail for test
27469 "correct value returned double test" to stop xfailing at
27470 Solaris 2.5. Apparently the bug has been fixed.
27472 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
27474 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
27475 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
27477 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
27479 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
27480 * gdb.disasm/hppa.s: Corresponding changes.
27482 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
27484 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
27486 * config/mt-hpux: Deleted.
27488 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
27490 * Many files: When warning about suppressed tests due to a
27491 nonexistant test binary, avoid incrementing the warning count.
27493 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
27495 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
27497 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27499 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
27500 "sparc-*-solaris2*".
27502 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27504 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
27505 Add global and local variables and initialize them.
27506 * gdb.base/corefile.exp: Test correct mapping of corefile sections
27507 by printing variables. Remove rs6000 and powerpc xfails, BFD now
27508 extracts the file name and terminating signal from the core file.
27509 * TODO: Remove note about tests for correct mapping of corefile.
27510 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
27511 from optimizing it away.
27512 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
27513 handles common blocks.
27515 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
27517 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
27518 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27520 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27522 * Makefile.in (maintainer-clean): New target, synonym for
27524 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27525 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27526 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27527 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27528 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27529 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27531 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27533 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27534 xfails when not gcc compiled for "print foo::funclocal".
27535 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27536 "print foo::funclocal at foo",
27537 "print 'scope1.c'::foo::funclocal at foo",
27538 "print foo::funclocal_bss at foo",
27539 "print 'scope1.c'::foo::funclocal_bss at foo",
27540 "print foo::funclocal_ro at foo",
27541 "print 'scope1.c'::foo::funclocal_ro at foo",
27542 "print bar::funclocal at foo" and
27543 "print 'scope1.c'::bar::funclocal at foo".
27544 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27545 gcc compiled for "print foo::funclocal at bar".
27546 Expand all messages to ensure that they identify that
27547 the test is at bar().
27548 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27550 "ptype on opaque struct pointer (statically)",
27551 "ptype on opaque struct tagname (statically)",
27552 "ptype on opaque struct pointer (dynamically) 1",
27553 "ptype on opaque struct tagname (dynamically) 1",
27554 "ptype on opaque struct pointer (dynamically) 2" and
27555 "ptype on opaque struct tagname (dynamically) 2
27556 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27559 "whatis datalocal",
27562 "whatis bsslocal", and
27564 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27565 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27566 when not gcc compiled.
27567 * gdb.base/funcargs.exp (float_and_integral_args): Add
27568 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27570 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27571 "backtrace from call6a" when not gcc compiled.
27572 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27573 "backtrace from call7a" when not gcc compiled.
27574 * gdb.base/callfuncs.exp (do_function_calls):
27575 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27576 "p t_char_array_values(char_array_val2,char_array_val1)",
27577 "p t_char_array_values(char_array_val1,char_array_val2)",
27578 "p t_char_array_values("carray 1","carray 2")",
27579 "p t_char_array_values("carray 1",char_array_val2)",
27580 "p t_char_array_values(char_array_val1,"carray 2")",
27581 "p sum_args(1,{2})",
27582 "p sum_args(2,{2,3})",
27583 "p sum_args(3,{2,3,4})",
27584 "p sum_args(4,{2,3,4,5})"
27585 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27586 "backtrace in corefile.exp" when not gcc compiled.
27588 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27590 * gdb.base/signals.exp: Rewrite `handle all print' test as
27591 a procedure. Accept blanks or TABs as whitespace, increase
27592 timeout and expect input buffer size for the large output
27593 from the command. Remove "i*86-*-bsdi2.0" xfail.
27595 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27597 * gdb.base/setvar.exp: Add new testcases for truncation when
27598 assigning invalid values to bitfields.
27600 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27602 * gdb.base/callfuncs.exp (do_function_calls): Remove
27603 mips-sgi-irix* xfail for
27604 "call inferior func with struct - returns char *"
27605 and fix test so that an optional (unsigned char *) cast is
27606 accepted in the result.
27608 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27610 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27611 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27612 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27613 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27614 that accidentally got checked in.
27616 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27618 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
27619 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27621 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27622 Add mips-sgi-irix5* xfail for not gcc compiled.
27623 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
27624 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27625 compiled for "p top", "whatis top", "p middle", and "whatis
27627 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27628 "whatis signed char" for not gcc compiled.
27629 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27630 "set variable signed char=-1 (-1)" and
27631 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27632 * gdb.base/funcargs.exp (float_and_integral_args):
27633 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27634 Add mips-sgi-irix* xfail when not gcc compiled for
27635 "continue to call2b".
27636 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27637 "continue to call2g".
27638 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27639 compiled for "backtrace from call6a"
27640 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27641 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27642 when not gcc compiled for "backtrace from call7a".
27643 (localvars_after_alloca): Fix gdb_test cmds for
27644 "print * after runto ...".
27645 Remove rs6000-*-* xfails for
27646 "print i after runto localvars_after_alloca" and
27647 "print l after runto localvars_after_alloca"
27649 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
27650 when not compiled with gcc, for:
27651 "print signed char == (minus)",
27652 "print signed char != (minus)",
27653 "print signed char < (minus)",
27654 "print signed char > (minus)".
27655 * gdb.base/callfuncs.exp (do_function_calls):
27656 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27657 "call inferior func with struct - returns char *".
27658 * gdb.base/return.exp (return_tests): Change xfail for
27659 "correct value returned double test" to include Solaris 2.4.
27660 * gdb.base/funcargs.exp (float_and_integral_args):
27661 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27663 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27665 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27666 enumeration bitfields if compiling with GNU C.
27667 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27670 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27672 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27673 test for PRO targets.
27675 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27676 breakpoints in the inferior at any given time by making
27677 two groups of breakpoints for call2*, call6* and call7*
27680 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27682 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27683 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27684 from optimizing it away.
27685 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27686 "call inferior func with struct".
27688 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27690 * configure.in: Only configure gdb.chill for particular targets.
27692 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27694 * gdb.base/Makefile.in: Add action to .c.o transformation
27695 rule that generates a .ci file for each .o file and remove
27696 explicit .c.o rules except for callfuncs.o.
27697 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27698 generates a .ci file for each .o file and remove explicit
27700 (clean): Remove *.tmp *.ci files.
27701 (EXECUTABLES): Remove templ-info.exp.
27702 * gdb.base/compiler.c: New file.
27703 * gdb.c++/compiler.cc: New file
27704 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27705 Change rs6000-*-* xfail for
27706 "print 'scope0.c'::filelocal_ro" and
27707 "print 'scope1.c'::filelocal" and
27708 "print 'scope1.c'::filelocal_bss" and
27709 "print 'scope1.c'::filelocal_ro" and
27710 "print 'scope1.c'::foo::funclocal" and
27711 "print 'scope1.c'::foo::funclocal_ro" and
27712 "print 'scope1.c'::bar::funclocal" and
27713 "print 'scope0.c'::filelocal_ro" and
27714 "print 'scope1.c'::filelocal at foo" and
27715 "print 'scope1.c'::filelocal_bss at foo" and
27716 "print 'scope1.c'::filelocal_ro at foo" and
27717 "print 'scope1.c'::foo::funclocal at foo" and
27718 "print 'scope1.c'::foo::funclocal_bss at foo" and
27719 "print 'scope1.c'::foo::funclocal_ro at foo" and
27720 "print 'scope1.c'::bar::funclocal at foo" and
27721 "print 'scope0.c'::filelocal_ro" and
27722 "print 'scope1.c'::filelocal" and
27723 "print 'scope1.c'::filelocal_bss" and
27724 "print 'scope1.c'::filelocal_ro" and
27725 "print 'scope1.c'::foo::funclocal" and
27726 "print 'scope1.c'::foo::funclocal_bss" and
27727 "print 'scope1.c'::foo::funclocal_ro" and
27728 "print 'scope1.c'::bar::funclocal" and
27729 "print 'scope1.c'::bar::funclocal_bss"
27730 to only be xfail'd when not compiled with gcc.
27731 Add rs6000-*-* xfail for
27732 "print 'scope0.c'::filelocal_bss before run"
27733 when compiled with gcc.
27734 (test_at_main): Add rs6000-*-* xfail for
27735 "print filelocal_ro in test_at_main"
27736 when compiled with gcc.
27737 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
27738 Add rs6000-*-aix* xfail for
27739 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27740 "ptype t_char_array", not compiled with gcc.
27741 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27742 xfail for "list foo (in include file)" when gcc compiled.
27743 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
27744 (integral_args): Add rs6000-*-* xfail for
27745 "run to call0a" if not compiled with gcc.
27746 (unsigned_integral_args): Add rs6000-*-* xfail for
27747 "run to call1a" if not compiled with gcc.
27748 (float_and_integral_args): Add rs6000-*-* xfail for
27749 "run to call2a" if not compiled with gcc and for
27750 "continue to call2b" for any compiler.
27751 Add rs6000-*-* xfail to
27752 "print f1 after run to call2a" for gcc compiled.
27753 (discard_and_shuffle): Add rs6000-*-* xfail for
27755 (shuffle_round_robin): Add rs6000-*-* xfail for
27756 "backtrace from call7a" if not compiled with gcc.
27757 Add rs6000-*-* xfail for
27758 "backtrace from call7b" if compiled with gcc.
27759 (call_after_alloca): Add rs6000-*-* xfail for
27760 "print c in call_after_alloca" and
27761 "print s in call_after_alloca" and
27762 "backtrace from call_after_alloca_subr"
27763 if not compiled with gcc.
27764 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27765 "print c in localvars_in_indirect_call" and
27766 "print c in localvars_in_indirect_call" and
27767 "backtrace in indirectly called function" and
27768 "stepping into indirectly called function"
27769 if not compiled with gcc.
27770 (localvars_after_alloca): Add rs6000-*-* xfail for
27771 "print c after runto localvars_after_alloca" and
27772 "print s after runto localvars_after_alloca" and
27773 "print i after runto localvars_after_alloca" and
27774 "print l after runto localvars_after_alloca"
27776 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27777 than whatis-info.exp.
27778 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27779 than opaque-info.exp.
27780 Setup rs6000-*-* xfail for
27781 "ptype on opaque struct pointer (statically)" and
27782 "ptype on opaque struct pointer (dynamically)" when
27783 not compiled with gcc.
27784 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27785 rather than callf-info.exp.
27786 (do_function_calls): Add clear_xfail for rs6000-*-* for
27787 "p t_float_values2(3.14159,float_val2)". Seems to work
27788 fine there, both with xlc and gcc. Need to find out what
27789 it is doing right and fix other platforms.
27790 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27791 "call inferior func with struct - returns int",
27792 "call inferior func with struct - returns long",
27793 "call inferior func with struct - returns float",
27794 "call inferior func with struct - returns double",
27795 "call inferior func with struct - returns char *",
27796 but only if not gcc compiled (presumes xlc compiled).
27797 Change rs6000-*-* xfails for
27798 "call inferior func with struct - returns char" and
27799 " call inferior func with struct - returns short" to only
27800 xfail if not using gcc.
27801 (clean mostlyclean): Remove *.ci and *.tmp files.
27802 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27803 than templ-info.exp.
27804 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27805 Add rs6000-*-* xfail for "up to foo in langs.exp"
27806 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
27807 when not gcc compiled.
27809 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27811 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27812 * gdb.base/corefile.exp: Likewise.
27813 * gdb.base/list.exp: Likewise.
27814 * gdb.base/scope.exp: Likewise.
27815 * gdb.base/siganls.exp: Likewise.
27817 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27819 * gdb.base/whatis.exp: Likewise.
27821 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27823 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27824 failure (opcode table has been fixed to match reality).
27826 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27828 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27829 "call inferior func with struct - returns char",
27830 "call inferior func with struct - returns short"
27832 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27833 "print 'scope0.c'::filelocal at main",
27834 "print 'scope0.c'::filelocal_bss in test_at_main",
27835 "print 'scope0.c'::filelocal at foo",
27836 "print 'scope0.c'::filelocal_bss in test_at_foo",
27837 "print 'scope0.c'::filelocal at bar",
27838 "print 'scope0.c'::filelocal_bss in test_at_bar"
27840 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27841 in source file 1". This bug seems to have been fixed with both
27842 gcc and native cc (was native assembler bug?).
27844 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27846 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27847 "backtrace through signal handler" to "i*86-*-sysv4*".
27848 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27849 continue" case. Add "known SVR4 bug" to fail message.
27850 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27851 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27852 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27853 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27854 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27855 "up to foo in langs.exp", "show language at foo in
27856 langs.exp", "up to cppsub_ in langs.exp", "show
27857 language at cppsub_ in langs.exp", "up to fsub in
27858 langs.exp", and "show language at fsub in langs.exp".
27859 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27860 "bactrace in corefile.exp".
27861 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27862 "call inferior function with struct - returns float" and
27863 "call inferior function with struct - returns double".
27865 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
27867 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
27868 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
27869 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
27870 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
27872 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
27874 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
27875 (or overriden) "CHILL" macro rather then bare "gcc".
27876 Also look for ../../gcc/xgcc since that is what we will
27877 actually need, not "Makefile". Remove following assignment
27878 of CHILL to CHILL_FOR_TARGET because that results in
27879 recursive definition.
27881 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
27883 * gdb.base/corefile.exp: Change xfail for backtrace in
27884 corefile.exp from linuxaout to all linux.
27885 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
27886 cases where we miss the breakpoint at the signal handler
27887 for some reason. Setup xfail for linuxoldld/linuxaout and
27888 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
27889 hitting SIGURG breakpoint.
27890 * gdb.base/signals.exp: Setup xfail for "next" acting like
27891 continue to add linuxoldld. Setup xfail for all linux for
27892 "next to handler in signals_tests_1", "backtrace in
27893 signals_tests_1", "continue to func1", "pass SIGUSR1",
27894 and continue to handler".
27896 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
27898 * Update all FSF addresses except those in COPYING* files.
27900 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
27902 * gdb.base/a2-run.exp: Change messages to be more explicit about
27903 the status of args, and quote binfile in results.
27905 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
27907 * gdb.base/callfuncs.exp: Add tests for passing structs to
27908 inferior functions and return various types.
27909 * gdb.base/callfuncs.c: Add functions to receive a struct
27910 and return a member of the struct, in various types.
27912 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27914 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
27916 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
27918 * config/vxworks29k.exp: New file, sources vxworks.exp.
27920 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27922 * config/gdbremote.exp: New file. Testing framework using
27925 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
27927 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
27928 "call function when asleep" and "send end of file".
27929 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
27930 for "backtrace in corefile.exp".
27931 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
27932 for "backtrace through signal handler".
27933 * gdb.base/corefile.exp: Make sure we actually generate a core file
27934 before trying the core tests. Some systems allow the user to suppress
27935 generation of core files and default to that (linux for example).
27936 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
27937 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
27939 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27941 * gdb.threads: New directory with some crude multi-threaded
27942 gdb tests (step.exp and step2.exp).
27943 * config/mt-lynx (STEP_EXECUTABLE): Define.
27944 (THREADFLAGS): Define.
27946 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
27948 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
27950 * gdb.base/signals.exp: Disable whole file for lynx until
27953 * gdb.base/signals.exp: xfail test where "next" acts like
27954 "continue" for lynx.
27956 * gdb.base/interrupt.exp: xfail test for calling function while
27957 inferior is asleep for lynx.
27959 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
27960 than one cr-lf after each command.
27962 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27964 * configure.in: Reinstate setting of stabsdirs variable, fix
27965 typo in setting up configdirs for native builds.
27967 * gdb.base/return.exp: Fix typo in return double test.
27968 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
27969 compiler from optimizing them away.
27971 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
27973 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
27974 sequences to be echo'd by gdb when using gdb_test.
27975 * gdb.chill/chexp.exp: Likewise.
27976 * gdb.fortran/exprs.exp: Likewise
27978 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27980 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
27981 after the inferior gdb has started.
27983 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
27984 after each command.
27985 * gdb.base/funcargs.exp: Likewise.
27986 * gdb.base/gdbvars.exp: Likewise.
27987 * gdb.base/interrupt.exp: Likewise.
27988 * gdb.base/list.exp: Likewise.
27989 * gdb.base/watchpoint.exp: Likewise.
27990 * gdb.c++/demangle.exp: Likewise.
27991 * gdb.c++/inherit.exp: Likewise.
27992 * gdb.chill/chexp.exp: Likewise.
27993 * gdb.fortran/exprs.exp: Likewise.
27995 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
27996 test if we can't handle IO to/from the inferior.
27998 * gdb.c++/misc.exp: Always check for a program already being
27999 started after sending a "run" command to gdb.
28001 * gdb.base/twice.exp: Start with a fresh gdb.
28003 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
28004 only depend on gdb's expression code, not the chill runtime.
28006 * gdb.base/return.c: Put return values into variables so we
28007 can have gdb print them rather than depending on the program
28009 * gdb.base/return.exp: Corresponding changes.
28011 * lib/gdb.exp: Provide default value for noinferiorio.
28012 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
28015 * gdb.base/break.exp: Always check for a program already being
28016 started after sending a "run" command to gdb.
28017 (text_next_with_recursion): Don't check the output from the
28018 program's printf statement. Instead just make sure the program
28021 * gdb.base/commands.exp: Protect tests which need arguments with
28022 $noargs conditionals.
28024 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28026 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
28027 of structure member arrays to match gdb/valops.c:value_addr change.
28029 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
28031 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
28034 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
28036 * configure.in (configdirs): Remove gdb.chill from default list
28037 of subdirs and then add it back in only if doing a native build.
28038 The current chill compiler does not yet work in any cross build.
28039 * Revert all signal changes from Jul 6.
28040 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
28041 for sh-hms targets, allowing these tests to link, with no other
28042 changes. Testing is suppressed by setting "nosignals" in site.exp.
28044 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28046 * configure.in (signaldirs): Define and add to configdirs for all
28047 targets except some specific ones that are known to not support signals.
28048 Also clean up formatting.
28049 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28050 (signals, sigall): Remove rules to build.
28051 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28052 Moved to new gdb.signals directory.
28053 * gdb.signals: New test directory.
28054 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28055 signals.c signals.exp}: New or moved files.
28057 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28059 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28061 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28063 * gdb.base/return.exp: Xfail `return double' test failure
28064 on at least Solaris 2.3 and handle future/past versions on
28065 a case by case basis as appropriate. Also update message
28066 to include i*86 failures.
28068 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28070 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28072 * lib/gdb.exp: Fix comment which erroneously identified
28073 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28074 gdb_file_cmd not gdb_load).
28075 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28077 * gdb.base/setvar.exp: Make test names consistent between pass and
28078 fail cases. Use gdb_test more.
28080 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28082 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28084 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28086 * gdb.base/help.exp: Fix expected help string for `show commands'.
28088 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28090 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28092 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28095 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28097 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28098 that loop eventually terminates. Fix Connection refused logic so
28099 that testsuite will expire nicely.
28101 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28103 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28104 config/rom68k.exp: New tcl glue for the appropriate monitors.
28105 These all just end up calling monitor.exp.
28106 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28107 refused' by retrying. Cleanup some timeout issues.
28108 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28109 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28110 callers don't have to set/restore global timeout variable.
28112 * The following set of changes centralizes management of the global
28113 timeout variable. This way, it can be set in one target dependent
28114 place instead of dozens of places scattered throughout the test suite.
28115 If you need to lengthen a timeout, then you should either set timeout
28116 in one of the config/{target}.exp files, or multiply it by a factor.
28117 Setting it to an absolute value is always going to lose for some
28119 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28120 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28121 * gdb.base/funcargs.exp: Don't set timeout.
28122 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28123 * gdb.base/printcmds.exp (test_print_string_constants
28124 test_print_array_constants): Don't set timeout.
28125 * gdb.base/ptype.exp: Don't set timeout.
28126 * gdb.base/recurse.exp: Don't set timeout.
28127 * gdb.base/return.exp: Don't set timeout.
28128 * gdb.base/watchpoint.exp: Don't set timeout.
28129 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28130 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28132 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28134 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28136 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28138 * lib/gdb.exp: Disable chill tests for irix5.
28140 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28142 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28143 each test pass or fail.
28145 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28147 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28150 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28152 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28154 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28156 * config/est.exp: Fix copyright and comments. Remove dead code.
28157 Use targetname, serialport and baud variables instead of fixed
28159 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28160 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28162 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28164 * gdb.base/watchpoint.exp: Don't run
28165 test_watchpoint_triggered_in_syscall for sunos.
28167 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28169 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28170 they don't seem to exist. Do include stdio.h.
28172 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28174 * gdb.base/a1-selftest.exp: Add alpha xfail.
28176 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28178 * gdb.base/watchpoint.c (main): Prompt before calling read().
28179 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28180 Revise accordingly. Remove cruft about sending "123" several
28181 times, until it gets noticed. Clean up the "print buf[0]" stuff
28182 so that it passes or fails, and waits for prompts in the usual way.
28184 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28186 * gdb.base/recurse.exp: Fix comment.
28188 * TODO: Remove item about printing variables in nodebug.exp. Add
28189 item about enabling tests which are only run on some targets.
28191 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28192 fail, make test names unique, use new gdb_test convention
28193 regarding pattern, use gdb_test more, etc.).
28195 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28196 fail, make test names unique, etc.).
28198 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28200 * gdb.base/nodebug.c: Change return type of top and middle to
28202 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28203 are fixed by the recent mdebugread.c changes. Allow `short ()'
28204 as type for top and middle.
28206 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28208 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28209 nearly as I can tell, the whole thing was an accident in Stu's
28210 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28211 to replace a send/expect pair with gdb_test, but ended up only
28212 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28213 of 30 Mar 1995 took care of it, but left this vestigial comment
28214 which I am now nuking.
28216 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28218 * gdb.base/break.exp: Look for different line number for
28219 breakpoint at main depending on usestubs.
28221 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28223 * gdb.base/list.exp: Adjust some alternate expect patterns to
28224 match recent list0.c change. Add alternate expect pattern for
28225 output from `list default lines around main' for optimizing
28228 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28230 * lib/gdb.exp: If nosignals is not set, set it to 0.
28232 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28234 * config/slite-gdb.exp: Responds to load symbol table prompt.
28235 * gdb.base/break.exp: Adjust line number, fix rerun.
28236 * gdb.base/langs0.c: Add #ifdef usestubs.
28238 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28240 * gdb.base/list.exp: Adjust line contents after adding new lines in
28241 list0.c. Also fix a syntax error.
28243 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28244 * gdb.base/break.exp: ditto.
28245 * gdb.base/list.exp: ditto.
28246 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28247 * gdb.base/run.c: ditto.
28248 * gdb.base/list0.c: ditto.
28249 * gdb.base/funcargs.c: ditto.
28251 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28253 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28254 $targetname, $serialport and $baud instead of hardwired variables.
28255 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28256 target doesn't support signals.
28258 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28260 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28262 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28264 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28265 Don't rely on the value of an auto variable before it has been
28266 initialized. Use gdb_test more.
28268 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28270 * lib/gdb.exp (default_gdb_version): A version number must start
28271 with a digit, but other than that contains all characters up to
28272 the first whitespace character.
28274 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28276 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28278 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28280 * gdb.c++/*.exp: Warn if executable does not exist. The original
28281 reason for skipping the warning was that configure.in sometimes
28282 intentionally skipped building the executables but the tcl code
28283 had no way of knowing. That (a) was always bogus with respect to
28284 error handling, (b) is no longer true (right now there is no way
28285 to skip C++ tests).
28287 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28289 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28291 * gdb.base/list.exp: Add expect patterns for output from
28292 SunPRO compiled executables.
28293 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28296 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28298 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28299 number (we are already testing that the correct source line text
28302 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28303 that is what is intended, but something needed to be done to get
28304 sunos4 native working again.
28306 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28308 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28309 apparently went with a (very) old xfail.
28311 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28313 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28314 runto_main is a proc in gdb.exp that will do 'step' for target use
28316 * gdb.base/exprs.exp: ditto.
28317 * gdb.base/interrupt.exp: ditto.
28318 * gdb.base/opaque.exp: ditto.
28319 * gdb.base/printcmds.exp: ditto.
28320 * gdb.base/ptype.exp: ditto.
28321 * gdb.base/scope.exp: ditto.
28322 * gdb.base/setvar.exp: ditto.
28323 * gdb.base/signals.exp: ditto.
28324 * gdb.base/twice.exp: ditto.
28325 * gdb.c++/classes.exp: ditto.
28326 * gdb.c++/inherit.exp: ditto.
28327 * gdb.c++/templates.exp: ditto.
28328 * gdb.base/break.exp: no run and hit main for stubs. Change line
28329 numbers for breakpoints and info breakpoint.
28330 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28332 * gdb.base/callfuncs.c: ditto.
28333 * gdb.base/exprs: ditto.
28334 * gdb.base/interrupt.c: ditto.
28335 * gdb.base/opaque0.c: ditto.
28336 * gdb.base/printcmds.c: ditto.
28337 * gdb.base/ptype.c: ditto.
28338 * gdb.base/scope0.c: ditto.
28339 * gdb.base/setvar.c: ditto.
28340 * gdb.base/signals.c: ditto.
28341 * gdb.base/twice.c: ditto.
28342 * gdb.c++/misc.cc: ditto.
28343 * gdb.c++/templates.cc: ditto.
28345 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28347 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28349 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28350 somewhere between `read' and `main.c'. I'm pretty sure the
28351 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28352 and it isn't particularly useful.
28354 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28356 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28358 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28360 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28362 * config/mt-slite: add LIBS and -nostdlib.
28363 * config/slite-gdb.exp: add this new file to support sparclite target.
28365 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28367 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28369 * gdb.base/a2-run.exp: Change argument to istarget from
28370 "*-*-vxworks" to "*-*-vxworks*".
28371 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28373 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28375 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28376 will not runto main but do a 'step' to step out of breakpoint().
28377 * config/mt-slite: add -Dusestubs.
28379 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28381 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28384 * gdb.base/signals.exp: Add test for "handle all print".
28385 * TODO: Remove "handle all print". Also remove item about
28386 checking copyright date (I don't like the idea of a spurious FAIL
28387 based on when we run the tests).
28389 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28390 for SunOS4 (reason for failure not investigated). Remove
28391 redundant test for $binfile.
28393 * gdb.base/nodebug.c (array_index): Call malloc.
28395 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28397 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28399 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28400 conventions and slightly simplify the matching regexp.
28402 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28404 * gdb.base/break.exp: Update gdb_test invocation to use new
28407 * lib/gdb.exp: If noargs is not set, set it to 0.
28409 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28412 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28414 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28416 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28417 one argument of type "<non-float parameter>".
28419 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28421 * config/rom68k.exp: New file to support Motorola IDP board.
28422 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28423 * gdb.base/break.c: Change things around so that this program
28424 doesn't depend upon args. This is necessary to make remote
28425 targets work (in general, they can't take args).
28426 * gdb.base/break.exp: Don't try to send args to program. Don't
28427 expect output. Also, replace lots of code with gdb_test.
28429 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28431 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28432 printing of '\'' (which is what the comment says we are testing,
28433 even though we were not), not '''.
28434 (test_integer_literals_rejected): Test that printing ''' is an error.
28436 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28437 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28438 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28439 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28440 Use gdb_test not test_print_accept.
28441 * lib/gdb.exp: Remove test_print_accept.
28443 * gdb.base/signals.exp (signal_tests_1): Make pass message
28444 consistent with fail message.
28446 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28447 unsigned char; the bug (PR 1821) is fixed.
28449 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28451 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28452 successful tests--makes xfailing them work right.
28454 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28456 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28457 only \r\n, not .*. The test can pass .* as the last thing in
28458 $pattern if that is what it wants. In addition to providing this
28459 flexibility, this change should speed up pattern matching in cases
28460 where the pattern already ended with .* (there were a number of
28461 them). This change also helps catch bad patterns--in the old
28462 scheme the typo "char \*" instead of "char \\*" would pass. Now
28464 * Many .exp files: Update callers.
28466 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28467 clearer and does not spuriously match multiple ('s. Likewise for
28470 * gdb.base/nodebug.exp: Test ability to call a function and pass
28471 it a string (even with no debugging info).
28473 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
28474 "p '\'", which is the same as "p ''" once tcl gets done with
28475 quoting, to "p '\\'", which I suspect is what is intended (one
28476 backslash gets sent to GDB).
28478 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
28480 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28482 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
28483 1817) was fixed literally years ago.
28485 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28487 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
28488 test, it causes stepping out of call_after_alloca_subr with
28489 optimizing compilers.
28490 (localvars_in_indirect_call): Consume GDB prompt if `finish'
28493 * gdb.c++/templates.exp: Source templ-info.exp only if
28494 the templates executable exists.
28496 * gdb.c++/misc.cc (class Contains_static_instance,
28497 class Contains_nested_static_instance),
28498 gdb.c++/classes.exp (test_static_members): Test printing of
28499 a class that contains a static instance of the class.
28501 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28503 * gdb.base/langs2.c (cppsub_): Don't prototype.
28504 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
28507 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28509 * lib/gdb.exp (skip_chill_tests): New procedure.
28511 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
28513 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
28515 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
28516 each expect pattern. Cuts runtime from 12 to about 4 seconds.
28518 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28520 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28522 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28523 disassemble 8, not 16, instructions for part 4.
28525 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28526 support the latter anymore.
28528 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28530 * gdb.base/callfuncs.c: Control use of prototypes based on
28531 NO_PROTOTYPES, not __STDC__.
28532 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28533 t_float_values2 tests if prototypes in use.
28535 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28536 t_double_values): When checking differences against DELTA, check
28537 that difference is within the range (-DELTA,DELTA), not just
28540 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28542 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28543 'file' command firts, then 'target', then 'load', this is due to gdb
28545 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28547 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28549 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28550 FP load/store variants.
28551 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28553 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28555 * gdb.base/term.exp: Do not give a warning if not native, it is
28556 not an abnormal condition.
28558 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28560 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28563 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28565 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28566 are getting the version number.
28568 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28569 if not native, it is not an abnormal condition.
28571 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28573 * lib/gdb.exp: Just use "file exists", rather than undocumented
28574 dejagnu procedure "findfile".
28576 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28578 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28579 (LDFLAGS): Set to -Xlinker -Ur.
28581 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28582 Removed, these values are set by lib/gdb.exp.
28584 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28586 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28588 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28589 of replicating gdb startup code.
28591 * config/mt-vxworks (LDFLAGS): Set to -r.
28592 (CFLAGS_FOR_TARGET): Removed.
28594 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28595 (gdb) and gdb for vxworks uses (vxgdb).
28597 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28598 executable is not in the tree and host != target, use sed and
28599 program_transform_name to determine the gdb name used by the
28602 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28603 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28605 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28607 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28608 floats, chars, and shorts where there are ANSI-style function
28611 * gdb.base/langs.exp, gdb.base/langs*: New test.
28612 * gdb.base/Makefile.in: Build it.
28613 * TODO: Remove item about checking that C names don't get C++
28614 demangling applied; this test tests it.
28616 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28618 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28619 went with the const70 xfail. The xfail went away a year ago.
28621 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28623 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28626 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28628 * gdb.base/a1-selftest.exp: Don't run on hp300.
28630 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28632 * Makefile.in (site.exp): Set host_alias and target_alias as well
28633 as host_triplet and target_triplet.
28635 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28637 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28639 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28640 places as other ecoff systems).
28642 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28645 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28647 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28649 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28650 variable and "variable" in addition to "data variable".
28651 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28653 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28655 * gdb.base/list1.c (long_line): Add additional statement at start
28657 * gdb.base/list.exp (test_forward_search): Update line number to
28658 reflect new statement.
28660 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28662 * gdb.base/signals.exp: Reinitialize searched source directories
28663 after gdb_start call.
28665 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28667 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28668 * gdb.stabs/Makefile.in: Likewise.
28670 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28671 change. Instead split the tests into smaller pieces.
28672 * gdb.disasm/hppa.s: Corresponding changes.
28674 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28676 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28677 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28679 * gdb.base/funcargs.exp: Modify many tests so that every test
28680 either passes or fails. Make some test names unique.
28682 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28684 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28685 Call stty to set interrupt character.
28687 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28688 for HP assembler versus GNU assembler based on actual behavior of
28689 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28691 * TODO: Suggest a few more stepping tests.
28693 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28695 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28696 restart GDB for h8300 after a continue.
28697 (return): Add pattern to match a29k-udi behavior.
28698 * gdb.base/nodebug.exp: Remove obsolete comment.
28699 * gdb.base/regs.exp: New file, testing of register displays.
28700 * gdb.base/return.exp: Fix typo in reference to $objdir.
28701 * gdb.base/whatis.exp: Always start with a fresh GDB.
28703 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28705 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28706 higher, these tests generate a lot of output.
28708 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28710 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28711 code following the catch silently ignored some errors; without the
28712 catch they should be thrown like any other tcl error. Also, the
28713 catch used "" instead of {} which meant all the callers who wanted
28714 to include one of the characters "[]$ had to quote it an extra time.
28715 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28716 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28717 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28718 Remove extra quoting.
28720 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28722 * gdb.base/commands.exp: Make test names unique; every test either
28723 passes or fails. Update some comments.
28725 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28727 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28729 The following fixes a FAIL caused by the fact that the alpha stabs
28730 configuration didn't use the ".if alpha" code in weird.def.
28731 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28732 bit pointer, so the 32 bit version works even on the alpha.
28733 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28734 Remove the stuff which allowed us to have separate versions for
28735 alpha and everything else.
28737 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28738 regexp which "info func operator\[\](" is supposed to match. Fix
28739 string to send to GDB. Note that GDB still doesn't work right. Add a
28740 new test for "info func .perator\[\](" which GDB does handle correctly.
28742 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28744 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28746 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28747 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28748 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28749 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28750 it makes the tests harder to understand and confuses test-o-matic.
28751 The preferred style is that each test provides a PASS or a FAIL,
28752 and has a unique message (e.g. "continue #54" not just "continue")
28753 which is the same for the pass and the fail.
28754 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28755 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28757 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28758 prt_accept which was basically the same thing. Likewise for
28759 test_print_reject and prt_reject.
28760 * lib/gdb.exp (test_print_reject): Add some more error message
28761 patterns to match from the former printcmds.exp (prt_reject).
28762 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28763 One defect of the passcount stuff is that some of it failed to
28764 report XPASS where appropriate.
28765 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28766 stuff before and after arg in expected pattern.
28767 (test_paddr_operator_functions): Re-do test without print_addr_of;
28768 this is the only test which seems to want extra stuff there.
28770 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28772 * gdb.base/nodebug.exp: Update new tests to reflect improved
28773 wording of gdb output.
28775 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28776 and "ptype" work on variables in files compiled without -g.
28777 Replaces commented out "maint print msymbol" tests.
28779 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28781 * gdb.base/setvar.c (dummy): Call malloc.
28783 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28784 losing with the irix4 sed.
28786 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28789 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28791 * TODO: Remove items about corefile.exp testing new exec-file and
28792 backtrace; both are now done. Add items about printing enums.
28794 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28796 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28797 "get signal $thissig" test fails.
28799 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28801 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28803 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28804 compiler warning with dec alpha compiler.
28806 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28807 extra \n from gdb_test call (this explains why the prompt test
28808 that I removed yesterday was there).
28809 (user_defined_command_test): Remove extra \n and prompt test.
28811 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28812 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28814 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28815 Also remove alpha workaround, which turns out to be because
28816 SIGABRT == SIGLOST.
28818 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28820 * gdb.base/help.exp: Don't test "help show".
28822 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28824 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28825 "set print address" is on.
28826 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28827 pass prompt to gdb_test; gdb_test already looks for the prompt.
28829 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28831 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28832 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28833 was to make sure that gdb can read a core file. But (a) the "read
28834 the corefile" part didn't make it to a1-selftest.exp, we just
28835 delete the corefile after creating it, and (b) we test reading
28836 corefiles in corefile.exp anyway. Also, this test left around a
28837 xgdb process on Solaris.
28839 * gdb.base/corefile.exp: Also test backtrace.
28841 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28843 * gdb.base/commands.exp: Test a simple user defined command with
28844 arguments and if/while statements; verify the full user command is
28845 printed by "show user".
28847 * gdb.base/commands.exp: Test if/while commands as part of a
28848 breakpoint command list; verify they appear in breakpoint
28851 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28853 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28854 than by dividing by zero.
28856 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28858 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28859 performing an inferior call with watchpoints enabled.
28860 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28863 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28865 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
28868 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
28869 Add additional pattern for when "int operator int(void);" appears
28870 in a different order.
28872 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28874 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
28876 * gdb.base/help.exp: Replace most of docstrings for "info signals"
28877 and "signal" with ".*".
28879 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28881 * TODO: Add note about "handle all nostop".
28883 * gdb.base/{sigall.c, sigall.exp}: New test.
28884 * gdb.base/Makefile.in: Add it.
28886 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
28888 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
28889 when invoking GDB, suppresses any windowing interface.
28891 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
28893 * config/sim-gdb: New file, simulator testing support.
28895 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
28897 * gdb.base/interrupt.exp: Test calling func1 twice.
28899 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
28901 * gdb.base/list.exp (test_forward_search): Set timeout higher
28902 when we'll be getting lots of output from gdb.
28904 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
28905 "init_malloc" to after the expect statement. Run it if that
28906 regexp is taken, but also for two others which happen if source
28909 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28911 * gdb.base/printcmds.exp: New test, for printing register before
28912 program is running.
28914 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28916 * gdb.base/list.exp: Correct some alternate expect patterns
28917 to reflect changes in list1.c.
28919 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28921 * TODO: Add item regarding large frames.
28923 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
28925 * TODO: Remove item about enabling return.exp; it
28926 is enabled. Suggest a few more "return" tests.
28928 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28930 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
28933 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28935 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
28936 and pr-5646.o, so "make" is the same as "make all", not "make
28939 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
28941 * gdb.base/list.exp: Adjust expectations to reflect changes in
28943 (test_forward_search): New test proc.
28944 * gdb.base/list1.c (long_line): New function, has long source line.
28946 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
28948 * gdb.base/a1-selftest.exp: Change initial stepping to know about
28949 additional line of code that was added.
28951 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
28953 * gdb.disasm/hppa.s: Break the large branching tests into smaller
28954 tests so as not to overflow expect's input buffers.
28955 * gdb.disasm/hppa.exp: Corresponding changes.
28957 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28959 Beginnings of template debugging tests.
28960 * gdb.c++/templ-info.cc: New file to test for template
28961 debugging capability of the compiler.
28962 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
28964 * gdb.c++/templates.cc: Add explicit template instantiations
28965 to enable compiling with -fno-implicit-templates. Add destructor
28966 and 'value' method to T5 class for template tests.
28967 * gdb.c++/templates.exp: Add testcases for printing of template
28968 types, setting breakpoints on template methods and calling a
28971 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
28973 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
28974 branch target since some assemblers (gas-2.5) may emit a
28975 relocation for the branch instead of resolving it in the
28978 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28980 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
28981 through signal handler.
28983 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28985 * configure.in (*-*-netware): Use config/mt-netware.
28987 * config/mt-netware: New file.
28988 * config/mt-i386-netware: Removed, separate configs for different
28989 netware architectures are no longer needed now that we have
28992 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28994 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
28995 by the recent changes to use ANSI C arithmetic conversions.
28997 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28999 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
29000 bug involving using inferior_pid to figure out whether to select a
29003 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
29005 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
29006 match the current disassembler output.
29008 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
29010 * gdb.fortran/exprs.exp: Expect VOID instead of void.
29011 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
29012 types, expect "int" as type of integer values (for now).
29014 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
29016 * gdb.base/commands.exp: New tests for if/while commands.
29018 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
29020 * lib/gdb.exp (runto): Replace sub-pattern for hex value
29021 by .*, since hex values have different syntax in Chill mode.
29023 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29025 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
29026 linefeed from expect pattern for repeated types with indices > 9.
29028 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
29030 First part of Fortran test suite.
29031 * gdb.fortran: New directory.
29032 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
29034 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29036 * gdb.base/default.exp: Update expect pattern for load command
29039 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
29041 * configure.in: Change i386 to i[345]86.
29042 * gdb.base/configure.in: Likewise.
29043 * gdb.c++/configure.in: Likewise.
29044 * gdb.chill/configure.in: Likewise.
29046 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29048 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29049 patterns, since that is not a valid context for comments.
29051 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29053 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29054 repeated types and repeated types with indices > 9.
29056 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29058 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29059 2417; old bug has been fixed.
29061 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29063 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29064 send the newline ourselves instead of assuming gdb_test will do
29065 so when passed an empty input string.
29067 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29070 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29072 * lib/gdb.exp (gdb_test): Don't send anything if the first
29073 argument is an empty string. This makes cases where we want to
29074 match output that is already in expect's buffers (for example,
29075 matching a breakpoint after gdb_run_cmd has been called) work
29078 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29080 * config/netware.exp: New file.
29082 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29084 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29085 the -B and -L prefixes so we can find the debugging stub.
29087 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29088 there and we are using the gcc from the tree.
29090 * gdb.base/types.c: Removed.
29092 * gdb.base/configure.in: Look for makefile fragments in ../config.
29093 Recognize i386-*-netware.
29094 * gdb.c++/configure.in: Likewise.
29096 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29098 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29099 the correct TCL syntax.
29101 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29103 * gdb.base/opaque.exp: use runto instead of messing around with
29104 breakpoints. Simplify by using gdb_test.
29106 * gdb.base/bitfields.exp: restart between tests on netware targets
29107 because breakpoints aren't relocated after target death. Run
29108 processes to completion.
29110 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29112 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29114 * Makefile.in: Remove extra tabs that confuse some versions
29115 of "make". Use the newly built gdb to test with by default,
29116 rather than the first one in the tester's search path.
29118 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29120 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29122 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29125 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29127 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29129 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29131 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29132 * gdb.base/funcargs.exp: Likewise.
29134 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29135 * gdb.base/funcargs.exp: Likewise.
29137 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29140 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29142 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29143 return,signals,twice}.exp: Handle non-existant binaries
29146 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29147 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29148 might testing a cross development system.
29150 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29152 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29153 runtest script is relative to ${srcdir}, not ${rootdir}.
29155 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29157 * gdb.base/signals.exp: Allow for optionality of breakpoint
29160 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29162 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29164 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29166 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29167 for size_t definition.
29168 * gdb.c++/templates.cc: Likewise
29170 * config/mt-i386-netware: New file.
29172 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29175 * gdb.base/Makefile.in: Added support for systems that name core
29176 files by appending "core" to the program name.
29177 * gdb.base/a1-selftest.exp: Likewise.
29179 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29181 * gdb.base/return.exp: Add comment and message for `return double'
29182 test failure on Sparc Solaris.
29184 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29186 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29188 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29190 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29191 from optimizing them away.
29192 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29193 patterns to include default constructors and assignment operators,
29194 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29195 character in the output of the virtual base pointer.
29197 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29199 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29200 expression match in print_addr_of to avoid unintented matches.
29201 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29202 versions up to 2.5.8.
29204 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29206 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29207 included file to run under newer versions of expect.
29208 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29209 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29210 Remove xfail for the virtual table of BDDHookV.
29212 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29214 * lib/gdb.exp (string_to_regexp): Set a default result.
29215 (default_gdb_start): Fix misleading message.
29217 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29219 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29220 Remove all CC, etc definitions.
29221 * config/mt-hpux: New file.
29222 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29223 (CFLAGS, LDFLAGS): Define.
29224 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29226 * Makefile.in (site.exp): Don't insert host_os, etc.
29227 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29228 (distclean): Check existence of subdir.
29229 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29230 * gdb.base/Makefile.in: General cleanup and simplification.
29231 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29232 to build executables. Use default rule to build .o files.
29233 (EXPECT, RUNTEST, CC): Fix relative pathname.
29234 (site.exp): Don't insert host_os, etc.
29235 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29236 and/or SIGUSR1 defined.
29237 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29238 * gdb.c++/Makefile.in: General cleanup and simplification.
29239 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29241 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29243 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29245 * gdb.base/recurse.exp: Misc changes to get tests running again
29246 after Kung's changes to the watchpoint code.
29247 * gdb.base/watchpoint.exp: Likewise.
29249 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29251 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29253 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29255 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29256 * lib/gdb.exp (default_gdb_start): Define.
29257 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29258 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29259 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29260 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29261 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29262 Don't call gdb_target_udi in between tests.
29264 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29266 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29267 (which was basically just a local version of the same thing). In
29268 addition to avoiding duplication, gdb_test_exact is faster.
29269 * lib/gdb.exp (gdb_test_exact): Fix typo.
29271 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29272 don't give an error.
29274 * gdb.base/term.exp: Call delete_breakpoints before starting.
29276 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29277 (t10): Add comment.
29279 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29281 Reorganization of the GDB Test Suite.
29283 * gdb.base: New directory, contains all the basic tests.
29284 * gdb.c++: New directory, tests specific to C++.
29285 * gdb.chill: New directory, tests specific to Chill.
29286 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29287 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29288 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29289 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29290 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29292 * */gdbme.*: Rename to match appropriate expect scripts.
29293 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29294 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29295 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29296 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29297 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29298 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29299 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29300 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29301 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29302 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29303 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29304 gdb.c++/virtfunc.cc: New names of C++ files.
29305 * gdb.chill/chillvars.ch: New name of Chill file.
29306 * gdb.base/configure.in, gdb.c++/configure.in,
29307 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29308 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29309 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29310 * configure.in (configdirs): Update to reflect directory changes.
29311 (target_abbrev): No longer define for any configuration.
29312 * Makefile.in: Cosmetic improvements to header comments.
29314 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29316 Various changes to gdb.t31:
29318 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29319 * gdbme.ch: Make all key-words and predefineds be upper-case.
29320 * chillvars.exp: Expect key-words and predefinds in upper-case.
29322 * chillvars.exp: Use gdb_test_exact many places.
29323 Change expected output for arrays (which now includes index labels).
29325 * pr-5020.exp, gdme.ch (module PR_5020):
29326 New test, for PR-5020.
29328 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29330 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29331 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29333 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29335 * Makefile.in: Fix bit-rot in definitions of CHILL,
29336 CHILL_FOR_TARGET and Chill_LIB.
29337 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29338 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29339 CHILL, and CHILL_LIB.
29341 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29343 * Revert the previous changes. Please see Rob's directory
29344 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29346 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29348 * Makefile.in, configure.in, config/mips-gdb.exp,
29349 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29350 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29351 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
29352 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29353 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29354 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29355 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29356 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29357 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29358 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29359 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29360 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29361 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29362 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29363 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29366 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29368 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29369 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29370 Rob's new testing fragments.
29372 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29374 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
29375 lib/gdb.exp: Replace error proc calls with perror.
29377 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29379 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29380 version also, match on casted version strings, and match on
29381 gdb startup case where the line numbers might be messed up.
29383 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29385 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
29386 (CFLAGS): Delete it from here.
29388 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29390 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29392 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29394 * Makefile.in (RUNTEST): Default to just "runtest".
29396 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29398 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29399 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29400 the code has been restructured.
29402 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29404 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29405 \n, not just one of each.
29407 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29408 /bin/cc gives a warning if you do.
29410 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29412 * gdb.t24/demangle.exp: change expect pattern of
29413 __t10ListS_link1ZUiRCUiPT0
29415 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29417 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29418 on local variables in recursive functions.
29420 * gdb.t07/Makefile.in: Build the new test.
29422 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29424 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29425 directly. Instead compare the return values from actual calls.
29427 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29429 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29431 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29433 * From Peter Schauer with minor modifications.
29434 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29435 stops in mid-line in the caller. Add xfail for returning a float
29436 value on X86 targets.
29438 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29440 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29441 to avoid expect lossage.
29442 (fmem_LRbug_tests): Likewise.
29443 * gdb.disasm/hppa.s: Corresponding changes.
29445 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29446 conditions to work with latest dejagnu/expect.
29448 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29449 expected to fail on the PA.
29450 (backtrace in call with trampolines): Explicitly require main
29451 to be frame #1 (no trampolines should show up in backtrace).
29453 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29454 "continue -expect".
29455 * gdb.t06/break.exp: Likewise.
29456 * gdb.t07/watchpoint.exp: Likewise.
29457 * gdb.t13/bitfields.exp: Likewise.
29458 * gdb.t15/{funcargs,return}.exp: Likewise.
29459 * gdb.stabs/weird.exp: Likewise.
29460 * config/{mips,udi}-gdb.exp: Likewise.
29462 * hppa.sed: Enclose comments within a sed command to avoid
29463 losing with the old OSF1 sed.
29465 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29467 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29469 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
29470 * gdb.t15/funcargs.exp: Conditionally step again to really
29471 finish from marker_call_with_trampolines. Handle the case where
29472 the first step from within call_with_trampolines already steps
29474 * gdb.t15/gdbme.c: Add comment to closing brace of
29475 call_with_trampolines for funcargs.exp.
29477 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29479 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29482 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29484 * gdb.t07/gdbme.c: More code for watchpoint testing.
29486 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
29487 "Hardware watchpoint" throughout file.
29488 (test_watchpoint_triggered_in_syscall): New test.
29489 (test_complex_watchpoint): New test.
29491 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29493 * gdbme.c (call_with_trampolines): New function to try and step
29494 into. Tests trampoline problems on the PA.
29496 * funcargs.exp (localvars_in_indirect_call): No longer expect
29497 stepping into indirect call to fail on PAs.
29498 (test_stepping_over_trampolines): New test.
29500 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29502 * TODO: Add suggestions for static member function tests, and
29505 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29507 * TODO: Add suggestions for "p/a" tests.
29509 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
29510 (default_gdb_exit): Replace all the hair with sending "quit" to
29511 the process with a simple close.
29513 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29515 * TODO: Add suggestions for shared library tests.
29517 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29519 * TODO: Add suggestions for x/s tests.
29521 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29523 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29524 "enable once", and "enable breakpoints once" with ".*".
29526 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29528 * TODO: Add suggestions about structure passing tests.
29530 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29532 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29533 the primary1 test, use work around if __GNUC__ < 2.
29534 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29535 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29536 Test for bad output rather than waiting for timeout. Issue
29537 second continue only if first continue failed.
29539 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29541 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29542 operator[] test with gdb_test because the old code didn't seem to
29543 be getting the quoting right with the new dejagnu.
29545 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29547 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29549 * Makefile.in: Use a fresh expect if there is one, use runtest
29550 from the src tree if there is one.
29552 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29554 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29555 next over recursive call. Revise the tests from that point on
29556 (which had been skipped) to match GDB's actual (correct) output.
29558 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29559 with next over a breakpoint whose condition is false.
29561 * gdb.t00/help.exp: Comment out "help set print" tests just like
29562 (and for same reason as) "help set" test.
29564 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29566 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29567 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29569 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29571 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29572 necessary gdb_target_udi.
29574 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29576 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29577 1838 and 2417; they are fixed.
29579 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29580 gdb.t03/ptype.exp (ptype structure, ptype union):
29581 Remove xfails; the test is looser than when the xfails were added.
29583 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29584 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29586 * gdb.t01/run.exp: Only run shell test if isnative.
29588 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29589 since "run" automatically loads if necessary. Call gdb_target_udi
29590 after the "file" since "file" kills any execution target.
29592 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29593 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29594 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29597 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29599 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29601 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29603 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29605 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29606 properly quoting regexps. This makes the second argument to
29607 demangle a fixed string, which matches the callers, instead of a
29608 shell-style pattern which is what the previous implementation
29609 used. Update some of the callers.
29611 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29613 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29614 (comib_nullified_tests): Fix typo.
29615 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29616 strings. No longer expected to fail.
29618 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29619 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29620 strings. No longer expected to fail.
29622 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29623 string. No longer expected to fail.
29625 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29627 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29628 No longer expected to fail.
29630 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29631 string. No longer expected to fail.
29633 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29635 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29636 only in the names (I probably got most of them). I was even
29637 generous with some which differed in underscores in names, and
29638 probably missed a few, and I *still* was able to remove almost a
29639 third of the file with almost no impact on testsuite coverage.
29641 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29643 * gdb.t00/default.exp: Match udi_attach error message as well as
29644 the one from child_attach.
29646 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29648 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29650 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29651 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29653 * Move test with enums and partial symbols back to
29654 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29655 Reverts the change of 26 May 93. Per today's change to
29656 stabs.texinfo, the behavior that weird.exp was expecting was
29657 unreasonable; what is important is that the compiler+gdb get
29658 things right, which happens with a recent gcc. Also fix the test
29659 to deal with native compilers which put out the stab gdb can't
29662 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29664 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29665 in the names. The main thing these accomplish is to slow things down.
29666 Many more such duplicates surely remain.
29668 * gdb.t00/help.exp: Comment out "help support" test just like
29669 (and for same reason as) "help set" test.
29671 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29673 * gdb.t06/break.exp: Remove setup_xfails for
29674 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29675 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29676 about known bug in gcc to include up through 2.5.8.
29677 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29679 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29680 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29681 with latest gcc and gdb.
29682 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29685 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29687 * configure.in (hppa*-*-*): Also configure and build stabs-only
29690 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29692 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29693 * gdb.t10/configure.in (hppa*-*-*): Use it.
29695 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29697 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29699 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29701 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29702 versions prior to 1.13.5.
29704 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29706 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29707 the prompt is at the start of a line.
29709 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29711 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29712 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29713 in the copr tests now.
29714 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29715 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29718 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29720 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29721 gdb.t31/chillvars.exp, lib/gdb.exp:
29722 Tweak to run under either version of expect.
29723 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29724 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29725 * gdb.t11/list.exp: Remove extraneous whitespace.
29727 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29729 * gdb.t16/printcmds.exp (test_print_strings): Accept
29730 "(unsigned char *) " before the string.
29732 * TODO: Add notes about printing of fancy types and GDB expressions.
29734 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29736 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29737 * gdb.t06/configure.in: Don't try to compile signals test program
29738 if doing mips-idt-ecoff.
29740 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29742 * Most .exp files: Tweak to run under either version of expect.
29744 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29746 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29747 xfails; I'm not sure why they are failing, but not because of PR 1806.
29749 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29751 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29752 defined in lib/gdb.exp.
29754 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29756 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29757 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29758 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29759 have to be typeless.
29761 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29763 * TODO: Add suggestion for copyright year test.
29765 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29767 * configure.in (*-*-lynxos*): Add stabs tests.
29769 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29771 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29772 so insert a tab before any assembler directive in column zero.
29774 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29776 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29778 (fpu_short_memory_tests): Likewise.
29780 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29782 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29783 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29784 .stabs directives in comments.
29786 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29788 * TODO: New file, describing tests we could write.
29789 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29791 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29793 * gdb.t06/signals.exp: Add kludge to force re-sync.
29795 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29796 to xgdb instead of gdb, get out of gdb.
29798 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29800 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29803 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29805 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29806 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29807 * gdb.stabs/hppa.sed: New sed script for the PA.
29809 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29811 * gdb.stabs: Re-write weird.def and configuration to use sed
29812 instead of cpp. sed is portable and POSIX; cpp is neither.
29814 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29816 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29818 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29820 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29822 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29824 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29826 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29827 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29829 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29831 * lib/gdb.exp: Comment out code which depends on non-existent
29832 `transform' procedure.
29834 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29836 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29837 * lib/gdb.exp: Transform tool name.
29838 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29839 1.1's new error handling system.
29841 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29843 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29845 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29847 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29848 They made pattern matching so slow that timeouts happened on
29849 heavily loaded systems. Now any output from "show print" which
29850 gets us back to the GDB prompt is a PASS.
29852 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29854 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29856 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29858 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29860 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29861 It is not from PR 3220.
29863 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29865 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
29866 just started failing because they depended on the order the
29867 subcommands are presented, or exact docstring text. This kind of
29868 test is a pain and has minimal benefit.
29870 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29872 * gdb.t09/corefile.exp: At end of test, use "core" command with
29875 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
29877 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
29878 17}/Makefile.in: Make it possible to run the testsuite with Sun
29879 make and CC = cross gcc by adding explicit build rules for .o
29882 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29884 * gdb.t15/funcargs.exp: Don't put comments on same line as
29885 setup_xfail (@#$*%& tcl braindamage!).
29887 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29889 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
29891 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
29893 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
29894 * gdb.t20/inherit.exp: remove three dumplicate entries.
29896 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29898 * gdb.t06/break.exp: For "next over recursive call", fail on any
29899 incorrect output, not just on "factorial (value=2)".
29901 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29903 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
29904 working now. Add an xfail if accesing a bss variable causes
29905 a memory error if the target is not yet run.
29907 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29909 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
29910 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
29911 name of __st* demangling (2 strings). Did Kung really get the
29912 more than 95 others right without testing them?
29914 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
29916 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
29918 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
29920 * configure.in (configdirs): Add gdb.disasm
29921 * gdb.disasm: New directory for GDB disassembler tests.
29922 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
29924 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29926 * gdb.t00/help.exp: Don't test "help set".
29928 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
29929 from within expect statements. None of these happen anymore and
29930 they cause regressions to be silently unnoticed.
29932 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
29933 messages) about known failures with gcc cygnus-2.4.5-930417.
29935 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
29936 comp-info.exp so it gets built if it doesn't exist.
29938 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
29939 it is no longer used.
29940 * gdb.t13/comp-info.c: Removed.
29942 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29944 * gdb.t06/signals.exp: Add xfail for sun3.
29946 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29948 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
29949 relevant because ^C doesn't get sent but failure can be reproduced
29952 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29954 * gdb.stabs/alpha.mt: New configuration file for alpha.
29955 * gdb.stabs/configure.in: Use it.
29956 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
29957 sharing with alpha.mt, redefine long to word via preprocessor.
29958 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
29960 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
29962 * gdb.t00/teststrategy.exp: Change expect string so that we
29963 consume the `(xgdb)' from the command echo and from the gdb prompt.
29964 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
29965 gdb currently compares all values as long, so this failure probably
29966 applies to any configuration where LONGEST is bigger than a target int.
29967 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
29969 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
29970 to handle opaque pointers, gcc is.
29971 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
29972 as first argument. Include <sys/types.h> and change all operator
29973 new definitions to use size_t.
29974 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
29975 now that we use size_t.
29977 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29979 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
29980 a long or float array cast all array members to the same type.
29981 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
29983 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
29985 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
29987 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29989 * gdb.t24 (demangle.exp): Constructors of templates have names like
29990 vector<int>::vector(int) not vector<int>::vector<int>(int). See
29991 section 14.6 of the ARM.
29993 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
29994 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
29995 accomplish little and slow down the testsuite.
29997 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
29998 Accept spaces various places.
30000 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30002 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
30003 with watchpoint enabled.
30005 * Makefile.in: Remove definition of CC and remove the second
30006 definition of CXX (the "CXX = gcc" one remains). These definitions
30007 were causing backquotes to be expanded within backquotes, which
30010 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
30012 * gdb.t17/callfuncs.exp: Add "return 0" to end.
30014 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30016 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
30017 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
30018 by mips cc and contains no stabs entries.
30020 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
30022 * config/vx-gdb.exp: Use fake device to load files rather than
30024 * lib/gdb.exp: New proc to do "file" command.
30025 * config/unix-gdb.exp: Use new "file" proc.
30027 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
30029 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
30030 Rework board rebooting slightly.
30031 (gdb_exit): Don't exit from the remote shell; there isn't one.
30032 * gdb.stabs/weird.exp: If a program is being debugged already,
30034 * gdb.t04/setvar.exp: Stop and restart gdb.
30035 * gdb.t05/expr.exp: Likewise.
30036 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
30037 restart gdb and reload the program.
30038 * gdb.t08/opaque.exp: Likewise.
30039 * gdb.t12/scope.exp: Likewise.
30040 * gdb.t13/bitfields.exp: Likewise.
30041 * gdb.t15/funcargs.exp: Likewise.
30042 * gdb.t20/classes.exp: Likewise.
30043 * gdb.t03/ptype.exp: Increase timeout.
30044 * gdb.t16/printcmds.exp (test_print_string_constants,
30045 test_print_array_constants): Likewise.
30046 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30047 * gdb.t20/classes.exp (do_tests): Likewise.
30048 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30050 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30052 * gdb.stabs: Renamed *wierd* to *weird*.
30054 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30056 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30057 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30059 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30061 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30062 (do_tests): Remove xfail for whatis on one_var and two_var.
30064 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30066 * Makefile.in: Made cross building work better by adding
30067 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30069 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30071 * gdb.t15/{return.c,return.exp,Makefile.in}:
30072 New test, currently commented out.
30074 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30076 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30077 still running and removes the leftover named socket so GDb can do
30080 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30082 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30084 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30085 cross testing works better with "make check"
30086 * config/unix-gdb: Use default procedures for exit and version.
30087 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30088 with the newest VxWorks.
30090 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30092 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30095 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30096 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30098 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30100 * config/unix-gdb.exp: Remove this version of gdb_exit
30101 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30102 Rob says he'll look at it when he gets back to testing boards.
30104 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30106 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30107 an expected fail for certain ptype commands.
30109 * gdb.t20/classes.exp: Update expected results of "ptype class
30110 Base1" to account for the constructor that now appears in the type.
30112 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30114 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30115 disappeared from list.
30116 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30117 "alldone" proc with call to cleanup and exit.
30118 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30119 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30120 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30121 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30122 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30123 "alldone" proc with simple returns that suppress remaining
30124 tests. The alldone proc went away many months ago.
30126 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30128 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30130 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30132 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30134 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30135 as vax gdb will display them.
30137 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30139 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30142 * scope.exp: Change "bad value for localval" messages so each one
30145 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30146 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30148 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30150 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30152 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30153 doesn't exist (due to optimization).
30155 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30157 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30158 contains \r because the filename is long.
30160 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30161 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30163 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30165 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30166 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30168 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30170 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30172 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30174 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30176 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
30177 to match does not match the passing case but still matches the
30180 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30182 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30184 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30186 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30187 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30188 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30189 Remove various versions of gdb_exit.
30190 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30192 * config/unix-gdb.exp: gdb_exit remains here, and should override
30193 the generic version, since it's doing a lot of wierd stuff that
30194 the other versions aren't. FIXME, fold it in, or abandon this
30197 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30199 * gdb.t24/demangle.exp: Add tests for PR 3220.
30201 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30203 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30205 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30207 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30208 "i386-*-*". Works for i486 as well.
30210 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30211 bug, and expand domain of xfail to all SVR4 systems, since the
30212 actual problem is likely to be in generic SVR4 /proc support.
30214 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30216 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30218 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30220 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30221 xfails for other systems. Match a missing 'Continuing.' as an
30222 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30224 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30225 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30226 Only issue warning for missing executables if -all option is used.
30228 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30229 file if -all option is used. It's like an unpredictable XFAIL.
30231 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30233 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30234 for dynamically linked binaries.
30236 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30238 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30240 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30241 to state that this is a known bug in old versions of g++.
30243 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30245 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30246 while waiting for `Continuing'.
30248 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30250 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30251 in text, data, and bss.
30252 * gdb.t10/nodebug.c: Add local and global test variables for
30253 initialized and uninitialized data.
30255 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30257 * config/unix-gdb.exp (gdb_exit): Add "wait".
30259 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30261 * gdb.t06/signals.exp: xfail the continue from the handler for all
30264 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30265 function with watchpoints enabled, the i386 call dummy starts with
30268 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30269 386 bsd names its corefiles.
30271 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30273 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30274 compilers don't grok it.
30275 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30276 with small octal ints rather than character constants, which
30277 are signed and might not fit if first promoted to int.
30279 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30281 * gdb.t09/Makefile.in (clean): Remove corefile.
30283 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30285 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30287 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30288 and Jim Kingdon (kingdon@cygnus.com)
30290 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30291 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30292 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30294 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30296 * gdb.t17/interrupt.exp: Add xfail for hppa.
30298 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30300 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30301 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30302 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30303 to determine signed-ness of bitfields and use the result to setup
30305 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30306 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30307 call line is reached if necessary.
30309 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30311 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30313 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30315 * gdb.t06/break.exp: Also test `clear' command.
30317 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30319 * gdb.t00/teststrategy.exp: Remove extra quote.
30321 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30322 watchpoint enabled to be for all non-68k machines.
30324 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30326 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30328 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30329 targets use aout.mt instead of ecoff.mt as gas understands
30330 standard aout format.
30332 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30334 * lib/gdb.exp (runto): Don't insist that function we are running to
30335 was compiled with -g.
30337 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30339 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30340 to get back into the read system call.
30341 Accept leading newline in case where we woke it up.
30343 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30345 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30346 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30347 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30348 enable ecoff configuration.
30350 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30352 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30354 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30356 * gdb.t16/printcmds.exp: Add another printf test.
30358 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30360 * configure.in: If configured -with-stabs on any target, add
30361 stabsdirs to configdirs.
30363 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30365 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30366 fun" so pattern does not match the command itself.
30368 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30370 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30372 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30374 * gdb.t17/interrupt.exp: Test for more things.
30376 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30378 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30379 compiler arranges the code and line numbers.
30381 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30383 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30385 * gdb.t00/help.exp: Increase expect input buffer size.
30387 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30389 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30391 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30393 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30395 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30396 [0-9]*, not just [0-9].
30398 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30400 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30402 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30404 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30406 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30408 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30410 * gdb.t06/signals.c: Add xfails for sun3.
30412 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30414 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30415 test_stepping tests.
30417 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30419 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30421 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30423 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30424 rather than actually putting it through cpp twice.
30426 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30428 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30430 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30433 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30435 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30437 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30438 C++ features prints as "struct", make it a pass, not an xfail.
30440 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30442 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30443 Don't require VA to print as "class" rather than "struct".
30445 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30447 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30449 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30451 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30453 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30455 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30458 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30460 * gdb.t16/printcmds.exp: Add printf tests.
30462 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30464 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30466 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30468 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
30469 pass counts, to counteract any existing or future setup_xfails.
30471 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30473 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
30474 {BEGIN,END}_COMMON for common block instead of STAB.
30475 * gdb.stabs/wierd.exp: Add xfail for rs6000.
30477 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
30478 intp_var should be N_GSYM not N_LSYM.
30479 wierd-aout.S: Use a label for the value of the N_SO.
30480 wierd.def: Remove all backslashes.
30481 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
30483 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30485 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
30486 get the expected next to inheritance3.
30488 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30490 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
30491 now that gcc-2.4 gets it right.
30493 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30495 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
30497 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
30498 generating comp-info.exp which works for cross-compilation.
30500 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
30502 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
30505 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
30507 * gdb.t01/run.exp: Start with a fresh gdb.
30508 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
30511 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
30513 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
30514 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
30515 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
30516 Makefile.in (distclean, realclean): Remove gdbme.c from list of
30519 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30521 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30522 test cases from bug reports.
30524 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30526 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30527 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30528 avoid spurious xfails.
30529 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30530 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30531 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30533 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30535 * gdb.t00/teststrategy.exp: Rework to provide more useful
30536 description of each test, fix problem with systems that define
30537 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30538 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30539 results for "next over recursive call" so timeouts aren't taken
30542 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30544 * gdb.t12/scope.exp: Test printing of variables before run.
30546 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30547 printed in wrong order due to sorting.
30549 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30551 * gdb.t00/teststrategy.exp: Fix expected results for printing
30552 user entered string constant. Is array of char, prints with no
30555 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30557 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30558 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30559 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30560 of struct of char arrays.
30561 * gdb.t00/radix.exp: New tests for radix commands.
30563 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30565 * gdb.t16/printcmd.exp: Print a variable before running program
30566 (with xfail for AIX).
30568 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30570 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30572 * gdb.t16/printcmd.exp: Don't print variables before running program.
30574 * gdb.t06/break.exp: Don't require envp argument to main.
30576 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30578 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30579 Add xfails for rs6000.
30581 * gdb.t02/whatis.exp: Change other tests not to re-test something
30584 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30585 each type used has a variable of that type.
30587 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30589 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30591 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30593 * configure.in: change srctrigger to be a file, not a directory
30595 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30597 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30599 * gdb.t11/list.exp: Fixed a couple of typos.
30601 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30603 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30604 is fixed and PR is closed.
30605 * gdb.t16 (gdbme.c): Add simple test string variable.
30606 * gdb.t16 (printcmds.exp): Add tests with simple test string
30607 variable, primarily for boundaries on "set print elements".
30609 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30611 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30612 Make leading 0's optional and don't expect a tab in the middle
30615 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30617 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30618 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30619 don't end command passed to gdb_test with newline.
30621 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30622 signed keyword away, don't expect signed bitfields to be signed.
30624 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30625 printing with only as many 1's as are in the field as well as printing
30626 with 32 1's (see comment).
30628 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30630 * gdb.t00/default.exp: Start with a fresh gdb.
30631 * configure.in (configdirs): Remove gdb.t31 until the chill
30632 compiler works again. It no longer is able to find chillrt0
30633 since it isn't in libchill.a anymore.
30634 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30635 wierd.o, make more modular.
30636 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30637 spurious newlines that caused problems.
30639 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30641 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30642 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30643 gdb.stabs/wierd.{exp,def}: Many new tests.
30645 * gdb.t00/default.exp: update info line for new message.
30647 * gdb.t02/{whatis.exp,gdbme.c}:
30648 Test that "char *" doesn't print as "caddr_t".
30650 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30652 * gdb.t00/help.exp: Use .* in place of some help messages which
30654 gdb.t00/default.exp: Update "info frame" test for new message.
30655 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30658 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30660 * gdb.t03/{gdbme.c,ptype.exp}:
30661 Add tests for typedef'd struct and union without tags.
30662 Also check "whatis" on a variable of a typedef'd enum without a tag.
30664 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30665 PRMS 1823; the bug still exists but isn't reproduced by this test
30666 anymore), and remove rs6000 XFAIL (the bug is fixed).
30668 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30669 duplicated from whatis.exp. For those that are left, accept
30670 "long", "long int", or "int" for long variables (whatis.exp already
30671 has an XFAIL for "int", so no need to fail it here).
30673 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30674 Deal with GCC's names for types now that GDB uses the compiler's names.
30676 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30677 setup_xfail's for sunos4. If we #defined the signed keyword away,
30678 don't expect GDB to know that char it is signed.
30680 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30682 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30684 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30685 should work on any system, regardless of debugging format.
30686 * gdb.t21/demangle.exp: Move to gdb.t24.
30687 * gdb.t24/demangle.exp: Move from gdb.t21.
30688 * gdb.t24/{Makefile.in, configure.in}: New files.
30690 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30692 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30693 * gdb.stabs: New directory.
30695 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30697 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30698 not just "Quit anyway?".
30700 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30702 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30703 that all setup_xfails are immediately followed by clear_xfails.
30705 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30707 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30708 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30709 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30710 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30711 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30712 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30713 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30714 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30715 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30716 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30717 gdb.t31/chillvars.exp, lib/gdb.exp:
30718 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30719 bug-gdb@prep.ai.mit.edu.
30721 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30723 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30724 with 0.0, not integer 0.
30726 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30728 * gdb.t06/break.exp: Update for "Kill the program" message change.
30730 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30732 * Makefile.in (GDBFLAGS): Set to -nx.
30733 * Makefile.in (site.exp): Use GDBFLAGS.
30735 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30737 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30739 (check): depend on just-check.
30740 (just-check): added so that tests can be run without a noop
30743 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30745 Switch to using configure's configdirs.
30746 * Makefile.in (Makefile): add configure.in dependency.
30747 (SUBDIRS): removed redundant assignment.
30748 * configure.in: switch subdirs assignment to configdirs.
30749 * gdb.t*/configure.in: new files.
30751 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30753 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30756 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30758 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30759 in explicit rules. Apparently this is not supported by some makes.
30761 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30763 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30765 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30767 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30770 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30772 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30774 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30776 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30777 watchpoint problem that is now fixed.
30778 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30779 uninitialized convenience variables.
30780 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30783 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30785 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30786 which causes expect to get out of sync with gdb on long output
30788 * gdb.t09/corefile.exp: Make expected pattern for core file
30789 failing signal and frame output format less sun specific.
30791 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30793 * gdb.t31/chillvars.exp: Add and remove initial dummy
30794 breakpoint, so that symbol table is forced in.
30795 (Needed at least on Sunos4, though it seems not SVR4.)
30796 * gdb.t31/chillvars.exp: Update for changed output format.
30798 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30800 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
30802 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30804 * Makefile.in: Added --srcdir when invoking runtest, removed the
30805 need for a local config file. (optional now)
30807 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30809 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30810 failure count used to force early termination. Add some more
30811 expected failures for gnu style demangling.
30813 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30815 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30816 pmi variable from gdb.t20/gdbme to get optimized away.
30817 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30818 Check for written corefile upon timeout _and_ eof.
30820 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30822 * config/unix-gdb.exp: Add missing return 0.
30824 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30826 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30829 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30831 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30834 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30836 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30837 time as i860 support works.
30839 * gdb.t15/funcargs.exp: Fix expected outputs to include
30840 "backtrace 100\r" rather than just "backtrace\r", to match last
30843 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30845 * config/udi-gdb.exp (gdb_exit): Remove close command.
30846 (gdb_target_udi): New procedure to set the UDI target.
30847 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30848 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30849 Added waits for prompts after several question responses. Added
30850 some more responses used by a29k-amd-udi-gdb.
30851 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30852 pass different arguments, restart UDI connection after program
30854 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30855 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30856 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30857 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30858 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30859 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30860 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30861 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30862 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30863 after program completion.
30864 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30865 compiled with a SELECT_VECS setting.
30866 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
30867 infinite recursion.
30869 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
30870 Added checks for COFF results, and made them expected failures for
30871 all targets. It would be better to make them expected failures
30872 for COFF targets only.
30874 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
30876 * Makefile.in: add null dvi target, don't bother to recurse
30877 through test directories for info and install-info; rename
30878 $(datadir) to be dejagnu instead of deja-gnu
30880 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
30882 * gdb.t31/gdbme.ch: Re-enable code that previously caused
30883 compiler to coredump.
30884 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
30887 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
30889 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
30891 * gdb.t31/chillvars.exp: Comment out tests that depend on that
30894 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
30896 * gdb.t03/ptype.exp: tests for return code from gdb_test.
30897 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
30898 which in a shell. Deletes xgdb when done.
30899 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
30900 Tests the return from the "set height" or "set width" commands.
30901 Added a few return codes where needed.
30903 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
30905 * Makefile.in (SUBDIRS): Add gdb.t17.
30906 * configure.in (subdirs): Add gdb.t17.
30907 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
30908 files to test gdb's calling of functions in the inferior with
30909 the correct arguments and gdb's ability to retrieve any
30912 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
30914 * config/unix-gdb.exp (gdb_exit): Remove close commands that
30915 may be called after gdb goes away. Previous versions of expect
30916 needed these to avoid file descriptor leaks, but they cause
30917 errors with the current revision of expect.
30918 * gdb.t00/gdbvars.exp: Use -re on expected output after
30919 setting sevenbit-strings.
30920 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
30921 to set sevenbit-strings consistent across tests.
30922 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
30923 set sevenbit-strings consistent across tests.
30925 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
30927 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
30928 expected output to match current "expect" expectations.
30930 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
30932 * gdb.t00/default.exp: Change expected output for default "source"
30933 command, to match new gdb behavior which requires a filename to
30936 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
30938 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
30939 expected fail for i486-*-* that misses the marker2 function.
30940 * gdb.t10/crossload.exp (bfddefault): Allow successful
30941 recognition of a format to pass even if no symbols are found.
30942 Explicitly catch failures where the format is not recognized
30943 or is ambiguous, and add the reason to the fail message.
30944 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
30945 the cause is and invalid target and add reason to failure message.
30946 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
30947 elf32-i386, elf32-sparc, and elf32-i860.
30948 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
30949 Set up expected failure for 'filename'::variable scope resolution,
30950 which is now apparently broken on all targets.
30951 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
30952 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
30953 gdb.t23/templates.exp: Change failure for missing binfile into
30955 gdb.t21/demangle.exp: Change all cfront references to 'arm'
30958 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
30960 * gdb.t00/default.exp: Add expected output for default "source"
30961 command, to match new gdb behavior.
30962 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
30964 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
30966 * config/*-gdb.exp: returns an error, rather than exiting on
30969 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
30971 * gdb.t03/gdbme.c: Add pointer to struct variable.
30972 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
30973 referencing struct members.
30975 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
30977 * configure.in (mips-idt-ecoff): New target.
30978 * config/mips-gdb.exp: New file for remote board using MIPS remote
30979 debugging protocol.
30981 * Redid configuration scheme. Removed gdb.t*/configure.in.
30982 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
30983 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
30984 distclean targets. Built executables via .o files. Adjusted
30985 tests to account for source files in $(srcdir) rather than
30987 * lib/gdb.exp (runto): Don't expect () after the function name,
30988 because it may have arguments.
30990 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
30992 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
30993 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
30994 expected failures for mips-idt-* and mips-sgi-*.
30995 * gdb.t00/default.exp (attach): Kill process if requested.
30996 * gdb.t00/help.exp (help target core, help target): Accept a gdb
30997 that does not read core files.
30998 * gdb.t01/run.exp: Removed checks for exit status code.
30999 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
31001 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
31002 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
31003 appropriate, rather than doing it by hand.
31004 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
31006 * gdb.t10/crossload.exp: Kill existing program if needed.
31007 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
31008 appropriate, rather than doing it by hand. Always increase
31009 timeout for this test, not just for VxWorks.
31011 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
31013 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
31014 of Chill STRUCT types and STRUCT values.
31015 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
31017 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
31018 struct2): New struct definitions and initializations to test
31019 simple Chill STRUCT types.
31021 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
31023 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
31024 the null byte at the end of strings.
31025 * gdb.t00/default.exp: Make show version insensitive to copyright
31027 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
31028 to avoid dependencies on target char signedness.
31029 * gdb.t16/printcmds.exp: Update expected results for explicitly
31031 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
31033 * gdb.t21/demangle.exp: Add many more patterns for template
31034 demangling, most of them being expected failures.
31035 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
31036 string we are matching for, to match on the whole string.
31037 * gdb.t21/demangle.exp: Add many new test strings to demangle,
31038 and fix a whole bunch that had incorrect expected output but were
31039 passing anyway because of the bug in "proc demangle".
31040 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
31042 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
31044 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31046 * gdb/testsuite: made modifications to testcases, etc., to allow
31047 them to work properly given the reorganization of deja-gnu and the
31048 relocation of the testcases from deja-gnu to a "tool" subdirectory.
31050 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31052 * gdb/testsuite: Initial creation of gdb/testsuite.
31053 Migrated dejagnu testcases and support files for testing nm to
31054 gdb/testsuite from deja-gnu. These files were moved "as is"
31055 with no modifications. This migration is part of a major overhaul
31056 of dejagnu. The modifications to these testcases, etc., which
31057 will allow them to work with the new version of dejagnu will be
31058 made in a future update.
31060 For additional changes see gdb.mi/ChangeLog-1999-2003.
31062 ;; Local Variables:
31063 ;; mode: change-log
31066 ;; version-control: never
31069 Copyright 1993-2013 Free Software Foundation, Inc.
31070 Copying and distribution of this file, with or without modification,
31071 are permitted provided the copyright notice and this notice are preserved.