8888313f2471fa7863aec67e84ba43514375cacc
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2013-03-17 Jan Kratochvil <jan.kratochvil@redhat.com>
2
3 * gdb.base/valgrind-infcall.exp
4 (continue #$continue_count) <remote connection closed>
5 (continue #$continue_count) <valgrind vgdb has terminated>: Add kill of
6 $valgrind_pid.
7
8 2013-03-15 Tom Tromey <tromey@redhat.com>
9
10 * gdb.cp/overload.cc (intintfunc): New.
11 * gdb.cp/overload.exp: Add regression test.
12
13 2013-03-15 Yao Qi <yao@codesourcery.com>
14
15 * gdb.threads/non-ldr-exc-1.exp (do_test): Fix the indent of
16 using with_test_prefix.
17 * gdb.threads/non-ldr-exc-2.exp (do_test): Likewise.
18 * gdb.threads/non-ldr-exc-3.exp (do_test): Likewise.
19 * gdb.threads/non-ldr-exc-4.exp (do_test): Likewise.
20 * gdb.threads/watchpoint-fork.exp (test): Likewise.
21 * gdb.base/break-interp.exp (test_core): Likewise.
22 (test_attach_gdb): Likewise.
23 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
24 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
25 Likewise.
26 * gdb.base/jit-so.exp (one_jit_test): Likewise.
27 * gdb.base/jit.exp (one_jit_test): Likewise.
28 * gdb.base/sepdebug.exp (test_different_dir): Likewise.
29 * gdb.dwarf2/dw2-dir-file-name.exp (test): Likewise.
30 * gdb.dwarf2/dw2-noloc.exp (file_symbols): Likewise.
31 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved):
32 Likewise.
33 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
34 Likewise.
35 * gdb.mi/mi-watch.exp test_watchpoint_all): Likewise.
36 * gdb.mi/pr11022.exp (test_memory_changed_observer): Likewise.
37 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Likewise.
38 (tracepoint_change_loc_2): Likewise.
39 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
40 Likewise.
41 (disconnected_tfind): Likewise.
42 * gdb.trace/mi-traceframe-changed.exp (test_tfind_tfile):
43 Likewise.
44 (test_tfind_remote): Likewise.
45 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect):
46 Likewise.
47 (test_pending_resolved): Likewise.
48 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv):
49 Likewise.
50 (test_upload_tsv): Likewise.
51 * gdb.trace/pending.exp (pending_tracepoint_resolved):
52 Likewise.
53 (pending_tracepoint_works): Likewise.
54 * gdb.trace/report.exp (use_collected_data): Likewise.
55 * gdb.trace/status-stop.exp (test_tstart_tstop_tstart):
56 Likewise.
57 (test_tstart_tstart, test_buffer_full_tstart): Likewise.
58 * gdb.trace/strace.exp (strace_info_marker): Likewise.
59 (strace_trace_on_same_addr): Likewise.
60 (strace_trace_on_diff_addr): Likewise.
61 * gdb.trace/unavailable.exp (gdb_collect_args_test): Likewise.
62 (gdb_collect_locals_test): Likewise.
63 (gdb_unavailable_registers_test): Likewise.
64 (gdb_collect_globals_test): Likewise.
65
66 2013-03-15 Yao Qi <yao@codesourcery.com>
67
68 * gdb.base/condbreak.exp: Add semicolon back which was removed
69 by my previous commit.
70
71 2013-03-14 Yao Qi <yao@codesourcery.com>
72
73 * config/monitor.exp (gdb_target_cmd): Remove semicolon after
74 'return'.
75 (gdb_target_monitor, gdb_load): Likewise.
76 * config/sid.exp (gdb_load): Likewise.
77 * config/slite.exp (gdb_load): Likewise.
78 * config/vx.exp (gdb_start, spawn_vxgdb): Likewise.
79 * gdb.ada/arrayidx.exp, gdb.ada/null_array.exp: Likewise.
80 * gdb.arch/mips-octeon-bbit.exp (single_step): Likewise.
81 (single_step_until): Likewise.
82 * gdb.arch/powerpc-d128-regs.exp: Likewise.
83 * gdb.arch/system-gcore.exp: Likewise.
84 * gdb.base/bigcore.exp (extract_heap): Likewise.
85 * gdb.base/break-on-linker-gcd-function.exp: Likewise.
86 * gdb.base/call-ar-st.exp: Likewise.
87 * gdb.base/call-rt-st.exp: Likewise.
88 * gdb.base/call-sc.exp, gdb.base/call-strs.exp: Likewise.
89 * gdb.base/callfuncs.exp, gdb.base/completion.exp: Likewise.
90 * gdb.base/condbreak.exp, gdb.base/constvars.exp: Likewise.
91 * gdb.base/corefile.exp: Likewise.
92 * gdb.base/dbx.exp (gdb_file_cmd): Likewise.
93 * gdb.base/exprs.exp, gdb.base/fileio.exp: Likewise.
94 * gdb.base/fixsection.exp: Likewise.
95 * gdb.base/funcargs.exp: Likewise.
96 * gdb.base/gcore-buffer-overflow.exp: Likewise.
97 * gdb.base/gcore-relro.exp: Likewise.
98 * gdb.base/gcore.exp, gdb.base/gdb11530.exp: Likewise.
99 * gdb.base/gdb11531.exp, gdb.base/gnu-ifunc.exp: Likewise.
100 * gdb.base/info-os.exp, gdb.base/info-proc.exp: Likewise.
101 * gdb.base/interp.exp, gdb.base/langs.exp:: Likewise.
102 * gdb.base/list.exp: Likewise.
103 (set_listsize): Likewise.
104 * gdb.base/logical.exp, gdb.base/mips_pro.exp: Likewise.
105 * gdb.base/miscexprs.exp, gdb.base/nodebug.exp: Likewise.
106 * gdb.base/opaque.exp, gdb.base/pointers.exp: Likewise.
107 * gdb.base/psymtab.exp, gdb.base/ptype.exp: Likewise.
108 * gdb.base/relational.exp, gdb.base/scope.exp: Likewise.
109 * gdb.base/setvar.exp: Likewise.
110 (test_set): Likewise.
111 * gdb.base/signals.exp, gdb.base/sizeof.exp: Likewise.
112 * gdb.base/solib-overlap.exp: Likewise.
113 * gdb.base/store.exp, gdb.base/structs.exp: Likewise.
114 * gdb.base/structs2.exp, gdb.base/volatile.exp: Likewise.
115 * gdb.base/watchpoint.exp (initialize): Likewise.
116 (test_simple_watchpoint): Likewise.
117 (test_disabling_watchpoints): Likewise.
118 (test_watchpoint_triggered_in_syscall): Likewise.
119 * gdb.base/whatis.exp, gdb.cp/ambiguous.exp: Likewise.
120 * gdb.cp/casts.exp, gdb.cp/ctti.exp: Likewise.
121 * gdb.cp/namespace.exp, gdb.cp/nsdecl.exp: Likewise.
122 * gdb.cp/psmang.exp, gdb.dwarf2/dw2-ranges.exp: Likewise.
123 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
124 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
125 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
126 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
127 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
128 * gdb.hp/gdb.compat/xdb2.exp: Likewise.
129 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
130 * gdb.hp/gdb.defects/bs14602.exp: Likewise.
131 * gdb.hp/gdb.defects/solib-d.exp: Likewise.
132 * gdb.mi/gdb792.exp: Likewise.
133 * gdb.mi/mi-inheritance-syntax-error.exp: Likewise.
134 * gdb.mi/mi-logging.exp, gdb.mi/mi-var-cp.exp : Likewise.
135 * gdb.mi/mi-var-rtti.exp, gdb.python/py-type.exp: Likewise.
136 * gdb.threads/gcore-thread.exp: Likewise.
137 (load_core): Likewise.
138 * gdb.threads/pthreads.exp (all_threads_running): Likewise.
139 (test_startup, check_control_c): Likewise.
140 * gdb.threads/sigstep-threads.exp: Likewise.
141 * gdb.threads/thread_check.exp: Likewise.
142 * gdb.trace/backtrace.exp, gdb.trace/change-loc.exp: Likewise.
143 * gdb.trace/circ.exp (run_trace_experiment): Likewise.
144 (set_a_tracepoint, trace_buffer_normal): Likewise.
145 (gdb_trace_circular_tests): Likewise.
146 * gdb.trace/collection.exp: Likewise.
147 * gdb.trace/disconnected-tracing.exp: Likewise.
148 * gdb.trace/infotrace.exp: Likewise.
149 * gdb.trace/mi-traceframe-changed.exp: Likewise.
150 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
151 * gdb.trace/mi-tsv-changed.exp (test_create_delete_modify_tsv): Likewise.
152 * gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp: Likewise.
153 * gdb.trace/pending.exp, gdb.trace/report.exp: Likewise.
154 * gdb.trace/stap-trace.exp: Likewise.
155 * gdb.trace/status-stop.exp,gdb.trace/strace.exp: Likewise.
156 * gdb.trace/tfind.exp, gdb.trace/trace-break.exp: Likewise.
157 * gdb.trace/trace-buffer-size.exp: Likewise.
158 * gdb.trace/tspeed.exp, gdb.trace/tsv.exp: Likewise.
159 * gdb.trace/unavailable.exp: Likewise.
160 * gdb.trace/while-dyn.exp: Likewise.
161 * lib/fortran.exp (set_lang_fortran): Likewise.
162 * lib/gdb.exp (default_gdb_version, gdb_start_cmd): Likewise.
163 (gdb_breakpoint, gdb_reinitialize_dir): Likewise.
164 (default_gdb_start, get_compiler_info): Likewise.
165 (gdb_compile, gdb_compile_objc, gdb_reload, gdb_init): Likewise.
166 (get_debug_format, setup_xfail_format): Likewise.
167 (rerun_to_main, gdb_skip_float_test): Likewise.
168 (build_id_debug_filename_get, get_remotetimeout): Likewise.
169 * lib/java.exp (set_lang_java): Likewise.
170 * lib/mi-support.exp (default_mi_gdb_start): Likewise.
171 (mi_gdb_reinitialize_dir, mi_gdb_target_cmd): Likewise.
172 (mi_gdb_file_cmd, mi_gdb_test): Likewise.
173 (mi_run_cmd_full, mi_expect_interrupt): Likewise.
174 * lib/objc.exp (set_lang_objc): Likewise.
175 * lib/pascal.exp (set_lang_pascal): Likewise.
176 * lib/prompt.exp (default_prompt_gdb_start): Likewise.
177 * lib/trace-support.exp (gdb_trace_setactions, gdb_tfind_test): Likewise.
178 (gdb_readexpr, gdb_gettpnum, gdb_find_recursion_test_baseline): Likewise.
179
180 2013-03-14 Sergio Durigan Junior <sergiodj@redhat.com>
181
182 PR c++/15203
183 PR c++/15210
184 * gdb.cp/m-static.cc (keepalive_int): New function.
185 (gnu_obj_1::method): New variable `sintvar', call `keepalive_int'.
186 * gdb.cp/m-static.exp: New test for `sintvar'.
187
188 2013-03-14 Yao Qi <yao@codesourcery.com>
189
190 * gdb.trace/tstatus.exp (run_trace_experiment): Save the output
191 of 'tstatus' into tstatus_output.
192 (top level): Save the trace data to tfile. Read trace file in
193 tfile target. Check the trace status.
194
195 2013-03-13 Yao Qi <yao@codesourcery.com>
196
197 * gdb.trace/tsv.exp (check_tsv): New.
198 (top level): Save a tfile on current trace session. Call
199 check_tsv on live target. Load the tfile with target tfile
200 and call check_tsv again.
201
202 2013-03-13 Yao Qi <yao@codesourcery.com>
203
204 * gdb.trace/tsv.exp: Remove code unrelated to testing TSV.
205 Replace some "gdb_test" with "gdb_test_no_output".
206
207 2013-03-12 Paul Hilfinger <hilfingr@adacore.com>
208
209 * gdb.ada/expr_delims.exp: New file.
210 * gdb.ada/expr_delims/foo.adb: New file.
211 * gdb.ada/expr_delims/pck.ads: New file.
212 * gdb.ada/expr_delims/pck.adb: New file.
213
214 2013-03-11 Keith Seitz <keiths@redhat.com>
215
216 * watchpoint.exp (test_no_hw_watchpoints): Add test using
217 both condition and thread. Then delete the watchpoint.
218
219 2013-03-11 Christian Himpel <christian.himpel@intel.com>
220
221 * Makefile.in: Add btrace testsuite.
222 * configure: Regenerated.
223 * configure.ac: Add btrace testsuite.
224 * gdb.btrace/Makefile.in: New file.
225 * gdb.btrace/enable.c: New file.
226 * gdb.btrace/enable.exp: New file.
227 * gdb.btrace/function_call_history.c: New file.
228 * gdb.btrace/function_call_history.exp: New file.
229 * gdb.btrace/instruction_history.c: New file.
230 * gdb.btrace/instruction_history.exp: New file.
231 * gdb.btrace/instruction_history.S: New file.
232 * lib/gdb.exp: Add btrace skip proc.
233
234 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
235
236 Fix entry-values if the callee called a noreturn function.
237 * gdb.arch/amd64-tailcall-noret.S: New file.
238 * gdb.arch/amd64-tailcall-noret.c: New file.
239 * gdb.arch/amd64-tailcall-noret.exp: New file.
240
241 2013-03-10 Jan Kratochvil <jan.kratochvil@redhat.com>
242
243 Fix entry-values in C++ across CUs.
244 * gdb.arch/amd64-tailcall-cxx.exp: New file.
245 * gdb.arch/amd64-tailcall-cxx1.S: New file.
246 * gdb.arch/amd64-tailcall-cxx1.cc: New file.
247 * gdb.arch/amd64-tailcall-cxx2.S: New file.
248 * gdb.arch/amd64-tailcall-cxx2.cc: New file.
249
250 2013-03-08 Stan Shebs <stan@codesourcery.com>
251 Hafiz Abid Qadeer <abidh@codesourcery.com>
252
253 gdb/testsuite/
254 * gdb.trace/trace-buffer-size.exp: New file.
255 * gdb.trace/trace-buffer-size.c: New file.
256
257 2013-03-06 Pedro Alves <palves@redhat.com>
258
259 * gdb.trace/tstatus.exp (run_trace_experiment): When the target
260 doesn't support the tested optional feature, call "unsupported"
261 with the same test message as the "pass" case, instead of calling
262 "pass" with a different message. Use the same text for the "fail"
263 cases too.
264
265 2013-03-06 Yao Qi <yao@codesourcery.com>
266
267 * gdb.trace/tstatus.exp: Remove the invocation of
268 gdb_load_shlibs, gdb_compile, clean_restart and runto_main.
269 (test_tracepoints): Don't set fast tracepoint.
270 (top level): Don't check agent library is loaded or not.
271
272 2013-03-06 Yao Qi <yao@codesourcery.com>
273
274 * gdb.trace/tstatus.exp (run_trace_experiment): Escape
275 parentheses by "\\".
276
277 2013-03-04 Jan Kratochvil <jan.kratochvil@redhat.com>
278
279 * gdb.linespec/base/one/thefile.cc (twodup): New.
280 (m): Call it.
281 * gdb.linespec/base/two/thefile.cc (dupname): New.
282 (n): Call it.
283 * gdb.linespec/break-ask.exp: New file.
284 * gdb.linespec/lspec.cc (body_elsewhere): New comment marker.
285
286 2013-02-28 Yao Qi <yao@codesourcery.com>
287
288 * gdb.trace/report.exp: Move some code to ...
289 (use_collected_data): New.
290 (top level): Call use_collected_data once on the live target.
291 Save at file of the current trace session, load it with target
292 tfile, and call use_collected_data again.
293
294 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
295
296 * gdb.threads/fork-thread-pending.c (main): Add alarm.
297
298 2013-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
299
300 * gdb.base/valgrind-infcall.exp (valgrind_pid): New variable.
301 Add final kill of ${valgrind_pid}.
302
303 2013-02-20 Siva Chandra Reddy <sivachandra@google.com>
304
305 * gdb.python/py-arch.c: New test case
306 * gdb.python/py-arch.exp: New tests to test
307 gdb.Architecture.disassemble
308 * gdb.python/Makefile.in: Add py-arch to the list of
309 EXECUTABLES.
310
311 2013-02-18 Tom Tromey <tromey@redhat.com>
312
313 * gdb.dwarf2/subrange.exp: New file.
314
315 2013-02-15 Pedro Alves <pedro@codesourcery.com>
316 Hafiz Abid Qadeer <abidh@codesourcery.com>
317
318 * gdb.trace/tfile.exp: Add test for -trace-status command.
319
320 2013-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
321
322 * gdb.threads/pthread_cond_wait.c (main): Remove variable ts. Replace
323 nanosleep by sleep.
324
325 2013-02-14 Pedro Alves <palves@redhat.com>
326
327 * gdb.cp/userdef.exp (ptype &*c): Don't expect an &.
328
329 2013-02-14 Pedro Alves <pedro@codesourcery.com>
330 Hafiz Abid Qadeer <abidh@codesourcery.com>
331
332 * gdb.trace/tsv.exp: Adjust tests, and add a few more.
333
334 2013-02-12 Tom Tromey <tromey@redhat.com>
335
336 * gdb.cp/m-static.cc (gnu_obj_1::~gnu_obj_1): New destructor.
337 * gdb.cp/m-static.exp: Add tests to print quoted destructor.
338
339 2013-02-12 Pedro Alves <palves@redhat.com>
340
341 * gdb.base/catch-signal.c: Update copyright years.
342 * gdb.base/catch-signal.exp: Update copyright years.
343 * gdb.dwarf2/dw2-dir-file-name.c: Update copyright years.
344 * gdb.dwarf2/dw2-dir-file-name.exp: Update copyright years.
345 * gdb.dwarf2/dw2-empty-pc-range.S: Update copyright years.
346 * gdb.dwarf2/dw2-error.S: Update copyright years.
347 * gdb.dwarf2/dw2-error.c: Update copyright years.
348 * gdb.dwarf2/dw2-restrict.S: Update copyright years.
349 * gdb.dwarf2/dw2-restrict.c: Update copyright years.
350 * gdb.dwarf2/dw2-restrict.exp: Update copyright years.
351
352 2013-02-12 Pedro Alves <palves@redhat.com>
353
354 * gdb.base/catch-signal.exp: Correct test file name in "Skipping"
355 message.
356 * gdb.base/sigaltstack.exp: Ditto.
357 * gdb.base/siginfo.exp: Ditto.
358 * gdb.base/sizeof.exp: Ditto.
359
360 2013-02-12 Pedro Alves <palves@redhat.com>
361
362 * gdb.mi/mi-basics.exp: Tweak intro comment.
363 * gdb.mi/mi-break.exp: Tweak intro comment.
364 * gdb.mi/mi-console.exp: Tweak intro comment.
365 * gdb.mi/mi-file.exp: Tweak intro comment.
366 * gdb.mi/mi-read-memory.exp: Tweak intro comment.
367 * gdb.mi/mi-return.exp: Tweak intro comment.
368 * gdb.mi/mi-stepi.exp: Tweak intro comment.
369 * gdb.mi/mi-until.exp: Tweak intro comment.
370 * gdb.mi/mi-watch.exp: Tweak intro comment.
371
372 2013-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
373
374 * gdb.server/no-thread-db.exp: New file.
375 * gdb.server/no-thread-db.c: New file.
376 * gdb.server/Makefile.in (EXECUTABLES): Add no-thread-db.
377
378 2013-02-11 Doug Evans <dje@google.com>
379
380 * gdb.base/printcmds.exp (test_printf_with_dfp): Add test for printing
381 two decfloats.
382
383 2013-02-11 Sergio Durigan Junior <sergiodj@redhat.com>
384
385 * gdb.base/bitfields.c (struct internalvartest): New declaration.
386 * gdb.base/bitfields.exp (bitfield_internalvar): New function.
387
388 2013-02-10 Jan Kratochvil <jan.kratochvil@redhat.com>
389
390 * gdb.python/py-prompt.exp: Add to the end a kill of $testpid.
391
392 2013-02-06 Yao Qi <yao@codesourcery.com>
393
394 * gdb.trace/mi-tsv-changed.exp (test_create_delete_tsv): Rename
395 to ...
396 (test_create_delete_modify_tsv): ... here. New test on modifying
397 the initial value of a tsv.
398
399 2013-02-05 Jan Kratochvil <jan.kratochvil@redhat.com>
400
401 * gdb.dwarf2/dw2-dir-file-name.exp (cd ${srcabsdir}/rdir): Rename to ...
402 (cd .../rdir): ... here.
403
404 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
405
406 * gdb.linespec/base/one/header.h: New file.
407 * gdb.linespec/base/two/header.h: New file.
408 * gdb.linespec/macro-relative.c: New file.
409 * gdb.linespec/macro-relative.exp: New file.
410
411 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
412
413 * gdb.base/fullpath-expand-func.c: New file.
414 * gdb.base/fullpath-expand.c: New file.
415 * gdb.base/fullpath-expand.exp: New file.
416 * gdb.base/realname-expand-real.c: New file.
417 * gdb.base/realname-expand.c: New file.
418 * gdb.base/realname-expand.exp: New file.
419
420 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
421
422 * gdb.dwarf2/dw2-dir-file-name.exp: New file.
423 * gdb.dwarf2/dw2-dir-file-name.c: New file.
424
425 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
426
427 * gdb.mi/mi-fullname-deleted.exp: Use double last slash for $srcfileabs.
428 (compare_filenames_for_search does not match)
429 (compare_filenames_for_search does match): New tests.
430
431 2013-02-03 Jan Kratochvil <jan.kratochvil@redhat.com>
432
433 * gdb.gdb/xfullpath.exp: Replace xfullpath calls by gdb_realpath calls.
434
435 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
436
437 * lib/java.exp (compile_java_from_source): Initialize ARGS as a list.
438
439 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
440
441 * gdb.base/gnu-debugdata.exp): Create ${binfile}.debug,
442 ${binfile}.mini_debuginfo-debuglink, add -k to xz, use now
443 ${binfile}.mini_debuginfo-debuglink and
444 ${binfile}.mini_debuginfo-debuglink.xz.
445
446 2013-02-01 Tom Tromey <tromey@redhat.com>
447
448 * gdb.dwarf2/method-ptr.exp: Use correct form for non-string
449 attributes.
450
451 2013-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
452 Tom Tromey <tromey@redhat.com>
453
454 * gdb.dwarf2/method-ptr.exp: Link with c++.
455 * lib/dwarf.exp (Dwarf::assemble): Declare _cu_count.
456
457 2013-01-31 Tom Tromey <tromey@redhat.com>
458
459 * gdb.base/jit.exp (compile_jit_test): New proc.
460 Add PIE tests.
461
462 2013-01-31 Tom Tromey <tromey@redhat.com>
463
464 * gdb.dwarf2/method-ptr.cc: New file.
465 * gdb.dwarf2/method-ptr.exp: New file.
466
467 2013-01-31 Tom Tromey <tromey@redhat.com>
468
469 * lib/dwarf.exp (namespace Dwarf): New.
470
471 2013-01-29 Tom Tromey <tromey@redhat.com>
472
473 * gdb.dwarf2/fission-reread.exp: Add unload test.
474
475 2013-01-28 Doug Evans <dje@google.com>
476
477 * gdb.dwarf2/fission-loclists.exp: New file.
478 * gdb.dwarf2/fission-loclists.S: New file.
479
480 2013-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
481
482 Code cleanup.
483 * gdb.base/restore.exp: Replace gdb_compile, gdb_exit, gdb_start,
484 gdb_reinitialize_dir and gdb_load by standard_testfile, set executable
485 and prepare_for_testing.
486 * gdb.base/store.exp: Likewise.
487
488 2013-01-25 Tom Tromey <tromey@redhat.com>
489
490 * gdb.python/py-explore.exp: Expect the gdb prompt.
491
492 2013-01-25 Andrew Burgess <aburgess@broadcom.com>
493
494 * gdb.base/gnu_vector.c: New variable for use in tests.
495 * gdb.base/gnu_vector.exp: Update and extend tests to reflect
496 changes in scalar to vector casting and widening.
497 * gdb.python/py-type.c: New variables for use in tests.
498 * gdb.python/py-type.exp: Update vector related tests to reflect
499 changes in scalar to vector casting and widening.
500
501 2013-01-24 Tiago Stürmer Daitx <tdaitx@linux.vnet.ibm.com>
502
503 * gdb.base/prologue-include.c: New file.
504 * gdb.base/prologue-include.exp: New file.
505 * gdb.base/prologue-include.h: New file.
506
507 2013-01-24 Hafiz Abid Qadeer <abidh@codesourcery.com>
508
509 PR gdb/13443
510 * gdb.mi/mi-var-block.exp: Make test messages unique.
511
512 2013-01-23 Tom Tromey <tromey@redhat.com>
513
514 * gdb.dwarf2/dw2-error.exp: Pass test name to "file" test.
515
516 2013-01-23 Tom Tromey <tromey@redhat.com>
517
518 * gdb.cp/converts.cc (main): Initialize 'a'.
519
520 2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
521
522 * testsuite/gdb.python/frame.exp: Add a test for
523 gdb.Frame.architecture() method.
524
525 2013-01-22 Pedro Alves <palves@redhat.com>
526
527 * gdb.base/annota1.exp (signal sent): No longer expect
528 breakpoints-invalid.
529 * gdb.cp/annota2.exp (continue until exit)
530 (watch triggered on a.x): Ditto.
531
532 2013-01-22 Pedro Alves <palves@redhat.com>
533
534 * gdb.base/annota1.exp (breakpoints_invalid): New variable.
535 Adjust tests to breakpoints-invalid changes.
536 * gdb.cp/annota2.exp (breakpoints_invalid, frames_invalid): New
537 variables.
538 Adjust tests to breakpoints-invalid changes.
539
540 2013-01-22 Pedro Alves <palves@redhat.com>
541
542 * gdb.base/annota1.exp (annotate ignore count change): Add
543 expected output for failure case.
544
545 2013-01-22 Tom Tromey <tromey@redhat.com>
546
547 * gdb.gdb/selftest.exp (do_steps_and_nexts): Handle bfd_init
548 call.
549
550 2013-01-21 Marc Khouzam <marc.khouzam@ericsson.com>
551
552 * gdb.mi/mi-break.exp: Expect new 'thread-groups' field.
553 * gdb.mi/mi-catch-load.exp: Ditto.
554 * gdb.mi/mi-nsmoribund.exp: Expect new 'thread-groups' field.
555 Also handle 'thread' field.
556 * gdb.mi/mi-simplerun.exp: Expect new 'thread-groups' field.
557 * gdb.mi/mi-watch.exp: Ditto.
558 * lib/mi-support.exp: Ditto.
559
560 2013-01-21 Siva Chandra Reddy <sivachandra@google.com>
561
562 * gdb.python/py-explore.exp: Improve a test
563
564 2013-01-18  David Blaikie  <dblaikie@gmail.com>
565
566 * gdb.base/label.c (main): Correct the type of the second
567 parameter.
568
569 2013-01-18 Tom Tromey <tromey@redhat.com>
570
571 * gdb.dwarf2/trace-crash.s: New file.
572 * gdb.dwarf2/trace-crash.exp: New file.
573
574 2013-01-18 Hafiz Abid Qadeer<abidh@codesourcery.com>
575
576 PR gdb/13443
577 * gdb.base/checkpoint.exp: Update test messages to make them
578 unique.
579
580 2013-01-18 Yao Qi <yao@codesourcery.com>
581
582 * gdb.trace/infotrace.exp: Check 'traceframe usage' in the
583 output of 'info tracepoints'.
584 * gdb.trace/disconnected-tracing.exp (disconnected_tracing):
585 Likewise.
586 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
587 * gdb.trace/disconnected-tracing.c (struct foo): New.
588
589 2013-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
590
591 * gdb.dwarf2/dw2-dos-drive.S: New file.
592 * gdb.dwarf2/dw2-dos-drive.exp: New file.
593
594 2013-01-17 Doug Evans <dje@google.com>
595
596 * boards/dwarf4-gdb-index.exp: Use any existing CC_FOR_TARGET,
597 CXX_FOR_TARGET.
598
599 * boards/cc-with-tweaks.exp: New file.
600
601 2013-01-17 Tom Tromey <tromey@redhat.com>
602
603 * gdb.base/completion.exp: Add "set cp-abi" completion test.
604
605 2013-01-17 Pedro Alves <palves@redhat.com>
606
607 Merge dg-extract-results.sh from upstream (svn 195224).
608
609 2013-01-15 David Blaikie <dblaikie@gmail.com>
610 * dg-extract-results.sh: Fix order of summary counts.
611
612 2013-01-15 David Blaikie <dblaikie@gmail.com>
613 * dg-extract-results.sh: Constrain the start-of-log pattern.
614
615 2013-01-15 David Blaikie <dblaikie@gmail.com>
616 * dg-extract-results.sh: Handle KPASSes.
617
618 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
619 * dg-extract-results.sh: Redirect grep output to /dev/null instead
620 of grep -q.
621
622 2012-01-17 Sanjoy Das <sanjoy@playingwithpointers.com>
623
624 * gdb.base/jit-reader.exp: New file. Test case for the jit-reader
625 interface.
626 * gdb.base/jithost.c: New file.
627 * gdb.base/jithost.h: New file.
628 * gdb.base/jitreader.c : New file.
629 * gdb.base/jit-protocol.h: New file.
630
631 2013-01-16 Tom Tromey <tromey@redhat.com>
632
633 * gdb.base/catch-signal.c: New file.
634 * gdb.base/catch-signal.exp: New file.
635
636 2013-01-16 Tom Tromey <tromey@redhat.com>
637
638 * gdb.mi/mi-catch-load.exp: Look for "catch-type".
639
640 2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com>
641
642 * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
643
644 2013-01-14 Tom Tromey <tromey@redhat.com>
645
646 * gdb.base/completion.exp: Add "set gnutarget" test.
647
648 2013-01-14 Tom Tromey <tromey@redhat.com>
649
650 * gdb.dwarf2/dw2-restrict.S: New file.
651 * gdb.dwarf2/dw2-restrict.c: New file.
652 * gdb.dwarf2/dw2-restrict.exp: New file.
653
654 2013-01-14 Tom Tromey <tromey@redhat.com>
655
656 * gdb.dwarf2/dw2-error.exp: New file.
657 * gdb.dwarf2/dw2-error.c: New file.
658 * gdb.dwarf2/dw2-error.S: New file.
659
660 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
661
662 * gdb.cp/parse-lang.cc: New file.
663 * gdb.cp/parse-lang.exp: New file.
664
665 2013-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
666
667 * gdb.mi/mi-fullname-deleted.exp: Set srcfileabssubst and initdir.
668 (set substitute-path): New test.
669 (fullname present): Remove content.
670 (substituted fullname): New test.
671
672 2013-01-13 Joel Brobecker <brobecker@adacore.com>
673
674 * gdb.python/py-finish-breakpoint.exp: Add skip_python_tests
675 check. Move $gdb_py_is_py24 value check right after.
676
677 2013-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
678
679 * gdb.base/dprintf.exp (dprintf info 1): Fix expectation on 64-bit
680 targets.
681
682 2013-01-11 Yao Qi <yao@codesourcery.com>
683
684 * gdb.base/dprintf.exp: Check the output of 'info breakpoints'
685 for dprintf.
686 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
687 Check the fields in "=breakpoint-created" for dprintf.
688
689 2012-12-25 Jan Kratochvil <jan.kratochvil@redhat.com>
690
691 * gdb.mi/mi-fullname-deleted.exp: New file.
692
693 2012-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
694
695 * gdb.base/skip-solib.exp (info skip with pending file): Update the
696 expected output.
697 (info skip with pending file): Remove.
698 (ignoring function in solib, info skip for function multiply): Update
699 the expected output.
700 * gdb.base/skip.ex (skip (main), skip function baz, info skip)
701 (info skip (delete 1), info skip after disabling all)
702 (info skip after enabling all, info skip after disabling 4 2-3)
703 (info skip after enabling 2-3, info skip 2-3)
704 (info skip after deleting 2 3): Update the expected output.
705 * gdb.linespec/base/two/thefile.cc (n): New variable v, split the
706 statement to its initialization and return.
707 * gdb.linespec/skip-two.exp: New file.
708
709 2012-12-19 Doug Evans <dje@google.com>
710
711 * gdb.base/maint.exp: Handle testing with .gdb_index.
712
713 2012-12-19 Joel Brobecker <brobecker@adacore.com>
714
715 * gdb.arch/mips-octeon-bbit.exp: Fix copyright header from
716 Cavium to FSF.
717
718 2012-12-19 Joel Brobecker <brobecker@adacore.com>
719
720 * dg-extract-results.sh: Update contact info in copyright notice.
721 * gdb.arch/mips-octeon-bbit.exp: Update copyright notice to
722 GPL v3 or later. Update contact info.
723 * gdb.fortran/logical.f90, gdb.threads/watchpoint-fork-child.c,
724 gdb.threads/watchpoint-fork-mt.c,
725 gdb.threads/watchpoint-fork-parent.c,
726 gdb.threads/watchpoint-fork-st.c,
727 gdb.threads/watchpoint-fork.h: Likewise.
728
729 2012-12-15 Yao Qi <yao@codesourcery.com>
730
731 * gdb.trace/mi-tracepoint-changed.exp (test_pending_resolved): Check
732 'installed' field in '=breakpoint-modified'.
733 (test_reconnect): Check 'installed' field in
734 '=breakpoint-modified' and '=breakpoint-created'.
735
736 * gdb.trace/actions.exp: Update test for 'installed' field.
737 * gdb.trace/change-loc.exp (tracepoint_change_loc_1):
738 (tracepoint_change_loc_2): Likewise.
739 Check 'info tracepoint' display nothing else.
740 * gdb.trace/deltrace.exp: Likewise.
741 * gdb.trace/infotrace.exp: Likewise.
742 * gdb.trace/mi-traceframe-changed.exp (test_tfind_remote):
743 Likewise.
744 * gdb.trace/passcount.exp: Likewise.
745 * gdb.trace/tracecmd.exp: Likewise.
746 * gdb.trace/while-stepping.exp: Likewise.
747
748 2012-12-14 Tom Tromey <tromey@redhat.com>
749
750 * gdb.cp/member-name.exp: New file.
751 * gdb.cp/member-name.cc: New file.
752
753 2012-12-14 Tom Tromey <tromey@redhat.com>
754
755 * gdb.cp/templates.exp (test_ptype_of_templates): Update kfails.
756
757 2012-12-14 Doug Evans <dje@google.com>
758
759 * gdb.dwarf2/implptr-optimized-out.S: DIE offset for
760 DW_OP_GNU_implicit_pointer is section-relative.
761
762 2012-12-14 Tom Tromey <tromey@redhat.com>
763
764 * gdb.base/info-proc.exp: Add core file tests.
765
766 2012-12-14 Yufeng Zhang <yufeng.zhang@arm.com>
767
768 * gdb.base/kill-after-signal.exp: Disable if gdb,nosignals.
769
770 2012-12-13 Doug Evans <dje@google.com>
771
772 * gdb.multi/multi-arch-exec.exp: Skip for i*86-linux.
773 * gdb.multi/multi-arch.exp: Ditto.
774
775 2012-12-12 Keven Boell <keven.boell@intel.com>
776
777 * gdb.mi/mi-catch-load-so.c: New. Clone of the
778 catch load test library source file.
779 * gdb.mi/mi-catch-load.c: New. Clone of the catch
780 load test source file.
781 * gdb.mi/mi-catch-load.exp: New. Test file for
782 basic MI -catch-load and -catch-unload tests.
783
784 2012-12-11 Paul Koning <paul_koning@dell.com>
785
786 * gdb.python/py-prettyprint.py (_iterator): Remove exception_flag
787 exception.
788 (_iterator_except): New function.
789 (ArrayPrinter): Use _iterator function instead of local _iterator
790 class for Python 3 compatibility.
791 (NoStringContainerPrinter): Use _iterator_except instead of
792 _iterator.
793 * gdb.python/py-typeprint.exp: Use exec(open(...).read()) instead of
794 execfile for Python 3 compatibility.
795 * gdb.python/python.exp: Handle Python 2.4 exception traceback
796 format in error_prompt test.
797
798 2012-12-10 Paul Koning <paul_koning@dell.com>
799
800 * gdb.base/charset.exp: Change print syntax for Python 3
801 compatibility.
802 * gdb.python/py-block.exp: Ditto.
803 * gdb.python/py-breakpoint.exp: Ditto.
804 * gdb.python/py-cmd.exp: Ditto.
805 * gdb.python/py-events.py: Ditto.
806 * gdb.python/py-finish-breakpoint.py: Ditto.
807 * gdb.python/py-finish-breakpoint2.exp: Ditto.
808 * gdb.python/py-finish-breakpoint2.py: Ditto.
809 * gdb.python/py-frame-inline.exp: Ditto.
810 * gdb.python/py-frame.exp: Ditto.
811 * gdb.python/py-infthread.exp: Ditto.
812 * gdb.python/py-objfile.exp: Ditto.
813 * gdb.python/py-parameter.exp: Ditto.
814 * gdb.python/py-progspace.exp: Ditto.
815 * gdb.python/py-prompt.exp: Ditto.
816 * gdb.python/py-symbol.exp: Ditto.
817 * gdb.python/py-symtab.exp: Ditto.
818 * gdb.python/py-template.exp: Ditto.
819 * gdb.python/py-value-cc.exp: Ditto.
820 * gdb.python/python.exp: Ditto.
821 * gdb.python/source2.py: Ditto.
822 * gdb.python/lib-types.exp: Change print syntax for Python 3
823 compatibility.
824 Use sorted() function rather than sort() method.
825 Accept either int or long values for enum values.
826 * gdb.python/py-events.exp: Use exec(open(...).read()) instead of
827 execfile for Python 3 compatibility.
828 * gdb.python/py-evsignal.exp: Ditto.
829 * gdb.python/py-evthreads.exp: Ditto.
830 * gdb.python/py-mi.exp: Ditto.
831 * gdb.python/py-pp-maint.exp: Ditto.
832 * gdb.python/py-prettyprint.exp: Ditto.
833 * gdb.python/py-finish-breakpoint.exp: Change print syntax for
834 Python 3 compatibility.
835 Skip tests for Python 2.4.
836 * gdb.python/py-inferior.exp: Change print syntax for
837 Python 3 compatibility.
838 Use byte string rather than character string in memory write test
839 if Python 3.
840 * gdb.python/py-pp-maint.py: Change class declarations to "new
841 class" syntax.
842 * gdb.python/py-prettyprint.py: Change iterator class to generator
843 function for Python 3 compatibility.
844 Make all classes "new style".
845 Fix indentation issue and stray semicolon.
846 * gdb.python/py-shared.expChange print syntax for Python 3
847 compatibility.
848 Define "long" if Python 3.
849 * gdb.python/py-type.exp: Change print syntax for Python 3
850 compatibility.
851 Accept either int or long values for enum values.
852 * gdb.python/py-value.exp: Change print syntax for Python 3
853 compatibility.
854 Skip "long" and "unicode" tests if Python 3.
855 Accept either "type" or "class" in type checks.
856 * lib/gdb.exp (gdb_py_is_py3k): New flag set if Python 3.
857 (gdb_py_is_py24): New flag set if Python 2.4 or 2.5.
858
859 2012-12-10 Tom Tromey <tromey@redhat.com>
860
861 * gdb.dwarf2/implptr-64bit.exp: Run tests with two CUs as well.
862 (test): Add "two_cu" argument.
863 * gdb.dwarf2/implptr-64bit.S: Move subprogram later; use ref_addr
864 for types; allow two CUs.
865
866 2012-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
867
868 * gdb.dwarf2/dw2-compdir-oldgcc.S: New file.
869 * gdb.dwarf2/dw2-compdir-oldgcc.exp: New file.
870
871 2012-12-08 Yao Qi <yao@codesourcery.com>
872 Pedro Alves <palves@redhat.com>
873
874 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Test
875 '=breakpoint-created' when GDB merges the tracepoints of both
876 sides.
877
878 2012-12-07 Tom Tromey <tromey@redhat.com>
879
880 * gdb.base/break1.c (enum some_enum, union some_union): New.
881 (some_enum_global, some_union_global, some_value): New globals.
882 * gdb.base/completion.exp: Add tag completion tests.
883
884 2012-12-07 Tom Tromey <tromey@redhat.com>
885
886 * gdb.base/completion.exp: Add tests for ptype and whatis
887 completion.
888
889 2012-12-07 Joel Brobecker <brobecker@adacore.com>
890
891 * gdb.base/stale-infcall.exp: Fix copyright line.
892
893 2012-12-07 Joel Brobecker <brobecker@adacore.com>
894
895 * gdb.ada/lang_switch.exp: The "msg" parameter may be a reference.
896
897 2012-12-06 Pedro Alves <palves@redhat.com>
898 Tom Tromey <tromey@redhat.com>
899
900 * gdb.base/exprs.exp: Add tests for cast to void.
901
902 2012-12-06 Jens Elmenthaler <jens.elmenthaler@advantest.com>
903
904 * gdb.python/py-mi.exp: Correct expected results for attribute
905 "dynamic" returned by -var-update.
906 Add test case for correct handling of "diplayhint" for children
907 of dynamic varobjs.
908 * gdb.python/py-prettyprint.c (set_itme): New function.
909 (bug_14741) New function.
910 (main) Add call to bug_14741().
911 * gdb.python/py-prettyprint.py (class ArrayPrinter): New class.
912
913 2012-12-05 Ulrich Weigand <uweigand@de.ibm.com>
914
915 * gdb.base/gnu-debugdata.exp: Also include "D" symbols in
916 ${binfile}.funcsyms list.
917
918 2012-12-04 Yao Qi <yao@codesourcery.com>
919
920 PR gdb/13443
921 * gdb.trace/actions.exp: Make test messages unique.
922
923 2012-11-29 Tom Tromey <tromey@redhat.com>
924
925 * gdb.base/gnu-debugdata.exp (run, pipeline): Don't use lassign.
926
927 2012-11-29 Ulrich Weigand <uweigand@de.ibm.com>
928
929 * gdb.opencl/convs_casts.exp: Always expect standard vector type names.
930 * gdb.opencl/datatypes.exp: Likewise.
931 * gdb.opencl/operators.exp: Likewise.
932 * gdb.opencl/vec_comps.exp: Likewise.
933
934 2012-11-29 Jerome Guitton <guitton@adacore.com>
935
936 * gdb.ada/iwide: New testcase.
937
938 2012-11-29 Jerome Guitton <guitton@adacore.com>
939
940 * gdb.ada/ptype_tagged_param.exp: Adjust expected output in
941 ptype test.
942
943 2012-11-29 Jerome Guitton <guitton@adacore.com>
944
945 * gdb.ada/variant_record_packed_array.exp: Test expressions of the
946 form {VARIANT_TYPE}ADDRESS.
947
948 2012-11-27 Daniel Jacobowitz <dan@codesourcery.com>
949
950 * gdb.cp/member-ptr.cc (class Diamond): Add func_ptr.
951 (func): New function.
952 (main): Initialize diamond.func_ptr and add diamond_pfunc_ptr.
953 * gdb.cp/member-ptr.exp: Add new tests for ptype and for
954 pointers to members with pointer-to-function type.
955
956 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
957 Tom Tromey <tromey@redhat.com>
958
959 * gdb.base/gnu-debugdata.exp: New file.
960 * gdb.base/gnu-debugdata.c: New file.
961 * lib/gdb.exp (gdb_file_cmd): Handle LZMA warning.
962 (gdb_unload): Return 0 on success.
963
964 2012-11-26 Jan Kratochvil <jan.kratochvil@redhat.com>
965
966 * gdb.base/enumval.exp (print e, print f, print K): XFAIL on GCC <= 4.6.
967
968 2012-11-26 Joel Brobecker <brobecker@adacore.com>
969
970 * gdb.base/empty_exe.exp: New testcase.
971
972 2012-11-20 Mike Frysinger <vapier@gentoo.org>
973
974 * gdb.base/completion.exp: Add test for help aliases completion.
975
976 2012-11-20 Yao Qi <yao@codesourcery.com>
977
978 * gdb.mi/mi-cmd-param-changed.exp (test_command_param_changed):
979 Don't test 'maint set show-debug-regs'.
980 Use command 'set remotecache' instead of
981 'set circular-trace-buffer'.
982
983 2012-11-16 Keith Seitz <keiths@redhat.com>
984
985 PR c++/13615
986 * gdb.cp/baseenum.cc: New file.
987 * gdb.cp/baseenum.exp: New file.
988 * gdb.cp/derivation.cc (A): Add copyright.
989 Add a typedef.
990 (B): Use A::value_type instead of int. Change all references.
991 (D): Use value_type instead of int. Change all references.
992 (E): Likewise.
993 (F); Likewise.
994 (Z): New class.
995 (ZZ): New class.
996 (N, Base, Derived): New namespace and classes.
997 (main): Add instances of Z and ZZ.
998 Make sure all symbols from N are kept.
999 * gdb.cp/derivation.exp: Update typedef changes in tests.
1000 Add tests for class typedefs both before and after starting
1001 the inferior.
1002 Add tests for searching for a typedef while stopped in a
1003 method.
1004
1005 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
1006
1007 * gdb.mi/mi-var-create-rtti.c: New file.
1008 * gdb.mi/mi-var-create-rtti.exp: New file.
1009
1010 2012-11-14 Luis Machado <lgustavo@codesourcery.com>
1011
1012 * gdb.base/structs3.exp: Run to main before doing any tests.
1013
1014 2012-11-14 Andrew Burgess <aburgess@broadcom.com>
1015
1016 * gdb.python/py-type.exp: Uniquify test names.
1017
1018 2012-11-14 Yao Qi <yao@codesourcery.com>
1019
1020 * gdb.threads/manythreads.c [DEBUG]: Include "stdio.h".
1021 (thread_function) [DEBUG]: Call 'printf'.
1022 * gdb.threads/manythreads.exp: Pass '-DDEBUG' to compilation
1023 command line if 'DEBUG=1' is passed to test.
1024 Remove a pattern to match inferior's output.
1025
1026 2012-11-13 Giuseppe Montalto <giuseppe.montalto@st.com>
1027
1028 * gdb.mi/mi-fill-memory.exp: New test.
1029
1030 2012-11-12 Tom Tromey <tromey@redhat.com>
1031
1032 * gdb.base/completion.exp: Update for "info type-printers".
1033 * gdb.python/py-typeprint.cc: New file.
1034 * gdb.python/py-typeprint.exp: New file.
1035 * gdb.python/py-typeprint.py: New file.
1036
1037 2012-11-12 Tom Tromey <tromey@redhat.com>
1038
1039 * gdb.base/call-sc.exp: Use "ptype/r".
1040 * gdb.base/volatile.exp: Don't expect "int".
1041 * gdb.cp/ptype-flags.cc: New file.
1042 * gdb.cp/ptype-flags.exp: New file.
1043 * gdb.cp/templates.exp: Use ptype/r.
1044 (test_ptype_of_templates, test_template_typedef): Likewise.
1045 * lib/cp-support.exp (cp_test_ptype_class): Add in_ptype_arg
1046 argument. Handle template names and template parameters.
1047 * gdb.mi/mi-var-cmd.exp: Accept "long".
1048 * gdb.mi/mi-var-child.exp: Accept "long".
1049 * gdb.mi/mi-var-display.exp: Accept "long".
1050 * gdb.mi/mi2-var-child.exp: Accept "long".
1051
1052 2012-11-12 Tom Tromey <tromey@redhat.com>
1053
1054 * gdb.cp/classes.exp (test_ptype_class_objects): Remove
1055 "ptype" from calls to cp_test_ptype_class.
1056 (test_enums): Likewise.
1057 * gdb.cp/derivation.exp: Remove "ptype" from calls to
1058 cp_test_ptype_class.
1059 * gdb.cp/inherit.exp (test_ptype_si): Remove "ptype" from
1060 calls to cp_test_ptype_class.
1061 (test_ptype_mi, test_ptype_vi, test_ptype_mvi): Likewise.
1062 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Remove "ptype"
1063 from calls to cp_test_ptype_class.
1064 * lib/cp-support.exp (cp_test_ptype_class): Supply "ptype"
1065 command here. Change "in_command" argument to "in_exp".
1066
1067 2012-11-10 Keith Seitz <keiths@redhat.com>
1068
1069 PR gdb/14288
1070 * gdb.base/printcmds.c: Add invalid_XXX globals
1071 for repeated byte tests.
1072 * gdb.base/printcmds.exp (test_repeat_bytes): New procedure.
1073 * gdb.base/wchar.c (main): Add and construct a wchar_t
1074 array with repeated characters.
1075 * gdb.base/wchar.exp: Add repeated character tests.
1076
1077 2012-11-09 Andrew Burgess <aburgess@broadcom.com>
1078
1079 * gdb.mi/mi-disassemble.exp: Expect fullname field in mi
1080 disassembly output.
1081
1082 2012-11-09 Pedro Alves <palves@redhat.com>
1083
1084 PR gdb/14306
1085
1086 * gdb.multi/multi-arch-exec.c: New file.
1087 * gdb.multi/multi-arch-exec.exp: New file.
1088
1089 2012-11-09 Yao Qi <yao@codesourcery.com>
1090
1091 * gdb.mi/mi-break.exp (test_abreak_creation): New procedure.
1092 (top level): Call it.
1093
1094 2012-11-09 Yao Qi <yao@codesourcery.com>
1095
1096 * gdb.mi/mi-watch.exp (test_rwatch_creation_and_listing): Fix
1097 typo.
1098
1099 2012-11-09 Pedro Alves <palves@redhat.com>
1100
1101 * gdb.multi/multi-arch.exp: New.
1102
1103 2012-11-08 Tom Tromey <tromey@redhat.com>
1104
1105 * gdb.base/siginfo-obj.exp: Create core file. Test siginfo from
1106 core files, if possible.
1107 * gdb.base/siginfo-thread.c: New file
1108 * gdb.base/siginfo-thread.exp: New file
1109
1110 2012-11-08 Tom Tromey <tromey@redhat.com>
1111
1112 * gdb.base/comprdebug.exp: New file.
1113
1114 2012-11-06 Pedro Alves <palves@redhat.com>
1115
1116 PR gdb/14810
1117
1118 * gdb.base/disabled-location.c: New file.
1119 * gdb.base/disabled-location.exp: New file.
1120
1121 2012-11-06 Tom Tromey <tromey@redhat.com>
1122
1123 * gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
1124 * gdb.python/py-strfns.exp (test_strfns_core_file): Use
1125 gdb_gcore_cmd.
1126 * gdb.cell/gcore.exp: Use gdb_gcore_cmd.
1127 * gdb.base/gcore.exp: Use gdb_gcore_cmd.
1128 * gdb.base/gcore-relro.exp: Use gdb_gcore_cmd.
1129 * gdb.base/gcore-buffer-overflow.exp: Use gdb_gcore_cmd.
1130 * gdb.base/auxv.exp: Use gdb_gcore_cmd.
1131 * gdb.arch/vsx-regs.exp: Use gdb_gcore_cmd.
1132 * gdb.arch/system-gcore.exp: Use gdb_gcore_cmd.
1133 * gdb.arch/pa-nullify.exp (test_core_bt): Use gdb_gcore_cmd.
1134 * lib/gdb.exp (gdb_gcore_cmd): New proc.
1135
1136 2012-11-05 Pedro Alves <palves@redhat.com>
1137
1138 * gdb.base/foll-vfork.exp (vfork_relations_in_info_inferiors): New
1139 procedure.
1140 (do_vfork_and_follow_child_tests_exec)
1141 (do_vfork_and_follow_child_tests_exit): Call it.
1142
1143 2012-11-05 Pedro Alves <palves@redhat.com>
1144
1145 * gdb.base/foll-vfork.c (main): Call perror and _exit if execlp()
1146 fails.
1147
1148 2012-11-03 Yao Qi <yao@codesourcery.com>
1149
1150 Fix PR gdb/14617.
1151 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify):
1152 Remove setup_kfail, and update test.
1153
1154 2012-11-02 Tom Tromey <tromey@redhat.com>
1155
1156 * gdb.base/catch-syscall.exp (do_syscall_tests): Add completion
1157 test.
1158
1159 2012-11-02 Pedro Alves <palves@redhat.com>
1160
1161 PR gdb/14766
1162
1163 * gdb.base/foll-vfork.exp (vfork_child_follow_to_exit): Remove
1164 setup_kfail.
1165 (tcatch_vfork_then_child_follow_exit): No longer expect "Couldn't
1166 get registers".
1167
1168 2012-11-02 Pedro Alves <palves@redhat.com>
1169
1170 * gdb.base/foll-vfork-exit.c: New file.
1171 * gdb.base/foll-vfork.exp (top level): New file-describing
1172 comment.
1173 (vfork_child_follow_to_exit): New procedure.
1174 (tcatch_vfork_then_child_follow): Rename as ...
1175 (tcatch_vfork_then_child_follow_exec): ... this.
1176 (tcatch_vfork_then_child_follow_exit): New procedure.
1177 (do_vfork_and_follow_parent_tests): New procedure, factored out
1178 from do_vfork_and_exec_tests.
1179 (do_vfork_and_follow_child_tests_exec): Ditto.
1180 (do_vfork_and_exec_tests): Delete.
1181 (do_vfork_and_follow_child_tests_exit): New procedure.
1182 (top level): Run tests with both the program that has the vfork
1183 child execing, and the program has the vfork child exiting.
1184
1185 2012-11-02 Pedro Alves <palves@redhat.com>
1186
1187 * gdb.base/foll-vfork.exp (setup_gdb): New procedure.
1188 (check_vfork_catchpoints, vfork_parent_follow_through_step)
1189 (vfork_parent_follow_to_bp): Call it.
1190 (kill_child): Delete.
1191 (vfork_and_exec_child_follow_to_main_bp)
1192 (vfork_and_exec_child_follow_through_step): Call setup_gdb. No
1193 longer call kill_child.
1194 (tcatch_vfork_then_parent_follow): Call setup_gdb.
1195 (do_vfork_and_exec_tests): Don't runto_main before calling each
1196 test procedure.
1197 (top level): Don't clean restart and set verbose before running
1198 each test procedure.
1199
1200 2012-11-02 Pedro Alves <palves@redhat.com>
1201
1202 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step)
1203 (vfork_parent_follow_to_bp)
1204 (vfork_and_exec_child_follow_to_main_bp)
1205 (vfork_and_exec_child_follow_through_step)
1206 (tcatch_vfork_then_parent_follow)
1207 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1208 Use with_test_prefix.
1209
1210 2012-11-02 Pedro Alves <palves@redhat.com>
1211
1212 * gdb.base/foll-vfork.c: Add copyright header.
1213 * gdb.base/vforked-prog.c: Add copyright header.
1214
1215 2012-11-02 Pedro Alves <palves@redhat.com>
1216
1217 * gdb.base/foll-vfork.exp
1218 (vfork_and_exec_child_follow_through_step): Don't skip on
1219 non-HP/UX targets. Expect the next to only step one line on
1220 non-HP/UX targets, rather than stopping only after the exec.
1221
1222 2012-11-02 Pedro Alves <palves@redhat.com>
1223
1224 Don't hard code line numbers.
1225
1226 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step):
1227 Expect text from the sources instead of a line number.
1228 (vfork_parent_follow_to_bp)
1229 (vfork_and_exec_child_follow_to_main_bp)
1230 (vfork_and_exec_child_follow_through_step)
1231 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow):
1232 Use gdb_get_line_number.
1233
1234 2012-11-02 Pedro Alves <palves@redhat.com>
1235
1236 Modernize.
1237
1238 * gdb.base/foll-vfork.exp: Use standard_testfile and
1239 build_executable. Pass descriptive string to untested.
1240 (vfork_parent_follow_through_step, vfork_parent_follow_to_bp)
1241 (vfork_and_exec_child_follow_to_main_bp)
1242 (vfork_and_exec_child_follow_through_step)
1243 (tcatch_vfork_then_parent_follow, tcatch_vfork_then_child_follow)
1244 (do_vfork_and_exec_tests): Use gdb_test/gdb_test_multiple instead
1245 of send_gdb/gdb_expect.
1246
1247 (kill_child): New procedure.
1248 (vfork_and_exec_child_follow_to_main_bp)
1249 (vfork_and_exec_child_follow_through_step): Use it.
1250
1251 2012-11-02 Yao Qi <yao@codesourcery.com>
1252
1253 * gdb.base/setvar.exp: Test setting nested struct.
1254 * gdb.base/setvar.c (v_struct3): New.
1255
1256 2012-11-01 Doug Evans <dje@google.com>
1257
1258 * gdb.arch/amd64-pseudo.c (main): Mark registers that the testsuite
1259 changes as clobbered (e.g., amd64-dword.exp) so gcc doesn't try to
1260 use them.
1261
1262 2012-10-31 Andrew Burgess <aburgess@broadcom.com>
1263
1264 PR cli/14772
1265 * gdb.base/gnu_vector.c (union_with_vector_1)
1266 (struct_with_vector_1): Add new struct and union for testing
1267 ptype.
1268 * gdb.base/gnu_vector.exp: Add testing of ptype on vectors, and
1269 structs / unions containing vectors.
1270
1271 2012-10-25 Yao Qi <yao@codesourcery.com>
1272
1273 * gdb.trace/ftrace.exp (test_fast_tracepoints): Use
1274 'setup_kfail' instead of 'setup_kfail_for_target'.
1275 * gdb.base/varargs.exp: Likewise.
1276 * lib/gdb.exp (setup_kfail_for_target): Remove.
1277
1278 2012-10-25 Mark Kettenis <kettenis@openbsd.nfra.nl>
1279
1280 * gdb.base/varargs.exp: PR gdb/12790 is now fixed.
1281
1282 2012-10-25 Mark Kettenis <kettenis@gnu.org>
1283
1284 * gdb.base/varargs.exp: PR gdb/12776 is now fixed.
1285
1286 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1287
1288 * gdb.ada/set_wstr: New testcase.
1289
1290 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1291
1292 * gdb.base/ldbl_e308.c, gdb.base/ldbl_e308.exp: New files.
1293
1294 2012-10-24 Joel Brobecker <brobecker@adacore.com>
1295
1296 * gdb.ada/unc_arr_ptr_in_var_rec: New testcase.
1297
1298 2012-10-24 Mark Kettenis <kettenis@gnu.org>
1299
1300 * gdb.base/callfuncs.exp: PR gdb/12783 is now fixed.
1301
1302 2012-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
1303
1304 * gdb.base/callfuncs.exp (do_function_calls): Fix
1305 setup_kfail_for_target for -m32 mode.
1306
1307 2012-10-23 Mark Kettenis <kettenis@gnu.org>
1308
1309 * gdb.base/callfuncs.exp: PR gdb/12796, gdb/12798 and gdb/12800
1310 are now fixed.
1311
1312 2012-10-23 Yao Qi <yao@codesourcery.com>
1313
1314 * gdb.base/info-os.exp: Resume the inferior until it exits.
1315
1316 2012-10-18 Yufeng Zhang <yufeng.zhang@arm.com>
1317
1318 * gdb.base/ctxobj.exp: Skip if skip_shlib_tests returns true.
1319 * gdb.base/print-file-var.exp: Likewise.
1320 * gdb.base/type-opaque.exp: Likewise.
1321
1322 2012-10-17 Yao Qi <yao@codesourcery.com>
1323
1324 * gdb.mi/mi-memory-changed.exp: New.
1325
1326 2012-10-16 Yao Qi <yao@codesourcery.com>
1327
1328 * gdb.reverse/solib-precsave.exp: Skip if skip_shlib_test
1329 returns true.
1330 Call gdb_load_shlibs.
1331 * gdb.reverse/solib-reverse.exp: Likewise.
1332
1333 2012-10-15 Keith Seitz <keiths@redhat.com>
1334
1335 * lib/cp-support.exp (cp_test_ptype_class): Add support
1336 for class typedefs.
1337
1338 * gdb.cp/derivation.exp: Add tests for g_instance.
1339
1340 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1341
1342 Fix entry values resolving in inlined frames.
1343 * gdb.arch/amd64-entry-value-inline.S: New file.
1344 * gdb.arch/amd64-entry-value-inline.c: New file.
1345 * gdb.arch/amd64-entry-value-inline.exp: New file.
1346
1347 2012-10-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1348 Doug Evans <dje@google.com>
1349
1350 Fix recent gdb_breakpoint regression.
1351 * gdb.java/jmisc.exp: gdb_breakpoint for $function - remove curly
1352 braces from the parameter.
1353 * gdb.java/jprint.exp: Likewise.
1354
1355 2012-10-15 Doug Evans <dje@google.com>
1356
1357 * lib/gdb.exp (runto): Fix call to gdb_breakpoint.
1358
1359 2012-10-15 Yufeng Zhang <yufeng.zhang@arm.com>
1360
1361 * gdb.dwarf2/dw2-icc-opaque.S: Remove '#'.
1362
1363 2012-10-15 Tom Tromey <tromey@redhat.com>
1364
1365 * gdb.python/py-symtab.exp: Test sal and symtab destructors.
1366
1367 2012-10-15 Tom Tromey <tromey@redhat.com>
1368
1369 * gdb.python/py-symbol.exp: Test symbol destructor.
1370
1371 2012-10-14 Yao Qi <yao@codesourcery.com>
1372
1373 * gdb.mi/mi2-cli.exp: Move to mi-cli.exp.
1374 * gdb.mi/mi-cli.exp: New.
1375
1376 * gdb.mi/mi2-basics.exp: Remove.
1377 * gdb.mi/mi2-break.exp: Remove.
1378 * gdb.mi/mi2-console.exp: Remove.
1379 * gdb.mi/mi2-disassemble.exp: Remove.
1380 * gdb.mi/mi2-eval.exp: Remove.
1381 * gdb.mi/mi2-file.exp: Remove.
1382 * gdb.mi/mi2-hack-cli.exp: Remove.
1383 * gdb.mi/mi2-pthreads.exp: Remove.
1384 * gdb.mi/mi2-read-memory.exp: Remove.
1385 * gdb.mi/mi2-regs.exp: Remove.
1386 * gdb.mi/mi2-return.exp: Remove.
1387 * gdb.mi/mi2-simplerun.exp: Remove.
1388 * gdb.mi/mi2-stack.exp: Remove.
1389 * gdb.mi/mi2-stepi.exp: Remove.
1390 * gdb.mi/mi2-syn-frame.exp: Remove.
1391 * gdb.mi/mi2-until.exp: Remove.
1392 * gdb.mi/mi2-watch.exp: Remove.
1393 * gdb.mi/mi2-var-block.exp: Remove.
1394 * gdb.mi/mi2-var-cmd.exp: Remove.
1395 * gdb.mi/mi2-var-display.exp: Remove.
1396
1397 2012-10-12 Yao Qi <yao@codesourcery.com>
1398
1399 * gdb.mi/mi-breakpoint-changed.exp (test_pending_resolved): Remove
1400 trail '.*' on matching patterns.
1401
1402 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 * gdb.arch/i386-bp_permanent.exp: Skip if not is_x86_like_target.
1405 * gdb.arch/i386-cfi-notcurrent.exp: Likewise.
1406 * gdb.arch/i386-disp-step.exp: Likewise.
1407 * gdb.arch/i386-gnu-cfi.exp: Likewise.
1408 * gdb.arch/i386-prologue.exp: Likewise.
1409 * gdb.arch/i386-size-overlap.exp: Likewise.
1410 * gdb.arch/i386-size.exp: Likewise.
1411 * gdb.arch/i386-unwind.exp: Likewise.
1412
1413 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 * gdb.arch/i386-byte.exp: Remove is_ilp32_target check.
1416 * gdb.arch/i386-word.exp: Likewise.
1417
1418 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
1419
1420 * gdb.arch/i386-avx.exp: Check is_amd64_regs_target instead of
1421 is_ilp32_target to set nr_regs.
1422 * gdb.arch/i386-sse.exp: Likewise.
1423
1424 2012-10-11 Doug Evans <dje@google.com>
1425
1426 PR breakpoints/14643.
1427 * gdb.linespec/ls-errs.exp: Change tests of "b if|task|thread".
1428 * gdb.linespec/thread.c: New file.
1429 * gdb.linespec/thread.exp: New file.
1430
1431 * lib/gdb.exp (gdb_breakpoint): Fix varargs scan.
1432 Recognize "message" -> print pass and fail. Add eof case.
1433 (runto): Recognize message, no-message. Print pass/fail if requested,
1434 with same treatment as gdb_breakpoint.
1435 (runto_main): Pass no-message to runto.
1436 (gdb_internal_error_resync): Add log message.
1437 (gdb_file_cmd): Tweak internal error fail text for consistency.
1438
1439 2012-10-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1440
1441 Fix crash during stepping on ppc32.
1442 * gdb.base/step-symless.c: New file.
1443 * gdb.base/step-symless.exp: New file.
1444
1445 2012-10-03 Doug Evans <dje@google.com>
1446
1447 PR symtab/14601
1448 * gdb.cp/using-crash.exp: New file.
1449 * gdb.cp/using-crash.cc: New file.
1450
1451 2012-10-02 Doug Evans <dje@google.com>
1452
1453 * lib/gdb.exp (gdb_unload): Change wording of perror text to be
1454 more consistent.
1455 (runto,gdb_debug_format): Ditto.
1456 (gdb_file_cmd): Watch for eof in nested gdb_expect.
1457 Clean up logging and error messages.
1458
1459 2012-10-01 Andrew Burgess <aburgess@broadcom.com>
1460
1461 Test find command on unmapped memory.
1462 * gdb.base/find-unmapped.c: New file.
1463 * gdb.base/find-unmapped.exp: New file.
1464
1465 2012-09-29 Yao Qi <yao@codesourcery.com>
1466
1467 * gdb.trace/mi-tracepoint-changed.exp: New.
1468 * gdb.mi/mi-breakpoint-changed.exp: New.
1469 * gdb.mi/pending.c, gdb.mi/pendshr1.c: New
1470 * gdb.mi/pendshr2.c: New.
1471
1472 2012-09-28 Yao Qi <yao@codesourcery.com>
1473
1474 * gdb.mi/pr11022.exp: New.
1475 * gdb.mi/pr11022.c: New. Copied from gdb.base/.
1476
1477 2012-09-27 Tom Tromey <tromey@redhat.com>
1478
1479 * gdb.cp/derivation.exp: Add regression test.
1480 * gdb.cp/derivation.cc (class V_base, class V_inter, class
1481 V_derived): New.
1482 (vderived): New global.
1483
1484 2012-09-26 Tom Tromey <tromey@redhat.com>
1485
1486 * gdb.dwarf2/dw2-common-block.S: New file.
1487 * gdb.dwarf2/dw2-common-block.exp: New file.
1488
1489 2012-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>
1490
1491 * gdb.fortran/common-block.exp: New file.
1492 * gdb.fortran/common-block.f90: New file.
1493
1494 2012-09-26 Andrew Burgess <aburgess@broadcom.com>
1495
1496 * gdb.base/duplicate-bp.c: New file.
1497 * gdb.base/duplicate-bp.exp: New file.
1498
1499 2012-09-26 Yao Qi <yao@codesourcery.com>
1500
1501 * gdb.mi/mi2-cli.exp: Avoid line number in test summary.
1502
1503 Revert:
1504 2012-09-21 Yao Qi <yao@codesourcery.com>
1505
1506 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1507
1508 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1509
1510 * gdb.base/longest-types.c: New test case.
1511 * gdb.base/longest-types.exp: New test case.
1512
1513 2012-09-25 Yao Qi <yao@codesourcery.com>
1514
1515 * gdb.mi/mi2-cli.exp: Check breakpoint notification.
1516
1517 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1518
1519 Fix internal error on canonicalization of clang types.
1520 * gdb.dwarf2/dw2-canonicalize-type.S: New file.
1521 * gdb.dwarf2/dw2-canonicalize-type.exp: New file.
1522 * lib/gdb.exp (gdb_file_cmd): Catch also GDB internal error.
1523
1524 2012-09-21 Jan Kratochvil <jan.kratochvil@redhat.com>
1525
1526 Fix disassemble without parameters in tailcall frame.
1527 * gdb.arch/amd64-entry-value.exp (down, disassemble): New tests.
1528
1529 2012-09-21 Andrew Burgess <aburgess@broadcom.com>
1530
1531 * gdb.dwarf2/dw2-op-out-param.S: New file.
1532 * gdb.dwarf2/dw2-op-out-param.exp: New file.
1533
1534 2012-09-21 Yao Qi <yao@codesourcery.com>
1535
1536 * gdb.mi/mi2-cli.exp: Remove redundant '\'.
1537
1538 2012-09-21 Yao Qi <yao@codesourcery.com>
1539
1540 * gdb.mi/mi-cli.exp: Remove.
1541 * gdb.mi/mi2-cli.exp: Merged from mi-cli.exp.
1542
1543 2012-09-21 Yao Qi <yao@codesourcery.com>
1544
1545 * gdb.mi/mi-reverse.exp: Fix the typo in expected output of
1546 "=record-started" notification.
1547
1548 2012-09-21 Yao Qi <yao@codesourcery.com>
1549
1550 * gdb.mi/mi-record-changed.exp: New.
1551 * gdb.mi/mi-reverse.exp: Adjust expected output.
1552
1553 2012-09-20 Tom Tromey <tromey@redhat.com>
1554
1555 * gdb.python/python.exp: Test atexit.register.
1556
1557 2012-09-20 Doug Evans <dje@google.com>
1558
1559 * boards/dwarf4-gdb-index.exp: New file.
1560
1561 * gdb.base/callfuncs.exp (do_function_calls): Set unwindonsignal to on
1562 while running the tests.
1563
1564 2012-09-18 Joel Brobecker <brobecker@adacore.com>
1565
1566 * gdb.ada/bp_reset: New testcase.
1567
1568 2012-09-18 Yao Qi <yao@codesourcery.com>
1569
1570 * gdb.trace/mi-tsv-changed.exp: New.
1571
1572 2012-09-18 Yao Qi <yao@codesourcery.com>
1573
1574 * gdb.trace/mi-traceframe-changed.exp: New.
1575
1576 2012-09-17 Yao Qi <yao@codesourcery.com>
1577
1578 * gdb.base/list.exp (set_listsize): Don't set arg to "unlimited"
1579 when it is less than 0.
1580
1581 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1582
1583 PR 14119
1584 * gdb.arch/amd64-tailcall-ret.S: New file.
1585 * gdb.arch/amd64-tailcall-ret.c: New file.
1586 * gdb.arch/amd64-tailcall-ret.exp: New file.
1587 * gdb.reverse/amd64-tailcall-reverse.S: New file.
1588 * gdb.reverse/amd64-tailcall-reverse.c: New file.
1589 * gdb.reverse/amd64-tailcall-reverse.exp: New file.
1590
1591 2012-09-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1592
1593 PR 14548
1594 * gdb.reverse/singlejmp-reverse-nodebug.S: New file.
1595 * gdb.reverse/singlejmp-reverse-nodebug.c: New file.
1596 * gdb.reverse/singlejmp-reverse.S: New file.
1597 * gdb.reverse/singlejmp-reverse.c: New file.
1598 * gdb.reverse/singlejmp-reverse.exp: New file.
1599
1600 2012-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1601
1602 Fix compatibility with old GCC (~4.1).
1603 * gdb.cp/converts.cc (my_enum_var): New variable.
1604
1605 2012-09-14 Andrew Burgess <aburgess@broadcom.com>
1606
1607 * gdb.xml/tdesc-regs.exp: Update expected output for new
1608 vector_size syntax of vector types.
1609
1610 2012-09-13 Khoo Yit Phang <khooyp@cs.umd.edu>
1611
1612 Refactor Python "gdb" module into a proper Python package, by
1613 introducing a new "_gdb" module for code implemented in C, and
1614 using reload/__import__ instead of exec.
1615 * gdb.python/python.exp (Test stderr location): Update module
1616 location of GDB-specific sys.stderr.
1617 (Test stdout location): Ditto for sys.stdout.
1618
1619 2012-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
1620
1621 * gdb.base/valgrind-infcall.exp: Remove comment about Ubuntu.
1622
1623 2012-09-12 Keith Seitz <keiths@redhat.com>
1624
1625 * gdb.cp/converts.cc (main): Comment out the pointer to boolean
1626 conversion statement.
1627
1628 2012-09-12 Doug Evans <dje@google.com>
1629
1630 * gdb.base/help.exp: Remove testing of individual command help text,
1631 too much of a maintenance burden. Instead, test the functionality
1632 of "help" itself.
1633
1634 2012-09-11 Doug Evans <dje@google.com>
1635
1636 * gdb.cp/mb-inline.exp: Do "info break" after setting multi-location
1637 breakpoint.
1638
1639 * gdb.dwarf2/fission-base.S: Include gdb.dwarf2/ in dwo_name.
1640 * gdb.dwarf2/fission-reread.S: Ditto.
1641 * gdb.dwarf2/fission-base.exp: Remove setting of debug-file-directory.
1642 * gdb.dwarf2/fission-reread.exp: Ditto.
1643
1644 2012-09-11 Andrew Burgess <aburgess@broadcom.com>
1645
1646 * gdb.base/ptype.exp: Test ptype on a pointer to a typedef.
1647
1648 2012-09-10 Joel Brobecker <brobecker@adacore.com>
1649
1650 * gdb.ada/optim_drec: New testcase.
1651
1652 2012-09-10 Doug Evans <dje@google.com>
1653
1654 * boards/fission.exp: Explicitly mark "board" as not remote.
1655
1656 2012-09-10 Keith Seitz <keiths@redhat.com>
1657
1658 PR gdb/13483
1659 * gdb.cp/converts.cc (A::A): Add ctor.
1660 (A::member_): Add member.
1661 (enum my_enum): New enumeration.
1662 (main): Add calls to foo1_7 with various
1663 permitted arguments.
1664 * gdb.cp/converts.exp: Add tests for boolean
1665 conversions permitted by the standard.
1666
1667 2012-09-08 Khoo Yit Phang <khooyp@cs.umd.edu>
1668
1669 Replace -nw option with $INTERNAL_GDBFLAGS in "xgdb" tests to
1670 avoid spurious results due to ~/.gdbinit.
1671 * gdb.gdb/complaint.exp (setup_test): Replace -nw option with
1672 $INTERNAL_GDBFLAGS in run command.
1673 * gdb.gdb/observer.exp (setup_test): Ditto.
1674 * gdb.gdb/selftest.exp (test_with_self): Ditto.
1675 * gdb.gdb/xfullpath.exp (setup_test): Ditto.
1676
1677 2012-09-06 Doug Evans <dje@google.com>
1678
1679 * boards/fission.exp: New file.
1680
1681 * gdb.python/py-value.exp: Use clean_restart.
1682
1683 2012-09-05 Doug Evans <dje@google.com>
1684
1685 * gdb.base/info-macros.c: Fix whitespace.
1686
1687 2012-08-28 Pedro Alves <palves@redhat.com>
1688
1689 PR gdb/14428
1690
1691 * gdb.base/pc-fp.exp: Adjust expected output of 'info registers pc fp'.
1692
1693 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1694
1695 * gdb.base/break-caller-line.c: New file.
1696 * gdb.base/break-caller-line.exp: New file.
1697
1698 2012-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1699
1700 * gdb.ada/rdv_wait.exp (set debug-file-directory): New command.
1701 * gdb.arch/i386-cfi-notcurrent.S: New file.
1702 * gdb.arch/i386-cfi-notcurrent.exp: New file.
1703
1704 2012-08-27 Wei-cheng Wang <cole945@gmail.com>
1705 Yao Qi <yao@codesourcery.com>
1706 Pedro Alves <palves@redhat.com>
1707
1708 * gdb.base/memattr.exp (delete_memory, region_pass, region_fail):
1709 New procedures.
1710 (top level): Add overlap checking tests.
1711
1712 2012-08-24 Tom Tromey <tromey@redhat.com>
1713
1714 * lib/gdb.exp (skip_unwinder_tests): Don't leave 'ok' set if
1715 gdb_test_multiple fails for other reasons.
1716
1717 2012-08-24 Yao Qi <yao@codesourcery.com>
1718
1719 * lib/gdb.exp (skip_unwinder_tests): Remove pass.
1720
1721 2012-08-23 Pedro Alves <palves@redhat.com>
1722
1723 * gdb.base/help.exp: Adjust to "handle" help text change.
1724
1725 2012-08-23 Yao Qi <yao@codesourcery.com>
1726
1727 * gdb.trace/disconnected-tracing.c (start, end): New.
1728 (main): Call start and end.
1729 * gdb.trace/disconnected-tracing.exp (disconnected_tracing): Move
1730 existing tests into this proc.
1731 (disconnected_tfind): New.
1732
1733 2012-08-23 Yao Qi <yao@codesourcery.com>
1734
1735 * boards/native-gdbserver.exp (${board}_upload): New.
1736 * boards/native-stdio-gdbserver.exp (${board}_upload): New.
1737 * gdb.trace/tfile.exp: Don't check 'gdb,nofileio'.
1738 Execute tfile on remote target.
1739 Copy trace file from target to host.
1740
1741 2012-08-22 Joseph Myers <joseph@codesourcery.com>
1742
1743 * gdb.arch/thumb-bx-pc.S: New file.
1744 * gdb.arch/thumb-bx-pc.exp: New file.
1745
1746 2012-08-22 Tom Tromey <tromey@redhat.com>
1747
1748 * gdb.base/maint.exp: Update.
1749
1750 2012-08-22 Tom Tromey <tromey@redhat.com>
1751
1752 * lib/gdb.exp (skip_unwinder_tests): New proc.
1753 * gdb.cp/nextoverthrow.exp: Use skip_unwinder_tests.
1754 * gdb.java/jnpe.exp: Use skip_unwinder_tests.
1755
1756 2012-08-21 Tom Tromey <tromey@redhat.com>
1757
1758 * gdb.hp/gdb.aCC/exception.exp: Remove.
1759
1760 012-08-19 Andrew Pinski <apinski@cavium.com>
1761
1762 * gdb.arch/mips-octeon-bbit.c: New file.
1763 * gdb.arch/mips-octeon-bbit.exp: New Test.
1764
1765 012-08-19 Keith Seitz <keiths@redhat.com>
1766
1767 PR c++/14365
1768 * gdb.dwarf2/dw2-anon-mptr.exp: New file.
1769 * gdb.dwarf2/dw2-anon-mptr.S: New file.
1770
1771 2012-08-18 Jan Kratochvil <jan.kratochvil@redhat.com>
1772
1773 * gdb.base/solib-corrupted.exp (make solibs looping): Replace
1774 verbose -log by more specific untested call.
1775
1776 2012-08-18 Yao Qi <yao@codesourcery.com>
1777
1778 * gdb.trace/tfind.exp: Move tests on various command help before
1779 checking target supports trace.
1780 Fix the expected output of 'help tfind end'.
1781
1782 2012-08-17 Keith Seitz <keiths@redhat.com>
1783
1784 PR c++/13356
1785 * gdb.base/default.exp: Update all "check type" tests.
1786 * gdb.base/help.exp: Likewise.
1787 * gdb.base/setshow.exp: Likewise.
1788 * gdb.cp/converts.cc (foo1_type_check): New function.
1789 (foo2_type_check): New function.
1790 (foo3_type_check): New function.
1791 (main): Call new functions.
1792 * converts.exp: Add tests for integer-to-pointer conversions
1793 with/without strict type-checking.
1794
1795 2012-08-16 Mike Frysinger <vapier@gentoo.org>
1796
1797 * gdb.base/help.exp: Update expected output.
1798
1799 2012-08-16 Joel Brobecker <brobecker@adacore.com>
1800
1801 * gdb.ada/rdv_wait: New testcase.
1802
1803 2012-08-14 Jan Kratochvil <jan.kratochvil@redhat.com>
1804
1805 * gdb.base/attach-twice.exp: Remove excessive ps exec.
1806
1807 2012-08-13 Doug Evans <dje@google.com>
1808
1809 * gdb.base/help.exp: Update expected output.
1810 * gdb.base/default.exp: Update expected output of "show convenience".
1811
1812 2012-08-10 Doug Evans <dje@google.com>
1813
1814 * gdb.python/py-strfns.c: New file.
1815 * gdb.python/py-strfns.exp: New file.
1816 * gdb.python/py-type.exp (test_fields): Add vector tests.
1817
1818 2012-08-10 Mike Frysinger <vapier@gentoo.org>
1819
1820 PR cli/10436:
1821 * gdb.base/completion.exp: Add tests for handle completion.
1822
1823 2012-08-09 Yao Qi <yao@codesourcery.com>
1824
1825 * gdb.mi/mi-cmd-param-changed.exp: New.
1826 * gdb.mi/mi-cli.exp: Update for MI notification "=cmd-param-changed".
1827 * gdb.mi/mi-var-rtti.exp, gdb.mi/mi2-cli.exp: Likewise.
1828 * gdb.mi/mi2-prompt.exp: Likewise.
1829
1830 2012-08-08 Doug Evans <dje@google.com>
1831
1832 * gdb.base/debug-expr.c: New file.
1833 * gdb.base/debug-expr.exp: New file.
1834 * gdb.base/exprs.exp: Test {type} casts.
1835 * gdb.cp/debug-expr.exp: New file.
1836
1837 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1838
1839 * gdb.base/valgrind-infcall.exp (continue #$continue_count): Use
1840 global variable loop, not a 'break'. Add loop count limit to 100.
1841 Add new fail case for terminated vgdb.
1842
1843 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1844 Jean-Marc Saffroy <saffroy@gmail.com>
1845
1846 PR 11804
1847 * gdb.base/gcore-relro.exp: New file.
1848 * gdb.base/gcore-relro-main.c: New file.
1849 * gdb.base/gcore-relro-lib.c: New file.
1850
1851 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1852
1853 Do not false FAIL with old GCCs.
1854 * gdb.base/watchpoint.exp (self-delete local watch) <$no_hw>: XFAIL for
1855 GCC < 4.5 in $no_hw mode.
1856
1857 2012-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
1858
1859 * gdb.base/default.exp (cd): Accept new directory with no arguments.
1860
1861 2012-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
1862
1863 * gdb.base/list.exp (test_only_end): New function.
1864 Call it.
1865
1866 2012-08-06 Tom Tromey <tromey@redhat.com>
1867
1868 * gdb.python/py-mi.exp: Add test for printer whose children
1869 are a list.
1870 * gdb.python/py-prettyprint.c (struct children_as_list): New.
1871 (main): New variable children_as_list.
1872 * gdb.python/py-prettyprint.py (class pp_children_as_list):
1873 New.
1874 (register_pretty_printers): Register new printer.
1875
1876 2012-08-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
1877
1878 * gdb.base/valgrind-infcall.exp: Expect leading `.' on ppc64's
1879 symbols. Abort if vgdb remote connection is closed.
1880
1881 2012-08-02 Doug Evans <dje@google.com>
1882
1883 * gdb.base/info-fun.exp: Fix failures on m68k, ppc64, s390x.
1884
1885 2012-08-02 Sergio Durigan Junior <sergiodj@redhat.com>
1886
1887 * gdb.base/pc-fp.exp: Adjust testcase to match different outputs from
1888 s390x, PowerPC 64 and m68k-linux.
1889
1890 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1891
1892 * gdb.base/annota1.exp: Accept no frames-invalid notification
1893 when starting up the program.
1894 * gdb.python/py-value.exp (test_value_numeric_ops): Pointers may
1895 show a symbolic value as well.
1896 * gdb.server/server-exec-info.exp: Skip test when skipping
1897 gdbserver test and/or when skipping shared library tests.
1898 * gdb.threads/linux-dp.exp: Unset "seen" when done with it to
1899 avoid name conflicts with other tests.
1900
1901 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1902
1903 * gdb.dwarf2/dw2-icc-opaque.S: Remove .align directives.
1904 Fix wrong output on big-endian systems.
1905 * gdb.dwarf2/dw2-icc-opaque.exp: Expect @mode32 attribute on
1906 4-byte pointer types on 64-bit s390x.
1907
1908 2012-08-02 Ulrich Weigand <uweigand@de.ibm.com>
1909
1910 * gdb.base/watchpoint.c (func2): Initialize local_a. Add
1911 marker comment at the beginning (after intialization).
1912 * gdb.base/watchpoint.exp (test_complex_watchpoint): Set func2
1913 breakpoint on marker comment instead of function begin.
1914 (test_wide_location_1): Do not expect HW watchpoints on 32-bit
1915 PowerPC.
1916 (test_wide_location_2): Do not expect HW watchpoints on 32-bit
1917 or 64-bit PowerPC.
1918 (do_tests): Consistently set can-use-hw-watchpoints to 0 if
1919 gdb,no_hardware_watchpoints flag is set.
1920 (initialize): Remove now redundant can-use-hw-watchpoints change.
1921
1922 2012-08-02 Yao Qi <yao@codesourcery.com>
1923 Pedro Alves <palves@redhat.com>
1924
1925 * boards/local-remote-host.exp: New.
1926
1927 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1928
1929 * gdb.base/catch-load.exp: Fix argument to gdb_load_shlibs.
1930 * gdb.base/ctxobj.exp: Call gdb_load_shlibs.
1931 * gdb.base/print-file-var.exp: Likewise.
1932 * gdb.server/solib-list.exp: Skip on remote targets.
1933
1934 2012-08-01 Ulrich Weigand <ulrich.weigand@linaro.org>
1935
1936 * gdb.base/watchpoint.exp (test_wide_location_1): Expect software
1937 watchpoints on ARM. When expecting software watchpoints, tolerate
1938 (remote) targets that report unsupported hardware watchpoint only
1939 at continue time.
1940 (test_wide_location_2): Likewise.
1941
1942 2012-08-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1943
1944 * gdb.base/valgrind-infcall.exp: Relax the UNSUPPORTED check for more
1945 valgrind versions.
1946
1947 2012-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
1948
1949 * gdb.base/valgrind-infcall.c: New file.
1950 * gdb.base/valgrind-infcall.exp: New file.
1951
1952 * gdb.base/valgrind-db-attach.exp: Do not run in remote mode.
1953
1954 2012-07-30 Keith Seitz <keiths@redhat.com>
1955
1956 * gdb.linespec/ls-errs.exp: Check some quote-enclosed
1957 linespecs.
1958
1959 2012-07-30 Doug Evans <dje@google.com>
1960
1961 * gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
1962 * gdb.dwarf2/pr13961.S: Ditto.
1963
1964 * gdb.dwarf2/dw4-sig-types.exp: Fix typo.
1965
1966 2012-07-30 Andrew Burgess <aburgess@broadcom.com>
1967
1968 * gdb.mi/mi-var-invalidate.exp: Create a floating variable and
1969 change its format immediately after reloading the binary.
1970
1971 2012-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1972
1973 Fix testsuite regression after --use-deprecated-index-sections removal.
1974 * gdb.base/annota1.exp (run until main breakpoint): Update the expect
1975 string.
1976 * gdb.base/async-shell.exp (gdbindex_warning_re): Likewise.
1977
1978 2012-07-27 Yao Qi <yao@codesourcery.com>
1979
1980 KFAIL for PR remote/14161.
1981 * gdb.trace/strace.exp (strace_remove_socket): kfail for native.
1982 Cleanup socket files.
1983 (strace_info_marker): Detach inferior.
1984
1985 2012-07-26 Tom Tromey <tromey@redhat.com>
1986
1987 * gdb.objc/print.exp (test_float_accepted): Remove kfails.
1988
1989 2012-07-26 Markus Metzger <markus.t.metzger@intel.com>
1990
1991 * gdb.python/py-inferior.c (thread): New function.
1992 (check_threads): New function.
1993 (test_threads): New function.
1994 * gdb.python/py-inferior.exp: Added test.
1995 Replaced runto with continue to breakpoint.
1996
1997 2012-07-26 Tom Tromey <tromey@redhat.com>
1998
1999 * lib/ada.exp (standard_ada_testfile): New proc.
2000 * gdb.ada/aliased_array.exp: Use standard_ada_testfile.
2001 * gdb.ada/array_bounds.exp: Use standard_ada_testfile.
2002 * gdb.ada/array_return.exp: Use standard_ada_testfile.
2003 * gdb.ada/array_subscript_addr.exp: Use standard_ada_testfile.
2004 * gdb.ada/arrayidx.exp: Use standard_ada_testfile.
2005 * gdb.ada/arrayparam.exp: Use standard_ada_testfile.
2006 * gdb.ada/arrayptr.exp: Use standard_ada_testfile.
2007 * gdb.ada/atomic_enum.exp: Use standard_ada_testfile.
2008 * gdb.ada/bad-task-bp-keyword.exp: Use standard_ada_testfile.
2009 * gdb.ada/bp_enum_homonym.exp: Use standard_ada_testfile.
2010 * gdb.ada/bp_on_var.exp: Use standard_ada_testfile.
2011 * gdb.ada/bp_range_type.exp: Use standard_ada_testfile.
2012 * gdb.ada/call_pn.exp: Use standard_ada_testfile.
2013 * gdb.ada/catch_ex.exp: Use standard_ada_testfile.
2014 * gdb.ada/char_enum.exp: Use standard_ada_testfile.
2015 * gdb.ada/char_param.exp: Use standard_ada_testfile.
2016 * gdb.ada/complete.exp: Use standard_ada_testfile.
2017 * gdb.ada/cond_lang.exp: Use standard_ada_testfile,
2018 standard_output_file.
2019 * gdb.ada/dyn_loc.exp: Use standard_ada_testfile.
2020 * gdb.ada/enum_idx_packed.exp: Use standard_ada_testfile.
2021 * gdb.ada/exec_changed.exp: Use standard_ada_testfile,
2022 standard_output_file.
2023 * gdb.ada/exprs.exp: Use standard_ada_testfile.
2024 * gdb.ada/fixed_cmp.exp: Use standard_ada_testfile.
2025 * gdb.ada/fixed_points.exp: Use standard_ada_testfile.
2026 * gdb.ada/formatted_ref.exp: Use standard_ada_testfile.
2027 * gdb.ada/frame_args.exp: Use standard_ada_testfile.
2028 * gdb.ada/fullname_bp.exp: Use standard_ada_testfile.
2029 * gdb.ada/fun_addr.exp: Use standard_ada_testfile.
2030 * gdb.ada/fun_in_declare.exp: Use standard_ada_testfile.
2031 * gdb.ada/funcall_param.exp: Use standard_ada_testfile.
2032 * gdb.ada/homonym.exp: Use standard_ada_testfile.
2033 * gdb.ada/info_locals_renaming.exp: Use standard_ada_testfile.
2034 * gdb.ada/int_deref.exp: Use standard_ada_testfile.
2035 * gdb.ada/interface.exp: Use standard_ada_testfile.
2036 * gdb.ada/lang_switch.exp: Use standard_ada_testfile,
2037 standard_output_file
2038 * gdb.ada/mi_catch_ex.exp: Use standard_ada_testfile.
2039 * gdb.ada/mi_task_arg.exp: Use standard_ada_testfile.
2040 * gdb.ada/mi_task_info.exp: Use standard_ada_testfile.
2041 * gdb.ada/mod_from_name.exp: Use standard_ada_testfile.
2042 * gdb.ada/nested.exp: Use standard_ada_testfile.
2043 * gdb.ada/null_array.exp: Use standard_ada_testfile.
2044 * gdb.ada/null_record.exp: Use standard_ada_testfile.
2045 * gdb.ada/operator_bp.exp: Use standard_ada_testfile.
2046 * gdb.ada/packed_array.exp: Use standard_ada_testfile.
2047 * gdb.ada/packed_tagged.exp: Use standard_ada_testfile.
2048 * gdb.ada/print_chars.exp: Use standard_ada_testfile.
2049 * gdb.ada/print_pc.exp: Use standard_ada_testfile.
2050 * gdb.ada/ptr_typedef.exp: Use standard_ada_testfile.
2051 * gdb.ada/ptype_field.exp: Use standard_ada_testfile.
2052 * gdb.ada/ptype_tagged_param.exp: Use standard_ada_testfile.
2053 * gdb.ada/rec_return.exp: Use standard_ada_testfile.
2054 * gdb.ada/ref_param.exp: Use standard_ada_testfile.
2055 * gdb.ada/ref_tick_size.exp: Use standard_ada_testfile.
2056 * gdb.ada/same_enum.exp: Use standard_ada_testfile.
2057 * gdb.ada/set_pckd_arr_elt.exp: Use standard_ada_testfile.
2058 * gdb.ada/small_reg_param.exp: Use standard_ada_testfile.
2059 * gdb.ada/start.exp: Use standard_ada_testfile.
2060 * gdb.ada/str_ref_cmp.exp: Use standard_ada_testfile.
2061 * gdb.ada/sym_print_name.exp: Use standard_ada_testfile.
2062 * gdb.ada/taft_type.exp: Use standard_ada_testfile.
2063 * gdb.ada/tagged.exp: Use standard_ada_testfile.
2064 * gdb.ada/tagged_not_init.exp: Use standard_ada_testfile.
2065 * gdb.ada/task_bp.exp: Use standard_ada_testfile.
2066 * gdb.ada/tasks.exp: Use standard_ada_testfile.
2067 * gdb.ada/tick_last_segv.exp: Use standard_ada_testfile.
2068 * gdb.ada/type_coercion.exp: Use standard_ada_testfile.
2069 * gdb.ada/uninitialized_vars.exp: Use standard_ada_testfile.
2070 * gdb.ada/variant_record_packed_array.exp: Use standard_ada_testfile.
2071 * gdb.ada/watch_arg.exp: Use standard_ada_testfile.
2072 * gdb.ada/whatis_array_val.exp: Use standard_ada_testfile.
2073 * gdb.ada/widewide.exp: Use standard_ada_testfile.
2074
2075 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2076
2077 Fix testsuite regression after --use-deprecated-index-sections removal.
2078 * lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
2079
2080 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
2081
2082 Fix compatibility with Tcl before 7.5.
2083 * lib/future.exp (lreverse): New function if it does not exist.
2084
2085 2012-07-25 Marc Khouzam <marc.khouzam@ericsson.com>
2086
2087 * gdb.mi/mi-pending.c: New method to set a second pending
2088 breakpoint.
2089 * gdb.mi/mi-pending.exp: Set a pending breakpoint with a
2090 condition.
2091
2092 2012-07-20 Pedro Alves <palves@redhat.com>
2093
2094 PR threads/11692
2095 PR gdb/12203
2096
2097 * gdb.threads/create-fail.c: New file.
2098 * gdb.threads/create-fail.exp: New file.
2099
2100 2012-07-19 Pedro Alves <palves@redhat.com>
2101
2102 * config/monitor.exp (gdb_load): Remove redundant ';' in for loop.
2103 * config/vx.exp (gdb_start): Likewise.
2104 * gdb.base/printcmds.exp (test_print_repeats_10): Likewise.
2105 * gdb.base/setvar.exp (test_set): Likewise.
2106 * gdb.base/sigall.exp: Use foreach+lrange instead of for+continue.
2107 * gdb.reverse/sigall-precsave.exp: Likewise.
2108 * gdb.reverse/sigall-reverse.exp: Likewise.
2109
2110 2012-07-19 Pedro Alves <palves@redhat.com>
2111
2112 * gdb.reverse/sigall-precsave.exp: Set a breakpoint at each signal
2113 handler before recording.
2114
2115 2012-07-19 Tom Tromey <tromey@redhat.com>
2116
2117 * gdb.cp/casts.exp: Add tests for typeof and decltype.
2118 * gdb.cp/casts.cc (decltype): New function.
2119 (main): Use it.
2120
2121 2012-07-19 Pedro Alves <palves@redhat.com>
2122
2123 * gdb.base/sigall.exp (signals): New list.
2124 <top level>: Loop over signals in the $signals list instead of
2125 calling a test function once per signal.
2126 * gdb.reverse/sigall-precsave.exp (signals): New list.
2127 <top level>: Loop over signals in the $signals list instead of
2128 calling a test function once per signal.
2129 * gdb.reverse/sigall-reverse.exp (signals): New list.
2130 <top level>: Loop over signals in the $signals list instead of
2131 calling a test function once per signal.
2132
2133 2012-07-19 Yao Qi <yao@codesourcery.com>
2134
2135 * gdb.base/setshow.exp: Test 'set args ~'.
2136
2137 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2138
2139 * gdb.base/store.exp (check_set): Import gdb_prompt.
2140 (continue to wack_${t}): Make it to conditional gdb_test_multiple.
2141 (${prefix}; next ${t}): Hide its name, handle it conditionally now.
2142
2143 2012-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2144
2145 PR 11914
2146 * gdb.python/py-prettyprint.c (eval_func, eval_sub): New.
2147 (main): Call eval_sub.
2148 * gdb.python/py-prettyprint.exp:
2149 (python execfile ('py-prettyprint.py')): Move it earlier.
2150 New breakpoint for eval-break.
2151 (continue to breakpoint: eval-break, info locals): New test.
2152 (python execfile ('py-prettyprint.py')): Move it from here.
2153 * gdb.python/py-prettyprint.py (class pp_eval_type): New.
2154 (register_pretty_printers): Register pp_eval_type.
2155
2156 2012-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2157
2158 Fix a testcase regression by me.
2159 * gdb.dwarf2/fission-reread.S: Fix two DW_FORM_data8 to be
2160 DW_FORM_data4.
2161
2162 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2163 Doug Evans <dje@google.com>
2164
2165 * gdb.dwarf2/dw2-minsym-in-cu.S: New file.
2166 * gdb.dwarf2/dw2-minsym-in-cu.exp: New file.
2167
2168 2012-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
2169
2170 Fix gdbserver run regression.
2171 * gdb.trace/disconnected-tracing.exp (executabel): Fix typo.
2172
2173 2012-07-12 Tom Tromey <tromey@redhat.com>
2174
2175 * lib/gdb.exp (standard_testfile): Don't declare objdir.
2176 (clean_restart): Likewise.
2177 (core_find): Use standard_output_file.
2178
2179 2012-07-12 Tom Tromey <tromey@redhat.com>
2180
2181 * gdb.dwarf2/dup-psym.exp: Use prepare_for_testing_full.
2182 * gdb.dwarf2/dw2-anonymous-func.exp: Use
2183 prepare_for_testing_full.
2184 * gdb.dwarf2/dw2-basic.exp: Use prepare_for_testing_full.
2185 * gdb.dwarf2/dw2-compressed.exp: Use prepare_for_testing_full.
2186 * gdb.dwarf2/dw2-const.exp: Use prepare_for_testing_full.
2187 * gdb.dwarf2/dw2-cu-size.exp: Use prepare_for_testing_full.
2188 * gdb.dwarf2/dw2-intercu.exp: Use prepare_for_testing_full.
2189 * gdb.dwarf2/dw2-intermix.exp: Use prepare_for_testing_full.
2190 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use
2191 prepare_for_testing_full.
2192 * gdb.dwarf2/dw2-producer.exp: Use prepare_for_testing_full.
2193 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use
2194 prepare_for_testing_full.
2195 * gdb.dwarf2/dw2-restore.exp: Use prepare_for_testing_full.
2196 * gdb.dwarf2/dw2-strp.exp: Use prepare_for_testing_full.
2197 * gdb.dwarf2/mac-fileno.exp: Use prepare_for_testing_full.
2198
2199 2012-07-12 Tom Tromey <tromey@redhat.com>
2200
2201 * lib/gdb.exp (build_executable_from_specs): New proc, from
2202 build_executable.
2203 (build_executable): Use it.
2204 (prepare_for_testing_full): New proc.
2205
2206 2012-07-11 Tom Tromey <tromey@redhat.com>
2207
2208 * gdb.reverse/break-precsave.exp: Use standard_output_file.
2209 * gdb.reverse/consecutive-precsave.exp: Use standard_output_file.
2210 * gdb.reverse/finish-precsave.exp: Use standard_output_file.
2211 * gdb.reverse/i386-precsave.exp: Use standard_output_file.
2212 * gdb.reverse/machinestate-precsave.exp: Use standard_output_file.
2213 * gdb.reverse/sigall-precsave.exp: Use standard_output_file.
2214 * gdb.reverse/solib-precsave.exp: Use standard_output_file.
2215 * gdb.reverse/step-precsave.exp: Use standard_output_file.
2216 * gdb.reverse/until-precsave.exp: Use standard_output_file.
2217 * gdb.reverse/watch-precsave.exp: Use standard_output_file.
2218
2219 2012-07-10 Tom Tromey <tromey@redhat.com>
2220
2221 * gdb.mi/dw2-ref-missing-frame.exp: Use standard_testfile,
2222 standard_output_file.
2223 * gdb.mi/gdb2549.exp: Use standard_testfile.
2224 * gdb.mi/gdb669.exp: Use standard_testfile.
2225 * gdb.mi/gdb701.exp: Use standard_testfile.
2226 * gdb.mi/gdb792.exp: Use standard_testfile.
2227 * gdb.mi/mi-async.exp: Use standard_testfile.
2228 * gdb.mi/mi-basics.exp: Use standard_testfile.
2229 * gdb.mi/mi-break.exp: Use standard_testfile.
2230 * gdb.mi/mi-cli.exp: Use standard_testfile.
2231 * gdb.mi/mi-console.exp: Use standard_testfile.
2232 * gdb.mi/mi-disassemble.exp: Use standard_testfile.
2233 * gdb.mi/mi-eval.exp: Use standard_testfile.
2234 * gdb.mi/mi-file-transfer.exp: Use standard_testfile.
2235 * gdb.mi/mi-file.exp: Use standard_testfile.
2236 * gdb.mi/mi-inheritance-syntax-error.exp: Use standard_testfile.
2237 * gdb.mi/mi-logging.exp: Use standard_testfile.
2238 * gdb.mi/mi-nonstop-exit.exp: Use standard_testfile.
2239 * gdb.mi/mi-nonstop.exp: Use standard_testfile.
2240 * gdb.mi/mi-ns-stale-regcache.exp: Use standard_testfile.
2241 * gdb.mi/mi-nsintrall.exp: Use standard_testfile.
2242 * gdb.mi/mi-nsmoribund.exp: Use standard_testfile.
2243 * gdb.mi/mi-nsthrexec.exp: Use standard_testfile.
2244 * gdb.mi/mi-pending.exp: Use standard_testfile,
2245 standard_output_file.
2246 * gdb.mi/mi-pthreads.exp: Use standard_testfile.
2247 * gdb.mi/mi-read-memory.exp: Use standard_testfile.
2248 * gdb.mi/mi-regs.exp: Use standard_testfile.
2249 * gdb.mi/mi-return.exp: Use standard_testfile.
2250 * gdb.mi/mi-reverse.exp: Use standard_testfile.
2251 * gdb.mi/mi-simplerun.exp: Use standard_testfile.
2252 * gdb.mi/mi-solib.exp: Use standard_testfile,
2253 standard_output_file.
2254 * gdb.mi/mi-stack.exp: Use standard_testfile.
2255 * gdb.mi/mi-stepi.exp: Use standard_testfile.
2256 * gdb.mi/mi-stepn.exp: Use standard_testfile.
2257 * gdb.mi/mi-syn-frame.exp: Use standard_testfile.
2258 * gdb.mi/mi-until.exp: Use standard_testfile.
2259 * gdb.mi/mi-var-block.exp: Use standard_testfile.
2260 * gdb.mi/mi-var-child-f.exp: Use standard_testfile.
2261 * gdb.mi/mi-var-child.exp: Use standard_testfile.
2262 * gdb.mi/mi-var-cmd.exp: Use standard_testfile.
2263 * gdb.mi/mi-var-cp.exp: Use standard_testfile.
2264 * gdb.mi/mi-var-display.exp: Use standard_testfile.
2265 * gdb.mi/mi-var-invalidate.exp: Use standard_testfile,
2266 standard_output_file.
2267 * gdb.mi/mi-var-rtti.exp: Use standard_testfile.
2268 * gdb.mi/mi-watch-nonstop.exp: Use standard_testfile.
2269 * gdb.mi/mi-watch.exp: Use standard_testfile.
2270 * gdb.mi/mi2-amd64-entry-value.exp: Use standard_testfile.
2271 * gdb.mi/mi2-basics.exp: Use standard_testfile.
2272 * gdb.mi/mi2-break.exp: Use standard_testfile.
2273 * gdb.mi/mi2-cli.exp: Use standard_testfile.
2274 * gdb.mi/mi2-console.exp: Use standard_testfile.
2275 * gdb.mi/mi2-disassemble.exp: Use standard_testfile.
2276 * gdb.mi/mi2-eval.exp: Use standard_testfile.
2277 * gdb.mi/mi2-file.exp: Use standard_testfile.
2278 * gdb.mi/mi2-pthreads.exp: Use standard_testfile.
2279 * gdb.mi/mi2-read-memory.exp: Use standard_testfile.
2280 * gdb.mi/mi2-regs.exp: Use standard_testfile.
2281 * gdb.mi/mi2-return.exp: Use standard_testfile.
2282 * gdb.mi/mi2-simplerun.exp: Use standard_testfile.
2283 * gdb.mi/mi2-stack.exp: Use standard_testfile.
2284 * gdb.mi/mi2-stepi.exp: Use standard_testfile.
2285 * gdb.mi/mi2-syn-frame.exp: Use standard_testfile.
2286 * gdb.mi/mi2-until.exp: Use standard_testfile.
2287 * gdb.mi/mi2-var-block.exp: Use standard_testfile.
2288 * gdb.mi/mi2-var-child.exp: Use standard_testfile.
2289 * gdb.mi/mi2-var-cmd.exp: Use standard_testfile.
2290 * gdb.mi/mi2-var-display.exp: Use standard_testfile.
2291 * gdb.mi/mi2-watch.exp: Use standard_testfile.
2292
2293 2012-07-10 Tom Tromey <tromey@redhat.com>
2294
2295 * gdb.cp/abstract-origin.exp: Use standard_testfile.
2296 * gdb.cp/ambiguous.exp: Use standard_testfile,
2297 prepare_for_testing.
2298 * gdb.cp/annota2.exp: Use standard_testfile, prepare_for_testing.
2299 * gdb.cp/annota3.exp: Use standard_testfile, prepare_for_testing.
2300 * gdb.cp/anon-ns.exp: Use standard_testfile.
2301 * gdb.cp/anon-struct.exp: Use standard_testfile.
2302 * gdb.cp/anon-union.exp: Use standard_testfile,
2303 prepare_for_testing.
2304 * gdb.cp/arg-reference.exp: Use standard_testfile,
2305 prepare_for_testing.
2306 * gdb.cp/bool.exp: Use standard_testfile, prepare_for_testing.
2307 * gdb.cp/breakpoint.exp: Use standard_testfile,
2308 prepare_for_testing.
2309 * gdb.cp/bs15503.exp: Use standard_testfile, prepare_for_testing.
2310 * gdb.cp/call-c.exp: Use standard_testfile, clean_restart,
2311 standard_output_file.
2312 * gdb.cp/casts.exp: Use standard_testfile, prepare_for_testing.
2313 * gdb.cp/class2.exp: Use standard_testfile, prepare_for_testing.
2314 * gdb.cp/classes.exp: Use standard_testfile, prepare_for_testing.
2315 (test_static_members): Update.
2316 * gdb.cp/cmpd-minsyms.exp: Use standard_testfile.
2317 * gdb.cp/converts.exp: Use standard_testfile.
2318 * gdb.cp/cp-relocate.exp: Use standard_testfile.
2319 * gdb.cp/cpcompletion.exp: Use standard_testfile,
2320 prepare_for_testing.
2321 * gdb.cp/cpexprs.exp: Use standard_testfile, prepare_for_testing.
2322 * gdb.cp/cplabel.exp: Use standard_testfile.
2323 * gdb.cp/cplusfuncs.exp: Use standard_testfile,
2324 prepare_for_testing.
2325 * gdb.cp/ctti.exp: Use standard_testfile, prepare_for_testing.
2326 * gdb.cp/derivation.exp: Use standard_testfile,
2327 prepare_for_testing.
2328 * gdb.cp/destrprint.exp: Use standard_testfile.
2329 * gdb.cp/dispcxx.exp: Use standard_testfile.
2330 * gdb.cp/exception.exp: Use standard_testfile,
2331 prepare_for_testing.
2332 * gdb.cp/expand-psymtabs-cxx.exp: Use standard_testfile.
2333 * gdb.cp/extern-c.exp: Use standard_testfile,
2334 prepare_for_testing.
2335 * gdb.cp/formatted-ref.exp: Use standard_testfile,
2336 prepare_for_testing.
2337 * gdb.cp/fpointer.exp: Use standard_testfile.
2338 * gdb.cp/gdb1355.exp: Use standard_testfile, prepare_for_testing.
2339 * gdb.cp/gdb2384.exp: Use standard_testfile, clean_restart,
2340 standard_output_file.
2341 * gdb.cp/gdb2495.exp: Use standard_testfile, prepare_for_testing.
2342 * gdb.cp/hang.exp: Use standard_testfile, prepare_for_testing.
2343 * gdb.cp/infcall-dlopen.exp: Use standard_testfile,
2344 standard_output_file.
2345 * gdb.cp/inherit.exp: Use standard_testfile, prepare_for_testing.
2346 (do_tests): Update.
2347 * gdb.cp/koenig.exp: Use standard_testfile.
2348 * gdb.cp/local.exp: Use standard_testfile, prepare_for_testing.
2349 * gdb.cp/m-data.exp: Use standard_testfile, prepare_for_testing.
2350 * gdb.cp/m-static.exp: Use standard_testfile,
2351 prepare_for_testing.
2352 * gdb.cp/mb-ctor.exp: Use standard_testfile, prepare_for_testing.
2353 * gdb.cp/mb-inline.exp: Use standard_testfile,
2354 prepare_for_testing.
2355 * gdb.cp/mb-templates.exp: Use standard_testfile,
2356 prepare_for_testing.
2357 * gdb.cp/member-ptr.exp: Use standard_testfile,
2358 prepare_for_testing.
2359 * gdb.cp/meth-typedefs.exp: Use standard_testfile.
2360 * gdb.cp/method.exp: Use standard_testfile, prepare_for_testing.
2361 * gdb.cp/method2.exp: Use standard_testfile.
2362 * gdb.cp/minsym-fallback.exp: Use standard_testfile,
2363 standard_output_file.
2364 * gdb.cp/misc.exp: Use standard_testfile, prepare_for_testing.
2365 (do_tests): Update.
2366 * gdb.cp/namespace-enum.exp: Use standard_testfile,
2367 prepare_for_testing.
2368 * gdb.cp/namespace-nested-import.exp: Use standard_testfile,
2369 prepare_for_testing.
2370 * gdb.cp/namespace.exp: Use standard_testfile,
2371 prepare_for_testing.
2372 * gdb.cp/nextoverthrow.exp: Use standard_testfile.
2373 * gdb.cp/no-dmgl-verbose.exp: Use standard_testfile.
2374 * gdb.cp/nsdecl.exp: Use standard_testfile, prepare_for_testing.
2375 * gdb.cp/nsimport.exp: Use standard_testfile,
2376 prepare_for_testing.
2377 * gdb.cp/nsnested.exp: Use standard_testfile.
2378 * gdb.cp/nsnoimports.exp: Use standard_testfile.
2379 * gdb.cp/nsrecurs.exp: Use standard_testfile,
2380 prepare_for_testing.
2381 * gdb.cp/nsstress.exp: Use standard_testfile,
2382 prepare_for_testing.
2383 * gdb.cp/nsusing.exp: Use standard_testfile, prepare_for_testing.
2384 * gdb.cp/operator.exp: Use standard_testfile.
2385 * gdb.cp/oranking.exp: Use standard_testfile.
2386 * gdb.cp/overload-const.exp: Use standard_testfile.
2387 * gdb.cp/overload.exp: Use standard_testfile,
2388 prepare_for_testing.
2389 * gdb.cp/ovldbreak.exp: Use standard_testfile.
2390 * gdb.cp/ovsrch.exp: Use standard_testfile.
2391 * gdb.cp/paren-type.exp: Use standard_testfile.
2392 * gdb.cp/pass-by-ref.exp: Use standard_testfile,
2393 prepare_for_testing.
2394 * gdb.cp/pr-1023.exp: Use standard_testfile, prepare_for_testing.
2395 * gdb.cp/pr-1210.exp: Use standard_testfile, prepare_for_testing.
2396 * gdb.cp/pr-574.exp: Use standard_testfile, prepare_for_testing.
2397 * gdb.cp/pr10687.exp: Use standard_testfile, clean_restart.
2398 * gdb.cp/pr10728.exp: Use standard_testfile,
2399 standard_output_file.
2400 * gdb.cp/pr12028.exp: Use standard_testfile.
2401 * gdb.cp/pr9067.exp: Use standard_testfile, prepare_for_testing.
2402 * gdb.cp/pr9167.exp: Use standard_testfile.
2403 * gdb.cp/pr9631.exp: Use standard_testfile, prepare_for_testing.
2404 * gdb.cp/printmethod.exp: Use standard_testfile,
2405 prepare_for_testing.
2406 * gdb.cp/psmang.exp: Use standard_testfile, clean_restart.
2407 * gdb.cp/psymtab-parameter.exp: Use standard_testfile.
2408 * gdb.cp/ptype-cv-cp.exp: Use standard_testfile.
2409 * gdb.cp/re-set-overloaded.exp: Use standard_testfile,
2410 standard_output_file.
2411 * gdb.cp/readnow-language.exp: Use standard_testfile.
2412 * gdb.cp/ref-params.exp: Use standard_testfile, build_executable.
2413 (gdb_start_again): Use clean_restart.
2414 * gdb.cp/ref-types.exp: Use standard_testfile,
2415 prepare_for_testing.
2416 * gdb.cp/rtti.exp: Use standard_testfile, prepare_for_testing.
2417 * gdb.cp/shadow.exp: Use standard_testfile, prepare_for_testing.
2418 * gdb.cp/smartp.exp: Use standard_testfile.
2419 * gdb.cp/static-method.exp: Use standard_testfile.
2420 * gdb.cp/static-print-quit.exp: Use standard_testfile.
2421 * gdb.cp/temargs.exp: Use standard_testfile.
2422 * gdb.cp/templates.exp: Use standard_testfile,
2423 prepare_for_testing.
2424 (do_tests): Update.
2425 * gdb.cp/try_catch.exp: Use standard_testfile,
2426 prepare_for_testing.
2427 * gdb.cp/typedef-operator.exp: Use standard_testfile.
2428 * gdb.cp/userdef.exp: Use standard_testfile, prepare_for_testing.
2429 * gdb.cp/virtbase.exp: Use standard_testfile,
2430 prepare_for_testing.
2431 * gdb.cp/virtfunc.exp: Use standard_testfile,
2432 prepare_for_testing.
2433 (do_tests): Update.
2434 * gdb.cp/virtfunc2.exp: Use standard_testfile,
2435 prepare_for_testing.
2436
2437 2012-07-10 Tom Tromey <tromey@redhat.com>
2438
2439 * lib/gdb.exp (standard_testfile): Unset output variables from
2440 earlier invocations.
2441
2442 2012-07-10 Yao Qi <yao@codesourcery.com>
2443
2444 * gdb.mi/gdb2549.exp: Remove -DFAKEARGV from compilation flags.
2445 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp: Likewise.
2446 * gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp: Likewise.
2447 * gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp: Likewise.
2448 * gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp: Likewise.
2449 * gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp: Likewise.
2450 * gdb.mi/mi-return.exp, gdb.mi/mi-reverse.exp: Likewise.
2451 * gdb.mi/mi-simplerun.exp, gdb.mi/mi-stack.exp: Likewise.
2452 * gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp: Likewise.
2453 * gdb.mi/mi-until.exp, gdb.mi/mi-var-block.exp: Likewise.
2454 * gdb.mi/mi-var-child.exp, gdb.mi/mi-var-cmd.exp: Likewise.
2455 * gdb.mi/mi-var-display.exp: Likewise.
2456 * gdb.mi/mi-var-invalidate.exp: Likewise.
2457 * gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp: Likewise.
2458 * gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp: Likewise.
2459 * gdb.mi/mi2-console.exp: Likewise.
2460 * gdb.mi/mi2-disassemble.exp: Likewise.
2461 * gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp: Likewise.
2462 * gdb.mi/mi2-read-memory.exp: Likewise.
2463 * gdb.mi/mi2-regs.exp, gdb.mi/mi2-return.exp: Likewise.
2464 * gdb.mi/mi2-simplerun.exp: Likewise.
2465 * gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp: Likewise.
2466 * gdb.mi/mi2-syn-frame.exp: Likewise.
2467 * gdb.mi/mi2-until.exp, gdb.mi/mi2-var-block.exp: Likewise.
2468 * gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp: Likewise.
2469 * gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp: Likewise.
2470
2471 2012-07-09 Tom Tromey <tromey@redhat.com>
2472
2473 * gdb.base/whatis.exp: Add error checks for improper 'void' uses.
2474 * gdb.base/callfuncs.exp: Add cast-based test.
2475 * gdb.base/callfuncs.c (voidfunc): New function.
2476
2477 2012-07-08 Doug Evans <dje@google.com>
2478
2479 * gdb.dwarf2/dw4-sig-type-unused.S: Fix typo.
2480
2481 2012-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2482
2483 Fix XFAIL compatibility with old i386 systems.
2484 * gdb.base/stale-infcall.exp (test system longjmp tracking support):
2485 Check also 'Cannot insert breakpoint 0'.
2486
2487 2012-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
2488
2489 PR 14321
2490 * gdb.base/find.exp
2491 (find int64_search_buf, +64/8*100, int64_search_buf): New test.
2492
2493 2012-07-06 Tom Tromey <tromey@redhat.com>
2494
2495 * gdb.base/whatis.exp: Add test.
2496
2497 2012-07-06 Tom Tromey <tromey@redhat.com>
2498
2499 * gdb.base/whatis.exp: Add regression test.
2500
2501 2012-07-06 Tom Tromey <tromey@redhat.com>
2502
2503 * gdb.base/whatis.exp: Add tests.
2504
2505 2012-07-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2506
2507 PR 12649
2508 * gdb.base/dprintf.exp (Set dprintf style to agent): Add missing
2509 gdb_test_multiple $gdb_prompt terminator.
2510
2511 2012-07-04 Pedro Alves <palves@redhat.com>
2512
2513 * gdb.mi/mi-reverse.exp: Use supports_reverse and
2514 supports_process_record.
2515
2516 2012-07-04 Pedro Alves <palves@redhat.com>
2517
2518 * gdb.ada/packed_tagged/comp_bug.adb: Convert to unix text line
2519 endings.
2520 * gdb.mi/mi-reverse.exp: Convert to unix text line endings.
2521
2522 2012-07-03 Stan Shebs <stan@codesourcery.com>
2523
2524 * gdb.base/info-os.c (main): Retry resource acquisition until an
2525 available one is found.
2526 * gdb.base/info-os.exp: Collect resource keys from the program
2527 and use them in matching.
2528
2529 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2530
2531 * gdb.threads/gcore-thread.exp: Remove variable libthread_db_seen.
2532 Wrap the test into loop for corefile and core0file.
2533
2534 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2535
2536 * gdb.dwarf2/fission-reread.S: Remove .section attributes.
2537 Change CU pointer size to 4 bytes, adjust .8byte to .4byte. Remove
2538 .note.GNU-stack.
2539
2540 * gdb.dwarf2/fission-reread.S: Change # comments to /* */ comments.
2541
2542 2012-07-02 Sergio Durigan Junior <sergiodj@redhat.com>
2543
2544 * gdb.base/help.exp (help b, help br, help bre, help brea, help
2545 break): Include help message for the new `-probe' and `-probe-stap'
2546 options.
2547
2548 2012-07-02 Stan Shebs <stan@codesourcery.com>
2549
2550 * gdb.base/dprintf.exp: Add agent style tests.
2551
2552 2012-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2553
2554 * gdb.base/stale-infcall.c (infcall): New label test-next.
2555 (main): New labels test-pass and test-fail.
2556 * gdb.base/stale-infcall.exp: Continue to test-next. Put breakpoint
2557 $test_fail_bpnum to test-fail.
2558 (test system longjmp tracking support): New test.
2559 Delete $test_fail_bpnum.
2560 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept also Temporary
2561 breakpoint.
2562
2563 2012-06-30 Doug Evans <dje@google.com>
2564
2565 * gdb.dwarf2/fission-reread.S: New file.
2566 * gdb.dwarf2/fission-reread.exp: New file.
2567
2568 2012-06-28 Stan Shebs <stan@codesourcery.com>
2569
2570 * gdb.mi/mi-logging.exp: New file.
2571
2572 2012-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
2573 Pedro Alves <palves@redhat.com>
2574
2575 * gdb.threads/siginfo-threads.exp: New file.
2576 * gdb.threads/siginfo-threads.c: New file.
2577 * gdb.threads/sigstep-threads.exp: New file.
2578 * gdb.threads/sigstep-threads.c: New file.
2579
2580 2012-06-28 Tom Tromey <tromey@redhat.com>
2581
2582 * gdb.go/package.exp: Partially revert earlier patch; use
2583 gdb_compile again. Use standard_output_file.
2584
2585 2012-06-27 Doug Evans <dje@google.com>
2586
2587 * gdb.dwarf2/fission-base.c: New file.
2588 * gdb.dwarf2/fission-base.S: New file.
2589 * gdb.dwarf2/fission-base.exp: New file.
2590
2591 2012-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
2592
2593 * gdb.dwarf2/callframecfa.exp: Replace $testname by $testfile.
2594
2595 2012-06-27 Tom Tromey <tromey@redhat.com>
2596
2597 * gdb.base/macscp1.c (macscp_expr): Add breakpoint comment.
2598 * gdb.base/macscp.exp (maybe_kfail): Add test for macro scope.
2599
2600 2012-06-27 Tom Tromey <tromey@redhat.com>
2601
2602 * gdb.dwarf2/pr10770.exp: Use standard_testfile.
2603 * gdb.dwarf2/dw2-var-zero-addr.exp: Use standard_testfile.
2604 * gdb.dwarf2/dw2-param-error.exp: Use standard_testfile.
2605 * gdb.dwarf2/dw2-op-call.exp: Use standard_testfile.
2606 * gdb.dwarf2/dw2-inline-param.exp: Use standard_testfile,
2607 prepare_for_testing.
2608 * gdb.dwarf2/dw2-inline-break.exp: Use standard_testfile.
2609 * gdb.dwarf2/dw2-ifort-parameter.exp: Use standard_testfile.
2610 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Use
2611 standard_testfile.
2612 * gdb.dwarf2/dw2-case-insensitive.exp: Use standard_testfile.
2613 * gdb.dwarf2/dw4-sig-types.exp: Use standard_testfile.
2614 * gdb.dwarf2/dw2-objfile-overlap.exp: Use standard_testfile.
2615 * gdb.dwarf2/callframecfa.exp: Use standard_testfile,
2616 prepare_for_testing.
2617 * gdb.dwarf2/dup-psym.exp: Use standard_testfile.
2618 * gdb.dwarf2/dw2-ada-ffffffff.exp: Use standard_testfile.
2619 * gdb.dwarf2/dw2-anonymous-func.exp: Use standard_testfile.
2620 * gdb.dwarf2/dw2-bad-parameter-type.exp: Use standard_testfile.
2621 * gdb.dwarf2/dw2-basic.exp: Use standard_testfile.
2622 * gdb.dwarf2/dw2-compressed.exp: Use standard_testfile.
2623 * gdb.dwarf2/dw2-const.exp: Use standard_testfile.
2624 * gdb.dwarf2/dw2-cu-size.exp: Use standard_testfile.
2625 * gdb.dwarf2/dw2-double-set-die-type.exp: Use standard_testfile.
2626 * gdb.dwarf2/dw2-empty-namespace.exp: Use standard_testfile.
2627 * gdb.dwarf2/dw2-empty-pc-range.exp: Use standard_testfile.
2628 * gdb.dwarf2/dw2-filename.exp: Use standard_testfile.
2629 * gdb.dwarf2/dw2-icc-opaque.exp: Use standard_testfile.
2630 * gdb.dwarf2/dw2-inheritance.exp: Use standard_testfile.
2631 * gdb.dwarf2/dw2-intercu.exp: Use standard_testfile.
2632 * gdb.dwarf2/dw2-intermix.exp: Use standard_testfile.
2633 * gdb.dwarf2/dw2-linkage-name-trust.exp: Use standard_testfile.
2634 * gdb.dwarf2/dw2-modula2-self-type.exp: Use standard_testfile.
2635 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: Use standard_testfile.
2636 * gdb.dwarf2/dw2-op-stack-value.exp: Use standard_testfile.
2637 * gdb.dwarf2/dw2-producer.exp: Use standard_testfile.
2638 * gdb.dwarf2/dw2-ranges.exp: Use standard_testfile,
2639 standard_output_file.
2640 * gdb.dwarf2/dw2-ref-missing-frame.exp: Use standard_testfile,
2641 standard_output_file.
2642 * gdb.dwarf2/dw2-restore.exp: Use standard_testfile.
2643 * gdb.dwarf2/dw2-simple-locdesc.exp: Use standard_testfile.
2644 * gdb.dwarf2/dw2-skip-prologue.exp: Use standard_testfile.
2645 * gdb.dwarf2/dw2-stack-boundary.exp: Use standard_testfile.
2646 * gdb.dwarf2/dw2-strp.exp: Use standard_testfile.
2647 * gdb.dwarf2/dw4-sig-type-unused.exp: Use standard_testfile.
2648 * gdb.dwarf2/implptr-64bit.exp: Use standard_testfile.
2649 * gdb.dwarf2/implptr-optimized-out.exp: Use standard_testfile.
2650 * gdb.dwarf2/implptr.exp: Use standard_testfile.
2651 * gdb.dwarf2/mac-fileno.exp: Use standard_testfile.
2652 * gdb.dwarf2/member-ptr-forwardref.exp: Use standard_testfile.
2653 * gdb.dwarf2/pieces.exp: Use standard_testfile.
2654 * gdb.dwarf2/pr11465.exp: Use standard_testfile.
2655 * gdb.dwarf2/pr13961.exp: Use standard_testfile.
2656 * gdb.dwarf2/valop.exp: Use standard_testfile,
2657 prepare_for_testing.
2658
2659 2012-06-27 Tom Tromey <tromey@redhat.com>
2660
2661 * gdb.python/python.exp: Fix regexps in pagination tests.
2662
2663 2012-06-26 Siva Chandra Reddy <sivachandra@google.com>
2664
2665 * gdb.python/py-symtab.exp: Add tests to test the new attribute
2666 'last' of gdb.Symtab_and_line.
2667 * gdb.python/py-symbol.c: Move break point comment to enable
2668 testing of gdb.Symtab_and_line.last.
2669
2670 2012-06-26 Tom Tromey <tromey@redhat.com>
2671
2672 * gdb.threads/step.c: Remove.
2673 * gdb.threads/step.exp: Remove.
2674 * gdb.threads/step2.exp: Remove.
2675
2676 2012-06-26 Tom Tromey <tromey@redhat.com>
2677
2678 * gdb.threads/watchpoint-fork.exp (test): Use
2679 standard_output_file. Don't declare objdir.
2680 * gdb.threads/attach-into-signal.exp: Use standard_testfile,
2681 standard_output_file.
2682 * gdb.threads/attach-stopped.exp: Use standard_testfile.
2683 * gdb.threads/bp_in_thread.exp: Use standard_testfile,
2684 clean_restart. Remove incdir.
2685 * gdb.threads/corethreads.exp: Use standard_testfile.
2686 * gdb.threads/execl.exp: Use standard_testfile,
2687 standard_output_file, clean_restart.
2688 * gdb.threads/fork-child-threads.exp: Use standard_testfile,
2689 clean_restart.
2690 * gdb.threads/fork-thread-pending.exp: Use standard_testfile,
2691 clean_restart.
2692 * gdb.threads/gcore-thread.exp: Use standard_testfile. Remove
2693 incdir.
2694 * gdb.threads/hand-call-in-threads.exp: Use standard_testfile,
2695 clean_restart. Remove incdir.
2696 * gdb.threads/ia64-sigill.exp: Use standard_testfile.
2697 * gdb.threads/interrupted-hand-call.exp: Use standard_testfile,
2698 clean_restart. Remove incdir.
2699 * gdb.threads/killed.exp: Use standard_testfile, clean_restart.
2700 Remove incdir.
2701 * gdb.threads/leader-exit.exp: Use standard_testfile.
2702 * gdb.threads/linux-dp.exp: Use standard_testfile, clean_restart.
2703 * gdb.threads/local-watch-wrong-thread.exp: Use standard_testfile,
2704 clean_restart.
2705 * gdb.threads/manythreads.exp: Use standard_testfile,
2706 clean_restart. Remove incdir.
2707 * gdb.threads/multi-create.exp: Use standard_testfile,
2708 clean_restart.
2709 * gdb.threads/no-unwaited-for-left.exp: Use standard_testfile.
2710 * gdb.threads/non-ldr-exc-1.exp: Use standard_testfile.
2711 * gdb.threads/non-ldr-exc-2.exp: Use standard_testfile.
2712 * gdb.threads/non-ldr-exc-3.exp: Use standard_testfile.
2713 * gdb.threads/non-ldr-exc-4.exp: Use standard_testfile.
2714 * gdb.threads/pending-step.exp: Use standard_testfile,
2715 clean_restart. Remove incdir.
2716 * gdb.threads/print-threads.exp: Use standard_testfile,
2717 clean_restart. Remove incdir.
2718 * gdb.threads/pthread_cond_wait.exp: Use standard_testfile,
2719 clean_restart. Remove incdir.
2720 * gdb.threads/pthreads.exp: Use standard_testfile, clean_restart.
2721 Remove incdir.
2722 * gdb.threads/schedlock.exp: Use standard_testfile. Remove
2723 incdir.
2724 * gdb.threads/sigthread.exp: Use standard_testfile,
2725 clean_restart.
2726 * gdb.threads/staticthreads.exp: Use standard_testfile,
2727 clean_restart. Remove incdir.
2728 * gdb.threads/switch-threads.exp: Use standard_testfile,
2729 clean_restart. Remove incdir.
2730 * gdb.threads/thread-execl.exp: Use standard_testfile,
2731 clean_restart. Remove incdir.
2732 * gdb.threads/thread-find.exp: Use standard_testfile,
2733 clean_restart.
2734 * gdb.threads/thread-specific.exp: Use standard_testfile,
2735 clean_restart. Remove incdir.
2736 * gdb.threads/thread-unwindonsignal.exp: Use standard_testfile,
2737 clean_restart. Remove incdir.
2738 * gdb.threads/thread_check.exp: Use standard_testfile,
2739 clean_restart. Remove incdir.
2740 * gdb.threads/thread_events.exp: Use standard_testfile. Remove
2741 incdir.
2742 * gdb.threads/threadapply.exp: Use standard_testfile,
2743 clean_restart. Remove incdir.
2744 * gdb.threads/threxit-hop-specific.exp: Use standard_testfile,
2745 clean_restart. Remove incdir.
2746 * gdb.threads/tls-nodebug.exp: Use standard_testfile,
2747 clean_restart.
2748 * gdb.threads/tls-shared.exp: Use standard_testfile,
2749 clean_restart, standard_output_file.
2750 * gdb.threads/tls-var.exp: Use standard_testfile,
2751 standard_output_file.
2752 * gdb.threads/tls.exp: Use standard_testfile, clean_restart.
2753 Remove incdir.
2754 * gdb.threads/watchthreads-reorder.exp: Use standard_testfile.
2755 * gdb.threads/watchthreads.exp: Use standard_testfile. Remove
2756 incdir.
2757 * gdb.threads/watchthreads2.exp: Use standard_testfile,
2758 clean_restart. Remove incdir.
2759
2760 2012-06-26 Tom Tromey <tromey@redhat.com>
2761
2762 * gdb.trace/actions.exp: Use standard_testfile.
2763 * gdb.trace/ax.exp: Use standard_testfile.
2764 * gdb.trace/backtrace.exp: Use standard_testfile.
2765 * gdb.trace/change-loc.exp: Use standard_testfile.
2766 * gdb.trace/circ.exp: Use standard_testfile, prepare_for_testing.
2767 * gdb.trace/collection.exp: Use standard_testfile,
2768 prepare_for_testing.
2769 * gdb.trace/deltrace.exp: Use standard_testfile.
2770 * gdb.trace/disconnected-tracing.exp: Use standard_testfile.
2771 * gdb.trace/ftrace.exp: Use standard_testfile.
2772 * gdb.trace/infotrace.exp: Use standard_testfile.
2773 * gdb.trace/packetlen.exp: Use standard_testfile.
2774 * gdb.trace/passc-dyn.exp: Use standard_testfile.
2775 * gdb.trace/passcount.exp: Use standard_testfile.
2776 * gdb.trace/pending.exp: Use standard_testfile.
2777 * gdb.trace/report.exp: Use standard_testfile.
2778 * gdb.trace/save-trace.exp: Use standard_testfile.
2779 * gdb.trace/stap-trace.exp: Use standard_testfile.
2780 * gdb.trace/status-stop.exp: Use standard_testfile.
2781 * gdb.trace/strace.exp: Use standard_testfile.
2782 * gdb.trace/tfile.exp: Use standard_testfile.
2783 * gdb.trace/tfind.exp: Use standard_testfile.
2784 * gdb.trace/trace-break.exp: Use standard_testfile.
2785 * gdb.trace/trace-mt.exp: Use standard_testfile.
2786 * gdb.trace/tracecmd.exp: Use standard_testfile.
2787 * gdb.trace/tspeed.exp: Use standard_testfile.
2788 * gdb.trace/tstatus.exp: Use standard_testfile.
2789 * gdb.trace/tsv.exp: Use standard_testfile.
2790 * gdb.trace/unavailable.exp: Use standard_testfile,
2791 prepare_for_testing.
2792 * gdb.trace/while-dyn.exp: Use standard_testfile.
2793 * gdb.trace/while-stepping.exp: Use standard_testfile.
2794
2795 2012-06-26 Tom Tromey <tromey@redhat.com>
2796
2797 * gdb.reverse/break-precsave.exp: Use standard_testfile.
2798 * gdb.reverse/break-reverse.exp: Use standard_testfile.
2799 * gdb.reverse/consecutive-precsave.exp: Use standard_testfile.
2800 * gdb.reverse/consecutive-reverse.exp: Use standard_testfile.
2801 * gdb.reverse/finish-precsave.exp: Use standard_testfile.
2802 * gdb.reverse/finish-reverse-bkpt.exp: Use standard_testfile.
2803 * gdb.reverse/finish-reverse.exp: Use standard_testfile.
2804 * gdb.reverse/i386-precsave.exp: Use standard_testfile,
2805 prepare_for_testing.
2806 * gdb.reverse/i386-reverse.exp: Use standard_testfile,
2807 prepare_for_testing.
2808 * gdb.reverse/i386-sse-reverse.exp: Use standard_testfile,
2809 prepare_for_testing.
2810 * gdb.reverse/i387-env-reverse.exp: Use standard_testfile,
2811 prepare_for_testing.
2812 * gdb.reverse/i387-stack-reverse.exp: Use standard_testfile,
2813 prepare_for_testing
2814 * gdb.reverse/machinestate-precsave.exp: Use standard_testfile.
2815 * gdb.reverse/machinestate.exp: Use standard_testfile.
2816 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Use standard_testfile.
2817 * gdb.reverse/sigall-precsave.exp: Use standard_testfile,
2818 build_executable.
2819 * gdb.reverse/sigall-reverse.exp: Use standard_testfile,
2820 build_executable.
2821 * gdb.reverse/solib-precsave.exp: Use standard_testfile,
2822 standard_output_file.
2823 * gdb.reverse/solib-reverse.exp: Use standard_testfile,
2824 standard_output_file.
2825 * gdb.reverse/step-precsave.exp: Use standard_testfile.
2826 * gdb.reverse/step-reverse.exp: Use standard_testfile.
2827 * gdb.reverse/until-precsave.exp: Use standard_testfile.
2828 * gdb.reverse/until-reverse.exp: Use standard_testfile.
2829 * gdb.reverse/watch-precsave.exp: Use standard_testfile.
2830 * gdb.reverse/watch-reverse.exp: Use standard_testfile.
2831
2832 2012-06-26 Tom Tromey <tromey@redhat.com>
2833
2834 * gdb.stabs/weird.exp: Remove directory-checking code. Use
2835 standard_output_file.
2836 * gdb.stabs/exclfwd.exp: Use standard_testfile,
2837 prepare_for_testing. Remove directory-checking code.
2838
2839 2012-06-25 Tom Tromey <tromey@redhat.com>
2840
2841 * gdb.multi/watchpoint-multi.exp: Use standard_testfile.
2842 * gdb.multi/bkpt-multi-exec.exp: Use standard_output_file. Use
2843 build_executable, not prepare_for_testing.
2844 * gdb.multi/base.exp: Use standard_output_file. Use
2845 build_executable, not prepare_for_testing.
2846
2847 2012-06-25 Tom Tromey <tromey@redhat.com>
2848
2849 * gdb.fortran/subarray.exp: Use standard_testfile,
2850 prepare_for_testing.
2851 * gdb.fortran/multi-dim.exp: Use standard_testfile.
2852 * gdb.fortran/module.exp: Use standard_testfile.
2853 * gdb.fortran/logical.exp: Use standard_testfile.
2854 * gdb.fortran/library-module.exp: Use standard_testfile,
2855 standard_output_file.
2856 * gdb.fortran/derived-type.exp: Use standard_testfile,
2857 prepare_for_testing.
2858 * gdb.fortran/complex.exp: Use standard_testfile,
2859 prepare_for_testing.
2860 * gdb.fortran/charset.exp: Use standard_testfile.
2861 * gdb.fortran/array-element.exp: Use standard_testfile,
2862 prepare_for_testing.
2863
2864 2012-06-25 Keith Seitz <keiths@redhat.com>
2865
2866 * gdb.mi/mi-break.exp (test_rbreak_creation_and_listing):
2867 Change rbreak-related tests to KFAIL and add bugzilla numbers.
2868
2869 2012-06-25 Tom Tromey <tromey@redhat.com>
2870
2871 * gdb.pascal/integers.exp: Use standard_testfile, clean_restart.
2872 * gdb.pascal/hello.exp: Use standard_testfile, clean_restart.
2873 * gdb.pascal/gdb11492.exp: Use standard_testfile, clean_restart.
2874 * gdb.pascal/floats.exp: Use standard_testfile, clean_restart.
2875
2876 2012-06-25 Tom Tromey <tromey@redhat.com>
2877
2878 * gdb.linespec/ls-errs.exp: Use standard_testfile.
2879 * gdb.linespec/ls-dollar.exp: Use standard_testfile.
2880 * gdb.linespec/linespec.exp: Use standard_testfile.
2881
2882 2012-06-25 Tom Tromey <tromey@redhat.com>
2883
2884 * gdb.modula2/unbounded-array.exp: Use standard_testfile,
2885 prepare_for_testing.
2886
2887 2012-06-25 Tom Tromey <tromey@redhat.com>
2888
2889 * gdb.opt/clobbered-registers-O2.exp: Use standard_testfile,
2890 prepare_for_testing.
2891 * gdb.opt/inline-break.exp: Use standard_testfile,
2892 prepare_for_testing.
2893 * gdb.opt/inline-bt.exp: Use standard_testfile,
2894 prepare_for_testing.
2895 * gdb.opt/inline-cmds.exp: Use standard_testfile,
2896 prepare_for_testing.
2897 * gdb.opt/inline-locals.exp: Use standard_testfile,
2898 prepare_for_testing.
2899
2900 2012-06-25 Tom Tromey <tromey@redhat.com>
2901
2902 * gdb.asm/asm-source.exp: Use standard_output_file,
2903 standard_testfile. Construct .o files in proper subdir.
2904
2905 2012-06-25 Tom Tromey <tromey@redhat.com>
2906
2907 * gdb.server/ext-attach.exp: Use standard_testfile,
2908 prepare_for_testing.
2909 * gdb.server/ext-run.exp: Use standard_testfile,
2910 build_executable.
2911 * gdb.server/file-transfer.exp: Use standard_testfile,
2912 prepare_for_testing.
2913 * gdb.server/server-exec-info.exp: Use standard_testfile.
2914 * gdb.server/server-mon.exp: Use standard_testfile,
2915 prepare_for_testing.
2916 * gdb.server/server-run.exp: Use standard_testfile,
2917 build_executable.
2918 * gdb.server/solib-list.exp: Use standard_testfile,
2919 standard_output_file.
2920
2921 2012-06-25 Tom Tromey <tromey@redhat.com>
2922
2923 * lib/gdb.exp (standard_output_file): Use "file join".
2924 * gdb.go/chan.exp: Use standard_testfile.
2925 * gdb.go/handcall.exp: Use standard_testfile.
2926 * gdb.go/hello.exp: Use standard_testfile.
2927 * gdb.integers/chan.exp: Use standard_testfile.
2928 * gdb.go/methods.exp: Use standard_testfile.
2929 * gdb.go/package.exp: Use standard_testfile.
2930 * gdb.go/strings.exp: Use standard_testfile.
2931 * gdb.go/types.exp: Use standard_testfile.
2932 * gdb.go/unsafe.exp: Use standard_testfile.
2933
2934 2012-06-25 Greta Yorsh <greta.yorsh@arm.com>
2935
2936 * gdb.arch/arm-disp-step.S: Fix use of .global directives.
2937
2938 2012-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
2939
2940 Fix regression by the previous commit.
2941 * gdb.python/lib-types.exp: Add c++ to the compilation flags.
2942
2943 2012-06-22 Tom Tromey <tromey@redhat.com>
2944
2945 * gdb.python/lib-types.exp: Use standard_testfile,
2946 prepare_for_testing.
2947 * gdb.python/py-block.exp: Use standard_testfile.
2948 * gdb.python/py-breakpoint.exp: Use standard_testfile.
2949 * gdb.python/py-events.exp: Use standard_testfile,
2950 standard_output_file.
2951 * gdb.python/py-evsignal.exp: Use standard_testfile.
2952 * gdb.python/py-evethreads.exp: Use standard_testfile.
2953 * gdb.python/py-explore-cc.exp: Use standard_testfile.
2954 * gdb.python/py-explore.exp: Use standard_testfile.
2955 * gdb.python/py-finish-breakpoint.exp: Use standard_testfile,
2956 standard_output_file.
2957 * gdb.python/py-finish-breakpoint2.exp: Use standard_testfile,
2958 prepare_for_testing.
2959 * gdb.python/py-frame-inline.exp: Use standard_testfile.
2960 * gdb.python/py-frame.exp: Use standard_testfile.
2961 * gdb.python/py-inferior.exp: Use standard_testfile.
2962 * gdb.python/py-infthread.exp: Use standard_testfile.
2963 * gdb.python/py-mi.exp: Use standard_testfile.
2964 * gdb.python/py-objfile-script.exp: Use standard_testfile,
2965 build_executable.
2966 * gdb.python/py-objfile.exp: Use standard_testfile.
2967 * gdb.python/py-pp-maint.exp: Use standard_testfile,
2968 prepare_for_testing.
2969 * gdb.python/py-prettyprint.exp: Use standard_testfile.
2970 * gdb.python/py-progspace.exp: Use standard_testfile,
2971 build_executable.
2972 * gdb.python/py-prompt.exp: Use standard_testfile,
2973 build_executable.
2974 * gdb.python/py-section-script.exp: Use standard_testfile,
2975 build_executable.
2976 * gdb.python/py-shared.exp: Use standard_testfile,
2977 standard_output_file, clean_restart.
2978 * gdb.python/py-symbol.exp: Use standard_output_file,
2979 prepare_for_testing.
2980 * gdb.python/py-symtab.exp: Use standard_output_file,
2981 prepare_for_testing
2982 * gdb.python/py-template.exp: Use standard_testfile.
2983 * gdb.python/py-type.exp: Use standard_testfile.
2984 * gdb.python/py-value-cc.exp: Use standard_testfile.
2985 * gdb.python/py-value.exp: Use standard_testfile.
2986 * gdb.python/python.exp: Use standard_testfile, build_executable.
2987
2988 2012-06-22 Tom Tromey <tromey@redhat.com>
2989
2990 * gdb.objc/basicclass.exp: Use standard_testfile.
2991 (do_objc_tests): Don't declare objdir.
2992 * gdb.objc/nondebug.exp: Use standard_testfile.
2993 (do_objc_tests): Don't declare objdir.
2994 * gdb.objc/objcdecode.exp: Use standard_testfile.
2995 (do_objc_tests): Don't declare objdir.
2996
2997 2012-06-22 Tom Tromey <tromey@redhat.com>
2998
2999 * gdb.java/jmain.exp: Use standard_testfile.
3000 * gdb.java/jmisc.exp: Use standard_testfile.
3001 * gdb.java/jnpe.exp: Use standard_testfile.
3002 * gdb.java/jprint.exp: Use standard_testfile.
3003
3004 2012-06-22 Tom Tromey <tromey@redhat.com>
3005
3006 * lib/gdb.exp (default_gdb_init): Set gdb_test_file_name.
3007 (standard_output_file, standard_testfile): New procs.
3008 (build_executable, clean_restart): Use standard_output_file.
3009
3010 2012-06-22 Yao Qi <yao@codesourcery.com>
3011
3012 * boards/native-gdbserver.exp: New proc ${board}_exec.
3013 * boards/native-stdio-gdbserver.exp: Likewise.
3014
3015 2012-06-21 Tom Tromey <tromey@redhat.com>
3016
3017 * lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
3018 (build_executable): Update.
3019 (get_compiler_info): Remove 'binfile' argument.
3020 * gdb.ada/arrayidx.exp: Update.
3021 * gdb.ada/null_array.exp: Update.
3022 * gdb.arch/altivec-abi.exp: Update.
3023 * gdb.arch/altivec-regs.exp: Update.
3024 * gdb.arch/amd64-byte.exp: Update.
3025 * gdb.arch/amd64-dword.exp: Update.
3026 * gdb.arch/amd64-word.exp: Update.
3027 * gdb.arch/i386-avx.exp: Update.
3028 * gdb.arch/i386-byte.exp: Update.
3029 * gdb.arch/i386-sse.exp: Update.
3030 * gdb.arch/i386-word.exp: Update.
3031 * gdb.arch/ppc-dfp.exp: Update.
3032 * gdb.arch/ppc-fp.exp: Update.
3033 * gdb.arch/vsx-regs.exp: Update.
3034 * gdb.base/all-bin.exp: Update.
3035 * gdb.base/annota1.exp: Update.
3036 * gdb.base/async.exp: Update.
3037 * gdb.base/attach.exp: Update.
3038 * gdb.base/break-interp.exp: Update.
3039 * gdb.base/call-ar-st.exp: Update.
3040 * gdb.base/call-rt-st.exp: Update.
3041 * gdb.base/call-sc.exp: Update.
3042 * gdb.base/callfuncs.exp: Update.
3043 * gdb.base/catch-load.exp: Update.
3044 * gdb.base/completion.exp: Update.
3045 * gdb.base/complex.exp: Update.
3046 * gdb.base/condbreak.exp: Update.
3047 * gdb.base/consecutive.exp: Update.
3048 * gdb.base/constvars.exp: Update.
3049 * gdb.base/corefile.exp: Update.
3050 * gdb.base/eval-skip.exp: Update.
3051 * gdb.base/expand-psymtabs.exp: Update.
3052 * gdb.base/exprs.exp: Update.
3053 * gdb.base/fileio.exp: Update.
3054 * gdb.base/fixsection.exp: Update.
3055 * gdb.base/funcargs.exp: Update.
3056 * gdb.base/gdb11530.exp: Update.
3057 * gdb.base/gdb1555.exp: Update.
3058 * gdb.base/gnu-ifunc.exp: Update.
3059 * gdb.base/gnu_vector.exp: Update.
3060 * gdb.base/info-macros.exp: Update.
3061 * gdb.base/jit-simple.exp: Update.
3062 * gdb.base/jit-so.exp: Update.
3063 * gdb.base/jit.exp: Update.
3064 * gdb.base/langs.exp: Update.
3065 * gdb.base/list.exp: Update.
3066 * gdb.base/logical.exp: Update.
3067 * gdb.base/long_long.exp: Update.
3068 * gdb.base/longjmp.exp: Update.
3069 * gdb.base/macscp.exp: Update.
3070 * gdb.base/mips_pro.exp: Update.
3071 * gdb.base/miscexprs.exp: Update.
3072 * gdb.base/morestack.exp: Update.
3073 * gdb.base/nodebug.exp: Update.
3074 * gdb.base/opaque.exp: Update.
3075 * gdb.base/pc-fp.exp: Update.
3076 * gdb.base/pending.exp: Update.
3077 * gdb.base/permissions.exp: Update.
3078 * gdb.base/pointers.exp: Update.
3079 * gdb.base/prelink.exp: Update.
3080 * gdb.base/printcmds.exp: Update.
3081 * gdb.base/psymtab.exp: Update.
3082 * gdb.base/ptype.exp: Update.
3083 * gdb.base/relational.exp: Update.
3084 * gdb.base/scope.exp: Update.
3085 * gdb.base/setvar.exp: Update.
3086 * gdb.base/shlib-call.exp: Update.
3087 * gdb.base/shreloc.exp: Update.
3088 * gdb.base/signals.exp: Update.
3089 * gdb.base/sizeof.exp: Update.
3090 * gdb.base/so-impl-ld.exp: Update.
3091 * gdb.base/so-indr-cl.exp: Update.
3092 * gdb.base/solib-disc.exp: Update.
3093 * gdb.base/solib-display.exp: Update.
3094 * gdb.base/solib-nodir.exp: Update.
3095 * gdb.base/solib-overlap.exp: Update.
3096 * gdb.base/solib-symbol.exp: Update.
3097 * gdb.base/solib-weak.exp: Update.
3098 * gdb.base/solib.exp: Update.
3099 * gdb.base/store.exp: Update.
3100 * gdb.base/structs.exp: Update.
3101 * gdb.base/structs2.exp: Update.
3102 * gdb.base/type-opaque.exp: Update.
3103 * gdb.base/unload.exp: Update.
3104 * gdb.base/varargs.exp: Update.
3105 * gdb.base/volatile.exp: Update.
3106 * gdb.base/watch_thread_num.exp: Update.
3107 * gdb.base/watchpoint-solib.exp: Update.
3108 * gdb.base/watchpoint.exp: Update.
3109 * gdb.base/watchpoints.exp: Update.
3110 * gdb.base/whatis.exp: Update.
3111 * gdb.cell/arch.exp: Update.
3112 * gdb.cell/break.exp: Update.
3113 * gdb.cell/bt.exp: Update.
3114 * gdb.cell/core.exp: Update.
3115 * gdb.cell/data.exp: Update.
3116 * gdb.cell/ea-cache.exp: Update.
3117 * gdb.cell/f-regs.exp: Update.
3118 * gdb.cell/fork.exp: Update.
3119 * gdb.cell/gcore.exp: Update.
3120 * gdb.cell/mem-access.exp: Update.
3121 * gdb.cell/ptype.exp: Update.
3122 * gdb.cell/registers.exp: Update.
3123 * gdb.cell/sizeof.exp: Update.
3124 * gdb.cell/solib-symbol.exp: Update.
3125 * gdb.cell/solib.exp: Update.
3126 * gdb.cp/ambiguous.exp: Update.
3127 * gdb.cp/breakpoint.exp: Update.
3128 * gdb.cp/bs15503.exp: Update.
3129 * gdb.cp/casts.exp: Update.
3130 * gdb.cp/class2.exp: Update.
3131 * gdb.cp/cpexprs.exp: Update.
3132 * gdb.cp/cplusfuncs.exp: Update.
3133 * gdb.cp/ctti.exp: Update.
3134 * gdb.cp/dispcxx.exp: Update.
3135 * gdb.cp/gdb1355.exp: Update.
3136 * gdb.cp/gdb2384.exp: Update.
3137 * gdb.cp/gdb2495.exp: Update.
3138 * gdb.cp/infcall-dlopen.exp: Update.
3139 * gdb.cp/local.exp: Update.
3140 * gdb.cp/m-data.exp: Update.
3141 * gdb.cp/m-static.exp: Update.
3142 * gdb.cp/mb-ctor.exp: Update.
3143 * gdb.cp/mb-inline.exp: Update.
3144 * gdb.cp/mb-templates.exp: Update.
3145 * gdb.cp/member-ptr.exp: Update.
3146 * gdb.cp/method.exp: Update.
3147 * gdb.cp/namespace.exp: Update.
3148 * gdb.cp/nextoverthrow.exp: Update.
3149 * gdb.cp/nsdecl.exp: Update.
3150 * gdb.cp/nsrecurs.exp: Update.
3151 * gdb.cp/nsstress.exp: Update.
3152 * gdb.cp/nsusing.exp: Update.
3153 * gdb.cp/pr-1023.exp: Update.
3154 * gdb.cp/pr-1210.exp: Update.
3155 * gdb.cp/pr-574.exp: Update.
3156 * gdb.cp/pr9631.exp: Update.
3157 * gdb.cp/printmethod.exp: Update.
3158 * gdb.cp/psmang.exp: Update.
3159 * gdb.cp/re-set-overloaded.exp: Update.
3160 * gdb.cp/rtti.exp: Update.
3161 * gdb.cp/shadow.exp: Update.
3162 * gdb.cp/templates.exp: Update.
3163 * gdb.cp/try_catch.exp: Update.
3164 * gdb.dwarf2/dw2-ranges.exp: Update.
3165 * gdb.dwarf2/pr10770.exp: Update.
3166 * gdb.fortran/library-module.exp: Update.
3167 * gdb.hp/gdb.aCC/optimize.exp: Update.
3168 * gdb.hp/gdb.aCC/watch-cmd.exp: Update.
3169 * gdb.hp/gdb.base-hp/callfwmall.exp: Update.
3170 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Update.
3171 * gdb.hp/gdb.base-hp/pxdb.exp: Update.
3172 * gdb.hp/gdb.base-hp/sized-enum.exp: Update.
3173 * gdb.hp/gdb.base-hp/so-thresh.exp: Update.
3174 * gdb.hp/gdb.compat/xdb1.exp: Update.
3175 * gdb.hp/gdb.compat/xdb2.exp: Update.
3176 * gdb.hp/gdb.compat/xdb3.exp: Update.
3177 * gdb.hp/gdb.defects/bs14602.exp: Update.
3178 * gdb.hp/gdb.defects/solib-d.exp: Update.
3179 * gdb.hp/gdb.objdbg/objdbg01.exp: Update.
3180 * gdb.hp/gdb.objdbg/objdbg02.exp: Update.
3181 * gdb.hp/gdb.objdbg/objdbg03.exp: Update.
3182 * gdb.hp/gdb.objdbg/objdbg04.exp: Update.
3183 * gdb.mi/gdb792.exp: Update.
3184 * gdb.mi/mi-pending.exp: Update.
3185 * gdb.mi/mi-solib.exp: Update.
3186 * gdb.mi/mi-var-cp.exp: Update.
3187 * gdb.opt/clobbered-registers-O2.exp: Update.
3188 * gdb.opt/inline-bt.exp: Update.
3189 * gdb.opt/inline-cmds.exp: Update.
3190 * gdb.opt/inline-locals.exp: Update.
3191 * gdb.python/py-events.exp: Update.
3192 * gdb.python/py-finish-breakpoint.exp: Update.
3193 * gdb.python/py-type.exp: Update.
3194 * gdb.reverse/solib-precsave.exp: Update.
3195 * gdb.reverse/solib-reverse.exp: Update.
3196 * gdb.server/solib-list.exp: Update.
3197 * gdb.stabs/weird.exp: Update.
3198 * gdb.threads/attach-into-signal.exp: Update.
3199 * gdb.threads/attach-stopped.exp: Update.
3200 * gdb.threads/tls-shared.exp: Update.
3201 * gdb.trace/change-loc.exp: Update.
3202 * gdb.trace/strace.exp: Update.
3203
3204 2012-06-19 Tom Tromey <tromey@redhat.com>
3205
3206 * gdb.base/whatis.exp: Add tests.
3207
3208 2012-06-19 Tom Tromey <tromey@redhat.com>
3209
3210 * gdb.cp/m-static.cc (keepalive): New function.
3211 (gnu_obj_1::method): Use it.
3212
3213 2012-06-18 Doug Evans <dje@google.com>
3214
3215 * gdb.base/info-fun.exp: New file.
3216 * gdb.base/info-fun.c: New file.
3217 * gdb.base/info-fun-solib.c: New file.
3218
3219 2012-06-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3220
3221 Remove stale dummy frames.
3222 * gdb.base/call-signal-resume.exp (maintenance print dummy-frames)
3223 (maintenance info breakpoints): New tests.
3224 * gdb.base/stale-infcall.c: New file.
3225 * gdb.base/stale-infcall.exp: New file.
3226
3227 2012-06-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3228
3229 * gdb.arch/amd64-entry-value-param.S: New file.
3230 * gdb.arch/amd64-entry-value-param.c: New file.
3231 * gdb.arch/amd64-entry-value-param.exp: New file.
3232
3233 2012-06-15 Tom Tromey <tromey@redhat.com>
3234
3235 * gdb.cp/namespace.exp: Add "show lang" test.
3236
3237 2012-06-15 Iain Sandoe <iain@codesourcery.com>
3238
3239 * gdb.base/list.exp (test_listsize): Remove $use_gdb_stub special
3240 case. (top level): Use gdb_file_cmd instead of gdb_load.
3241
3242 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3243
3244 PR tdep/14222
3245 * gdb.arch/i386-sse-stack-align.S: New file.
3246 * gdb.arch/i386-sse-stack-align.c: New file.
3247 * gdb.arch/i386-sse-stack-align.exp: New file.
3248
3249 2012-06-13 Keith Seitz <keiths@redhat.com>
3250
3251 PR breakpoints/13798 and mi/11541
3252 * gdb.linespec/ls-errs.exp: Add a few more tests for
3253 filenames with spaces and colons.
3254
3255 2012-06-13 Jan Kratochvil <jan.kratochvil@redhat.com>
3256
3257 PR c++/14177 - Fix parsing TYPENAME:: in parentheses.
3258 * gdb.cp/cpexprs.cc (class CV, CV::i, ATTRIBUTE_USED, CV_f): New.
3259 (test_function): Call CV_f.
3260 * gdb.cp/cpexprs.exp (p 'CV::m(int)', p CV::m(int))
3261 (p 'CV::m(int) const', p CV::m(int) const, p 'CV::m(int) volatile')
3262 (p CV::m(int) volatile, p 'CV::m(int) const volatile')
3263 (p CV::m(int) const volatile, p CV_f(int), p CV_f(CV::t))
3264 (p CV_f(CV::i)): New tests.
3265
3266 2012-06-13 Tom Tromey <tromey@redhat.com>
3267
3268 * gdb.base/condbreak.exp: Add tests for "condition" completion.
3269
3270 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3271
3272 Fix regression by the "ambiguous linespec" series.
3273 * gdb.base/break.exp (list marker1, break lineno, delete $bpnum): New
3274 tests.
3275
3276 2012-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3277
3278 * lib/future.exp: Set $use_gdb_compile even if only find_go_linker is
3279 missing.
3280
3281 2012-06-11 Tom Tromey <tromey@redhat.com>
3282
3283 * gdb.base/longjmp.c (hidden_longjmp): Move expected catch
3284 location...
3285 (main): ...here.
3286
3287 2012-06-07 Yao Qi <yao@codesourcery.com>
3288
3289 * gdb.trace/strace.exp: Shorten some too-long lines.
3290
3291 2012-06-06 Pedro Alves <palves@redhat.com>
3292
3293 * gdb.threads/clone-new-thread-event.c: New file.
3294 * gdb.threads/clone-new-thread-event.exp: New file.
3295
3296 2012-06-06 Yao Qi <yao@codesourcery.com>
3297
3298 * gdb.base/dprintf.c (main): Add extra parameter when calling
3299 printf and fprintf.
3300 (bar): New function. It is a dead function, but to ensure
3301 'malloc' is linked explicitly.
3302
3303 2012-06-06 Yao Qi <yao@codesourcery.com>
3304
3305 * gdb.base/info-proc.exp: Return if target doesn't support
3306 'info proc'.
3307
3308 2012-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
3309
3310 * gdb.base/freebpcmd.exp (set lines): Check valid range of I.
3311 (run program with breakpoint commands): XFAIl if it is not.
3312
3313 2012-06-05 Joel Brobecker <brobecker@adacore.com>
3314
3315 * gdb.base/ctxobj-f.c (GET_VERSION): Introduce local variable
3316 and add comment.
3317 * gdb.base/ctxobj-m.c (main): Rewrite, and add comment.
3318 * gdb.base/ctxobj.exp: Insert breakpoint in ctxobj-f.c using
3319 "STOP" marker. Adjust testing strategy to make it work on
3320 all targets.
3321
3322 * gdb.base/print-file-var-main.c (main): Rewrite using local
3323 variables and adjust get_version_2's return value check.
3324 Add small comment.
3325 * gdb.base/print-file-var.exp: Insert breakpoint using "STOP"
3326 marker. Adjust testing strategy to make it work on all targets.
3327
3328 2012-06-05 Joel Brobecker <brobecker@adacore.com>
3329
3330 * gdb.ada/bad-task-bp-keyword: New testcase.
3331
3332 2012-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3333
3334 * gdb.base/code_elim.exp (add-symbol-file ${testfile1} 0x100000):
3335 Simplify it to ...
3336 (symbol-file ${testfile1}): ... here.
3337 (test eliminated var my_global_symbol)
3338 (test eliminated var my_static_symbol)
3339 (test eliminated var my_global_func, get address of main): Wrap them to
3340 'single psymtabs' and 'single symtabs'
3341 (get address of my_global_symbol, get address of my_static_symbol)
3342 (get address of my_global_func, get address of main): Wrap them to
3343 'order1' and 'order2'.
3344
3345 * gdb.base/code_elim.exp
3346 (add-symbol-file ${testfile1} 0x100000)
3347 (add-symbol-file ${testfile2} 0x200000): Wrap them to 'order1' and
3348 'order2'.
3349 (order1: add-symbol-file ${testfile1} 0x100000)
3350 (order1: add-symbol-file ${testfile2} 0x200000)
3351 (order2: add-symbol-file ${testfile2} 0x200000)
3352 (order2: add-symbol-file ${testfile1} 0x100000): Add -s .data and -s
3353 .bss as appropriate.
3354
3355 2012-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3356
3357 * gdb.server/solib-list-lib.c: New file.
3358 * gdb.server/solib-list-main.c: New file.
3359 * gdb.server/solib-list.exp: New file.
3360
3361 2012-05-25 Maciej W. Rozycki <macro@codesourcery.com>
3362
3363 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Update
3364 for 'set print symbol' change.
3365
3366 2012-05-24 Jan Kratochvil <jan.kratochvil@redhat.com>
3367
3368 * gdb.dwarf2/dw2-icc-opaque.S: Add debug_info_seg3 and
3369 .debug_abbrev_seg3.
3370
3371 2012-05-24 John Steele Scott <toojays@toojays.net>
3372
3373 PR symtab/13277: Resolving opaque structures in ICC generated binaries.
3374 * gdb.dwarf2/dw2-icc-opaque.S: New file.
3375 * gdb.dwarf2/dw2-icc-opaque.exp: New file.
3376
3377 2012-05-23 Stan Shebs <stan@codesourcery.com>
3378
3379 * gdb.mi/mi-info-os.exp: New file.
3380
3381 2012-05-23 Keith Seitz <keiths@redhat.com>
3382
3383 * gdb.trace/stap-trace.exp: If compile_stap_bin fails,
3384 return -1 to suppress the rest of the tests.
3385 (compile_stap_bin): Return boolean success value.
3386
3387 2012-05-21 Tom Tromey <tromey@redhat.com>
3388
3389 * gdb.cp/inherit.exp (test_print_mi_members): Expect errors.
3390 Remove kfails.
3391 (test_print_mi_member_types): Likewise.
3392
3393 2012-05-21 Tom Tromey <tromey@redhat.com>
3394
3395 * gdb.base/callfuncs.exp (do_function_calls): Update for 'set
3396 print symbol' change.
3397
3398 2012-05-18 Thiago Jung Bauermann <thiago.bauermann@linaro.org>
3399
3400 * gdb.python/py-prompt.exp: Quit if the target is remote.
3401
3402 2012-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
3403
3404 Fix ERROR: internal buffer is full.
3405 * gdb.base/info-os.exp (expect_multiline): New function.
3406 (get process list, get process groups, get threads)
3407 (get file descriptors, get internet-domain sockets)
3408 (get shared-memory regions, get semaphores, get message queues): Use
3409 it for these tests.
3410
3411 2012-05-18 Tom Tromey <tromey@redhat.com>
3412
3413 * gdb.mi/mi-var-cmd.exp: Update.
3414 * gdb.objc/basicclass.exp (do_objc_tests): Update.
3415 * gdb.cp/virtbase.exp: Update.
3416 * gdb.cp/classes.exp (test_static_members): Update.
3417 * gdb.cp/casts.exp: Update.
3418 * gdb.base/pointers.exp: Update.
3419 * gdb.base/funcargs.exp (pointer_args): Update.
3420 (structs_by_reference): Update.
3421 * gdb.base/find.exp: Update.
3422 * gdb.base/call-strs.exp: Send "set print symbol off".
3423 * gdb.base/call-ar-st.exp: Update.
3424 * gdb.ada/fun_addr.exp: Update.
3425 * gdb.base/printcmds.exp (test_print_symbol): New proc.
3426 Call it.
3427 (test_print_repeats_10, test_print_strings)
3428 (test_print_char_arrays): Update.
3429
3430 2012-05-18 Tom Tromey <tromey@redhat.com>
3431
3432 * gdb.base/charset.exp (string_display): Update.
3433
3434 2012-05-18 Tom Tromey <tromey@redhat.com>
3435
3436 * gdb.mi/mi2-var-display.exp: Update.
3437 * gdb.mi/mi-var-display.exp: Update.
3438 * gdb.mi/mi-var-child.exp: Update.
3439 * gdb.cp/expand-psymtabs-cxx.exp: Update.
3440 * gdb.cp/cp-relocate.exp (get_func_address): Update.
3441
3442 2012-05-17 Doug Evans <dje@google.com>
3443
3444 * info-macros.exp: Pass "debug" to prepare_for_testing.
3445
3446 * Makefile.in (clean): Remove Fission .dwo and .dwp files.
3447 * gdb.ada/Makefile.in (clean): Ditto.
3448 * gdb.arch/Makefile.in (clean): Ditto.
3449 * gdb.asm/Makefile.in (clean): Ditto.
3450 * gdb.base/Makefile.in (clean): Ditto.
3451 * gdb.cell/Makefile.in (clean): Ditto.
3452 * gdb.cp/Makefile.in (clean): Ditto.
3453 * gdb.disasm/Makefile.in (clean): Ditto.
3454 * gdb.dwarf2/Makefile.in (clean): Ditto.
3455 * gdb.fortran/Makefile.in (clean): Ditto.
3456 * gdb.go/Makefile.in (clean): Ditto.
3457 * gdb.hp/Makefile.in (clean): Ditto.
3458 * gdb.hp/gdb.aCC/Makefile.in (clean): Ditto.
3459 * gdb.hp/gdb.base-hp/Makefile.in (clean): Ditto.
3460 * gdb.hp/gdb.compat/Makefile.in (clean): Ditto.
3461 * gdb.hp/gdb.defects/Makefile.in (clean): Ditto.
3462 * gdb.hp/gdb.objdbg/Makefile.in (clean): Ditto.
3463 * gdb.java/Makefile.in (clean): Ditto.
3464 * gdb.linespec/Makefile.in (clean): Ditto.
3465 * gdb.mi/Makefile.in (clean): Ditto.
3466 * gdb.modula2/Makefile.in (clean): Ditto.
3467 * gdb.multi/Makefile.in (clean): Ditto.
3468 * gdb.objc/Makefile.in (clean): Ditto.
3469 * gdb.opencl/Makefile.in (clean): Ditto.
3470 * gdb.opt/Makefile.in (clean): Ditto.
3471 * gdb.pascal/Makefile.in (clean): Ditto.
3472 * gdb.python/Makefile.in (clean): Ditto.
3473 * gdb.reverse/Makefile.in (clean): Ditto.
3474 * gdb.server/Makefile.in (clean): Ditto.
3475 * gdb.stabs/Makefile.in (clean): Ditto.
3476 * gdb.threads/Makefile.in (clean): Ditto.
3477 * gdb.trace/Makefile.in (clean): Ditto.
3478 * gdb.xml/Makefile.in (clean): Ditto.
3479
3480 2012-05-16 Tom Tromey <tromey@redhat.com>
3481
3482 * gdb.base/macscp1.c (macscp_expr): Add comment.
3483 * gdb.base/macscp.exp: Test __FILE__ and __LINE__.
3484
3485 2012-05-16 Maciej W. Rozycki <macro@codesourcery.com>
3486
3487 * gdb.base/return-nodebug.exp: Also test float and double types.
3488
3489 2012-05-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3490
3491 PR testsuite/12649
3492 * gdb.base/dprintf.exp: Replace gdb_run_cmd by runto main.
3493
3494 * gdb.base/dprintf.exp: Remove now redundant breakpoint for main.
3495
3496 2012-05-14 Sergio Durigan Junior <sergiodj@redhat.com>
3497
3498 * gdb.base/stap-probe.exp (stap_test): Remove calls to
3499 `rerun_to_main'.
3500 (stap_test_no_debuginfo): Likewise.
3501
3502 2012-05-14 Stan Shebs <stan@codesourcery.com>
3503
3504 * gdb.base/dprintf.c: New file.
3505 * gdb.base/dprintf.exp: New file.
3506
3507 2012-05-14 Hui Zhu <hui_zhu@mentor.com>
3508
3509 * gdb.trace/Makefile.in (PROGS): Add disconnected-tracing.
3510 * gdb.trace/disconnected-tracing.c: New file.
3511 * gdb.trace/disconnected-tracing.exp: New file.
3512
3513 2012-05-13 Siva Chandra Reddy <sivachandra@google.com>
3514
3515 * gdb.python/python.c: Add a new breakpoint comment.
3516 * gdb.python/python.exp: Add tests to test gdb.find_pc_line.
3517
3518 2011-12-26 Kwok Cheung Yeung <kcy@codesourcery.com>
3519
3520 * gdb.base/info-os.exp: New file.
3521 * gdb.base/info-os.c: New file.
3522
3523 2012-05-10 Joel Brobecker <brobecker@adacore.com>
3524
3525 * gdb.base/print-file-var-lib1.c, gdb.base/print-file-var-lib2.c,
3526 gdb.base/print-file-var-main.c, gdb.base/print-file-var.exp:
3527 New files.
3528
3529 2012-05-10 Joel Brobecker <brobecker@adacore.com>
3530
3531 * gdb.base/ctxobj-f.c, gdb.base/ctxobj-m.c, gdb.base/ctxobj-v.c,
3532 gdb.base/ctxobj.exp: New files.
3533
3534 2012-05-09 Tom Tromey <tromey@redhat.com>
3535
3536 * gdb.trace/strace.exp: Add 'quiet' to compiler flags.
3537
3538 2012-05-09 Maciej W. Rozycki <macro@codesourcery.com>
3539
3540 * lib/gdb.exp (gdb_test_multiple): Correct formatting.
3541
3542 2012-05-08 Maciej W. Rozycki <macro@codesourcery.com>
3543
3544 * gdb.mi/mi-var-display.exp: Check for the existence of $fp
3545 before using it.
3546
3547 2012-05-04 Tristan Gingold <gingold@adacore.com>
3548
3549 * gdb.base/set-noassign.exp: New test.
3550
3551 2012-05-03 Siva Chandra Reddy <sivachandra@google.com>
3552
3553 * gdb.python/py-symbol.exp: Add tests to test the new methods
3554 gdb.Symtab.global_block() and gdb.Symtab.static_block().
3555 * gdb.python/py-symbol.c: Add new struct to help test
3556 gdb.Symtab.static_block().
3557
3558 2012-05-03 Doug Evans <dje@google.com>
3559
3560 * gdb.dwarf2/pr13961.S: Add file and source location, but leave
3561 commented out.
3562
3563 2012-05-03 Yao Qi <yao@codesourcery.com>
3564
3565 * gdb.base/catch-syscall.exp: Skip it before compilation if target
3566 doesn't support.
3567 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp: Likewise.
3568 * gdb.base/foll-vfork.exp, gdb.multi/bkpt-multi-exec.exp: Likewise.
3569
3570 2012-05-03 Yao Qi <yao@codesourcery.com>
3571
3572 * gdb.mi/mi-solib.exp: Setup kfail for gdb/13860.
3573
3574 2012-04-30 Doug Evans <dje@google.com>
3575
3576 PR testsuite/13961
3577 * gdb.dwarf2/pr13961.S: New file.
3578 * gdb.dwarf2/pr13961.exp: New file.
3579
3580 2012-04-29 Yao Qi <yao@codesourcery.com>
3581
3582 * gdb.dwarf2/dw2-ifort-parameter.exp: Use proc `dwarf2_support'.
3583
3584 2012-04-28 Doug Evans <dje@google.com>
3585
3586 * gdb.dwarf2/dw2-intercu.S (.Ltype_int2_in_cu2): Renamed from
3587 .Ltype_int_in_cu2. Use name "int2" instead of "int".
3588 All uses updated.
3589 * gdb.dwarf2/dw2-intercu.exp: Add "ptype int2" ahead of
3590 "ptype func_cu1" to expand cu2 before cu1.
3591
3592 2012-04-27 Sergio Durigan Junior <sergiodj@redhat.com>
3593 Tom Tromey <tromey@redhat.com>
3594
3595 * gdb.base/default.exp: Add `$_probe_arg*' convenience
3596 variables.
3597 * gdb.base/stap-probe.c: New file.
3598 * gdb.base/stap-probe.exp: New file.
3599 * gdb.trace/stap-trace.c: New file.
3600 * gdb.trace/stap-trace.exp: New file.
3601 * gdb.cp/nextoverthrow.exp: Add check for SystemTap probe in
3602 libgcc's unwinder.
3603
3604 2012-04-26 Maciej W. Rozycki <macro@codesourcery.com>
3605
3606 * gdb.arch/mips16-thunks-inmain.c: New file.
3607 * gdb.arch/mips16-thunks-main.c: New file.
3608 * gdb.arch/mips16-thunks-sin.c: New file.
3609 * gdb.arch/mips16-thunks-sinfrob.c: New file.
3610 * gdb.arch/mips16-thunks-sinfrob16.c: New file.
3611 * gdb.arch/mips16-thunks-sinmain.c: New file.
3612 * gdb.arch/mips16-thunks-sinmips16.c: New file.
3613 * gdb.arch/mips16-thunks.exp: New file.
3614
3615 2012-04-25 Doug Evans <dje@google.com>
3616
3617 * configure.ac: Create gdb.go/Makefile.
3618 * configure: Regenerate.
3619 * gdb.base/default.exp: Add "go" to "set language" testing.
3620 * gdb.go/Makefile.in: New file.
3621 * gdb.go/basic-types.exp: New file.
3622 * gdb.go/chan.exp: New file.
3623 * gdb.go/chan.go: New file.
3624 * gdb.go/handcall.exp: New file.
3625 * gdb.go/handcall.go: New file.
3626 * gdb.go/hello.exp: New file.
3627 * gdb.go/hello.go: New file.
3628 * gdb.go/integers.exp: New file.
3629 * gdb.go/integers.go: New file.
3630 * gdb.go/methods.exp: New file.
3631 * gdb.go/methods.go: New file.
3632 * gdb.go/package.exp: New file.
3633 * gdb.go/package1.go: New file.
3634 * gdb.go/package2.go: New file.
3635 * gdb.go/print.exp: New file.
3636 * gdb.go/strings.exp: New file.
3637 * gdb.go/strings.go: New file.
3638 * gdb.go/types.exp: New file.
3639 * gdb.go/types.go: New file.
3640 * gdb.go/unsafe.exp: New file.
3641 * gdb.go/unsafe.go: New file.
3642 * lib/future.exp: Add Go support.
3643 (gdb_find_go, gdb_find_go_linker): New procs.
3644 (gdb_default_target_compile): Add Go support.
3645 * lib/gdb.exp (skip_go_tests): New proc.
3646 * lib/go.exp: New file.
3647
3648 2012-04-25 Tom Tromey <tromey@redhat.com>
3649
3650 * gdb.threads/linux-dp.exp: Unset 'seen' before 'array set'.
3651
3652 2012-04-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3653 Jan Kratochvil <jan.kratochvil@redhat.com>
3654
3655 PR symtab/7259:
3656 * gdb.base/enumval.c: New test case.
3657 * gdb.base/enumval.exp: New test case.
3658 * gdb.python/py-type.exp (test_enums): Use field.enumval instead of
3659 field.bitpos.
3660
3661 2012-04-17 Pedro Alves <palves@redhat.com>
3662
3663 * Makefile.in (site.exp): Make site.exp source
3664 $srcdir/lib/append_gdb_boards_dir.exp.
3665 * lib/append_gdb_boards_dir.exp: New file.
3666
3667 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3668
3669 New option "set auto-load safe-path".
3670 * gdb.python/py-objfile-script.exp (set auto-load safe-path): New.
3671 * gdb.python/py-section-script.exp (set auto-load safe-path): New.
3672
3673 2012-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
3674
3675 auto-load: Implementation.
3676 * gdb.base/help.exp (test set height): Increase the height.
3677 * gdb.python/py-objfile-script.exp (info auto-load-scripts): Change
3678 to ...
3679 (info auto-load python-scripts): ... here.
3680 * gdb.python/py-section-script.exp (info auto-load-scripts *): Change
3681 to ...
3682 (info auto-load python-scripts *): ... here.
3683
3684 2012-04-16 Yao Qi <yao@codesourcery.com>
3685
3686 * lib/trace-support.exp (get_in_proc_agent): New.
3687 * gdb.trace/change-loc.exp: Call get_in_proc_agent to get the location
3688 of in process trace agent.
3689 * gdb.trace/ftrace.exp: Likewise.
3690 * gdb.trace/pending.exp: Likewise.
3691 * gdb.trace/trace-break.exp: Likewise.
3692 * gdb.trace/trace-mt.exp
3693 * gdb.trace/tspeed.exp: Likewise.
3694 * gdb.trace/tstatus.exp
3695 * gdb.trace/strace.exp: Likewise.
3696
3697 2012-04-16 Thomas Schwinge <thomas@codesourcery.com>
3698
3699 * gdb.asm/sh.inc (gdbasm_startup): Only set up the stack pointer if the
3700 symbol _stack is defined. Get rid of a hard-coded constant for _stack.
3701
3702 * gdb.asm/sh.inc (gdbasm_end) <.size>: Refer to the function's name.
3703
3704 2012-04-14 Anton Gorenkov <xgsa@yandex.ru>
3705
3706 PR mi/13393
3707 * gdb.mi/mi-var-rtti.cc: New file.
3708 * gdb.mi/mi-var-rtti.exp: New file.
3709 * lib/mi-support.exp (mi_varobj_update_with_child_type_change): New
3710 function.
3711 (mi_varobj_update_with_type_change): updated to avoid code duplication.
3712
3713 2012-04-11 Siva Chandra Reddy <sivachandra@google.com>
3714
3715 * gdb.python/Makefile.in: Add py-explore and py-explore-cc to
3716 EXECUTABLES.
3717 * gdb.python/py-explore.c: C program used for testing the new
3718 'explore' command on C constructs.
3719 * gdb.python/py-explore.cc: C++ program used for testing the new
3720 'explore' command on C++ constructs.
3721 * gdb-python/py-explore.exp: Tests for the new 'explore'
3722 command on C constructs.
3723 * gdb-python/py-explore-cc.exp: Tests for the new 'explore'
3724 command on C++ constructs.
3725
3726 2012-04-07 Mark Kettenis <kettenis@gnu.org>
3727
3728 * gdb.base/funcargs.exp (complex_args): Fix typo.
3729
3730 2012-04-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3731
3732 * gdb.trace/change-loc.exp (tracepoint_change_loc_1)
3733 (tracepoint_change_loc_2): Accept both orders of pending set_tracepoint.
3734
3735 2012-04-05 Keith Seitz <keiths@redhat.com>
3736
3737 * gdb.base/advance.exp: Update error message for
3738 "advance malformed" test.
3739 * gdb.base/break.exp: Likewise for "breakpoint with
3740 trailing garbage" test.
3741 * gdb.base/hbreak2.exp: Likewise for "hardware breakpoint
3742 with trailing garbage" test.
3743 * gdb.base/sepdebug.exp: Likewise for "breakpoint with
3744 trailng garbage" test.
3745 * gdb.base/until.exp: Likewise for "malformed until" test.
3746 * gdb.cp/ovldbreak.exp: Create the breakpoint table
3747 for "breakpoint info (after setting on all)".
3748 * gdb.cp/userdef.exp: Remove quoting for "break A2::operator+"
3749 tests.
3750 * gdb.cp/cplabel.cc: New file.
3751 * gdb.cp/cplabel.exp: New test.
3752 * gdb.linespec/ls-errs.c: New file.
3753 * gdb.linespec/ls-errs.exp: New test.
3754
3755 2012-04-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3756
3757 * gdb.trace/unavailable.exp
3758 (collect globals: print object on: print derived_partial)
3759 (collect globals: print object on: print derived_whole)
3760 (collect globals: print object off: print derived_partial)
3761 (collect globals: print object off: print derived_whole): Update
3762 expected output.
3763
3764 2012-03-30 Keith Seitz <keiths@redhat.com>
3765
3766 * gdb.python: Add test for linespecs with commas.
3767
3768 2012-03-28 Keith Seitz <keiths@redhat.com>
3769
3770 * gdb.linespec/ls-dollar.cc: New file.
3771 * gdb.linespec/ls-dollar.exp: New test.
3772
3773 2012-03-28 Keith Seitz <keiths@redhat.com>
3774
3775 * gdb.cp/namespace.exp: Add breakpoint tests for functions
3776 starting with the global namespace.
3777
3778 2012-03-23 Doug Evans <dje@google.com>
3779
3780 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global.
3781
3782 2012-03-22 Siva Chandra Reddy <sivachandra@google.com>
3783
3784 * gdb.python/py-value.cc: Add test case for testing the
3785 methodology exposing C++ values to Python.
3786 * gdb.python/py-value-cc.exp: Add tests testing the methodology
3787 exposing C++ values to Python.
3788 * gdb.python/Makefile.in: Add py-value-cc to EXECUTABLES.
3789
3790 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3791 Siddhesh Poyarekar <siddhesh@redhat.com>
3792
3793 * gdb.base/auxv.c (func2): setrlimit to infinity to enable core dumps.
3794 * gdb.base/auxv.exp: Try to compile it with -DUSE_RLIMIT first.
3795 (generate native core dump): Make the test unsupported if core cannot
3796 be generated.
3797
3798 2012-03-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3799
3800 * gdb.gdb/selftest.exp (do_steps_and_nexts): New entry
3801 for cmdarg_vec = NULL. Remove entries for cmdsize = 1, cmdarg = and
3802 ncmd = 0. New entry for VEC_cleanup cmdarg_s.
3803
3804 2012-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3805
3806 * gdb.base/cond-eval-mode.exp: Fix the anticipated warning string.
3807
3808 2012-03-17 Doug Evans <dje@google.com>
3809
3810 * dg-extract-results.sh: Handle KFAILs.
3811
3812 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3813
3814 PR symtab/13777
3815 * gdb.dwarf2/dw2-skip-prologue.S (DW_AT_producer): Set it to 4.5.0.
3816
3817 2012-03-16 Joel Brobecker <brobecker@adacore.com>
3818
3819 * gdb.ada/set_pckd_arr_elt: New testcase.
3820
3821 2012-03-16 Gary Benson <gbenson@redhat.com>
3822
3823 PR breakpoints/10738
3824 * gdb.opt/inline-break.exp: New file.
3825 * gdb.opt/inline-break.c: Likewise.
3826 * gdb.dwarf2/dw2-inline-break.exp: Likewise.
3827 * gdb.dwarf2/dw2-inline-break.S: Likewise.
3828 * gdb.base/annota1.exp: Cope with old .gdb_index warnings.
3829 * gdb.base/async-shell.exp: Likewise.
3830 * lib/mi-support.exp (library_loaded_re): Likewise.
3831
3832 2012-03-15 Tom Tromey <tromey@redhat.com>
3833
3834 * gdb.cp/virtfunc2.exp: Update expected output.
3835 * gdb.cp/pr9631.exp: Update expected output.
3836 * gdb.cp/member-ptr.exp: Update expected output.
3837 * gdb.cp/inherit.exp (test_print_mvi_classes): Update expected
3838 output.
3839 * gdb.cp/casts.exp: Update expected output.
3840
3841 2012-03-15 Tom Tromey <tromey@redhat.com>
3842
3843 * gdb.cp/virtfunc.exp (make_one_vtable_result): New proc.
3844 (test_info_vtbl): Likewise.
3845 (do_tests): Call test_info_vtbl.
3846 * gdb.cp/virtfunc.cc (va): New global.
3847
3848 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
3849
3850 * gdb.dwarf2/dw2-ada-ffffffff.S: Use .4byte instead of .long for
3851 describing DWARF data structures.
3852 * gdb.dwarf2/dw2-bad-parameter-type.S: Likewise.
3853 * gdb.dwarf2/dw2-double-set-die-type.S: Likewise.
3854 * gdb.dwarf2/dw2-empty-pc-range.S: Likewise.
3855 * gdb.dwarf2/dw2-entry-value.S: Likewise.
3856 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
3857 * gdb.dwarf2/dw2-param-error.S: Likewise.
3858 * gdb.dwarf2/dw2-skip-prologue.S: Likewise.
3859 * gdb.dwarf2/dw2-stack-boundary.S: Likewise.
3860 * gdb.dwarf2/dw4-sig-type-unused.S: Likewise.
3861 * gdb.dwarf2/implptr-optimized-out.S: Likewise.
3862 * gdb.dwarf2/member-ptr-forwardref.S: Likewise.
3863 * gdb.dwarf2/pr11465.S: Likewise.
3864
3865 2012-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3866
3867 * gdb.mi/mi2-prompt.exp: New file.
3868
3869 2012-03-13 Joel Brobecker <brobecker@adacore.com>
3870
3871 * gdb.base/enum_cond.c, gdb.base/enum_cond.exp: New testcase.
3872
3873 2012-03-13 Joel Brobecker <brobecker@adacore.com>
3874
3875 * gdb.ada/bp_range_type: New testcase.
3876
3877 2012-03-13 Doug Evans <dje@google.com>
3878
3879 * gdb.base/default.exp: Delete tests for symbol-reloading.
3880 * gdb.base/help.exp: Ditto.
3881 * gdb.base/setshow.exp: Ditto.
3882 * gdb.base/gdb_history: Delete references to symbol-reloading.
3883
3884 2012-03-06 Jan Kratochvil <jan.kratochvil@redhat.com>
3885
3886 * gdb.base/attach-twice.c: New files.
3887 * gdb.base/attach-twice.exp: New files.
3888
3889 2012-03-08 Keith Seitz <keiths@redhat.com>
3890
3891 * lib/gdb.exp (gdb_get_line_number): Throw an
3892 error instead of returning -1.
3893 * gdb.base/break.exp: Remove unused variable
3894 bp_location5.
3895 * gdb.base/hbreak2.exp: Likewise.
3896 * gdb.base/sepdebug.exp: Likewise.
3897
3898 2012-03-08 Yao Qi <yao@codesourcery.com>
3899 Pedro Alves <palves@redhat.com>
3900
3901 Fix PR server/13392.
3902 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Remove kfail.
3903 (tracepoint_change_loc_2): Remove kfail. Return if failed to
3904 download tracepoints.
3905 * gdb.trace/pending.exp (pending_tracepoint_works): Likewise.
3906 (pending_tracepoint_resolved_during_trace): Likewise.
3907 (pending_tracepoint_installed_during_trace): Likewise.
3908 (pending_tracepoint_with_action_resolved): Likewise.
3909
3910 2012-03-08 Keith Seitz <keiths@redhat.com>
3911
3912 * gdb.ada/array_bounds.exp: Get breakpoint for line
3913 with "START", not "STOP".
3914 * gdb.python/py-infthread.exp: Do not continue to
3915 line marked "Break here.", which is undefined.
3916
3917 2012-03-08 Luis Machado <lgustavo@codesourcery.com>
3918
3919 Revert:
3920
3921 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3922
3923 Implement testsuite workaround for PR breakpoints/13781.
3924 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3925 (set breakpoint condition-evaluation host): New conditional command.
3926
3927 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3928
3929 Fix CU relative vs. absolute DIE offsets.
3930 * gdb.dwarf2/dw2-op-call.S: New compilation unit preceding the existing
3931 one.
3932
3933 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3934
3935 Fix false FAIL on distros with relro linkage as default.
3936 * gdb.reverse/solib-precsave.exp: Try to compile the test using
3937 -Wl,-z,norelro first.
3938
3939 2012-03-06 Joel Brobecker <brobecker@adacore.com>
3940
3941 * gdb.ada/bp_on_var: New testcase.
3942
3943 2012-03-06 Joel Brobecker <brobecker@adacore.com>
3944
3945 * gdb.ada/bp_enum_homonym: New testcase.
3946
3947 2012-03-06 Yao Qi <yao@codesourcery.com>
3948
3949 * gdb.trace/ftrace.exp (test_fast_tracepoints): Run test on target
3950 x86_64-*-* and i?86-*-*.
3951 Set up KFAIL for gdb/13808.
3952
3953 2012-03-05 Tom Tromey <tromey@redhat.com>
3954
3955 * gdb.ada/operator_bp.exp: Clear debug-file-directory.
3956 * gdb.ada/mi_task_arg.exp: Clear debug-file-directory.
3957
3958 2012-03-05 Tom Tromey <tromey@redhat.com>
3959
3960 * gdb.java/jprint.java (jprint.main): Keep 'x' live.
3961
3962 2012-03-04 Yao Qi <yao@codesourcery.com>
3963
3964 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
3965 messages for KFAIL.
3966
3967 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3968
3969 * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.
3970 (print one_two_three, indexes off, print few_reps, indexes off)
3971 (print many_reps, indexes off, print empty, indexes off)
3972 (print one_two_three, print few_reps, print many_reps, print empty):
3973 Call setup_xfail if $gcc_old.
3974
3975 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3976
3977 Implement testsuite workaround for PR breakpoints/13781.
3978 * gdb.cp/mb-templates.exp: New loop with variable $workaround.
3979 (set breakpoint condition-evaluation host): New conditional command.
3980
3981 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3982
3983 Code cleanup.
3984 * gdb.cp/mb-templates.exp: New variables executable. Use it for
3985 binfile. use clean_restart. Replace gdb_expect by gdb_test_multiple.
3986 Replace GDB restart by kill and delete_breakpoints. Replace breakpoint
3987 number 1 by $bpnum. Four times.
3988
3989 2012-03-03 Yao Qi <yao@codesourcery.com>
3990
3991 * gdb.trace/strace.exp: run strace_info_marker in linux native gdb.
3992
3993 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3994
3995 Setup KFAIL for PR server/13796.
3996 * gdb.base/disp-step-syscall.exp (single step over vfork): Setup KFAIL.
3997
3998 2012-03-02 Joel Brobecker <brobecker@adacore.com>
3999
4000 * gdb.ada/operator_bp: New testcase.
4001
4002 2012-03-02 Joel Brobecker <brobecker@adacore.com>
4003
4004 * gdb.ada/info_locals_renaming: New testcase.
4005
4006 2012-03-02 Tom Tromey <tromey@redhat.com>
4007
4008 * gdb.base/nextoverexit.c: New file.
4009 * gdb.base/nextoverexit.exp: New file.
4010
4011 2012-03-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
4012
4013 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Remove obsolete
4014 parameter.
4015
4016 2012-03-01 Maciej W. Rozycki <macro@mips.com>
4017
4018 * gdb.xml/tdesc-regs.exp: Add "mips-dsp.xml" to the list of MIPS
4019 core registers.
4020
4021 2012-03-01 Maciej W. Rozycki <macro@mips.com>
4022 Maciej W. Rozycki <macro@codesourcery.com>
4023 Daniel Jacobowitz <dan@codesourcery.com>
4024
4025 * gdb.base/hbreak2.exp: New test for "hbreak" and "thbreak".
4026
4027 2012-03-01 Pedro Alves <palves@redhat.com>
4028
4029 PR gdb/13767
4030
4031 * gdb.trace/unavailable.exp (gdb_unavailable_floats): New.
4032 (gdb_collect_globals_test): Call it.
4033
4034 2012-03-01 Keith Seitz <keiths@redhat.com>
4035
4036 * gdb.cp/method2.exp: Output of overload menu is now
4037 alphabetized. Update tests for "break A::method".
4038 * gdb.cp/ovldbreak.exp: Use gdb_get_line_number instead
4039 of hard-coding them.
4040 Overload menu is alphabetized: rewrite to accommodate.
4041 Unset variables LINE and TYPES which are used in other tests.
4042 Compute the output of "info break".
4043 Update the breakpoint table after all breakpoints are deleted.
4044 (continue_to_bp_overloaded): Rename ACTUALS to ARGUMENT and
4045 compute ACTUALS and the method body based on parameters.
4046 Update expected output accordingly.
4047 * gdb.cp/ovldbreak.cc (foo::overload1arg): Reformat and add
4048 unique comments to allow the use of gdb_get_line_number.
4049
4050 2012-03-01 Keith Seitz <keiths@redhat.com>
4051
4052 * gdb.cp/method2.exp: Use prepare_for_testing and cleanup
4053 some Tcl syntax.
4054 * gdb.cp/ovldbreak.exp: Likewise.
4055
4056 2012-03-01 Keith Seitz <keiths@redhat.com>
4057
4058 * gdb.base/help.exp (help show user): Update expected result
4059 for new doc string changes (add "non-python").
4060
4061 2012-03-01 Scott J. Goldman <scottjg@vmware.com>
4062
4063 * gdb.python/py-cmd.exp: Add test to verify that python commands can
4064 be put in the user-defined category and that the commands appear in
4065 "help user-defined".
4066
4067 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4068
4069 * gdb.ada/tagged_not_init: New testcase.
4070
4071 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4072
4073 * gdb.ada/arrayidx.exp: Adjust expected output for p_one_two_three.
4074 * gdb.ada/enum_idx_packed: New testcase.
4075
4076 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4077
4078 * gdb.ada/aliased_array: New testcase.
4079
4080 2012-02-29 Joel Brobecker <brobecker@adacore.com>
4081
4082 * gdb.ada/whatis_array_val: New testcase.
4083
4084 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4085
4086 Fix disp-step-syscall.exp: fork: single step over fork.
4087 * gdb.base/disp-step-syscall.exp (syscall_insn): Anchor it by
4088 whitespaces.
4089 (single step over $syscall): Remove its check.
4090 (single step over $syscall final pc): New check.
4091
4092 2012-02-29 Jan Kratochvil <jan.kratochvil@redhat.com>
4093
4094 Support processors without SSSE3.
4095 * gdb.reverse/i386-sse-reverse.c (sse_test): Move pabsb, pabsw and
4096 pabsd into ...
4097 (ssse3_test): ... a new function.
4098 (main): Call ssse3_test.
4099 * gdb.reverse/i386-sse-reverse.exp: New variable end_ssse3_test.
4100 Update expected values everywhere.
4101 (reverse-step to pabsd, verify xmm0 after reverse pabsd)
4102 (verify xmm1 after reverse pabsd, verify xmm2 after reverse pabsd)
4103 (reverse-step to pabsw, verify xmm0 after reverse pabsw)
4104 (verify xmm1 after reverse pabsw, verify xmm2 after reverse pabsw)
4105 (reverse-step to pabsb, verify xmm0 after reverse pabsb)
4106 (verify xmm1 after reverse pabsb, verify xmm2 after reverse pabsb):
4107 Move these tests lower.
4108 (set breakpoint at end of ssse3_test, continue to end of ssse3_test)
4109 (verify xmm0 at end of ssse3_test, verify xmm1 at end of ssse3_test)
4110 (verify xmm2 at end of ssse3_test, continue to end of ssse3_test #2):
4111 New tests.
4112
4113 2012-02-29 Yao Qi <yao@codesourcery.com>
4114 Pedro Alves <palves@redhat.com>
4115
4116 * gdb.trace/trace-mt.c: New.
4117 * gdb.trace/trace-mt.exp: New.
4118
4119 2012-02-28 Thomas Schwinge <thomas@codesourcery.com>
4120
4121 * gdb.base/annota1.exp: Use gdb_get_line_number for retrieving line
4122 numbers instead of hardcoding them.
4123 * gdb.base/annota1.c: Provide suitable markers.
4124 * gdb.base/annota3.exp: Use gdb_get_line_number for retrieving line
4125 numbers instead of hardcoding them.
4126 * gdb.base/annota3.c: Provide suitable markers.
4127
4128 * gdb.base/annota1.c [__sh__]: Remove any special-casing.
4129 * gdb.base/annota3.c: Likewise.
4130 * gdb.base/sigall.c: Likewise.
4131 * gdb.base/signals.c: Likewise.
4132 * gdb.reverse/sigall-reverse.c: Likewise.
4133
4134 2012-02-27 Maciej W. Rozycki <macro@codesourcery.com>
4135
4136 * gdb.cp/breakpoint.exp (test_breakpoint): Fix the runto_main
4137 failure return path.
4138
4139 2012-02-27 Luis Machado <lgustavo@codesourcery.com>
4140
4141 * gdb.base/save-bp.exp: Account for new condition evaluator output.
4142
4143 2012-02-24 Luis Machado <lgustavo@codesourcery.com>
4144
4145 * gdb.base/cond-eval-mode.exp: New file.
4146
4147 2012-02-24 Pedro Alves <palves@redhat.com>
4148
4149 * gdb.base/break-interp.exp (test_ld): Use with_test_prefix.
4150 (top level): Use with_test_prefix.
4151
4152 2012-02-24 Pedro Alves <palves@redhat.com>
4153
4154 * gdb.threads/attach-into-signal.exp (corefunc): Use
4155 with_test_prefix.
4156
4157 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4158
4159 Fix false FAILs on old CPUs without SSE.
4160 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
4161 Return untested for Illegal instruction.
4162
4163 2012-02-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4164
4165 Fix false FAILs with glibc debug infos installed.
4166 * gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
4167 * gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
4168
4169 2012-02-22 Sterling Augustine <saugustine@google.com>
4170
4171 * gdb.base/watchpoint.exp (test_constant_watchpoint): Add test for
4172 constant with cast.
4173
4174 2012-02-21 Pedro Alves <palves@redhat.com>
4175
4176 * gdb.threads/watchpoint-fork.exp (test): Use with_test_prefix.
4177
4178 2012-02-21 Pedro Alves <palves@redhat.com>
4179
4180 * gdb.base/return-nodebug.exp (do_test): Use with_test_prefix.
4181
4182 2012-02-21 Pedro Alves <palves@redhat.com>
4183
4184 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Use
4185 with_test_prefix.
4186
4187 2012-02-21 Pedro Alves <palves@redhat.com>
4188
4189 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Don't do
4190 with_test_prefix here.
4191 (top level): Do it here instead. Remove `:' from the
4192 with_test_prefix string.
4193 * gdb.base/attach-pie-misread.exp: Remove the leading space the
4194 the suffix `:' from the with_test_prefix prefix string.
4195 * gdb.base/break-interp.exp: Ditto.
4196 * gdb.base/catch-load.exp: Ditto.
4197 * gdb.base/disp-step-syscall.exp: Ditto.
4198 * gdb.base/jit-so.exp: Ditto.
4199 * gdb.base/jit.exp: Ditto.
4200 * gdb.base/sepdebug.exp: Ditto.
4201 * gdb.base/solib-display.exp: Ditto.
4202 * gdb.base/solib-overlap.exp: Ditto.
4203 * gdb.base/watch-cond-infcall.exp: Ditto.
4204 * gdb.base/watchpoint.exp: Ditto.
4205 * gdb.dwarf2/dw2-noloc.exp: Ditto.
4206 * gdb.mi/mi-watch.exp: Ditto.
4207 * gdb.mi/mi2-watch.exp: Ditto.
4208 * gdb.threads/non-ldr-exc-1.exp: Ditto.
4209 * gdb.threads/non-ldr-exc-2.exp: Ditto.
4210 * gdb.threads/non-ldr-exc-3.exp: Ditto.
4211 * gdb.threads/non-ldr-exc-4.exp: Ditto.
4212 * gdb.threads/watchpoint-fork.exp: Ditto.
4213 * gdb.threads/watchthreads-reorder.exp: Ditto.
4214 * gdb.trace/change-loc.exp: Ditto.
4215 * gdb.trace/pending.exp: Ditto.
4216 * gdb.trace/status-stop.exp: Ditto.
4217 * gdb.trace/strace.exp: Ditto.
4218 * gdb.trace/trace-break.exp: Ditto.
4219 * gdb.trace/unavailable.exp: Ditto.
4220 * lib/gdb.exp (with_test_prefix): Always prefix with space and
4221 suffix with colon. Adjust leading comments.
4222
4223 2012-02-21 Pedro Alves <palves@redhat.com>
4224 Tom Tromey <tromey@redhat.com>
4225
4226 * lib/gdb.exp: Add description of test prefixes.
4227 (with_test_prefix): New procedure.
4228 * gdb.arch/altivec-abi.exp: Use with_test_prefix.
4229 * gdb.base/attach-pie-misread.exp: Use with_test_prefix.
4230 * gdb.base/break-interp.exp: Use with_test_prefix. Use append
4231 instead of lappend to append to pf_prefix.
4232 * gdb.base/catch-load.exp: Use with_test_prefix.
4233 * gdb.base/disp-step-syscall.exp: Use with_test_prefix.
4234 * gdb.base/jit-so.exp: Use with_test_prefix.
4235 * gdb.base/jit.exp: Use with_test_prefix.
4236 * gdb.base/return-nodebug.exp (do_test): Use append instead of
4237 lappend to append to pf_prefix.
4238 * gdb.base/sepdebug.exp: Use with_test_prefix.
4239 * gdb.base/solib-display.exp: Use with_test_prefix.
4240 * gdb.base/solib-overlap.exp: Use with_test_prefix.
4241 * gdb.base/watch-cond-infcall.exp: Use with_test_prefix.
4242 * gdb.base/watchpoint.exp: Use with_test_prefix.
4243 * gdb.dwarf2/dw2-noloc.exp: Use with_test_prefix.
4244 * gdb.mi/mi-watch.exp: Use with_test_prefix.
4245 * gdb.mi/mi2-watch.exp: Use with_test_prefix.
4246 * gdb.threads/non-ldr-exc-1.exp: Use with_test_prefix.
4247 * gdb.threads/non-ldr-exc-2.exp: Use with_test_prefix.
4248 * gdb.threads/non-ldr-exc-3.exp: Use with_test_prefix.
4249 * gdb.threads/non-ldr-exc-4.exp: Use with_test_prefix.
4250 * gdb.threads/watchpoint-fork.exp: Use with_test_prefix. Use
4251 append instead of lappend to append to pf_prefix.
4252 * gdb.threads/watchthreads-reorder.exp: Use with_test_prefix.
4253 * gdb.trace/change-loc.exp: Use with_test_prefix.
4254 * gdb.trace/pending.exp: Use with_test_prefix.
4255 * gdb.trace/status-stop.exp: Use with_test_prefix.
4256 * gdb.trace/strace.exp: Use with_test_prefix.
4257 * gdb.trace/trace-break.exp: Use with_test_prefix.
4258 * gdb.trace/unavailable.exp: Use with_test_prefix. Use append
4259 instead of lappend to append to pf_prefix.
4260
4261 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4262
4263 Fix racy FAILs.
4264 * gdb.base/inferior-died.c (main): Add return of 0.
4265 * gdb.base/inferior-died.exp (continue): Fix expectation of
4266 asynchronous events.
4267 (p 1): New test.
4268
4269 2012-02-20 Pedro Alves <palves@redhat.com>
4270
4271 * gdb.threads/attach-into-signal.exp (corefunc): Don't enable
4272 lin-lwp output. Set SIGALRM to stop. Adjust tests to not rely on
4273 gdb's internal debug output. For the non-threaded case, look for
4274 "Program received signal SIGLARM", for the threaded case, peek at
4275 the thread's siginfo.
4276
4277 2012-02-20 Pedro Alves <palves@redhat.com>
4278
4279 General cleanup, make output test messages unique, and build
4280 different executable files for the non-threaded and threaded
4281 cases.
4282
4283 * gdb.threads/attach-into-signal.exp (binfile, escapedbinfile):
4284 Delete.
4285 (executable_nothr, executable_thr): New globals.
4286 (top level): Adjust to delete both executables.
4287 (corefunc): New parameter $executable. Set $pf_prefix instead of
4288 hand writing a prefix in tests. Issue a clean_restart and enable
4289 lin-lwp debug output here.
4290 (top level): Adjust. Use build_executable. Don't start gdb here,
4291 and don't enable lin-lwp debug output here.
4292 * gdb.threads/Makefile.in (EXECUTABLES): Adjust.
4293
4294 2012-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4295
4296 Fix racy FAILs.
4297 * gdb.base/catch-load.exp (one_catch_load_test): Remove duplicate
4298 "continue" command.
4299
4300 2012-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4301
4302 Fix for gdbserver non-extended mode.
4303 * gdb.base/break-inline.exp (start): Replace "start" by gdb_breakpoint
4304 and gdb_run_cmd.
4305
4306 2012-02-17 Tom Tromey <tromey@redhat.com>
4307
4308 * gdb.python/py-events.py (exit_handler): Add test for 'dir'.
4309 * gdb.python/py-events.exp: Check 'dir' output.
4310 * gdb.python/py-type.exp (test_fields): Add test for 'dir'.
4311
4312 2012-02-17 Yao Qi <yao@codesourcery.com>
4313
4314 * gdb.trace/strace.exp (strace_info_marker): Test `info threads'.
4315
4316 2012-02-16 Tom Tromey <tromey@redhat.com>
4317
4318 * gdb.base/inferior-died.c: Don't include stdio.h.
4319
4320 2012-02-16 Tom Tromey <tromey@redhat.com>
4321
4322 * gdb.base/inferior-died.c: New file.
4323 * gdb.base/inferior-died.exp: New file.
4324
4325 2012-02-15 Aleksandar Ristovski <aristovski@qnx.com>
4326
4327 * gdb.base/break-inline.exp: New file.
4328 * gdb.base/break-inline.c: New file.
4329
4330 2012-02-15 Tom Tromey <tromey@redhat.com>
4331
4332 * gdb.base/pc-fp.exp: Add "info register" tests.
4333
4334 2012-02-15 Tom Tromey <tromey@redhat.com>
4335
4336 * gdb.base/regs.exp: Remove.
4337
4338 2012-02-15 Pedro Alves <palves@redhat.com>
4339
4340 * gdb.trace/backtrace.exp: Issue UNSUPPORTED instead of PASS when
4341 the target doesn't support tracepoints.
4342 * gdb.trace/circ.exp: Ditto.
4343 * gdb.trace/collection.exp: Ditto.
4344 * gdb.trace/packetlen.exp: Ditto.
4345 * gdb.trace/passc-dyn.exp: Ditto.
4346 * gdb.trace/report.exp: Ditto.
4347 * gdb.trace/tfind.exp: Ditto.
4348 * gdb.trace/tspeed.exp: Ditto.
4349 * gdb.trace/tsv.exp: Ditto.
4350 * gdb.trace/unavailable.exp: Ditto.
4351 * gdb.trace/while-dyn.exp: Ditto.
4352
4353 2012-02-15 Pedro Alves <palves@redhat.com>
4354
4355 * gdb.trace/circ.exp (trace_buffer_normal): Rewrite using
4356 gdb_test_multiple, and call unsupported instead of fail, if the
4357 remote side does not support the request.
4358
4359 2012-02-15 Pedro Alves <palves@redhat.com>
4360
4361 * gdb.server/ext-attach.exp: Make sure gdb is disconnected.
4362 * gdb.server/ext-run.exp: Make sure gdb is disconnected.
4363 * gdb.server/file-transfer.exp: Make sure gdb is disconnected.
4364 * gdb.server/server-mon.exp: Make sure gdb is disconnected.
4365 * gdb.server/server-run.exp: Make sure gdb is disconnected.
4366 * lib/gdbserver-support.exp (gdbserver_start_extended): Only
4367 prepend "extended-" to $gdbserver_protocol if $gdbserver_protocol
4368 doesn't start with "extended-" already.
4369
4370 2012-02-15 Pedro Alves <palves@redhat.com>
4371
4372 Support extended-remote. Avoid cascading timeouts.
4373
4374 * gdb.base/attach.exp (do_attach_tests): Add expected output for
4375 the extended-remote target. If attaching with no file fails, load
4376 the file manually.
4377 * gdb.server/ext-attach.exp: Adjust expected attach/detach output.
4378
4379 2012-02-14 Stan Shebs <stan@codesourcery.com>
4380
4381 * gdb.base/ena-dis-br.exp: Add enable count test.
4382
4383 2012-02-13 Pedro Alves <palves@redhat.com>
4384
4385 * config/mips-idt.exp: Delete.
4386 * gdb.base/a2-run.exp: Remove mips-idt xfails.
4387 * gdb.base/bitfields.exp: Remove mips-idt restarts.
4388 * gdb.base/break.exp: Remove mips-idt references.
4389 * gdb.base/chng-syms.exp: Ditto.
4390 * gdb.base/default.exp: Ditto.
4391 * gdb.base/funcargs.exp (funcargs_reload): Delete.
4392 (top level): Don't call it.
4393 * gdb.base/opaque.exp: Remove mips-idt restarts.
4394 * gdb.base/ptype.exp: Remove mips-idt xfails.
4395 * gdb.base/scope.exp: Remove mips-idt restarts.
4396 * gdb.base/sepdebug.exp: Remove mips-idt references.
4397 * gdb.base/watchpoint.exp (maybe_clean_restart)
4398 (maybe_reinitialize): Delete.
4399 (test_disabling_watchpoints, test_disabling_watchpoints)
4400 (test_watchpoint_triggered_in_syscall)
4401 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4402 Don't call them.
4403
4404 2012-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4405
4406 * gdb.server/server-exec-info.exp: New file.
4407
4408 2012-02-10 Pedro Alves <palves@redhat.com>
4409
4410 * gdb.base/break-interp.exp (test_attach_gdb): Assume $file is
4411 always non-empty.
4412 (test_attach): Always pass $exec to test_attach_gdb.
4413
4414 2012-02-08 Tom Tromey <tromey@redhat.com>
4415
4416 * gdb.python/py-symbol.exp: Use lookup_global_symbol for tests
4417 before inferior is started.
4418
4419 2012-02-07 Tom Tromey <tromey@redhat.com>
4420
4421 * gdb.python/py-symbol.exp: Test Symbol.needs_frame and
4422 Symbol.value.
4423 * gdb.python/py-symbol.c (qq): Set default value.
4424
4425 2012-02-07 Tom Tromey <tromey@redhat.com>
4426
4427 * gdb.python/py-symbol.c (qq): New global.
4428 * gdb.python/py-symbol.exp: Add test for frame-less
4429 lookup_symbol.
4430 * gdb.python/py-symtab.exp: Fix line number.
4431
4432 2012-02-03 Joel Brobecker <brobecker@adacore.com>
4433
4434 * gdb.ada/mi_task_arg: New testcase.
4435
4436 2012-02-02 Pedro Alves <palves@redhat.com>
4437
4438 * gdb.reverse/until-precsave.exp: Also put "record save" under the
4439 extended timeout.
4440
4441 2012-02-02 Pedro Alves <palves@redhat.com>
4442
4443 * gdb.gdb/complaints.exp: Skip if gdb,noinferiorio is set.
4444 * gdb.gdb/selftest.exp (test_with_self): Handle gdb,noinferiorio.
4445
4446 2012-02-02 Pedro Alves <palves@redhat.com>
4447
4448 * gdb.base/term.exp: Rewrite.
4449 * gdb.base/term.c: New.
4450
4451 2012-02-02 Pedro Alves <palves@redhat.com>
4452
4453 * gdb.base/default.exp (run "r" abbreviation, run): Add
4454 extended-remote expected output.
4455
4456 2012-02-02 Tom Tromey <tromey@redhat.com>
4457
4458 * gdb.cp/dispcxx.exp: New file.
4459 * gdb.cp/dispcxx.cc: New file.
4460
4461 2012-02-01 Tom Tromey <tromey@redhat.com>
4462
4463 * gdb.base/jit-simple.exp: New file.
4464 * gdb.base/jit-simple.c: New file.
4465
4466 2012-01-30 Yao Qi <yao@codesourcery.com>
4467
4468 * gdb.base/skip.exp: Make test result unique.
4469
4470 2012-01-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4471
4472 * gdb.base/valgrind-db-attach.exp (attach to debugger): Fix
4473 compatibility with valgrind-3.7.0.
4474
4475 2012-01-27 Pedro Alves <palves@redhat.com>
4476
4477 * gdb.base/watchpoint.exp (no_hw): New global.
4478 (maybe_clean_restart, maybe_reinitialize): If no_hw is set,
4479 disable hw watchpoints.
4480 (test_wide_location_1, test_wide_location_2): If no_hw is set,
4481 don't expect hw watchpoints.
4482 (no_hw_watchpoints): Always clean restart.
4483 (do_tests): New procedure, factored out from the top level.
4484 (top level): Run tests twice. Once with hw watchpoints enabled,
4485 another time with hw watchpoints disabled.
4486
4487 2012-01-27 Pedro Alves <palves@redhat.com>
4488
4489 * gdb.base/watchpoint.exp (test_no_hw_watchpoints): New, factored
4490 out from the top level.
4491 (top level): Call it instead.
4492
4493 2012-01-27 Pedro Alves <palves@redhat.com>
4494
4495 * gdb.base/watchpoint.exp (top level): Re-enable hardware
4496 watchpoints sooner.
4497
4498 2012-01-27 Pedro Alves <palves@redhat.com>
4499
4500 * gdb.base/watchpoint.exp (top level): Delete watch ival3.
4501
4502 2012-01-27 Pedro Alves <palves@redhat.com>
4503
4504 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): Expect
4505 "You may have requested too many hardware
4506 breakpoints/watchpoints".
4507
4508 2012-01-27 Pedro Alves <palves@redhat.com>
4509
4510 * gdb.base/watchpoint.exp (maybe_clean_restart)
4511 (maybe_reinitialize): New.
4512 (test_disabling_watchpoints): Call maybe_reinitialize. Don't
4513 expect "hit N times".
4514 (test_disabling_watchpoints, test_complex_watchpoint)
4515 (test_watchpoint_and_breakpoint, test_inaccessible_watchpoint):
4516 Call maybe_clean_restart.
4517 (top level): Use clean_restart. Remove "mips-idt-*"
4518 reinitialization.
4519
4520 2012-01-27 Pedro Alves <palves@redhat.com>
4521
4522 * gdb.base/watchpoint.exp: Always run test_complex_watchpoint.
4523
4524 2012-01-27 Pedro Alves <palves@redhat.com>
4525
4526 * gdb.base/watchpoint.exp: Clean restart after tests that don't
4527 require `initialize' anymore. Remove unnecessary `initialize'
4528 calls.
4529
4530 2012-01-27 Pedro Alves <palves@redhat.com>
4531
4532 * gdb.base/watchpoint.exp (wp_set): Delete.
4533 (initialize, test_simple_watchpoint, top level): Remove dead code.
4534
4535 2012-01-27 Pedro Alves <palves@redhat.com>
4536
4537 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Fix
4538 typo.
4539
4540 2012-01-27 Pedro Alves <palves@redhat.com>
4541
4542 * config/extended-gdbserver.exp: New file.
4543 * lib/gdbserver-support.exp (gdbserver_start_extended): Extend
4544 comment.
4545 (gdbserver_start_multi, mi_gdbserver_start_multi): New.
4546 * boards/native-extended-gdbserver.exp: New file.
4547
4548 2012-01-26 Pedro Alves <palves@redhat.com>
4549
4550 * gdb.base/watchpoint.exp: Replace send_gdb/gdb_expect by gdb_test
4551 and gdb_test_multiple.
4552
4553 2012-01-26 Pedro Alves <palves@redhat.com>
4554
4555 Make test messages unique, and more identifiable.
4556 * gdb.multi/watchpoint-multi.exp: Change test messages.
4557
4558 2012-01-25 Tom Tromey <tromey@redhat.com>
4559
4560 * gdb.base/solib-disc.exp: Fix regexps.
4561
4562 2012-01-24 Tom Tromey <tromey@redhat.com>
4563
4564 * lib/mi-support.exp (mi_expect_stop): Add special case for
4565 solib-event.
4566 * gdb.base/catch-load-so.c: New file.
4567 * gdb.base/catch-load.exp: New file.
4568 * gdb.base/catch-load.c: New file.
4569 * gdb.base/break-interp.exp (reach_1): Update regexp.
4570
4571 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4572
4573 Fix fuzzy results.
4574 * gdb.mi/var-cmd.c (do_locals_tests): Initialize variables lsimple,
4575 lpsimple and func.
4576
4577 2012-01-24 Gary Benson <gbenson@redhat.com>
4578
4579 Delete #if 0'd out code.
4580 * gdb.base/default.exp (info catch): Remove.
4581 * gdb.base/gdb_history (info catch): Likewise.
4582 * gdb.base/help.exp (info catch): Likewise.
4583
4584 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4585
4586 Fix watchpoints to be specific for each inferior.
4587 * gdb.multi/watchpoint-multi.c: New file.
4588 * gdb.multi/watchpoint-multi.exp: New file.
4589
4590 2012-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4591
4592 Fix watchpoints across inferior fork.
4593 * gdb.threads/watchpoint-fork-child.c: New file.
4594 * gdb.threads/watchpoint-fork-mt.c: New file.
4595 * gdb.threads/watchpoint-fork-parent.c: New file.
4596 * gdb.threads/watchpoint-fork-st.c: New file.
4597 * gdb.threads/watchpoint-fork.exp: New file.
4598 * gdb.threads/watchpoint-fork.h: New file.
4599
4600 2012-01-23 Pedro Alves <palves@redhat.com>
4601
4602 * gdb.base/call-signal-resume.exp: Allow output after "return".
4603
4604 2012-01-20 Pedro Alves <palves@redhat.com>
4605
4606 * gdb.python/py-finish-breakpoint.py: Fix typo.
4607
4608 2012-01-20 Ulrich Weigand <ulrich.weigand@linaro.org>
4609
4610 * gdb.base/info-proc.exp: Also run on remote targets. Main
4611 "info proc" command is now always present; whether target supports
4612 actual info proc operation is detected when attempting to issue
4613 the command.
4614
4615 2012-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4616
4617 * .gdbinit: Remove.
4618
4619 2012-01-19 Pedro Alves <palves@redhat.com>
4620
4621 * gdb.java/jprint.exp: Don't rely on inferior output, but instead
4622 look at the funtions' returns.
4623 * gdb.java/jprint.java (jvclass.addprint, jprint.print(int))
4624 (jprint.print(int, int)): Change return type to int. Adjust.
4625
4626 2012-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
4627
4628 PR gdb/9538
4629 * gdb.base/sepdebug.exp: New test.
4630
4631 2012-01-18 Pedro Alves <palves@redhat.com>
4632
4633 * gdb.ada/mi_task_info.exp (-ada-task-info with no argument):
4634 Allow output before ^done.
4635
4636 2012-01-16 Tom Tromey <tromey@redhat.com>
4637
4638 * gdb.linespec/linespec.exp: Change some tests to use $decimal.
4639 Add tests for relative directory.
4640
4641 2012-01-16 Tom Tromey <tromey@redhat.com>
4642
4643 * gdb.base/printcmds.c (enum flag_enum): New.
4644 (three): New global.
4645 * gdb.base/printcmds.exp (test_print_enums): Add test for flag
4646 enum printing.
4647 * gdb.python/py-pp-maint.py (build_pretty_printer): Instantiate
4648 FlagEnumerationPrinter.
4649 * gdb.python/py-pp-maint.exp: Add tests for FlagEnumerationPrinter.
4650 * gdb.python/py-pp-maint.c (enum flag_enum): New.
4651 (fval): New global.
4652
4653 2012-01-16 Pedro Alves <palves@redhat.com>
4654
4655 * lib/gdb.exp (banned_procedures): New variable.
4656 (banned_variables_traced): Rename to ...
4657 (banned_traced): ... this.
4658 (gdb_init): Also trace banned procedures.
4659 (gdb_finish): Also untrace banned procedures.
4660
4661 2012-01-16 Pedro Alves <palves@redhat.com>
4662
4663 Remove all calls to strace.
4664
4665 2012-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
4666
4667 * gdb.dwarf2/dw2-namespaceless-anonymous.S: New file.
4668 * gdb.dwarf2/dw2-namespaceless-anonymous.exp: New file.
4669
4670 2012-01-13 Paul Pluzhnikov <ppluzhnikov@google.com>
4671
4672 * gdb.base/attach-pie-misread.exp: Pass -pie only to the linker.
4673 * gdb.base/pie-execl.exp: Likewise.
4674
4675 2012-01-12 Keith Seitz <keiths@redhat.com>
4676
4677 PR mi/10586
4678 * gdb.mi/var-cmd.c (struct anonymous): New structure.
4679 (do_anonymous_type_tests): New function.
4680 (main): Call do_anonymous_type_tests.
4681 * gdb.mi/mi2-var-child.exp: Add anonymous type tests.
4682 (verify_everything): New procedure.
4683 * gdb.mi/mi-var-cp.cc (class A): New class.
4684 (anonymous_structs_and_unions): New function.
4685 (main): Call anonymous_structs_and_unions.
4686 * gdb.mi/mi-var-cp.exp: Add anonymous type tests.
4687 (verify_everything): New procedure.
4688
4689 2012-01-12 Keith Seitz <keiths@redhat.com>
4690
4691 * lib/mi-support.exp: Expand comments about PATH_EXPR.
4692 (varobj_tree::get_path_expr): Assume that all varobjs are
4693 compound unless they are known simple types.
4694 Adjust path expressions based on parent type, path parent type,
4695 and tree language.
4696 (varobj_tree::walk_tree): Add LANGUAGE parameter and save it into
4697 the root varobj.
4698 (mi_walk_varobj_tree): Add LANGUAGE parameter.
4699
4700 2012-01-11 Pedro Alves <palves@redhat.com>
4701
4702 * gdb.base/default.exp (core-file): Don't expect "GDB can't read
4703 core files on this machine" anymore.
4704
4705 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4706
4707 * gdb.base/watchpoint.c (recurser): Initialize local_x.
4708 (main): Repeat recurser call.
4709 * gdb.base/watchpoint.exp: Check that 'watch recurser::local_x' is
4710 equivalent to 'local_x'.
4711
4712 2012-01-11 Paul Hilfinger <hilfingr@adacore.com>
4713 Joel Brobecker <brobecker@adacore.com>
4714
4715 * gdb.base/recpar.c, gdb.base/recpar.exp: New files.
4716
4717 2012-01-05 Pedro Alves <alves.ped@gmail.com>
4718
4719 * gdb.mi/mi-stepn.c, gdb.mi/mi-stepn.exp: New files.
4720 * gdb.python/py-events.c (first): Add bits for new "step N" test.
4721 * gdb.python/py-events.exp: Test that "step N" tripping on a
4722 breakpoint emits a breakpoint event.
4723
4724 2012-01-03 Joel Brobecker <brobecker@adacore.com>
4725
4726 * gdb.base/auxv.exp: Reformat the copyright notice.
4727
4728 2012-01-03 Yao Qi <yao@codesourcery.com>
4729
4730 * gdb.trace/strace.exp (strace_trace_on_same_addr): New.
4731 (strace_trace_on_diff_addr): New.
4732 * gdb.trace/strace.c: (main): Add two local variables.
4733
4734 2011-01-02 Ulrich Weigand <uweigand@de.ibm.com>
4735
4736 * gdb.cell/fork.exp: Delete breakpoints after reaching main.
4737 * gdb.cell/gcore.exp: Likewise.
4738 * gdb.cell/solib-symbol.exp: Use "info symbol" instead of "break"
4739 to verify the correct instance of main is selected.
4740
4741 2012-01-02 Joel Brobecker <brobecker@adacore.com>
4742
4743 * dg-extract-results.sh, gdb.arch/gcore.c, gdb.arch/gdb1558.c,
4744 gdb.arch/i386-gnu-cfi.c, gdb.base/complex.c, gdb.base/cvexpr.c,
4745 gdb.base/gcore.c, gdb.base/gdb1555-main.c, gdb.base/gdb1555.c,
4746 gdb.base/gdb1821.c, gdb.base/long_long.c, gdb.base/restore.c,
4747 gdb.base/sepdebug.c, gdb.base/type-opaque-lib.c,
4748 gdb.base/type-opaque-main.c, gdb.cp/maint.exp, gdb.cp/namespace1.cc,
4749 gdb.cp/pr9631.cc, gdb.cp/psmang1.cc, gdb.cp/psmang2.cc,
4750 gdb.cp/try_catch.cc, gdb.cp/virtfunc.cc, gdb.hp/gdb.base-hp/reg.exp,
4751 gdb.mi/basics.c, gdb.mi/mi-stack.c, gdb.mi/mi-var-child.c,
4752 gdb.mi/mi2-var-child.exp, gdb.mi/var-cmd.c,
4753 gdb.threads/thread_check.c: Reformat copyright header.
4754
4755 2011-12-30 Edjunior Machado <emachado@linux.vnet.ibm.com>
4756
4757 * gdb.python/py-finish-breakpoint.exp: Add `.' prefix for ppc64.
4758 * gdb.python/py-finish-breakpoint2.exp: Skip testcase if python support
4759 is not enabled.
4760
4761 2011-12-27 Jan Kratochvil <jan.kratochvil@redhat.com>
4762
4763 * gdb.python/py-finish-breakpoint.c (test_exec_exit): Change the
4764 parameter to self_exec, adjust the function.
4765 (main): Check for argv[1] "exit". Use argv[0] for test_exec_exit.
4766 * gdb.python/py-finish-breakpoint.exp (set var self_exec = 0): New test.
4767 (set var do_exit = 0): Remove test.
4768 (newline at end of file): Add one.
4769
4770 2011-12-27 Joel Brobecker <brobecker@adacore.com>
4771
4772 * gdb.base/dmsym.c, gdb.base/dmsym_main.c, gdb.base/dmsym.exp:
4773 New files.
4774
4775 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4776
4777 Fix racy FAILs.
4778 * gdb.threads/fork-thread-pending.c (barrier): New variable.
4779 (thread_function, thread_forker): Call pthread_barrier_wait for it.
4780 (main): Call pthread_barrier_init for it.
4781
4782 2011-12-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4783
4784 Fix double send_gdb leading to racy FAILs.
4785 * gdb.base/break.exp (set silent break bp_location1): Replace
4786 3x send_gdb and gdb_expect by gdb_test.
4787 * gdb.base/fileio.exp: Replace 2x send_gdb by gdb_exit and sleep.
4788 * gdb.base/foll-vfork.exp (vfork_and_exec_child_follow_to_main_bp)
4789 (vfork_and_exec_child_follow_through_step): Use gdb_test_no_output
4790 instead of send_gdb. Twice.
4791 * gdb.base/sepdebug.exp (set silent break bp_location1): Replace
4792 3x send_gdb and gdb_expect by gdb_test.
4793 * gdb.mi/mi-nsmoribund.exp: Replace 3x send_gdb by mi_gdb_test.
4794
4795 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4796
4797 * gdb.linespec/linespec.exp: Compile using {c++}.
4798
4799 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4800
4801 * gdb.cp/templates.exp (test_template_typedef): Import gdb_prompt.
4802 (print destructor of template typedef): Extend it for gcc/51668 XFAIL.
4803 (verify GCC PR debug/51668): New test.
4804
4805 2011-12-23 Kevin Pouget <kevin.pouget@st.com>
4806
4807 Introduce gdb.FinishBreakpoint in Python.
4808 * Makefile.in (EXECUTABLES): Add py-finish-breakpoint and
4809 py-finish-breakpoint2
4810 (MISCALLANEOUS): Add py-events-shlib.so and py-events-shlib-nodebug.so
4811 * gdb.python/py-breakpoint.exp (mult_line): Define and use variable
4812 instead of line number.
4813 * gdb.python/py-finish-breakpoint.c: New file.
4814 * gdb.python/py-finish-breakpoint.exp: New file.
4815 * gdb.python/py-finish-breakpoint.py: New file.
4816 * gdb.python/py-finish-breakpoint2.cc: New file.
4817 * gdb.python/py-finish-breakpoint2.exp: New file.
4818 * gdb.python/py-finish-breakpoint2.py: New file.
4819
4820 2011-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
4821
4822 Partial fix of compatibility with gcc-4.7.
4823 * gdb.cp/templates.exp (ptype T5<int>, ptype t5i): Turn all PASS cases
4824 into XFAIL "new without size_t". Permit size_t for the KFAIL case.
4825 Add comment to add a PASS case in the future.
4826
4827 Fix compatibility with gcc-4.7.
4828 * gdb.python/py-frame-inline.c (f): Use inline for __always_inline__.
4829
4830 2011-12-21 Ulrich Weigand <ulrich.weigand@linaro.org>
4831
4832 PR tdep/12797
4833 * gdb.base/callfuncs.exp: Remove KFAIL.
4834
4835 2011-12-21 Joel Brobecker <brobecker@adacore.com>
4836
4837 * gdb.ada/task_bp: New testcase.
4838
4839 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4840
4841 * gdb.base/reread.exp: If srcfile2 fails to build retry it with
4842 -DNO_SECTIONS.
4843 * gdb.base/reread2.c <!NO_SECTIONS>: New sections block.
4844
4845 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4846
4847 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Make
4848 PR gcc/45997 XFAIL conditional for gcc <= 4.5.
4849 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4850 Change PR gcc/41736 to the more specific PR gcc/46955. Make it
4851 conditional for gcc <= 4.5.
4852
4853 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4854
4855 * gdb.cp/ptype-cv-cp.exp (ptype v_volatile_const_my_int): Replace KFAIL
4856 by XFAIL.
4857 * gdb.cp/static-method.exp (info addr A::func())
4858 (list static-method.cc:xxx::(anonymous namespace)::A::func)
4859 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
4860 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
4861 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): Likewise.
4862 * gdb.cp/temargs.exp (test value of F in k2_m, test type of F in k3_m)
4863 (test value of F in k3_m): Likewise.
4864 * gdb.python/py-type.exp (python print ttype.template_argument(2)):
4865 Likewise.
4866
4867 2011-12-19 Jan Kratochvil <jan.kratochvil@redhat.com>
4868
4869 * gdb.threads/attach-stopped.exp (continue (*: attach2 continue))
4870 (*: attach2 stop interrupt, *: attach2, exit leaves process sleeping):
4871 Remove.
4872 * gdb.threads/attachstop-mt.c: Remove.
4873 * gdb.threads/attachstop-mt.exp: Remove.
4874
4875 2011-12-17 Mark Kettenis <kettenis@gnu.org>
4876
4877 * gdb.arch/amd64-i386-address.exp: Skip on *-*-openbsd*.
4878
4879 2011-12-16 Doug Evans <dje@google.com>
4880
4881 * boards/native-stdio-gdbserver.exp: New file.
4882 * boards/native-gdbserver.exp: New file.
4883
4884 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize stdio
4885 gdbserver output.
4886 (gdbserver_default_get_remote_address): New function.
4887 (gdbserver_start): Call gdb,get_remote_address to compute argument
4888 to "target remote" command.
4889
4890 2011-12-16 Phil Muldoon <pmuldoon@redhat.com>
4891
4892 * gdb.python/py-function.exp: Change "on" to "full" for
4893 python print-stack. Add set/show python print-stack
4894 off|full|message tests.
4895
4896 2011-12-15 Yao Qi <yao@codesourcery.com>
4897
4898 * gdb.trace/strace.c: New
4899 * gdb.trace/strace.exp: New.
4900
4901 2011-12-14 Tom Tromey <tromey@redhat.com>
4902
4903 * gdb.dwarf2/dw2-inline-param.exp: Log the objcopy command.
4904
4905 2011-12-14 Doug Evans <dje@google.com>
4906
4907 * lib/gdb.exp (gdb_start_cmd): Fix error return value.
4908
4909 2011-12-14 Pedro Alves <pedro@codesourcery.com>
4910
4911 PR threads/10729
4912
4913 * gdb.mi/watch-nonstop.c: New file.
4914 * gdb.mi/mi-watch-nonstop.exp: New file.
4915
4916 2011-12-13 Pedro Alves <pedro@codesourcery.com>
4917 Doug Evans <dje@google.com>
4918
4919 * lib/gdb.exp (gdb_run_cmd, runto_main, gdb_compile)
4920 (clean_restart): Remove references to the gdb_stub target board
4921 variable.
4922 (gdb_step_for_stub): Delete.
4923
4924 * gdb.base/annota1.exp: Remove all references to [target_info
4925 exists gdb_stub], gdb_step_for_stub and usestubs.
4926 * gdb.base/annota3.exp: Ditto.
4927 * gdb.base/async.exp: Ditto.
4928 * gdb.base/break.exp: Ditto.
4929 * gdb.base/code-expr.exp: Ditto.
4930 * gdb.base/commands.exp: Ditto.
4931 * gdb.base/completion.exp: Ditto.
4932 * gdb.base/condbreak.exp: Ditto.
4933 * gdb.base/consecutive.exp: Ditto.
4934 * gdb.base/cvexpr.exp: Ditto.
4935 * gdb.base/define.exp: Ditto.
4936 * gdb.base/display.exp: Ditto.
4937 * gdb.base/ena-dis-br.exp: Ditto.
4938 * gdb.base/environ.exp: Ditto.
4939 * gdb.base/gnu-ifunc.exp: Ditto.
4940 * gdb.base/maint.exp: Ditto.
4941 * gdb.base/pending.exp: Ditto.
4942 * gdb.base/sect-cmd.exp: Ditto.
4943 * gdb.base/sepdebug.exp: Ditto.
4944 * gdb.base/unload.exp: Ditto.
4945 * gdb.base/watchpoint-solib.exp: Ditto.
4946 * gdb.cp/annota2.exp: Ditto.
4947 * gdb.cp/annota3.exp: Ditto.
4948 * gdb.dwarf2/dw2-inline-param.exp: Ditto.
4949 * gdb.hp/gdb.compat/xdb1.exp: Ditto.
4950 * gdb.mi/mi-pending.exp: Ditto.
4951 * gdb.trace/circ.exp: Ditto.
4952 * gdb.cp/ovldbreak.exp: Ditto. Adjust expected line numbers.
4953 * gdb.base/list.exp: Ditto.
4954
4955 * gdb.base/all-types.c: Remove all calls to set_debug_traps and
4956 breakpoint function and all references to the usestubs macro.
4957 * gdb.base/exprs.c: Ditto.
4958 * gdb.base/freebpcmd.c: Ditto.
4959 * gdb.base/bitfields.c: Ditto.
4960 * gdb.base/bitfields2.c: Ditto.
4961 * gdb.base/break.c: Ditto.
4962 * gdb.base/call-sc.c: Ditto.
4963 * gdb.base/call-signals.c: Ditto.
4964 * gdb.base/callfuncs.c: Ditto.
4965 * gdb.base/charset.c: Ditto.
4966 * gdb.base/consecutive.c: Ditto.
4967 * gdb.base/constvars.c: Ditto.
4968 * gdb.base/funcargs.c: Ditto.
4969 * gdb.base/int-type.c: Ditto.
4970 * gdb.base/interrupt.c: Ditto.
4971 * gdb.base/langs0.c: Ditto.
4972 * gdb.base/list0.c: Ditto.
4973 * gdb.base/mips_pro.c: Ditto.
4974 * gdb.base/miscexprs.c: Ditto.
4975 * gdb.base/nodebug.c: Ditto.
4976 * gdb.base/opaque0.c: Ditto.
4977 * gdb.base/pointers.c: Ditto.
4978 * gdb.base/printcmds.c: Ditto.
4979 * gdb.base/ptype.c: Ditto.
4980 * gdb.base/recurse.c: Ditto.
4981 * gdb.base/reread1.c: Ditto.
4982 * gdb.base/reread2.c: Ditto.
4983 * gdb.base/restore.c: Ditto.
4984 * gdb.base/return.c: Ditto.
4985 * gdb.base/run.c: Ditto.
4986 * gdb.base/scope0.c: Ditto.
4987 * gdb.base/sepdebug.c: Ditto.
4988 * gdb.base/setshow.c: Ditto.
4989 * gdb.base/setvar.c: Ditto.
4990 * gdb.base/sigall.c: Ditto.
4991 * gdb.base/signals.c: Ditto.
4992 * gdb.base/structs.c: Ditto.
4993 * gdb.base/structs2.c: Ditto.
4994 * gdb.base/testenv.c: Ditto.
4995 * gdb.base/twice.c: Ditto.
4996 * gdb.base/unwindonsignal.c: Ditto.
4997 * gdb.base/watchpoint.c: Ditto.
4998 * gdb.base/watchpoints.c: Ditto.
4999 * gdb.base/whatis.c: Ditto.
5000 * gdb.cp/classes.cc: Ditto.
5001 * gdb.cp/cplusfuncs.cc: Ditto.
5002 * gdb.cp/derivation.cc: Ditto.
5003 * gdb.cp/formatted-ref.cc: Ditto.
5004 * gdb.cp/misc.cc: Ditto.
5005 * gdb.cp/overload.cc: Ditto.
5006 * gdb.cp/ovldbreak.cc: Ditto.
5007 * gdb.cp/ref-params.cc: Ditto.
5008 * gdb.cp/ref-types.cc: Ditto.
5009 * gdb.cp/templates.cc: Ditto.
5010 * gdb.cp/virtfunc.cc: Ditto.
5011 * gdb.hp/gdb.aCC/run.c: Ditto.
5012 * gdb.hp/gdb.base-hp/callfwmall.c: Ditto.
5013 * gdb.hp/gdb.compat/xdb0.c: Ditto.
5014 * gdb.reverse/consecutive-reverse.c: Ditto.
5015 * gdb.reverse/sigall-reverse.c: Ditto.
5016 * gdb.reverse/until-reverse.c: Ditto.
5017 * gdb.reverse/watch-reverse.c: Ditto.
5018 * gdb.trace/actions.c: Ditto.
5019 * gdb.trace/circ.c: Ditto.
5020 * gdb.trace/collection.c: Ditto.
5021
5022 2011-12-13 Pedro Alves <pedro@codesourcery.com>
5023
5024 * gdb.base/watchpoint.c (struct foo2, foo2, struct foo4, foo4)
5025 (func6, func7): New.
5026 (main): Call func6 and func7.
5027 * gdb.base/watchpoint.exp (test_wide_location_1)
5028 (test_wide_location_2): New.
5029 (top level): Re-enable hardware watchpoints if necessary. Call
5030 test_wide_location_1 and test_wide_location_2.
5031
5032 2011-12-11 Yao Qi <yao@codesourcery.com>
5033
5034 * gdb.trace/status-stop.exp: Skip it if target doesn't support trace.
5035
5036 2011-12-11 Joel Brobecker <brobecker@adacore.com>
5037
5038 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp: Adjust
5039 expected output for unsupported case.
5040
5041 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5042
5043 PR testsuite/12649
5044 * gdb.trace/ftrace.exp (test_fast_tracepoints): Import gdb_prompt.
5045 Protect gdb_test_multiple by final $gdb_prompt match.
5046
5047 2011-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5048
5049 * gdb.cp/static-method.exp (have_gcc_45682_fixed, info addr A::func()):
5050 New variable, new test.
5051 (list static-method.cc:xxx::(anonymous namespace)::A::func)
5052 (list 'static-method.cc:xxx::(anonymous namespace)::A::func')
5053 (list 'static-method.cc':'xxx::(anonymous namespace)::A::func')
5054 (list static-method.cc:'xxx::(anonymous namespace)::A::func'): KFAIL
5055 them if HAVE_GCC_45682_FIXED is not set.
5056
5057 2011-12-10 Yao Qi <yao@codesourcery.com>
5058
5059 * gdb.trace/status-stop.exp: New.
5060 * gdb.trace/status-stop.c: New.
5061
5062 2011-12-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5063
5064 * gdb.reverse/until-precsave.exp (run to end of main) Extend the
5065 timeout.
5066
5067 2011-12-08 Tom Tromey <tromey@redhat.com>
5068
5069 * gdb.cp/ovsrch.exp (test_class): Correctly use "a_param" in
5070 condition.
5071
5072 2011-12-07 Stan Shebs <stan@codesourcery.com>
5073
5074 * gdb.trace/tfind.exp: Update for output changes.
5075
5076 2011-12-07 Pedro Alves <pedro@codesourcery.com>
5077
5078 * gdb.ada/catch_ex.exp: Skip as unsupported if "catch exception"
5079 throws "Cannot insert catchpoints in this configuration".
5080 * gdb.ada/mi_catch_ex.exp: Likewise.
5081
5082 2011-12-06 Pedro Alves <pedro@codesourcery.com>
5083
5084 * gdb.base/break-always.exp: Test changing memory at addresses
5085 with breakpoints inserted.
5086
5087 2011-12-06 Joel Brobecker <brobecker@acacore.com>
5088
5089 * gdb.ada/fullname_bp.exp: Add tests for other valid linespecs
5090 involving a fully qualified function name.
5091
5092 2011-12-06 Tom Tromey <tromey@redhat.com>
5093
5094 * gdb.ada/homonym.exp: Add three breakpoint tests.
5095
5096 2011-12-06 Tom Tromey <tromey@redhat.com>
5097
5098 * gdb.base/solib-weak.exp (do_test): Remove kfail.
5099 * gdb.trace/tracecmd.exp: Disable pending breakpoints earlier.
5100 * gdb.objc/objcdecode.exp: Update for output changes.
5101 * gdb.linespec/linespec.exp: New file.
5102 * gdb.linespec/lspec.cc: New file.
5103 * gdb.linespec/lspec.h: New file.
5104 * gdb.linespec/body.h: New file.
5105 * gdb.linespec/base/two/thefile.cc: New file.
5106 * gdb.linespec/base/one/thefile.cc: New file.
5107 * gdb.linespec/Makefile.in: New file.
5108 * gdb.cp/templates.exp (test_template_breakpoints): Update for
5109 output changes.
5110 * gdb.cp/re-set-overloaded.exp: Remove kfail.
5111 * gdb.cp/ovldbreak.exp: Update for output changes. "all" test now
5112 makes one breakpoint.
5113 * gdb.cp/method2.exp (test_break): Update for output changes.
5114 * gdb.cp/mb-templates.exp: Update for output changes.
5115 * gdb.cp/mb-inline.exp: Update for output changes.
5116 * gdb.cp/mb-ctor.exp: Update for output changes.
5117 * gdb.cp/ovsrch.exp: Use fully-qualified names.
5118 * gdb.base/solib-symbol.exp: Run to main later. Breakpoint now
5119 has multiple matches.
5120 * gdb.base/sepdebug.exp: Disable pending breakpoints. Update for
5121 error message change.
5122 * gdb.base/list.exp (test_list_filename_and_number): Update for
5123 error message change.
5124 * gdb.base/break.exp: Disable pending breakpoints. Update for
5125 output changes.
5126 * configure.ac: Add gdb.linespec.
5127 * configure: Rebuild.
5128 * Makefile.in (ALL_SUBDIRS): Add gdb.linespec.
5129
5130 2011-12-06 Ulrich Weigand <uweigand@de.ibm.com>
5131
5132 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out read-only
5133 last_break register on s390*-*-* targets.
5134
5135 2011-12-06 Joel Brobecker <brobecker@adacore.com>
5136
5137 * gdb.ada/watch_arg/pck.ads, gdb.ada/watch_arg/pck.adb: New files.
5138 * gdb.ada/watch_arg/watch.adb: Adjust code to avoid modification
5139 of parameter X in procedure Foo.
5140
5141 2011-12-05 Stan Shebs <stan@codesourcery.com>
5142
5143 * gdb.trace/tfind.exp: Update help string matches.
5144
5145 2011-12-05 Jan Kratochvil <jan.kratochvil@redhat.com>
5146
5147 * gdb.server/ext-run.exp (get process list): Accept also systemd
5148 as PID 1.
5149
5150 2011-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5151 Pedro Alves <pedro@codesourcery.com>
5152
5153 * gdb.base/break-entry.exp: Move the target use_gdb_stub test before
5154 starting GDB.
5155 * gdb.base/default.exp: Replace target use_gdb_stub checks by global
5156 $use_gdb_stub.
5157 * gdb.base/display.exp: Likewise.
5158 * gdb.base/ending-run.exp: Likewise.
5159 * gdb.base/list.exp (test_listsize): Likewise.
5160 * gdb.base/setshow.exp: Likewise.
5161 * gdb.base/valgrind-db-attach.exp: Set global use_gdb_stub to 1.
5162 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd): Replace target use_gdb_stub
5163 check by global $use_gdb_stub.
5164 (gdb_test_multiple): Forbid run, start or attach for !$use_gdb_stub.
5165 (default_gdb_start): Set global use_gdb_stub from target use_gdb_stub.
5166 (default_gdb_init): Unset global $use_gdb_stub.
5167 (gdb_continue_to_end, rerun_to_main): Replace target use_gdb_stub check
5168 by global $use_gdb_stub.
5169 * lib/gdbserver-support.exp: Extend comments for set_board_info
5170 gdb_protocol and gdb,socketport.
5171 (gdbserver_start_extended): Set global gdbserver_protocol and
5172 gdbserver_gdbport. Clear global use_gdb_stub.
5173 * lib/mi-support.exp (default_mi_gdb_start): Set global use_gdb_stub
5174 from target use_gdb_stub.
5175 (mi_run_cmd): Replace target use_gdb_stub check by global $use_gdb_stub.
5176
5177 2011-12-03 Doug Evans <dje@google.com>
5178
5179 * lib/gdb.exp (gdb_run_cmd, gdb_start_cmd, run_to_main): Add comments.
5180 (gdb_step_for_stub): Add comments.
5181
5182 2011-12-02 Maciej W. Rozycki <macro@codesourcery.com>
5183
5184 * lib/gdb.exp (gdb_expect): Pass all the exception conditions up
5185 to the caller.
5186 (gdb_test_multiple): Likewise.
5187
5188 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5189
5190 Fix gdb.mi/mi-solib.exp without system debug info installed.
5191 * lib/mi-support.exp (mi_expect_stop): Accept FILE also for `from'
5192 expect attribute, return 0 for it. Update comments.
5193
5194 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5195
5196 * gdb.base/solib-corrupted.exp: Suppress test on is_remote target.
5197 (corrupted list): Adjust the expectation.
5198
5199 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5200
5201 PR threads/13448
5202 * gdb.dwarf2/dw2-var-zero-addr.S: New file.
5203 * gdb.dwarf2/dw2-var-zero-addr.exp: New file.
5204 * gdb.threads/tls-var-main.c: New file.
5205 * gdb.threads/tls-var.c: New file.
5206 * gdb.threads/tls-var.exp: New file.
5207
5208 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5209
5210 PR testsuite/12649
5211 * gdb.trace/collection.exp (gdb_collect_return_test): Import gdb_prompt.
5212 Protect gdb_test_multiple by final $gdb_prompt match.
5213 * gdb.trace/tspeed.exp (gdb_fast_trace_speed_test): Likewise.
5214 * gdb.trace/tstatus.exp (run_trace_experiment): Likewise.
5215 (test_tracepoints): Likewise.
5216
5217 2011-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5218
5219 PR breakpoints/13346
5220 * gdb.dwarf2/dw2-objfile-overlap-inner.S: New file.
5221 * gdb.dwarf2/dw2-objfile-overlap-outer.S: New file.
5222 * gdb.dwarf2/dw2-objfile-overlap.exp: New file.
5223
5224 2011-12-01 Joel Brobecker <brobecker@adacore.com>
5225
5226 * gdb.ada/homonym/pck.ads, gdb.ada/homonym/pck.adb: New files.
5227 * gdb.ada/homonym/homonym.adb: For use of all types defined
5228 locally inside both Get_Value subprograms.
5229
5230 2011-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5231
5232 Fix racy FAILs.
5233 * gdb.base/foll-exec.exp (zap_session): Use gdb_test_no_output instead
5234 of send_gdb.
5235
5236 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5237
5238 * gdb.base/testenv.exp: Skip on remote targets. Unset global
5239 environment variable after test completed.
5240
5241 2011-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5242
5243 * gdb.base/solib-nodir.exp: Skip if remote target.
5244 * gdb.base/gdb.fortran.exp: Use shlib= flag when linking main
5245 application. Call gdb_load_shlibs.
5246 * gdb.mi/mi-solib.exp: Use mi_load_shlibs instead of gdb_load_shlibs.
5247
5248 2011-11-29 Joel Brobecker <brobecker@adacore.com>
5249
5250 * gdb.base/infoline.c, gdb.base/infoline.exp: New files.
5251
5252 2011-11-28 Joel Brobecker <brobecker@adacore.com>
5253
5254 * gdb.ada/fullname_bp: New testcase.
5255
5256 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5257
5258 PR testsuite/12649
5259 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test #2):
5260 Wrap send_gdb into a new gdb_test.
5261
5262 Code cleanup.
5263 * gdb.reverse/i386-sse-reverse.exp (continue to end of sse4_test):
5264 Convert send_gdb and gdb_expect to gdb_test_multiple.
5265
5266 2011-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
5267
5268 * gdb.base/jit-so.exp (one_jit_test): Add testcase name to log message.
5269
5270 2011-11-23 Keith Seitz <keiths@redhat.com>
5271
5272 * lib/mi-support.exp (varobj_tree): New namespace and procs.
5273 (mi_varobj_tree_test_children_callback): New proc.
5274 (mi_walk_varobj_tree): New proc.
5275
5276 2011-11-22 Tom Tromey <tromey@redhat.com>
5277
5278 * lib/mi-support.exp (mi_run_cmd_full): Rename from mi_run_cmd.
5279 Add "use_mi_command" argument.
5280 (mi_run_cmd, mi_run_with_cli): New procs.
5281 * gdb.mi/solib-lib.c: New file.
5282 * gdb.mi/solib-main.c: New file.
5283 * gdb.mi/mi-solib.exp: New file.
5284
5285 2011-11-21 Doug Evans <dje@google.com>
5286
5287 * gdb.cp/nextoverthrow.exp: Skip test if debug info for
5288 _Unwind_DebugHook is missing.
5289
5290 2011-11-20 Stan Shebs <stan@codesourcery.com>
5291
5292 * gdb.trace/tstatus.exp: New.
5293 * gdb.trace/actions.c: Include string.h.
5294
5295 2011-11-18 Yao Qi <yao@codesourcery.com>
5296
5297 * gdb.trace/pending.exp: New.
5298 * gdb.trace/pending.c: New.
5299 * gdb.trace/pendshr1.c: New.
5300 * gdb.trace/pendshr2.c: New.
5301 * gdb.trace/change-loc.exp (tracepoint_change_loc_1): Check one
5302 tracepoint location becomes pending.
5303 (tracepoint_change_loc_2): New.
5304
5305 2011-11-16 David S. Miller <davem@davemloft.net>
5306
5307 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero when
5308 target is sparc*-*-linux*
5309
5310 2011-11-15 Paul Koning <paul_koning@dell.com>
5311
5312 * gdb.python/py-type.exp: New testcases for exceptions on scalar
5313 types.
5314
5315 2011-11-14 Doug Evans <dje@google.com>
5316
5317 * gdb.base/shell.exp: New file.
5318
5319 2011-11-14 Stan Shebs <stan@codesourcery.com>
5320
5321 * gdb.trace/ftrace.c: New.
5322 * gdb.trace/ftrace.exp: New.
5323
5324 2011-11-14 Yao Qi <yao@codesourcery.com>
5325
5326 * gdb.trace/change-loc-1.c: New.
5327 * gdb.trace/change-loc-2.c: New.
5328 * gdb.trace/change-loc.c: New.
5329 * gdb.trace/change-loc.exp: New.
5330 * gdb.trace/change-loc.h: New.
5331 * gdb.trace/trace-break.c (marker): Define new symbol.
5332 * gdb.trace/trace-break.exp (break_trace_same_addr_5):
5333 New.
5334 (break_trace_same_addr_6): New.
5335
5336 2011-11-12 Matt Rice <ratmice@gmail.com>
5337
5338 * gdb.base/info-macros.exp: Make tests for info definitions
5339 test info macro. Add tests for info macro argument processing.
5340 Rename a few tests.
5341
5342 2011-11-11 Keith Seitz <keiths@redhat.com>
5343
5344 PR gdb/12843
5345 * gdb.base/linespecs.exp: New file.
5346
5347 2011-11-11 Doug Evans <dje@google.com>
5348
5349 * gdb.threads/print-threads.exp: Extend timeout for slower
5350 tests.
5351
5352 2011-11-10 Doug Evans <dje@google.com>
5353
5354 * gdb.reverse/i387-env-reverse.exp: Extend timeout of
5355 "record to end of main" test.
5356
5357 * gdb.python/py-type.c (TS): New typedef.
5358 (ts): New global.
5359 * gdb.python/py-type.exp: Test field list of typedef.
5360
5361 2011-11-10 Joel Brobecker <brobecker@adacore.com>
5362
5363 * gdb.ada/small_reg_param: New testcase.
5364
5365 2011-11-09 Tom Tromey <tromey@redhat.com>
5366
5367 * gdb.cp/destrprint.exp: New file.
5368 * gdb.cp/destrprint.cc: New file.
5369
5370 2011-11-08 Meador Inge <meadori@codesourcery.com>
5371
5372 * gdb.arch/thumb-prologue.c (switch_stack_to_same): New test function.
5373 (switch_stack_to_other): New test function.
5374 * gdb.arch/thumb-prologue.exp: New test cases.
5375
5376 2011-11-08 Maciej W. Rozycki <macro@codesourcery.com>
5377
5378 * lib/mi-support.exp (mi_send_resuming_command_raw): Fix a typo.
5379
5380 2011-11-08 Yao Qi <yao@codesourcery.com>
5381
5382 * gdb.exp (supports_process_record): New.
5383 (supports_reverse): New.
5384 * gdb.reverse/break-precsave.exp: Call support_process_record
5385 to run test conditionally.
5386 * gdb.reverse/consecutive-precsave.exp: Likewise.
5387 * gdb.reverse/i386-precsave.exp: Likewise.
5388 * gdb.reverse/machinestate-precsave.exp: Likewise.
5389 * gdb.reverse/solib-precsave.exp: Likewise.
5390 * gdb.reverse/step-precsave.exp: Likewise.
5391 * gdb.reverse/until-precsave.exp: Likewise.
5392 * gdb.reverse/watch-precsave.exp: Likewise.
5393 * gdb.reverse/break-reverse.exp: Call support_reverse to run
5394 test conditionally.
5395 * gdb.reverse/consecutive-reverse.exp: Likewise.
5396 * gdb.reverse/finish-precsave.exp: Likewise.
5397 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5398 * gdb.reverse/finish-reverse.exp: Likewise.
5399 * gdb.reverse/i386-reverse.exp: Likewise.
5400 * gdb.reverse/i386-sse-reverse.exp: Likewise.
5401 * gdb.reverse/machinestate.exp: Likewise.
5402 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Likewise.
5403 * gdb.reverse/sigall-precsave.exp: Likewise.
5404 * gdb.reverse/sigall-reverse.exp: Likewise.
5405 * gdb.reverse/solib-reverse.exp: Likewise.
5406 * gdb.reverse/step-reverse.exp: Likewise.
5407 * gdb.reverse/until-reverse.exp: Likewise.
5408 * gdb.reverse/watch-reverse.exp: Likewise.
5409
5410 2011-11-05 Yao Qi <yao@codesourcery.com>
5411
5412 * gdb.trace/trace-break.exp: Add test on setting two
5413 fast tracepoints at the same address.
5414
5415 2011-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
5416
5417 * gdb.base/commands.exp (cmd1 error): Fix false ERROR with gdbserver.
5418
5419 2011-11-02 Stan Shebs <stan@codesourcery.com>
5420
5421 * gdb.trace/collection.c: Add code using strings.
5422 * gdb.trace/collection.exp: Add tests of string collection.
5423
5424 2011-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
5425
5426 * gdb.base/skip-solib.exp (executable_main): New variable.
5427 (binfile_main): Base it on that.
5428 Use $executable_main in clean_restart calls. Drop gdb_exit and
5429 gdb_start calls.
5430
5431 2011-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5432
5433 Fix racy FAILs.
5434 * lib/mi-support.exp (mi_gdb_test): Replace thread_selected_re and
5435 breakpoint_re globals import by async. Set string_regex to .* for
5436 async. Remove the optional thread_selected_re and breakpoint_re
5437 globals expectations.
5438
5439 2011-11-01 Joseph Myers <joseph@codesourcery.com>
5440
5441 * gdb.base/maint.exp: XFAIL "maint info sections DATA" on MinGW as
5442 well as Cygwin.
5443
5444 2011-11-01 Justin Lebar <justin.lebar@gmail.com>
5445
5446 Add tests for skip command.
5447 * gdb.base/skip-solib-lib.c: New
5448 * gdb.base/skip-solib-main.c: New
5449 * gdb.base/skip-solib.exp: New
5450 * gdb.base/skip.c: New
5451 * gdb.base/skip.exp: New
5452 * gdb.base/skip1.c: New
5453 * gdb.base/Makefile.in: Adding new files.
5454
5455 2011-10-31 Yao Qi <yao@codesourcery.com>
5456 Pedro Alves <pedro@codesourcery.com>
5457
5458 * gdb.trace/trace-break.c: New.
5459 * gdb.trace/trace-break.exp: New.
5460
5461 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5462
5463 * gdb.threads/no-unwaited-for-left.exp: Specify $srcfile for
5464 break-here-2.
5465
5466 2011-10-28 Pedro Alves <pedro@codesourcery.com>
5467
5468 * gdb.threads/no-unwaited-for-left.c: New.
5469 * gdb.threads/no-unwaited-for-left.exp: New.
5470 * gdb.threads/non-ldr-exc-1.c: New.
5471 * gdb.threads/non-ldr-exc-1.exp: New.
5472 * gdb.threads/non-ldr-exc-2.c: New.
5473 * gdb.threads/non-ldr-exc-2.exp: New.
5474 * gdb.threads/non-ldr-exc-3.c: New.
5475 * gdb.threads/non-ldr-exc-3.exp: New.
5476 * gdb.threads/non-ldr-exc-4.c: New.
5477 * gdb.threads/non-ldr-exc-4.exp: New.
5478
5479 2011-10-28 Jan Kratochvil <jan.kratochvil@redhat.com>
5480
5481 * gdb.base/async-shell.exp: Skip the testfile for use_gdb_stub.
5482 * gdb.base/attach-pie-misread.exp: Likewise.
5483 * gdb.base/break-interp.exp: Likewise.
5484 * gdb.base/default.exp (attach, run "r" abbreviation, run): Skip these
5485 testcases for use_gdb_stub.
5486 * gdb.dwarf2/dw2-restore.exp: Fix the run for use_gdb_stub.
5487 (continue): New testcase.
5488 * gdb.python/py-events.exp: Skip the testfile for use_gdb_stub.
5489 * gdb.threads/attach-into-signal.exp: Likewise.
5490 * gdb.threads/attach-stopped.exp: Likewise.
5491 * gdb.threads/attachstop-mt.exp: Likewise.
5492
5493 2011-10-28 Paul Koning <paul_koning@dell.com>
5494
5495 * gdb.python/lib-types.exp (deep_items): Rename from deepitems.
5496
5497 2011-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5498
5499 * lib/mi-support.exp (breakpoint_re): Suppress match reporting.
5500 (mi_gdb_test): Import globals thread_selected_re
5501 and breakpoint_re. Expect them optionally at the regex start.
5502
5503 2011-10-27 Doug Evans <dje@google.com>
5504
5505 * gdb.python/python.exp: Test source -s.
5506
5507 2011-10-26 Paul Koning <paul_koning@dell.com>
5508
5509 * gdb.python/lib-types.cc (struct A): New structure.
5510 * gdb.python/lib-types.exp (deepitems): New tests.
5511
5512 2011-10-25 Paul Koning <paul_koning@dell.com>
5513
5514 PR python/13327
5515
5516 * gdb.python/py-value.exp: Add testcases for is_lazy attribute,
5517 fetch_lazy method.
5518
5519 2011-10-24 Yao Qi <yao@codesourcery.com>
5520
5521 * lib/gdb.exp (can_single_step_to_signal_handler): Return 0 when
5522 target is tic6x-*-*.
5523
5524 2011-10-21 Joel Brobecker <brobecker@adacore.com>
5525
5526 * gdb.ada/mi_task_info/task_switch.adb: New file.
5527 * gdb.ada/mi_task_info.exp: New file.
5528
5529 2011-10-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5530
5531 * gdb.cp/expand-psymtabs-cxx.exp: New file.
5532 * gdb.cp/expand-psymtabs-cxx.cc: New file.
5533
5534 2011-10-20 Phil Muldoon <pmuldoon@redhat.com>
5535
5536 PR python/12656
5537
5538 * gdb.python/py-block.exp: Add is_global, is_static, static_block,
5539 global_block tests.
5540
5541 2011-10-18 Tom Tromey <tromey@redhat.com>
5542
5543 * gdb.base/jit-so.exp (one_jit_test): Remove spurious backslash.
5544
5545 2011-10-18 Tom Tromey <tromey@redhat.com>
5546
5547 * gdb.base/source.exp: Don't include full file name in test name.
5548 * gdb.python/python.exp: Don't include full file name in test
5549 name.
5550
5551 2011-10-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5552
5553 * gdb.base/attach-pie-noexec.c: New files.
5554 * gdb.base/attach-pie-noexec.exp: New files.
5555
5556 2011-10-17 Joseph Myers <joseph@codesourcery.com>
5557
5558 * lib/gdb.exp (gdb_test_multiple): Expect newline and secondary
5559 prompt for each extra line in command.
5560
5561 2011-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5562
5563 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.shl): KFAIL it.
5564 Revert the part of:
5565 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
5566 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
5567 Change the expected string.
5568
5569 2011-10-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5570
5571 Fix results with system glibc debug info installed.
5572 * gdb.base/disp-step-syscall.exp (continue to $syscall (1st time))
5573 (continue to $syscall (2nd time), continue to $syscall (3rd time)):
5574 Accept also __libc_ symbol prefix and no prefix.
5575
5576 2011-10-14 Keith Seitz <keiths@redhat.com>
5577
5578 PR c++/13225
5579 * gdb.cp/converts.cc (foo3_1): New function.
5580 (foo3_2): New functions.
5581 * gdb.cp/converts.exp: Add tests for int to pointer conversion
5582 and null pointer conversions of integer constant zero.
5583 Add test to check if all arguments are checked for incompatible
5584 conversion BADNESS.
5585
5586 2011-10-14 Tom Tromey <tromey@redhat.com>
5587
5588 * gdb.threads/attachstop-mt.exp: Add $srcfile to the linespecs.
5589 * gdb.threads/attach-stopped.exp (corefunc): Add $srcfile to the
5590 linespec.
5591
5592 2011-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5593
5594 Fix internal error regression.
5595 * gdb.dwarf2/implptr-optimized-out.S: New file.
5596 * gdb.dwarf2/implptr-optimized-out.exp: New file.
5597
5598 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5599
5600 Fix empty DWARF expressions DATA vs. SIZE conditionals.
5601 * gdb.dwarf2/dw2-op-call.S (arraycallnoloc, arraynoloc): New DIEs.
5602 (loclist): New.
5603 (4): New abbrev.
5604 * gdb.dwarf2/dw2-op-call.exp: Remove variable srcfile and executable.
5605 Use prepare_for_testing, remove clean_restart.
5606 (p arraynoloc, p arraycallnoloc): New tests.
5607
5608 2011-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5609
5610 * gdb.cp/namespace-enum.exp (executable): New variable.
5611 (binfile): Use ${objdir}/${subdir}/ prefix.
5612 Use ${executable} for clean_restart.
5613
5614 2011-10-11 Sterling Augustine <saugustine@google.com>
5615
5616 * gdb.cp/Makefile.in: Add namespace-enum test.
5617 * gdb.cp/namespace-enum.exp: New file.
5618 * gdb.cp/namespace-enum.c: New file.
5619 * gdb.cp/namespace-enum-main.c: New file.
5620
5621 2011-10-11 Ulrich Weigand <ulrich.weigand@linaro.org>
5622
5623 * gdb.python/py-shared.exp: Relax filename check to handle remote:
5624 sysroot.
5625
5626 2011-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5627
5628 Reimplement @entry in input expressions.
5629 * gdb.base/exprs.c (v_int_array_init): New variable.
5630 * gdb.base/exprs.exp (print v_int_array_init)
5631 (print *v_int_array_init@1, print *v_int_array_init@2)
5632 (print v_int_array_init[0]@1, print v_int_array_init[0]@2)
5633 (print v_int_array_init[1]@1): New tests.
5634
5635 2011-10-10 Joseph Myers <joseph@codesourcery.com>
5636
5637 * gdb.cp/gdb2495.exp: Do not include directories in filename in
5638 expected message.
5639
5640 2011-10-09 Doug Evans <dje@google.com>
5641
5642 * gdb.base/alias.exp: Add tests for alias command.
5643
5644 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5645
5646 * gdb.arch/amd64-entry-value.s: New file.
5647 * gdb.mi/mi2-amd64-entry-value.s: New file.
5648
5649 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5650
5651 Display @entry parameter values even for references.
5652 * gdb.arch/amd64-entry-value.cc (reference, datap, datap_input): New
5653 functions.
5654 (main): New variables regvar, nodatavarp, stackvar1, stackvar2. Call
5655 reference and datap_input.
5656 * gdb.arch/amd64-entry-value.exp (reference, breakhere_reference): New
5657 breakpoints.
5658 (continue to breakpoint: entry_reference: reference)
5659 (entry_reference: bt at entry)
5660 (continue to breakpoint: entry_reference: breakhere_reference)
5661 (entry_reference: bt, entry_reference: ptype regparam)
5662 (entry_reference: p regparam, entry_reference: ptype regparam@entry)
5663 (entry_reference: p regparam@entry, entry_reference: p &regparam@entry)
5664 (entry_reference: p regcopy, entry_reference: p nodataparam)
5665 (entry_reference: p nodataparam@entry): New tests.
5666
5667 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5668
5669 Support @entry in input expressions.
5670 * gdb.arch/amd64-entry-value.exp (entry: p i@entry, entry: p j@entry)
5671 (entry_stack: p s1@entry, entry_stack: p s2@entry)
5672 (entry_stack: p d9@entry, entry_stack: p da@entry, tailcall: p i@entry)
5673 (tailcall: p j@entry): New tests.
5674 * gdb.cp/koenig.cc (A::entry): New function.
5675 (main): Call it.
5676 * gdb.cp/koenig.exp (p entry (c)): New test.
5677
5678 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5679
5680 Display @entry parameter values (without references).
5681 * gdb.arch/amd64-entry-value.cc (locexpr, stacktest, data, data2)
5682 (different, validity, invalid): New functions.
5683 (main): Call them.
5684 * gdb.arch/amd64-entry-value.exp: New breakpoints breakhere_locexpr,
5685 stacktest, breakhere_stacktest, different, breakhere_different,
5686 breakhere_validity and breakhere_invalid.
5687 (entry: bt): Update for @entry.
5688 (entry_locexpr: *, entry_stack: *, entry_equal: *, entry_different: *)
5689 (entry_validity: *, entry_invalid: *): Many new tests.
5690 * gdb.base/break.exp
5691 (run until breakpoint set at small function, optimized file): Accept
5692 also the @entry suffix.
5693 * gdb.mi/Makefile.in (PROGS): Add mi2-amd64-entry-value.
5694 * gdb.mi/mi2-amd64-entry-value.c: New files.
5695 * gdb.mi/mi2-amd64-entry-value.exp: New files.
5696
5697 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5698
5699 Protect entry values against self tail calls.
5700 * gdb.arch/amd64-entry-value.cc (self2, self): New.
5701 (main): Call self.
5702 * gdb.arch/amd64-entry-value.exp (self: breakhere, self: bt)
5703 (set debug entry-values 1, self: bt debug entry-values): New tests.
5704
5705 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5706
5707 Recognize virtual tail call frames.
5708 * gdb.arch/amd64-entry-value.cc (c, a, b, amb_z, amb_y, amb_x, amb)
5709 (amb_b, amb_a): New.
5710 (main): Call a and b.
5711 * gdb.arch/amd64-entry-value.exp (tailcall: breakhere, tailcall: bt)
5712 (tailcall: p i, tailcall: p j, set $sp0=$sp, up, p $sp0 == $sp, frame 3)
5713 (p $sp0 + sizeof (void *) == $sp, ambiguous: breakhere, ambiguous: bt):
5714 New tests.
5715
5716 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5717
5718 Implement basic support for DW_TAG_GNU_call_site.
5719 * gdb.arch/Makefile.in (EXECUTABLES): Add amd64-entry-value.
5720 * gdb.arch/amd64-entry-value.cc: New file.
5721 * gdb.arch/amd64-entry-value.exp: New file.
5722
5723 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5724
5725 Fix DW_OP_GNU_implicit_pointer for DWARF32 v3+ on 64-bit arches.
5726 * gdb.dwarf2/implptr-64bit.S: New file.
5727 * gdb.dwarf2/implptr-64bit.exp: New file.
5728
5729 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5730
5731 Fix initial language detection with -readnow.
5732 * gdb.cp/readnow-language.cc: New file.
5733 * gdb.cp/readnow-language.exp: New file.
5734
5735 2011-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
5736
5737 Fix printed anonymous struct name.
5738 * gdb.cp/anon-struct.exp (print type of X::t2): New test.
5739
5740 2011-10-09 Joseph Myers <joseph@codesourcery.com>
5741
5742 * gdb.base/solib-symbol.exp: Do not include directories in
5743 filenames in expected messages.
5744
5745 2011-10-07 Doug Evans <dje@google.com>
5746
5747 * gdb.python/py-pp-maint.py: Add tests for `replace' arg.
5748
5749 2011-10-07 Kevin Pouget <kevin.pouget@st.com>
5750
5751 Allow Python notification of new object-file loadings.
5752 * gdb.python/py-events.exp: Test newobjfile event.
5753 * gdb.python/py-events.py: Register newobjfile callback.
5754 * gdb.python/py-events.c: Add call to shared library
5755 * gdb.python/py-events-shlib.c: New file.
5756
5757 2011-10-06 Joseph Myers <joseph@codesourcery.com>
5758
5759 * gdb.base/fixsection.exp: Do not include directories in filename
5760 in expected message.
5761
5762 2011-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
5763
5764 Add tests for passing of environment variables to inferior.
5765 * gdb.base/testenv.c: New test source.
5766 * gdb.base/testenv.exp: New expect test.
5767
5768 2011-10-04 Paul Koning <paul_koning@dell.com>
5769
5770 * gdb.python/py-value.c (main): Break before return.
5771
5772 2011-10-04 Kevin Pouget <kevin.pouget@st.com>
5773
5774 PR python/12691: Add the inferior to Python exited event
5775 * gdb.python/py-events.exp: Test the inferior attribute of exited
5776 event with a fork.
5777 * gdb.python/py-events.py: Print inferior number on exit.
5778 * gdb.python/py-events.c: Fork the inferior.
5779
5780 2011-10-03 Edjunior Machado <emachado@linux.vnet.ibm.com>
5781
5782 * gdb.base/jit.exp: Add testcase name to log message
5783
5784 2011-10-03 Paul Koning <paul_koning@dell.com>
5785 Jan Kratochvil <jan.kratochvil@redhat.com>
5786
5787 * gdb.python/py-value.exp
5788 (python inval = gdb.parse_and_eval('*(int*)0'))
5789 (python argc_lazy = gdb.parse_and_eval('argc'), sanity check argc)
5790 (set argc=2, python print argc_lazy): New tests.
5791
5792 2011-10-02 Joel Brobecker <brobecker@adacore.com>
5793
5794 * gdb.base/save-bp.exp, gdb.base/save-bp.c: New files.
5795
5796 2011-10-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5797 Pedro Alves <pedro@codesourcery.com>
5798
5799 * gdb.python/py-value.exp (test_value_in_inferior): New variable
5800 can_read_0, test for it.
5801 (python print gdb.parse_and_eval('*(int*)0')): Rename to ...
5802 (parse_and_eval with memory error): ... here, make it untested if
5803 can_read_0.
5804
5805 2011-09-30 Marek Polacek <mpolacek@redhat.com>
5806
5807 * gdb.python/python.exp (verify pagination beforehand)
5808 (verify pagination afterwards): Fix race by splitting the line.
5809
5810 2011-09-29 Joseph Myers <joseph@codesourcery.com>
5811
5812 * lib/gdb.exp (is_amd64_regs_target, is_x86_like_target): Allow
5813 for 64-bit multilibs from i?86-* targets.
5814
5815 2011-09-29 Marek Polacek <mpolacek@redhat.com>
5816
5817 * lib/gdb.exp: Fix a typo in one of the comments.
5818
5819 2011-09-29 Marek Polacek <mpolacek@redhat.com>
5820
5821 * gdb.base/foll-fork.exp: Fix race by adding "y or n" to the
5822 matching pattern.
5823
5824 2011-09-28 Paul Koning <paul_koning@dell.com>
5825
5826 * gdb.python/py-type.c (enum E): New.
5827 * gdb.python/py-type.exp (test_fields): Add tests for Python
5828 mapping access to fields.
5829 (test_enums): New test for field access on enums.
5830
5831 2011-09-27 Stan Shebs <stan@codesourcery.com>
5832
5833 * gdb.trace/collection.exp: Test collection of $_ret.
5834
5835 2011-09-22 Andreas Tobler <andreast@fgznet.ch>
5836
5837 * lib/gdb.exp (gdb_compile): Set rpath and remove -ldl from the
5838 list of compilation switches for <*-*-freebsd*>.
5839
5840 2011-09-19 Stan Shebs <stan@codesourcery.com>
5841
5842 * gdb.trace/tspeed.exp: New file.
5843 * gdb.trace/tspeed.c: New file.
5844
5845 2011-09-18 Yao Qi <yao@codesourcery.com>
5846
5847 * gdb.arch/arm-disp-step.S (test_ldr_literal): Test for Thumb
5848 instructions.
5849 (test_adr_32bit, test_pop_pc): Likewise.
5850 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New test for
5851 Thumb instructions.
5852 * gdb.arch/arm-disp-step.exp (test_ldm_stm_pc): Match $gdb_prompt
5853 in gdb_test_multiple.
5854 (test_ldr_literal_16, test_cbz_cbnz, test_adr): New.
5855
5856 2011-09-17 Yao Qi <yao@codesourcery.com>
5857
5858 * lib/gdb.exp (can_single_step_to_signal_handler): New.
5859 * gdb.base/kill-after-signal.exp: Call it. Skip if target doesn't
5860 support single step to signal handler.
5861
5862 2011-09-17 Yao Qi <yao@codesourcery.com>
5863
5864 * gdb.base/disp-step-fork.c: New.
5865 * gdb.base/disp-step-syscall.exp: New.
5866 * gdb.base/disp-step-vfork.c: New.
5867
5868 2011-09-16 Joel Brobecker <brobecker@adacore.com>
5869
5870 * gdb.ada/tasks.exp: Make the expected output for
5871 the `info tasks' tests more resilient to spacing
5872 changes.
5873
5874 2011-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5875
5876 * gdb.python/py-evthreads.exp (Run to breakpoint 1)
5877 (reached breakpoint 2, reached breakpoint 3): Update expected output.
5878
5879 2011-09-15 Kevin Pouget <kevin.pouget@st.com>
5880
5881 PR Python/12692 Add gdb.selected_inferior() to Python interface.
5882 * gdb.python/py-inferior.exp: Add testcase for gdb.selected_inferior().
5883
5884 2011-04-30 Kevin Pouget <kevin.pouget@st.com>
5885
5886 Handle multiple breakpoint hits in Python interface:
5887 * gdb.python/py-events.exp: Set a duplicate breakpoint and check its
5888 presence.
5889 * gdb.python/py-events.py (breakpoint_stop_handler): Browse all the
5890 breakpoint hits.
5891
5892 2011-09-13 Sami Wagiaalla <swagiaal@redhat.com>
5893 Jan Kratochvil <jan.kratochvil@redhat.com>
5894
5895 * gdb.python/py-events.exp: Remove pretty printing comment.
5896 * gdb.python/py-evsignal.exp: New file.
5897 * gdb.python/py-evthreads.c: Include signal.h.
5898 (thread3): Remove variable count3. Remove variable bad and use raise
5899 instead.
5900 (thread2): Remove variable count2. Move thread3 pthread_create here,
5901 merge pthread_join to a single line.
5902 (main): Remove variable count1. Merge pthread_join with pthread_create
5903 to a single line.
5904 * gdb.python/py-evthreads.exp: Remove pretty printing comment. New
5905 KFAIL python/12966 for gdbserver. Test return value of
5906 gdb_compile_pthreads. Use gdb_run_cmd. Replace send_gdb and
5907 gdb_expect by gdb_test and gdb_test_multiple.
5908 (thread 2, thread 3): New tests.
5909
5910 2011-09-12 Matt Rice <ratmice@gmail.com>
5911 Pedro Alves <pedro@codesourcery.com>
5912
5913 PR gdb/13175
5914
5915 * gdb.base/interp.exp: New tests.
5916 * gdb.base/interp.c: New file.
5917
5918 2011-09-12 Doug Evans <dje@google.com>
5919
5920 * gdb.dwarf2/clztest.exp: Fix initialization of tests array.
5921 * gdb.dwarf2/typeddwarf.exp: Ditto.
5922
5923 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5924
5925 Fix compatibility with x32 arch.
5926 * testsuite/gdb.dwarf2/typeddwarf.exp: Check also is_lp64_target.
5927 * testsuite/gdb.trace/backtrace.exp: Use is_amd64_regs_target and
5928 is_x86_like_target.
5929 * testsuite/gdb.trace/collection.exp: Likewise.
5930 * testsuite/gdb.trace/report.exp: Likewise.
5931 * testsuite/gdb.trace/unavailable.exp: Likewise.
5932 * testsuite/gdb.trace/while-dyn.exp: Likewise.
5933 * testsuite/lib/gdb.exp (is_amd64_regs_target): New function.
5934 (is_x86_like_target): Check also is_amd64_regs_target.
5935
5936 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5937
5938 PR breakpoints/12435
5939 * gdb.arch/amd64-prologue-xmm.c: New file.
5940 * gdb.arch/amd64-prologue-xmm.exp: New file.
5941 * gdb.arch/amd64-prologue-xmm.s: New file.
5942
5943 2011-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
5944
5945 * gdb.dwarf2/dw2-param-error-main.c: New file.
5946 * gdb.dwarf2/dw2-param-error.S: New file.
5947 * gdb.dwarf2/dw2-param-error.exp: New file.
5948
5949 2011-09-08 Pedro Alves <pedro@codesourcery.com>
5950
5951 * gdb.base/annota1.exp, gdb.base/annota3.exp: Extract the
5952 inferior's pid and look for a core dump named core.$pid. Use
5953 `remote_file' commands on the host instead of hand coding shell
5954 commands on the build.
5955 * gdb.base/valgrind-db-attach.exp: Kill the program before
5956 finishing the test.
5957
5958 2011-09-02 Matt Rice <ratmice@gmail.com>
5959
5960 * lib/prompt.exp: New file for testing the first prompt.
5961 * gdb.python/py-prompt.exp: Ditto.
5962 * gdb.python/py-prompt.c: Ditto (copy of ext-attach.c).
5963
5964 2011-09-02 Pedro Alves <pedro@codesourcery.com>
5965
5966 * gdb.threads/gcore-thread.exp: Set the global core_supported to
5967 0, before testing gcore.
5968
5969 2011-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
5970
5971 * dw2-ifort-parameter-debug.S: Update copyright year.
5972 * dw2-ifort-parameter.c: Update copyright year.
5973 * dw2-ifort-parameter.exp: Update copyright year.
5974
5975 * dw2-ifort-parameter-debug.S: New file.
5976 * dw2-ifort-parameter.c: New file.
5977 * dw2-ifort-parameter.exp: New file.
5978
5979 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5980
5981 * gdb.base/commands.exp (error_clears_commands_left): New function.
5982 (): Call it.
5983
5984 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
5985
5986 * gdb.mi/mi-inheritance-syntax-error.cc (A): Make `a' public.
5987 (C): Initialize `a'.
5988 * gdb.mi/mi-inheritance-syntax-error.exp
5989 (-data-evaluate-expression $path): Expect `a' as 5.
5990
5991 2011-08-26 Marc Khouzam <marc.khouzam@ericsson.com>
5992
5993 PR mi/11912
5994 * gdb.mi/mi-inheritance-syntax-error.cc: New file.
5995 * gdb.mi/mi-inheritance-syntax-error.exp: New file.
5996 * gdb.mi/mi-var-cp.cc: Updated for new 'class'
5997 keyword in output of -var-info-path-expression.
5998
5999 2011-08-26 Jan Kratochvil <jan.kratochvil@redhat.com>
6000
6001 * gdb.trace/backtrace.exp: Use is_lp64_target to check 64bit target.
6002 * gdb.trace/collection.exp: Likewise.
6003 * gdb.trace/report.exp: Likewise.
6004 * gdb.trace/unavailable.exp: Likewise.
6005 * gdb.trace/while-dyn.exp: Likewise.
6006
6007 2011-08-18 Keith Seitz <keiths@redhat.com>
6008
6009 PR c++/12266
6010 * gdb.cp/meth-typedefs.cc: New file.
6011 * gdb.cp/meth-typedefs.exp: New file.
6012
6013 2011-08-17 Phil Muldoon <pmuldoon@redhat.com>
6014
6015 * gdb.python/python.exp: Add extended-prompt tests.
6016
6017 2011-08-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6018
6019 * gdb.arch/i386-dr3-watch.exp
6020 (watchpoint on gap1 does not fit debug registers)
6021 (delete all watchpoints): Fix racy expect strings.
6022
6023 2011-08-14 Yao Qi <yao@codesourcery.com>
6024
6025 * gdb.base/maint.exp: set data_section to ".neardata".
6026 * gdb.base/savedregs.c (thrower): Trigger SIGILL on NO-MMU machine.
6027 * gdb.base/savedregs.exp: Handle SIGILL.
6028 * gdb.mi/mi-syn-frame.c (bar): Trigger SIGILL on NO-MMU machine.
6029 * gdb.xml/tdesc-regs.exp: Set core-regs for tic6x-*-*.
6030
6031 2011-08-12 Doug Evans <dje@google.com>
6032
6033 * gdb.python/py-symbol.exp: Add test for symbol.type.
6034
6035 2011-08-12 Ulrich Weigand <ulrich.weigand@linaro.org>
6036
6037 * gdb.threads/pthreads.exp: Enable on non-native configurations.
6038 * gdb.mi/mi-pthreads.exp: Likewise.
6039 * gdb.mi/mi2-pthreads.exp: Likewise.
6040 * gdb.mi/gdb669.exp.exp: Likewise.
6041
6042 2011-08-09 Pedro Alves <pedro@codesourcery.com>
6043
6044 * lib/mi-support.exp (detect_async): Rename to...
6045 (mi_detect_async): ... this.
6046 * gdb.mi/mi-nonstop-exit.exp: Adjust.
6047 * gdb.mi/mi-nonstop.exp: Adjust.
6048 * gdb.mi/mi-ns-stale-regcache.exp: Adjust.
6049 * gdb.mi/mi-nsintrall.exp: Adjust.
6050 * gdb.mi/mi-nsmoribund.exp: Adjust.
6051 * gdb.mi/mi-nsthrexec.exp: Adjust.
6052
6053 2011-08-09 Pedro Alves <pedro@codesourcery.com>
6054
6055 * gdb.base/display.c (do_loops): New `p_i' local.
6056 * gdb.base/display.exp: Test displaying a variable that is
6057 temporarily at a bad address.
6058
6059 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6060
6061 * gdb.dwarf2/dw2-op-stack-value.S: New file.
6062 * gdb.dwarf2/dw2-op-stack-value.exp: New file.
6063
6064 2011-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
6065
6066 * gdb.dwarf2/dw2-simple-locdesc.S: Replace .value by .2byte.
6067 * gdb.dwarf2/dw2-case-insensitive.exp (regexp case-sensitive off)
6068 (p fuNC_symtab): Permit also ppc64 leading dot.
6069
6070 2011-08-05 Pedro Alves <pedro@codesourcery.com>
6071
6072 * gdb.trace/unavailable.exp (test_maybe_regvar_display): New
6073 procedure.
6074 (gdb_collect_args_test, gdb_collect_locals_test): Use it.
6075
6076 2011-08-05 Yao Qi <yao@codesourcery.com>
6077
6078 * gdb.base/callfuncs.exp: Set language after main.
6079 * gdb.cp/cplusfuncs.exp: Likewise.
6080 * gdb.cp/inherit.exp: Likewise.
6081
6082 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6083
6084 * gdb.base/nostdlib.exp: Skip on gdb_stub targets.
6085 * gdb.base/watch-vfork.exp: Skip on remote targets.
6086
6087 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6088
6089 * gdb.threads/thread-find.exp: Support remote targets.
6090
6091 2011-08-04 Ulrich Weigand <ulrich.weigand@linaro.org>
6092
6093 * gdb.base/jit.exp: Download solib_binfile to target.
6094 * gdb.base/jit-so.exp: Likewise. Also, use gdb_load_shlibs
6095 and call dlopen without full path name.
6096 * gdb.cp/infcall-dlopen.exp: Use gdb_load_shlibs and call
6097 dlopen without full path name.
6098
6099 2011-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
6100
6101 * gdb.base/break-always.exp: Complete the test
6102 with duplicated breakpoints and enabling/disabling them.
6103
6104 2011-08-02 Tom Tromey <tromey@redhat.com>
6105
6106 PR gdb/11289:
6107 * gdb.cp/overload.exp: Fix regexps. Remove kfails.
6108
6109 2011-08-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6110
6111 PR gdb/13045
6112 * gdb.base/float.exp: Add new test case for PR gdb/13045
6113 * gdb.base/float.c: New file.
6114
6115 2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
6116
6117 * gdb.python/py-mi.exp: Test printers returning string hint, and
6118 also not returning a value.
6119 * gdb.python/py-prettyprint.c: Add testcase for above.
6120 * gdb.python/py-prettyprint.py: Add test printer for above.
6121
6122 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6123
6124 * gdb.dwarf2/dw2-simple-locdesc.S: Change DWARF version to 3.
6125 (.Ldie26, .Ldie41, .Ldie4a, .Ldie54, .Ldie5b): Remove.
6126 (.Ldie30) Add as field "data4".
6127 (.Ldie32) Rename field "b" to "shl".
6128 (abbrev4) Change for the "data4" field.
6129 (abbrev5, abbrev6) Remove.
6130 * gdb.dwarf2/dw2-simple-locdesc.exp (p &s.b): Rename to ...
6131 (p &s.shl): ... here. Add comment.
6132 (p &s.data4): New.
6133
6134 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6135
6136 Fix crash on lval_computed values.
6137 * gdb.dwarf2/implptr.exp (print sizeof (j[0])): New test.
6138
6139 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6140
6141 * gdb.base/help.exp (help whatis): Update the expected string.
6142
6143 2011-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6144
6145 * gdb.dwarf2/dw2-simple-locdesc.S: New file.
6146 * gdb.dwarf2/dw2-simple-locdesc.exp: New file.
6147 * gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
6148 Change the expected string.
6149
6150 2011-07-26 Pedro Alves <pedro@codesourcery.com>
6151
6152 * gdb.base/watchpoint.exp
6153 (test_disable_enable_software_watchpoint): New procedure.
6154 (top level): Run it.
6155
6156 2011-07-26 Ulrich Weigand <ulrich.weigand@linaro.org>
6157
6158 * gdb.python/py-mi.exp: Avoid '+' in filenames. Call C version of
6159 executable file "${binfile}", C++ version "${binfile}-cxx".
6160 * gdb.python/py-prettyprint.exp: Likewise.
6161 * gdb.python/py-symbol.exp: Likewise.
6162 * gdb.python/py-type.exp: Likewise.
6163 * gdb.python/py-value.exp: Likewise.
6164 * gdb.python/py-template.exp (test_template_arg): Pass full executable
6165 file name instead of just suffix.
6166
6167 2011-07-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6168
6169 Fix implicit pointer offsets.
6170 * gdb.dwarf2/implptr.c (add): New marker baz breakpoint.
6171 * gdb.dwarf2/implptr.exp (set baz breakpoint for implptr)
6172 (continue to breakpoint: continue to baz breakpoint for implptr)
6173 (sanity check element 0, sanity check element 1)
6174 (enter the inlined function, check element 0 for the offset)
6175 (check element 1 for the offset)
6176 (continue to breakpoint: ignore the second baz breakpoint): New tests.
6177 (set foo breakpoint for implptr): Update the breakpoint number.
6178
6179 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6180
6181 * gdb.python/py-mi.exp: Use different file names for different
6182 versions of the executable under test.
6183 * gdb.python/py-prettyprint.exp: Likewise.
6184 * gdb.python/py-symbol.exp: Likewise.
6185 * gdb.python/py-template.exp: Likewise.
6186 * gdb.python/py-type.exp: Likewise.
6187 * gdb.python/py-value.exp: Likewise.
6188
6189 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6190
6191 * gdb.python/py-breakpoint.exp: Re-set can-use-hw-watchpoints
6192 flag after restarting GDB if necessary.
6193
6194 2011-07-22 Ulrich Weigand <ulrich.weigand@linaro.org>
6195
6196 * gdb.python/py-shared.exp: Call gdb_load_shlibs.
6197
6198 2011-07-22 Pedro Alves <pedro@codesourcery.com>
6199
6200 * gdb.arch/i386-dr3-watch.exp: Test that the i386 watchpoints
6201 backend doesn't leave used debug registers behind.
6202
6203 2011-07-22 Tom Tromey <tromey@redhat.com>
6204
6205 * gdb.dwarf2/typeddwarf.c: XFAIL 'z' on x86-64.
6206 * gdb.dwarf2/typeddwarf.exp (xfail-gdb-test): Add arch_pattern
6207 argument.
6208 * gdb.dwarf2/typeddwarf-amd64.S: New file.
6209
6210 2011-07-21 Matt Rice <ratmice@gmail.com>
6211
6212 * gdb.threads/Makefile.in: Avoid globbing corethreads.exp
6213 in mostlyclean rule. Add files ending in .core.
6214
6215 2011-07-21 Matt Rice <ratmice@gmail.com>
6216
6217 PR macros/12999
6218 * gdb.base/info-macros.c: New test sources.
6219 * gdb.base/info-macros.exp: New tests.
6220
6221 2011-07-21 Phil Muldoon <pmuldoon@redhat.com>
6222
6223 * gdb.python/python.exp: Add prompt substitution tests.
6224
6225 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6226
6227 Fix crash if referenced CU is aged out.
6228 * gdb.dwarf2/dw2-op-call.exp (maintenance set dwarf2 max-cache-age 0):
6229 New.
6230 * gdb.dwarf2/implptr.exp: Likewise.
6231
6232 2011-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6233
6234 * gdb.dwarf2/implptr.S: Rebuilt.
6235 * gdb.dwarf2/implptr.c (intp, intpp, intppp): New typedefs.
6236 (bar): Use them for j, k, l.
6237 * gdb.dwarf2/implptr.exp: New variable opts. Support runtest parameter
6238 COMPILE.
6239 (print j in implptr:bar): Update for the intp typedef.
6240 (print p[0].x in implptr:foo): Use more exact regex.
6241
6242 2011-07-18 Tom Tromey <tromey@redhat.com>
6243
6244 * gdb.cp/static-method.exp: Add missing single quote.
6245
6246 2011-07-18 Yao Qi <yao@codesourcery.com>
6247
6248 * gdb.base/async-shell.exp: Skip test if displaced stepping is not
6249 supported.
6250 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6251 * gdb.mi/mi-nonstop.exp: Likewise.
6252 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6253 * gdb.mi/mi-nsintrall.exp: Likewise.
6254 * gdb.mi/mi-nsmoribund.exp: Likewise.
6255 * gdb.mi/mi-nsthrexec.exp: Likewise.
6256 * gdb.python/py-evthreads.exp: Likewise.
6257
6258 2011-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
6259
6260 Code cleanup.
6261 * gdb.cp/namespace.exp (xfail_class_types): New variable. Initialize
6262 it. Substitute it instead of test_compiler_info everywhere.
6263
6264 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6265
6266 * gdb.base/type-opaque.exp: Use gdb_load_shlibs. Run test on
6267 remote targets as well.
6268
6269 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6270
6271 * lib/gdb.exp (gdb_compile_shlib_pthreads): New helper.
6272 * gdb.threads/tls-shared.exp: Use it. Call gdb_load_shlibs.
6273
6274 2011-07-15 Ulrich Weigand <ulrich.weigand@linaro.org>
6275
6276 * lib/gdb.exp (gdb_compile): Specify rpath if the *target* is
6277 a remote machine, not the host.
6278 (gdb_compile_shlib): Set soname if target is remote.
6279
6280 2011-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6281
6282 * gdb.cp/minsym-fallback.exp: Link in C++ mode.
6283
6284 2011-07-13 Matt Rice <ratmice@gmail.com>
6285
6286 * gdb.python/py-objfile-script-gdb.py: Renamed to
6287 py-objfile-script-gdb.py.in.
6288 * gdb.python/py-objfile-script-gdb.py.in: Renamed from
6289 py-objfile-script-gdb.py.
6290 * gdb.python/py-objfile-script.exp: Update reference to
6291 py-objfile-script-gdb.py.
6292
6293 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
6294
6295 * gdb.dwarf2/dw2-op-call.S (array1): Use the real label; do not
6296 reference undefined label.
6297
6298 2011-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6299
6300 * gdb.dwarf2/dw2-const.S (Pointer size): Change from 4 to 8.
6301 (DW_AT_high_pc, DW_AT_low_pc): Remove them.
6302 (val8, .Ltype_const8, .Ltype_int8, DW_TAG_variable): New.
6303 * gdb.dwarf2/dw2-const.exp (print/x val8): New test.
6304
6305 2011-07-11 Phil Muldoon <pmuldoon@redhat.com>
6306
6307 PR python/12438
6308 * gdb.python/python.exp: Add maint set/show python print-stack
6309 deprecated tests. Add set/show python print-backtrace tests.
6310
6311 2011-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6312
6313 * gdb.java/jprint.exp (print a java.lang.String): xfail without system
6314 debug info.
6315
6316 2011-07-06 Matt Rice <ratmice@gmail.com>
6317
6318 * gdb.python/python.exp: Update filename paths.
6319 * gdb.python/py-symtab.exp: Ditto.
6320
6321 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6322
6323 * gdb.python/py-evthreads.exp: Add missing `$'.
6324
6325 2011-07-06 Jie Zhang <jie.zhang@analog.com>
6326
6327 * config/bfin.exp: New file.
6328 * gdb.asm/asm-source.exp (bfin-*-*): Handle Blackfin targets.
6329 * gdb.asm/bfin.inc: New file.
6330
6331 2011-07-06 Marek Polacek <mpolacek@redhat.com>
6332
6333 * gdb.python/py-evthreads.exp: Fix race by adding an anchor to match
6334 the whole output.
6335
6336 2011-07-05 Tom Tromey <tromey@redhat.com>
6337
6338 * gdb.java/jprint.java (jprint.hi): New field.
6339 * gdb.java/jprint.exp: Print string.
6340
6341 2011-07-05 Thiago Jung Bauermann <bauerman.ibm.com>
6342
6343 * gdb.base/call-sc.c: Fix typos.
6344 * gdb.base/ifelse.exp: Likewise.
6345 * gdb.base/structs.c: Likewise.
6346
6347 2011-07-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6348
6349 * gdb.base/jit-so.exp: New test.
6350 * gdb.base/jit-dlmain.c: New file.
6351 * gdb.base/jit-main.c: Allow "main" to be elsewhere.
6352
6353 2011-07-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6354
6355 * gdb.cp/m-static.exp: Call get_compiler_info.
6356 (static const int initialized nowhere): Call setup_xfail for gcc <= 4.4.
6357 * gdb.cp/pr9167.exp (p b): Likewise.
6358 * gdb.cp/temargs.exp: Do not set have_pr_45024_fixed for gcc 4.6.
6359 (test value of P in inner_m, test type of Z in inner_m): Call
6360 setup_xfail for gcc <= 4.5.
6361
6362 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6363
6364 * gdb.cp/paren-type.cc: New files.
6365 * gdb.cp/paren-type.exp: New files.
6366
6367 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6368
6369 Stop on first linespec terminator instead of eating what we can.
6370 * gdb.cp/minsym-fallback-main.cc (main): Call also C::operator ().
6371 * gdb.cp/minsym-fallback.cc (C::operator ()): Define.
6372 * gdb.cp/minsym-fallback.exp (break 'C::f()'): Change to ...
6373 (break C::f()): ... this one.
6374 (break C::operator()()): New test.
6375 * gdb.cp/minsym-fallback.h (C::operator ()): Declare.
6376 * gdb.java/jmisc.exp (break jmisc.main(java.lang.String[])int): New
6377 test.
6378
6379 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6380
6381 Fall back linespec to minimal symbols.
6382 * gdb.base/psymtab.exp (Don't search past end of psymtab.): Update the
6383 error message.
6384 * gdb.cp/cplusfuncs.exp (list foo::operator int*): Likewise.
6385 * gdb.cp/minsym-fallback-main.cc: New file.
6386 * gdb.cp/minsym-fallback.cc: New file.
6387 * gdb.cp/minsym-fallback.exp: New file.
6388 * gdb.cp/minsym-fallback.h: New file.
6389
6390 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6391
6392 * gdb.cp/no-dmgl-verbose.cc: New file.
6393 * gdb.cp/no-dmgl-verbose.exp: New file.
6394
6395 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6396
6397 * gdb.base/break-interp.exp (reach_1, test_ld): Allow also the prefix
6398 __GI_.
6399 * gdb.cp/psymtab-parameter.cc (func): Make it a template function.
6400 (f): New function.
6401 * gdb.cp/psymtab-parameter.exp (complete break 'func(): Rename to ...
6402 (complete p 'func<short>(): ... here.
6403 * gdb.dwarf2/dw2-linkage-name-trust-main.cc: New file.
6404 * gdb.dwarf2/dw2-linkage-name-trust.S: New file.
6405 * gdb.dwarf2/dw2-linkage-name-trust.exp: New file.
6406 * gdb.cp/temargs.exp (test type of F in k3_m, test value of F in k3_m):
6407 Make them KFAIL gcc/49546.
6408
6409 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6410
6411 * gdb.ada/catch_ex.exp: Add temporary catchpoint tests.
6412
6413 2011-07-01 Jan Kratochvil <jan.kratochvil@redhat.com>
6414
6415 Test GCC PR debug/49546.
6416 * gdb.cp/temargs.exp (set sixth breakpoint for temargs)
6417 (test type of F in k3_m, test value of F in k3_m): New.
6418 * gdb.cp/temargs.cc (struct S3, struct K3): New.
6419 (main): New variable k3. Call k3.k3_m.
6420
6421 2011-07-01 Jean-Charles Delay <delay@adacore.com>
6422
6423 * gdb.ada/packed_array.exp: Fix expected outout.
6424
6425 2011-07-01 Jean-Charles Delay <delay@adacore.com>
6426
6427 * gdb.ada/packed_array.exp: fixed expected output.
6428
6429 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6430
6431 * gdb.ada/same_enum: New testcase.
6432
6433 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6434
6435 * gdb.ada/ptr_typedef: New testcase.
6436
6437 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6438
6439 * gdb.ada/arrayptr.exp: Add ptype test.
6440
6441 2011-07-01 Joel Brobecker <brobecker@adacore.com>
6442
6443 * gdb.ada/char_enum: New testcase.
6444
6445 2011-07-01 Yao Qi <yao@codesourcery.com>
6446
6447 * gdb.base/dump.exp (capture_pointer_with_type): New.
6448 Get value from address instead of name.
6449 Start GDB once, and do `dump' and `restore'
6450 tests together.
6451
6452 2011-06-30 Jie Zhang <jie.zhang@analog.com>
6453 Mike Frysinger <vapier@gentoo.org>
6454
6455 * config/monitor.exp (get_remotetimeout, set_remotetimeout): New
6456 helper functions for getting/setting remotetimeout variable.
6457 * lib/gdb.exp (gdb_load): If the target is remote, set
6458 $oldremotetimeout to get_remotetimeout, then call set_remotetimeout
6459 with $loadtimeout. Set $load_ok to 0 before doing the load.
6460 Instead of returning, immediately, set $load_ok to 0. Call
6461 set_remotetimeout with $oldremotetimeout, and then return if
6462 $load_ok is 1.
6463
6464 2011-06-30 Andrew Burgess <aburgess@broadcom.com>
6465
6466 * gdb.python/py-template.exp: Don't run this test if the target
6467 does not support c++ tests.
6468
6469 2011-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6470
6471 Fix non-only rename list for Fortran modules import.
6472 * gdb.fortran/module.exp (print var_x, print var_y, print var_z): New
6473 tests.
6474 * gdb.fortran/module.f90 (module moduse): New.
6475 (program module): use moduse, test var_x, var_y and var_z.
6476
6477 2011-06-29 Tom Tromey <tromey@redhat.com>
6478
6479 PR testsuite/12040:
6480 * gdb.fortran/array-element.exp: Use f90, not f77.
6481 * gdb.fortran/complex.exp: Use f90, not f77.
6482 * gdb.fortran/derived-type.exp: Use f90, not f77.
6483 * gdb.fortran/library-module.exp: Use f90, not f77.
6484 * gdb.fortran/logical.exp: Use f90, not f77.
6485 * gdb.fortran/module.exp: Use f90, not f77.
6486 * gdb.fortran/multi-dim.exp: Use f90, not f77.
6487 * gdb.fortran/subarray.exp: Use f90, not f77.
6488
6489 2011-06-29 Tom Tromey <tromey@redhat.com>
6490
6491 * gdb.fortran/charset.exp: New file.
6492 * gdb.fortran/charset.f90: New file.
6493
6494 2011-06-29 Tom Tromey <tromey@redhat.com>
6495
6496 PR testsuite/12040:
6497 * lib/future.exp: New file, mostly extracted from ada.exp.
6498 Rewrote compatibility code to use rename.
6499 (gdb_find_gfortran): New proc.
6500 (gdb_default_target_compile): Refresh from dejagnu; plus a pending
6501 gfortran patch.
6502 * lib/ada.exp (gdb_find_gnatmake, gdb_default_target_compile):
6503 Move to future.exp.
6504 * lib/gdb.exp: Always load future.exp.
6505
6506 2011-06-28 Yao Qi <yao@codesourcery.com>
6507
6508 * gdb.cp/exception.cc: Don't include iostream.
6509 (bar): Remove print statement.
6510 (catcher): New.
6511 (main): Remove print statements. Call function catcher.
6512 * gdb.cp/exception.exp : Don't match inferior's output in regexp.
6513 Set breakpoint on catcher, and check the value of parameter.
6514
6515 2011-06-23 Yao Qi <yao@codesourcery.com>
6516
6517 * gdb.cp/mb-inline.exp: Parse the output of `info break' to check
6518 breakpoint 1.2 is disabled. KFAIL for uclinux.
6519
6520 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6521
6522 * gdb.mi/mi2-var-display.exp: Replace gdb_test_multiple with
6523 mi_gdb_test.
6524
6525 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6526
6527 * gdb.mi/mi2-return.exp: Replace gdb_test_multiple with mi_gdb_test.
6528
6529 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6530
6531 * gdb.mi/mi2-console.exp: Replace gdb_test_multiple with mi_gdb_test.
6532
6533 2011-06-23 Marek Polacek <mpolacek@redhat.com>
6534
6535 * gdb.mi/mi2-basics.exp: Fix races. Honour the
6536 `test_exec_and_symbol_mi_operatons' return value.
6537 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6538 gdb_test_multiple.
6539 (test_exec_and_symbol_mi_operatons): Likewise.
6540 (test_path_specification): Likewise.
6541
6542 2011-06-23 Yao Qi <yao@codesourcery.com>
6543
6544 * gdb.base/moribund-step.exp: Skip test if displaced stepping is not
6545 supported.
6546 * lib/gdb.exp (support_displaced_stepping): New.
6547
6548 2011-06-23 Yao Qi <yao@codesourcery.com>
6549
6550 * gdb.threads/execl.exp: Skip on remote target.
6551
6552 2011-06-21 Marek Polacek <mpolacek@redhat.com>
6553
6554 * gdb.mi/mi-var-display.exp: Replace gdb_test_multiple with
6555 mi_gdb_test.
6556
6557 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6558
6559 * gdb.mi/mi-nsintrall.exp: Replace gdb_test_multiple with mi_gdb_test.
6560
6561 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6562
6563 * gdb.mi/mi-nsmoribund.exp: Replace gdb_test_multiple with
6564 mi_gdb_test.
6565
6566 2011-06-20 Marek Polacek <mpolacek@redhat.com>
6567
6568 * gdb.mi/mi-return.exp: Replace gdb_test_multiple with mi_gdb_test.
6569
6570 2011-06-14 Yao Qi <yao@codesourcery.com>
6571
6572 gdb/testsuite/
6573 * gdb.threads/ia64-sigill.exp: Remove "set debug lin-lwp 1".
6574
6575 2011-06-10 Jan Kratochvil <jan.kratochvil@redhat.com>
6576
6577 * gdb.dwarf2/dw2-filename.exp (info sources): New testcase.
6578
6579 2011-06-10 Tom Tromey <tromey@redhat.com>
6580
6581 * gdb.cp/temargs.exp: Let tests pass if compiler bug is fixed.
6582 Add tests for pointer-to-member-function.
6583 * gdb.cp/temargs.cc (S::somefunc): New function.
6584 (K2): New class.
6585 (main): Instantiate K2; call method.
6586
6587 2011-06-08 Joel Brobecker <brobecker@adacore.com>
6588
6589 * gdb.python/py-inferior.c (f2): Make str an array rather
6590 than a pointer.
6591 * gdb.python/py-inferior.exp: Adjust testcase accordingly.
6592
6593 2011-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6594
6595 * gdb.base/async-shell.c: New file.
6596 * gdb.base/async-shell.exp: New file.
6597
6598 2011-06-06 Pedro Alves <pedro@codesourcery.com>
6599
6600 * gdb.threads/pending-step.exp: Add more context to SIGTRAP match.
6601
6602 2011-06-03 Joel Brobecker <brobecker@adacore.com> (obvious fix)
6603
6604 From Stephen Kitt <steve@sk2.org>
6605 * gdb.base/help.exp: Adjust following some spelling corrections
6606 in GDB.
6607
6608 2011-06-01 Yao Qi <yao@codesourcery.com>
6609
6610 * gdb.base/ending-run.exp: Match __uClibc_main for uClibc.
6611
6612 2010-05-31 Keith Seitz <keiths@redhat.com>
6613
6614 PR c++/12750
6615 * gdb.cp/static-method.cc: New file.
6616 * gdb.cp/static-method.exp: New file.
6617
6618 2010-05-31 Keith Seitz <keiths@redhat.com>
6619
6620 PR symtab/12704
6621 * gdb.cp/anon-ns.cc: New file.
6622 * gdb.cp/anon-ns.exp: New file.
6623
6624 2011-05-31 Pedro Alves <pedro@codesourcery.com>
6625
6626 * gdb.arch/i386-dr3-watch.c: New file.
6627 * gdb.arch/i386-dr3-watch.exp: New file.
6628
6629 2011-05-30 Yao Qi <yao@codesourcery.com>
6630
6631 * gdb.base/callfuncs.c (t_structs_fc): New.
6632 (t_structs_dc, t_structs_ldc): New.
6633 (t_double_many_args):
6634 (DEF_FUNC_MANY_ARGS_1, DEF_FUNC_MANY_ARGS_2): Define.
6635 (DEF_FUNC_MANY_ARGS_3, DEF_FUNC_VALUES_1): Define.
6636 (DEF_FUNC_VALUES_2, DEF_FUNC_VALUES_3): Define.
6637 * gdb.base/callfuncs.exp: Call new functions.
6638
6639 2011-05-30 Yao Qi <yao@codesourcery.com>
6640
6641 * gdb.base/callfuncs.exp (rerun_and_prepare): New.
6642 Call rerun_and_prepare for each test to isolate effects.
6643
6644 2011-05-30 Yao Qi <yao@codesourcery.com>
6645
6646 * gdb.base/varargs.c (find_max_float_real): New.
6647 (find_max_double_real, find_max_long_double_real): New.
6648 * gdb.base/varargs.exp: Call these new added functions.
6649 * lib/gdb.exp (setup_kfail_for_target): New.
6650
6651 2011-05-30 Yao Qi <yao@codesourcery.com>
6652
6653 * gdb.base/funcargs.c (callca, callcb, callcc): New.
6654 (callcd, callce, callcf, callc1a, callc1b): New.
6655 (callc2a, callc2b): New.
6656 * gdb.base/funcargs.exp (complex_args): New.
6657 (complex_integral_args, complex_float_integral_args): New.
6658 * lib/gdb.exp (support_complex_tests): New. Determine
6659 whether to run test cases on _Complex types.
6660
6661 2011-05-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6662
6663 * gdb.threads/leader-exit.c: New file.
6664 * gdb.threads/leader-exit.exp: New file.
6665
6666 2011-05-27 Marek Polacek <mpolacek@redhat.com>
6667
6668 * gdb.mi/mi-nonstop.exp: Replace gdb_test_multiple with mi_gdb_test.
6669
6670 2011-05-27 Marek Polacek <mpolacek@redhat.com>
6671
6672 * gdb.mi/mi-nonstop-exit.exp: Remove the `-gdb-show non-stop' testcase,
6673 remove the `supported' variable.
6674 * gdb.mi/mi-nonstop.exp: Likewise.
6675 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6676 * gdb.mi/mi-nsintrall.exp: Likewise.
6677 * gdb.mi/mi-nsmoribund.exp: Likewise.
6678 * gdb.mi/mi-nsthrexec.exp: Likewise.
6679
6680 2011-05-26 Pedro Alves <pedro@codesourcery.com>
6681
6682 * gdb.reverse/finish-reverse-bkpt.exp: New test.
6683
6684 2011-05-26 Pedro Alves <pedro@codesourcery.com>
6685
6686 * gdb.reverse/next-reverse-bkpt-over-sr.exp: New test.
6687
6688 2011-05-24 Keith Seitz <keiths@redhat.com>
6689
6690 PR breakpoint/12803
6691 * gdb.cp/cmpd-minsyms.cc (a): New method.
6692 (b): New method.
6693 (c): New method.
6694 * gdb.cp/cmpd-minsyms.exp: Add tests for new methods.
6695
6696 2011-05-24 Pedro Alves <pedro@codesourcery.com>
6697
6698 * gdb.base/commands.exp (watchpoint_command_test): Check that the
6699 watchpoint's command list didn't execute when the watchpoint went
6700 out of scope.
6701
6702 2011-05-24 Pierre Muller <muller@ics.u-strasbg.fr>
6703
6704 Centralize -DSYMBOL_PREFIX=\"_\" additional flags in gdb.exp.
6705 * lib/gdb.exp (gdb_target_symbol_prefix_flags): New procedure.
6706 * gdb.arch/i386-bp_permanent.exp: Use gdb_target_symbol_prefix_flags.
6707 * gdb.arch/i386-gnu-cfi.exp: Likewise.
6708 * gdb.arch/i386-permbkpt.exp: Likewise.
6709 * gdb.arch/i386-prologue.exp: Likewise.
6710 * gdb.arch/i386-size-overlap.exp: Likewise.
6711 * gdb.arch/i386-size.exp: Likewise.
6712 * gdb.arch/i386-unwind.exp: Likewise.
6713 * gdb.reverse/i386-precsave.exp: Likewise.
6714 * gdb.reverse/i386-reverse.exp: Likewise.
6715 * gdb.reverse/i386-sse-reverse.exp: Likewise.
6716 * gdb.reverse/i387-env-reverse.exp: Likewise.
6717 * gdb.reverse/i387-stack-reverse.exp: Likewise.
6718
6719 2011-05-24 Pedro Alves <pedro@codesourcery.com>
6720
6721 * gdb.trace/tfile.exp: Add test that opening the basic.tf trace
6722 file doesn't error, using MI.
6723
6724 2011-05-23 Tom Tromey <tromey@redhat.com>
6725
6726 * gdb.base/charset.exp (string_display): Add tests to assign to
6727 arrays.
6728 * gdb.base/charset.c (short_array, int_array, long_array): New.
6729
6730 2011-05-20 Pedro Alves <pedro@codesourcery.com>
6731
6732 Cope with async mode.
6733
6734 * gdb.mi/mi-break.exp (test_breakpoint_commands): Split gdb_test
6735 into gdb_test + mi_expect_stop.
6736
6737 2011-05-20 Pedro Alves <pedro@codesourcery.com>
6738
6739 * gdb.mi/basics.c: Don't include stdio.h or unistd.h.
6740 (callme): Remove printf call.
6741
6742 2011-05-20 Pierre Muller <muller@ics.u-strasbg.fr>
6743
6744 * lib/gdb.exp (gdb_test_list_exact): Suggest use of double
6745 quote pattern to avoid problems with Cygwin/mingw expect versions.
6746 * gdb.base/default.exp (show convenience): Use double
6747 quote pattern for regular expressions.
6748
6749 2011-05-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6750
6751 Fix -readnow for -gdwarf-4 unused type units.
6752 * gdb.dwarf2/dw4-sig-type-unused.S: New file.
6753 * gdb.dwarf2/dw4-sig-type-unused.exp: New file.
6754
6755 2011-05-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6756
6757 * gdb.base/kill-after-signal.c: New file.
6758 * gdb.base/kill-after-signal.exp: New file.
6759
6760 2011-05-16 Pedro Alves <pedro@codesourcery.com>
6761
6762 * gdb.ada/start.exp: Call untested with the correct test filename.
6763 * gdb.arch/i386-bp_permanent.exp: Call untested with the correct
6764 test filename. Make the test's binary unique.
6765 * gdb.arch/i386-signal.exp: Call untested with the correct test
6766 filename.
6767 * gdb.arch/i386-size-overlap.exp: Ditto.
6768 * gdb.arch/Makefile.in (EXECUTABLES): Update.
6769 * gdb.base/gcore-buffer-overflow.exp: Ditto.
6770 * gdb.cp/call-c.exp: Ditto.
6771 * gdb.mi/mi-reverse.exp: Call untested with the correct test
6772 filename. Make the test's binary unique.
6773 * gdb.mi/Makefile.in (EXECUTABLES): Update.
6774 * gdb.python/py-mi.exp: Ditto.
6775 * gdb.python/Makefile.in (EXECUTABLES): Update.
6776 * gdb.reverse/i386-precsave.exp: Ditto.
6777 * gdb.reverse/i387-env-reverse.exp: Call untested with the correct
6778 test filename.
6779 * gdb.reverse/i387-stack-reverse.exp: Ditto.
6780 * gdb.reverse/sigall-precsave.exp: Ditto. Make the test's binary
6781 unique.
6782 * gdb.reverse/sigall-reverse.exp: Call untested with the correct
6783 test filename.
6784 * gdb.reverse/Makefile.in (EXECUTABLES): Update.
6785 * gdb.trace/tfile.exp: Ditto.
6786
6787 2011-05-14 Yao Qi <yao@codesourcery.com>
6788
6789 * gdb.trace/tfile.c(add_memory_block): Store address in unsigned
6790 type.
6791
6792 2011-05-13 Doug Evans <dje@google.com>
6793
6794 * gdb.python/py-objfile-script.exp: New file.
6795 * gdb.python/py-objfile-script.c: New file.
6796 * gdb.python/py-objfile-script-gdb.py: New file.
6797 * testsuite/gdb.python/py-section-script.exp: Test
6798 "info auto-load-scripts".
6799
6800 2011-05-13 Tom Tromey <tromey@redhat.com>
6801
6802 * gdb.dwarf2/clztest.exp: New file.
6803 * gdb.dwarf2/clztest.c: New file.
6804 * gdb.dwarf2/clztest.S: New file.
6805
6806 2011-05-13 Doug Evans <dje@google.com>
6807
6808 * gdb.base/charset.exp: If UTF-16 is not available, skip char16_t,
6809 String16 tests.
6810
6811 2011-05-13 Tom Tromey <tromey@redhat.com>
6812
6813 * lib/gdb.exp (is_x86_like_target): New proc.
6814 * gdb.dwarf2/watch-notconst.exp: Use is_x86_like_target.
6815 * gdb.dwarf2/valop.exp: Use is_x86_like_target.
6816 * gdb.dwarf2/typeddwarf.exp: Use is_x86_like_target. Pass
6817 -nostdlib to compiler.
6818 * gdb.dwarf2/typeddwarf.S (_start): Rename from 'main'.
6819 * gdb.dwarf2/pieces.exp: Use is_x86_like_target.
6820 * gdb.dwarf2/implptr.exp: Use is_x86_like_target.
6821 * gdb.dwarf2/dw2-restore.exp: Check for LP64.
6822 * gdb.dwarf2/callframecfa.exp: Use is_x86_like_target.
6823
6824 2011-05-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
6825
6826 * gdb.python/py-function.exp: Test setting a value from a function
6827 which executes a command.
6828
6829 2011-05-12 Tom Tromey <tromey@redhat.com>
6830
6831 * gdb.dwarf2/typeddwarf.S: New file.
6832 * gdb.dwarf2/typeddwarf.c: New file.
6833 * gdb.dwarf2/typeddwarf.exp: New file.
6834
6835 2011-05-12 Marek Polacek <mpolacek@redhat.com>
6836
6837 * gdb.mi/mi-basics.exp: Fix races. Honour the
6838 `test_exec_and_symbol_mi_operatons' return value.
6839 (test_mi_interpreter_selection): Use mi_gdb_test instead of
6840 gdb_test_multiple.
6841 (test_exec_and_symbol_mi_operatons): Likewise.
6842 (test_path_specification): Likewise.
6843
6844 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6845
6846 * lib/gdb.exp (gdb_rename_execfile): Remove catch wrappers.
6847 (gdb_touch_execfile): Remove catch wrappers. New variable time.
6848 Replace `file copy' and `file rename' by `file mtime'. Twice.
6849
6850 2011-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6851
6852 * gdb.base/readline-ask.c: New file.
6853 * gdb.base/readline-ask.exp: New file.
6854 * gdb.base/readline-ask.inputrc: New file.
6855
6856 2011-05-06 Ulrich Weigand <uweigand@de.ibm.com>
6857
6858 * gdb.cell/bt.exp: Delete breakpoints before running to signal
6859 to avoid race condition.
6860 * gdb.cell/coremaker.c: Use small stack size.
6861 * gdb.cell/ea-standalone.exp: Use file name without path as
6862 argument to c_to.
6863 * gdb.cell/fork.exp: Allow other output when continuing to end.
6864
6865 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6866
6867 * gdb.threads/corethreads.c: New file.
6868 * gdb.threads/corethreads.exp: New file.
6869
6870 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6871
6872 * gdb.threads/gcore-thread.exp (objfile, opts): New variables.
6873 Try to compile the test using -Wl,-z,norelro first.
6874 (load_core): New variable libthread_db_seen, initialize it.
6875 (zeroed-threads cannot be listed): Protect it by XFAIL on
6876 !$libthread_db_seen.
6877
6878 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6879
6880 PR 12573
6881 * gdb.dwarf2/dw2-skip-prologue.S: New file.
6882 * gdb.dwarf2/dw2-skip-prologue.c: New file.
6883 * gdb.dwarf2/dw2-skip-prologue.exp: New file.
6884
6885 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6886
6887 * gdb.cp/psymtab-parameter.cc: New file.
6888 * gdb.cp/psymtab-parameter.exp: New file.
6889
6890 2011-05-06 Jan Kratochvil <jan.kratochvil@redhat.com>
6891
6892 Fix a race.
6893 * gdb.cp/static-print-quit.exp (print c): Split to ...
6894 (print c - <return>, print c - q <return>, print c - to quit):
6895 ... these. Make the testfile untested on gdb-7.1.
6896
6897 2011-5-05 Janis Johnson <janisjo@codesourcery.com>
6898
6899 * lib/gdb.exp (exec_target_file, exec_symbol_file,
6900 gdb_rename_execfile, gdb_touch_execfile): New.
6901 * gdb.base/reread.exp: Use new procs to handle multiple
6902 exec files.
6903
6904 2011-05-05 Yao Qi <yao@codesourcery.com>
6905
6906 * gdb.arch/arm-disp-step.S(test_ldr_literal): New.
6907 (test_adr_32bit, test_pop_pc): New.
6908 * gdb.arch/arm-disp-step.exp (test_ldr_literal): New.
6909 (test_adr_32bit, test_pop_pc): New.
6910
6911 2011-05-04 Joseph Myers <joseph@codesourcery.com>
6912
6913 * gdb.base/a2-run.exp (strongarm-*-coff): Don't handle target.
6914 * gdb.base/float.exp (xscale*-*-*, strongarm*-*-*): Don't handle
6915 targets.
6916 * gdb.base/long_long.exp (xscale*-*-*, strongarm*-*-*): Don't
6917 handle targets.
6918
6919 2011-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
6920
6921 * gdb.base/completion.exp (complete help info wat): Rename to ...
6922 (complete 'help info wat'): ... here.
6923 Remove all `-re ".*' and `-re "^.*' redundant regexes.
6924 (complete 'p 'arg', complete (2) 'p 'arg'): Remove redundant backslash.
6925
6926 2011-05-04 Pedro Alves <pedro@codesourcery.com>
6927
6928 * gdb.base/completion.exp: Use gdb_test_multiple instead of
6929 gdb_test and explicit $gdb_prompt/timeout matches.
6930
6931 2011-05-04 Yao Qi <yao@codesourcery.com>
6932
6933 * gdb.arch/arm-disp-step.S: Fix usage of macros __thumb__
6934 and __thumb2__.
6935
6936 2011-05-03 Marek Polacek <mpolacek@redhat.com>
6937
6938 * gdb.base/pr10179.exp: Get rid of races using `delete_breakpoints'
6939 in place of `gdb_test "delete breakpoints"'. This eliminates two
6940 testcases.
6941
6942 2011-05-02 Pedro Alves <pedro@codesourcery.com>
6943
6944 PR testsuite/12649
6945 Fix races.
6946
6947 * gdb.base/completion.exp: Remove all sleep calls. Remove
6948 unnecessary regexs. Don't explicitly expect anything after the
6949 prompt. Eat the prompt if necessary.
6950
6951 2011-05-02 Edjunior Machado <emachado@linux.vnet.ibm.com>
6952
6953 * gdb.opt/inline-cmds.exp: Adjust checks with "finish" command to
6954 accept to show the caller line again as well as the line after.
6955
6956 2011-04-29 Phil Muldoon <pmuldoon@redhat.com>
6957
6958 PR mi/12531
6959
6960 * gdb.python/py-mi.exp: Add CPLUS_FAKE_CHILD tests and a C++
6961 compile target.
6962 * gdb.python/py-prettyprint.exp: Add C++ object for
6963 CPLUS_FAKE_CHILD test.
6964
6965 2011-04-28 Ulrich Weigand <ulrich.weigand@linaro.org>
6966
6967 * gdb.base/signest.exp: New file.
6968 * gdb.base/signest.c: Likewise.
6969
6970 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
6971
6972 * lib/mi-support.exp (mi_expect_stop) <stopped at wrong place>: Accept
6973 thread and breakpoint notifications.
6974
6975 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6976
6977 * gdb.base/fortran-sym-case.c: New file.
6978 * gdb.base/fortran-sym-case.exp: New file.
6979 * gdb.dwarf2/dw2-case-insensitive-debug.S: New file.
6980 * gdb.dwarf2/dw2-case-insensitive.c: New file.
6981 * gdb.dwarf2/dw2-case-insensitive.exp: New file.
6982
6983 2011-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6984
6985 * lib/gdb.exp (gdb_test_multiple): Eror on newline in $message.
6986 * gdb.base/ifelse.exp: Give names to the "" tests as `if true else
6987 false #1', `if true else false #2' and `if true else false #3'.
6988
6989 2011-04-27 Ulrich Weigand <ulrich.weigand@linaro.org>
6990
6991 * gdb.base/annota1.exp: Accept breakpoints-invalid annotation
6992 while delivering signal.
6993
6994 2011-04-27 Vladimir Prus <vladimir@codesourcery.com>
6995
6996 MI breakpoint notifications.
6997
6998 * testsuite/gdb.mi/mi-cli.exp: Adust.
6999 * testsuite/gdb.mi/mi2-cli.exp: Adust.
7000 * testsuite/gdb.mi/mi-watch.exp: Adust.
7001 * testsuite/gdb.mi/mi2-watch.exp: Adust.
7002 * testsuite/lib/mi-support.exp (mi_expect_stop): Accept breakpoint
7003 notifications.
7004
7005 2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7006
7007 * gdb.base/gdbindex-stabs-dwarf.c: New file.
7008 * gdb.base/gdbindex-stabs.c: New file.
7009 * gdb.base/gdbindex-stabs.exp: New file.
7010
7011 2011-04-25 Yao Qi <yao@codesourcery.com>
7012
7013 * gdb.dwarf2/dw2-double-set-die-type.S: Replace comment char `#'
7014 with /*...*/.
7015 * gdb.dwarf2/dw2-modula2-self-type.S: Likewise.
7016
7017 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7018
7019 * gdb.python/py-value.exp (test_objfiles): Name the first test
7020 `py-value in file.filename'.
7021
7022 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7023
7024 * gdb.base/solib-disc.exp: Set gdbserver_reconnect_p.
7025 * lib/gdb.exp (gdb_init): Clear gdbserver_reconnect_p.
7026 * lib/gdbserver-support.exp (gdbserver_start): Add `--once' if
7027 !gdbserver_reconnect_p..
7028 (gdbserver_reconnect): Call error if !gdbserver_reconnect_p..
7029
7030 2011-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
7031
7032 * gdb.cp/cpcompletion.exp (complete class methods)
7033 (complete class methods beginning with F): Move them above runto. New
7034 comment about the runto delimiter.
7035
7036 2011-04-20 Pedro Alves <pedro@codesourcery.com>
7037
7038 * gdb.base/maint.exp: Test that "maint print registers" works
7039 without a running program.
7040
7041 2011-04-20 Marek Polacek <mpolacek@redhat.com>
7042
7043 * gdb.base/setshow.exp: Fix racy tests.
7044 ($old_gdb_prompt): New variable.
7045
7046 2011-04-19 Tom Tromey <tromey@redhat.com>
7047
7048 * gdb.mi/mi-nsmoribund.exp:
7049 * gdb.hp/gdb.objdbg/objdbg01.exp:
7050 * gdb.base/structs.exp (test_struct_returns):
7051 * gdb.base/call-sc.exp (test_scalar_returns):
7052 * gdb.base/bigcore.exp: Remove duplicate words.
7053
7054 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7055
7056 * gdb.base/break-interp-lib.c (v, vptr): New variables.
7057 * gdb.base/break-interp.exp (test_attach): New comment.
7058
7059 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7060
7061 * gdb.threads/gcore-thread.exp ($core0file): New variable.
7062 (clear __stack_user.next, clear stack_used.next)
7063 (save a zeroed-threads corefile): New test.
7064 Call core_load for $core0file.
7065 (zeroed-threads cannot be listed): New test.
7066
7067 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7068
7069 * gdb.threads/gcore-thread.exp ($testfile): Match it the .exp
7070 filename.
7071 ($srcfile): Preserve the original value.
7072 ($testfile): Match it the .exp filename.
7073 ($corefile): New variable. Substitute it around.
7074 Use clean_restart.
7075 ($prev_timeout): Remove.
7076 (load_core): Move core loading into this proc.
7077 Fix restore of $timeout if load_core fails.
7078
7079 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7080
7081 * gdb.base/eu-strip-infcall.c: New file.
7082 * gdb.base/eu-strip-infcall.exp: New file.
7083
7084 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7085
7086 * gdb.base/callfuncs.c (Lcallfunc, callfunc): New functions.
7087 * gdb.base/callfuncs.exp (print callfunc (Lcallfunc, 5)): New test.
7088
7089 2011-04-17 Jan Kratochvil <jan.kratochvil@redhat.com>
7090
7091 Fix Python access to inlined frames.
7092 * gdb.python/py-frame-inline.c: New file.
7093 * gdb.python/py-frame-inline.exp: New file.
7094
7095 2011-04-13 Edjunior Machado <emachado@linux.vnet.ibm.com>
7096
7097 * gdb.base/gdb1090.exp: Change breakpoint location to read the
7098 content of 's24' correctly (avoiding "optimized out").
7099 * gdb.base/gdb1090.c: Add comment in order to set breakpoint.
7100
7101 2011-04-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7102
7103 * lib/gdb.exp (gdb_breakpoint): New case for a GDB internal error.
7104
7105 2011-04-13 Thiago Jung Bauermann <bauerman@br.ibm.com>
7106
7107 * gdb.base/watchpoint.exp (test_inaccessible_watchpoint): Don't
7108 expect a colon in watch -location output.
7109
7110 2011-04-13 Marek Polacek <mpolacek@redhat.com>
7111
7112 * gdb.base/commands.exp (redefine_backtrace_test): Fix race.
7113 New testcase `expect response to define backtrace'. Also remove
7114 redundant `default' block.
7115
7116 2011-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7117
7118 * gdb.python/py-prettyprint.c (struct hint_error): New.
7119 (main): New variable hint_error.
7120 * gdb.python/py-prettyprint.exp (run_lang_tests): New testcase
7121 "print hint_error".
7122 * gdb.python/py-prettyprint.py (class pp_hint_error): New.
7123 (register_pretty_printers): Register it.
7124
7125 2011-04-04 Tom Tromey <tromey@redhat.com>
7126
7127 * gdb.cp/maint.exp (test_help): Update.
7128 (test_namespace): Likewise.
7129
7130 2011-04-01 Joel Brobecker <brobecker@adacore.com>
7131
7132 * gdb.ada/arrayptr/foo.adb: Add access to constrained array.
7133 * gdb.ada/arrayptr.exp: Add new tests.
7134
7135 2011-04-01 Joel Brobecker <brobecker@adacore.com>
7136
7137 * gdb.ada/mi_catch_ex: New testcase.
7138
7139 2011-04-01 Pedro Alves <pedro@codesourcery.com>
7140
7141 * gdb.cp/cpexprs.exp (Overloaded methods): No longer try the
7142 base::overload(void) method without specifying "const".
7143
7144 2011-04-01 Ulrich Weigand <ulrich.weigand@linaro.org>
7145
7146 * gdb.arch/thumb-singlestep.S: New file.
7147 * gdb.arch/thumb-singlestep.exp: Likewise.
7148
7149 2011-03-31 Tom Tromey <tromey@redhat.com>
7150
7151 * gdb.python/py-prettyprint.py (exception_flag): New global.
7152 (NoStringContainerPrinter._iterator.next): Check it.
7153 * gdb.python/py-prettyprint.c (main): New variable nstype2.
7154 * gdb.python/py-mi.exp: Set exception_flag and do more tests.
7155
7156 2011-03-29 Tom Tromey <tromey@redhat.com>
7157
7158 * gdb.cp/anon-struct.cc: New file.
7159 * gdb.cp/anon-struct.exp: New file.
7160
7161 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7162
7163 Test STT_GNU_IFUNC support.
7164 * gdb.base/gnu-ifunc-lib.c: New file.
7165 * gdb.base/gnu-ifunc.c: New file.
7166 * gdb.base/gnu-ifunc.exp: New file.
7167
7168 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7169
7170 Support a ring of related breakpoints.
7171 * gdb.base/watchpoint-delete.c: New file.
7172 * gdb.base/watchpoint-delete.exp: New file.
7173
7174 2011-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
7175
7176 * gdb.ada/arrayparam.exp (print first after function call): Use
7177 explicit package name. Add a comment
7178 (print lasta after function call): Rename ...
7179 (print last after function call): ... it and use explicit package
7180 name.
7181 (print length after function call): Use explicit package name.
7182 * gdb.ada/str_ref_cmp.exp (operator = works for strings): New test.
7183 * gdb.ada/sym_print_name.exp: Change `i' to `integervar'.
7184 (multiple matches for symbol i): Rename ...
7185 (multiple matches for symbol integervar): ... it.
7186 * gdb.ada/sym_print_name/foo.adb (Foo): Change `I' to `IntegerVar'.
7187 * gdb.ada/sym_print_name/pck.ads (Pck): Likewise.
7188
7189 2011-03-25 Andrew Burgess <aburgess@broadcom.com>
7190
7191 * lib/gdb.exp (default_gdb_start,gdb_init): Clear the GREP_OPTIONS
7192 environment variable to make grep output more predictable. Move
7193 all the environment setup into gdb_init so it's done once per test
7194 case rather than each time we start gdb.
7195
7196 2011-03-24 Tom Tromey <tromey@redhat.com>
7197
7198 * gdb.base/label.exp: Use `main:there' linespec. Add re-running
7199 test.
7200
7201 2011-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
7202
7203 * gdb.dwarf2/dw2-entry-value-main.c: New file.
7204 * gdb.dwarf2/dw2-entry-value.S: New file.
7205 * gdb.dwarf2/dw2-entry-value.exp: New file.
7206
7207 2011-03-22 Phil Muldoon <pmuldoon@redhat.com>
7208
7209 PR python/12183
7210
7211 * gdb.python/py-function.exp: Add GdbError tests.
7212
7213 2011-03-18 Pedro Alves <pedro@codesourcery.com>
7214
7215 * gdb.trace/unavailable.cc (args_test_func, local_test_func)
7216 (reglocal_test_func, statlocal_test_func): New functions.
7217 (globals_test_func): Call new functions.
7218 * gdb.trace/unavailable.exp (gdb_collect_args_test)
7219 (gdb_collect_locals_test): New procedure.
7220 (gdb_trace_collection_test): Call new procedures.
7221
7222 2011-03-18 Pedro Alves <pedro@codesourcery.com>
7223
7224 * gdb.trace/unavailable.exp (fpreg, spreg, pcreg): Define.
7225 (test_register, test_register_unavailable): New procedures.
7226 (gdb_unavailable_registers_test): New procedure.
7227 (gdb_trace_collection_test): Call it.
7228
7229 2011-03-18 Phil Muldoon <pmuldoon@redhat.com>
7230
7231 PR python/12149
7232
7233 * gdb.python/python.exp: Add gdb.write tests.
7234
7235 2010-03-17 Phil Muldoon <pmuldoon@redhat.com>
7236
7237 * gdb.python/Makefile.in: Add py-objfile.
7238 * gdb.python/py-objfile.exp: New file.
7239 * gdb.python/py-objfile.c: New file.
7240 * gdb.python/py-block.exp: Add is_valid tests.
7241 * gdb.python/py-inferior.exp: Ditto.
7242 * gdb.python/py-infthread.exp: Ditto.
7243 * gdb.python/py-symbol.exp: Ditto.
7244 * gdb.python/py-symtab.exp: Ditto.
7245
7246 2011-03-16 Keith Seitz <keiths@redhat.com>
7247
7248 PR c++/12273
7249 * gdb.cp/cmpd-minsyms.exp: New test.
7250 * gdb.cp/cmpd-minsyms.cc: New file.
7251
7252 PR c++/11734
7253 * gdb.cp/ovsrch.exp: New test.
7254 * gdb.cp/ovsrch.h: New file.
7255 * gdb.cp/ovsrch1.cc: New file.
7256 * gdb.cp/ovsrch2.cc: New file.
7257 * gdb.cp/ovsrch3.cc: New file.
7258 * gdb.cp/ovsrch4.cc: New file.
7259
7260 2011-03-16 Paul Pluzhnikov <ppluzhnikov@google.com>
7261
7262 PR gdb/12528
7263 * gdb.base/Makefile.in: Adjust EXECUTABLES.
7264 * gdb.base/break-on-linker-gcd-function.exp: New test.
7265 * gdb.base/break-on-linker-gcd-function.cc: New file.
7266
7267 2011-03-15 Andreas Tobler <andreast@fgznet.ch>
7268
7269 * gdb.base/jit-main.c: Define ElfW for non glibc elf targets.
7270
7271 2011-03-15 Phil Muldoon <pmuldoon@redhat.com>
7272
7273 * lib/gdb.exp (gdb_unload): Add another termination case.
7274
7275 2011-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
7276
7277 * gdb.dwarf2/dw2-empty-pc-range.S: New file.
7278 * gdb.dwarf2/dw2-empty-pc-range.exp: New file.
7279 * gdb.dwarf2/pr11465.S: New .text labels text_start and text_end.
7280 Provide a stub byte there.
7281 (DW_TAG_compile_unit): Set DW_AT_low_pc, DW_AT_high_pc and
7282 DW_AT_entry_pc.
7283 (dieb4, dieda): Set DW_AT_high_pc higher than DW_AT_low_pc.
7284
7285 2011-03-15 Ulrich Weigand <uweigand@de.ibm.com>
7286
7287 * gdb.arch/altivec-abi.exp: Skip "generic" tests on 64-bit when
7288 using a GCC 4.1 or 4.2 compiler. Add an additional test variant
7289 "generic ABI, auto".
7290 (altivec_abi_tests): Accept vectors returned by reference.
7291
7292 2010-03-14 Phil Muldoon <pmuldoon@redhat.com>
7293
7294 * gdb.python/py-breakpoint.exp: Add Python stop operations tests.
7295
7296 2011-03-13 Ulrich Weigand <uweigand@de.ibm.com>
7297
7298 * gdb.python/py-section-script.exp: Skip test if no Python support.
7299
7300 2011-03-12 Ulrich Weigand <uweigand@de.ibm.com>
7301
7302 * gdb.base/solib-weak.exp: Allow "." prefix for ppc64.
7303
7304 2011-03-10 Phil Muldoon <pmuldoon@redhat.com>
7305
7306 * gdb.python/py-parameter.exp: Update tests to the new Python
7307 parameter API. Add "no documentation" test. Add deprecated API
7308 backward compatibility test.
7309
7310 2011-03-09 Tom Tromey <tromey@redhat.com>
7311
7312 * gdb.ada/catch_ex.exp: Use explicit gdb_test rather than
7313 gdb_continue_to_end.
7314
7315 2011-03-09 Mark Kettenis <kettenis@gnu.org>
7316
7317 * gdb.base/memattr.exp: Adjust regexps to accept spaces as well as
7318 tabs.
7319
7320 2011-03-09 Tom Tromey <tromey@redhat.com>
7321
7322 * lib/gdb.exp (inferior_exited_re): Match. leading `['. Wrap in
7323 parentheses.
7324 (gdb_continue_to_end): Add "allow_extra" parameter. Use
7325 $command.
7326 * gdb.threads/thread-unwindonsignal.exp: Pass "allow_extra"
7327 argument to gdb_continue_to_end.
7328 * gdb.threads/interrupted-hand-call.exp: Pass "allow_extra"
7329 argument to gdb_continue_to_end.
7330 * gdb.cp/annota3.exp: Fix regex.
7331 * gdb.cp/annota2.exp: Fix regex.
7332 * gdb.base/shlib-call.exp: Pass "allow_extra" argument to
7333 gdb_continue_to_end.
7334 * gdb.base/call-signal-resume.exp: Revert earlier patch.
7335 * gdb.ada/tasks.exp: Pass "allow_extra" argument to
7336 gdb_continue_to_end.
7337
7338 2011-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
7339
7340 * gdb.server/ext-run.exp
7341 (load new file without any gdbserver inferior): New test.
7342
7343 2011-03-07 Tom Tromey <tromey@redhat.com>
7344
7345 * Makefile.in (TAGS): Rewrite.
7346
7347 2011-03-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7348
7349 * gdb.trace/report.exp (12.1: trace report #1): New match for the
7350 initial commands echo. New match for `Found trace'. Anchor all the
7351 other matches. Anchor and match for `No trace frame found' the final
7352 match.
7353
7354 2011-03-07 Tom Tromey <tromey@redhat.com>
7355
7356 * Makefile.in (TAGS): New target.
7357
7358 2011-03-07 Tom Tromey <tromey@redhat.com>
7359
7360 * lib/opencl.exp (skip_opencl_tests): Update for exit message
7361 change.
7362 * lib/mi-support.exp (mi_gdb_test): Update for exit message
7363 change.
7364 * lib/gdb.exp (gdb_test_multiple): Update comment. Update for
7365 exit message change.
7366 (skip_altivec_tests): Update for exit message change.
7367 (skip_vsx_tests): Likewise.
7368 (gdb_continue_to_end): Likewise. Add 'command' argument.
7369 * lib/cell.exp (skip_cell_tests): Update for exit message change.
7370 * gdb.threads/tls.exp: Update for exit message change.
7371 * gdb.threads/thread-unwindonsignal.exp: Use
7372 gdb_continue_to_end.
7373 * gdb.threads/step.exp (step_it): Update for exit message change.
7374 (continue_all): Likewise.
7375 * gdb.threads/print-threads.exp (test_all_threads): Update for
7376 exit message change.
7377 * gdb.threads/interrupted-hand-call.exp: Use
7378 gdb_continue_to_end.
7379 * gdb.threads/execl.exp: Use gdb_continue_to_end.
7380 * gdb.python/py-prettyprint.exp (run_lang_tests): Use
7381 gdb_continue_to_end.
7382 * gdb.hp/gdb.objdbg/objdbg02.exp: Use gdb_continue_to_end.
7383 * gdb.hp/gdb.objdbg/objdbg01.exp: Use gdb_continue_to_end.
7384 * gdb.hp/gdb.defects/solib-d.exp: Update for exit message change.
7385 * gdb.cp/method.exp: Update for exit message change.
7386 * gdb.cp/mb-templates.exp: Update for exit message change.
7387 * gdb.cp/mb-inline.exp: Use gdb_continue_to_end.
7388 * gdb.cp/annota3.exp: Update for exit message change.
7389 * gdb.cp/annota2.exp: Update for exit message change.
7390 * gdb.cell/fork.exp: Use gdb_continue_to_end.
7391 * gdb.base/term.exp: Update for exit message change.
7392 * gdb.base/step-test.exp (test_i): Update for exit message change.
7393 * gdb.base/sigstep.exp (advance): Update for exit message change.
7394 (advancei): Likewise.
7395 * gdb.base/siginfo.exp: Update for exit message change.
7396 * gdb.base/shlib-call.exp: Use gdb_continue_to_end.
7397 * gdb.base/reread.exp: Use gdb_continue_to_end.
7398 * gdb.base/langs.exp: Use gdb_continue_to_end.
7399 * gdb.base/interrupt.exp: Update for exit message change.
7400 * gdb.base/gdb1555.exp: Update for exit message change.
7401 * gdb.base/exe-lock.exp: Use gdb_continue_to_end.
7402 * gdb.base/ending-run.exp: Update for exit message change.
7403 * gdb.base/chng-syms.exp: Update for exit message change.
7404 * gdb.base/checkpoint.exp: Update for exit message change.
7405 * gdb.base/catch-syscall.exp (check_for_program_end): Use
7406 gdb_continue_to_end.
7407 (test_catch_syscall_with_wrong_args): Likewise.
7408 * gdb.base/call-signal-resume.exp: Use gdb_continue_to_end.
7409 * gdb.base/break-interp.exp (test_ld): Update for exit message
7410 change.
7411 * gdb.base/bang.exp: Update for exit message change.
7412 * gdb.base/attach.exp (do_attach_tests): Use gdb_continue_to_end.
7413 (do_call_attach_tests): Likewise.
7414 * gdb.base/a2-run.exp: Update for exit message change.
7415 * gdb.arch/ppc-dfp.exp: Update for exit message change.
7416 * gdb.ada/tasks.exp: Use gdb_continue_to_end.
7417 * gdb.ada/catch_ex.exp: Use gdb_continue_to_end.
7418
7419 2011-03-05 Jan Kratochvil <jan.kratochvil@redhat.com>
7420
7421 * gdb.base/help.exp (help thread find): Fix one forgotten quote.
7422
7423 2011-03-03 Tom Tromey <tromey@redhat.com>
7424
7425 * gdb.hp/gdb.aCC/Makefile.in (Makefile): Remove.
7426 * gdb.hp/gdb.aCC/configure (Makefile): Remove.
7427 * gdb.hp/gdb.aCC/configure.ac: Remove.
7428 * gdb.hp/gdb.base-hp/Makefile.in (Makefile): Remove.
7429 * gdb.hp/gdb.base-hp/configure (Makefile): Remove.
7430 * gdb.hp/gdb.base-hp/configure.ac: Remove.
7431 * gdb.hp/gdb.compat/Makefile.in (Makefile): Remove.
7432 * gdb.hp/gdb.compat/configure (Makefile): Remove.
7433 * gdb.hp/gdb.compat/configure.ac: Remove.
7434 * gdb.hp/gdb.defects/Makefile.in (Makefile): Remove.
7435 * gdb.hp/gdb.defects/configure (Makefile): Remove.
7436 * gdb.hp/gdb.defects/configure.ac: Remove.
7437 * gdb.hp/gdb.objdbg/Makefile.in (Makefile): Remove.
7438 * gdb.hp/gdb.objdbg/configure (Makefile): Remove.
7439 * gdb.hp/gdb.objdbg/configure.ac: Remove.
7440 * gdb.hp/configure.ac: Remove.
7441 * gdb.hp/configure: Remove.
7442 * gdb.hp/Makefile.in (SUBDIRS): No longer a configure
7443 substitution.
7444 (Makefile): Remove rule.
7445 * gdb.cell/configure.ac: Remove.
7446 * gdb.cell/configure: Remove.
7447 * gdb.stabs/Makefile.in (Makefile): Remove.
7448 (distclean): Don't remove config.status or config.log.
7449 * gdb.stabs/configure (Makefile): Remove.
7450 * gdb.stabs/configure.ac: Remove.
7451 * configure: Rebuild.
7452 * configure.ac: Don't AC_CONFIG_SUBDIRS in gdb.hp or gdb.stabs.
7453 Remove stabs- and cell-specific logic. Test for existence of
7454 ../gdbtk before configuring gdb.gdbtk. Build Makefiles in gdb.hp
7455 subdirectories, gdb.cell, and and gdb.stabs.
7456 * Makefile.in (ALL_SUBDIRS): Add gdb.hp and gdb.stabs.
7457
7458 2011-03-03 Joel Brobecker <brobecker@adacore.com>
7459
7460 * gdb.python/py-inferior.exp: Avoid searching pattern beyond
7461 end of buffer.
7462
7463 2011-03-02 Joel Brobecker <brobecker@adacore.com>
7464
7465 * gdb.python/py-inferior.exp: Use gdb_test_no_output instead of
7466 gdb_test when running a test where we expected no output back.
7467
7468 2011-02-28 Michael Snyder <msnyder@vmware.com>
7469
7470 * gdb.cp/overload.cc: Change initializer value to integer.
7471
7472 2011-02-27 Michael Snyder <msnyder@vmware.com>
7473
7474 * gdb.multi/base.exp: Add test for remove-inferiors.
7475
7476 2011-02-26 Joel Brobecker <brobecker@adacore.com>
7477
7478 * gdb.python/py-frame.exp: Simplify the initialization phase
7479 using prepare_for_testing.
7480
7481 2011-02-25 Michael Snyder <msnyder@vmware.com>
7482
7483 * gdb.multi/base.exp: Add tests for info inferiors with args.
7484
7485 2011-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7486
7487 * gdb.dwarf2/dw2-ranges.S: Rename to ...
7488 * gdb.dwarf2/dw2-ranges.c: ... here, convert it to C.
7489 * gdb.dwarf2/dw2-ranges.exp: Skip the testcase on !$gcc_compiled.
7490 Rename srcfile, srcfile2 and srcfile3, new asmfile, asmfile2 and
7491 asmfile3. Comment the STABS (#3) file compilation. Compile
7492 everything through assembler. Provide KFAIL for symtab/12497.
7493 * gdb.dwarf2/dw2-ranges2.S: Rename to ...
7494 * gdb.dwarf2/dw2-ranges2.c: ... here, convert it to C.
7495 * gdb.dwarf2/dw2-ranges3.S: Rename to ...
7496 * gdb.dwarf2/dw2-ranges3.c: ... here, convert it to C.
7497
7498 2011-02-24 Michael Snyder <msnyder@vmware.com>
7499
7500 * gdb.base/break.exp: Add tests for delete breakpoints using
7501 convenience variables and value history references.
7502
7503 2011-02-24 Michael Snyder <msnyder@vmware.com>
7504
7505 * gdb.base/break.exp: Remove debugging 'printf' accidentally
7506 left behind in previous check-in.
7507
7508 2011-02-23 Michael Snyder <msnyder@vmware.com>
7509
7510 * gdb.base/break.exp: Add tests for "info break" with arguments.
7511 * gdb.trace/infotrace.exp: Update patterns for error and help.
7512 * gdb.base/completion.exp: Update pattern.
7513 * gdb.base/ena-dis-br.exp: Update pattern.
7514 * gdb.base/help.exp: Update patterns.
7515
7516 2011-02-23 Michael Snyder <msnyder@vmware.com>
7517
7518 * gdb.base/memattr.exp: New test.
7519 * gdb.base/memattr.c: Test load for memattr.exp.
7520
7521 2011-02-22 Doug Evans <dje@google.com>
7522
7523 * gdb.python/py-symbol.exp: Test lookup_global_symbol.
7524
7525 2011-02-22 Michael Snyder <msnyder@vmware.com>
7526
7527 * Makefile.in: Make more clean.
7528 * gdb.ada/Makefile.in: Ditto.
7529 * gdb.arch/Makefile.in: Ditto.
7530 * gdb.asm/Makefile.in: Ditto.
7531 * gdb.base/Makefile.in: Ditto.
7532 * gdb.cp/Makefile.in: Ditto.
7533 * gdb.dwarf2/Makefile.in: Ditto.
7534 * gdb.java/Makefile.in: Ditto.
7535 * gdb.mi/Makefile.in: Ditto.
7536 * gdb.modula2/Makefile.in: Ditto.
7537 * gdb.python/Makefile.in: Ditto.
7538 * gdb.server/Makefile.in: Ditto.
7539 * gdb.stabs/Makefile.in: Ditto.
7540 * gdb.threads/Makefile.in: Ditto.
7541 * gdb.trace/Makefile.in: Ditto.
7542
7543 2011-02-22 Michael Snyder <msnyder@vmware.com>
7544
7545 * gdb.threads/thread-find.exp: Add tests for bad input to
7546 info threads.
7547
7548 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7549
7550 * gdb.python/py-breakpoint.exp: Fix the expected output of
7551 one of the "maint info breakpoints" tests to accept the output
7552 generated on platforms that do not have hardware watchpoints.
7553
7554 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7555
7556 * gdb.python/py-breakpoint.exp: Remove unnecessary call to
7557 clean_restart. Be a little stricter in the expected output
7558 for one of the tests. Fix a typo in one of the comments.
7559
7560 2011-02-22 Joel Brobecker <brobecker@adacore.com>
7561
7562 * gdb.python/py-block.exp: Simplify using prepare_for_testing.
7563 Delete variable binfile, no longer use. Add or modify test
7564 comments to make them unique.
7565
7566 2011-02-21 Michael Snyder <msnyder@vmware.com>
7567
7568 * Makefile.in: Update for make clean.
7569 * gdb.ada/Makefile.in: Ditto.
7570 * gdb.arch/Makefile.in: Ditto.
7571 * gdb.asm/Makefile.in: Ditto.
7572 * gdb.base/Makefile.in: Ditto.
7573 * gdb.cp/Makefile.in: Ditto.
7574 * gdb.dwarf2/Makefile.in: Ditto.
7575 * gdb.java/Makefile.in: Ditto.
7576 * gdb.mi/Makefile.in: Ditto.
7577 * gdb.modula2/Makefile.in: Ditto.
7578 * gdb.python/Makefile.in: Ditto.
7579 * gdb.server/Makefile.in: Ditto.
7580 * gdb.stabs/Makefile.in: Ditto.
7581 * gdb.threads/Makefile.in: Ditto.
7582 * gdb.trace/Makefile.in: Ditto.
7583
7584 2011-02-21 Michael Snyder <msnyder@vmware.com>
7585
7586 * gdb.threads/thread-find.exp: Update patterns for changes in
7587 output of "info threads" command.
7588
7589 2011-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
7590 Ulrich Weigand <uweigand@de.ibm.com>
7591
7592 * lib/gdb.exp (skip_hw_breakpoint_tests): Add arm*-*-* target.
7593 (skip_hw_watchpoint_tests): Likewise.
7594 (skip_hw_watchpoint_multi_tests): Likewise.
7595
7596 2011-02-21 Ulrich Weigand <uweigand@de.ibm.com>
7597
7598 * lib/gdb.exp (skip_hw_breakpoint_tests): New procedure.
7599 (skip_hw_watchpoint_tests): Likewise.
7600 (skip_hw_watchpoint_multi_tests): Likewise.
7601 (skip_hw_watchpoint_access_tests): Likewise.
7602
7603 * gdb.base/hbreak.exp: Use appropriate skip_hw_..._tests checks.
7604 * gdb.base/pr11022.exp: Likewise.
7605 * gdb.base/watch-read.exp: Likewise.
7606 * gdb.base/watch_thread_num.exp: Likewise.
7607 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
7608 * gdb.base/watchpoint-hw.exp: Likewise.
7609 * gdb.base/watchpoint.exp: Likewise.
7610 * gdb.threads/local-watch-wrong-thread.exp: Likewise.
7611 * gdb.threads/watchthreads-reorder.exp: Likewise.
7612 * gdb.threads/watchthreads.exp: Likewise.
7613 * gdb.threads/watchthreads2.exp: Likewise.
7614
7615 2011-02-21 Joel Brobecker <brobecker@adacore.com>
7616
7617 * gdb.ada/packed_array.exp: Add xfail for "print u_var" if
7618 the debugger is unable to find the array bounds.
7619
7620 2011-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7621
7622 * gdb.cp/typedef-operator.exp: New file.
7623 * gdb.cp/typedef-operator.cc: New file.
7624
7625 2011-02-17 Michael Snyder <msnyder@vmware.com>
7626
7627 * gdb.threads/thread-find.exp: Fix regular expressions.
7628
7629 2011-02-17 Joel Brobecker <brobecker@adacore.com>
7630
7631 * gdb.ada/packed_array: Expand testcase to test printing of
7632 unconstrained packed array.
7633
7634 2011-02-17 Joel Brobecker <brobecker@adacore.com>
7635
7636 * gdb.dwarf2/dw2-ranges.exp: Simplify using clean_restart.
7637
7638 2011-02-16 Pedro Alves <pedro@codesourcery.com>
7639
7640 * gdb.trace/collection.c (globalarr3): New global.
7641 (main): Initialize it before collecting, and and clear it
7642 afterwards.
7643 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7644 collecting with '{type} addr', where the addr expression is not an
7645 rvalue.
7646
7647 2011-02-16 Ken Werner <ken.werner@de.ibm.com>
7648
7649 * gdb.opencl/datatypes.exp: Allow "false" when printing the content of
7650 a bool variable. Expect correct OpenCL names for vector types. Use the
7651 uc3 variable name instead of referring to the uchar3 built-in type.
7652 Escape the asterisk at the half pointer test.
7653
7654 2011-02-16 Pedro Alves <pedro@codesourcery.com>
7655
7656 * gdb.trace/collection.c (globalarr2): New global.
7657 (main): Initialize it before collecting, and and clear it
7658 afterwards.
7659 * gdb.trace/collection.exp (gdb_collect_globals_test): Test
7660 collecting overlapping memory ranges.
7661
7662 2011-02-15 Michael Snyder <msnyder@vmware.com>
7663
7664 * gdb.base/default.exp: Add tests for thread commands.
7665 * gdb.base/help.exp: Add tests for thread commands.
7666 * gdb.threads/thread-find.exp: New test for thread find command.
7667
7668 2011-02-15 Ken Werner <ken.werner@de.ibm.com>
7669
7670 * gdb.opencl/datatypes.exp: Expect the size of a bool to be one byte.
7671
7672 2011-02-15 Yao Qi <yao@codesourcery.com>
7673
7674 PR tdep/12352
7675 * gdb.arch/arm-disp-step.S : New test for str instruction.
7676 * gdb.arch/arm-disp-step.exp : Likewise.
7677
7678 2011-02-15 Thiago Jung Bauermann <bauerman@br.ibm.com>
7679
7680 * gdb.arch/vsx-regs.exp: Add "vector_register1_vr" and
7681 "vector_register2_vr" test strings. Test the extended floating
7682 point registers (F32~F63).
7683 * lib/gdb.exp (skip_vsx_tests): Update compile flags for the
7684 IBM XL C compiler. Make the test program use a register provided
7685 by the compiler for the lxvd2x instruction.
7686
7687 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7688
7689 * gdb.trace/unavailable.cc (class Base, class Middle, class
7690 Derived): New types.
7691 (derived_unavail, derived_partial, derived_whole): New globals.
7692 (virtual_partial): New global.
7693 (virtualp): Point at virtual_partial.
7694 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add tests
7695 related to unavailable vptr.
7696
7697 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7698
7699 * gdb.trace/unavailable.cc (a, b, c): New globals.
7700 (main): Set and clear them.
7701 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Collect
7702 `a' and `c', and check that `b' isn't collected, although `a' and
7703 `c' are.
7704
7705 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7706
7707 * gdb.trace/unavailable.cc (struct Virtual): New.
7708 (virtualp): New global pointer.
7709 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test
7710 printing a pointer to an object whose type has a vtable, with
7711 print object on.
7712
7713 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7714
7715 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Test that
7716 value repeat handles unavailableness.
7717
7718 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7719
7720 * gdb.trace/unavailable.exp (gdb_collect_globals_test): Add new
7721 tests for building arrays from unavailable values, subscripting
7722 non-memory rvalue unvailable arrays, and accessing fields or
7723 baseclasses of non-lazy unavailable values,
7724 * gdb.trace/unavailable.cc (small_struct, small_struct_b): New
7725 struct types.
7726 (g_smallstruct, g_smallstruct_b): New globals.
7727
7728 2011-02-14 Pedro Alves <pedro@codesourcery.com>
7729
7730 * gdb.trace/unavailable.cc, gdb.trace/unavailable.exp: New files.
7731
7732 2011-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
7733
7734 Fix const/volatile qualifiers of C++ types, PR c++/12328.
7735 * gdb.cp/overload-const.exp: New file.
7736 * gdb.cp/overload-const.cc: New file.
7737
7738 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7739
7740 * gdb.opencl/callfuncs.cl: New file.
7741 * gdb.opencl/callfuncs.exp: New test.
7742 * gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.
7743
7744 2011-02-08 Ulrich Weigand <uweigand@de.ibm.com>
7745
7746 * gdb.arch/altivec-abi.c (vec_func): Make use of intv_on_stack_f
7747 when computing result.
7748 * gdb.arch/altivec-abi.exp: Update expected results.
7749
7750 2011-02-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
7751
7752 * gdb.base/break-interp.exp: Remove ${objdir} from test messages.
7753 * gdb.base/jit.exp: Likewise.
7754 * gdb.base/pie-execl.exp: Likewise.
7755 * gdb.base/solib-nodir.exp: Likewise.
7756 * gdb.base/solib-overlap.exp: Likewise.
7757
7758 2011-02-07 Pedro Alves <pedro@codesourcery.com>
7759
7760 * gdb.trace/collection.c (global_pieces): New.
7761 * gdb.trace/collection.exp (gdb_collect_global_in_pieces_test):
7762 New procedure.
7763 (gdb_trace_collection_test): Call it.
7764
7765 2011-02-04 Sami Wagiaalla <swagiaal@redhat.com>
7766
7767 * gdb.python/py-evthreads.c: New file.
7768 * gdb.python/py-evthreads.exp: New file.
7769 * gdb.python/py-events.py: New file.
7770 * gdb.python/py-events.exp: New file.
7771 * gdb.python/py-events.c: New file.
7772
7773 2011-02-04 David Daney <ddaney@caviumnetworks.com>
7774
7775 * gdb.base/catch-syscall.exp: Enable for mips*-linux*.
7776
7777 2011-02-03 Andrew Burgess <aburgess@broadcom.com>
7778
7779 * gdb.base/disasm-end-cu-1.c, gdb.base/disasm-end-cu-2.c,
7780 gdb.base/disasm-end-cu.exp: New test for disassembling over the
7781 boundary between two compilation units.
7782
7783 2011-02-02 Pedro Alves <pedro@codesourcery.com>
7784
7785 * gdb.cp/virtbase.cc (VirtualBase, VirtualMiddleA, VirtualMiddleB)
7786 (Virtual): New structs.
7787 (virtual_o, virtual_middle_b): New globals.
7788 * gdb.cp/virtbase.exp: New tests.
7789
7790 2011-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
7791
7792 * gdb.base/jit.exp: New file.
7793 * gdb.base/jit-main.c: New file.
7794 * gdb.base/jit-solib.c: New file.
7795
7796 2011-01-31 Ulrich Weigand <uweigand@de.ibm.com>
7797
7798 * gdb.opencl/convs_casts.exp: Use tbreak instead of break to
7799 proceed to initial kernel entry point.
7800 * gdb.opencl/datatypes.exp: Likewise.
7801 * gdb.opencl/operators.exp: Likewise.
7802 * gdb.opencl/vec_comps.exp: Likewise.
7803
7804 2011-01-31 Sami Wagiaalla <swagiaal@redhat.com>
7805
7806 * gdb.cp/nsnested.cc: New.
7807 * gdb.cp/nsnested.exp: New.
7808 * gdb.cp/nsnoimports.exp: New.
7809 * gdb.cp/nsnoimports.cc: New.
7810
7811 2011-01-31 Joel Brobecker <brobecker@adacore.com>
7812
7813 * gdb.base/interact.exp: Add extra tests that verify that
7814 the value of the interactive-mode setting does not change
7815 after the script is sourced.
7816
7817 2011-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
7818
7819 * gdb.cp/noparam.exp: New file.
7820 * gdb.cp/noparam.cc: New file.
7821
7822 2011-01-28 Pedro Alves <pedro@codesourcery.com>
7823
7824 * gdb.trace/tfile.exp: Test that with no traceframe selected,
7825 there's no stack or registers.
7826
7827 2011-01-26 Tom Tromey <tromey@redhat.com>
7828
7829 * gdb.python/py-prettyprint.exp (run_lang_tests): Ensure no blank
7830 space before string output. Add test for "set print pretty off"
7831 case.
7832
7833 2011-01-25 Pedro Alves <pedro@codesourcery.com>
7834
7835 * gdb.base/frame-args.exp: Adjust.
7836 * gdb.dwarf2/dw2-noloc.exp: Adjust.
7837 * gdb.dwarf2/dw2-inline-param.exp: Adjust.
7838 * gdb.dwarf2/pieces.exp: Adjust.
7839 * gdb.opt/clobbered-registers-O2.exp: Adjust.
7840 * gdb.opt/inline-locals.exp: Adjust.
7841 * gdb.threads/fork-child-threads.exp: Adjust.
7842
7843 2011-01-25 Ken Werner <ken.werner@de.ibm.com>
7844
7845 * gdb.opencl/convs_casts.cl: Move program scope variables into the
7846 OpenCL kernel function. Add a comment as marker. Add address space
7847 qualifiers for the remaining program scope variables.
7848 * gdb.opencl/datatypes.cl: Likewise.
7849 * gdb.opencl/operators.cl: Likewise.
7850 * gdb.opencl/vec_comps.cl: Likewise.
7851 * gdb.opencl/convs_casts.exp: Replace gdb_test_multiple by gdb_test.
7852 Add breakpoint at the marker comment.
7853 * gdb.opencl/datatypes.exp: Likewise.
7854 * gdb.opencl/operators.exp: Likewise.
7855 * gdb.opencl/vec_comps.exp: Likewise.
7856
7857 2011-01-24 Pedro Alves <pedro@codesourcery.com>
7858
7859 * gdb.base/printcmds.c (some_struct): New struct and instance.
7860 * gdb.base/printcmds.exp (test_print_repeats_embedded_array): New
7861 procedure.
7862 <global scope>: Call it.
7863
7864 2011-01-21 Ken Werner <ken.werner@de.ibm.com>
7865
7866 * lib/opencl.exp (skip_opencl_tests): Add missing compile_flags
7867 argument to the gdb_compile_opencl_hostapp call.
7868
7869 2011-01-19 Yao Qi <yao@codesourcery.com>
7870
7871 * lib/dwarf.exp (dwarf2_support): Change supported targets to a
7872 positve list.
7873
7874 2011-01-19 Yao Qi <yao@codesourcery.com>
7875
7876 * gdb.asm/asm-source.exp: Replace ARM target triplet with a
7877 canonical form.
7878 Remove "xscale-*-*"
7879 * gdb.xml/tdesc-regs.exp: Likewise.
7880 * gdb.python/py-section-script.exp: Replace ARM target triplet
7881 with canonical form.
7882 Match arm*-*-symbianelf*.
7883 * gdb.base/dup-sect.exp: Likewise.
7884 * lib/dwarf.exp: New.
7885 * gdb.dwarf2/callframecfa.exp: Check dwarf2 support by routine
7886 dwarf2_support.
7887 * gdb.dwarf2/dup-psym.exp: Likewise.
7888 * gdb.dwarf2/dw2-ada-ffffffff.exp: Likewise.
7889 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7890 * gdb.dwarf2/dw2-bad-parameter-type.exp: Likewise.
7891 * gdb.dwarf2/dw2-basic.exp: Likewise.
7892 * gdb.dwarf2/dw2-compressed.exp: Likewise.
7893 * gdb.dwarf2/dw2-const.exp: Likewise.
7894 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: Likewise.
7895 * gdb.dwarf2/dw2-cu-size.exp: Likewise.
7896 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7897 * gdb.dwarf2/dw2-empty-namespace.exp: Likewise.
7898 * gdb.dwarf2/dw2-filename.exp: Likewise.
7899 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7900 * gdb.dwarf2/dw2-inline-param.exp: Likewise.
7901 * gdb.dwarf2/dw2-intercu.exp: Likewise.
7902 * gdb.dwarf2/dw2-intermix.exp: Likewise.
7903 * gdb.dwarf2/dw2-modula2-self-type.exp: Likewise.
7904 * gdb.dwarf2/dw2-noloc.exp: Likewise.
7905 * gdb.dwarf2/dw2-op-call.exp: Likewise.
7906 * gdb.dwarf2/dw2-producer.exp: Likewise.
7907 * gdb.dwarf2/dw2-ranges.exp: Likewise.
7908 * gdb.dwarf2/dw2-ref-missing-frame.exp: Likewise.
7909 * gdb.dwarf2/dw2-stack-boundary.exp: Likewise.
7910 * gdb.dwarf2/dw2-strp.exp: Likewise.
7911 * gdb.dwarf2/dw2-unresolved.exp: Likewise.
7912 * gdb.dwarf2/implptr.exp: Likewise.
7913 * gdb.dwarf2/mac-fileno.exp: Likewise.
7914 * gdb.dwarf2/member-ptr-forwardref.exp: Likewise.
7915 * gdb.dwarf2/pieces.exp: Likewise.
7916 * gdb.dwarf2/pr11465.exp: Likewise.
7917 * gdb.dwarf2/valop.exp: Likewise.
7918 * gdb.dwarf2/watch-notconst.exp: Likewise.
7919 * gdb.mi/dw2-ref-missing-frame.exp: Likewise.
7920
7921 2011-01-19 Tom Tromey <tromey@redhat.com>
7922
7923 * gdb.python/py-infthread.exp: Add thread tests.
7924
7925 2011-01-14 Joel Brobecker <brobecker@adacore.com>
7926
7927 * gdb.base/wchar.c, gdb.base/wchar.exp: New testcases.
7928
7929 2011-01-14 Joel Brobecker <brobecker@adacore.com>
7930
7931 * gdb.ada/widewide: New testcase.
7932
7933 2011-01-13 Joel Brobecker <brobecker@adacore.com>
7934
7935 * gdb.base/interact.exp: New testcase.
7936
7937 2011-01-12 Tom Tromey <tromey@redhat.com>
7938
7939 * gdb.mi/gdb2549.exp: Update for error message changes.
7940 * gdb.mi/mi-cli.exp: Likewise.
7941 * gdb.mi/mi-disassemble.exp: Likewise.
7942 * gdb.mi/mi-pthreads.exp: Likewise.
7943 * gdb.mi/mi-regs.exp: Likewise.
7944 * gdb.mi/mi-stack.exp: Likewise.
7945 * gdb.mi/mi-var-block.exp: Likewise.
7946 * gdb.mi/mi-var-cmd.exp: Likewise.
7947 * gdb.mi/mi2-cli.exp: Likewise.
7948 * gdb.mi/mi2-disassemble.exp: Likewise.
7949 * gdb.mi/mi2-pthreads.exp: Likewise.
7950 * gdb.mi/mi2-regs.exp: Likewise.
7951 * gdb.mi/mi2-stack.exp: Likewise.
7952 * gdb.mi/mi2-var-block.exp: Likewise.
7953 * gdb.mi/mi2-var-cmd.exp: Likewise.
7954
7955 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
7956 Jan Kratochvil <jan.kratochvil@redhat.com>
7957
7958 PR fortran/11104 and DWARF unbound arrays detection.
7959 * gdb.fortran/multi-dim.exp: New file.
7960 * gdb.fortran/multi-dim.f90: New file.
7961
7962 2011-01-12 Andrew Burgess <aburgess@broadcom.com>
7963
7964 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Update
7965 expected output to reflect changes in gdb/mi/mi-cmd-disas.c and
7966 add new tests for opcode dumping.
7967
7968 2011-01-11 Tom Tromey <tromey@redhat.com>
7969
7970 * gdb.python/py-infthread.exp: Load gdb-python.exp.
7971
7972 2010-01-11 Thiago Jung Bauermann <bauerman@br.ibm.com>
7973
7974 Convert hardware watchpoints to use breakpoint_ops.
7975 * gdb.base/foll-exec.exp: Adapt to new error string when the catchpoint
7976 type is not supported.
7977 * gdb.base/foll-fork.exp: Likewise.
7978 * gdb.base/foll-vfork.exp: Likewise.
7979
7980 2011-01-10 Phil Muldoon <pmuldoon@redhat.com>
7981
7982 * gdb.python/py-cmd.exp: Remove gdb_py_test_multiple function.
7983 Use load_lib gdb-python.exp.
7984 * gdb.python/python.exp: Ditto.
7985 * gdb.python/py-function.exp: Ditto.
7986
7987 2011-01-09 Andreas Schwab <schwab@linux-m68k.org>
7988
7989 * gdb.threads/tls.exp ("info address me"): Fix expected output.
7990
7991 2011-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7992
7993 * configure: Regenerate.
7994
7995 2011-01-06 Tom Tromey <tromey@redhat.com>
7996
7997 * gdb.python/py-frame.exp: Test gdb.newest_frame.
7998
7999 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8000
8001 * gdb.ada/array_bounds.exp, gdb.ada/array_return.exp,
8002 gdb.ada/array_subscript_addr.exp, gdb.ada/arrayidx.exp,
8003 gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
8004 gdb.ada/atomic_enum.exp, gdb.ada/call_pn.exp,
8005 gdb.ada/catch_ex.exp, gdb.ada/char_param.exp,
8006 gdb.ada/complete.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
8007 gdb.ada/fixed_points.exp, gdb.ada/formatted_ref.exp,
8008 gdb.ada/frame_args.exp, gdb.ada/fun_addr.exp,
8009 gdb.ada/fun_in_declare.exp, gdb.ada/funcall_param.exp,
8010 gdb.ada/homonym.exp, gdb.ada/int_deref.exp,
8011 gdb.ada/interface.exp, gdb.ada/lang_switch.exp,
8012 gdb.ada/mod_from_name.exp, gdb.ada/nested.exp,
8013 gdb.ada/null_array.exp, gdb.ada/null_record.exp,
8014 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
8015 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
8016 gdb.ada/ptype_field.exp, gdb.ada/ptype_tagged_param.exp,
8017 gdb.ada/rec_return.exp, gdb.ada/ref_param.exp,
8018 gdb.ada/ref_tick_size.exp, gdb.ada/start.exp,
8019 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
8020 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/tasks.exp,
8021 gdb.ada/tick_last_segv.exp, gdb.ada/type_coercion.exp,
8022 gdb.ada/uninitialized_vars.exp,
8023 gdb.ada/variant_record_packed_array.exp, gdb.ada/watch_arg.exp:
8024 Simplify by using clean_restart.
8025
8026 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8027
8028 Add marker to be used as anchor for inserting breakpoints.
8029 * gdb.ada/null_record/null_record.adb: Add "-- START" comment.
8030 * gdb.ada/start/dummy.adb, gdb.ada/uninitialized_vars/parse.adb:
8031 Likewise.
8032
8033 Remove uses of gdb_start_cmd.
8034 * gdb.ada/null_record.exp: Remove use of gdb_start_cmd.
8035 * gdb.ada/print_pc.exp, gdb.ada/uninitialized_vars.exp: Ditto.
8036
8037 Do not run testcase if testing with GDBserver.
8038 * gdb.ada/exec_changed.exp, gdb.ada/start.exp: Abort as untested
8039 if testing with GDBserver.
8040
8041 2011-01-06 Joel Brobecker <brobecker@adacore.com>
8042
8043 * gdb.ada/complete/foo.adb, gdb.ada/complete/pck.adb,
8044 gdb.ada/complete/pck.ads, gdb.ada/print_chars/foo.adb: Add
8045 copyright header.
8046
8047 2011-01-05 Joel Brobecker <brobecker@adacore.com>
8048
8049 * testsuite/configure.ac, testsuite/gdb.arch/gdb1291.s,
8050 testsuite/gdb.arch/gdb1431.s, testsuite/gdb.fortran/array-element.f,
8051 testsuite/gdb.fortran/complex.f,
8052 testsuite/gdb.fortran/derived-type.f90,
8053 testsuite/gdb.fortran/library-module-lib.f90,
8054 testsuite/gdb.fortran/library-module-main.f90,
8055 testsuite/gdb.fortran/logical.f90, testsuite/gdb.fortran/module.f90,
8056 testsuite/gdb.fortran/subarray.f, testsuite/gdb.mi/array.f:
8057 Copyright year update.
8058
8059 2011-01-05 Joel Brobecker <brobecker@adacore.com>
8060
8061 * gdb.base/langs1.f: Add copyright header.
8062
8063 2011-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8064
8065 * gdb.base/morestack.exp: New file.
8066 * gdb.base/morestack.c: New file.
8067
8068 2011-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8069
8070 * gdb.ada/gnat_ada.gpr: Fix copyright comment line regression by 2011.
8071
8072 2010-12-29 Joel Brobecker <brobecker@adacore.com>
8073
8074 * gdb.ada/arrayptr/foo.adb: Add new local variable Null_String.
8075 * gdb.ada/arrayptr.exp: Add test printing that new variable.
8076
8077 2010-12-29 Joel Brobecker <brobecker@adacore.com>
8078
8079 * gdb.ada/lang_switch.exp: Correct expected parameter value.
8080
8081 2010-12-25 Andreas Schwab <schwab@linux-m68k.org>
8082
8083 * gdb.threads/tls.exp: Fix typo.
8084
8085 * gdb.threads/thread-specific.exp (get_thread_list): Update.
8086 * gdb.threads/execl.exp: Update.
8087
8088 2010-12-23 Yao Qi <yao@codesourcery.com>
8089
8090 * gdb.arch/arm-disp-step.exp: New.
8091 * gdb.arch/arm-disp-step.S: New.
8092
8093 2010-12-21 Tom Tromey <tromey@redhat.com>
8094
8095 * gdb.threads/execl.exp: Update.
8096 * gdb.threads/linux-dp.exp: Update.
8097 * gdb.threads/manythreads.exp: Update.
8098 * gdb.threads/tls.exp: Update.
8099
8100 2010-12-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8101
8102 * gdb.cp/nextoverthrow.cc (dummy): Return int 0.
8103 (NextOverThrowDerivates) <resumebpt>: New.
8104 (resumebpt_test): New.
8105 (main): Call resumebpt_test.
8106 * gdb.cp/nextoverthrow.exp: New block for test of "resumebpt".
8107
8108 2010-12-12 Stan Shebs <stan@codesourcery.com>
8109
8110 * gdb.trace/tsv.exp: Test print command on trace state variables.
8111
8112 2010-12-09 Tom Tromey <tromey@redhat.com>
8113
8114 * gdb.base/interp.exp: Add regression test.
8115
8116 2010-12-09 Tom Tromey <tromey@redhat.com>
8117
8118 * gdb.java/jnpe.java: New file.
8119 * gdb.java/jnpe.exp: New file.
8120 * gdb.cp/nextoverthrow.exp: New file.
8121 * gdb.cp/nextoverthrow.cc: New file.
8122
8123 2010-12-07 Doug Evans <dje@google.com>
8124
8125 * gdb.base/catch-syscall.exp (do_syscall_tests): Remove setting
8126 of data-directory.
8127 * lib/gdb-python.exp (gdb_check_python_config): Delete, all callers
8128 updated.
8129 * lib/gdb.exp (INTERNAL_GDBFLAGS): Add -data-directory.
8130
8131 2010-11-29 Michael Snyder <msnyder@vmware.com>
8132
8133 * gdb.base/callfuncs.exp: Test for skip_float_tests.
8134 * gdb.base/call-sc.exp: Ditto.
8135 * gdb.base/finish.exp: Ditto.
8136 * gdb.base/return.exp: Ditto.
8137 * gdb.base/return2.exp: Ditto.
8138
8139 2010-11-30 Doug Evans <dje@google.com>
8140
8141 * lib/gdb.exp (gdb_test_sequence): Return result of gdb_expect_list.
8142 (gdb_expect_list): Fix spelling errors in comments.
8143 * gdb.arch/system-gcore.exp: Use gdb_test_sequence instead of
8144 send_gdb/gdb_expect_list where applicable.
8145 * gdb.base/call-ar-st.exp: Ditto.
8146 * gdb.base/funcargs.exp: Ditto.
8147 * gdb.base/gcore.exp: Ditto.
8148 * gdb.base/page.exp: Ditto.
8149 * gdb.base/sigaltstack.exp: Ditto.
8150 * gdb.base/siginfo.exp: Ditto.
8151 * gdb.base/sigstep.exp: Ditto.
8152 * gdb.base/trace-commands.exp: Ditto.
8153
8154 2010-11-29 Doug Evans <dje@google.com>
8155
8156 * gdb.python/py-pp-maint.exp: Change printer-name:subprinter-name to
8157 printer-name;subprinter-name.
8158
8159 2010-11-29 Tom Tromey <tromey@redhat.com>
8160
8161 * gdb.dwarf2/implptr.exp: New file.
8162 * gdb.dwarf2/implptr.c: New file.
8163 * gdb.dwarf2/implptr.S: New file.
8164
8165 2010-11-29 Phil Muldoon <pmuldoon@redhat.com>
8166
8167 PR python/12199
8168
8169 * gdb.python/py-breakpoint.exp: Test the delete method.
8170
8171 2010-11-28 Jan Kratochvil <jan.kratochvil@redhat.com>
8172
8173 Fix step_resume_breakpoint unsaved during an infcall.
8174 * gdb.base/step-resume-infcall.exp: New file.
8175 * gdb.base/step-resume-infcall.c: New file.
8176
8177 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
8178
8179 * gdb.asm/powerpc.inc: Use 'sys_exit' on gdbasm_exit0 macro.
8180
8181 2010-11-24 Edjunior Machado <emachado@br.ibm.com>
8182
8183 * gdb.asm/asm-source.exp: Add new target "powerpc64"; expect leading `.'
8184 on ppc64's symbols; "finish" and "return" commands must accept to
8185 show the caller line again as well as the line after.
8186 * gdb.asm/powerpc64.inc: New file.
8187
8188 2010-11-23 Doug Evans <dje@google.com>
8189
8190 * lib/gdb.exp (gdb_test_sequence): New function.
8191 (gdb_expect_list): Add verbose -log call for each pattern.
8192 * gdb.base/signals.exp (test_handle_all_print): Call it.
8193 Reduce timeout increment from 6 minutes to 1 minute.
8194 * gdb.server/ext-run.exp: Call it.
8195
8196 2010-11-23 Phil Muldoon <pmuldoon@redhat.com>
8197
8198 PR python/12212
8199
8200 * gdb.python/python.exp: Check that selected_thread raises an
8201 error when no inferior is loaded.
8202
8203 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8204
8205 * gdb.dwarf2/dw2-stack-boundary.exp: New file.
8206 * gdb.dwarf2/dw2-stack-boundary.S: New file.
8207
8208 2010-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8209
8210 * gdb.dwarf2/dw2-ada-ffffffff.S: New file.
8211 * gdb.dwarf2/dw2-ada-ffffffff.exp: New file.
8212
8213 2010-11-18 Doug Evans <dje@google.com>
8214
8215 * gdb.server/ext-run.exp: Fix intermittent failures.
8216
8217 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8218
8219 * gdb.stabs/gdb11479.exp: Use runto_main.
8220
8221 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8222
8223 * gdb.base/break-entry.exp: Skip if using a stub.
8224
8225 2010-11-12 Nathan Froyd <froydnj@codesourcery.com>
8226
8227 * gdb.python/py-inferior.exp: Pack values in target endianness.
8228
8229 2010-11-12 Tom Tromey <tromey@redhat.com>
8230
8231 * gdb.python/py-prettyprint.c (main): Add new 'ns2' local.
8232 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test for
8233 MemoryError.
8234 * gdb.python/python.exp (gdb_py_test_multiple): Update exception
8235 type.
8236 * gdb.python/py-value.exp (test_value_in_inferior): Add test for
8237 MemoryError.
8238 (test_subscript_regression): Update exception type.
8239
8240 2010-11-11 Phil Muldoon <pmuldoon@redhat.com>
8241
8242 * gdb.python/py-breakpoint.exp: Add internal watchpoint and
8243 breakpoint tests.
8244
8245 2010-11-09 Pedro Alves <pedro@codesourcery.com>
8246
8247 * gdb.base/watchpoint.exp: Test "watch -location" with an
8248 innacessible location.
8249
8250 2010-11-09 Edjunior Machado <emachado@br.ibm.com>
8251 Luis Machado <luisgpm@br.ibm.com>
8252
8253 * gdb.base/maint.exp: Expect "." prefix.
8254 * gdb.base/nodebug.exp: Expect "." Likewise.
8255 * gdb.base/sepsymtab.exp: Expect "." Likewise.
8256 * gdb.base/watchpoint-cond-gone.exp: Likewise.
8257 * gdb.base/watchpoint.exp: Expect a software watch to be created for
8258 POWER server processors.
8259
8260 2010-11-08 Edjunior Machado <emachado@br.ibm.com>
8261 Luis Machado <luisgpm@br.ibm.com>
8262
8263 * gdb.base/break-entry.exp: convert entry point for
8264 ppc64 and expect leading `.' on ppc64's symbols
8265
8266 2010-11-05 Doug Evans <dje@google.com>
8267
8268 * gdb.base/help.exp: Update expected output.
8269 * gdb.python/py-param.exp: Delete, contents moved to ...
8270 * gdb.python/py-parameter.exp: ... here. New file.
8271 Add test for gdb.parameter ("directories").
8272
8273 2010-11-05 Ken Werner <ken.werner@de.ibm.com>
8274
8275 * Makefile.in (ALL_SUBDIRS): Add gdb.opencl.
8276 * configure.ac (AC_OUTPUT): Add gdb.opencl/Makefile.
8277 * configure: Regenerate.
8278 * gdb.opencl/Makefile.in: New File.
8279 * gdb.opencl/datatypes.exp: Likewise.
8280 * gdb.opencl/datatypes.cl: Likewise.
8281 * gdb.opencl/operators.exp: Likewise.
8282 * gdb.opencl/operators.cl: Likewise.
8283 * gdb.opencl/vec_comps.exp: Likewise.
8284 * gdb.opencl/vec_comps.cl: Likewise.
8285 * gdb.opencl/convs_casts.exp: Likewise.
8286 * gdb.opencl/convs_casts.cl: Likewise.
8287 * lib/opencl.exp: Likewise.
8288 * lib/opencl_hostapp.c: Likewise.
8289 * lib/opencl_kernel.cl: Likewise.
8290 * lib/cl_util.c: Likewise.
8291 * lib/cl_util.c: Likewise.
8292 * gdb.base/default.exp (set language): Add "opencl" to the list of
8293 languages.
8294
8295 2010-11-04 Sami Wagiaalla <swagiaal@redhat.com>
8296
8297 * gdb.cp/overload.exp: Added test for inheritance overload.
8298 * gdb.cp/overload.cc: Ditto.
8299 * gdb.cp/oranking.exp: Removed releveant kfails.
8300
8301 2010-11-04 Jan Kratochvil <jan.kratochvil@redhat.com>
8302 Joel Brobecker <brobecker@adacore.com>
8303
8304 * gdb.ada/null_array.exp (print my_table): Call get_compiler_info and
8305 check test_compiler_info.
8306
8307 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8308
8309 * gdb.base/gnu_vector.exp: Adjust expect messages.
8310
8311 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8312
8313 * gdb.base/gnu_vector.exp: Add unary operator tests.
8314
8315 2010-11-03 Ken Werner <ken.werner@de.ibm.com>
8316
8317 * gdb.base/exprs.exp: Add tests for pre-/post- in-/decrement operators.
8318
8319 2010-11-02 Doug Evans <dje@google.com>
8320
8321 * gdb.python/py-pp-maint.c: New file.
8322 * gdb.python/py-pp-maint.exp: New file.
8323 * gdb.python/py-pp-maint.py: New file.
8324
8325 2010-11-02 Tom Tromey <tromey@redhat.com>
8326
8327 * gdb.base/default.exp: Remove "scheme" from language list.
8328
8329 2010-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8330
8331 Revert:
8332 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8333 * gdb.threads/sigstep-threads.exp: New file.
8334 * gdb.threads/sigstep-threads.c: New file.
8335
8336 2010-10-20 Michael Snyder <msnyder@vmware.com>
8337
8338 * gdb.threads/fork-child-threads.exp: Don't run on remote target.
8339
8340 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8341
8342 * gdb.base/watch_thread_num.exp: Revert 2008-09-03 change.
8343 Skip test completely if gdb,no_hardware_watchpoints.
8344
8345 2010-10-19 Ulrich Weigand <uweigand@de.ibm.com>
8346
8347 * gdb.base/foll-fork.exp: Make regexps to match catchpoint hits more
8348 strict, but do not check for any particular function name within libc.
8349
8350 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8351
8352 * gdb.cp/smartp.exp: New test.
8353 * gdb.cp/smartp.cc : New test.
8354
8355 2010-10-19 Sami Wagiaalla <swagiaal@redhat.com>
8356
8357 * gdb.cp/converts.exp: Test pointer to bool conversion.
8358 Test pointer to long conversion.
8359 * gdb.cp/oranking.exp: Removed relevant kfail.
8360
8361 2010-10-18 Tom Tromey <tromey@redhat.com>
8362
8363 * gdb.python/py-prettyprint.exp (run_lang_tests): Test encoding
8364 argument to lazy_string.
8365 * gdb.python/py-prettyprint.py (pp_ls_encoding): New global.
8366 (pp_ls.to_string): Use it.
8367 * gdb.python/py-prettyprint.c (main): Move declarations to top.
8368 Add "estring2" local.
8369
8370 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8371
8372 Fix s390x compatibility.
8373 * gdb.dwarf2/pr11465.S (DW_TAG_pointer_type): Use PTRBITS. Twice.
8374 * gdb.dwarf2/pr11465.exp: Set ptrbits, use it for -DPTRBITS.
8375
8376 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8377
8378 * gdb.threads/sigstep-threads.exp: New file.
8379 * gdb.threads/sigstep-threads.c: New file.
8380
8381 2010-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8382
8383 * gdb.base/pie-execl.exp: New file.
8384 * gdb.base/pie-execl.c: New file.
8385
8386 2010-10-13 Doug Evans <dje@google.com>
8387 Jan Kratochvil <jan.kratochvil@redhat.com>
8388
8389 PR exp/12117
8390 * gdb.cp/ptype-cv-cp.cc: New file.
8391 * gdb.cp/ptype-cv-cp.exp: New file.
8392
8393 2010-10-14 Sami Wagiaalla <swagiaal@redhat.com>
8394
8395 * gdb.cp/converts.cc: New test program.
8396 * gdb.cp/converts.exp: New test.
8397 * gdb.cp/overload.exp: Added test for void* vs int*.
8398 * gdb.cp/overload.exp: Ditto.
8399 * gdb.cp/oranking.exp: Removed related kfail.
8400
8401 2010-10-13 Doug Evans <dje@google.com>
8402
8403 * lib/gdb-python.exp (gdb_check_python_config): New function.
8404 * gdb.python/Makefile.in (EXECUTABLES): Add lib-types.
8405 * gdb.python/lib-types.cc: New file.
8406 * gdb.python/lib-types.exp: New file.
8407
8408 2010-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8409
8410 * gdb.python/py-error.exp: New file.
8411 * gdb.python/py-error.py: New file.
8412
8413 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8414
8415 * gdb.base/break-interp.exp (test_ld): Replace gdb_expect by
8416 gdb_test_multiple.
8417
8418 2010-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
8419
8420 * gdb.base/break-interp.exp: Use ldlags for linking flags.
8421 * gdb.base/prelink.exp: Likewise.
8422 * gdb.base/solib-nodir.exp: Likewise.
8423 * lib/gdb.exp (gdb_compile) <*-*-openbsd*>
8424 (gdb_compile) <shlib_load>: Use ldlags for linking flags.
8425 * lib/prelink-support.exp (build_executable_own_libs): Likewise.
8426
8427 2010-10-12 Ulrich Weigand <uweigand@de.ibm.com>
8428
8429 * break-interp.exp (test_ld): Use two separate gdb_expect statements
8430 for the "info files" test to avoid timeouts on slow machines.
8431
8432 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8433
8434 * gdb.cp/infcall-dlopen.cc (openlib): Support NULL FILENAME.
8435 (main): Make openlib dummy call.
8436
8437 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8438
8439 Fix missing _start PIE relocation on ppc64 due to stop on dl_main.
8440 * break-interp.exp (reach): Move the core body ...
8441 (reach_1): ... here. Use stop-on-solib-events for _dl_debug_state.
8442 (test_ld): Provide always real argument, even to the linker. Replace
8443 dl_main by _dl_debug_state.
8444
8445 2010-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8446
8447 Fix results of prelinked PIEs on ppc*.
8448 * gdb.base/break-interp.exp (reach, test_core, test_attach_gdb):
8449 Accept also DISPLACEMENT "PRESENT".
8450 (main): Replace "ZERO" displacements by "PRESENT".
8451
8452 2010-10-08 Sami Wagiaalla <swagiaal@redhat.com>
8453
8454 * gdb.cp/oranking.exp: New test.
8455 * gdb.cp/oranking.cc: New test program.
8456
8457 2010-10-08 Ken Werner <ken.werner@de.ibm.com>
8458
8459 * gdb.base/gnu_vector.c (ia, ib, fa, fb): New variables.
8460 * gdb.base/gnu_vector.exp: Add tests for scalar to vector widening.
8461
8462 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
8463
8464 * gdb.base/constvars.c (logical, lugged, luck, lunar, lumen, lurk,
8465 lush, lynx) New constant.
8466 * gdb.base/constvars.exp: Test const array types.
8467 * gdb.dwarf2/dw2-strp.exp: Add const qualifier for ptype tests.
8468
8469 2010-10-06 Doug Evans <dje@google.com>
8470
8471 * gdb.base/catch-syscall.exp (do_syscall_tests): Update location
8472 of syscall staging area.
8473
8474 2010-10-06 Ken Werner <ken.werner@de.ibm.com>
8475
8476 * gdb.base/gnu_vector.c: Add variable c4.
8477 * gdb.base/gnu_vector.exp: Add tests for character vector printing.
8478 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
8479
8480 2010-10-05 Maciej W. Rozycki <macro@codesourcery.com>
8481
8482 * gdb.arch/altivec-abi.exp: Fix a typo.
8483
8484 2010-10-02 Maciej W. Rozycki <macro@codesourcery.com>
8485
8486 * lib/mi-support.exp (thread_selected_re): Correct pattern used
8487 to match a thread ID.
8488
8489 2010-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8490
8491 Fix s390x testcase compatibility.
8492 * gdb.dwarf2/dw2-double-set-die-type.S: Use .2byte, not .value.
8493
8494 2010-10-01 Doug Evans <dje@google.com>
8495
8496 * lib/gdb-python.exp: New file.
8497 * gdb.python/py-block.exp: Use it.
8498 * gdb.python/py-breakpoint.exp: Ditto.
8499 * gdb.python/py-frame.exp: Ditto.
8500 * gdb.python/py-inferior.exp: Ditto.
8501 * gdb.python/py-param.exp: Ditto.
8502 * gdb.python/py-prettyprint.exp: Ditto.
8503 * gdb.python/py-shared.exp: Ditto.
8504 * gdb.python/py-symbol.exp: Ditto.
8505 * gdb.python/py-symtab.exp: Ditto.
8506 * gdb.python/py-type.exp: Ditto.
8507 * gdb.python/py-value.exp: Ditto.
8508 * gdb.python/python.exp: Ditto.
8509
8510 2010-09-30 Tom Tromey <tromey@redhat.com>
8511
8512 * gdb.base/anon.exp: New file.
8513 * gdb.base/anon.c: New file.
8514
8515 2010-09-30 Tom Tromey <tromey@redhat.com>
8516
8517 * gdb.base/completion.exp: Test completion through anonymous
8518 union.
8519 * gdb.base/break1.c (struct some_struct): Add anonymous union.
8520
8521 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8522
8523 Fix printing parameters of inlined functions.
8524 * gdb.dwarf2/dw2-inline-param.exp: New file.
8525 * gdb.dwarf2/dw2-inline-param-main.c: New file.
8526 * gdb.dwarf2/dw2-inline-param.S: New file.
8527
8528 2010-09-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8529
8530 PR corefiles/12071.
8531 * gdb.base/corefile.exp (quit with a process, no question: load core)
8532 (quit with a core file): New tests.
8533
8534 2010-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8535
8536 Fix GDB crash on inferior calls with self-referencing classes.
8537 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp: New file.
8538 * gdb.dwarf2/dw2-cp-infcall-ref-static-main.c: New file.
8539 * gdb.dwarf2/dw2-cp-infcall-ref-static.S: New file.
8540
8541 2010-09-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8542
8543 Fix lost siginfo_t for inferior calls.
8544 * gdb.base/siginfo-infcall.exp: New file.
8545 * gdb.base/siginfo-infcall.c: New file.
8546
8547 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8548
8549 * gdb.dwarf2/dw2-const.S: Minor (space) reformatting.
8550
8551 2010-09-22 Jan Kratochvil <jan.kratochvil@redhat.com>
8552
8553 * gdb.fortran/module.exp (fully qualified name of DW_TAG_constant):
8554 New test.
8555 * gdb.fortran/module.f90 (mod1) <var_const>: New constant.
8556
8557 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8558
8559 * gdb.dwarf2/dw2-const.S: Use .4byte to reference the target
8560 type of our const type.
8561
8562 2010-09-22 Sami Wagiaalla <swagiaal@redhat.com>
8563
8564 * gdb.cp/pr12028.cc: New.
8565 * gdb.cp/pr12028.exp: New.
8566
8567 2010-09-22 Joel Brobecker <brobecker@adacore.com>
8568
8569 * gdb.dwarf2/dw2-const.S, gdb.dwarf2/dw2-const.exp: New files.
8570
8571 2010-09-16 Phil Muldoon <pmuldoon@redhat.com>
8572 Jan Kratochvil <jan.kratochvil@redhat.com>
8573
8574 PR mi/11407
8575 * gdb.mi/dw2-ref-missing-frame-func.c: New File.
8576 * gdb.mi/dw2-ref-missing-frame-main.c New File.
8577 * gdb.mi/dw2-ref-missing-frame.S New File.
8578 * gdb.mi/dw2-ref-missing-frame.exp New File.
8579
8580 2010-09-14 Tom Tromey <tromey@redhat.com>
8581
8582 PR symtab/8399:
8583 * gdb.threads/tls.exp: Remove kfail. Update expected output.
8584
8585 2010-09-14 Tom Tromey <tromey@redhat.com>
8586
8587 PR exp/11803:
8588 * gdb.threads/tls.exp: Use C++.
8589 (check_thread_local): Use K::another_thread_local.
8590 * gdb.threads/tls.c (class K): New.
8591 (another_thread_local): Now a member of K.
8592 (spin): Update. No longer K&R C.
8593
8594 2010-09-13 Sami Wagiaalla <swagiaal@redhat.com>
8595
8596 * gdb.cp/koenig.cc: created class for testing member lookup.
8597 * gdb.cp/koenig.exp: Added test for member lookup.
8598
8599 2010-09-13 Jan Kratochvil <jan.kratochvil@redhat.com>
8600
8601 Fix false FAILs on sourcetree topdir directory containing "kill".
8602 * gdb.base/sigall.exp (test_one_sig) <advance to $nextsig>: Extend the
8603 source line matching regexp.
8604
8605 2010-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8606
8607 * gdb.python/python.exp (set height 0, collect help from uiout)
8608 (verify help to uiout): New tests.
8609
8610 2010-09-10 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8611
8612 * gdb.base/break-interp.exp (test_ld) <istarget powerpc64-*>: Add
8613 is_lp64_target to check 64bit target.
8614
8615 2010-09-09 Jan Kratochvil <jan.kratochvil@redhat.com>
8616
8617 * gdb.base/break-interp.exp (reach): Permit leading . for ppc64.
8618 (test_ld) <powerpc64-*>: New.
8619
8620 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8621
8622 * gdb.cp/templates.exp (test_template_args): Allow "struct".
8623
8624 2010-09-08 Daniel Jacobowitz <dan@codesourcery.com>
8625
8626 * gdb.cp/templates.cc (Empty, FunctionArg): New classes.
8627 (FunctionArg::method): New function.
8628 (empty, arg): New variables.
8629 (main): Call arg.method.
8630 * gdb.cp/templates.exp (test_template_args): New function.
8631 (do_tests): Call it.
8632
8633 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8634
8635 * gdb.threads/threxit-hop-specific.exp: Use "continue" instead
8636 of "next" to proceed over pthread_exit call.
8637
8638 2010-09-08 Ulrich Weigand <uweigand@de.ibm.com>
8639
8640 * gdb.base/maint.exp: Avoid wildcards against potentially very long
8641 "maint print statistics" output to prevent expect timeouts.
8642
8643 2010-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8644
8645 * gdb.base/printcmds.exp (test_float_accepted): Import gdb_prompt.
8646 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8647 (test_float_rejected): ... here.
8648 * gdb.java/jv-print.exp (test_float_accepted): Import gdb_prompt.
8649 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8650 (test_float_rejected): ... here.
8651 * gdb.objc/print.exp (test_float_accepted): Import gdb_prompt.
8652 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8653 (test_float_rejected): ... here.
8654 * gdb.pascal/print.exp (test_float_accepted): Import gdb_prompt.
8655 Move here, negate and extend by XFAIL the "p 0x1.1" test from ...
8656 (test_float_rejected): ... here.
8657
8658 2010-09-04 Daniel Jacobowitz <dan@codesourcery.com>
8659
8660 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint
8661 before disabling hardware watchpoints.
8662 (test_inaccessible_watchpoint): Check that hardware watchpoints
8663 are used. Test for watchpoints on a constant address.
8664
8665 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
8666
8667 * gdb.base/ui-redirect.exp: New file.
8668
8669 2010-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
8670 Joel Brobecker <brobecker@adacore.com>
8671
8672 * gdb.dwarf/dw2-filename.S, gdb.dwarf/dw2-filename.exp: New files.
8673
8674 2010-08-31 Doug Evans <dje@google.com>
8675
8676 * gdb.dwarf2/dw4-sig-types.exp: Use .x for executable name.
8677
8678 2010-08-30 Tom Tromey <tromey@redhat.com>
8679
8680 PR python/11792:
8681 * gdb.python/py-value.exp (test_subscript_regression): Add
8682 dynamic_type test.
8683
8684 2010-08-30 Daniel Jacobowitz <dan@codesourcery.com>
8685
8686 * gdb.cp/cpexprs.exp (test_breakpoint): Continue to test_function
8687 instead of running to main. Do not test the main function.
8688 * gdb/testsuite/gdb.cp/cpexprs.cc (main): Rename to test_function.
8689 Add new main.
8690
8691 2010-08-26 Pedro Alves <pedro@codesourcery.com>
8692
8693 * gdb.mi/mi-nsmoribund.exp: Revert back to send_gdb/gdb_expect in
8694 one test.
8695
8696 2010-08-24 Doug Evans <dje@google.com>
8697
8698 PR symtab/11942
8699 * gdb.dwarf2/dw4-sig-types.cc: New file.
8700 * gdb.dwarf2/dw4-sig-types.h: New file.
8701 * gdb.dwarf2/dw4-sig-types-b.cc: New file.
8702 * gdb.dwarf2/dw4-sig-types.exp: New file.
8703
8704 2010-08-23 Tom Tromey <tromey@redhat.com>
8705
8706 PR python/11145:
8707 * gdb.python/py-value.c (Base, Derived): New types.
8708 (base): New global.
8709 * gdb.python/py-value.exp (test_subscript_regression): Add
8710 dynamic_cast test.
8711
8712 2010-08-23 Tom Tromey <tromey@redhat.com>
8713
8714 PR python/10676:
8715 * gdb.python/py-type.exp (test_fields): Add tests for type
8716 equality.
8717
8718 2010-08-23 Tom Tromey <tromey@redhat.com>
8719
8720 PR python/11915:
8721 * gdb.python/py-type.exp (test_fields): Add tests for array.
8722
8723 2010-08-23 Keith Seitz <keiths@redhat.com>
8724
8725 * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
8726 have any children. Create a new abbrev for it.
8727 Add missing terminal sequence to .debug_abbrev.
8728
8729 2010-08-20 Keith Seitz <keiths@redhat.com>
8730
8731 PR symtab/11465:
8732 * gdb.dwarf2/pr11465.exp: New test.
8733 * gdb.dwarf2/pr11465.S: New file.
8734 * gdb.dwarf2/dw2-double-set-die-type.S: New file.
8735 * gdb.dwarf2/dw2-double-set-die-type.exp: New test.
8736
8737 2010-08-19 Thiago Jung Bauermann <bauerman@br.ibm.com>
8738
8739 * gdb.arch/vsx-regs.exp: Remove wrong comment about testing AltiVec
8740 registers. Update data sets with the new v2_double element in the
8741 VSX register union. Add vector_register3_vr data set for the AltiVec
8742 registers. Use gdb_test_no_output instead of send_gdb.
8743
8744 2010-08-19 Pedro Alves <pedro@codesourcery.com>
8745
8746 * gdb.python/py-shared.exp: New file, factored out from
8747 python.exp.
8748 * gdb.python/py-shared.c: New file.
8749 * gdb.python/py-shared-sl.c: New file.
8750 * gdb.python/python-1.c: New file.
8751 * gdb.python/python-sl.c: Delete.
8752 * gdb.python/python.c: Mention python-1.c.
8753 * gdb.python/python.exp: Move shared library tests to
8754 py-shared.exp.
8755 * gdb.python/Makefile.in (EXECUTABLES): Add py-shared and python.
8756 (MISCELLANEOUS): New.
8757 (clean mostlyclean): Also remove $MISCELLANEOUS.
8758
8759 2010-08-19 Doug Evans <dje@google.com>
8760
8761 PR exp/11926
8762 * gdb.base/printcmds.exp (test_float_accepted): New function.
8763 Move existing float tests there. Add tests for floats with suffixes.
8764 (test_float_rejected): New function.
8765 * gdb.java/jv-print.exp (test_float_accepted): New function.
8766 (test_float_rejected): New function.
8767 * gdb.objc/print.exp: New file.
8768 * gdb.pascal/print.exp: New file.
8769 * lib/objc.exp: New file.
8770
8771 2010-08-19 Pierre Muller <muller@ics.u-strasbg.fr>
8772
8773 * gdb.base/default.exp (info set): Avoid full buffer error and force
8774 reading up to final gdb prompt.
8775 (show): Likewise.
8776
8777 2010-08-18 Tom Tromey <tromey@redhat.com>
8778
8779 PR symtab/11919:
8780 * gdb.base/completion.exp: Add test.
8781
8782 2010-08-18 Doug Evans <dje@google.com>
8783
8784 * gdb.base/call-ar-st.exp (set_lang_c): Delete, unused.
8785 * gdb.base/callfuncs.exp (set_lang_c): Delete, set c language directly.
8786 * gdb.base/printcmds.exp (set_lang_c): Delete, set c language directly.
8787 Simplify, early exit if runto_main fails.
8788 * gdb.fortran/exprs.exp: load_lib fortran.exp.
8789 (set_lang_fortran): Moved to lib/fortran.exp.
8790 * gdb.fortran/types.exp: load_lib fortran.exp.
8791 (set_lang_fortran): Moved to lib/fortran.exp.
8792 * gdb.java/jmisc.exp (set_lang_java): Moved to lib/java.exp.
8793 * gdb.java/jprint.exp (set_lang_java): Ditto.
8794 * gdb.java/jv-exp.exp: load_lib java.exp.
8795 If set_lang_java fails, issue a warning instead of failure to be
8796 consistent with other set_lang_foo uses.
8797 (set_lang_java): Moved to lib/java.exp.
8798 * gdb.java/jv-print.exp (set_lang_java): Moved to lib/java.exp.
8799 If set_lang_java fails, issue a warning instead of failure to be
8800 consistent with other set_lang_foo uses.
8801 * gdb.pascal/types.exp: load_lib pascal.exp.
8802 (set_lang_pascal): Moved to lib/pascal.exp.
8803 * lib/fortran.exp: New file.
8804 * lib/java.exp (set_lang_java): New function.
8805 * lib/pascal.exp (set_lang_pascal): New function.
8806
8807 2010-08-18 Yao Qi <yao@codesourcery.com
8808
8809 * gdb.dwarf2/dw2-ref-missing-frame-func.c: Add .p2align 4 for labels
8810 func_nofb_start and func_loopfb_start, so that address of functions
8811 is equal to these labels on Thumb.
8812
8813 2010-08-18 Yao Qi <yao@codesourcery.com>
8814
8815 * gdb.gdb/selftest.exp (do_steps_and_nexts): Update test case
8816 to reflect latest c source file.
8817
8818 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8819
8820 * gdb.cp/infcall-dlopen.exp: New file.
8821 * gdb.cp/infcall-dlopen.cc: New file.
8822 * gdb.cp/infcall-dlopen-lib.cc: New file.
8823
8824 2010-08-17 Jan Kratochvil <jan.kratochvil@redhat.com>
8825 Pedro Alves <pedro@codesourcery.com>
8826
8827 PR breakpoints/11371
8828
8829 * gdb.base/watch-cond-infcall.exp: New file.
8830 * gdb.base/watch-cond-infcall.c: New file.
8831
8832 2010-08-16 Tom Tromey <tromey@redhat.com>
8833
8834 * gdb.base/help.exp: Update.
8835 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): Delete
8836 watchpoint.
8837 (test_watch_location): New proc.
8838 (test_watchpoint_in_big_blob): Delete watchpoint.
8839 * gdb.base/watchpoint.c (func5): New function.
8840 (main): Call it.
8841
8842 2010-08-16 Doug Evans <dje@google.com>
8843
8844 * gdb.python/python.exp: Fix syntax in "post event insertion" test.
8845
8846 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8847
8848 * gdb.python/python.exp (gdb_py_test_multiple): Add gdb.post_event
8849 tests.
8850
8851 2010-08-11 Ken Werner <ken.werner@de.ibm.com>
8852
8853 * gdb.base/Makefile.in (EXECUTABLES): Add gnu_vector.
8854 * gdb.base/gnu_vector.c: New File.
8855 * gdb.base/gnu_vector.exp: Likewise.
8856
8857 2010-08-11 Phil Muldoon <pmuldoon@redhat.com>
8858
8859 * gdb.python/python.c: New File.
8860 * gdb.python/python-sl.c: New File.
8861 * gdb.python/python.exp: Test solib_address and decode_line
8862 * functions.
8863
8864 2010-08-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8865
8866 * gdb.python/python.exp (show height, set height 10)
8867 (verify pagination beforehand, verify pagination beforehand: q)
8868 (gdb.execute does not page, verify pagination afterwards)
8869 (verify pagination afterwards: q): New.
8870
8871 2010-08-02 Doug Evans <dje@google.com>
8872
8873 * gdb.cp/namespace.exp: When "print ::cOtherFileClassVar" fails
8874 because of an older gcc, change test2
8875 "print ::C::OtherFileClass::cOtherFileClassVar" from unresolved
8876 to unsupported.
8877
8878 2010-07-30 Kazu Hirata <kazu@codesourcery.com>
8879
8880 * gdb.base/break-always.exp: Do not expect full paths to file
8881 names.
8882 * gdb.base/commands.exp: Likewise.
8883
8884 2010-07-30 Doug Evans <dje@google.com>
8885
8886 * gdb.cp/temargs.exp: For new tests that require newer gccs,
8887 xfail them when run with older gccs.
8888
8889 * lib/gdb.exp (build_executable): Forward "c++" option to
8890 get_compiler_info.
8891
8892 * gdb.python/py-type.exp (test_template): Mark as xfail tests
8893 "python print ttype.template_argument(1)" and
8894 "python print isinstance(ttype.template_argument(1), gdb.Value)"
8895 if using gcc 4.4 or earlier.
8896
8897 * gdb.base/valgrind-db-attach.exp: Use unique test name for
8898 attach-to-debugger handling.
8899
8900 2010-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
8901
8902 * gdb.base/prelink-lib.c (copyreloc): New initialized variable.
8903 * gdb.base/prelink.c (copyreloc, bssvar, bssvarp): New variables.
8904 (main): Use copyreloc.
8905 * gdb.base/prelink.exp (split debug of executable)
8906 (.dynbss vs. .bss address shift): New tests.
8907
8908 2010-07-29 Pedro Alves <pedro@codesourcery.com>
8909
8910 * gdb.threads/pthreads.exp (check_backtraces): Consume $gdb_prompt
8911 in gdb_test_multiple.
8912
8913 2010-07-29 Pedro Alves <pedro@codesourcery.com>
8914
8915 * lib/gdb.exp (gdb_init): Set LC_ALL and LANG to C in the
8916 environment.
8917
8918 2010-07-28 Tom Tromey <tromey@redhat.com>
8919
8920 PR python/11060:
8921 * gdb.python/py-type.c (Temargs): New template.
8922 (temvar): New variable.
8923 * gdb.python/py-type.exp (test_template): New proc.
8924
8925 2010-07-28 Daniel Jacobowitz <dan@codesourcery.com>
8926
8927 * gdb.cp/member-ptr.exp, gdb.cp/printmethod.exp,
8928 gdb.dwarf2/member-ptr-forwardref.exp: Adjust.
8929
8930 2010-07-28 Tom Tromey <tromey@redhat.com>
8931
8932 PR c++/9946:
8933 * gdb.cp/temargs.exp: New file.
8934 * gdb.cp/temargs.cc: New file.
8935
8936 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8937
8938 * gdb.base/help.exp (help disassemble): Update the content.
8939
8940 2010-07-27 Jan Kratochvil <jan.kratochvil@redhat.com>
8941
8942 * gdb.threads/ia64-sigill.exp: New file.
8943 * gdb.threads/ia64-sigill.c: New file.
8944
8945 2010-07-27 Tom Tromey <tromey@redhat.com>
8946
8947 * gdb.opt/inline-cmds.c (ATTR): New define.
8948 (func1): Use it.
8949 (func2): Likewise.
8950 (func3): Likewise.
8951 (outer_inline1): Likewise.
8952 (outer_inline2): Likewise.
8953 * gdb.opt/inline-bt.c (ATTR): New define.
8954 (func1): Use it.
8955 (func2): Likewise.
8956 * gdb.opt/inline-locals.c (ATTR): New define.
8957 (func1): Use it.
8958 (func2): Likewise.
8959
8960 2010-07-27 Tom Tromey <tromey@redhat.com>
8961
8962 * gdb.stabs/gdb11479.c (hack): New function.
8963 (test): Use it.
8964 (test2): Use it.
8965 * gdb.python/py-inferior.c (int8_search_buf, int16_search_buf)
8966 (int32_search_buf, int64_search_buf): No longer static.
8967 (x): Remove.
8968 * gdb.base/relocate.c (hack): New function.
8969
8970 2010-07-27 Phil Muldoon <pmuldoon@redhat.com>
8971
8972 * gdb.python/py-value.exp (test_inferior_function_call): New function.
8973 * gdb.python/py-value.c (func1): New function.
8974 (func2): Likewise.
8975
8976 2010-07-26 Corinna Vinschen <vinschen@redhat.com>
8977
8978 * gdb.asm/xstormy16.inc (gdbasm_startup): Fix beginning of stack so
8979 as not to clash with .data section.
8980
8981 2010-07-26 Jerome Guitton <guitton@adacore.com>
8982
8983 * gdb.base/code_elim.exp: New file.
8984 * gdb.base/code_elim1.c: New file.
8985 * gdb.base/code_elim2.c: New file.
8986
8987 2010-07-21 Pedro Alves <pedro@codesourcery.com>
8988
8989 PR symtab/11827
8990
8991 * gdb.base/printcmds.c (enum some_volatile_enum): New enum.
8992 (some_volatile_enum): New variable.
8993 * gdb.base/printcmds.exp (test_print_enums): New.
8994 <top level>: Call it.
8995
8996 2010-07-21 Sami Wagiaalla <swagiaal@redhat.com>
8997
8998 * gdb.cp/fpointer.cc: New test.
8999 * gdb.cp/fpointer.exp: New test.
9000
9001 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9002
9003 * gdb.base/solib-nodir.exp: New file.
9004 * lib/gdb.exp (runto): New case for a GDB internal error.
9005
9006 2010-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9007 Ulrich Weigand <uweigand@de.ibm.com>
9008 Tom Tromey <tromey@redhat.com>
9009
9010 * gdb.base/charset-malloc.c: New file.
9011 * gdb.base/charset.c (malloc_stub): New prototype.
9012 (main): Call it instead of malloc itself.
9013 * gdb.base/charset.exp: Use only prepare_for_testing.
9014 (binfile): Remove the variable.
9015
9016 2010-07-19 Jan Kratochvil <jan.kratochvil@redhat.com>
9017
9018 Make core files the process_stratum.
9019 * gdb.base/corefile.exp (run: load core again)
9020 (run: sanity check we see the core file, run: with core)
9021 (run: core file is cleared, attach: load core again)
9022 (attach: sanity check we see the core file, attach: with core)
9023 (attach: core file is cleared): New tests.
9024 * gdb.base/coremaker.c (main): New parameters. Implement "sleep" argv.
9025
9026 2010-07-14 Ken Werner <ken.werner@de.ibm.com>
9027
9028 * gdb.arch/altivec-abi.exp: New tests.
9029
9030 2010-07-13 Tom Tromey <tromey@redhat.com>
9031
9032 * gdb.python/py-prettyprint.c (struct arraystruct): New struct.
9033 (main): Use it.
9034 * gdb.python/py-prettyprint.exp (run_lang_tests): Add test.
9035
9036 2010-07-13 Tom Tromey <tromey@redhat.com>
9037
9038 * gdb.base/label.exp: New file.
9039 * gdb.base/label.c: New file.
9040
9041 2010-07-12 Ulrich Weigand <uweigand@de.ibm.com>
9042 H.J. Lu <hongjiu.lu@intel.com>
9043
9044 * lib/gdb.exp (is_ilp32_target): New.
9045 (is_lp64_target): Likewise.
9046
9047 * gdb.arch/amd64-byte.exp: Use is_lp64_target to check 64bit
9048 target.
9049 * gdb.arch/amd64-disp-step.exp: Likewise.
9050 * gdb.arch/amd64-dword.exp: Likewise.
9051 * gdb.arch/amd64-i386-address.exp: Likewise.
9052 * gdb.arch/amd64-word.exp: Likewise.
9053
9054 * gdb.arch/i386-avx.exp: Use is_ilp32_target to check for 32bit
9055 target.
9056 * gdb.arch/i386-bp_permanent.exp: Likewise.
9057 * gdb.arch/i386-byte.exp: Likewise.
9058 * gdb.arch/i386-disp-step.exp: Likewise.
9059 * gdb.arch/i386-gnu-cfi.exp: Likewise.
9060 * gdb.arch/i386-prologue.exp: Likewise.
9061 * gdb.arch/i386-size-overlap.exp: Likewise.
9062 * gdb.arch/i386-size.exp: Likewise.
9063 * gdb.arch/i386-sse.exp: Likewise.
9064 * gdb.arch/i386-unwind.exp: Likewise.
9065 * gdb.arch/i386-word.exp: Likewise.
9066
9067 * gdb.arch/ppc64-atomic-inst.exp: Use is_lp64_target to execute
9068 test only when building 64-bit executables. Do not hard-code
9069 -m64 option.
9070
9071 2010-07-07 Doug Evans <dje@google.com>
9072
9073 * lib/gdb.exp (gdb_test_list_exact): New function.
9074 * gdb.base/default.exp (show convenience): Call it, add tests for
9075 $_sdata = void, $_thread = 0.
9076
9077 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9078 Joel Brobecker <brobecker@adacore.com>
9079
9080 Fix re-run of PIE executable, PR shlibs/11776.
9081 * gdb.base/break-interp.exp (test_ld): Turn off "disable-randomization".
9082 Remove $displacement_main to match the solib-svr4.c change. New "kill"
9083 and re-"run" of the inferior.
9084
9085 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9086 Joel Brobecker <brobecker@adacore.com>
9087
9088 Cope with missing /usr/sbin/prelink.
9089 * lib/prelink-support.exp (prelink_no):
9090 <result == 1 && $output is "no such file or directory">: New.
9091 (prelink_yes): Likewise. Return on failed prelink_no.
9092
9093 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9094 Joel Brobecker <brobecker@adacore.com>
9095
9096 * gdb.base/attach-pie-misread.exp: Load prelink-support.exp. Replace
9097 build_executable by build_executable_own_libs. Replace "prelink -R"
9098 execution by a call of prelink_yes. Comment why "prelink -r" needs no
9099 change.
9100 * gdb.base/break-interp.exp: Load prelink-support.exp. Rename calls of
9101 copy to file_copy. Move setting opts --dynamic-linker and -rpath,
9102 mkdir $dir and ldd its parsing and copying to lib/prelink-support.exp.
9103 Replace build_executable by build_executable_own_libs's function
9104 build_executable_own_libs.
9105 (prelinkNO): Create new stub to call prelink_no.
9106 (prelinkYES): Create new stub to call prelink_yes.
9107 (test_attach): Rename calls of copy to file_copy.
9108 (section_get, prelinkNO_run, prelinkNO, prelinkYES, symlink_resolve)
9109 (copy): Move to ...
9110 * lib/prelink-support.exp: ... a new file. Rename prelinkNO to
9111 prelink_no, prelinkYES to prelink_yes, copy to file_copy.
9112 * gdb.base/prelink.exp: Disable testcase also for is_remote and
9113 skip_shlib_tests. Load prelink-support.exp. Replace gdb_compile with
9114 special flags by gdb_compile_shlib. Replace second gdb_compile by
9115 build_executable_own_libs. Replace "prelink -R" execution by a call of
9116 prelink_yes. Replace "prelink -u" and second "prelink -R" execution by
9117 a second call of prelink_yes. Replace restart commands by
9118 clean_restart.
9119 (prelink): Rename to ...
9120 (seen displacement message): ... this test. Extend its expectation
9121 strictness.
9122
9123 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9124
9125 * gdb.base/attach-pie-misread.exp, gdb.base/attach-pie-misread.c: New.
9126 * gdb.base/break-interp.exp (reach, test_core, test_ld): Require each
9127 displacement message exactly once.
9128
9129 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9130 Joel Brobecker <brobecker@adacore.com>
9131
9132 * gdb.base/break-interp.exp (test_attach): Keep $interp changed. Move
9133 its restore after the <$relink_args != ""> loop. new comment.
9134
9135 2010-07-05 Jan Kratochvil <jan.kratochvil@redhat.com>
9136 Joel Brobecker <brobecker@adacore.com>
9137
9138 * gdb.base/break-interp.exp: Run $binpie with new value "ATTACH", new
9139 code for it. New variable relink_args.
9140 (prelinkYES): Call prelinkNO.
9141 (test_attach): Accept new parameter relink_args. Re-prelink the binary
9142 in such case. Move the core code to ...
9143 (test_attach_gdb): ... a new function. Send GDB command "file".
9144 Extend expected "Attaching to " string.
9145
9146 2010-07-02 Tom Tromey <tromey@redhat.com>
9147
9148 * gdb.base/bitops.exp: Remove extraneous "pass".
9149
9150 2010-07-02 Ken Werner <ken.werner@de.ibm.com>
9151
9152 * gdb.arch/altivec-abi.exp: Fix expect pattern of character vectors.
9153
9154 2010-07-01 Pedro Alves <pedro@codesourcery.com>
9155
9156 * gdb.base/help.exp: Adjust expected output.
9157
9158 2010-07-01 Pedro Alves <pedro@codesourcery.com>
9159
9160 * gdb.base/help.exp: Adjust expected output.
9161
9162 2010-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9163
9164 * gdb.cp/namespace.exp (print C::OtherFileClass::cOtherFileClassVar)
9165 (print ::C::OtherFileClass::cOtherFileClassVar): Remove KFAIL for
9166 c++/11702.
9167
9168 2010-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9169 Doug Evans <dje@google.com>
9170
9171 * gdb.base/break-interp.exp (prelinkYES): XFAIL on `Not enough room to
9172 add .dynamic entry'.
9173
9174 2010-06-29 Doug Evans <dje@google.com>
9175
9176 Test PR c++/11702.
9177 * gdb.cp/m-static.exp: Add testcase.
9178 * gdb.cp/m-static.h (gnu_obj_4): Add initialized static const member.
9179
9180 2010-06-28 Phil Muldoon <pmuldoon@redhat.com>
9181 Tom Tromey <tromey@redhat.com>
9182 Thiago Jung Bauermann <bauerman@br.ibm.com>
9183
9184 * gdb.python/py-inferior.c: New File.
9185 * gdb.python/py-infthread.c: New File.
9186 * gdb.python/py-inferior.exp: New File.
9187 * gdb.python/py-infthread.exp: New File.
9188
9189 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9190
9191 * gdb.cp/namespace.exp (ptype OtherFileClass typedefs)
9192 (ptype ::C::OtherFileClass typedefs): New.
9193 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType2)
9194 (C::OtherFileClass::cOtherFileClassVar2): New.
9195 (C::OtherFileClass::cOtherFileClassVar_use): Use also
9196 cOtherFileClassVar2.
9197 (C::cOtherFileType2, C::cOtherFileVar2): New.
9198 (C::cOtherFileVar_use): use also cOtherFileVar2.
9199 * gdb.cp/userdef.exp (ptype &*c): Permit arbitrary trailing text.
9200
9201 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9202
9203 * gdb.cp/namespace.exp (whatis C::cOtherFileType)
9204 (whatis ::C::cOtherFileType, whatis C::cOtherFileVar)
9205 (whatis ::C::cOtherFileVar, print C::cOtherFileVar)
9206 (print ::C::cOtherFileVar)
9207 (whatis C::OtherFileClass::cOtherFileClassType)
9208 (whatis ::C::OtherFileClass::cOtherFileClassType)
9209 (print C::OtherFileClass::cOtherFileClassVar)
9210 (print ::cOtherFileClassVar)
9211 (print ::C::OtherFileClass::cOtherFileClassVar): New tests.
9212 (ptype OtherFileClass, ptype ::C::OtherFileClass): Permit arbitrary
9213 trailing content.
9214 * gdb.cp/namespace1.cc (C::OtherFileClass::cOtherFileClassType)
9215 (C::OtherFileClass::cOtherFileClassVar)
9216 (C::OtherFileClass::cOtherFileClassVar_use, C::cOtherFileType)
9217 (C::cOtherFileVar, C::cOtherFileVar_use): New.
9218
9219 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9220
9221 Test PR c++/11703 and PR gdb/1448.
9222 * gdb.cp/namespace.exp (ptype ::C::NestedClass): Remove KFAIL for
9223 gdb/1448.
9224
9225 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9226
9227 * gdb.cp/virtbase.cc (class RTTI_base, class RTTI_data)
9228 (main) <rtti_data>: New.
9229 * gdb.cp/virtbase.exp (print rtti_data): New.
9230
9231 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9232 Joel Brobecker <brobecker@adacore.com>
9233
9234 * lib/gdb.exp (gdb_test_multiple): Error on trailing newlines.
9235
9236 2010-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9237
9238 * gdb.cp/static-print-quit.exp, gdb.cp/static-print-quit.cc: New.
9239
9240 2010-06-28 Doug Evans <dje@google.com>
9241
9242 * gdb.base/break-interp.exp (reach): Relax expected output a bit.
9243
9244 2010-06-27 Doug Evans <dje@google.com>
9245
9246 * gdb.cp/m-static.exp: Update expected test output.
9247
9248 2010-06-25 Paul Hilfinger <hilfinger@adacore.com>
9249
9250 * gdb.gdb/selftest.exp: Adjust expected message for
9251 capturing start-up runtime.
9252
9253 2010-06-25 Tom Tromey <tromey@redhat.com>
9254
9255 PR python/10808:
9256 * gdb.python/python.exp: Add new tests.
9257
9258 2010-06-25 Sami Wagiaalla <swagiaal@redhat.com>
9259
9260 * gdb.cp/operator.cc: Created an import loop.
9261 * gdb.cp/operator.exp: Added testcase for import loop.
9262
9263 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9264
9265 Test PR python/11407.
9266 * gdb.dwarf2/dw2-ref-missing-frame-func.c: New file.
9267 * gdb.dwarf2/dw2-ref-missing-frame.S: Use cu_text_start and cu_text_end.
9268 Split main into func_nofb and func_loopfb dropping NO_FRAME_BASE.
9269 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove variables sources,
9270 executable_nofb and executable_fb. New variables srcsfile, objsfile,
9271 srcfuncfile, objfuncfile, srcmainfile, objmainfile, executable and
9272 binfile. Call gdb_compile with clean_restart twice.
9273 (func_nofb print, func_nofb backtrace, func_loopfb print)
9274 (func_loopfb backtrace): New.
9275
9276 2010-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9277
9278 * gdb.dwarf2/dw2-ref-missing-frame-main.c: New.
9279 * gdb.dwarf2/dw2-ref-missing-frame.S: Replace compiler generated output
9280 by a hand made one.
9281 * gdb.dwarf2/dw2-ref-missing-frame.exp: Remove invalid comment. Remove
9282 i?86 requirement. Remove variables srcfile and binfile. New variable
9283 sources, executable_nofb and executable_fb. Call prepare_for_testing.
9284
9285 2010-06-25 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9286
9287 * gdb.cell/dwarfaddr.exp: New file.
9288 * gdb.cell/dwarfaddr.S: New file.
9289
9290 2010-06-24 Jan Kratochvil <jan.kratochvil@redhat.com>
9291
9292 Test PR 9436.
9293 * gdb.base/nostdlib.exp, gdb.base/nostdlib.c: New.
9294
9295 2010-06-24 Hui Zhu <teawater@gmail.com>
9296
9297 * gdb.base/eval.exp: New file.
9298
9299 2010-06-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9300
9301 * gdb.cell/fork.exp: New file.
9302 * gdb.cell/fork.c: Likewise.
9303 * gdb.cell/fork-spu.c: Likewise.
9304
9305 2010-06-22 Pierre Muller <muller@ics.u-strasbg.fr>
9306
9307 * lib/gdb.exp (banned_variables_traced): New global variable.
9308 (gdb_init, gdb_finish): Use new variable to avoid multiple tracing.
9309 (gdb_init): Use `trace add variable' instead of obsolete
9310 `trace variable'.
9311
9312 2010-06-21 Doug Evans <dje@google.com>
9313
9314 * gdb.gdb/selftest.exp: Remove support for gpl v1 and v2 gdb's.
9315
9316 2010-06-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9317
9318 * gdb.arch/spu-ls.exp: New file.
9319 * gdb.arch/spu-ls.c: Likewise.
9320
9321 2010-06-18 Stan Shebs <stan@codesourcery.com>
9322
9323 * gdb.threads/thread-specific.exp: Add tests of $_thread.
9324
9325 2010-06-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9326
9327 * gdb.base/gdb11531.exp: Respect gdb,no_hardware_watchpoints flag.
9328 * gdb.base/watch-cond.exp: Likewise.
9329 * gdb.python/py-breakpoint.exp: Likewise.
9330
9331 2010-06-18 Pedro Alves <pedro@codesourcery.com>
9332
9333 * gdb.multi/base.exp, gdb.multi/bkpt-multi-exec.exp: Use
9334 clean_restart, make sure every test has a distinct message, and
9335 that messages don't include the executable' full path.
9336
9337 2010-06-17 Doug Evans <dje@google.com>
9338
9339 * gdb.arch/i386-size.exp: Updated expected output for
9340 DISASSEMBLY_OMIT_FNAME.
9341
9342 2010-06-16 Jan Kratochvil <jan.kratochvil@redhat.com>
9343 Sergio Durigan Junior <sergiodj@redhat.com>
9344
9345 * gdb.base/watch-notconst.c: New file.
9346 * gdb.base/watch-notconst.S: New file.
9347 * gdb.base/watch-notconst2.c: New file.
9348 * gdb.base/watch-notconst2.S: New file.
9349 * gdb.base/watch-notconst.exp: New file.
9350 * gdb.base/watchpoint.c (global_ptr_ptr): New variable.
9351 (func4): Add operations on `global_ptr_ptr'.
9352 * gdb.base/watchpoint.exp (test_constant_watchpoint): New
9353 routine to test watchpoints created with a constant expression.
9354 (test_inaccessible_watchpoint): Include tests for watchpoints
9355 created with a constant expression.
9356
9357 2010-06-14 Kevin Buettner <kevinb@redhat.com>
9358
9359 * gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
9360 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp,
9361 gdb.disasm/t05_cmp.exp, gdb.disasm/t06_ari2.exp,
9362 gdb.disasm/t07_ari3.exp, gdb.disasm/t08_or.exp,
9363 gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
9364 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
9365 gdb.disasm/t13_otr.exp: Examine instruction at label `start' instead
9366 of `_start'.
9367
9368 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9369
9370 * gdb.mi/mi-nonstop.exp: Do not call perror if non-stop mode is
9371 not supported on the target.
9372 * gdb.mi/mi-nonstop-exit.exp: Likewise.
9373 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
9374 * gdb.mi/mi-nsintrall.exp: Likewise.
9375 * gdb.mi/mi-nsmoribund.exp: Likewise.
9376 * gdb.mi/mi-nsthrexec.exp: Likewise.
9377
9378 2010-06-11 Stan Shebs <stan@codesourcery.com>
9379
9380 * gdb.base/permissions.exp: New file.
9381
9382 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9383
9384 * gdb.base/valgrind-db-attach.exp: Fail gracefully if valgrind
9385 does not support ELF executable class.
9386
9387 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9388
9389 * gdb.trace/packetlen.exp: Respect gdb_target_supports_trace.
9390
9391 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9392
9393 * lib/gdb.exp (gdb_run_cmd): Return on $gdb_prompt.
9394 (runto): Catch "The target does not support running in non-stop mode.".
9395
9396 2010-06-11 Michael Snyder <msnyder@vmware.com>
9397
9398 * gdb.base/setshow.exp (set language asm): Don't use
9399 gdb_test_no_output, fails on some targets.
9400
9401 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9402
9403 * gdb.cp/cpexprs.exp: Skip test on spu*-*-*.
9404 * gdb.cp/pr9167.exp: Likewise.
9405
9406 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9407
9408 * gdb.python/py-breakpoint.exp: Handle software watchpoints as well.
9409
9410 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9411
9412 * gdb.base/solib-corrupted.exp: Respect skip_shlib_tests.
9413
9414 2010-06-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
9415
9416 * gdb.base/charset.c (main): Make sure malloc gets linked in.
9417
9418 2010-06-11 Tom Tromey <tromey@redhat.com>
9419
9420 PR gdb/9977, PR exp/11636::
9421 * gdb.dwarf2/pieces.exp (pieces_test_f3): Remove kfail.
9422 (pieces_test_f6): Update expected output.
9423
9424 2010-06-11 Jan Kratochvil <jan.kratochvil@redhat.com>
9425
9426 * gdb.base/moribund-step.exp: New.
9427
9428 2010-06-08 Michael Snyder <msnyder@vmware.com>
9429
9430 * gdb.ada/assign_1.exp: Use ".*" instead of "" as wildcard regexp.
9431 * gdb.ada/boolean_expr.exp:
9432 * gdb.ada/frame_args.exp: Ditto.
9433 * gdb.ada/lang_switch.exp: Ditto.
9434 * gdb.ada/ptype_arith_binop.exp: Ditto.
9435 * gdb.ada/ref_param.exp: Ditto.
9436 * gdb.ada/type_coercion.exp:Ditto.
9437
9438 * gdb.asm/asm-source.exp: Ditto.
9439
9440 * gdb.base/attach.exp: Ditto.
9441 * gdb.base/bitfields2.exp: Ditto.
9442 * gdb.base/call-signal-resume.exp: Ditto.
9443 * gdb.base/callfuncs.exp: Ditto.
9444 * gdb.base/commands.exp: Ditto.
9445 * gdb.base/dbx.exp: Ditto.
9446 * gdb.base/default.exp: Ditto.
9447 * gdb.base/dump.exp: Ditto.
9448 * gdb.base/exprs.exp: Ditto.
9449 * gdb.base/freebpcmd.exp: Ditto.
9450 * gdb.base/interrupt.exp: Ditto.
9451 * gdb.base/list.exp: Ditto.
9452 * gdb.base/long_long.exp: Ditto.
9453 * gdb.base/maint.exp: Ditto.
9454 * gdb.base/ptype.exp: Ditto.
9455 * gdb.base/return.exp: Ditto.
9456 * gdb.base/setshow.exp: Ditto.
9457 * gdb.base/sigbpt.exp: Ditto.
9458 * gdb.base/sigrepeat.exp: Ditto.
9459
9460 * gdb.cp/classes.exp: Ditto.
9461
9462 * gdb.dwarf2/dw2-restore.exp: Ditto.
9463
9464 * gdb.gdb/selftest.exp: Ditto.
9465
9466 * gdb.multi/base.exp: Ditto.
9467 * gdb.multi/bkpt-multi-exec.exp: Ditto.
9468
9469 * gdb.python/py-block.exp: Ditto.
9470 * gdb.python/py-prettyprint.exp: Ditto.
9471 * gdb.python/py-template.exp: Ditto.
9472
9473 * gdb.server/ext-attach.exp: Ditto.
9474 * gdb.server/ext-run.exp: Ditto.
9475 * gdb.server/server-mon.exp: Ditto.
9476
9477 * gdb.threads/fork-thread-pending.exp: Ditto.
9478 * gdb.threads/hand-call-in-threads.exp: Ditto.
9479 * gdb.threads/interrupted-hand-call.exp: Ditto.
9480 * gdb.threads/linux-dp.exp: Ditto.
9481 * gdb.threads/manythreads.exp: Ditto.
9482 * gdb.threads/print-threads.exp: Ditto.
9483 * gdb.threads/pthreads.exp: Ditto.
9484 * gdb.threads/schedlock.exp: Ditto.
9485 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9486 * gdb.threads/threadapply.exp: Ditto.
9487
9488 2010-06-08 Michael Snyder <msnyder@vmware.com>
9489
9490 * gdb.ada/exec_changed.exp:
9491 Use ".*" instead of "" as wildcard regexp.
9492
9493 * gdb.base/async.exp: Use ".*" instead of "" as wildcard regexp.
9494 * gdb.base/call-ar-st.exp: Ditto.
9495 * gdb.base/checkpoint.exp: Ditto.
9496 * gdb.base/default.exp: Ditto.
9497 * gdb.base/dump.exp: Ditto.
9498 * gdb.base/ending-run.exp: Ditto.
9499 * gdb.base/fileio.exp: Ditto.
9500 * gdb.base/miscexprs.exp: Ditto.
9501 * gdb.base/pointers.exp: Ditto.
9502 * gdb.base/readline.exp: Ditto.
9503 * gdb.base/reread.exp: Ditto.
9504 * gdb.base/restore.exp: Ditto.
9505 * gdb.base/shlib-call.exp: Ditto.
9506 * gdb.base/valgrind-db-attach.exp: Ditto.
9507 * gdb.base/volatile.exp: Ditto.
9508 * gdb.base/watchpoints.exp: Ditto.
9509
9510 * gdb.cp/classes.exp: Use ".*" instead of "" as wildcard regexp.
9511
9512 * gdb.python/py-frame.exp: Use ".*" instead of "" as wildcard regexp.
9513 * gdb.python/py-value.exp: Ditto.
9514
9515 * gdb.trace/backtrace.exp: Use ".*" instead of "" as wildcard regexp.
9516 * gdb.trace/circ.exp: Ditto.
9517 * gdb.trace/collection.exp: Ditto.
9518 * gdb.trace/packetlen.exp: Ditto.
9519 * gdb.trace/passc-dyn.exp: Ditto.
9520 * gdb.trace/report.exp: Ditto.
9521 * gdb.trace/tfile.exp: Ditto.
9522 * gdb.trace/tfind.exp: Ditto.
9523 * gdb.trace/while-dyn.exp: Ditto.
9524
9525 2010-06-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9526
9527 * gdb.python/python.exp (pythonX.Y/lib-dynload/*.so): New.
9528
9529 2010-06-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9530
9531 Test PR 10640.
9532 * gdb.dwarf2/dw2-op-call.exp, gdb.dwarf2/dw2-op-call.S: New.
9533
9534 2010-06-07 Sami Wagiaalla <swagiaal@redhat.com>
9535
9536 * gdb.cp/koenig.exp: Test for ADL operators.
9537 * gdb.cp/koenig.cc: Added ADL operators.
9538 * gdb.cp/operator.exp: New test.
9539 * gdb.cp/operator.cc: New test.
9540
9541 2010-06-04 Michael Snyder <msnyder@vmware.com>
9542
9543 * gdb.base/attach.exp: Replace gdb_test_multiple with gdb_test.
9544 * gdb.base/pending.exp: Ditto.
9545
9546 * gdb.cp/pr-1210.exp: Add message string to gdb_test_multiple.
9547
9548 2010-06-04 Doug Evans <dje@google.com>
9549
9550 * gdb.python/py-prettyprint.exp: Add new test for enabled and
9551 disabled printers.
9552 * gdb.python/py-prettyprint.py (disable_lookup_function): New function.
9553 (enable_lookup_function): New function.
9554
9555 2010-06-04 Tom Tromey <tromey@redhat.com>
9556
9557 * gdb.python/py-value.exp (test_value_hash): Don't test equality
9558 of hash and id.
9559
9560 2010-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
9561
9562 * gdb.base/commands.exp (add printf tbreak command): Remove trailing
9563 newline.
9564 * gdb.gdb/complaints.exp (empty non-verbose non-noisy clear)
9565 (empty verbose non-noisy clear, empty verbose noisy clear)
9566 (empty non-verbose noisy clear): Likewise.
9567
9568 2010-06-03 Michael Snyder <msnyder@vmware.com>
9569
9570 * gdb.base/commands.exp: Replace gdb_test with gdb_test_no_output.
9571 * gdb.base/display.exp: Ditto.
9572 * gdb.base/find.exp: Ditto.
9573 * gdb.base/ifelse.exp: Ditto.
9574 * gdb.base/multi-forks.exp: Ditto.
9575 * gdb.base/recurse.exp: Ditto.
9576 * gdb.base/setshow.exp: Ditto.
9577 * gdb.base/value-double-free.exp: Ditto.
9578 * gdb.base/watch-vfork.exp: Ditto.
9579 * gdb.base/watch_thread_num.exp: Ditto.
9580 * gdb.base/watchpoint-solib.exp: Ditto.
9581 * gdb.base/watchpoint.exp: Ditto.
9582 * gdb.base/watchpoints.exp: Ditto.
9583
9584 * gdb.cp/classes.exp: Replace gdb_test with gdb_test_no_output.
9585 * gdb.cp/overload.exp: Ditto.
9586 * gdb.cp/virtfunc.exp: Ditto.
9587
9588 * gdb.python/py-value.exp: Replace gdb_test with gdb_test_no_output.
9589
9590 * gdb.reverse/watch-precsave.exp:
9591 Replace gdb_test with gdb_test_no_output.
9592
9593 * gdb.threads/attach-into-signal.exp:
9594 Replace gdb_test with gdb_test_no_output.
9595 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9596 * gdb.threads/watchthreads.exp: Ditto.
9597 * gdb.threads/watchthreads2.exp: Ditto.
9598
9599 * gdb.trace/deltrace.exp: Replace gdb_test with gdb_test_no_output.
9600 * gdb.trace/tfind.exp: Ditto.
9601
9602 2010-06-03 Joel Brobecker <brobecker@adacore.com>
9603
9604 * lib/gdb.exp (gdb_test_no_output): Do not emit pass for
9605 successful test if message is the empty string.
9606
9607 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9608
9609 * gdb.fortran/module.exp (stopped language detection): New test.
9610
9611 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9612
9613 Support DW_TAG_module as separate namespaces.
9614 * gdb.fortran/library-module.exp, gdb.fortran/library-module-main.f90,
9615 gdb.fortran/library-module-lib.f90: New.
9616 * gdb.fortran/module.exp: Replace startup by a prepare_for_testing call.
9617 (print i): Remove.
9618 (continue to breakpoint: i-is-1, print var_i value 1)
9619 (continue to breakpoint: i-is-2, print var_i value 2)
9620 (continue to breakpoint: a-b-c-d, print var_a, print var_b, print var_c)
9621 (print var_d, print var_i value 14, ptype modmany, complete `modm)
9622 (complete `modmany, complete `modmany`, complete `modmany`var)
9623 (show language, setting breakpoint at module): New tests.
9624 * gdb.fortran/module.f90 (module mod): Remove.
9625 (module mod1, module mod2, module modmany, subroutine sub1)
9626 (subroutine sub2, program module): New.
9627
9628 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9629
9630 * gdb.cp/ref-types.exp (pass, pass, pass): Rename to ...
9631 (print value of rUC, print value of rI, print value of UI): ... here.
9632 * gdb.cp/anon-union.exp (pass): Rename to ...
9633 (print z 2): ... here.
9634
9635 2010-06-02 Michael Snyder <msnyder@vmware.com>
9636
9637 * gdb.trace/actions.exp: Use gdb_test_no_output.
9638 * gdb.trace/circ.exp: Ditto.
9639 * gdb.trace/packetlen.exp: Ditto.
9640 * gdb.trace/save-trace.exp: Ditto.
9641 * gdb.trace/tracecmd.exp: Ditto.
9642 * gdb.trace/tsv.exp: Ditto.
9643
9644 * gdb.threads/fork-thread-pending.exp: Use gdb_test_no_output.
9645 * gdb.threads/hand-call-in-thraeds.exp: Ditto.
9646 * gdb.threads/local-watch-wrong-thread.exp: Ditto.
9647 * gdb.threads/manythreads.exp: Ditto.
9648 * gdb.threads/print-threads.exp: Ditto.
9649 * gdb.threads/pthreads.exp: Ditto.
9650 * gdb.threads/schedlock.exp: Ditto.
9651 * gdb.threads/staticthreads.exp: Ditto.
9652 * gdb.threads/thread-specific.exp: Ditto.
9653 * gdb.threads/thread-unwindonsignal.exp: Ditto.
9654 * gdb.threads/threadapply.exp: Ditto.
9655 * gdb.threads/watchthreads.exp: Ditto.
9656 * gdb.threads/watchthreads2.exp: Ditto.
9657
9658 * gdb.python/py-block.exp: Use gdb_test_no_output.
9659 * gdb.python/py-prettyprint.exp: Ditto.
9660 * gdb.python/py-template.exp: Ditto.
9661 * gdb.python/py-value.exp: Ditto.
9662
9663 * gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
9664 * gdb.reverse/watch-reverse.exp: Ditto.
9665
9666 * gdb.server/ext-attach.exp: Use gdb_test_no_output.
9667 * gdb.server/ext-run.exp: Ditto.
9668
9669 * gdb.dwarf2/dw2-basic.exp: Use gdb_test_no_output.
9670 * gdb.dwarf2/dw2-compressed.exp: Ditto.
9671 * gdb.dwarf2/dw2-intercu.exp: Ditto.
9672 * gdb.dwarf2/dw2-intermix.exp: Ditto.
9673 * gdb.dwarf2/dw2-producer.exp: Ditto.
9674 * gdb.dwarf2/mac-fileno.exp: Ditto.
9675
9676 * gdb.gdb/observer.exp: Use gdb_test_no_output.
9677 * gdb.gdb/selftest.exp: Ditto.
9678
9679 * gdb.multi/base.exp: Use gdb_test_no_output.
9680
9681 * gdb.opt/inline-cmds.exp: Use gdb_test_no_output.
9682
9683 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9684
9685 * gdb.cp/ref-types.exp (print value of UI): Remove excessive newline.
9686
9687 2010-06-02 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
9688
9689 * gdb.cp/class2.exp: Use gdb_test_no_output.
9690 * gdb.cp/classes.exp: Ditto.
9691 * gdb.cp/extern-c.exp: Ditto.
9692 * gdb.cp/inherit.exp: Ditto.
9693 * gdb.cp/maint.exp: Ditto.
9694 * gdb.cp/mb-inline.exp: Ditto.
9695 * gdb.cp/mb-templates.exp: Ditto.
9696 * gdb.cp/method2.exp: Ditto.
9697 * gdb.cp/misc.exp: Ditto.
9698 * gdb.cp/ovldbreak.exp: Ditto.
9699 * gdb.cp/punctuator.exp: Ditto.
9700 * gdb.cp/templates.exp: Ditto.
9701 * gdb.cp/virtbase.exp: Ditto.
9702
9703 * gdb.threads/attach-stopped.exp:
9704 Replace uses of send_gdb / gdb_expect.
9705 * gdb.threads/attachstop-mt.exp:
9706 Replace uses of send_gdb / gdb_expect.
9707 * gdb.threads/gcore-thread.exp:
9708 Replace uses of send_gdb / gdb_expect.
9709 * gdb.threads/hand-call-in-threads.exp:
9710 Replace uses of send_gdb / gdb_expect.
9711 * gdb.threads/linux-dp.exp: Replace uses of send_gdb / gdb_expect.
9712 * gdb.threads/print-threads.exp:
9713 Replace uses of send_gdb / gdb_expect.
9714 * gdb.threads/pthreads.exp: Replace uses of send_gdb / gdb_expect.
9715 * gdb.threads/schedlock.exp: Replace uses of send_gdb / gdb_expect.
9716 * gdb.threads/sigthread.exp: Replace uses of send_gdb / gdb_expect.
9717
9718 * gdb.trace/actions.exp: Replace uses of send_gdb / gdb_expect.
9719 * gdb.trace/backtrace.exp: Replace uses of send_gdb / gdb_expect.
9720 * gdb.trace/collection.exp: Replace uses of send_gdb / gdb_expect.
9721 * gdb.trace/deltrace.exp: Replace uses of send_gdb / gdb_expect.
9722 * gdb.trace/infotrace.exp: Replace uses of send_gdb / gdb_expect.
9723 * gdb.trace/limits.exp: Replace uses of send_gdb / gdb_expect.
9724 * gdb.trace/report.exp: Replace uses of send_gdb / gdb_expect.
9725 * gdb.trace/save-trace.exp: Replace uses of send_gdb / gdb_expect.
9726 * gdb.trace/tfind.exp: Replace uses of send_gdb / gdb_expect.
9727 * gdb.trace/tracecmd.exp: Replace uses of send_gdb / gdb_expect.
9728 * gdb.trace/tsv.exp: Replace uses of send_gdb / gdb_expect.
9729
9730 2010-06-02 Jan Kratochvil <jan.kratochvil@redhat.com>
9731
9732 * gdb.cp/re-set-overloaded.exp, gdb.cp/re-set-overloaded.cc: New.
9733
9734 2010-06-02 Sami Wagiaalla <swagiaal@redhat.com>
9735
9736 * gdb.cp/koenig.exp: Added new test case.
9737 * gdb.cp/koenig.cc: Ditto.
9738
9739 2010-06-01 Michael Snyder <msnyder@vmware.com>
9740
9741 * gdb.base/arithmet.exp: Use gdb_test_no_output.
9742 * gdb.base/arrayidx.exp: Ditto.
9743 * gdb.base/attach.exp: Ditto.
9744 * gdb.base/auxv.exp: Ditto.
9745 * gdb.base/bigcre.exp: Ditto.
9746 * gdb.base/break-always.exp: Ditto.
9747 * gdb.base/break-interp.exp: Ditto.
9748 * gdb.base/break.exp: Ditto.
9749 * gdb.base/breakpoint-shadow.exp: Ditto.
9750 * gdb.base/call-ar-st.exp: Ditto.
9751 * gdb.base/call-sc.exp: Ditto.
9752 * gdb.base/call-signal-resume.exp: Ditto.
9753 * gdb.base/callfuncs.exp: Ditto.
9754 * gdb.base/catch-syscall.exp: Ditto.
9755 * gdb.base/charset.exp: Ditto.
9756 * gdb.base/code-expr.exp: Ditto.
9757 * gdb.base/commands.exp: Ditto.
9758 * gdb.base/cond-expr.exp: Ditto.
9759 * gdb.base/condbreak.exp: Ditto.
9760 * gdb.base/cursal.exp: Ditto.
9761 * gdb.base/cvexpr.exp: Ditto.
9762 * gdb.base/default.exp: Ditto.
9763 * gdb.base/del.exp: Ditto.
9764 * gdb.base/detach.exp: Ditto.
9765 * gdb.base/display.exp: Ditto.
9766 * gdb.base/ena-dis-br.exp: Ditto.
9767 * gdb.base/eval-skip.exp: Ditto.
9768 * gdb.base/foll-fork.exp: Ditto.
9769 * gdb.base/foll-vfork.exp: Ditto.
9770 * gdb.base/frame-args.exp: Ditto.
9771 * gdb.base/funcargs.exp: Ditto.
9772 * gdb.base/gcore-buffer-overflow.exp: Ditto.
9773 * gdb.base/gdbvars.exp: Ditto.
9774 * gdb.base/help.exp: Ditto.
9775 * gdb.base/ifelse.exp: Ditto.
9776 * gdb.base/included.exp: Ditto.
9777 * gdb.base/list.exp: Ditto.
9778 * gdb.base/macscp.exp: Ditto.
9779 * gdb.base/maint.exp: Ditto.
9780 * gdb.base/multi-fork.exp: Ditto.
9781 * gdb.base/overlays.exp: Ditto.
9782 * gdb.base/page.exp: Ditto.
9783 * gdb.base/pending.exp: Ditto.
9784 * gdb.base/pointers.exp: Ditto.
9785 * gdb.base/pr11022.exp: Ditto.
9786 * gdb.base/prelink.exp: Ditto.
9787 * gdb.base/printcmds.exp: Ditto.
9788 * gdb.base/psymtab.exp: Ditto.
9789 * gdb.base/randomize.exp: Ditto.
9790 * gdb.base/relational.exp: Ditto.
9791 * gdb.base/relocate.exp: Ditto.
9792 * gdb.base/remote.exp: Ditto.
9793 * gdb.base/sepdebug.exp: Ditto.
9794 * gdb.base/set-lang-auto.exp: Ditto.
9795 * gdb.base/setshow.exp: Ditto.
9796 * gdb.base/setvar.exp: Ditto.
9797 * gdb.base/signals.exp: Ditto.
9798 * gdb.base/signull.exp: Ditto.
9799 * gdb.base/sigstep.exp: Ditto.
9800 * gdb.base/sizeof.exp: Ditto.
9801 * gdb.base/solib-disc.exp: Ditto.
9802 * gdb.base/store.exp: Ditto.
9803 * gdb.base/structs.exp: Ditto.
9804 * gdb.base/structs2.exp: Ditto.
9805 * gdb.base/subst.exp: Ditto.
9806 * gdb.base/term.exp: Ditto.
9807 * gdb.base/trace-commands.exp: Ditto.
9808 * gdb.base/unwindonsignal.exp: Ditto.
9809 * gdb.base/valgrind-db-attach.exp: Ditto.
9810 * gdb.base/varargs.exp: Ditto.
9811 * gdb.base/watch-cond.exp: Ditto.
9812 * gdb.base/watch_thread_num.exp: Ditto.
9813 * gdb.base/watchpoint-cond-gone.exp: Ditto.
9814 * gdb.base/watchpoint.exp: Ditto.
9815 * gdb.base/whatis-exp.exp: Ditto.
9816
9817 2010-06-01 Michael Snyder <msnyder@vmware.com>
9818
9819 * gdb.cp/annota2.exp: Replace uses of send_gdb / gdb_expect.
9820 * gdb.cp/annota3.exp: Replace uses of send_gdb / gdb_expect.
9821 * gdb.cp/anon-union.exp: Replace uses of send_gdb / gdb_expect.
9822 * gdb.cp/cplusfuncs.exp: Replace uses of send_gdb / gdb_expect.
9823 * gdb.cp/demangle.exp: Replace uses of send_gdb / gdb_expect.
9824 * gdb.cp/formatted-ref.exp: Replace uses of send_gdb / gdb_expect.
9825 * gdb.cp/local.exp: Replace uses of send_gdb / gdb_expect.
9826 * gdb.cp/method.exp: Replace uses of send_gdb / gdb_expect.
9827 * gdb.cp/misc.exp: Replace uses of send_gdb / gdb_expect.
9828 * gdb.cp/namespace.exp: Replace uses of send_gdb / gdb_expect.
9829 * gdb.cp/ovldbreak.exp: Replace uses of send_gdb / gdb_expect.
9830 * gdb.cp/pr-1023.exp: Replace uses of send_gdb / gdb_expect.
9831 * gdb.cp/ref-types.exp: Replace uses of send_gdb / gdb_expect.
9832 * gdb.cp/templates.exp: Replace uses of send_gdb / gdb_expect.
9833 * gdb.cp/userdef.exp: Replace uses of send_gdb / gdb_expect.
9834
9835 2010-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
9836
9837 * gdb.base/commands.exp (begin commands on watch): Remove excessive
9838 trailing newline.
9839 * gdb.mi/mi-nsintrall.exp (-gdb-show non-stop): Likewise.
9840 * gdb.java/jmisc.exp (p *args\n): Rename to ...
9841 (p *args): ... here and remove excessive trailing newline.
9842
9843 2010-05-31 Joel Brobecker <brobecker@adacore.com>
9844
9845 * gdb.base/subst.exp: Fix call to gdb_test with empty message.
9846
9847 2010-05-31 Jan Kratochvil <jan.kratochvil@redhat.com>
9848
9849 Accept the new Linux kernel "t (tracing stop)" string.
9850 * gdb.threads/watchthreads-reorder.c (thread1_func, thread2_func):
9851 Update comment.
9852 (state_wait) <T (tracing stop)>: New.
9853 (main): Update the state_wait expect string.
9854
9855 2010-05-28 Pedro Alves <pedro@codesourcery.com>
9856
9857 * limits.c, limits.exp: Delete files.
9858 * Makefile.in (clean mostlyclean): Adjust.
9859 * tracecmd.exp: Adjust.
9860
9861 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9862
9863 * gdb.base/tui-layout.exp: New.
9864
9865 2010-05-28 Michael Snyder <msnyder@vmware.com>
9866
9867 * gdb.reverse/break-precsave.exp:
9868 Replace uses of send_gdb / gdb_expect.
9869 * gdb.reverse/break-reverse.exp:
9870 Replace uses of send_gdb / gdb_expect.
9871 * gdb.reverse/consecutive-precsave.exp:
9872 Replace uses of send_gdb / gdb_expect.
9873 * gdb.reverse/consecutive-reverse.exp:
9874 Replace uses of send_gdb / gdb_expect.
9875 * gdb.reverse/finish-precsave.exp:
9876 Replace uses of send_gdb / gdb_expect.
9877 * gdb.reverse/finish-reverse.exp:
9878 Replace uses of send_gdb / gdb_expect.
9879 * gdb.reverse/i386-precsave.exp:
9880 Replace uses of send_gdb / gdb_expect.
9881 * gdb.reverse/i386-reverse.exp:
9882 Replace uses of send_gdb / gdb_expect.
9883 * gdb.reverse/i386-sse-reverse.exp:
9884 Replace uses of send_gdb / gdb_expect.
9885 * gdb.reverse/i387-env-reverse.exp:
9886 Replace uses of send_gdb / gdb_expect.
9887 * gdb.reverse/i387-stack-reverse.exp:
9888 Replace uses of send_gdb / gdb_expect.
9889 * gdb.reverse/machinestate-precsave.exp:
9890 Replace uses of send_gdb / gdb_expect.
9891 * gdb.reverse/machinestate.exp:
9892 Replace uses of send_gdb / gdb_expect.
9893 * gdb.reverse/sigall-precsave.exp:
9894 Replace uses of send_gdb / gdb_expect.
9895 * gdb.reverse/sigall-reverse.exp:
9896 Replace uses of send_gdb / gdb_expect.
9897 * gdb.reverse/solib-precsave.exp:
9898 Replace uses of send_gdb / gdb_expect.
9899 * gdb.reverse/solib-reverse.exp:
9900 Replace uses of send_gdb / gdb_expect.
9901 * gdb.reverse/step-precsave.exp:
9902 Replace uses of send_gdb / gdb_expect.
9903 * gdb.reverse/step-reverse.exp:
9904 Replace uses of send_gdb / gdb_expect.
9905 * gdb.reverse/until-precsave.exp:
9906 Replace uses of send_gdb / gdb_expect.
9907 * gdb.reverse/until-reverse.exp:
9908 Replace uses of send_gdb / gdb_expect.
9909 * gdb.reverse/watch-precsave.exp:
9910 Replace uses of send_gdb / gdb_expect.
9911 * gdb.reverse/watch-reverse.exp:
9912 Replace uses of send_gdb / gdb_expect.
9913
9914 2010-05-28 Jan Kratochvil <jan.kratochvil@redhat.com>
9915
9916 * gdb.base/sepdebug.exp (info silent break bp_location1): Fix racy
9917 excessive newline.
9918
9919 2010-05-27 Michael Snyder <msnyder@vmware.com>
9920
9921 * gdb.base/break.exp: Replace uses of send_gdb / gdb_expect.
9922 * gdb.base/relational.exp: Replace uses of send_gdb / gdb_expect.
9923 * gdb.base/relocate.exp: Replace uses of send_gdb / gdb_expect.
9924 * gdb.base/restore.exp: Replace uses of send_gdb / gdb_expect.
9925 * gdb.base/return.exp: Replace uses of send_gdb / gdb_expect.
9926 * gdb.base/return2.exp: Replace uses of send_gdb / gdb_expect.
9927 * gdb.base/sepdebug.exp: Replace uses of send_gdb / gdb_expect.
9928 * gdb.base/setshow.exp: Replace uses of send_gdb / gdb_expect.
9929 * gdb.base/setvar.exp: Replace uses of send_gdb / gdb_expect.
9930 * gdb.base/shlib-call.exp: Replace uses of send_gdb / gdb_expect.
9931 * gdb.base/shreloc.exp: Replace uses of send_gdb / gdb_expect.
9932 * gdb.base/sigall.exp: Replace uses of send_gdb / gdb_expect.
9933 * gdb.base/sigbpt.exp: Replace uses of send_gdb / gdb_expect.
9934 * gdb.base/signull.exp: Replace uses of send_gdb / gdb_expect.
9935 * gdb.base/so-impl-ld.exp: Replace uses of send_gdb / gdb_expect.
9936 * gdb.base/varargs.exp: Replace uses of send_gdb / gdb_expect.
9937 * gdb.base/volatile.exp: Replace uses of send_gdb / gdb_expect.
9938 * gdb.base/watch_thread_num.exp: Replace uses of send_gdb / gdb_expect.
9939 * gdb.base/watchpoint.exp: Replace uses of send_gdb / gdb_expect.
9940
9941 2010-05-26 Michael Snyder <msnyder@vmware.com>
9942
9943 * gdb.java/jmisc.exp: Replace uses of send_gdb / gdb_expect.
9944 * gdb.java/jprint.exp: Replace uses of send_gdb / gdb_expect.
9945
9946 * gdb.gdb/complaints.exp: Replace uses of send_gdb / gdb_expect.
9947 * gdb.gdb/selftest.exp: Replace uses of send_gdb / gdb_expect.
9948 * gdb.gdb/xfullpath.exp: Replace uses of send_gdb / gdb_expect.
9949
9950 * gdb.reverse/consecutive-reverse.exp:
9951 Replace uses of send_gdb / gdb_expect.
9952 * gdb.reverse/consecutive-precsave.exp:
9953 Replace uses of send_gdb / gdb_expect.
9954
9955 * gdb.mi/mi-basics.exp: Replace uses of send_gdb / gdb_expect.
9956 * gdb.mi/mi-nonstop-exit.exp: Replace uses of send_gdb / gdb_expect.
9957 * gdb.mi/mi-nonstop.exp: Replace uses of send_gdb / gdb_expect.
9958 * gdb.mi/mi-ns-stale-regcache.exp:
9959 Replace uses of send_gdb / gdb_expect.
9960 * gdb.mi/mi-nsintrall.exp: Replace uses of send_gdb / gdb_expect.
9961 * gdb.mi/mi-nsmoribund.exp: Replace uses of send_gdb / gdb_expect.
9962 * gdb.mi/mi-nsthrexec.exp: Replace uses of send_gdb / gdb_expect.
9963 * gdb.mi/mi-return.exp: Replace uses of send_gdb / gdb_expect.
9964 * gdb.mi/mi-var-display.exp: Replace uses of send_gdb / gdb_expect.
9965 * gdb.mi/mi2-basics.exp: Replace uses of send_gdb / gdb_expect.
9966 * gdb.mi/mi2-console.exp: Replace uses of send_gdb / gdb_expect.
9967 * gdb.mi/mi2-return.exp: Replace uses of send_gdb / gdb_expect.
9968 * gdb.mi/mi2-var-display.exp: Replace uses of send_gdb / gdb_expect.
9969
9970 2010-05-26 Michael Snyder <msnyder@vmware.com>
9971
9972 * gdb.ada/formatted_ref.exp: Replace uses of send_gdb / gdb_expect.
9973
9974 * gdb.asm/asm-source.exp: Replace uses of send_gdb / gdb_expect.
9975
9976 * gdb.base/a2-run.exp: Replace uses of send_gdb / gdb_expect.
9977 * gdb.base/all-bin.exp: Replace uses of send_gdb / gdb_expect.
9978 * gdb.base/annota1.exp: Replace uses of send_gdb / gdb_expect.
9979 * gdb.base/annota3.exp: Replace uses of send_gdb / gdb_expect.
9980 * gdb.base/assign.exp: Replace uses of send_gdb / gdb_expect.
9981 * gdb.base/attach.exp: Replace uses of send_gdb / gdb_expect.
9982 * gdb.base/bitfields.exp: Replace uses of send_gdb / gdb_expect.
9983 * gdb.base/bitfields2.exp: Replace uses of send_gdb / gdb_expect.
9984 * gdb.base/bitops.exp: Replace uses of send_gdb / gdb_expect.
9985
9986 2010-05-25 Tom Tromey <tromey@redhat.com>
9987
9988 * gdb.base/macscp.exp: Add missing space after setup_kfail.
9989
9990 2010-05-25 Tom Tromey <tromey@redhat.com>
9991
9992 * gdb.arch/i386-prologue.exp (skip_breakpoint): Fix setup_kfail
9993 argument order.
9994 * gdb.base/macscp.exp: Fix setup_kfail argument order.
9995 * gdb.base/long_long.exp (gdb_test_xxx): Fix setup_kfail argument
9996 order.
9997 * gdb.base/sigbpt.exp (stepi_out): Fix setup_kfail argument
9998 order.
9999 * gdb.base/call-sc.exp (setup_kfails): Remove.
10000 (setup_compiler_kfails): Remove.
10001 * gdb.base/callfuncs.exp (do_function_calls): Fix setup_kfail
10002 argument order.
10003 * gdb.base/siginfo.exp: Fix setup_kfail argument order.
10004 * gdb.base/sigstep.exp (advance): Fix setup_kfail argument order.
10005 (advancei): Fix setup_kfail argument order.
10006 * gdb.base/radix.exp: Fix setup_kfail argument order.
10007 * gdb.base/solib-weak.exp (do_test): Fix setup_kfail argument
10008 order.
10009 * gdb.base/structs.exp (setup_kfails): Remove.
10010 (setup_compiler_kfails): Fix setup_kfail argument order.
10011 * gdb.base/sigaltstack.exp (finish_test): Fix setup_kfail argument
10012 order.
10013 * gdb.java/jmain.exp: Fix setup_kfail argument order.
10014 * gdb.pascal/types.exp (test_string_literal_types_accepted): Fix
10015 setup_kfail argument order.
10016 * gdb.cp/overload.exp: Fix setup_kfail argument order.
10017
10018 2010-05-25 Tom Tromey <tromey@redhat.com>
10019
10020 * gdb.dwarf2/pieces.exp (pieces_test_f3): Mention PR 11636.
10021
10022 2010-05-25 Michael Snyder <msnyder@vmware.com>
10023
10024 * gdb.base/a2-run.exp: Replace send_gdb with gdb_test.
10025 * gdb.base/all-bin.exp: Replace send_gdb with gdb_test.
10026 * gdb.base/annota1.exp: Replace send_gdb with gdb_test.
10027 * gdb.base/annota3.exp: Replace send_gdb with gdb_test.
10028 * gdb.base/assign.exp: Replace send_gdb with gdb_test.
10029 * gdb.base/attach.exp: Replace send_gdb with gdb_test.
10030 * gdb.base/bitfields.exp: Replace send_gdb with gdb_test.
10031 * gdb.base/bitfields2.exp: Replace send_gdb with gdb_test.
10032 * gdb.base/bitops.exp: Replace send_gdb with gdb_test.
10033 * gdb.base/call-ar-st.exp: Replace send_gdb with gdb_test.
10034 * gdb.base/callfuncs.exp: Replace send_gdb with gdb_test.
10035 * gdb.base/call-rt-st.exp: Replace send_gdb with gdb_test.
10036 * gdb.base/call-signal-resume.exp: Replace send_gdb with gdb_test.
10037 * gdb.base/call-strs.exp: Replace send_gdb with gdb_test.
10038 * gdb.base/catch-syscall.exp: Replace send_gdb with gdb_test.
10039 * gdb.base/charset.exp: Replace send_gdb with gdb_test.
10040 * gdb.base/checkpoint.exp: Replace send_gdb with gdb_test.
10041 * gdb.base/commands.exp: Replace send_gdb with gdb_test.
10042 * gdb.base/condbreak.exp: Replace send_gdb with gdb_test.
10043 * gdb.base/cond-exprs.exp: Replace send_gdb with gdb_test.
10044 * gdb.base/consecutive.exp: Replace send_gdb with gdb_test.
10045 * gdb.base/constvars.exp: Replace send_gdb with gdb_test.
10046 * gdb.base/corefile.exp: Replace send_gdb with gdb_test.
10047 * gdb.base/default.exp: Replace send_gdb with gdb_test.
10048 * gdb.base/define.exp: Replace send_gdb with gdb_test.
10049 * gdb.base/display.exp: Replace send_gdb with gdb_test.
10050 * gdb.base/dump.exp: Replace send_gdb with gdb_test.
10051 * gdb.base/ending-run.exp: Replace send_gdb with gdb_test.
10052 * gdb.base/eval-skip.exp: Replace send_gdb with gdb_test.
10053 * gdb.base/exprs.exp: Replace send_gdb with gdb_test.
10054 * gdb.base/fileio.exp: Replace send_gdb with gdb_test.
10055 * gdb.base/finish.exp: Replace send_gdb with gdb_test.
10056 * gdb.base/foll-fork.exp: Replace send_gdb with gdb_test.
10057 * gdb.base/funcargs.exp: Replace send_gdb with gdb_test.
10058 * gdb.base/gcore-buffer-overflow.exp: Replace send_gdb with gdb_test.
10059 * gdb.base/gcore.exp: Replace send_gdb with gdb_test.
10060 * gdb.base/gdb1090.exp: Replace send_gdb with gdb_test.
10061 * gdb.base/gdbvars.exp: Replace send_gdb with gdb_test.
10062 * gdb.base/help.exp: Replace send_gdb with gdb_test.
10063 * gdb.base/info-proc.exp: Replace send_gdb with gdb_test.
10064 * gdb.base/jump.exp: Replace send_gdb with gdb_test.
10065 * gdb.base/long_long.exp: Replace send_gdb with gdb_test.
10066 * gdb.base/maint.exp: Replace send_gdb with gdb_test.
10067 * gdb.base/miscexprs.exp: Replace send_gdb with gdb_test.
10068 * gdb.base/nodebug.exp: Replace send_gdb with gdb_test.
10069 * gdb.base/pointers.exp: Replace send_gdb with gdb_test.
10070 * gdb.base/ptype.exp: Replace send_gdb with gdb_test.
10071 * gdb.base/whatis.exp: Replace send_gdb with gdb_test.
10072
10073 2010-05-25 Doug Evans <dje@google.com>
10074
10075 * gdb.python/py-cmd.exp: Add tests for gdb.GdbError and
10076 gdb.string_to_argv.
10077
10078 2010-05-21 Tom Tromey <tromey@redhat.com>
10079
10080 * gdb.dwarf2/pieces.exp (pieces_test_f3): New proc.
10081 Call it.
10082 * gdb.dwarf2/pieces.S: Update.
10083 * gdb.dwarf2/pieces.c (struct B): Remove initial field.
10084
10085 2010-05-21 Tom Tromey <tromey@redhat.com>
10086
10087 * gdb.dwarf2/pieces.exp (pieces_test_f6): New proc.
10088 Call it.
10089 * gdb.dwarf2/pieces.c (struct C): New.
10090 (f6): New function.
10091 * gdb.dwarf2/pieces.S: Replace.
10092
10093 2010-05-21 Tom Tromey <tromey@redhat.com>
10094
10095 * gdb.dwarf2/pieces.exp (pieces_test_f2): New proc.
10096 Call it.
10097
10098 2010-05-21 Tom Tromey <tromey@redhat.com>
10099
10100 * gdb.dwarf2.pieces.exp: New file.
10101 * gdb.dwarf2.pieces.S: New file.
10102 * gdb.dwarf2.pieces.c: New file.
10103
10104 2010-05-20 Pedro Alves <pedro@codesourcery.com>
10105 Joel Brobecker <brobecker@adacore.com>
10106
10107 * lib/gdb.exp (gdb_test_no_output): New function.
10108 * lib/gdb.ada/arrayidx.exp: Use gdb_test_no_output instead of gdb_test
10109 when testing commands that should produce no output.
10110
10111 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10112
10113 * gdb.ada/watch_arg/watch.adb: Rewrite testcase to avoid the
10114 parameter that we want to watch being a constant.
10115
10116 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10117
10118 * gdb.ada/cond_lang: New testcase.
10119
10120 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10121
10122 * lib/gdb.exp (banned_variables): New variable/constant.
10123 (gdb_init): Add write trace on variables listed in banned_variables.
10124 (gdb_finish): Remove write traces on variables listed in
10125 banned_variables.
10126
10127 2010-05-17 Joel Brobecker <brobecker@adacore.com>
10128
10129 * gdb.base/gdb11530.exp: Delete setting of prms_id and bug_id.
10130 * gdb.cp/koenig.exp: Likewise.
10131
10132 2010-05-14 Phil Muldoon <pmuldoon@redhat.com>
10133
10134 PR python/11482
10135
10136 * gdb.python/py-value.exp (test_value_hash): New function.
10137
10138 2010-05-11 Pierre Muller <muller@ics.u-strasbg.fr>
10139
10140 PR exp/11530.
10141 * gdb.base/gdb11530.c: New file.
10142 * gdb.base/gdb11530.exp: New file.
10143
10144 2010-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10145
10146 * gdb.dwarf2/dw2-modula2-self-type.exp: New.
10147 * gdb.dwarf2/dw2-modula2-self-type.S: New.
10148
10149 2010-05-07 Sami Wagiaalla <swagiaal@redhat.com>
10150
10151 * gdb.cp/koenig.exp: New test.
10152 * gdb.cp/koenig.cc: New test program.
10153
10154 2010-05-05 Joel Brobecker <brobecker@adacore.com>
10155
10156 Remove the use of prms_id and bug_id throughout the testsuite.
10157
10158 2010-05-04 Pierre Muller <muller@ics.u-strasbg.fr>
10159
10160 PR exp/11349.
10161 * testsuite/gdb.cp/ref-types.exp: Add test to examine
10162 use a reference local variable.
10163
10164 2010-05-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10165
10166 * gdb.base/break-interp.exp: Remove $exec.debug safety removal.
10167 * gdb.base/sepdebug.exp: Remove .debug subdirectory handling. New
10168 variable different_dir. Move debugfile into a full directory pathname
10169 under DIFFERENT_DIR.
10170 * lib/gdb.exp (separate_debug_filename): Remove.
10171 (gdb_gnu_strip_debug): No longer call separate_debug_filename. Remove
10172 variable debug_dir and mkdir of it. Update function comments.
10173
10174 2010-04-29 Pedro Alves <pedro@codesourcery.com>
10175
10176 PR gdb/11557
10177
10178 * gdb.mi/mi-ns-stale-regcache.exp, gdb.mi/ns-stale-regcache.c: New
10179 files.
10180
10181 2010-04-29 Phil Muldoon <pmuldoon@redhat.com>
10182
10183 * gdb.python/py-param.exp: New File.
10184
10185 2010-04-29 Mihail Zenkov <mihail.zenkov@gmail.com>
10186
10187 * gdb.base/default.exp: Fix "set language" test.
10188
10189 2010-04-24 Pierre Muller <muller@ics.u-strasbg.fr>
10190
10191 PR breakpoints/11531.
10192 * gdb.base/gdb11531.c: New file.
10193 * gdb.base/gdb11531.exp: New file.
10194
10195 2010-04-26 Tom Tromey <tromey@redhat.com>
10196
10197 * gdb.base/completion.exp: Add tests for completion and deprecated
10198 commands.
10199
10200 2010-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
10201
10202 * gdb.pascal/gdb11492.exp (print integer_array, print /d char_array)
10203 (print /x char_array): Escape curly brackets.
10204
10205 2010-04-23 Jan Kratochvil <jan.kratochvil@redhat.com>
10206
10207 Fix deadlock on looped list of loaded shared objects.
10208 * gdb.base/solib-corrupted.exp: New.
10209
10210 2010-04-23 Doug Evans <dje@google.com>
10211
10212 * gdb.python/py-section-script.c: New file.
10213 * gdb.python/py-section-script.exp: New file.
10214 * gdb.python/py-section-script.py: New file.
10215
10216 2010-04-20 Chris Moller <cmoller@redhat.com>
10217
10218 PR 10179
10219
10220 * gdb.base/Makefile.in (EXECUTABLES): Added pr10179.
10221 * gdb.base/pr10179-a.c:
10222 * gdb.base/pr10179-b.c:
10223 * gdb.base/pr10179.exp: New files.
10224
10225 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10226
10227 Fix crashes on dangling display expressions.
10228 * gdb.base/solib-display.exp: Call gdb_gnu_strip_debug if LIBSEPDEBUG
10229 is SEP.
10230 (lib_flags): Remove the "debug" keyword.
10231 (libsepdebug): New variable for iterating new loop.
10232 (save_pf_prefix): New variable wrapping the loop.
10233 (sep_lib_flags): New variable derived from LIB_FLAGS. Use it.
10234 * lib/gdb.exp (gdb_gnu_strip_debug): Document the return code.
10235
10236 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10237
10238 * gdb.threads/watchthreads.exp: Change to obtain consistent output.
10239
10240 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10241
10242 PR stabs/11479.
10243 * gdb.stabs/gdb11479.exp: New file.
10244 * gdb.stabs/gdb11479.c: New file.
10245
10246 2010-04-22 Pierre Muller <muller@ics.u-strasbg.fr>
10247
10248 * gdb.base/charset.c (Strin16, String32): New variables.
10249 * gdb.base/charset.exp (gdb_test): Test correct display
10250 of 16 or 32 bit strings.
10251
10252 2010-04-21 Chris Moller <cmoller@redhat.com>
10253
10254 PR 9167
10255 * gdb.cp/Makefile.in (EXECUTABLES): Added pr9167.
10256 * gdb.cp/pr9167.cc: New file.
10257 * gdb.cp/pr9167.exp: New file.
10258
10259
10260 2010-04-21 Pierre Muller <muller@ics.u-strasbg.fr>
10261
10262 PR pascal/11492.
10263 * gdb.pascal/gdb11492.pas: New file.
10264 * gdb.pascal/gdb11492.exp: New file.
10265
10266 2010-04-20 Joel Brobecker <brobecker@adacore.com>
10267
10268 * gdb.ada/info_types.c, gdb.ada/info_types.exp: New files.
10269
10270 2010-04-20 Joel Brobecker <brobecker@adacore.com>
10271
10272 * gdb.ada/dyn_loc: New testcase.
10273
10274 2010-04-20 Chris Moller <cmoller@redhat.com>
10275
10276 PR 10867
10277
10278 * gdb.cp/Makefile.in (EXECUTABLES): Added pr10687
10279 * gdb.cp/pr10687.cc: New file.
10280 * gdb.cp/pr10687.exp: New file.
10281
10282
10283 2010-04-20 Jan Kratochvil <jan.kratochvil@redhat.com>
10284 Sergio Durigan Junior <sergiodj@redhat.com>
10285
10286 * gdb.fortran/logical.exp: New testcase.
10287 * gdb.fortran/logical.f90: New file.
10288
10289 2010-04-19 Doug Evans <dje@google.com>
10290
10291 * gdb.base/help.exp (help source): Update expected output.
10292
10293 2010-04-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10294
10295 * gdb.base/solib-display.exp: Replace gdb_exit, gdb_start,
10296 gdb_reinitialize_dir and gdb_load by clean_restart. Remove trailing
10297 gdb_exit and return.
10298 (executable): New variable.
10299 (binfile): Use it.
10300
10301 2010-04-19 Pedro Alves <pedro@codesourcery.com>
10302
10303 PR breakpoints/8554.
10304
10305 * gdb.trace/save-trace.exp: Adjust.
10306
10307 2010-04-17 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 PR corefiles/11511
10310 * gdb.arch/system-gcore.exp: New.
10311 * gdb.arch/gcore.c: Likewise.
10312
10313 2010-04-15 Doug Evans <dje@google.com>
10314
10315 * gdb.python/py-progspace.c: New file.
10316 * gdb.python/py-progspace.exp: New file.
10317
10318 * gdb.base/source.exp: Add tests for "source -s".
10319
10320 2010-04-14 Phil Muldoon <pmuldoon@redhat.com>
10321
10322 * gdb.python/py-prettyprint.py (NoStringContainerPrinter): New printer.
10323 * gdb.python/py-prettyprint.c: Add justchildren struct, typedefs.
10324 * gdb.python/py-prettyprint.exp: New test for to_string returning None.
10325 * gdb.python/py-mi.exp: New test for to_string returning None.
10326
10327 2010-04-12 Phil Muldoon <pmuldoon@redhat.com>
10328
10329 * gdb.python/py-breakpoint.c: Make result global.
10330
10331 2010-04-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10332
10333 Fix non-GNU make compatibility.
10334 * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
10335
10336 2010-04-09 Phil Muldoon <pmuldoon@redhat.com>
10337
10338 * gdb.python/py-breakpoint.exp: New File.
10339 * gdb.python/py-breakpoint.C: Ditto.
10340
10341 2010-04-08 Stan Shebs <stan@codesourcery.com>
10342
10343 * gdb.trace/actions.exp: Clear default-collect.
10344 * gdb.trace/save-trace.exp: Clear default-collect.
10345
10346 2010-04-08 Phil Muldoon <pmuldoon@redhat.com>
10347
10348 * gdb.python/py-value: Add null string variable.
10349 (test_lazy_string): Test zero length, NULL address lazy
10350 strings.
10351
10352 2010-04-07 H.J. Lu <hongjiu.lu@intel.com>
10353
10354 * gdb.arch/i386-avx.c: New.
10355 * gdb.arch/i386-avx.exp: Likewise.
10356
10357 * gdb.arch/i386-cpuid.h: Updated from gcc 4.4.
10358
10359 2010-04-06 Doug Evans <dje@google.com>
10360
10361 * gdb.base/source-test.gdb: New file.
10362 * gdb.base/source.exp: Test source -v.
10363
10364 2010-04-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10365
10366 * gdb.cp/inherit.exp (test_print_anon_union): Fix re_class pattern.
10367
10368 2010-04-06 Pierre Muller <muller@ics.u-strasbg.fr>
10369
10370 * gdb.stabs/aout.sed: Convert all backslash to double backslash
10371 within one line, unless it is followed by a double quote.
10372 * gdb.stabs/hppa.sed: Idem.
10373 * gdb.stabs/weird.def: Add char and String constants
10374 * gdb.stabs/weird.exp: Check for correct parsing of
10375 char and string constants.
10376 * gdb.stabs/xcoff.sed: Ignore escaped quote quotes
10377 in .stabs to .stabx substitution.
10378
10379 2010-04-05 Stan Shebs <stan@codesourcery.com>
10380
10381 * gdb.trace/tfile.c: Add a variable split across two blocks, and a
10382 constant global.
10383 * gdb.trace/tfile.exp: Try to print them.
10384
10385 2010-04-04 Stan Shebs <stan@codesourcery.com>
10386
10387 * gdb.base/completion.exp: Update for new "info watchpoints".
10388 * gdb.base/default.exp: Ditto.
10389 * gdb.base/help.exp: Ditto.
10390 * gdb.base/watchpoint.exp: Ditto.
10391 * gdb.trace/infotrace.exp: Update "info tracpoints" output.
10392
10393 2010-04-04 Stan Shebs <stan@codesourcery.com>
10394
10395 * gdb.trace/tfile.exp: Sharpen tfind test.
10396
10397 2010-04-04 Jan Kratochvil <jan.kratochvil@redhat.com>
10398
10399 * gdb.base/break-entry.exp: New.
10400
10401 2010-04-02 Hui Zhu <teawater@gmail.com>
10402 Michael Snyder <msnyder@vmware.com>
10403
10404 * gdb.reverse/i386-sse-reverse.exp: New file.
10405 * gdb.reverse/i386-sse-reverse.c: New file.
10406
10407 2010-04-02 Pedro Alves <pedro@codesourcery.com>
10408
10409 * gdb.trace/tfind.exp: Adjust expected disassembly output.
10410
10411 2010-04-01 Stan Shebs <stan@codesourcery.com>
10412
10413 * gdb.trace/actions.exp: Tweak expected output.
10414 * gdb.trace/while-stepping.exp: Tweak expected output.
10415
10416 2010-04-01 H.J. Lu <hongjiu.lu@intel.com>
10417
10418 * gdb.arch/amd64-byte.exp: Check "ah", "bh", "ch", "dh".
10419
10420 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10421
10422 * gdb.base/commands.exp: Adjust.
10423 * gdb.cp/extern-c.exp: Adjust.
10424
10425 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10426
10427 * gdb.trace/collection.c (local_test_func): Define a local struct,
10428 and instanciate it.
10429
10430 2010-04-01 Pedro Alves <pedro@codesourcery.com>
10431
10432 * gdb.trace/collection.exp (gdb_collect_args_test)
10433 (gdb_collect_argarray_test): XFAIL the tests that assume the
10434 argarray argument's elements are collected.
10435
10436 2010-03-31 Jan Kratochvil <jan.kratochvil@redhat.com>
10437
10438 * gdb.dwarf2/dw2-bad-parameter-type.exp,
10439 gdb.dwarf2/dw2-bad-parameter-type.S: New.
10440
10441 2010-03-31 Stan Shebs <stan@codesourcery.com>
10442
10443 * gdb.trace/save-trace.exp: Test save/restore of default-collect
10444 and tracepoint conditionals.
10445 (gdb_verify_tracepoints): Delete unused return.
10446
10447 2010-03-26 Keith Seitz <keiths@redhat.com>
10448
10449 * gdb.java/jmisc.exp (ptype jmisc): Allow the constructor to
10450 appear in the output before main.
10451 Remove KFAIL for gdb/2215 aka bz 9320.
10452
10453 2010-03-30 Doug Evans <dje@google.com>
10454
10455 * gdb.arch/amd64-word.exp: Rename hex to hexr, the former is defined
10456 by dejagnu.
10457 * gdb.arch/amd64-dword.exp: Ditto.
10458
10459 * gdb.base/annota1.exp (break handle_USR1): Make fail and pass text
10460 match.
10461 (break printf): Ditto.
10462
10463 2010-03-29 Sami Wagiaalla <swagiaal@redhat.com>
10464
10465 * gdb.cp/nsusing.exp: Marked imported declaration test as xfail with
10466 gcc < 4.4.
10467 * gdb.cp/shadow.exp: Ditto.
10468
10469 2010-03-29 Pedro Alves <pedro@codesourcery.com>
10470
10471 * gdb.trace/collection.exp (run_trace_experiment): Make sure
10472 "tstart" is silent.
10473
10474 2010-03-29 Pedro Alves <pedro@codesourcery.com>
10475
10476 * gdb.trace/collection.exp (executable): New.
10477 (binfile): Use it.
10478 (fpreg, spreg, pcreg): New.
10479 (test_register): Use gdb_test_multiple. Pass /x to print.
10480 (prepare_for_trace_test): New.
10481 (run_trace_experiment): Use "continue", not gdb_run_cmd.
10482 (gdb_collect_args_test, gdb_collect_argstruct_test)
10483 (gdb_collect_argarray_test, gdb_collect_locals_test): Use
10484 prepare_for_trace_test.
10485 (gdb_collect_registers_test): Use prepare_for_trace_test. Use
10486 fpreg, spreg and pcreg.
10487 (gdb_collect_expression_test, gdb_collect_globals_test): Use
10488 prepare_for_trace_test.
10489 (gdb_trace_collection_test): Use fpreg, spreg and pcreg. Don't
10490 try to detect tracing support here. Don't set breakpoints at
10491 `begin' or `end' here.
10492 <global scope>: Use clean_restart. Run to main before checking
10493 for tracing support. Check for for tracing support here.
10494
10495 2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10496
10497 * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
10498 " as $displacement" to "seen displacement message".
10499
10500 2010-03-28 Pedro Alves <pedro@codesourcery.com>
10501
10502 * gdb.trace/while-dyn.exp (executable): New variable.
10503 (binfile): Use it.
10504 (test_while_stepping): New function. Move most tests here. Call
10505 it once for each of the while-stepping, stepping and ws aliases.
10506
10507 2010-03-26 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10508
10509 * gdb.cp/inherit.exp (test_ptype_si): XFAIL test for GCC versions
10510 that do not provide the tagless_struct type name at all.
10511 (test_print_anon_union): Do not check value of uninitialized
10512 union member. Do not use cp_test_ptype_class, so we can accept
10513 "long" as well as "long int".
10514
10515 2010-03-26 Pedro Alves <pedro@codesourcery.com>
10516
10517 * gdb.trace/tfile.c (tohex, bin2hex): New.
10518 (write_error_trace_file): Hexify error description.
10519
10520 2010-03-25 Stan Shebs <stan@codesourcery.com>
10521
10522 * gdb.trace/tfile.c: Generate an additional trace file, improve
10523 portability.
10524 * gdb.trace/tfile.exp: Test trace file with an error stop, delete
10525 files in a better way.
10526
10527 2010-03-25 Keith Seitz <keiths@redhat.com>
10528
10529 * gdb.java/jprint.exp: XFAIL printing of static class members
10530 because of GCC debuginfo problem.
10531
10532 2010-03-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10533
10534 * gdb.base/dup-sect.exp, gdb.base/dup-sect.S: New.
10535
10536 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10537
10538 * gdb.base/completion.exp: Allow long instead of long int.
10539 * gdb.base/ending-run.exp: Match _rt_entry.* for RealView.
10540 * gdb.base/gdbvars.c (main): Remove unused usestubs code. Reference
10541 variable p.
10542 * gdb.base/maint.exp: Allow ER_RO and ER_RW instead of .text and .data.
10543 * gdb.base/pointers.exp: Allow long instead of long int.
10544 * gdb.base/printcmds.exp: XFAIL for RealView on ARM EABI.
10545 * gdb.base/step-line.exp: Allow a directory before the source file name.
10546
10547 2010-03-24 Tom Tromey <tromey@redhat.com>
10548
10549 PR breakpoints/9352:
10550 * gdb.base/default.exp: Update.
10551 * gdb.base/commands.exp: Update.
10552 * gdb.cp/extern-c.exp: Test setting commands on multiple
10553 breakpoints at once.
10554
10555 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10556
10557 * gdb.base/call-signal-resume.exp, gdb.base/unwindonsignal.exp: Skip
10558 if gdb,nosignals.
10559 * gdb.base/watchpoints.c: Do not include unnecessary headers.
10560 * lib/gdb.exp (gdb_test_multiple): Relax pattern for "the program
10561 exited".
10562
10563 2010-03-24 Stan Shebs <stan@codesourcery.com>
10564
10565 * gdb.trace/tfile.exp: Expect "trace frame", with a space.
10566
10567 2010-03-24 Daniel Jacobowitz <dan@codesourcery.com>
10568
10569 * gdb.base/callfuncs.exp (do_function_calls): Add XFAILs for RealView.
10570 * gdb.base/ptype.exp (ptype_maybe_prototyped): Add overprototyped
10571 argument. Handle "short" and "long".
10572 (Top level): Pass overprototyped output for old_fptr and xptr.
10573
10574 2010-03-23 Pedro Alves <pedro@codesourcery.com>
10575
10576 * gdb.threads/pthreads.c (thread1, thread2, main): Fix printf
10577 format strings and add casts to avoid compiler warnings.
10578
10579 2010-03-23 Vladimir Prus <vladimir@codesourcery.com>
10580
10581 * lib/trace-support.exp (gdb_trace_setactions):
10582 Don't expect whitespace after ">" prompt.
10583 * gdb.trace/actions.exp: Adjust for output changes.
10584 * gdb.trace/while-stepping.exp: Likewise.
10585
10586 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10587
10588 * dg-extract-results.sh: Sync with GCC HEAD (import r155655, r157175
10589 and r157645).
10590
10591 2010-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10592
10593 * gdb.dwarf2/dw2-empty-namespace.exp, gdb.dwarf2/dw2-empty-namespace.S:
10594 New.
10595
10596 2010-03-22 Daniel Jacobowitz <dan@codesourcery.com>
10597
10598 * gdb.python/Makefile.in (EXECUTABLES): Add py-mi.
10599 * gdb.python/py-mi.exp (binfile): Rename to py-mi.
10600
10601 2010-03-19 Stan Shebs <stan@codesourcery.com>
10602
10603 * gdb.trace/ax.exp: New file.
10604
10605 2010-03-19 Doug Evans <dje@google.com>
10606
10607 * lib/gdb.exp (gdb_compile_test): Watch for "compiler not installed"
10608 output from gcc.
10609
10610 * gdb.base/break-interp.exp (prelinkNO): Handle prelink binaries
10611 named /usr/sbin/prelink<foo>.
10612
10613 2010-03-18 Stan Shebs <stan@codesourcery.com>
10614
10615 * gdb.trace/circ.exp: Test circular-trace-buffer.
10616 * gdb.trace/tfile.exp: Update tstatus test.
10617
10618 2010-03-18 Joel Brobecker <brobecker@adacore.com>
10619
10620 * gdb.dwarf2/dw2-anonymous-func.S: New file.
10621 * gdb.dwarf2/dw2-anonymous-func.exp: New testcase.
10622
10623 2010-03-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10624
10625 * gdb.mi/gdb680.exp: Revert 2009-06-17 change.
10626
10627 2010-03-18 Pedro Alves <pedro@codesourcery.com>
10628
10629 * gdb.base/default.exp: Adjust the expected output of the finish
10630 and until commands when the inferior is not being run.
10631
10632 2010-03-15 Sami Wagiaalla <swagiaal@redhat.com>
10633
10634 * gdb.cp/shadow.exp: Removed kfail; test has been fix.
10635 * gdb.cp/nsusing.exp: Ditto.
10636
10637 2010-03-15 Tom Tromey <tromey@redhat.com>
10638
10639 * gdb.cp/userdef.exp: Add tests for explicit calls to operator==.
10640 * gdb.cp/userdef.cc (operator==): New function.
10641 (main): New locals mem1, mem2.
10642
10643 2010-03-15 Jie Zhang <jie@codesourcery.com>
10644
10645 * lib/mi-support.exp (mi_gdb_target_load): Delete unused timeout var.
10646 Declare and use new loadtimeout variable.
10647
10648 2010-03-14 Daniel Jacobowitz <dan@codesourcery.com>
10649
10650 * gdb.base/printcmds.exp: Use gdb_file_cmd instead of gdb_load.
10651 Use gdb_load later.
10652
10653 2010-03-14 Pedro Alves <pedro@codesourcery.com>
10654
10655 * gdb.base/solib-disc.c (main): Make format of fprintf a string
10656 literal. Add missing endlines to prints to stderr.
10657
10658 2010-03-12 Tom Tromey <tromey@redhat.com>
10659
10660 PR c++/9708:
10661 * gdb.cp/m-static.exp: Add regression test.
10662 * gdb.cp/m-static.cc (method): New method.
10663 (main): Call it.
10664
10665 2010-03-12 Sami Wagiaalla <swagiaal@redhat.com>
10666
10667 * gdb.cp/gdb2384-base.h: Created 'namespace B'.
10668 * gdb.cp/gdb2384-base.cc: Use 'namespace B'.
10669
10670 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10671
10672 * lib/gdb.exp (gdb_test_multiple): Handle -timeout.
10673
10674 2010-03-12 Daniel Jacobowitz <dan@codesourcery.com>
10675
10676 * lib/gdb.exp (skip_stl_tests): New.
10677 (gdb_compile): Symbian needs -ldl.
10678 (shlib_target_file): New.
10679 (shlib_symbol_file): New.
10680 (gdb_load_shlibs): Use shlib_target_file.
10681 * lib/mi-support.exp (mi_load_shlibs): Use shlib_target_file.
10682 * gdb.cp/exception.exp: Use skip_stl_tests.
10683 * gdb.cp/bs15503.exp: Use skip_stl_tests. Use untested.
10684 * gdb.cp/try_catch.exp: Use skip_stl_tests.
10685 * gdb.cp/mb-templates.exp: Ditto.
10686 * gdb.base/commands.exp: Relax regexes.
10687 * gdb.base/watchpoint-solib.exp: Don't skip on symbian. Use
10688 shlib_target_file and shlib_symbol_file.
10689 * gdb.base/maint.exp: Allow lowercase t. Allow .rodata in
10690 sections.
10691 * gdb.base/ending-run.exp: Accept E32Main for symbian.
10692 * gdb.base/solib-disc.exp: Use
10693 shlib_target_file and shlib_symbol_file.
10694 * gdb.base/unload.exp: Don't skip on symbian. Use
10695 shlib_target_file and shlib_symbol_file.
10696 * gdb.base/list.exp: Check use_gdb_stub instead of is_remote.
10697
10698 2010-03-12 Pedro Alves <pedro@codesourcery.com>
10699
10700 * gdb.trace/backtrace.exp: Adjust for x86 and x86_64.
10701 * gdb.trace/report.exp: Adjust for x86 and x86_64.
10702 Issue a tfind end before looking for a tracepoint frame.
10703 * gdb.trace/tfind.exp: Adjust tstatus output.
10704 Adjust disassembly output.
10705 * gdb.trace/while-dyn.exp: Adjust for x86 and x86_64.
10706
10707 2010-03-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10708
10709 * gdb.base/break-interp.exp: Create new displacement parameter value
10710 for the test_ld calls.
10711 (reach): New parameter displacement, verify its content. New push of
10712 pf_prefix "reach-$func:". Import global expect_out.
10713 (test_core): New parameter displacement, verify its content. New push
10714 of pf_prefix "core:". New command "set verbose on". Import global
10715 expect_out.
10716 (test_attach): New parameter displacement, verify its content. New
10717 push of pf_prefix "attach:". New command "set verbose on". Import
10718 global expect_out.
10719 (test_ld): New parameter displacement, pass it to the reach, test_core
10720 and test_attach calls and verify its content in the "ld.so exit" test.
10721 * gdb.base/prelink.exp: Remove gdb_exit and final return.
10722 (prelink): Update expected text, use gdb_test.
10723
10724 2010-03-10 Doug Evans <dje@google.com>
10725
10726 * gdb.base/checkpoint.exp: Fix comment.
10727 Lengthen timeout while doing >600 checkpoints test.
10728 Rename duplicate "kill all one" test to keep test names unique.
10729
10730 2010-03-10 Pedro Alves <pedro@codesourcery.com>
10731
10732 * gdb.base/watch-cond.c, gdb.base/watch-cond.exp: New.
10733
10734 2010-03-08 Keith Seitz <keiths@redhat.com>
10735
10736 * gdb.cp/cp-relocate.exp: Remove single-quoting of C++ methods.
10737 * gdb.cp/cplusfuncs.cc (dm_type_short): New function.
10738 (dm_type_long): New function.
10739 (dm_type_unsigned_short): New function.
10740 (dm_type_unsigned_long): New function.
10741 (myint): New typedef.
10742 * gdb.cp/cplusfuncs.exp (probe_demangler): Add tests for short,
10743 long, unsigned shor and long, operator char*, and typedef.
10744 (test_lookup_operator_functions): Add operator char* test.
10745 (test_paddr_operator_functions): Likewise.
10746 (test_paddr_overloaded_functions): Use probe values for
10747 short, long, and unsigned short and long.
10748 (test_paddr_hairy_functions): If the demangler probe detected
10749 gdb type printers, "expect" them. Otherwise "expect" the v2 or v3
10750 demangler.
10751 * gdb.cp/expand-sals.exp: Backtrace may contain class names.
10752 * gdb.cp/member-ptr.exp: Refine expected result for "print pmf"
10753 and "print null_pmf".
10754 Add test "ptype a.*pmf".
10755 * gdb.cp/overload.exp: Allow optional "int" to appear with
10756 "short" and "long".
10757 * gdb.cp/ovldbreak.exp: Use append to construct super-duper
10758 long expect value for men_overload1arg.
10759 Allow "int" to appear with "short" and "long".
10760 When testing "info break", add argument for main (void).
10761 Also allow "int" to appear with "short" and "long".
10762 Ditto with "unsigned" and "long long".
10763 * gdb.java/jmain.exp: Do not enclose methods names in single
10764 quotes.
10765 * gdb.java/jmisc.exp: Likewise.
10766 * gdb.java/jprint.exp: Likewise.
10767 * gdb.python/py-symbol.exp: Update expected "linkage_name" value.
10768
10769 From Jan Kratochvil <jan.kratochvil@redhat.com>:
10770 * gdb.cp/exception.exp (backtrace after first throw)
10771 (backtrace after second throw): Allow a namespace before __cxa_throw.
10772 (backtrace after first catch, backtrace after second catch): Allow
10773 a namespace before __cxa_begin_catch.
10774
10775 * gdb.cp/cpexprs.exp: New file.
10776 * gdb.cp/cpexprs.cc: New file.
10777
10778 From Daniel Jacobowitz <dan@codesourcery.com>
10779 * gdb.cp/cpexprs.exp (escape): Delete. Change all callers
10780 to use string_to_regexp.
10781 (ctor, dtor): New functions. Use them to match constructor
10782 and destructor function types.
10783 (Top level): Use runto_main.
10784
10785 2010-03-05 Tom Tromey <tromey@redhat.com>
10786
10787 * gdb.python/py-prettyprint.py (pp_nullstr.to_string): Use
10788 gdb.target_charset.
10789 (pp_ns.to_string): Likewise.
10790
10791 2010-03-04 Keith Seitz <keiths@redhat.com>
10792
10793 * gdb.cp/overload.exp: Test that the filename portion of a linespec
10794 can be quoted. Test that both the filename and function/line
10795 portions can be quoted at the same time.
10796
10797 2010-03-04 Pedro Alves <pedro@codesourcery.com>
10798
10799 * gdb.base/watch-non-mem.c, gdb.base/watch-non-mem.exp: New.
10800
10801 2010-03-03 Doug Evans <dje@google.com>
10802
10803 * lib/gdb.exp (gdb_compile_pthreads): Handle case where
10804 libc contains libpthread.
10805
10806 * gdb.threads/linux-dp.c (shared_random): Call rand instead of rand_r.
10807 * gdb.threads/linux-dp.exp: Compile with gdb_compile_pthreads instead
10808 of gdb_compile. Add another pattern to match android backtrace.
10809
10810 2010-03-03 Tom Tromey <tromey@redhat.com>
10811
10812 PR gdb/11345:
10813 * gdb.base/printcmds.exp (test_printf): Add test.
10814
10815 2010-03-02 H.J. Lu <hongjiu.lu@intel.com>
10816
10817 * gdb.arch/amd64-byte.exp: New.
10818 * gdb.arch/amd64-dword.exp: Likewise.
10819 * gdb.arch/amd64-pseudo.c: Likewise.
10820 * gdb.arch/amd64-word.exp: Likewise.
10821 * gdb.arch/i386-byte.exp: Likewise.
10822 * gdb.arch/i386-pseudo.c: Likewise.
10823 * gdb.arch/i386-word.exp: Likewise.
10824
10825 2010-03-01 Daniel Jacobowitz <dan@codesourcery.com>
10826
10827 * gdb.xml/extra-regs.xml: Add struct1, struct2, and flags
10828 types. Add structreg, bitfields, and flags registers.
10829 * gdb.xml/tdesc-regs.exp: Test structreg and bitfields
10830 registers.
10831
10832 2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
10833
10834 * gdb.xml/tdesc-regs.exp (architecture): New. Set it for x86.
10835 (load_description): Set architecture if defined.
10836
10837 2010-02-28 Phil Muldoon <pmuldoon@redhat.com>
10838
10839 * gdb.python/py-frame.exp: Add read_var block tests.
10840 * gdb.python/py-frame.c (block): New function.
10841
10842 2010-02-28 Jan Kratochvil <jan.kratochvil@redhat.com>
10843 Daniel Jacobowitz <dan@codesourcery.com>
10844
10845 * gdb.base/callfuncs.exp: New tests for $spval 0 and -1. Remove return.
10846
10847 2010-02-25 David S. Miller <davem@davemloft.net>
10848
10849 * gdb.base/catch-syscall.exp: Allow to run on sparc*-*-linux and
10850 fix logic for setting all_syscalls_numbers.
10851
10852 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10853
10854 * Makefile.in: Add py-block and py-symbol.
10855 * gdb.python/py-symbol.exp: New File.
10856 * gdb.python/py-symtab.exp: New File.
10857 * gdb.python/py-block.exp: New File.
10858 * gdb.python/py-symbol.c: New File.
10859 * gdb.python/py-block.c: New File.
10860
10861 2010-02-24 Phil Muldoon <pmuldoon@redhat.com>
10862
10863 PR python/11314
10864 * lib/gdb.exp (skip_python_tests): New function.
10865 * gdb.python/py-cmd.exp: Use skip_python_tests.
10866 * gdb.python/py-frame.exp: Likewise.
10867 * gdb.python/py-function.exp: Likewise.
10868 * gdb.python/py-prettyprint.exp: Likewise.
10869 * gdb.python/py-template.exp: Likewise.
10870 * gdb.python/py-type.exp: Likewise.
10871 * gdb.python/py-value.exp: Likewise.
10872
10873 2010-02-22 Pedro Alves <pedro@codesourcery.com>
10874
10875 PR9605
10876
10877 * gdb.base/watch-read.c, gdb.base/watch-read.exp: New files.
10878
10879 2010-02-19 Tom Tromey <tromey@redhat.com>
10880
10881 PR c++/8693, PR c++/9496:
10882 * gdb.cp/namespace.exp: Remove some setup_kfail calls. Added
10883 regression tests.
10884
10885 2010-02-19 Jan Kratochvil <jan.kratochvil@redhat.com>
10886
10887 Fix compatibility with m68k as.
10888 * gdb.dwarf2/member-ptr-forwardref.S: Use .data section. Use .2byte.
10889 Use only /* comments */.
10890
10891 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10892
10893 * configure.ac: Add gdb.multi/Makefile to AC_OUTPUT.
10894 * configure: Regenerate.
10895
10896 2010-02-18 Daniel Jacobowitz <dan@codesourcery.com>
10897
10898 * gdb.python/py-type.exp: Check for Python support.
10899
10900 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10901
10902 * lib/gdb.exp (build_id_debug_filename_get): Don't assume new
10903 `regsub' syntax available.
10904
10905 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10906
10907 * gdb.base/shmain.c (main): Remove printf call.
10908 * gdb.base/sizeof.c (main): Cast return of sizeof to int.
10909 * gdb.base/unload.c (main): Make format of fprintf a string
10910 literal. Add missing endlines to prints to stderr.
10911 * gdb.base/watchpoint-solib.c (open_shlib): Ditto.
10912
10913 2010-02-17 Tom Tromey <tromey@redhat.com>
10914
10915 * gdb.java/jprint.java (jprint.props): New field.
10916 * gdb.java/jprint.exp (set_lang_java): Add regression test.
10917
10918 2010-02-17 Pedro Alves <pedro@codesourcery.com>
10919
10920 * gdb.base/charset.exp: Don't assume new `regsub' syntax
10921 available.
10922
10923 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10924
10925 * gdb.xml/tdesc-arch.exp, gdb.xml/tdesc-regs.exp: Rewrite file
10926 creation to support remote host testing.
10927
10928 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10929
10930 * gdb.base/valgrind-db-attach.exp: Use unsupported instead of xfail.
10931 Recognize "command not found".
10932
10933 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10934
10935 * gdb.arch/thumb2-it.exp (test_it_break): Handle hardware
10936 single-stepping.
10937
10938 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10939
10940 * gdb.python/py-value.exp (test_value_in_inferior): Skip arg0 test
10941 if arguments are not supported.
10942
10943 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10944
10945 * gdb.cp/overload.exp: Allow foo::overload1arg's "this" pointer to
10946 be const or non-const.
10947
10948 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10949
10950 * gdb.mi/mi-break.exp (test_breakpoint_commands): Use
10951 mi_send_resuming_command to send -exec-continue.
10952
10953 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10954
10955 * gdb.base/list.exp (test_list_filename_and_function): Add test
10956 with single quotes.
10957 * gdb.cp/overload.cc (intToChar): Rewrite onto one line for easy
10958 matching.
10959 * gdb.cp/overload.exp: Add tests with filename, function, and quotes.
10960 Add KFAIL'd tests for PR gdb/11289.
10961
10962 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10963
10964 * gdb.cp/cpcompletion.exp: Specify source file name explicitly.
10965
10966 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10967
10968 * gdb.base/comp-dir/subdir/dummy.txt: New file.
10969 * gdb.base/completion.exp: Use comp-dir/subdir instead of creating
10970 a temporary directory.
10971
10972 2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
10973
10974 * gdb.base/charset.exp: Use a single regular expression to match
10975 show host-charset and show target-charset output.
10976
10977 2010-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10978
10979 * gdb.base/attach.exp (attach to nonsense is prohibited): Make the
10980 "Illegal process-id" expect string more exact.
10981 (attach to digits-starting nonsense is prohibited): New.
10982
10983 2010-02-13 Jan Kratochvil <jan.kratochvil@redhat.com>
10984
10985 * gdb.base/prelink.exp (set verbose on): New.
10986
10987 2010-02-12 Tomas Holmberg <th@virtutech.com>
10988
10989 * mi-reverse.exp: New file. Test for reverse option to the
10990 following MI commands: exec-continue, exec-finish, exec-next,
10991 exec-step, exec-next-instruction, exec-step-instruction.
10992
10993 2010-02-09 Joel Brobecker <brobecker@adacore.com>
10994
10995 * gdb.ada/ptype_tagged_param: New testcase.
10996
10997 2010-02-08 Tom Tromey <tromey@redhat.com>
10998
10999 PR c++/8017:
11000 * gdb.cp/overload.exp: Add tests.
11001 * gdb.cp/overload.cc (struct K): New.
11002 (namespace N): New.
11003 (main): Call new functions.
11004 (K::staticoverload): Define.
11005
11006 2010-02-08 Chris Moller <moller@mollerware.com>
11007
11008 PR gdb/10728
11009 * gdb.cp/pr10728-x.h: New file.
11010 * gdb.cp/pr10728-x.cc: New file.
11011 * gdb.cp/pr10728-y.cc: New file.
11012 * gdb.cp/pr10728.exp: New file.
11013 * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
11014
11015 2010-02-08 Chris Moller <moller@mollerware.com>
11016
11017 PR gdb/9067
11018 * gdb.cp/pr9067.exp: New
11019 * gdb.cp/pr9067.cc: New
11020 * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
11021
11022 2010-02-08 Joel Brobecker <brobecker@adacore.com>
11023
11024 * lib/gdb.exp (gdb_test_timeout): New global variable.
11025 Set it to timeout if not already set.
11026 (gdb_init): Reset the value of timeout to gdb_test_timeout.
11027
11028 2010-02-05 Doug Evans <dje@google.com>
11029
11030 * lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by
11031 user.
11032
11033 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com>
11034
11035 PR c++/7935:
11036 * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed.
11037
11038 2010-02-04 Tom Tromey <tromey@redhat.com>
11039
11040 * gdb.cp/virtbase.exp: Make test case names unique.
11041
11042 2010-02-02 Tom Tromey <tromey@redhat.com>
11043
11044 * gdb.cp/virtbase.exp: Add regression tests.
11045 * gdb.cp/virtbase.cc (RHA, RHB, RHC): New classes.
11046 (main): Instantiate RHC.
11047
11048 2010-02-02 Tom Tromey <tromey@redhat.com>
11049
11050 * gdb.dwarf2/member-ptr-forwardref.exp: Update expected result for
11051 type-printing change.
11052
11053 2010-02-02 Tom Tromey <tromey@redhat.com>
11054
11055 PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
11056 * gdb.cp/virtbase.cc: New file.
11057 * gdb.cp/virtbase.exp: New file.
11058 * gdb.cp/userdef.exp: Allow 'struct' or 'class'.
11059
11060 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11061
11062 PR libc/11214:
11063 * gdb.threads/current-lwp-dead.c: Include features.h.
11064 (HAS_NOMMU): New.
11065 (fn, main): Move CLONE_VM into [__UCLIBC__ && HAS_NOMMU].
11066
11067 2010-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11068
11069 * gdb.base/symbol-without-target_section.exp,
11070 gdb.base/symbol-without-target_section.c: New.
11071
11072 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11073
11074 * gdb.base/bigcore.exp: Reset increased timeout.
11075 * gdb.base/interrupt.exp: Match unexpected gdb prompt.
11076
11077 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11078
11079 * gdb.base/gcore.exp (capture_command_output): Use
11080 gdb_test_multiple.
11081
11082 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11083
11084 * gdb.arch/thumb2-it.S (it_breakpoints): New function.
11085 * gdb.arch/thumb2-it.exp (test_it_break): New function.
11086 (Top level): Call it.
11087
11088 2010-02-01 Daniel Jacobowitz <dan@codesourcery.com>
11089
11090 * gdb.arch/thumb2-it.S, gdb.arch/thumb2-it.exp: New files.
11091
11092 2010-01-29 Daniel Jacobowitz <dan@codesourcery.com>
11093
11094 * gdb.base/call-strs.exp, gdb.base/default.exp,
11095 gdb.base/ending-run.exp, gdb.base/finish.exp, gdb.base/funcargs.exp,
11096 gdb.base/huge.exp, gdb.base/nodebug.exp, gdb.base/ptype.exp,
11097 gdb.base/restore.exp, gdb.base/return.exp, gdb.base/setvar.exp,
11098 gdb.base/watchpoints.exp, gdb.threads/gcore-thread.exp,
11099 gdb.base/watchpoint-solib.exp: Save and restore timeout.
11100 * gdb.base/ending-run.exp: Correct restore of timeout.
11101 * gdb.base/page.exp: Remove unnecessary timeout setting.
11102
11103 2010-01-29 Joel Brobecker <brobecker@adacore.com>
11104
11105 * gdb.ada/rec_return: New testcase.
11106
11107 2010-01-29 Joel Brobecker <brobecker@adacore.com>
11108
11109 * gdb.ada/call_pn: New testcase.
11110
11111 2010-01-28 Daniel Jacobowitz <dan@codesourcery.com>
11112
11113 * gdb.mi/mi-nonstop.exp (mi_nonstop_resume): New function.
11114 (Top level): Use it to resume.
11115 * lib/mi-support.exp (mi_send_resuming_command_raw): Recognize
11116 the Thumb mode displaced stepping error as unsupported.
11117
11118 2010-01-28 Sami Wagiaalla <swagiaal@redhat.com>
11119
11120 * gdb.cp/nsusing.exp: Added more tests.
11121 * gdb.cp/nsrecurs.exp: Ditto.
11122 * gdb.cp/nsusing.cc: Added test functions.
11123 * gdb.cp/nsrecurs.cc: Ditto.
11124
11125 2010-01-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11126
11127 * gdb.base/break-interp.exp: Use [file tail $filename] to omit any
11128 absolute directory pathnames in gdb.sum file.
11129
11130 2010-01-27 Sami Wagiaalla <swagiaal@redhat.com>
11131
11132 * gdb.cp/namespace-using.exp: Rename to nsusing.exp.
11133 * gdb.cp/namespace-using.cc: Rename to nsusing.cc.
11134
11135 2010-01-26 Tom Tromey <tromey@redhat.com>
11136
11137 PR exp/7643:
11138 * gdb.base/printcmds.exp (test_print_string_constants): Remove
11139 setup_kfail.
11140
11141 2010-01-14 Sami Wagiaalla <swagiaal@redhat.com>
11142
11143 * gdb.cp/nsrecurs.exp: New test.
11144 * gdb.cp/nsrecurs.cc: New test program.
11145 * gdb.cp/nsstress.exp: New test.
11146 * gdb.cp/nsstress.cc: New test program.
11147 * gdb.cp/nsdecl.exp: New test.
11148 * gdb.cp/nsdecl.cc: New test program.
11149
11150 2010-01-26 Sami Wagiaalla <swagiaal@redhat.com>
11151
11152 * gdb.cp/namespace-using.exp: Add test for printing of namespaces
11153 imported into file scope.
11154 Marked test as xfail.
11155 * gdb.cp/namespace-using.cc (marker5): New function.
11156 * gdb.cp/shadow.exp: New test.
11157 * gdb.cp/shadow.cc: New test program.
11158 * gdb.cp/nsimport.exp: New test.
11159 * gdb.cp/nsimport.cc: New test program.
11160
11161 2010-01-25 Tom Tromey <tromey@redhat.com>
11162
11163 PR gdb/11049:
11164 * gdb.base/printcmds.exp (test_print_typedef_arrays): Add test
11165 with "set print null-stop on".
11166
11167 2010-01-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11168
11169 * gdb.arch/i386-bp_permanent.exp (Disassemble function '$function'):
11170 Adjust it for DISASSEMBLY_OMIT_FNAME.
11171
11172 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
11173
11174 PR symtab/11199:
11175 * gdb.dwarf2/member-ptr-forwardref.exp,
11176 gdb.dwarf2/member-ptr-forwardref.S: New.
11177
11178 2010-01-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11179
11180 * gdb.threads/watchthreads-reorder.c (gdbstop_mutex): Remove.
11181 (thread1_func): Protect thread1_tid with thread1_tid_cond by
11182 thread1_tid_mutex. Remove gdbstop_mutex handling.
11183 (thread2_func): Protect thread2_tid with thread2_tid_cond by
11184 thread2_tid_mutex. Remove gdbstop_mutex handling.
11185 (main): Move thread1_tid_mutex and thread2_tid_mutex locks before
11186 pthread_create. Remove gdbstop_mutex handling. New comment. Replace
11187 pthread_cond_wait conditionalizations by while loops.
11188
11189 2010-01-20 Tom Tromey <tromey@redhat.com>
11190
11191 PR backtrace/10770:
11192 * gdb.dwarf2/pr10770.exp: New file.
11193 * gdb.dwarf2/pr10770.c: New file.
11194 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add pr10770.
11195
11196 2010-01-20 Vladimir Prus <vladimir@codesourcery.com>
11197
11198 * gdb.mi/mi-async.exp: Remove check for 'async' target, because
11199 that target was removed, and the test always runs native anyway.
11200
11201 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11202
11203 * gdb.base/watchpoint-cond-gone.exp, gdb.base/watchpoint-cond-gone.c,
11204 gdb.base/watchpoint-cond-gone-stripped.c: New.
11205
11206 2010-01-19 Tom Tromey <tromey@redhat.com>
11207
11208 PR c++/8000:
11209 * gdb.cp/namespace.exp: Use new enum. Fix line numbers in
11210 existing tests.
11211 * gdb.cp/namespace.cc (AAA::SomeEnum): New enum.
11212 (main): Use AAA::SomeEnum.
11213
11214 2010-01-19 Jan Kratochvil <jan.kratochvil@redhat.com>
11215
11216 * gdb.mi/mi-break.exp (set line_callme_head, set line_callme_body): New.
11217 (test_ignore_count): Declare line_callme_body global.
11218 (run to breakpoint with ignore count): Use line_callme_body.
11219 * gdb.mi/mi-cli.exp (set line_main_head, set line_main_body)
11220 (set line_main_hello, set line_main_return): Reindent.
11221 (set line_callee4_head, set line_callee4_body, set line_callee4_next):
11222 New.
11223 (continue to callee4): Use line_callee4_body.
11224 (check *stopped from CLI command): Use line_callee4_next.
11225 * gdb.mi/mi2-cli.exp (set line_main_head, set line_main_body)
11226 (set line_main_hello, set line_main_return): Reindent.
11227 (set line_callee4_head, set line_callee4_body): New.
11228 (continue to callee4): Use line_callee4_body.
11229
11230 2010-01-18 Tom Tromey <tromey@redhat.com>
11231
11232 PR c++/9680:
11233 * gdb.cp/casts.cc: Add new classes and variables.
11234 * gdb.cp/casts.exp: Test new operators.
11235
11236 2010-01-18 Tom Tromey <tromey@redhat.com>
11237 Thiago Jung Bauermann <bauerman@br.ibm.com>
11238
11239 * gdb.python/source2.py: New file.
11240 * gdb.python/source1: New file.
11241 * gdb.python/python.exp: Test "source" command.
11242
11243 2010-01-15 Stan Shebs <stan@codesourcery.com>
11244
11245 * gdb.trace/tfile.c: New file.
11246 * gdb.trace/tfile.exp: New file.
11247
11248 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11249
11250 * gdb.base/pie-support.exp, gdb.base/pie-support.c: Remove.
11251
11252 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11253
11254 * gdb.base/valgrind-db-attach.exp, gdb.base/valgrind-db-attach.c: New.
11255
11256 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11257
11258 * gdb.base/break-interp-lib.c: Include unistd.h, assert.h and stdio.h.
11259 (libfunc): New parameter action. Implement also selectable "sleep".
11260 * gdb.base/break-interp-main.c: Include assert.h.
11261 (libfunc): New parameter action.
11262 (main): New parameters argc and argv. Assert argc. Pass argv.
11263 * gdb.base/break-interp.exp (test_core): Pass the "segv" argument.
11264 (test_attach): New proc.
11265 (test_ld): Pass new "segv" exec parameter. Call also test_attach.
11266 * lib/gdb.exp (core_find): New parameter arg. Pass it to $binfile.
11267
11268 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11269
11270 * gdb.base/break-interp.exp (test_core): New proc.
11271 (test_ld): Call it.
11272
11273 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11274
11275 * gdb.base/break-interp-main.c, gdb.base/break-interp-lib.c: New.
11276 * gdb.base/break-interp.exp: Exit on skip_shlib_tests. Change $srcfile.
11277 New variables $binfile_lib and $srcfile_lib. Call get_compiler_info
11278 and gdb_compile_shlib. Use new -Wl compiler options.
11279 (dl bt, main bt): New tests.
11280
11281 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11282
11283 Support PIEs with no symfile_objfile.
11284 * gdb.base/break-interp.exp: New argument at the test_ld calls.
11285 (test_ld): New parameter trynosym.
11286 (test_ld <$trynosym>): New block.
11287
11288 2010-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
11289
11290 * gdb.base/break-interp.exp: New file.
11291
11292 2010-01-13 Phil Muldoon <pmuldoon@redhat.com>
11293
11294 * gdb.python/py-value.exp (test_lazy_strings): Add lazy string test.
11295 * gdb.python/py-prettyprint.py (pp_ls): New printer.
11296 * gdb.python/py-prettyprint.exp (run_lang_tests): Add lazy string
11297 test.
11298 * gdb.python/py-prettyprint.c: Define lazystring test structure.
11299 * gdb.python/py-mi.exp: Add lazy string test.
11300
11301 2010-01-13 Vladimir Prus <vladimir@codesourcery.com>
11302
11303 * lib/mi-support.exp (mi_check_thread_states): Handle
11304 core number in thread listing.
11305
11306 2010-01-12 Joel Brobecker <brobecker@adacore.com>
11307
11308 * gdb.base/maint.exp: Adjust the expected output for the
11309 "maint print type" test. Use gdb_test_multiple instead of
11310 gdb_sent/gdb_expect.
11311
11312 2010-01-11 Doug Evans <dje@google.com>
11313
11314 * lib/gdbserver-support.exp (gdbserver_download_current_prog): Rename
11315 from gdbserver_download. All callers updated.
11316
11317 * gdb.server/ext-run.exp: "info os processes" requires xml support.
11318
11319 2010-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11320
11321 Implement binary numbers parsing.
11322 * gdb.base/printcmds.exp (test_integer_literals_accepted)
11323 (test_integer_literals_rejected): New binary tests.
11324
11325 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11326
11327 * gdb.cell/configure: Regenerate.
11328
11329 2010-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11330
11331 * gdb.base/corefile.exp: Move the core finding block out and call it as
11332 core_find, new variable $corefile, replace corefile by $corefile and
11333 [file tail $corefile] for usage vs. test names resp.
11334 * lib/gdb.exp (core_find): Move it as a new function here. New
11335 parameter binfile and deletefiles. New variable $destcore. Pre-delete
11336 $destcore. Return "" on error.
11337
11338 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11339
11340 Workaround PR binutils/10802.
11341 * lib/gdb.exp (gdb_gnu_strip_debug): Preserve the file attributes
11342 (twice).
11343
11344 2010-01-08 Daniel Jacobowitz <dan@codesourcery.com>
11345
11346 * gdb.cp/gdb2495.exp: Skip if gdb,nosignals.
11347
11348 2010-01-08 Joel Brobecker <brobecker@adacore.com>
11349
11350 * lib/gdb.exp (gdb_start_cmd): Move comment outside of gdb_expect
11351 call, to avoid interruption.
11352
11353 2010-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
11354
11355 * gdb.stabs/weird.def (args93): New.
11356
11357 2010-01-07 Doug Evans <dje@google.com>
11358
11359 * lib/gdb.exp (gdb_skip_xml_test): Add comment.
11360
11361 2010-01-07 Tom Tromey <tromey@redhat.com>
11362
11363 * gdb.base/source.exp: Use correct line number.
11364
11365 2010-01-05 Stan Shebs <stan@codesourcery.com>
11366
11367 * gdb.trace/tracecmd.exp: Test ftrace.
11368
11369 2010-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11370
11371 * gdb.xml/tdesc-regs.exp: Support s390*-*-* targets.
11372
11373 2010-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11374
11375 * gdb.mi/var-cmd.c (do_bitfield_tests): Change "V.sharable" type to
11376 "uint_for_mi_testing".
11377
11378 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11379
11380 Test indented comment in file being sourced.
11381 * gdb.base/commands.exp: Test indented comment in file being sourced.
11382
11383 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11384
11385 * gdb.fortran/array-element.f, gdb.fortran/complex.f,
11386 gdb.fortran/derived-type.f90, gdb.fortran/module.f90,
11387 gdb.fortran/subarray.f, gdb.mi/array.f: Update year in copyright
11388 notice.
11389
11390 2010-01-01 Joel Brobecker <brobecker@adacore.com>
11391
11392 * gdb.arch/gdb1291.s, gdb.arch/gdb1431.s: Update year in copyright
11393 notice.
11394
11395 2010-01-01 Jan Kratochvil <jan.kratochvil@redhat.com>
11396
11397 * lib/mi-support.exp (mi_expect_stop <stopped at wrong place>): Insert
11398 missing $after_stopped and comma (,) expectation.
11399
11400 2009-12-31 Stan Shebs <stan@codesourcery.com>
11401
11402 * gdb.trace/actions.exp: Test teval action.
11403
11404 2009-12-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
11405
11406 * gdb.base/watchpoint.exp (test_watchpoint_in_big_blob): New function.
11407 (top level): Call test_watchpoint_in_big_blob.
11408 * gdb.base/watchpoint.c (buf): Change size to value too big for hardware
11409 watchpoints.
11410 (func3): Write to buf.
11411
11412 2009-12-29 Stan Shebs <stan@codesourcery.com>
11413
11414 * gdb.trace/actions.exp: Test default-collect.
11415
11416 2009-12-28 Stan Shebs <stan@codesourcery.com>
11417
11418 * gdb.trace/tsv.exp: New file.
11419 * gdb.base/completion.exp: Update ambiguous info output.
11420
11421 2009-12-28 Daniel Jacobowitz <dan@codesourcery.com>
11422
11423 * gdb.base/find.c (main): Reference search buffers.
11424 * gdb.base/included.c (main): Reference integer.
11425 * gdb.base/ptype.c (charfoo): Declare.
11426 (intfoo): Call charfoo.
11427 * gdb.base/scope0.c (useitp): New function.
11428 (usestatics): Use useitp.
11429 (useit): Add a type for val.
11430 * gdb.base/scope1.c (useit1): Take a pointer argument.
11431 (usestatics1): Update calls to useit1.
11432 * gdb.cp/call-c.cc: Declare foo.
11433 (main): Call foo.
11434 * gdb.cp/m-static.cc (main): Reference test4.elsewhere.
11435 * gdb.cp/namespace.cc (ensureOtherRefs): Declare.
11436 (main): Call C::ensureRefs and ensureOtherRefs.
11437 * gdb.cp/namespace1.cc (C::ensureOtherRefs): Also reference int
11438 variables.
11439 (ensureOtherRefs): New function.
11440 * gdb.cp/overload.cc (main): Call all overloadNamespace variants.
11441 * gdb.cp/templates.cc (main): Call t5i.value.
11442
11443 2009-12-24 Jan Kratochvil <jan.kratochvil@redhat.com>
11444
11445 Fix compatibility with G++-4.5.
11446 * gdb.cp/expand-sals.cc (main): Remove the "exit-line" comment.
11447 * gdb.cp/expand-sals.exp: Remove breakpoint on "exit-line".
11448 (uncaught return): Remove.
11449
11450 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11451 Phil Muldoon <pmuldoon@redhat.com>
11452
11453 * gdb.base/condbreak.exp: Put breakpoint on marker3 and marker4.
11454 (bp_location13, bp_location14, bp_location17, bp_location18)
11455 (marker3_proto, marker4_proto): New variables.
11456 (breakpoint info): Update output.
11457 (run until breakpoint at marker3, run until breakpoint at marker4): New
11458 tests.
11459
11460 2009-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
11461
11462 * gdb.base/unload.c (main): Change the UNLOADSHR parameter to 1.
11463 Replace the printf call of Y by provided "y-set-1" label. New block
11464 for the second shared library.
11465 * gdb.base/unload.exp: Compile also the second library, call
11466 gdb_load_shlibs also for it. Use now gdb_breakpoint.
11467 (single pending breakpoint info): Rename to ...
11468 (pending breakpoint info before run): ... this extended test.
11469 (libfile2, libname2, libsrcfile2, libsrc2)
11470 (lib_sl2): New variables.
11471 (exec_opts): Set also SHLIB_NAME2.
11472 (pending breakpoint info on first run at shrfunc1)
11473 (pending breakpoint info on second run at shrfunc1)
11474 (pending breakpoint info on second run at shrfunc2)
11475 (print y from libfile, print y from libfile2): New tests.
11476 * gdb.base/unloadshr.c (shrfunc1): Change the returned value.
11477 * gdb.base/unloadshr2.c: New.
11478
11479 2009-12-22 Hui Zhu <teawater@gmail.com>
11480
11481 * gdb.reverse/sigall-reverse.exp: Adjust.
11482
11483 2009-12-21 Vladimir Prus <vladimir@codesourcery.com>
11484
11485 PR gdb/10884
11486
11487 * gdb.mi/var-cmd.c (do_bitfield_tests): New
11488 (main): Call do_bitfield_tests.
11489 * gdb.mi/mi-var-cmd.exp: Run the 'bitfield' testcase.
11490
11491 2009-12-20 Joel Brobecker <brobecker@adacore.com>
11492
11493 * Makefile.in gdb.ada/gnat_ada.gpr, gdb.base/gcore-buffer-overflow.c,
11494 gdb.base/gcore-buffer-overflow.exp, gdb.base/source-error.gdb,
11495 gdb.base/watch_thread_num.c, gdb.java/jprint.java,
11496 gdb.mi/mi-async.exp, gdb.modula2/unbounded-array.exp,
11497 gdb.modula2/unbounded1.c: Update copyright header.
11498
11499 2009-12-10 Chris Moller <moller@mollerware.com>
11500
11501 PR gdb/9399
11502 * gdb.cp/virtfunc2.exp: New tests
11503 * gdb.cp/virtfunc2.cc: New tests
11504 * gdb.cp/Makefile.in: Added tests to EXECUTABLES
11505
11506 2009-12-10 Oza Pawandeep (paawan1982@yahoo.com
11507
11508 * gdb.reverse/i387-env-reverse.c: New file.
11509 * gdb.reverse/i387-env-reverse.exp: New file.
11510 * gdb.reverse/i387-stack-reverse.c: New file.
11511 * gdb.reverse/i387-stack-reverse.exp: New file.
11512
11513 2009-12-08 Phil Muldoon <pmuldoon@redhat.com>
11514
11515 * gdb.python/py-type.exp (test_range): New test.
11516
11517 2009-12-03 Phil Muldoon <pmuldoon@redhat.com>
11518
11519 PR python/10805
11520
11521 * gdb.python/py-type.exp: New file.
11522 * gdb.python/py-type.c: New file.
11523 * Makefile.in: Add py-type.
11524
11525 2009-12-03 Tom Tromey <tromey@redhat.com>
11526
11527 * gdb.python/py-value.exp (test_parse_and_eval): New
11528 function.
11529
11530 2009-12-03 Paul Pluzhnikov <ppluzhnikov@google.com>
11531
11532 PR gdb/11022
11533
11534 * gdb.base/pr11022.exp: New test.
11535 * gdb.base/pr11022.c: New test.
11536
11537 2009-12-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11538
11539 Fix spurious false FAILs.
11540 * gdb.base/structs.c (chartest): New.
11541 (main): Fill-in chartest.
11542 * gdb.base/structs.exp (anychar_re, first): New.
11543 (start_structs_test): Import global anychar_re and first.
11544 New gdb_test call "set print elements 300; ${testfile}"
11545 (start_structs_test <$first>): New block.
11546 (any): Import global anychar_re. New variable ac. Use ${ac}.
11547
11548 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11549
11550 * gdb.base/bigcore.exp (extract_heap): Set $lim limit to 200.
11551
11552 2009-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
11553
11554 * gdb.base/foll-fork.exp (unpatch child, breakpoint at exit call):
11555 Force $srcfile file.
11556 * gdb.base/foll-fork.c (callee): Comment out the printf call.
11557
11558 2009-11-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11559
11560 * gdb.base/hbreak.exp: Disable for s390*-*-* targets.
11561 * gdb.base/watchpoint-hw-hit-once.exp: Likewise.
11562 * gdb.threads/watchthreads-reorder.exp: Likewise.
11563
11564 2009-11-24 Daniel Jacobowitz <dan@codesourcery.com>
11565
11566 PR gdb/8704
11567
11568 * gdb.base/condbreak.exp: Test combinations of "break *EXP",
11569 "if", and "thread". Correct matching in the previous test.
11570
11571 2009-11-25 Daniel Jacobowitz <dan@codesourcery.com>
11572
11573 * gdb.cp/extern-c.cc, gdb.cp/extern-c.exp: New test.
11574
11575 2009-11-23 Michael Snyder <msnyder@vmware.com>
11576
11577 * gdb.reverse/watch-reverse.exp: Extend test for hw watchpoints.
11578 * gdb.reverse-watch-precsave.exp: Ditto.
11579
11580 2009-11-23 Paul Pluzhnikov <ppluzhnikov@google.com>
11581
11582 * gdb.asm/asm-source.exp: Adjust.
11583 * gdb.base/help.exp: Adjust.
11584
11585 2009-11-22 Pedro Alves <pedro@codesourcery.com>
11586
11587 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir)
11588 (do_syscall_tests_without_xml): Set data-directory to
11589 /the/path/to/nowhere.
11590
11591 2009-11-21 Pedro Alves <pedro@codesourcery.com>
11592
11593 * gdb.threads/local-watch-wrong-thread.c,
11594 gdb.threads/local-watch-wrong-thread.exp: New files.
11595
11596 2009-11-21 Pedro Alves <pedro@codesourcery.com>
11597
11598 * gdb.cp/cplusfuncs.exp (info_func_regexp, print_addr): Don't
11599 assume new `regsub' syntax available.
11600
11601 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11602
11603 * gdb.base/watchpoint-hw-hit-once.exp,
11604 gdb.base/watchpoint-hw-hit-once.c: New.
11605
11606 2009-11-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11607
11608 * gdb.threads/watchthreads-reorder.exp,
11609 gdb.threads/watchthreads-reorder.c: New.
11610
11611 2009-11-17 Nathan Sidwell <nathan@codesourcery.com>
11612
11613 * gdb.xml/tdesc-regs.exp: Use for m68k.
11614
11615 2009-11-15 Pedro Alves <pedro@codesourcery.com>
11616
11617 * gdb.base/watch-vfork.c, gdb.base/watch-vfork.exp: New files.
11618
11619 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11620
11621 * lib/gdb.exp (current_target_name): New procedure.
11622 (gdb_wrapper_target): New variable.
11623 (gdb_wrapper_init): Set gdb_wrapper_target.
11624 (default_gdb_init): Check gdb_wrapper_target before rebuilding the
11625 wrapper.
11626
11627 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11628
11629 * gdb.base/remote.exp: Delete the slowest load test.
11630 Do not load with fixed packet sizes.
11631
11632 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11633
11634 * gdb.cp/virtfunc.exp (do_tests): If runto_main fails, give up.
11635
11636 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11637
11638 * gdb.base/freebpcmd.exp: Delete unused variable. Specify
11639 srcfile when setting a breakpoint.
11640
11641 2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
11642
11643 * gdb.base/find.c (int8_t, int16_t, int32_t, int64_t): Undefine
11644 macros.
11645
11646 2009-11-13 Daniel Jacobowitz <dan@codesourcery.com>
11647
11648 * gdb.cp/formatted-ref.exp (test_p_x_ref_addr): Allow the reference
11649 to be in memory.
11650 * gdb.base/display.c (force_mem): New.
11651 (do_loops): Use it. Add breakpoint comments.
11652 (do_vars): Add a breakpoint comment.
11653 * gdb.base/display.exp: Use gdb_get_line_number. Remove hardcoded
11654 line numbers.
11655
11656 2009-11-13 Nathan Froyd <froydnj@codesourcery.com>
11657
11658 * gdb.base/pending.exp: Use gdb_run_cmd to start the program
11659 instead of a bare "run".
11660
11661 2009-11-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11662
11663 * gdb.python/py-prettyprint.exp: Adjust.
11664
11665 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11666
11667 * lib/cell.exp (skip_cell_tests): Clean up test files before
11668 returning.
11669
11670 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11671
11672 * lib/gdb.exp (gdb_test_multiple): Handle "y or [n]", "[y] or n",
11673 and the breakpoint menu. Do not call perror if a prompt is seen.
11674 Consume the following GDB prompt.
11675 * gdb.cp/method2.exp (test_break): Use gdb_test_multiple.
11676 * gdb.cp/namespace.exp: Use gdb_test.
11677 * gdb.cp/templates.exp: Use gdb_test.
11678 (test_template_breakpoints): Use gdb_test_multiple.
11679
11680 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11681
11682 * gdb.base/break1.c (struct some_struct, values): Move earlier.
11683 (marker4): Reference values.
11684
11685 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11686
11687 * gdb.base/macscp.exp: Avoid the first FAIL if macro information
11688 is missing.
11689
11690 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11691
11692 * gdb.base/break.c (need_malloc): New.
11693 * gdb.base/constvars.c (main): Reference crass and crisp.
11694 * gdb.base/gdb1821.c (main): Reference bar.
11695 * gdb.cp/gdb1355.cc (main): Reference s1.
11696 * gdb.cp/hang1.cc (dummy2, dummy3): Declare.
11697 (main): Call them.
11698 * gdb.cp/hang2.cc (dummy2): Define.
11699 * gdb.cp/hang3.cc (dummy3): Define.
11700 * gdb.cp/m-data.cc (main): Reference shadow.
11701
11702 2009-11-12 Daniel Jacobowitz <dan@codesourcery.com>
11703 Nathan Froyd <froydnj@codesourcery.com>
11704
11705 * lib/gdb.exp (gdb_compile): Also set rpath for shlib=, on a
11706 remote host.
11707
11708 2009-11-12 Nathan Froyd <froydnj@codesourcery.com>
11709
11710 * gdb.base/step-line.exp: Copy step-line.inp to the remote host.
11711 * gdb.dwarf2/dw2-basic.exp: Copy file1.txt to the remote host.
11712 * gdb.dwarf2/dw2-compressed.exp: Likewise.
11713 * gdb.dwarf2/dw2-intercu.exp: Likewise.
11714 * gdb.dwarf2/dw2-intermix.exp: Likewise.
11715 * gdb.dwarf2/dw2-producer.exp: Likewise.
11716 * gdb.dwarf2/mac-fileno.exp: Likewise.
11717 * gdb.python/py-prettyprint.exp (run_lang_tests): Copy
11718 py-prettyprint.py to the remote host.
11719 * gdb.python/py-mi.exp: Copy py-mi.py to the remote host.
11720
11721 2009-11-11 Keith Seitz <keiths@redhat.com>
11722
11723 * gdb.cp/classes.cc (ByAnyOtherName): Add typedef and
11724 use it instead of "Foo".
11725 * gdb.cp/classes.exp (do_tests): Add a test to access
11726 a method through a typedef'd class name.
11727
11728 2009-11-11 Nathan Froyd <froydnj@codesourcery.com>
11729
11730 * gdb.base/long_long.exp: Permit leading zeros on floating-point
11731 exponents.
11732 * gdb.base/pointers.exp: Likewise.
11733 * gdb.cp/ref-types.exp: Likewise.
11734
11735 2009-11-11 Keith Seitz <keiths@redhat.com>
11736
11737 * gdb.cp/cplusfuncs.cc (class foo): Add operators
11738 new[] and delete[].
11739 * gdb.cp/cplusfuncs.exp (dm_type_void): Change to
11740 "void".
11741 (probe_demangler): Remove all single-quoting of
11742 method and variable names.
11743 (info_func_regexp): Remove the word "void" from any
11744 occurrence of "(void)".
11745 (print_addr_2): Remove all single-quoting of
11746 method names.
11747 (print_addr_2_kfail): Likewise.
11748 (print_addr): Single-quote C function names before
11749 passing to print_addr_2.
11750 (test_paddr_operator_functions): Remove single-quoting
11751 for method names.
11752 Add tests for operator new[] and operator delete[].
11753
11754 2009-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11755
11756 * gdb.dwarf2/dw2-ranges.exp: Call runto_main.
11757
11758 2009-11-09 Keith Seitz <keiths@redhat.com>
11759
11760 * gdb.cp/overload.exp: Add tests for resolving overloaded
11761 methods in expression parsing/evaluation.
11762
11763 2009-11-10 Daniel Jacobowitz <dan@codesourcery.com>
11764
11765 * lib/gdb.exp (default_gdb_version): Use --version instead of
11766 --command.
11767
11768 2009-11-10 Nathan Sidwell <nathan@codesourcery.com>
11769
11770 * lib/gdb.exp (gdb_compile_test): New.
11771 (skip_ada_tests, skip_java_tests): New.
11772 (gdb_compile): Use gdb_compile_test for f77.
11773 * lib/ada.exp (gdb_compile_ada): Use gdb_compile_test to record result.
11774 * lib/java.exp (compile_java_from_source): Remove runtests check,
11775 use gdb_compile_test to record result.
11776 * gdb.ada/packed_array.exp, gdb.ada/fixed_points.exp,
11777 gdb.ada/exec_changed.exp, gdb.ada/start.exp,
11778 gdb.ada/watch_arg.exp, gdb.ada/null_record.exp,
11779 gdb.ada/array_return.exp, gdb.ada/arrayidx.exp,
11780 gdb.mi/mi-var-child-f.exp, gdb.fortran/types.exp,
11781 gdb.fortran/array-element.exp, gdb.fortran/subarray.exp,
11782 gdb.fortran/derived-type.exp, gdb.fortran/exprs.exp,
11783 gdb.java/jmisc.exp, gdb.java/jmisc1.exp, gdb.java/jprint.exp,
11784 gdb.java/jv-print.exp, gdb.java/jmain.exp: Add language skip,
11785 adjust gdb_compile invocations.
11786
11787 2009-11-09 Jan Kratochvil <jan.kratochvil@redhat.com>
11788
11789 * Makefile.in (abs_builddir): New.
11790 (site.exp): New target `$(abs_builddir)/site.exp'. New comment.
11791 (check-single, $(TEST_TARGETS), check-gdb.base%): Change `site.exp' to
11792 `$(abs_builddir)/site.exp'.
11793
11794 2009-11-05 Daniel Jacobowitz <dan@codesourcery.com>
11795
11796 * config/m68k-emc.exp, lib/emc-support.exp,
11797 gdb.trace/gdb_c_test.c: Delete.
11798 * gdb.trace/actions.exp, gdb.trace/backtrace.exp, gdb.trace/circ.exp,
11799 gdb.trace/collection.exp, gdb.trace/deltrace.exp,
11800 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
11801 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
11802 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
11803 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp: Remove special
11804 casing for m68k-*-elf.
11805
11806 2009-11-03 Pedro Alves <pedro@codesourcery.com>
11807
11808 * gdb.arch/i386-gnu-cfi.exp: Define SYMBOL_PREFIX on *-*-mingw*.
11809 * gdb.arch/i386-prologue.exp: Likewise.
11810 * gdb.arch/i386-unwind.exp: Likewise.
11811
11812 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11813
11814 * lib/gdb.exp (gdb_expect): Fix timeout typo.
11815
11816 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11817
11818 * gdb.base/opaque.exp: Remove duplicate tests and xyz from test name.
11819
11820 2009-11-02 Daniel Jacobowitz <dan@codesourcery.com>
11821
11822 * gdb.cp/ctti.exp: Correct return values for unsigned char functions.
11823
11824 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11825
11826 * gdb.base/sepdebug.exp: New test_different_dir call for multiple-dirs.
11827
11828 2009-11-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11829
11830 * gdb.base/sepdebug.exp (CRC mismatch is reported): New test.
11831 * gdb.base/sepdebug2.c: New file.
11832
11833 2009-10-31 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
11834
11835 * gdb.base/catch-syscall.exp: Adapt the testcase in order to accept
11836 the modified warnings for catch syscall. Verify if GDB was compiled
11837 with support for lib expat, and choose which tests to run depending
11838 on this.
11839
11840 2009-10-30 Vladimir Prus <vladimir@codesourcery.com>
11841
11842 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test
11843 that composite commands are parsed OK. And also test
11844 that breakpoint commands do work.
11845
11846 2009-10-23 Michael Snyder <msnyder@vmware.com>
11847
11848 gdb.reverse/consecutive-precsave.exp: Change expect pattern
11849 to allow for new disassembly style.
11850
11851 2009-10-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11852
11853 * gdb.asm/asm-source.exp: Adjust.
11854
11855 2009-10-22 Michael Snyder <msnyder@vmware.com>
11856
11857 * gdb.reverse/break-precsave.exp: New test.
11858 * gdb.reverse/consecutive-precsave.exp: Ditto.
11859 * gdb.reverse/finish-precsave.exp: Ditto.
11860 * gdb.reverse/i386-precsave.exp: Ditto.
11861 * gdb.reverse/machinestate-precsave.exp: Ditto.
11862 * gdb.reverse/sigall-precsave.exp: Ditto.
11863 * gdb.reverse/solilb-precsave.exp: Ditto.
11864 * gdb.reverse/step-precsave.exp: Ditto.
11865 * gdb.reverse/until-precsave.exp: Ditto.
11866 * gdb.reverse/watch-precsave.exp: Ditto.
11867
11868 2009-10-22 Michael Snyder <msnyder@vmware.com>
11869
11870 * gdb.reverse/consecutive-reverse.exp: Substitute gdb_test_multiple
11871 for gdb_expect. Adjust one test's expect strings for the new
11872 format of disassemble.
11873 * gdb.reverse/finish-reverse.exp: Delete 'return'.
11874 * gdb.reverse/sigall-reverse.exp: Substitute gdb_test for
11875 gdb_test_multiple.
11876 * gdb.reverse/step-reverse.exp: Delete 'return'.
11877 * gdb.reverse/until-reverse.exp: Delete blank lines.
11878 * gdb.reverse/watch-reverse.exp: Delete blank lines.
11879
11880 2009-10-21 Paul Pluzhnikov <ppluzhnikov@google.com>
11881
11882 * gdb.base/consecutive.exp: Adjust.
11883 * gdb.base/display.exp: Likewise.
11884 * gdb.base/pc-fp.exp: Likewise.
11885 * gdb.base/sigbpt.exp: Likewise.
11886
11887 2009-10-19 Michael Snyder <msnyder@vmware.com>
11888
11889 * gdb.reverse/consecutive-reverse.c: Add comment at end of main.
11890 * gdb.reverse/finish-reverse.c: Ditto.
11891 * gdb.reverse/sigall-reverse.c: Ditto.
11892 * gdb.reverse/solib-reverse.c: Ditto.
11893 * gdb.reverse/step-reverse.c: Ditto.
11894 * gdb.reverse/watch-reverse.c: Ditto.
11895
11896 2009-10-19 Pedro Alves <pedro@codesourcery.com>
11897 Stan Shebs <stan@codesourcery.com>
11898
11899 * gdb.base/foll-vfork.exp: Adjust to spell out "follow-fork".
11900 * gdb.base/foll-exec.exp: Adjust to expect a process id before
11901 "Executing new program".
11902 * gdb.base/foll-fork.exp: Adjust to spell out "follow-fork".
11903 * gdb.base/multi-forks.exp: Ditto. Adjust to the inferior being
11904 left listed after having been killed.
11905 * gdb.base/attach.exp: Adjust to spell out "symbol-file".
11906 * gdb.base/maint.exp: Adjust test.
11907
11908 * Makefile.in (ALL_SUBDIRS): Add gdb.multi.
11909 * gdb.multi/Makefile.in: New.
11910 * gdb.multi/base.exp: New.
11911 * gdb.multi/goodbye.c: New.
11912 * gdb.multi/hangout.c: New.
11913 * gdb.multi/hello.c: New.
11914 * gdb.multi/bkpt-multi-exec.c: New.
11915 * gdb.multi/bkpt-multi-exec.exp: New.
11916 * gdb.multi/crashme.c: New.
11917
11918 2009-10-13 Tristan Gingold <gingold@adacore.com>
11919
11920 * gdb.base/sepdebug.exp: Check debug info are found.
11921
11922 2009-10-08 Pedro Alves <pedro@codesourcery.com>
11923
11924 * lib/gdb.exp (gdb_compile): Remove dead aix and irix related
11925 bits.
11926
11927 2009-10-07 Jan Kratochvil <jan.kratochvil@redhat.com>
11928
11929 * gdb.base/hbreak.exp, gdb.base/hbreak.c: New.
11930
11931 2009-10-07 Joel Brobecker <brobecker@adacore.com>
11932
11933 * gdb.base/watchpoints.c: Add copyright header. Reformat one
11934 of the comments.
11935
11936 2009-10-06 Pierre Muller <muller@ics.u-strasbg.fr>
11937
11938 * gdb.base/annota1.exp: Remove obsolete match_max increase.
11939 * gdb.base/annota3.exp: Idem.
11940 * gdb.base/maint.exp: Idem.
11941
11942 2009-10-05 Pierre Muller <muller@ics.u-strasbg.fr>
11943
11944 * lib/gdb.exp (default_gdb_init): Set current value of match_max
11945 to default.
11946
11947 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11948
11949 * lib/gdb.exp (gdb_compile): Add --enable-auto-import option for
11950 mingw and cygwin targets.
11951
11952 2009-10-02 Pierre Muller <muller@ics.u-strasbg.fr>
11953 Pedro Alves <pedro@codesourcery.com>
11954
11955 * lib/gdb.exp (gdb_compile): Avoid adding
11956 gdb_saved_unbuffered_mode_obj if -nostdlib option is used.
11957
11958 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
11959
11960 * gdb.base/shr1.c: Use %p in format string.
11961 * gdb.base/unload.c: Avoid warning in fprintf.
11962 * gdb.base/watchpoint-solib.c: Idem.
11963
11964 2009-10-01 Pierre Muller <muller@ics.u-strasbg.fr>
11965
11966 * gdb.base/fileio.c (test_lseek): typecast ofs_t ret variable to
11967 long type.
11968 (test_unlink): Correct printf string.
11969 * gdb.base/checkpoint.c (main): Correct fprintf string for variable i.
11970 * gdb.threads/attachstop-mt.c: Add #include <string.h>.
11971
11972 2009-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
11973
11974 * gdb.base/breakpoint-shadow.exp: Move the ia64 part into ...
11975 * gdb.arch/ia64-breakpoint-shadow.exp: ... a new file, with new tests.
11976 * gdb.arch/ia64-breakpoint-shadow.S: New file.
11977
11978 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11979
11980 * gdb.objc/basicclass.exp: Disable pending breakpoint query.
11981 * gdb.objc/nondebug.exp: Likewise.
11982
11983 2009-09-29 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11984
11985 * gdb.base/watchpoints.exp: Respect gdb,no_hardware_watchpoints
11986 target_info setting.
11987
11988 * gdb.threads/thread-specific.exp (get_thread_list): Support targets
11989 that detect new threads during "info threads".
11990
11991 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11992
11993 * gdb.threads/manythreads.c (main): Increase thread stack size
11994 to 2*PTHREAD_STACK_MIN.
11995 * gdb.threads/multi-create.c (main): Likewise.
11996 (create_function): Likewise.
11997
11998 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
11999
12000 * gdb.base/dump.exp: Pass difference of pointer types instead
12001 of integer types as offset to restore in intarr3.srec case.
12002
12003 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12004
12005 * gdb.cp/gdb2495.exp: Skip test on spu*-*-*.
12006
12007 2009-09-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12008
12009 * gdb.base/pie-support.exp: Pass "quiet" flag to gdb_compile.
12010
12011 2009-09-26 Pierre Muller <muller@ics.u-strasbg.fr>
12012
12013 New test for two watchpoints, with disabling of
12014 the first inserted.
12015 * testsuite/gdb.base/watchpoints.c: New file.
12016 * testsuite/gdb.base/watchpoints.exp: New file.
12017
12018 2009-09-25 Tom Tromey <tromey@redhat.com>
12019
12020 * gdb.base/charset.exp: Test utf-16 strings with Python.
12021
12022 2009-09-25 Tom Tromey <tromey@redhat.com>
12023
12024 * gdb.base/charset.exp: Use UTF-16 and UTF-32, not UCS-2 and
12025 UCS-4.
12026 * gdb.base/charset.c (utf_32_string): Rename.
12027 (init_utf32): Rename.
12028 (main): Update.
12029
12030 2009-09-22 Tom Tromey <tromey@redhat.com>
12031
12032 * gdb.python/py-function.exp: Add regression tests.
12033
12034 2009-09-21 Keith Seitz <keiths@redhat.com>
12035
12036 * gdb.cp/cplusfuncs.exp (do_tests): Add check for proper error message
12037 with invalid operator.
12038
12039 2009-09-21 Keith Seitz <keiths@redhat.com>
12040
12041 * gdb.cp/classes.exp (do_tests): Add tests to print a constructor
12042 and destructor using typedef name of class.
12043 * gdb.cp/classes.cc (class Base1): Add a destructor.
12044 (base1): New typedef.
12045 (use_methods): Instanitate an object of type base1.
12046 * gdb.cp/templates.exp (test_template_typedef): New procedure.
12047 (do_tests): Call test_template_typedef.
12048 * gdb.cp/templates.cc (Baz::~Baz): New method.
12049 (intBazOne): New typedef.
12050 (main): Instantiate intBazOne.
12051
12052 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12053
12054 PR python/10633
12055
12056 * gdb.python/py-prettyprint.exp (gdb_py_test_silent_cmd): New
12057 Function.
12058 (run_lang_tests): Add print elements test.
12059
12060 2009-09-21 Phil Muldoon <pmuldoon@redhat.com>
12061
12062 * gdb.python/py-value.exp (test_subscript_regression): New
12063 function. Test for invalid subscripts.
12064 * gdb.python/py-value.c (main): Add test array, and pointer to it.
12065 (ptr_ref): New function.
12066
12067 2009-09-17 Paul Pluzhnikov <ppluzhnikov@google.com>
12068
12069 * gdb.base/default.exp: Fix "show convenience".
12070
12071 2009-09-15 Tom Tromey <tromey@redhat.com>
12072
12073 * lib/mi-support.exp (mi_create_varobj): Update.
12074 (mi_create_floating_varobj): Likewise.
12075 (mi_create_dynamic_varobj): New proc.
12076 (mi_varobj_update): Update.
12077 (mi_varobj_update_with_type_change): Likewise.
12078 (mi_varobj_update_kv_helper): New proc.
12079 (mi_varobj_update_dynamic_helper): Rewrite.
12080 (mi_varobj_update_dynamic): New proc.
12081 (mi_list_varobj_children): Update.
12082 (mi_list_varobj_children_range): Add 'from' and 'to' arguments.
12083 * gdb.python/python-prettyprint.py (pp_outer): New class.
12084 (pp_nullstr): Likewise.
12085 (lookup_function): Register new printers.
12086 * gdb.python/python-prettyprint.c (struct substruct): New type.
12087 (struct outerstruct): Likewise.
12088 (substruct_test): New function.
12089 (struct nullstr): New type.
12090 (string_1, string_2): New globals.
12091 (main): Add new tests.
12092 * gdb.python/python-mi.exp: Added regression tests.
12093 * gdb.mi/mi2-var-display.exp: Update.
12094 * gdb.mi/mi2-var-cmd.exp: Update.
12095 * gdb.mi/mi2-var-child.exp: Update.
12096 * gdb.mi/mi2-var-block.exp: Update.
12097 * gdb.mi/mi-var-invalidate.exp: Update.
12098 * gdb.mi/mi-var-display.exp: Update.
12099 * gdb.mi/mi-var-cmd.exp: Update.
12100 * gdb.mi/mi-var-child.exp: Update.
12101 * gdb.mi/mi-var-block.exp: Update.
12102 * gdb.mi/mi-break.exp: Update.
12103 * gdb.mi/gdb701.exp: Update.
12104
12105 2009-09-14 Sergio Durigan Junior <sergiodj@linux.vnet.ibm.com>
12106
12107 * Makefile.in: Inclusion of catch-syscall object.
12108 * gdb.base/catch-syscall.c: New file.
12109 * gdb.base/catch-syscall.exp: New file.
12110
12111 2009-09-12 Michael Snyder <msnyder@vmware.com>
12112
12113 * gdb.reverse/step-reverse.exp: Explicitly check for targets
12114 that can support reverse debuggnig.
12115
12116 2009-09-11 Tom Tromey <tromey@redhat.com>
12117
12118 * gdb.dwarf2/valop.S: New file.
12119 * gdb.dwarf2/valop.exp: New file.
12120
12121 2009-09-11 Mark Kettenis <kettenis@gnu.org>
12122
12123 * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
12124
12125 2009-09-10 Doug Evans <dje@google.com>
12126
12127 * gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
12128 Add $gdb_prompt to second breakpoint regexp.
12129
12130 2009-09-08 Thiago Jung Bauermann <thiago.bauermann@gmail.com>
12131
12132 * gdb.python/Makefile.in (EXECUTABLES): Adjust to new executable
12133 names, add missing ones.
12134 * gdb.python/py-cmd.exp: Rename from python-cmd.exp.
12135 * gdb.python/py-frame.c: Rename from python-frame.c.
12136 * gdb.python/py-frame.exp: Rename from python-frame.exp. Adjust
12137 testfile name.
12138 * gdb.python/py-function.exp: Rename from python-function.exp.
12139 * gdb.python/py-mi.exp: Rename from python-mi.exp. Adjust
12140 testfile name.
12141 * gdb.python/py-prettyprint.c: Rename from python-prettyprint.c.
12142 * gdb.python/py-prettyprint.exp: Rename from python-prettyprint.exp.
12143 Adjust testfile name.
12144 * gdb.python/py-prettyprint.py: Rename from python-prettyprint.py.
12145 * gdb.python/py-template.cc: Rename from python-template.cc.
12146 * gdb.python/py-template.exp: Rename from python-template.exp.
12147 Adjust testfile name.
12148 * gdb.python/py-value.c: Rename from python-value.c.
12149 * gdb.python/py-value.exp: Rename from python-value.exp. Adjust
12150 testfile name.
12151
12152 2009-09-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12153
12154 * gdb.base/breakpoint-shadow.exp (Second breakpoint placed): Initialize
12155 $bpt2address.
12156 (Second breakpoint address is valid on ia64)
12157 (Third breakpoint on ia64 in the Second breakpoint's bundle): New.
12158
12159 2009-09-03 Joseph Myers <joseph@codesourcery.com>
12160
12161 * gdb.base/ending-run.exp: Restrict regular expression matching
12162 line number to require closing brace following.
12163
12164 2009-09-03 Doug Evans <dje@google.com>
12165
12166 * gdb.base/store.exp (check_set): Fix typo in expected value message.
12167
12168 2009-09-02 Tom Tromey <tromey@redhat.com>
12169
12170 * gdb.dwarf2/callframecfa.exp: Use gdb_continue_to_breakpoint.
12171
12172 2009-09-02 Tom Tromey <tromey@redhat.com>
12173
12174 * gdb.dwarf2/callframecfa.exp: New file.
12175 * gdb.dwarf2/callframecfa.S: New file.
12176
12177 2009-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12178
12179 * gdb.base/solib-overlap.exp, gdb.base/solib-overlap-lib.c,
12180 gdb.base/solib-overlap-main.c: New.
12181
12182 2009-08-28 Daniel Jacobowitz <dan@codesourcery.com>
12183
12184 PR gdb/10565
12185
12186 * gdb.base/bitfields.c (struct container, container): New.
12187 (main): Initialize it and call break5.
12188 * gdb.base/bitfields.exp (bitfield_at_offset): New test.
12189
12190 2009-08-28 Jan Kratochvil <jan.kratochvil@redhat.com>
12191
12192 Support constant DW_AT_data_member_location by GCC PR debug/40659.
12193 * gdb.dwarf2/dw2-inheritance.exp, gdb.dwarf2/dw2-inheritance.S: New.
12194
12195 2009-08-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12196
12197 * gdb.mi/mi2-var-cmd.exp (create variable with invalid FRAME-ADDR): New.
12198
12199 2009-08-26 Michael Snyder <msnyder@vmware.com>
12200
12201 * gdb.base/i386-reverse.c: New file.
12202 * gdb.base/i386-reverse.exp: New file.
12203 * gdb.base/Makefile.in: Add new files to be removed.
12204
12205 2009-08-26 Joseph Myers <joseph@codesourcery.com>
12206
12207 * gdb.mi/mi-basics.exp (test_cwd_specification): Do not test
12208 environment-pwd for remote host.
12209 * gdb.mi/mi2-basics.exp (test_cwd_specification): Likewise.
12210
12211 2009-08-24 Keith Seitz <keiths@redhat.com>
12212
12213 * gdb.cp/cpcompletion.exp (test_class_complete): New procedure.
12214 Add two new C++ completer tests which limit the output to a
12215 given class.
12216
12217 2009-08-24 Michael Snyder <msnyder@vmware.com>
12218
12219 * gdb.base/del.exp: Fix typo in comment.
12220 * gdb.base/step-bt.exp: Fix cut and paste error in comment.
12221
12222 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
12223
12224 * configure: Regenerate.
12225 * gdb.hp/configure: Likewise.
12226 * gdb.hp/gdb.aCC/configure: Likewise.
12227 * gdb.hp/gdb.base-hp/configure: Likewise.
12228 * gdb.hp/gdb.compat/configure: Likewise.
12229 * gdb.hp/gdb.defects/configure: Likewise.
12230 * gdb.hp/gdb.objdbg/configure: Likewise.
12231 * gdb.stabs/configure: Likewise.
12232
12233 2009-08-19 Doug Evans <dje@google.com>
12234
12235 * gdb.base/gdbvars.c: New file.
12236 * gdb.base/gdbvars.exp: Test convenience vars with program variables.
12237
12238 2009-08-14 Pedro Alves <pedro@codesourcery.com>
12239
12240 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
12241 gdb.threads/staticthreads.exp: Adjust to "quit" output changes.
12242
12243 2009-08-13 Pedro Alves <pedro@codesourcery.com>
12244
12245 * gdb.base/default.exp: Adjust "set language test": it's now an
12246 enum command. Larger help string moved to "help set language".
12247 * gdb.base/help.exp: Adjust "help set language" expected output,
12248 now lists all known languages.
12249
12250 2009-08-11 Nathan Froyd <froydnj@codesourcery.com>
12251
12252 * gdb.arch/altivec-abi.exp (altivec_abi_tests): Turn on printing of
12253 all frame arguments.
12254 * gdb.arch/altivec-regs.exp: Likewise.
12255
12256 2009-08-07 Tom Tromey <tromey@redhat.com>
12257
12258 * gdb.base/setshow.exp: Add tests for changes to set language, set
12259 check range, and set check type.
12260
12261 2009-08-03 Vladimir Prus <vladimir@codesourcery.com>
12262
12263 * lib/mi-support.exp (mi_list_breakpoints): Make it work.
12264 * gdb.mi/mi-break.exp (test_breakpoint_commands): New.
12265 Call it.
12266
12267 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12268
12269 * configure.ac: Run gdb.cell tests when appropriate.
12270 * configure: Regenerate.
12271 * lib/cell.exp: New file.
12272 * gdb.cell: New directory.
12273 * gdb.cell/configure.ac: New file.
12274 * gdb.cell/configure: New file.
12275 * gdb.cell/Makefile.in: New file.
12276 * gdb.cell/arch.exp: New file.
12277 * gdb.cell/break.c: New file.
12278 * gdb.cell/break.exp: New file.
12279 * gdb.cell/break-spu.c: New file.
12280 * gdb.cell/bt.c: New file.
12281 * gdb.cell/bt2-spu.c: New file.
12282 * gdb.cell/bt-spu.c: New file.
12283 * gdb.cell/bt.exp: New file.
12284 * gdb.cell/coremaker.c: New file.
12285 * gdb.cell/coremaker-spu.c: New file.
12286 * gdb.cell/core.exp: New file.
12287 * gdb.cell/gcore.exp: New file.
12288 * gdb.cell/data.c: New file.
12289 * gdb.cell/data.exp: New file.
12290 * gdb.cell/data-spu.c: New file.
12291 * gdb.cell/ea-cache.exp: New file.
12292 * gdb.cell/ea-cache.c: New file.
12293 * gdb.cell/ea-cache-spu.c: New file.
12294 * gdb.cell/ea-standalone.c: New file.
12295 * gdb.cell/ea-standalone.exp: New file.
12296 * gdb.cell/ea-test.c: New file.
12297 * gdb.cell/ea-test.exp: New file.
12298 * gdb.cell/f-regs.exp: New file.
12299 * gdb.cell/mem-access.c: New file.
12300 * gdb.cell/mem-access.exp: New file.
12301 * gdb.cell/mem-access-spu.c: New file.
12302 * gdb.cell/ptype.exp: New file.
12303 * gdb.cell/registers.exp: New file.
12304 * gdb.cell/size.c: New file.
12305 * gdb.cell/sizeof.exp: New file.
12306 * gdb.cell/size-spu.c: New file.
12307 * gdb.cell/solib.exp: New file.
12308 * gdb.cell/solib-symbol.exp: New file.
12309
12310 2009-07-31 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12311
12312 * gdb.xml/tdesc-regs.exp: Skip for SPU targets.
12313
12314 2009-07-28 Daniel Jacobowitz <dan@codesourcery.com>
12315
12316 * gdb.base/float.exp: Handle VFP registers.
12317
12318 2009-07-14 Michael Snyder <msnyder@vmware.com>
12319
12320 * gdb.reverse/finish-reverse.exp: Do not expect reverse-finish
12321 to bring gdb to the beginning of the calling line.
12322
12323 * gdb.arch/i386-signal.c (sigframe): Add a nop to avoid
12324 confusing the i386 epilogue unwinder.
12325
12326 2009-07-14 Stan Shebs <stan@codesourcery.com>
12327
12328 * gdb.trace/tracecmd.exp: Add basic test of tracepoint conditions.
12329
12330 2009-07-14 Michael Snyder <msnyder@vmware.com>
12331
12332 * gdb.reverse/step-reverse.exp (stepi into function call):
12333 Call instruction may not be first instruction in the line.
12334 (reverse stepi from a function call): Used wrong line number.
12335
12336 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12337
12338 * gdb.arch/amd64-i386-address.exp, gdb.arch/amd64-i386-address.S: New.
12339
12340 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12341
12342 Fix gdb.base/macscp.exp when using custom inputrc.
12343 * gdb.base/completion.exp: Remove env(INPUTRC) set and restore.
12344 * gdb.base/readline.exp: Remove env(INPUTRC) set and restore. Remove
12345 env(TERM) set.
12346 * gdb.cp/cpcompletion.exp: Remove env(INPUTRC) set.
12347 * lib/gdb.exp (default_gdb_start): Add env(INPUTRC) and env(TERM) set.
12348
12349 2009-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
12350
12351 Fix racy clashing of output files for gdb.base{1,2}/ parallel run.
12352 * gdb.base/annota1.exp (thread_test): Import global $testfile.
12353 Change the compilation target to match the testcase name.
12354 * gdb.base/sect-cmd.exp: Change the compilation target to match the
12355 testcase name.
12356 * a2-run.exp: Use for setup prepare_for_testing. Change the
12357 compilation target to match the testcase name.
12358 * gdb.base/commands.exp: Likewise.
12359 * gdb.base/finish.exp: Likewise.
12360 * gdb.base/float.exp: Likewise.
12361 * gdb.base/info-target.exp: Likewise.
12362 * gdb.base/relational.exp: Likewise.
12363 * gdb.base/term.exp: Likewise.
12364 * gdb.base/until.exp: Likewise.
12365 * gdb.base/volatile.exp: Likewise.
12366 * gdb.base/whatis-exp.exp: Likewise.
12367
12368 2009-07-11 Hui Zhu <teawater@gmail.com>
12369
12370 * gdb.base/help.exp (disassemble): Update expected help text.
12371
12372 2009-07-09 Tom Tromey <tromey@redhat.com>
12373
12374 * lib/gdb.exp: Handle TRANSCRIPT.
12375 (remote_spawn, remote_close, send_gdb): New procs.
12376
12377 2009-07-10 Phil Muldoon <pmuldoon@redhat.com>
12378
12379 * gdb.python/python-prettyprint.c: Add counted null string
12380 structure.
12381 * gdb.python/python-prettyprint.exp: Print null string. Test for
12382 embedded nulls.
12383 * gdb.python/python-prettyprint.py (pp_ns): New Function.
12384 * gdb.python/python-value.exp (test_value_in_inferior): Add
12385 variable length string fetch tests.
12386 * gdb.python/python-value.c (main): Add strings for string fetch tests.
12387
12388 2009-07-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12389
12390 * gdb.base/dump.exp (inaccessible memory is reported): New test.
12391
12392 2009-07-07 Tom Tromey <tromey@redhat.com>
12393
12394 * gdb.base/call-rt-st.exp: Update for change to escape output.
12395 * gdb.base/callfuncs.exp: Likewise.
12396 * gdb.base/charset.exp: Likewise.
12397 * gdb.base/constvars.exp: Likewise.
12398 * gdb.base/long_long.exp: Likewise.
12399 * gdb.base/pointers.exp: Likewise.
12400 * gdb.base/printcmds.exp: Likewise.
12401 * gdb.base/setvar.exp: Likewise.
12402 * gdb.base/store.exp: Likewise.
12403 * gdb.cp/ref-types.exp: Likewise.
12404 * gdb.mi/mi-var-child.exp: Likewise.
12405 * gdb.mi/mi-var-display.exp: Likewise.
12406 * gdb.mi/mi2-var-display.exp: Likewise.
12407 * gdb.base/charset.exp: Test octal escape sequence length.
12408 Update for change to escape output.
12409
12410 2009-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
12411
12412 * gdb.mi/mi2-var-cmd.exp (floating varobj invalidation): New test.
12413
12414 2009-07-06 Daniel Jacobowitz <dan@codesourcery.com>
12415
12416 * lib/java.exp (java_init): Ignore $GCJ if it is empty.
12417
12418 2009-07-06 Jan Kratochvil <jan.kratochvil@redhat.com>
12419
12420 * lib/gdbserver-support.exp (gdbserver_start): Loop spawning
12421 gdbserver increasing $portnum if "Can't bind address" has been seen.
12422
12423 2009-07-05 Pedro Alves <pedro@codesourcery.com>
12424
12425 * gdb.base/ending-run.exp: Add "step out of main" pattern for
12426 mingw32ce.
12427
12428 2009-07-05 Pedro Alves <pedro@codesourcery.com>
12429
12430 * gdb.base/long_long.exp: arm-mingw32ce defaults to natural-endian
12431 VFP format.
12432
12433 2009-07-02 Pedro Alves <pedro@codesourcery.com>
12434
12435 * gdb.base/multi-forks.exp: Only run detach-on-fork tests on
12436 linux. Adjust to use "inferior", "info inferiors", "detach
12437 inferior" and "kill inferior" instead of "restart", "info fork",
12438 "detach fork" and "delete fork".
12439 * gdb.base/ending-run.exp: Spell out "info".
12440 * gdb.base/help.exp: Adjust to use test_prefix_command_help for
12441 the "kill" command.
12442
12443 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12444
12445 * gdb.threads/tls-shared.exp: Update to locexpr_describe_location
12446 change to prefix TLS offset in hex with 0x.
12447
12448 2009-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12449
12450 * gdb.base/default.exp: Update test case for "x" changes.
12451
12452 2009-07-01 Tristan Gingold <gingold@adacore.com>
12453
12454 * gdb.base/bigcore.exp: Make darwin untested.
12455
12456 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12457
12458 * gdb.base/completion.exp (directory completion): Create the directory.
12459 New variables uniquedir, escapeduniquedir, uniquesu, uniquesub,
12460 escapeuniquesub.
12461 (directory completion 2): Expect now ${escapeuniquesub}.
12462 (Glob remaining of directory test): Remove one excessive newline.
12463 Expect the real output.
12464
12465 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12466
12467 Fix `make check//%' target after `make check' has been ran.
12468 * Makefile.in (TEST_TARGETS): Remove the %/.dir dependency. Add
12469 a mkdir call.
12470 (check-gdb.base%): Remove the gdb.base%/.dir dependency.
12471 (%/.dir): Remove.
12472
12473 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12474
12475 * lib/mi-support.exp (mi_check_thread_states): Permit any output before
12476 the expected result record.
12477
12478 2009-06-30 Jan Kratochvil <jan.kratochvil@redhat.com>
12479
12480 Remove racy FAILs relying just on the timeouts.
12481 * gdb.base/setshow.exp (set annotate 2, show annotate (2))
12482 (annotation_level 2): Remove racy FAILs.
12483
12484 2009-06-30 Paul Pluzhnikov <ppluzhnikov@google.com>
12485
12486 gdb/10275
12487 * gdb.dwarf2/dw2-restore.{S,exp}: New test.
12488
12489 2009-06-30 Daniel Jacobowitz <dan@codesourcery.com>
12490
12491 * gdb.opt/inline-locals.exp: Remove XFAIL with duplicated arg1.
12492
12493 2009-06-30 Vladimir Prus <vladimir@codesourcery.com>
12494
12495 * gdb.mi/mi-stack.exp: Testing symbolic options
12496 to -stack-list-locals and -stack-list-arguments.
12497
12498 2009-06-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12499
12500 * gdb.threads/current-lwp-dead.exp, gdb.threads/current-lwp-dead.c: New.
12501
12502 2009-06-29 Tom Tromey <tromey@redhat.com>
12503
12504 * dg-extract-results.sh: New file.
12505 * Makefile.in (FORCE_PARALLEL): New variable.
12506 (CHECK_TARGET): New conditional variable.
12507 (check): Use CHECK_TARGET.
12508 (DO_RUNTEST): New variable.
12509 (check-single): New target.
12510 (TEST_DIRS): New variable.
12511 (TEST_TARGETS): Likewise.
12512 (check-parallel): New target.
12513 (check-gdb.%): New pattern.
12514 (BASE1_FILES): New variable.
12515 (BASE2_FILES): Likewise.
12516 (check-gdb.base%): New pattern.
12517 (%/.dir): New pattern.
12518 * configure: Rebuild.
12519 * aclocal.m4 (AM_CONDITIONAL): New defun.
12520 * configure.ac: Check whether user is using GNU make.
12521 (GMAKE): New conditional.
12522
12523 2009-06-29 Sami Wagiaalla <swagiaal@redhat.com>
12524
12525 * gdb.cp/namespace-nested-import.cc: New test.
12526 * gdb.cp/namespace-nested-import.exp: New test.
12527
12528 2009-06-27 Daniel Jacobowitz <dan@codesourcery.com>
12529
12530 * gdb.base/break.exp: Add an XFAIL for gcc/36748.
12531 * gdb.cp/annota2.exp: Accept frames-invalid in more places.
12532 * gdb.opt/Makefile.in (EXECUTABLES): Update.
12533 * gdb.opt/clobbered-registers-O2.exp: Update to GPL v3.
12534 * gdb.opt/inline-bt.c, gdb.opt/inline-bt.exp,
12535 gdb.opt/inline-cmds.c, gdb.opt/inline-cmds.exp,
12536 gdb.opt/inline-locals.c, gdb.opt/inline-locals.exp,
12537 gdb.opt/inline-markers.c: New files.
12538 * lib/gdb.exp (skip_inline_frame_tests): New function.
12539 (skip_inline_var_tests): New function.
12540
12541 2009-06-27 Andreas Schwab <schwab@linux-m68k.org>
12542
12543 * gdb.cp/exception.exp: Don't require $hex before inner frame in
12544 backtrace.
12545
12546 2009-06-27 Michael Snyder <msnyder@vmware.com>
12547
12548 * gdb.reverse: New directory.
12549 * gdb.reverse/break-reverse.c: New test.
12550 * gdb.reverse/break-reverse.exp: New test.
12551 * gdb.reverse/consecutive-reverse.c: New test.
12552 * gdb.reverse/consecutive-reverse.exp: New test.
12553 * gdb.reverse/finish-reverse.c: New test.
12554 * gdb.reverse/finish-reverse.exp: New test.
12555 * gdb.reverse/machinestate.c: New test.
12556 * gdb.reverse/ms1.c: New test.
12557 * gdb.reverse/machinestate.exp: New test.
12558 * gdb.reverse/Makefile.in: New file.
12559 * gdb.reverse/shr2.c: New test.
12560 * gdb.reverse/solib-reverse.c: New test.
12561 * gdb.reverse/solib-reverse.exp: New test.
12562 * gdb.reverse/step-reverse.c: New test.
12563 * gdb.reverse/step-reverse.exp: New test.
12564 * gdb.reverse/until-reverse.c: New test.
12565 * gdb.reverse/ur1.c: New test.
12566 * gdb.reverse/until-reverse.exp: New test.
12567 * gdb.reverse/watch-reverse.c: New test.
12568 * gdb.reverse/watch-reverse.exp: New test.
12569 * configure.ac (AC_OUTPUT): Add gdb.reverse/Makefile.
12570 * configure: Regenerate.
12571
12572 2009-06-26 Doug Evans <dje@google.com>
12573
12574 * gdb.base/psymtab.exp: Turn off pending breakpoints.
12575
12576 2009-06-26 Pierre Muller <muller@ics.u-strasbg.fr>
12577
12578 * gdb.base/exe-lock.exp (binfile): Add $EXEEXT suffix to fix
12579 windows problem for 'file delete $binfile'.
12580
12581 2009-06-23 Sami Wagiaalla <swagiaal@redhat.com>
12582
12583 * gdb.cp/namespace-using.exp: New test.
12584 * gdb.cp/namespace-using.cc: New test.
12585
12586 2009-05-20 Joel Brobecker <brobecker@adacore.com>
12587
12588 * gdb.ada/variant_record_packed_array: New testcase.
12589
12590 2009-06-23 Tom Tromey <tromey@redhat.com>
12591
12592 * gdb.base/charset.exp (test_combination): Regression test.
12593 * gdb.base/charset.c (my_wchar_t): New typedef.
12594 (myvar): New global.
12595 (main): Set myvar.
12596
12597 2009-06-18 Pierre Muller <muller@ics.u-strasbg.fr>
12598
12599 * lib/gdb.exp (gdb_compile): Also force unbuffered mode for DJGPP
12600 target.
12601
12602 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12603
12604 * gdb.base/dump.exp: Handle SPU like 64-bit platforms.
12605
12606 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12607
12608 * gdb.mi/gdb680.exp: Update test for error message.
12609
12610 2009-06-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12611
12612 * gdb.base/annota1.exp: Allow multiple occurrences of the
12613 frames-invalid annotation.
12614 * gdb.cp/annota2.exp: Likewise.
12615
12616 2009-06-15 Phil Muldoon <pmuldoon@redhat.com>
12617
12618 * gdb.cp/gdb2495.cc: New file.
12619 * gdb.cp/gdb2495.exp: New file.
12620
12621 2009-06-12 Jan Kratochvil <jan.kratochvil@redhat.com>
12622
12623 Report error on GDB crash during runto.
12624 * lib/gdb.exp (runto <eof>): New.
12625
12626 2009-06-09 Daniel Jacobowitz <dan@codesourcery.com>
12627
12628 * gdb.mi/mi-async.exp, gdb.mi/mi-basics.exp,
12629 gdb.mi/mi-break.exp, gdb.mi/mi-cli.exp,
12630 gdb.mi/mi-disassemble.exp, gdb.mi/mi-eval.exp,
12631 gdb.mi/mi-file-transfer.exp, gdb.mi/mi-file.exp,
12632 gdb.mi/mi-regs.exp, gdb.mi/mi-return.exp,
12633 gdb.mi/mi-simplerun.exp, gdb.mi/mi-stepi.exp,
12634 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-cmd.exp,
12635 gdb.mi/mi-var-display.exp, gdb.mi/mi-var-invalidate.exp,
12636 gdb.mi/mi-watch.exp, gdb.mi/mi2-basics.exp,
12637 gdb.mi/mi2-break.exp, gdb.mi/mi2-cli.exp,
12638 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-eval.exp,
12639 gdb.mi/mi2-file.exp, gdb.mi/mi2-regs.exp,
12640 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
12641 gdb.mi/mi2-stepi.exp, gdb.mi/mi2-var-block.exp,
12642 gdb.mi/mi2-var-child.exp, gdb.mi/mi2-var-cmd.exp,
12643 gdb.mi/mi2-var-display.exp, gdb.mi/mi2-watch.exp,
12644 gdb.server/ext-run.exp, gdb.server/file-transfer.exp,
12645 gdb.server/server-mon.exp, gdb.server/server-run.exp,
12646 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
12647 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
12648 gdb.trace/packetlen.exp, gdb.trace/passc-dyn.exp,
12649 gdb.trace/passcount.exp, gdb.trace/report.exp,
12650 gdb.trace/save-trace.exp, gdb.trace/tfind.exp,
12651 gdb.trace/tracecmd.exp, gdb.trace/while-dyn.exp,
12652 gdb.trace/while-stepping.exp: Use a unique name for the compiled
12653 executable.
12654
12655 2009-06-07 Pedro Alves <pedro@codesourcery.com>
12656
12657 * gdb.threads/manythreads.c (main): Check if PTHREAD_STACK_MIN is
12658 defined before referencing it.
12659
12660 2009-06-03 Doug Evans <dje@google.com>
12661
12662 * gdb.arch/i386-sse.exp: Test xmm[8-15] if amd64.
12663 * gdb.arch/i386-see.c: Ditto.
12664
12665 2009-05-30 Pierre Muller <muller@ics.u-strasbg.fr>
12666
12667 * gdb.base/macscp.exp (info_macro): Return undefined if undefined.
12668 (check_macro): Return 1 if undefined.
12669 If first test fails, check if macro debug information is available,
12670 and report unsupported test if no macro information is found.
12671
12672 2009-05-29 Doug Evans <dje@google.com>
12673
12674 * gdb.threads/hand-call-in-threads.exp: New.
12675 * gdb.threads/hand-call-in-threads.c: New.
12676
12677 2009-05-29 Michael Snyder <msnyder@vmware.com>
12678
12679 * gdb.base/break-always.exp: Change "1" to "on".
12680 Add confirmation check.
12681
12682 2009-05-28 Pedro Alves <pedro@codesourcery.com>
12683
12684 * gdb.threads/threxit-hop-specific.c: New.
12685 * gdb.threads/threxit-hop-specific.exp: New.
12686 * gdb.threads/thread-execl.c: New.
12687 * gdb.threads/thread-execl.exp: New.
12688
12689 2009-05-27 Tom Tromey <tromey@redhat.com>
12690 Thiago Jung Bauermann <bauerman@br.ibm.com>
12691
12692 * lib/mi-support.exp (mi_varobj_update_dynamic): New proc.
12693 (mi_child_regexp): Likewise.
12694 (mi_list_varobj_children_range): Likewise.
12695 (mi_get_features): Likewise.
12696 (mi_list_varobj_children): Rewrite.
12697 * gdb.python/python-mi.exp: New file.
12698
12699 2009-05-27 Tom Tromey <tromey@redhat.com>
12700 Thiago Jung Bauermann <bauerman@br.ibm.com>
12701 Phil Muldoon <pmuldoon@redhat.com>
12702 Paul Pluzhnikov <ppluzhnikov@google.com>
12703
12704 * gdb.python/python-prettyprint.exp: New file.
12705 * gdb.python/python-prettyprint.c: New file.
12706 * gdb.python/python-prettyprint.py: New file.
12707 * gdb.base/display.exp: print/r is now valid.
12708
12709 2009-05-27 Thiago Jung Bauermann <bauerman@br.ibm.com>
12710 Tom Tromey <tromey@redhat.com>
12711 Pedro Alves <pedro@codesourcery.com>
12712 Paul Pluzhnikov <ppluzhnikov@google.com>
12713
12714 * gdb.python/python-template.exp: New file.
12715 * gdb.python/python-template.cc: New file.
12716 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12717 tests.
12718 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12719 Call it.
12720 (test_value_after_death): New proc.
12721 * gdb.python/python-value.c (PTR): New typedef.
12722 (main): New variable 'x'.
12723
12724 2009-05-27 Tom Tromey <tromey@redhat.com>
12725
12726 * gdb.python/python.exp (gdb_py_test_multiple): Add two objfile
12727 tests.
12728 * gdb.python/python-value.exp (py_objfile_tests): New proc.
12729 Call it.
12730
12731 2009-05-27 Pedro Alves <pedro@codesourcery.com>
12732
12733 * gdb.mi/nsthrexec.c, gdb.mi/mi-nsthrexec.exp: New.
12734
12735 2009-05-24 Pedro Alves <pedro@codesourcery.com>
12736
12737 * gdb.threads/fork-thread-pending.c: New.
12738 * gdb.threads/fork-thread-pending.exp: New.
12739
12740 2009-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
12741
12742 * gdb.dwarf2/dw2-strp.exp (p a_string2, ptype a_string2): New.
12743 * gdb.dwarf2/dw2-strp.S (a_string2): New.
12744
12745 2009-05-18 Jon Beniston <jon@beniston.com>
12746
12747 * gdb.asm/asm-source.exp: Add lm32 target.
12748
12749 2009-05-17 Pedro Alves <pedro@codesourcery.com>
12750
12751 * gdb.base/foll-fork.c: Include stdlib.h. Add markers for
12752 `gdb_get_line_number'. Call `callee' in both parent and child.
12753 * gdb.base/foll-fork.exp (catch_fork_child_follow): Use
12754 `gdb_get_line_number' instead of hardcoding line numbers.
12755 (catch_fork_unpatch_child): New procedure to test detaching
12756 breakpoints from child fork.
12757 (tcatch_fork_parent_follow): Use `gdb_get_line_number' instead of
12758 hardcoding line numbers.
12759 (do_fork_tests): Run `catch_fork_unpatch_child'.
12760
12761 2009-05-17 Vladimir Prus <vladimir@codesourcery.com>
12762
12763 * gdb.mi/mi-cmd-var.exp: Check that when varobj
12764 of structure type enters or leaves the scope, it
12765 is reported by -var-update.
12766
12767 2009-05-11 Doug Evans <dje@sebabeach.org>
12768
12769 * gdb.mi/nsintrall.c (main): Fix off-by-one error.
12770 * gdb.threads/pending-step.c (main): Fix off-by-one error.
12771 * gdb.threads/schedlock.c (main): Fix off-by-one error.
12772
12773 2009-05-11 Jan Kratochvil <jan.kratochvil@redhat.com>
12774
12775 * gdb.cp/expand-sals.exp, gdb.cp/expand-sals.cc: New.
12776
12777 2009-04-30 Doug Evans <dje@google.com>
12778
12779 * gdb.threads/watchthreads2.exp: New testcase.
12780 * gdb.threads/watchthreads2.c: New testcase.
12781
12782 2009-04-29 Doug Evans <dje@google.com>
12783
12784 * gdb.cp/mb-ctor.exp: Add multi-line source statement test.
12785 * gdb.cp/mb-ctor.cc: Ditto.
12786 * gdb.cp/mb-inline.exp: Add multi-line source statement test.
12787 * gdb.cp/mb-inline.h (multi_line_foo): New function.
12788 * gdb.cp/mb-inline1.cc: Call it.
12789 * gdb.cp/mb-inline2.cc: Ditto.
12790 * gdb.cp/mb-templates.exp: Add multi-line source statement test.
12791 * gdb.cp/mb-templates.cc (multi_line_foo): New template.
12792
12793 2009-04-29 Jan Kratochvil <jan.kratochvil@redhat.com>
12794
12795 * gdb.base/macscp.exp: New `options' parameter `-DFROM_COMMANDLINE'.
12796 (info_macro): Remova `decimal' declaration. New variable `nonzero'.
12797 Replace all uses of `decimal' by `nonzero'.
12798 (info macro FROM_COMMANDLINE): New test.
12799
12800 2009-04-27 Tom Tromey <tromey@redhat.com>
12801
12802 * gdb.base/printcmds.exp (test_printf): Test comma operator in [].
12803
12804 2009-04-27 Doug Evans <dje@google.com>
12805
12806 * gdb.threads/watchthreads.c (main): Initialize args before starting
12807 the threads. Plus formatting cleanup.
12808 * gdb.threads/watchthreads.exp: Avoid errant failures due to
12809 biased scheduling of one thread.
12810
12811 2009-04-27 Jerome Guitton <guitton@adacore.com>
12812
12813 * gdb.cp/templates.cc (GetMax): New template.
12814 (main): Declare two instances of GetMax.
12815 * gdb.cp/templates.exp: Add new test.
12816
12817 2009-04-27 Jan Kratochvil <jan.kratochvil@redhat.com>
12818
12819 * gdb.cp/abstract-origin.exp, gdb.cp/abstract-origin.cc: New test.
12820
12821 2009-04-22 Joseph Myers <joseph@codesourcery.com>
12822
12823 * lib/gdb.exp (get_compiler_info): Use -E -o in remote-host case.
12824
12825 2009-04-15 Tom Tromey <tromey@redhat.com>
12826
12827 * gdb.base/charset.exp: Add regression test.
12828
12829 2009-04-14 Joel Brobecker <brobecker@adacore.com>
12830
12831 * gdb.base/exe-lock.exp: New testcase.
12832
12833 2009-04-13 Tom Tromey <tromey@redhat.com>
12834
12835 * gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
12836 operator on Frame.
12837
12838 2009-04-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
12839
12840 * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
12841 * gdb.server/ext-attach.exp: Likewise.
12842
12843 2009-04-03 Vladimir Prus <vladimir@codesourcery.com>
12844
12845 Eliminate some sleep usage.
12846
12847 * gdb.mi/basics.c (do_nothing): New.
12848 (main): Use do_nothing instead of printf, so that
12849 not to introduce race condition between output of
12850 inferiour and output of gdb. Do not use sleep as it
12851 is not generally available on embedded targets.
12852
12853 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12854
12855 * gdb.server/ext-attach.exp: Expect an optional process id after
12856 "Detached from remote process".
12857
12858 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
12859
12860 * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
12861 gdb.dwarf2/dw2-unresolved.exp: New.
12862
12863 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12864
12865 * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
12866 mi_run_to_main.
12867
12868 2009-04-02 Pedro Alves <pedro@codesourcery.com>
12869
12870 * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
12871 mi_run_to_main. Skip thread exit test on remote targets.
12872 * gdb.mi/mi-nsintrall.exp: Don't check isnative. Use
12873 mi_run_to_main.
12874 * gdb.mi/mi-nsmoribund.exp: Don't check isnative. Use
12875 mi_run_to_main.
12876 * lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
12877 when expecting ^connected. Detect when the target doesn't support
12878 non-stop mode.
12879 (mi_run_cmd): Detect if non-stop mode was requested by isn't
12880 supported. Return -1 on error, 0 on success.
12881 (mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
12882 (mi_runto): Return mi_runto_helper's result explicitly.
12883
12884 2009-04-01 Pedro Alves <pedro@codesourcery.com>
12885
12886 * gdb.threads/pending-step.c, gdb.threads/pending-step.exp: New.
12887
12888 2009-04-01 Tom Tromey <tromey@redhat.com>
12889
12890 * gdb.base/funcargs.exp: Set print frame-arguments to "all".
12891 * gdb.base/call-ar-st.exp: Set print frame-arguments to "all".
12892 * gdb.ada/ref_param.exp: Set print frame-arguments to "all".
12893 * gdb.ada/lang_switch.exp: Set print frame-arguments to "all".
12894
12895 2009-03-31 Daniel Jacobowitz <dan@codesourcery.com>
12896 Jan Kratochvil <jan.kratochvil@redhat.com>
12897
12898 PR gdb/931
12899 * gdb.cp/gdb1355.exp (f_li, f_lui, f_si, f_sui): Allow canonical
12900 output.
12901 * gdb.cp/templates.exp: Allow canonical output. Remove KFAILs
12902 for gdb/931.
12903 * dw2-strp.S (DW_AT_language): Change to C++.
12904 (DW_TAG_variable (name ""), Abbrev code 7, .Lemptyname): New.
12905
12906 2009-03-31 Joel Brobecker <brobecker@adacore.com>
12907
12908 * gdb.ada/tasks: New testcase.
12909
12910 2009-03-30 Stan Shebs <stan@codesourcery.com>
12911
12912 * gdb.trace/actions.exp: Update to match new info trace format.
12913 * gdb.trace/deltrace.exp: Ditto.
12914 * gdb.trace/infotrace.exp: Ditto.
12915 * gdb.trace/passcount.exp: Ditto.
12916 * gdb.trace/save-trace.exp: Ditto.
12917 * gdb.trace/while-stepping.exp: Ditto.
12918 * gdb.trace/tracecmd.exp: Ditto, plus don't allow pending option.
12919
12920 2009-03-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
12921
12922 * gdb.python/python-frame.c: New file.
12923 * gdb.python/python-frame.exp: New file.
12924
12925 2009-03-29 Thiago Jung Bauermann <bauerman@br.ibm.com>
12926
12927 * gdb.python/python-value.exp: Add tests for the address
12928 attribute.
12929
12930 2009-03-29 Andreas Schwab <schwab@linux-m68k.org>
12931
12932 * gdb.arch/powerpc-prologue.exp: Update for disassemble-next-line.
12933
12934 2009-03-26 Doug Evans <dje@google.com>
12935
12936 * gdb.mi/mi-nonstop-exit.exp: New file.
12937 * gdb.mi/non-stop-exit.c: New file.
12938
12939 2009-03-26 Tom Tromey <tromey@redhat.com>
12940
12941 Update for change to prologue skipping:
12942 * gdb.mi/mi2-simplerun.exp: Update.
12943 * gdb.mi/mi2-break.exp: Update.
12944 * gdb.mi/mi-simplerun.exp: Update.
12945 * gdb.mi/mi-break.exp: Update.
12946 * gdb.base/ending-run.exp: Update.
12947
12948 2009-03-26 Thiago Jung Bauermann <bauerman@br.ibm.com>
12949
12950 * gdb.python/python-value.exp (test_value_in_inferior): Test
12951 gdb.Value.is_optimized_out attribute.
12952
12953 2009-03-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12954
12955 * gdb.dwarf2/dw2-noloc-main.c: New file.
12956 * gdb.dwarf2/dw2-noloc.S: New symbols matrix.
12957 (.text): Remove.
12958 (.data): New.
12959 (DW_AT_stmt_list, .debug_line, DW_AT_frame_base): Remove.
12960 (DW_AT_low_pc, DW_AT_high_pc): Reference `dw2-noloc-main.c'.
12961 (DW_TAG_subprogram func_cu1, noloc): Remove.
12962 (main): New.
12963 * gdb.dwarf2/dw2-noloc.exp: Use prepare_for_testing, compile also
12964 `dw2-noloc-main.c'. Test the new DIEs from `dw2-noloc.S'.
12965 (file_symbols): New procedure.
12966
12967 2009-03-25 Tom Tromey <tromey@redhat.com>
12968
12969 * gdb.base/charset.exp (valid_target_charset): New proc.
12970 Use it to skip tests on invalid charsets.
12971
12972 2009-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
12973
12974 * gdb.base/completion.exp: Add a test for directory completion.
12975
12976 2009-03-22 Jan Kratochvil <jan.kratochvil@redhat.com>
12977
12978 Fix a racy FAIL.
12979 * gdb.base/auxv.exp (fetch_auxv): Fix trailing newlines consumption.
12980 * gdb.base/callfuncs.exp (fetch_all_registers): Likewise.
12981
12982 2009-03-21 Thiago Jung Bauermann <bauerman@br.ibm.com>
12983
12984 * gdb.python/python-cmd.exp: Add tests for keyword arguments.
12985 * gdb.python/python-function.exp: Add test for function returning
12986 a GDB value.
12987
12988 2009-03-20 Thiago Jung Bauermann <bauerman@br.ibm.com>
12989
12990 * gdb.python/python-function.exp: New file.
12991
12992 2009-03-20 Tom Tromey <tromey@redhat.com>
12993
12994 * gdb.base/store.exp: Update for change to escape output.
12995 * gdb.base/callfuncs.exp (fetch_all_registers): Update for change
12996 to escape output.
12997 * gdb.base/pointers.exp: Update for change to escape output.
12998 * gdb.base/long_long.exp (gdb_test_long_long): Update for change
12999 to escape output.
13000 * gdb.base/constvars.exp (do_constvar_tests): Update for change to
13001 escape output.
13002 * gdb.base/call-rt-st.exp (print_struct_call): Update for change
13003 to escape output.
13004 * gdb.cp/ref-types.exp (gdb_start_again): Update for change to
13005 escape output.
13006 * gdb.base/setvar.exp: Update for change to escape output.
13007 * lib/gdb.exp (default_gdb_start): Set LC_CTYPE to C.
13008 * gdb.base/printcmds.exp (test_print_all_chars): Update for change
13009 to escape output.
13010 (test_print_string_constants): Likewise.
13011 * gdb.base/charset.exp (valid_host_charset): Check size of
13012 wchar_t. Handle UCS-2 and UCS-4. Add tests for wide and unicode
13013 cases. Handle "auto"-related output.
13014 * gdb.base/charset.c (char16_t, char32_t): New typedefs.
13015 (uvar, Uvar): New globals.
13016
13017 2009-03-19 Jerome Guitton <guitton@adacore.com>
13018
13019 * gdb.ada/fixed_points/fixed_points.adb: Add a test on overprecise
13020 deltas.
13021 * gdb.ada/fixed_points.exp: Ditto.
13022
13023 2009-03-18 Pedro Alves <pedro@codesourcery.com>
13024
13025 * return-nodebug.c: Don't include stdio.h.
13026 (init): Delete.
13027 (func): Delete definition and provide extern declaration.
13028 (t): New.
13029 (main): Don't call printf. Call func and store its result in t.
13030 * return-nodebug1.c: New.
13031 * return-nodebug.exp: Don't expect stdio output. Instead, print
13032 the global variable t. Drop printf formatters and cast types from
13033 foreach loop. Don't use prepare_for_testing. Compile
13034 return-nodebug.c and return-nodebug1.c in separate steps. Don't
13035 define FORMAT or CAST.
13036
13037 2009-03-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13038
13039 * gdb.base/solib-display.exp: Disable test for remote targers.
13040
13041 2009-03-15 Jan Kratochvil <jan.kratochvil@redhat.com>
13042
13043 * gdb.base/return-nodebug.exp, gdb.base/return-nodebug.c: New.
13044
13045 2009-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
13046
13047 Fix a racy FAIL.
13048 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): New function with
13049 code from `follow parent, print pids'.
13050 (`follow child, print pids', `follow parent, print pids'): Call it.
13051 Replace `gdb_test "break..."' by gdb_breakpoint.
13052
13053 2009-03-13 Vladimir Prus <vladimir@codesourcery.com>
13054
13055 * gdb.mi/mi-cli.exp: Adjust for output difference in
13056 sync and async modes.
13057
13058 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13059
13060 * gdb.ada/ptype_arith_binop.exp: Remove some commented-out code
13061 that was checked in by mistake. Remove loading of ada.exp, since
13062 this is not necessary in this case.
13063
13064 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13065
13066 * gdb.ada/ptype_arith_binop.exp: New testcase.
13067
13068 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13069
13070 * gdb.ada/mod_from_name: New testcase.
13071
13072 2009-03-12 Joel Brobecker <brobecker@adacore.com>
13073
13074 * gdb.ada/tick_last_segv: New testcase.
13075
13076 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13077
13078 * gdb.mi/mi-cli.exp: Remove debug print.
13079
13080 2009-03-12 Vladimir Prus <vladimir@codesourcery.com>
13081
13082 * gdb.mi/mi-cli.exp: Verify that CLI commands that run inferior
13083 include the token in ^running and frame info in *stopped.
13084
13085 2009-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13086
13087 * solib-display.exp: New file.
13088 * solib-display-main.c: New file.
13089 * solib-display-lib.c: New file.
13090
13091 2009-03-05 Pedro Alves <pedro@codesourcery.com>
13092
13093 * gdb.arch/i386-permbkpt.S, gdb.arch/i386-permbkpt.exp: New.
13094
13095 2009-02-18 Jan Kratochvil <jan.kratochvil@redhat.com>
13096
13097 * gdb.base/macscp.exp (objfile): Move it to ${objdir}/${subdir}/.
13098 (list_and_check_macro): Use more specific test name.
13099 (next to definition): Make the test names unique.
13100
13101 2009-02-18 Pierre Muller <muller@ics.u-strasbg.fr>
13102
13103 * gdb.pascal/floats.exp: Accept approximate results everywhere.
13104
13105 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13106
13107 * gdb.mi/mi-nonstop.exp (notifs): Adjust for library
13108 notifications.
13109 * gdb.mi/mi-nsintrall.exp (notifs): Likewise.
13110 * gdb.mi/mi-nsmoribund.exp (notifs): Likewise.
13111 * lib/mi-support.exp (library_loaded_re): New.
13112 (mi_run_cmd, mi_send_resuming_command_raw): Adjust.
13113
13114 2009-02-17 Vladimir Prus <vladimir@codesourcery.com>
13115
13116 * gdb.gdb/observer.exp: Use test_notification observer, not
13117 normal_stop, everywhere.
13118 (test_normal_stop_notifications): Rename to...
13119 (test_notifications): ...this.
13120 (test_observer_normal_stop): Rename to...
13121 (test_observer): ...this.
13122
13123 2009-02-16 Doug Evans <dje@google.com>
13124
13125 * gdb.arch/amd64-disp-step.S (test_int3): New test.
13126 * gdb.arch/amd64-disp-step.exp (test_int3): New test.
13127 * gdb.arch/i386-disp-step.S (test_prefixed_abs_jump): New test.
13128 (test_prefixed_syscall,test_int3): New tests.
13129 * gdb.arch/i386-disp-step.exp (test_prefixed_abs_jump): New test.
13130 (test_prefixed_syscall,test_int3): New tests.
13131
13132 2009-02-14 Vladimir Prus <vladimir@codesourcery.com>
13133
13134 * lib/mi-support.exp (mi_expect_stop): Adjust the order of fields.
13135 (mi_expect_interrupt): Likewise.
13136 * gdb.mi/mi-cli.exp: Check that "step" results in proper *stopped
13137 response.
13138
13139 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13140
13141 * lib/gdb.exp (get_hexadecimal_valueof): New procedure.
13142 * gdb.base/pc-fp.exp (get_valueofx): Remove.
13143 Replace calls to get_valueofx by get_hexadecimal_valueof.
13144
13145 2009-02-14 Pierre Muller <muller@ics.u-strasbg.fr>
13146
13147 * lib/gdb.exp (get_valueof): Accept anything as a return value.
13148 (get_integer_valueof): New procedure.
13149 (get_sizeof): Use new get_integer_value_of.
13150 * gdb.base/sizeof.exp: Replace all uses of get_valueof
13151 by get_integer_valueof.
13152
13153 2009-02-13 Tom Tromey <tromey@redhat.com>
13154
13155 * gdb.base/remote.exp (get_sizeof): Remove.
13156 * gdb.base/long_long.exp (get_valueof, get_sizeof): Remove.
13157 * gdb.base/dfp-test.exp (get_valueof, get_sizeof): Remove.
13158 * gdb.base/sizeof.exp (get_valueof, get_sizeof): Remove.
13159 * lib/gdb.exp (get_valueof): Move from long_long.exp.
13160 (get_sizeof): Likewise.
13161
13162 2009-02-12 Jan Kratochvil <jan.kratochvil@redhat.com>
13163
13164 PR fortran/9806
13165 * gdb.fortran/module.exp, gdb.fortran/module.f90: New.
13166
13167 2009-02-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13168
13169 * gdb.cp/pr9594.cc: Prevent GCC from optimizing 'a' out.
13170
13171 2009-02-06 Pedro Alves <pedro@codesourcery.com>
13172
13173 * gdb.base/siginfo-obj.c, gdb.base/siginfo-obj.exp: New.
13174
13175 2009-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
13176
13177 * gdb.python/python-cmd.exp: New file.
13178
13179 2009-02-06 Tristan Gingold <gingold@adacore.com>
13180
13181 * gdb.arch/i386-sse.c (main): Replace call to puts by an nop asm.
13182
13183 2009-02-05 Tristan Gingold <gingold@adacore.com>
13184
13185 * gdb.base/sigbpt.exp: Detect which signal is received when a NULL
13186 pointer is dereferenced and use this signal name in regexp.
13187 * gdb.base/signull.exp: Ditto.
13188 * gdb.base/sigbpt.c (main): Catch SIGBUS too.
13189 * gdb.base/signull.c (main): Ditto.
13190
13191 2009-02-04 Tom Tromey <tromey@redhat.com>
13192 Thiago Jung Bauermann <bauerman@br.ibm.com>
13193
13194 * gdb.python/python-value.exp: Use `gdb.history' instead of
13195 `gdb.value_from_history'.
13196 (test_value_numeric_ops): Add test for conversion of enum constant.
13197 * gdb.python/python-value.c (enum e): New type.
13198 (evalue): New global.
13199 (main): Use argv.
13200
13201 2009-02-04 Jerome Guitton <guitton@adacore.com>
13202
13203 * gdb.ada/uninitialized_vars: New test program.
13204 * gdb.ada/uninitialized_vars.exp: New testcase.
13205
13206 2009-02-02 Tom Tromey <tromey@redhat.com>
13207
13208 * gdb.cp/cpcompletion.exp: Name the test "pr9594".
13209 * gdb.cp/pr2489.cc: Rename...
13210 * gdb.cp/pr9594.cc: ... to this.
13211
13212 2009-02-02 Tom Tromey <tromey@redhat.com>
13213
13214 * gdb.cp/Makefile.in (EXECUTABLES): Add pr2489.
13215 * gdb.cp/pr2489.cc: New file.
13216 * gdb.cp/cpcompletion.exp: New file.
13217
13218 2009-02-02 Tom Tromey <tromey@redhat.com>
13219
13220 PR exp/9059:
13221 * gdb.cp/call-c.exp: Add regression test.
13222 * gdb.cp/call-c.cc (FooHandle): New typedef.
13223 (main): New variable 'handle'.
13224
13225 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13226
13227 * lib/mi-support.exp (et_mi_thread_list)
13228 (check_mi_and_console_threads): Adjust for current thread in
13229 -thread-list-ids output.
13230
13231 2009-01-30 Vladimir Prus <vladimir@codesourcery.com>
13232
13233 * gdb.mi/mi-break.exp (test_disabled_creation): New.
13234 Call it.
13235
13236 2009-01-28 Doug Evans <dje@google.com>
13237
13238 * gdb.arch/amd64-disp-step.S: New file.
13239 * gdb.arch/amd64-disp-step.exp: New file.
13240 * gdb.arch/i386-disp-step.S: New file.
13241 * gdb.arch/i386-disp-step.exp: New file.
13242
13243 2009-01-27 Pierre Muller <muller@ics.u-strasbg.fr>
13244
13245 * gdb.base/find.exp: Set newline variable
13246 using quotes instead of braces to fix cygwin failures.
13247
13248 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13249
13250 * gdb.base/radix.exp: Add tests to ensure that that set
13251 input-radix 0 and set output-radix 0 are really rejected.
13252
13253 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13254
13255 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: Update
13256 copyright years.
13257
13258 2009-01-23 Pedro Alves <pedro@codesourcery.com>
13259
13260 PR gdb/9664:
13261 * gdb.base/hook-stop-frame.c, gdb.base/hook-stop-frame.exp: New.
13262
13263 2009-01-22 Pedro Alves <pedro@codesourcery.com>
13264
13265 PR c++/9631:
13266 * gdb.cp/pr9631.cc, gdb.cp/pr9631.exp: New.
13267
13268 2009-01-22 Pierre Muller <muller@ics.u-strasbg.fr>
13269
13270 * gdb.server/file-transfer.exp: Use EXEEXT variable for
13271 binfile definition to fix Windows OS failure.
13272
13273 2009-01-20 Daniel Jacobowitz <dan@codesourcery.com>
13274
13275 PR gdb/9346
13276 * gdb.base/interrupt.c (sigint_handler): New.
13277 (main): Install a SIGINT handler if SIGNALS is defined. Exit
13278 on error.
13279 * gdb.base/interrupt.exp: Define SIGNALS unless gdb,nosignals.
13280 Test "signal SIGINT".
13281
13282 2009-01-19 Doug Evans <dje@google.com>
13283
13284 * gdb.base/break.exp: Update expected gdb output.
13285 * gdb.base/sepdebug.exp: Ditto.
13286 * gdb.mi/mi-syn-frame.exp: Ditto.
13287 * gdb.mi/mi2-syn-frame.exp: Ditto.
13288 * gdb.base/call-signal-resume.exp: New file.
13289 * gdb.base/call-signals.c: New file.
13290 * gdb.base/unwindonsignal.exp: New file.
13291 * gdb.base/unwindonsignal.c: New file.
13292 * gdb.threads/interrupted-hand-call.exp: New file.
13293 * gdb.threads/interrupted-hand-call.c: New file.
13294 * gdb.threads/thread-unwindonsignal.exp: New file.
13295
13296 2009-01-14 Daniel Jacobowitz <dan@codesourcery.com>
13297
13298 * gdb.base/define.exp: Test defining and hooking prefix commands.
13299 * gdb.python/python.exp: Update test for "show user" output.
13300
13301 2009-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13302
13303 * gdb.fortran/derived-type.exp: New variables int4 and real4. Match
13304 now the output exactly, using less wildcards. Expect also the output
13305 of gfortran-4.3. Update for the f-valprint.c modification from
13306 2008-04-22.
13307 * gdb.fortran/subarray.exp: Expect also the output of gfortran-4.3.
13308 Remove gdb_test test names where matching the command.
13309
13310 2009-01-01 Pedro Alves <pedro@codesourcery.com>
13311
13312 PR breakpoints/9681:
13313 * gdb.base/watchpoint.exp: Add regression test.
13314
13315 2008-12-31 Pedro Alves <pedro@codesourcery.com>
13316
13317 * gdb.threads/attach-into-signal.exp: Don't use
13318 gdb_suppress_entire_file.
13319 * gdb.threads/attach-stopped.exp: Ditto.
13320 * gdb.threads/attachstop-mt.exp: Ditto.
13321
13322 2008-12-31 Pedro Alves <pedro@codesourcery.com>
13323
13324 PR gdb/8812:
13325 * gdb.base/signal.exp: Change kfail to fail, and update PR number.
13326
13327 2008-12-29 Pedro Alves <pedro@codesourcery.com>
13328
13329 PR gdb/7536:
13330 * gdb.base/radix.exp: Add tests to ensure invalid input radices
13331 and unsupported output radices are really rejected.
13332
13333 2008-12-23 Jan Kratochvil <jan.kratochvil@redhat.com>
13334
13335 * gdb.cp/punctuator.exp: Backslash the '$' signs.
13336
13337 2008-12-22 Tom Tromey <tromey@redhat.com>
13338
13339 * gdb.cp/punctuator.exp: New file.
13340
13341 2008-12-22 Jan Kratochvil <jan.kratochvil@redhat.com>
13342
13343 * gdb.base/completion.exp (Completing non-existing component): New test.
13344
13345 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13346
13347 Fix for PR gdb/8648.
13348 * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c,
13349 gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test,
13350 gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test,
13351 gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu .
13352
13353 2008-12-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13354
13355 * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New.
13356
13357 2008-12-16 Christophe Lyon <christophe.lyon@st.com>
13358
13359 * gdb.base/expand-psymtabs.c: Insert code in foo so that the
13360 compiler actually generate code at the expected line number.
13361
13362 2008-12-15 Jie Zhang <jie.zhang@analog.com>
13363
13364 * gdb.base/consecutive.exp: Don't use global in gdb_expect.
13365
13366 2008-12-12 Tom Tromey <tromey@redhat.com>
13367
13368 * gdb.base/commands.exp (redefine_hook_test): New proc.
13369 Call it.
13370
13371 2008-12-11 Tom Tromey <tromey@redhat.com>
13372
13373 * gdb.base/macscp.exp: New regression test.
13374
13375 2008-12-11 Tom Tromey <tromey@redhat.com>
13376
13377 * gdb.base/macscp.exp: Print "address.addr".
13378 * gdb.base/macscp1.c (struct outer): New struct.
13379 (address): New global.
13380
13381 2008-12-09 Tom Tromey <tromey@redhat.com>
13382
13383 * gdb.base/commands.exp (redefine_backtrace_test): New proc.
13384 Call it.
13385
13386 2008-12-04 Doug Evans <dje@google.com>
13387
13388 * gdb.server/ext-run.exp: Relax regexp for init program.
13389
13390 2008-12-03 Tristan Gingold <gingold@adacore.com>
13391
13392 * gdb.base/macscp.exp: Generate an object file during compilation
13393 to work around Darwin dsymutil limitations.
13394
13395 2008-12-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13396
13397 Test resolving external references to TLS variables.
13398 * gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
13399 FILE2_THREAD_LOCAL.
13400 (testfile2, srcfile2): New variables.
13401 * gdb.threads/tls.c (file2_thread_local)
13402 (function_referencing_file2_thread_local): New.
13403 * gdb.threads/tls2.c: New file.
13404
13405 2008-11-28 Joel Brobecker <brobecker@adacore.com>
13406
13407 * gdb.ada/int_deref.exp: Convert the addresses into long_integer
13408 rather than integer, as integer might not be big enough when
13409 on 64bit targets.
13410
13411 2008-11-27 Jerome Guitton <guitton@adacore.com>
13412
13413 * gdb.cp/formatted-ref.exp: Add equality test.
13414 * gdb.ada/formatted_ref.exp: Ditto.
13415
13416 2008-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
13417
13418 * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
13419 * gdb.base/start.exp: New comment about an alternative - `runto_main'.
13420
13421 2008-11-20 Andreas Schwab <schwab@suse.de>
13422
13423 * gdb.base/foll-fork.exp (catch_fork_child_follow): Fix patterns
13424 matching syscall entry point.
13425 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
13426 (tcatch_vfork_then_child_follow): Likewise. Finish through
13427 vfork even if we stopped at the syscall trampoline.
13428
13429 2008-11-20 Doug Evans <dje@google.com>
13430
13431 * gdb.base/sepsymtab.exp: Update, old "info sym" format restored.
13432
13433 2008-11-18 Thiago Jung Bauermann <bauerman@br.ibm.com>
13434
13435 * gdb.arch/ppc-dfp.exp: New file.
13436 * gdb.arch/ppc-dfp.c: New file.
13437
13438 2008-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13439
13440 * gdb.base/sepsymtab.exp: Update for new 'info sym' format.
13441
13442 2008-11-17 Doug Evans <dje@google.com>
13443
13444 * gdb.mi/mi-syn-frame.exp: Update expected output.
13445 * gdb.mi/mi2-syn-frame.exp: Update expected output.
13446
13447 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13448
13449 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Make sure
13450 "thread N" results in =thread-selected.
13451 * lib/mi-support (mi_run_cmd, mi_expect_stop)
13452 (mi_send_resuming_command_raw): Be prepared for
13453 =thread-selected.
13454
13455 2008-11-17 Vladimir Prus <vladimir@codesourcery.com>
13456
13457 * gdb.mi/mi-nonstop.exp: Expect 'group-id' field.
13458 * lib/mi-support.exp: Likewise.
13459
13460 2008-11-16 Joel Brobecker <brobecker@adacore.com>
13461
13462 * gdb.base/help.exp: Remove the "catch load" and "catch unload"
13463 commands from the expected output for "help catch".
13464
13465 2008-11-15 Joel Brobecker <brobecker@adacore.com>
13466
13467 * gdb.ada/int_deref.exp: New testcase.
13468
13469 2008-11-14 Nick Roberts <nickrob@snap.net.nz>
13470
13471 * gdb.mi/gdb2549.exp: New file.
13472
13473 2008-11-11 Doug Evans <dje@google.com>
13474
13475 * gdb.base/callexit.exp: New file.
13476 * gdb.base/callexit.c: New file.
13477
13478 2008-11-10 Doug Evans <dje@google.com>
13479
13480 * lib/gdb.exp (GDBFLAGS): Move -nx ...
13481 (INTERNAL_GDBFLAGS): ... to here. Move -nw to here as well.
13482 (default_gdb_version): Add $INTERNAL_GDBFLAGS to gdb invocations.
13483 (default_gdb_start,default_gdb_exit): Ditto.
13484 * lib/mi-support.exp (default_mi_gdb_start): Ditto.
13485 (mi_uncatched_gdb_exit): Add $INTERNAL_GDBFLAGS to log message.
13486 * gdb.base/corefile.exp: Add $INTERNAL_GDBFLAGS to gdb invocations.
13487 * gdb.base/dbx.exp (dbx_gdb_start): Ditto.
13488 * gdb.base/args.exp (GDBFLAGS): Don't overwrite, append.
13489 * gdb.base/remotetimeout.exp (GDBFLAGS): Ditto.
13490
13491 2008-11-03 Andreas Schwab <schwab@suse.de>
13492
13493 * gdb.base/hashline2.exp: Fix typo.
13494 * gdb.base/hashline3.exp: Likewise.
13495
13496 2008-10-30 Tom Tromey <tromey@redhat.com>
13497
13498 * gdb.base/pointers.exp: Add test.
13499 * gdb.base/pointers.c (k, S): New typedefs.
13500 (instance): New global.
13501
13502 2008-10-30 Andreas Schwab <schwab@suse.de>
13503
13504 * gdb.base/args.exp: Add tests for newlines.
13505
13506 2008-10-30 Joel Brobecker <brobecker@adacore.com>
13507
13508 gdb.base/foll-exec.exp: Update the expected output of a couple
13509 of "info breakpoints" tests.
13510
13511 2008-10-28 Tom Tromey <tromey@redhat.com>
13512
13513 * gdb.base/exprs.exp (test_expr): Add enum formatting tests.
13514
13515 2008-10-24 Pedro Alves <pedro@codesourcery.com>
13516
13517 * gdb.python/python-value.exp (test_value_in_inferior): Don't use
13518 gdb_start_cmd.
13519 Use runto_main before any test that requires execution.
13520
13521 2008-10-23 Pedro Alves <pedro@codesourcery.com>
13522
13523 * lib/mi-support.exp (mi_expect_interrupt): Expect signal 0
13524 instead of SIGINT.
13525
13526 2008-10-22 Joel Brobecker <brobecker@adacore.com>
13527
13528 * gdb.base/completion.exp: Update expected output following
13529 the addition of the "info tasks" command.
13530
13531 2008-10-22 Tom Tromey <tromey@redhat.com>
13532
13533 * gdb.base/exprs.exp (test_expr): Add test for string
13534 concatenation.
13535
13536 2008-10-19 Pedro Alves <pedro@codesourcery.com>
13537
13538 * configure.ac: Output gdb.python/Makefile.
13539 * configure: Regenerate.
13540 * gdb.python/Makefile.in: New.
13541
13542 2008-10-16 Joel Brobecker <brobecker@adacore.com>
13543
13544 * gdb.base/foll-fork.exp: Adjust the expected output to match
13545 the new description for fork/vfork catchpoints in the "info
13546 breakpoints" output.
13547
13548 2008-10-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13549
13550 * Makefile.in: Add gdb.python to ALL_SUBDIRS.
13551
13552 2008-10-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13553
13554 * gdb.python/python-value.c: New file.
13555 * gdb.python/python-value.exp: New file.
13556
13557 2008-10-15 Pedro Alves <pedro@codesourcery.com>
13558
13559 * gdb.mi/mi-nsmoribund.exp, gdb.mi/nsmoribund.c: New test.
13560
13561 2008-10-15 Denis Pilat <denis.pilat@st.com>
13562
13563 * gdb.cp/mb-ctor.exp: Fix a typo.
13564
13565 2008-10-09 Tom Tromey <tromey@redhat.com>
13566
13567 * gdb.base/macscp.exp: Use 'vafunc' and 'fixedarg' rather than
13568 'fprintf' and 'stderr'.
13569
13570 2008-10-07 Joel Brobecker <brobecker@adacore.com>
13571
13572 * gdb.ada/ref_tick_size.exp: New testcase.
13573
13574 2008-10-06 Doug Evans <dje@google.com>
13575
13576 * gdb.dwarf2/dw2-cu-size.exp: New file.
13577 * gdb.dwarf2/dw2-cu-size.S: New file.
13578
13579 * gdb.dwarf2/dw2-intercu.S (.Ltype_int_in_cu2): Renamed from
13580 .Ltype_int for clarity.
13581
13582 2008-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13583
13584 PR gdb/2384:
13585 * gdb.cp/gdb2384.exp: Extended to test more cases.
13586 * gdb.cp/gdb2384.cc: Likewise.
13587 * gdb.cp/gdb2384-base.h: Likewise.
13588 * gdb.cp/gdb2384-base.cc: Likewise.
13589
13590 2008-10-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13591
13592 * gdb.base/maint.exp (maint print type): Remove printing
13593 UPPER_BOUND_TYPE and LOWER_BOUND_TYPE.
13594
13595 2008-09-30 Tom Tromey <tromey@redhat.com>
13596
13597 * gdb.base/macscp.exp: Add completion tests.
13598 * gdb.base/macscp1.c (FIFTY_SEVEN): New macro.
13599 (TWENTY_THREE): Likewise.
13600 (FORTY_EIGHT): Likewise.
13601
13602 2008-09-30 Tom Tromey <tromey@redhat.com>
13603
13604 * gdb.base/macscp.exp: Change "M" to "MACRO_TO_EXPAND"
13605 everywhere.
13606 * gdb.base/macscp1.c (MACRO_TO_EXPAND): Rename from "M".
13607
13608 2008-09-28 Jan Kratochvil <jan.kratochvil@redhat.com>
13609
13610 * gdb.threads/attachstop-mt.exp: Note a real testcase name this
13611 testcase is derived from. Fix racy dependency on an expected PID
13612 number. No longer support the testcase on Linux kernel 2.4.x.
13613
13614 2008-09-27 Tom Tromey <tromey@redhat.com>
13615
13616 * gdb.base/macscp.exp: Add tests for stringification, splicing,
13617 and varargs.
13618
13619 2008-09-22 Pedro Alves <pedro@codesourcery.com>
13620
13621 * lib/mi-support.exp (mi_expect_interrupt): New.
13622 (mi_reverse_list, mi_check_thread_states): New, moved and renamed
13623 from gdb.mi/mi-nonstop.exp.
13624 * gdb.mi/mi-nsintrall.exp, gdb.mi/nsintrall.c: New.
13625 * gdb.mi/mi-nonstop.exp (myreverse, check_thread_states): Moved to
13626 lib/mi-support.exp.
13627 Use mi_check_thread_states throughout. Avoid ".*" and do not
13628 require an anchor after -exec-run.
13629
13630 2008-09-13 Daniel Jacobowitz <dan@codesourcery.com>
13631
13632 * gdb.mi/mi-nonstop.exp: Do not check thread state while a
13633 stop is pending. Avoid ".*" when two stops are pending.
13634 * lib/gdb.exp (fullname_syntax_POSIX, fullname_syntax_UNC)
13635 (fullname_syntax_DOS_CASE, fullname_syntax_DOS): Do not match
13636 newlines in fullnames.
13637 * lib/mi-support.exp (mi_run_cmd): Do not require an anchor.
13638 (mi_expect_stop): Update comments. Only anchor in sync mode.
13639 Do not match newlines.
13640 (mi_send_resuming_command_raw): Always return status.
13641 (mi_get_stop_line): Do not match more than one line by accident.
13642 Only anchor in sync mode.
13643 (mi_run_inline_test): If -exec-next fails, give up.
13644
13645 2008-09-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13646
13647 * gdb.base/stack-checking.c (big_frame): Reduce stack consumption
13648 on SPU.
13649
13650 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13651
13652 * gdb.ada/Makefile.in (EXECUTABLES): Bring up to date.
13653
13654 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13655
13656 * gdb.ada/array_bounds.exp, gdb.ada/array_subscript_addr.exp,
13657 gdb.ada/arrayidx.exp, gdb.ada/arrayparam.exp, gdb.ada/arrayptr.exp,
13658 gdb.ada/assign_1.exp, gdb.ada/boolean_expr.exp,
13659 gdb.ada/char_param.exp, gdb.ada/exprs.exp, gdb.ada/fixed_cmp.exp,
13660 gdb.ada/fixed_points.exp, gdb.ada/fun_addr.exp,
13661 gdb.ada/funcall_param.exp, gdb.ada/homonym.exp,
13662 gdb.ada/interface.exp, gdb.ada/null_array.exp,
13663 gdb.ada/packed_array.exp, gdb.ada/packed_tagged.exp,
13664 gdb.ada/print_chars.exp, gdb.ada/print_pc.exp,
13665 gdb.ada/str_ref_cmp.exp, gdb.ada/sym_print_name.exp,
13666 gdb.ada/taft_type.exp, gdb.ada/tagged.exp, gdb.ada/type_coercion.exp:
13667 Include the "= " sequence in the expected output of print tests.
13668
13669 2008-09-10 Joel Brobecker <brobecker@adacore.com>
13670
13671 * gdb.ada/packed_tagged.exp: Accept "boolean" as a valid type
13672 description for boolean types.
13673
13674 2008-09-09 Pedro Alves <pedro@codesourcery.com>
13675
13676 * gdb.base/hook-stop-continue.c: New.
13677 * gdb.base/hook-stop-continue.exp: New.
13678
13679 2008-09-08 Daniel Jacobowitz <dan@codesourcery.com>
13680
13681 * gdb.base/structs3.c, gdb.base/structs3.exp: New files.
13682
13683 2008-09-08 Jerome Guitton <guitton@adacore.com>
13684
13685 * gdb.arch/powerpc-aix-prologue.c (stack_check_probe_1)
13686 (stack_check_probe_2, stack_check_probe_loop_1)
13687 (stack_check_probe_loop_2): New functions.
13688 (main): Add call to these new functions.
13689 * gdb.arch/powerpc-aix-prologue.exp: When breaking on these
13690 functions, check that the breakpoint is inserted at the appropriate
13691 location.
13692 (insert_breakpoint): Slightly refine this procedure so that it can
13693 be called several times in the test.
13694
13695 2008-09-08 Jerome Guitton <guitton@adacore.com>
13696
13697 * gdb.base/stack-checking.c: New file.
13698 * gdb.base/stack-checking.exp: New file.
13699
13700 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13701
13702 * gdb.arch/altivec-abi.exp: Remove extra verbose call.
13703 * gdb.arch/altivec-regs.exp: Likewise.
13704 * gdb.arch/vsx-regs.exp: Likewise.
13705
13706 2008-09-05 Thiago Jung Bauermann <bauerman@br.ibm.com>
13707
13708 * gdb.arch/ppc-fp.exp: New file.
13709 * gdb.arch/ppc-fp.c: New file.
13710
13711 2008-09-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13712
13713 *gdb.base/mips_pro.exp: compile with gcc -fno-inline,
13714 lest gcc-4.3.1 optimizes the whole thing away.
13715
13716 2008-09-04 Michael Snyder <msnyder@vmware.com>
13717
13718 * lib/gdb.exp (gdb_continue_to_breakpoint): Accept "in" as well
13719 as "at" (for non-debug functions such as _start).
13720
13721 2008-09-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13722
13723 * gdb.base/value-double-free.exp: Respect gdb,no_hardware_watchpoints.
13724 * gdb.base/watchpoint-solib.exp: Likewise. Update tests to handle
13725 software watchpoints.
13726 * gdb.base/watch_thread_num.exp: Likewise.
13727
13728 2008-09-03 Aleksandar Ristovski <aristovski@qnx.com>
13729
13730 * gdb.arch/i386-bp_permanent.exp: New test.
13731
13732 2008-08-24 Tom Tromey <tromey@redhat.com>
13733
13734 * gdb.base/maint.exp: Update "maint print type".
13735
13736 2008-08-21 Vladimir Prus <vladimir@codesourcery.com>
13737
13738 * gdb.mi/mi-nonstop.exp: Fix the check for non-stop
13739 support. Adjust the order of "*running" notifications.
13740 * gdb.mi/non-stop.c: Don't cast from int to void* and
13741 back.
13742
13743 2008-08-20 Mark Kettenis <kettenis@gnu.org>
13744
13745 * gdb.arch/powerpc-prologue.exp: Code doesn't save %r31 so don't
13746 expect to find it in the "info frame" output.
13747
13748 2008-08-20 Daniel Jacobowitz <dan@codesourcery.com>
13749
13750 * gdb.base/interp.exp: Always consume both prompts.
13751
13752 2008-08-20 Pedro Alves <pedro@codesourcery.com>
13753
13754 * gdb.base/pending.exp: Test pending breakpoints without symbols
13755 loaded.
13756
13757 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13758
13759 * lib/mi-support.exp (mi_expect_stop): Produce
13760 more details on failures.
13761 * gdb.mi/mi-nonstop.exp: New.
13762 * gdb.mi/non-stop.c: New.
13763
13764 2008-08-19 Vladimir Prus <vladimir@codesourcery.com>
13765
13766 * gdb.mi/mi-async.exp: Use 'set target-async'.
13767 * lib/mi-support.exp: Use 'set/show target-async'.
13768
13769 2008-08-18 Daniel Jacobowitz <dan@codesourcery.com>
13770
13771 * gdb.arch/powerpc-prologue.exp: Correct saved registers.
13772
13773 2008-08-17 Tom Tromey <tromey@redhat.com>
13774
13775 * gdb.base/help.exp (help catch): Rewrite.
13776
13777 2008-08-16 Thiago Jung Bauermann <bauerman@br.ibm.com>
13778
13779 * gdb.base/define.exp: Test indented command documentation.
13780 * gdb.python/python.exp: Test indented multi-line command.
13781
13782 2008-08-15 Luis Machado <luisgpm@br.ibm.com>
13783
13784 * testsuite/gdb.arch/vsx-regs.c: New source file.
13785 * testsuite/gdb.arch/vsx-regs.exp: New testcase.
13786 * testsuite/lib/gdb.exp (skip_vsx_tests): New function.
13787
13788 2008-08-14 Tom Tromey <tromey@redhat.com>
13789
13790 * gdb.base/macscp.exp: Add regression test for "macro define" or
13791 "macro undef" with no arguments.
13792
13793 2008-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13794
13795 * gdb.base/args.exp: Prevent ~/.gdbinit from affecting test.
13796
13797 2008-08-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13798
13799 * gdb.arch/spu-info.exp: Updated for "info spu dma" changes.
13800
13801 2008-08-06 Tom Tromey <tromey@redhat.com>
13802
13803 * gdb.python/python.exp: New file.
13804
13805 2008-08-06 Jan Kratochvil <jan.kratochvil@redhat.com>
13806
13807 Fix for PR gdb/1543.
13808 * gdb.base/sep.exp: `sep-proc.c' absolute line numbers replaced with
13809 $LOCATION.
13810 (location): New variable.
13811 * config/cfdbug.exp, config/d10v.exp, config/dve.exp, config/i960.exp,
13812 config/m32r.exp, config/mn10300-eval.exp, config/proelf.exp,
13813 config/rom68k.exp, config/sh.exp, config/unix.exp, config/vr4300.exp,
13814 config/vr5000.exp, config/vxworks.exp, gdb.arch/altivec-regs.exp,
13815 gdb.arch/e500-abi.exp, gdb.arch/e500-regs.exp, gdb.asm/asm-source.exp,
13816 gdb.base/a2-run.exp, gdb.base/advance.exp, gdb.base/all-bin.exp,
13817 gdb.base/args.exp, gdb.base/arithmet.exp, gdb.base/assign.exp,
13818 gdb.base/async.exp, gdb.base/auxv.exp, gdb.base/bigcore.c,
13819 gdb.base/bigcore.exp, gdb.base/bitfields.exp, gdb.base/bitops.exp,
13820 gdb.base/break.c, gdb.base/break.exp, gdb.base/break1.c,
13821 gdb.base/call-ar-st.exp, gdb.base/call-rt-st.exp,
13822 gdb.base/call-strs.exp, gdb.base/callfuncs.c, gdb.base/callfuncs.exp,
13823 gdb.base/checkpoint.exp, gdb.base/chng-syms.exp,
13824 gdb.base/code-expr.exp, gdb.base/commands.exp, gdb.base/completion.exp,
13825 gdb.base/complex.exp, gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
13826 gdb.base/consecutive.exp, gdb.base/corefile.exp, gdb.base/cvexpr.c,
13827 gdb.base/cvexpr.exp, gdb.base/dbx.exp, gdb.base/default.exp,
13828 gdb.base/define.exp, gdb.base/del.c, gdb.base/detach.exp,
13829 gdb.base/display.exp, gdb.base/dump.exp, gdb.base/echo.exp,
13830 gdb.base/environ.exp, gdb.base/eval-skip.exp, gdb.base/exprs.exp,
13831 gdb.base/fileio.exp, gdb.base/find.exp, gdb.base/finish.exp,
13832 gdb.base/funcargs.exp, gdb.base/gcore-buffer-overflow.exp,
13833 gdb.base/gcore.exp, gdb.base/gdb1555.exp, gdb.base/gdbvars.exp,
13834 gdb.base/help.exp, gdb.base/huge.exp, gdb.base/info-proc.exp,
13835 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/langs.exp,
13836 gdb.base/lineinc.exp, gdb.base/list.exp, gdb.base/macscp.exp,
13837 gdb.base/maint.exp, gdb.base/mips_pro.exp, gdb.base/miscexprs.exp,
13838 gdb.base/nodebug.exp, gdb.base/nofield.c, gdb.base/opaque.exp,
13839 gdb.base/overlays.exp, gdb.base/page.exp, gdb.base/pc-fp.exp,
13840 gdb.base/pending.c, gdb.base/pendshr.c, gdb.base/pointers.exp,
13841 gdb.base/psymtab.exp, gdb.base/ptype.exp, gdb.base/randomize.c,
13842 gdb.base/readline.exp, gdb.base/recurse.exp, gdb.base/regs.exp,
13843 gdb.base/relational.exp, gdb.base/relocate.exp, gdb.base/remote.exp,
13844 gdb.base/reread.exp, gdb.base/return.exp, gdb.base/return2.exp,
13845 gdb.base/scope.exp, gdb.base/sect-cmd.exp, gdb.base/sep-proc.c,
13846 gdb.base/sep.c, gdb.base/sep.exp, gdb.base/sepdebug.c,
13847 gdb.base/sepdebug.exp, gdb.base/setshow.exp, gdb.base/shlib-call.exp,
13848 gdb.base/sigaltstack.c, gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
13849 gdb.base/source.exp, gdb.base/start.c, gdb.base/step-bt.c,
13850 gdb.base/step-line.exp, gdb.base/structs.c, gdb.base/structs.exp,
13851 gdb.base/structs2.exp, gdb.base/term.exp, gdb.base/twice.exp,
13852 gdb.base/type-opaque.exp, gdb.base/until.exp,
13853 gdb.base/value-double-free.c, gdb.base/varargs.exp,
13854 gdb.base/watchpoint.exp, gdb.base/whatis-exp.exp, gdb.disasm/am33.exp,
13855 gdb.disasm/h8300s.exp, gdb.disasm/hppa.exp, gdb.disasm/mn10300.exp,
13856 gdb.disasm/sh3.exp, gdb.disasm/t01_mov.exp, gdb.disasm/t02_mova.exp,
13857 gdb.disasm/t03_add.exp, gdb.disasm/t04_sub.exp, gdb.disasm/t05_cmp.exp,
13858 gdb.disasm/t06_ari2.exp, gdb.disasm/t07_ari3.exp,
13859 gdb.disasm/t08_or.exp, gdb.disasm/t09_xor.exp, gdb.disasm/t10_and.exp,
13860 gdb.disasm/t11_logs.exp, gdb.disasm/t12_bit.exp,
13861 gdb.disasm/t13_otr.exp, gdb.fortran/exprs.exp, gdb.fortran/types.exp,
13862 gdb.hp/gdb.aCC/exception.exp, gdb.hp/gdb.aCC/optimize.exp,
13863 gdb.hp/gdb.aCC/watch-cmd.exp, gdb.hp/gdb.base-hp/callfwmall.exp,
13864 gdb.hp/gdb.base-hp/dollar.exp, gdb.hp/gdb.base-hp/hwwatchbus.exp,
13865 gdb.hp/gdb.base-hp/pxdb.exp, gdb.hp/gdb.base-hp/reg-pa64.exp,
13866 gdb.hp/gdb.base-hp/reg.exp, gdb.hp/gdb.base-hp/sized-enum.exp,
13867 gdb.hp/gdb.base-hp/so-thresh.exp, gdb.hp/gdb.compat/xdb1.exp,
13868 gdb.hp/gdb.compat/xdb2.exp, gdb.hp/gdb.compat/xdb3.exp,
13869 gdb.java/jmisc.exp, gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
13870 gdb.mi/gdb669.exp, gdb.mi/gdb680.exp, gdb.mi/gdb701.exp,
13871 gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-console.exp,
13872 gdb.mi/mi-hack-cli.exp, gdb.mi/mi-pending.c, gdb.mi/mi-pendshr.c,
13873 gdb.mi/mi-pthreads.exp, gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
13874 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp, gdb.mi/mi2-basics.exp,
13875 gdb.mi/mi2-console.exp, gdb.mi/mi2-hack-cli.exp,
13876 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-read-memory.exp,
13877 gdb.mi/mi2-regs.exp, gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
13878 gdb.pascal/types.exp, gdb.stabs/weird.exp,
13879 gdb.threads/gcore-thread.exp, gdb.threads/manythreads.exp,
13880 gdb.threads/print-threads.exp, gdb.threads/pthreads.exp,
13881 gdb.threads/schedlock.exp, gdb.threads/step.exp, gdb.threads/step2.exp,
13882 gdb.threads/switch-threads.exp, gdb.threads/thread-specific.exp,
13883 gdb.threads/thread_check.exp, gdb.threads/thread_events.exp,
13884 gdb.threads/tls-nodebug.exp, gdb.threads/tls-shared.exp,
13885 gdb.threads/tls.exp, gdb.trace/actions.exp, gdb.trace/backtrace.exp,
13886 gdb.trace/circ.exp, gdb.trace/collection.exp, gdb.trace/deltrace.exp,
13887 gdb.trace/infotrace.exp, gdb.trace/limits.exp, gdb.trace/packetlen.exp,
13888 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp, gdb.trace/report.exp,
13889 gdb.trace/save-trace.exp, gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
13890 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
13891 lib/mi-support.exp, lib/trace-support.exp: Remove reference
13892 to bug-gdb@prep.ai.mit.edu .
13893
13894 2008-07-31 Vladimir Prus <vladimir@codesourcery.com>
13895
13896 * lib/mi-support.exp (mi_load_shlibs): New.
13897 * gdb.mi/mi-pending.exp: Use mi_load_shlibs, not gdb_load_shlibs.
13898
13899 2008-07-30 Vladimir Prus <vladimir@codesourcery.com>
13900
13901 * lib/mi-support.exp (get_mi_thread_list)
13902 (check_mi_and_console_threads): New, moved from ...
13903 * gdb.mi/mi-pthread.exp: ...here.
13904 * gdb.mi/gdb669.exp (get_mi_thread_list)
13905 (check_mi_and_console_threads): Delete.
13906 * gdb.mi/mi2-pthread.exp: Likewise.
13907
13908 2008-07-28 Tom Tromey <tromey@redhat.com>
13909
13910 * Makefile.in (just-check): Remove. Move body to...
13911 (check): ... here.
13912
13913 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13914
13915 * gdb.threads/manythreads.exp: Use remote_expect instead of after.
13916 Add a test for duplicated SIGINTs.
13917
13918 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13919
13920 * gdb.threads/schedlock.exp (get_args): Update to work for any
13921 value of NUM.
13922 (Top level): Report the number of threads that did not resume.
13923
13924 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13925
13926 * gdb.dwarf2/dw2-compressed.S: Also define __start.
13927
13928 2008-07-27 Daniel Jacobowitz <dan@codesourcery.com>
13929
13930 * lib/mi-support.exp (default_mi_gdb_start): Remove check for
13931 non-MI prompt.
13932
13933 2008-07-26 Tom Tromey <tromey@redhat.com>
13934
13935 * gdb.base/callfuncs.c (struct struct_with_fnptr): New struct.
13936 (function_struct, function_struct_ptr): New globals.
13937 * gdb.base/callfuncs.exp (do_function_calls): Test calling via a
13938 function pointer in a struct.
13939
13940 2008-07-26 Tom Tromey <tromey@redhat.com>
13941
13942 * gdb.base/macscp.exp: Add test for macro lexing bug.
13943
13944 2008-07-18 Tom Tromey <tromey@redhat.com>
13945
13946 * gdb.base/macscp.exp: Add macro tests.
13947
13948 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13949
13950 * gdb.base/foll-fork.exp: Fix for Linux/VDSO failure.
13951
13952 2008-07-17 Paul Pluzhnikov <ppluzhnikov@google.com>
13953
13954 * gdb.base/coremaker.c: Fix for Linux failure in gdb.base/corefile.exp
13955
13956 2008-07-15 Paul Pluzhnikov <ppluzhnikov@google.com>
13957
13958 * gdb.cp/class2.exp: fix for failure on spu-elf
13959
13960 2008-07-14 Paul Pluzhnikov <ppluzhnikov@google.com>
13961
13962 * gdb.cp/class2.exp, gdb.cp/class2.cc: Test for PR2477.
13963
13964 2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
13965
13966 * gdb.base/randomize.exp: Catch non-Linux targets as untested.
13967
13968 2008-07-12 Vladimir Prus <vladimir@codesourcery.com>
13969
13970 * lib/mi-support.exp (mi_expect_stop): Adjust for the new field.
13971
13972 2008-07-11 Kevin Buettner <kevinb@redhat.com>
13973
13974 * gdb.arch/e500-regs.exp (decimal_vector): Adjust "v8_int8" portion
13975 of regexp to account for changes made to GDB in the printing of
13976 byte vectors.
13977
13978 2008-07-11 Tom Tromey <tromey@redhat.com>
13979
13980 * gdb.base/completion.exp: Add 'help' completion test.
13981
13982 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13983
13984 * gdb.base/randomize.exp: Remove dependency on tcl-8.4+.
13985
13986 2008-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
13987
13988 * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
13989
13990 2008-07-09 Pedro Alves <pedro@codesourcery.com>
13991
13992 * gdb.base/chng-syms.exp: Don't expect "No symbol ...".
13993
13994 2008-07-09 Pedro Alves <pedro@codesourcery.com>
13995
13996 * gdb.base/fullname.exp: Restore pwd if compiling failed.
13997
13998 2008-07-07 Jan Kratochvil <jan.kratochvil@redhat.com>
13999
14000 * gdb.base/value-double-free.exp, gdb.base/value-double-free.c: New.
14001
14002 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14003
14004 * lib/mi-support.exp (mi_send_resuming_command_raw): Revert
14005 previous commit. Add a comment.
14006
14007 2008-06-28 Pedro Alves <pedro@codesourcery.com>
14008
14009 * gdb.base/sigchld.c, gdb.base/sigchld.exp: New test.
14010
14011 2008-06-28 Vladimir Prus <vladimir@codesourcery.com>
14012
14013 * lib/mi-support.exp (mi_send_resuming_command_raw): Report pass.
14014
14015 2008-06-27 Pedro Alves <pedro@codesourcery.com>
14016
14017 * lib/gdb.exp (gdb_saved_set_unbuffered_mode_obj): New global.
14018 (gdb_compile): If target is *-*-cygwin* or *-*-mingw*, and we're
14019 compiling an executable, link in an object that forces unbuffered
14020 output.
14021 * lib/set_unbuffered_mode.c: New file.
14022
14023 2008-06-25 Jan Kratochvil <jan.kratochvil@redhat.com>
14024
14025 * lib/gdb.exp (prepare_for_testing): Do not drop the OPTIONS argument.
14026
14027 2008-06-25 Vladimir Prus <vladimir@codesourcery.com>
14028
14029 * gdb.mi/mi-async.exp: Use mi_sending_resuming_command_raw and
14030 mi_expect_stop.
14031 * gdb.mi/mi-support.exp (mi_run_cmd, mi_send_resuming_command):
14032 Demand that *running is output.
14033 (detect_async): Perform checking every time.
14034 (mi_send_resuming_command): Extract everything into...
14035 (mi_send_resuming_command_raw): ...this.
14036 (mi_expect_stop): Don't accept any output before *stopped.
14037
14038 2008-06-13 Vladimir Prus <vladimir@codesourcery.com>
14039
14040 Robustify mi-simplerun.
14041 * gdb.mi/basics.c (main): Add a call to sleep.
14042 * gdb.mi/mi-cli.exp: Adjust for change in line numbers.
14043 * gdb.mi/mi2-cli.exp: Likewise.
14044 * gdb.mi/mi-break.exp: Likewise.
14045
14046 2008-06-11 Vladimir Prus <vladimir@codesourcery.com>
14047
14048 * gdb.mi/mi-break.exp (test_ignore_count): Use mi_expect_stop.
14049
14050 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14051
14052 * gdb.mi/mi-console.exp: Adjust.
14053 * gdb.mi/mi-syn-frame.exp: Adjust.
14054 * gdb.mi/mi2-console.exp: Adjust.
14055 * gdb.mi/mi2-syn-frame.exp: Adjust.
14056 * lib/mi-support.exp (mi_run_cmd): Adjust.
14057 (mi_send_resuming_command): Adjust.
14058
14059 2008-06-10 Vladimir Prus <vladimir@codesourcery.com>
14060
14061 * gdb.mi/mi-break.exp (test_ignore_count): Adjust stopped pattern.
14062 * gdb.mi/mi-syn-frame.exp: Use mi_expect_stop instead of direct
14063 testing of stopped.
14064 * gdb.mi/mi2-syn-frame.exp: Likewise.
14065 * lib/mi-support.exp (default_mi_gdb_start): Call detect_async.
14066 (async, detect_async): New.
14067 (mi_expect_stop, mi_continue_to_line): Adjust expectation
14068 depending on if we're running in sync or async mode.
14069
14070 2008-06-09 Tom Tromey <tromey@redhat.com>
14071
14072 * gdb.base/completion.exp: New tests for field name completion
14073 with spaces, and field name completion with '->'.
14074
14075 2008-06-06 Tom Tromey <tromey@redhat.com>
14076
14077 * gdb.base/break1.c (struct some_struct): New struct.
14078 (values): New global.
14079 * gdb.base/completion.exp: Add field name completion test.
14080
14081 2008-06-06 Paul Pluzhnikov <ppluzhnikov@google.com>
14082
14083 * gdb.cp/call-c.exp: Test for incorrect handling of reference
14084 to pointer.
14085 * gdb.cp/call-c.cc: Likewise.
14086
14087 2008-06-06 Nick Roberts <nickrob@snap.net.nz>
14088
14089 * gdb.base/annota1.exp (thread_switch): Test for thread-changed
14090 annotation.
14091
14092 2008-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14093 Pedro Alves <pedro@codesourcery.com>
14094
14095 * gdb.threads/execl.c, gdb.threads/execl1.c,
14096 gdb.threads/execl.exp: New tests.
14097
14098 2008-06-05 Aleksandar Ristovski <aristovski@qnx.com>
14099 Daniel Jacobowitz <dan@codesourcery.com>
14100
14101 * gdb.cp/exception.exp: Activate test, make it work with pending
14102 catchpoints.
14103
14104 2008-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
14105
14106 * dw2-ref-missing-frame.S, dw2-ref-missing-frame.exp: New files.
14107
14108 2008-05-28 Vladimir Prus <vladimir@codesourcery.com>
14109
14110 * gdb.mi/mi-var-cmd.exp: Adjust for the fact that type_changed field is
14111 now printed.
14112 * gdb.mi/mi2-var-cmd.exp: Likewise.
14113
14114 2008-05-27 Andreas Schwab <schwab@suse.de>
14115
14116 * gdb.base/frame-args.exp: Handle arguments that are optimized
14117 out.
14118
14119 2008-05-26 Luis Machado <luisgpm@br.ibm.com>
14120
14121 * gdb.arch/ppc64-atomic-inst.exp: Make the expected compile failure
14122 quiet for ppc32 and group options into a single variable.
14123
14124 2008-05-23 Joel Brobecker <brobecker@adacore.com>
14125
14126 * gdb.ada/null_array/foo.adb: Add multi-dimensional array
14127 of zero-size elements.
14128 * gdb.ada/null_array.exp: Test printing this new array.
14129
14130 2008-05-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14131
14132 * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
14133
14134 2008-05-21 Joel Brobecker <brobecker@adacore.com>
14135
14136 * gdb.base/finish.exp: Test that "fin" works as an abbreviation
14137 of the "finish" command.
14138
14139 2008-05-21 Nick Roberts <nickrob@snap.net.nz>
14140
14141 * gdb.base/annota1.exp: Test for new annotation.
14142
14143 2008-05-16 Pedro Alves <pedro@codesourcery.com>
14144
14145 * gdb.base/fixsection.exp: New file.
14146 * gdb.base/fixsection0.c: New file.
14147 * gdb.base/fixsection1.c: New file.
14148
14149 2008-05-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14150
14151 * gdb.base/annota1.exp: Accept printf@... in place of printf.
14152 * gdb.base/annota3.exp: Likewise.
14153
14154 2008-05-13 Nathan Froyd <froydnj@codesourcery.com>
14155
14156 * gdb.base/watch_thread_num.exp: Don't run tests that require
14157 watchpoints if the target doesn't support them.
14158
14159 2008-05-12 Doug Evans <dje@google.com>
14160
14161 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.
14162
14163 2008-05-09 Joel Brobecker <brobecker@adacore.com>
14164
14165 * gdb.ada/assign_1.exp: New testcase.
14166
14167 2008-05-09 Doug Evans <dje@google.com>
14168
14169 * gdb.base/find.exp: New file.
14170 * gdb.base/find.c: New file.
14171
14172 2008-05-08 Daniel Jacobowitz <dan@codesourcery.com>
14173
14174 * gdb.base/commands.exp (watchpoint_command_test): Handle
14175 gdb,no_hardware_watchpoints.
14176 * gdb.base/float.exp: Allow ARM targets without floating point.
14177 * gdb.base/step-test.exp: Allow callee@plt when stepping in.
14178
14179 2008-05-06 Jerome Guitton <guitton@adacore.com>
14180 Joel Brobecker <brobecker@adacore.com>
14181
14182 * gdb.ada/lang_switch: New test program.
14183 * gdb.ada/lang_switch.exp: New testcase.
14184
14185 2008-05-05 Doug Evans <dje@google.com>
14186
14187 * gdb.base/help.exp (disassemble): Update expected help text.
14188
14189 2008-05-04 Pedro Alves <pedro@codesourcery.com>
14190
14191 * gdb.base/longjmp.c, gdb.base/longjmp.exp: New files.
14192
14193 2008-05-04 Pedro Alves <pedro@codesourcery.com>
14194
14195 * gdb.cp/annota2.exp: Adjust to breakpoints invalidations at
14196 different times.
14197
14198 2008-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
14199
14200 * gdb.dwarf2/dw2-ranges.S: Merge the secondary section with `.fini'.
14201 * gdb.dwarf2/dw2-ranges.exp: Compile also `dw2-ranges2.S' and
14202 `dw2-ranges3.S' and test also their MAIN2, FUNC2 and MAIN3 symbols.
14203 * gdb.dwarf2/dw2-ranges2.S, gdb.dwarf2/dw2-ranges3.S: New files.
14204
14205 2008-05-04 Vladimir Prus <vladimir@codesourcery.com>
14206
14207 * lib/mi-support.exp (mi_run_cmd): Allow for =thread-created
14208 notification to appear.
14209
14210 2008-05-04 Daniel Jacobowitz <dan@debian.org>
14211
14212 * gdb.base/fullname.c: New file.
14213 * gdb.base/fullname.exp: New file.
14214 * lib/gdb.exp (gdb_breakpoint): Support no-message option.
14215
14216 2008-05-03 Pedro Alves <pedro@codesourcery.com>
14217
14218 * gdb.base/macscp.exp, gdb.base/macscp1.c: Add test for printing
14219 expressions with macros.
14220
14221 2008-05-03 Jan Kratochvil <jan.kratochvil@redhat.com>
14222
14223 * gdb.base/dfp-test.exp: Fix random FAIL risk on calling functions.
14224
14225 2008-05-02 Daniel Jacobowitz <dan@codesourcery.com>
14226
14227 * gdb.base/completion.exp: Handle lack of other symbols beginning
14228 with "a".
14229
14230 * gdb.base/varargs.exp: Correct quoting for options to gdb_compile.
14231
14232 2008-05-02 Jim Blandy <jimb@codesourcery.com>
14233
14234 * gdb.asm/asmsrc1.s: Add scratch space.
14235
14236 2008-05-01 Jan Kratochvil <jan.kratochvil@redhat.com>
14237 Daniel Jacobowitz <dan@codesourcery.com>
14238
14239 * gdb.threads/attach-into-signal.c, gdb.threads/attach-into-signal.exp,
14240 gdb.threads/attach-stopped.c, gdb.threads/attach-stopped.exp,
14241 gdb.threads/attachstop-mt.c, gdb.threads/attachstop-mt.exp: New.
14242
14243 2007-05-01 Daniel Jacobowitz <dan@codesourcery.com>
14244
14245 * gdb.arch/thumb-prologue.exp: Do not expect a saved PC.
14246
14247 2008-05-01 Joel Brobecker <brobecker@adacore.com>
14248
14249 * gdb.base/info-target.exp: New testcase.
14250
14251 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14252
14253 * gdb.cp/hang.exp: Use .cc instead of .C.
14254 * gdb.cp/hang1.cc, gdb.cp/hang2.cc, gdb.cp/hang3.cc: Renamed from ...
14255 * gdb.cp/hang1.C, gdb.cp/hang2.C, gdb.cp/hang3.C: ... here.
14256
14257 2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
14258
14259 * gdb.base/gdb1250.exp: Remove perror.
14260 * lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
14261
14262 2008-04-30 Pedro Alves <pedro@codesourcery.com>
14263
14264 * gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by
14265 .2byte.
14266
14267 2008-04-25 Daniel Jacobowitz <dan@codesourcery.com>
14268
14269 * gdb.base/macscp.exp: Enable kfails. Compile with -g3 for GCC.
14270 (maybe_kfail): New.
14271
14272 2008-04-25 Pedro Alves <pedro@codesourcery.com>
14273
14274 * gdb.dwarf2/dw2-strp.S, gdb.dwarf2/dw2-strp.exp: New files.
14275
14276 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14277
14278 * gdb.mi/mi-syn-frame.exp: Adjust for token disappearance.
14279 * gdb.mi/mi2-syn-frame.exp: Likewise.
14280 * lib/mi-support.exp: Likewise.
14281
14282 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14283
14284 * lib/gdb.exp (gdb_continue_to_breakpoint): Allow the caller
14285 to specify regexp for the location to stop at.
14286 * gdb.base/break-always.c: New.
14287 * gdb.base/break-always.exp: New.
14288
14289 2008-04-24 Vladimir Prus <vladimir@codesourcery.com>
14290
14291 * lib/mi-support.exp (mi_runto_helper): Adjust
14292 for the original-location field.
14293 (mi_create_breakpoint, mi_list_breakpoints): New.
14294 * gdb.mi/mi-break.exp: Adjust.
14295 * gdb.mi/mi2-break.exp: Adjust.
14296 * gdb.mi/mi-pending.exp: Adjust.
14297 * gdb.mi/mi-simplerun.exp: Adjust.
14298 * gdb.mi/mi2-simplerun.exp: Adjust.
14299 * gdb.mi/mi-syn-frame.exp: Adjust.
14300 * gdb.mi/mi2-syn-frame.exp: Adjust.
14301 * gdb.mi/mi-until.exp: Adjust.
14302 * gdb.mi/mi2-until.exp: Adjust.
14303 * gdb.mi/mi-var-display.exp: Adjust.
14304 * gdb.mi/mi2-var-display.exp: Adjust.
14305 * gdb.mi/mi-watch.exp: Adjust.
14306 * gdb.mi/mi2-watch.exp: Adjust.
14307
14308 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
14309
14310 * aclocal.m4: Add override.m4.
14311 * configure: Regenerate.
14312
14313 2008-04-19 Vladimir Prus <vladimir@codesourcery.com>
14314
14315 * gdb.mi/var-cmd.c (do_at_tests): Verify that
14316 '-var-update --all-values' reports new value even the type
14317 of a variable object has changed.
14318
14319 2008-04-18 Craig Silverstein <csilvers@google.com>
14320
14321 * gdb.dwarf2/dw2-compressed.S, gdb.dwarf2/dw2-compressed.exp: New
14322 files.
14323
14324 2008-04-18 Joel Brobecker <brobecker@adacore.com>
14325
14326 * gdb.ada/atomic_enum: New test program.
14327 * gdb.ada/atomic_enum.exp: New testcase.
14328
14329 2008-04-17 Doug Evans <dje@google.com>
14330
14331 * gdb.opt/Makefile.in: Fix whitespace.
14332
14333 2008-04-17 Daniel Jacobowitz <dan@codesourcery.com>
14334
14335 * gdb.threads/linux-dp.exp: Continue after unrecognized lines.
14336
14337 2008-04-17 Doug Evans <dje@google.com>
14338
14339 * gdb.base/hashline1.exp: New testcase.
14340 * gdb.base/hashline2.exp: New testcase.
14341 * gdb.base/hashline2.exp: New testcase.
14342
14343 2008-04-17 Pedro Alves <pedro@codesourcery.com>
14344
14345 * gdb.base/step-break.exp, gdb.base/step-break.c: New files.
14346
14347 2008-04-15 Aleksandar Ristovski <aristovski@qnx.com>
14348
14349 * gdb.base/attach.exp (do_attach_tests): Matching pattern for
14350 temporary breakpoint to match "Temporary breakpoint".
14351 * gdb.base/break.exp (delete_breakpoints): Likewise.
14352 * gdb.base/call-ar-st.exp (get_debug_format): Likewise.
14353 * gdb.base/commands.exp (temporary_breakpoint_commands): Likewise.
14354 * gdb.base/display.exp: Likewise.
14355 * gdb.base/foll-exec.exp (do_exec_tests): Likewise.
14356 * gdb.base/foll-fork.exp (catch_fork_child_follow): Likewise.
14357 * gdb.base/restore.exp (restore_tests): Likewise.
14358 * gdb.base/sepdebug.exp: Likewise.
14359 * gdb.base/watchpoint.exp: Likewise.
14360 * gdb.mi/mi-cli.exp: Added argument for new "disp" field.
14361 * gdb.mi/mi-pending.exp: Likewise.
14362 * gdb.mi/mi-simplerun.exp (test_running_the_program): Likewise.
14363 * gdb.mi/mi-until.exp (test_runnint_to_foo): Likewise.
14364 * gdb.mi/mi-var-cmd.exp: Likewise.
14365 * gdb.mi/mi-var-display.exp: Likewise.
14366 * gdb.mi/mi2-cli.exp: Likewise.
14367 * gdb.mi/mi2-simplerun.exp (test_running_the_program): Likewise.
14368 * gdb.mi/mi2-until.exp (test_running_to_foo): Likewise.
14369 * gdb.mi/mi2-var-display.exp: Likewise.
14370 * lib/gdb.exp (gdb_breakpoint): Pattern for temporary breakpoint.
14371 * lib/mi-support.exp (mi_runto_helper): Use "after_reason" argument for
14372 new "disp" field.
14373 (mi_expect_stop): Move after_reason argument to be really after
14374 reason. This is to support fix for PR2424.
14375
14376 2008-04-15 Jan Kratochvil <jan.kratochvil@redhat.com>
14377
14378 * gdb.dwarf2/dw2-ranges.S: New stub `.file' directive.
14379
14380 2008-04-13 Vladimir Prus <vladimir@codesourcery.com>
14381
14382 * gdb.mi/mi-var-cmd.exp: Adjust for appearance of type_changed
14383 field. Add more floating varobj tests.
14384 * gdb.mi/mi2-var-cmd.exp: Adjust for appearance of type_changed
14385 field.
14386 * gdb.mi/var-cmd.c (do_at_tests_callee, do_at_tests): New.
14387 (main): Call do_at_tests.
14388 * lib/mi-support.exp (mi_create_floating_varobj)
14389 (mi_varobj_update_with_type_change): New.
14390
14391 2008-04-09 Marc Khouzam <marc.khouzam@ericsson.com>
14392
14393 * gdb.mi/mi2-var-display.exp: Added tests for the new -f
14394 option of -var-evaluate-expression.
14395 * gdb.mi/mi2-var-display.exp: Likewise.
14396
14397 2008-04-07 Vladimir Prus <vladimir@codesourcery.com>
14398
14399 Introduce test setup helpers.
14400 * lib/gdb.exp (build_executable, clean_restart)
14401 (prepare_for_testing): New.
14402 * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
14403 * gdb.base/return.exp: Likewise.
14404 * gdb.base/ending-run.exp: Likewise.
14405
14406 2008-04-07 Nick Roberts <nickrob@snap.net.nz>
14407
14408 * gdb.mi/mi-async.exp: New test for asynchronous Machine
14409 Interface (MI) responses.
14410
14411 2008-04-06 Vladimir Prus <vladimir@codesourcery.com>
14412
14413 * gdb.cp/breakpoint.cc: New code to test conditions involving
14414 member variables.
14415 * gdb.cp/breakpoint.exp: Test condition involving member
14416 variables.
14417
14418 2008-04-05 Vladimir Prus <vladimir@codesourcery.com>
14419
14420 * lib/mi-support.exp (mi_expect_stop): New.
14421 (mi_run_cmd): Change the
14422 token. Use mi_send_resuming_command, use
14423 mi_expect_stop.
14424 (mi_execute_to_helper): Rename to mi_execute_to.
14425 (mi_send_resuming_command): Add more error patterns.
14426 (mi_wait_for_stop): Renamed to...
14427 (mi_get_stop_line): ...this.
14428 (mi_run_inline_test): Adjust.
14429
14430 * gdb.mi/mi-cli.exp: Use mi_execute_to/mi_expect_stop.
14431 * gdb.mi/mi-console.exp: Likewise.
14432 * gdb.mi/mi-pending.exp: Likewise.
14433 * gdb.mi/mi-simplerun.exp: Likewise.
14434 * gdb.mi/mi-stack.exp: Likewise.
14435 * gdb.mi/mi-stepi.exp: Likewise.
14436 * gdb.mi/mi-syn-frame.exp: Add comment.
14437 * gdb.mi/mi-until.exp: Likewise.
14438 * gdb.mi/mi-var-display.exp: Likewise.
14439 * gdb.mi/mi-watch.exp: Likewise.
14440 * gdb.mi/mi2-cli.exp: Likewise.
14441 * gdb.mi/mi2-console.exp: Likewise.
14442 * gdb.mi/mi2-simplerun.exp: Likewise.
14443 * gdb.mi/mi2-stack.exp: Likewise.
14444 * gdb.mi/mi2-stepi.exp: Likewise.
14445 * gdb.mi/mi2-until.exp: Likewise.
14446 * gdb.mi/mi2-var-display.exp: Likewise.
14447 * gdb.mi/mi2-watch.exp: Likewise.
14448
14449 2008-04-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14450
14451 * gdb.base/watch_thread_num.exp: Use gdb_compile_pthreads.
14452
14453 * gdb.cp/mb-templates.exp: Skip test on spu*-*-* targets.
14454
14455 2008-04-04 Pedro Alves <pedro@codesourcery.com>
14456
14457 * gdb.mi/mi-disassemble.exp, gdb.mi/mi-stack.exp,
14458 gdb.mi/mi-syn-frame.exp, gdb.mi/mi-var-block.exp,
14459 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
14460 gdb.mi/mi2-disassemble.exp, gdb.mi/mi2-stack.exp,
14461 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-var-block.exp,
14462 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp: Update to not
14463 expect an mi error duplicated in stderr.
14464
14465 2008-04-03 Joel Brobecker <brobecker@adacore.com>
14466
14467 * gdb.cp/ovldbreak.cc: Add missing bodies for methods foo::foofunc.
14468 * gdb.cp/ovldbreak.exp: Set multiple-symbols to "ask".
14469 Add a couple of tests that verify the behavior when the new setting
14470 is set to "cancel" and "all".
14471 * gdb.cp/method2.exp, gdb.cp/templates.exp: Set multiple-symbols to
14472 "ask" before we start the testing.
14473
14474 2008-04-01 Aleksandar Ristovski <aristovski@qnx.com>
14475
14476 * gdb.cp/casts.cc: Add class reference variables.
14477 * gdb.cp/casts.exp: New test cases for up/down casting references.
14478
14479 2008-04-01 Marc Khouzam <marc.khouzam@ericsson.com>
14480
14481 * gdb.mi/mi-var-display.exp: Stop at end of do_special_tests
14482 instead of beginning to make an extra test pass.
14483 * gdb.mi/mi2-var-display.exp: Likewise.
14484
14485 2008-03-31 Maciej W. Rozycki <macro@mips.com>
14486
14487 * gdb.base/break.exp: Mark failures as such. Fix formatting.
14488
14489 2008-03-31 Markus Deuling <deuling@de.ibm.com>
14490 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14491
14492 * gdb.arch/spu-info.exp (info spu mailbox): Check for correct initial
14493 value. Add xfail for older kernels.
14494
14495 2008-03-28 Aleksandar Ristovski <aristovski@qnx.com>
14496
14497 Bring mi-support in line with gdb.exp.
14498 * lib/mi-support.exp (default_mi_gdb_start): Rename from mi_gdb_start.
14499 (mi_gdb_start): New function.
14500
14501 2008-03-28 Maciej W. Rozycki <macro@mips.com>
14502
14503 * gdb.mi/mi-var-cmd.exp: Fix a typo.
14504
14505 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14506
14507 * gdb.mi/mi-var-display.exp: Remove obsolete xfail.
14508 * gdb.mi/mi2-var-display.exp: Likewise.
14509
14510 2008-03-26 Vladimir Prus <vladimir@codesourcery.com>
14511
14512 * lib/mi-support.exp (mi_create_varobj_checked): New.
14513 (mi_list_varobj_children): Allow to check for a
14514 value.
14515 (mi_list_array_varobj_children): New.
14516
14517 * gdb.mi/mi-var-child.exp: Use mi_create_varobj
14518 and mi_list_varobj_children, as opposed to hardcoding
14519 expected strings.
14520 * gdb.mi/gdb701.exp: Likewise.
14521 * gdb.mi/gdb792.exp: Likewise.
14522 * gdb.mi/mi-var-block.exp: Likewise.
14523 * gdb.mi/mi-var-cmd.exp: Likewise.
14524 * gdb.mi/mi-var-invalidate.exp: Likewise.
14525 * gdb.mi/mi2-var-block.exp: Likewise.
14526 * gdb.mi/mi2-var-child.exp: Likewise.
14527 * gdb.mi/mi2-var-cmd.exp: Likewise.
14528 * gdb.mi/mi2-var-display.exp: Likewise.
14529
14530 2008-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
14531
14532 Fix random false FAILs on i386.
14533 * gdb.base/prelink.exp: Use `--no-exec-shield' for prelink.
14534
14535 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14536
14537 PR gdb/544
14538 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Reapply 2008-03-21 changes.
14539
14540 2008-03-23 Daniel Jacobowitz <dan@codesourcery.com>
14541
14542 PR gdb/544
14543 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Revert 2008-03-21 changes.
14544
14545 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14546
14547 * gdb.cp/annota2.exp, gdb.cp/annota3.exp: Remove KFAIL for
14548 fixed PR gdb/544.
14549
14550 2008-03-21 Pedro Alves <pedro@codesourcery.com>
14551
14552 * gdb.threads/fork-child-threads.exp: Test next over fork.
14553
14554 2008-03-21 Chris Demetriou <cgd@google.com>
14555
14556 * gdb.base/break.exp (rbreak junk): New test for rbreak
14557 "Junk at end of arguments" issue.
14558
14559 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14560
14561 * gdb.base/printcmds.exp (test_print_array_constants): Do not expect
14562 *& to work on created array elements.
14563 (Top level): Test print $pc with a file. Test string operations
14564 without a target.
14565 * gdb.base/ptype.exp: Do not expect *& to work on created array
14566 elements.
14567
14568 2008-03-21 Daniel Jacobowitz <dan@codesourcery.com>
14569
14570 * gdb.threads/killed.exp, gdb.threads/manythreads.exp,
14571 gdb.threads/staticthreads.exp: Update exit query.
14572
14573 2008-03-07 Sandra Loosemore <sandra@codesourcery.com>
14574
14575 * lib/gdb.exp (gdb_load_cmd): Fix $args typo in timeout error message.
14576
14577 2008-03-03 Daniel Jacobowitz <dan@codesourcery.com>
14578
14579 * gdb.base/watchpoint.c (global_ptr, func4): New.
14580 (main): Call func4.
14581 * gdb.base/watchpoint.exp: Call test_inaccessible_watchpoint.
14582 (test_inaccessible_watchpoint): New.
14583
14584 2008-02-29 Maciej W. Rozycki <macro@mips.com>
14585
14586 * lib/gdb.exp (gdb_expect): Of all the timeouts provided always
14587 select the largest.
14588
14589 2008-02-28 Daniel Jacobowitz <dan@codesourcery.com>
14590
14591 * gdb.base/annota1.exp, gdb.cp/annota2.exp: Update for fewer
14592 frames-invalid annotations.
14593
14594 2008-02-28 Pierre Muller <muller@ics.u-strasbg.fr>
14595
14596 * gdb.base/assign.exp: avoid same output for different tests.
14597
14598 2008-02-27 Doug Evans <dje@google.com>
14599
14600 * gdb.base/sigstep.exp (breakpoint_to_handler): Remove setup_kfail
14601 for bug 1738.
14602 (breakpoint_to_handler_entry): Ditto.
14603
14604 2008-02-27 Joel Brobecker <brobecker@adacore.com>
14605
14606 * gdb.base/ending-run.exp: Use the first line of code inside
14607 function body to test breakpoints.
14608 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Adjust the actual
14609 location where the breakpoint is inserted when using the line
14610 where a function is declared. Fix typo in the description of
14611 one of the tests.
14612 * gdb.mi/mi-simplerun.exp, gdb.mi/mi2-simplerun.exp: Likewise.
14613
14614 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14615
14616 * gdb.arch/i386-sse.exp: avoid same output for two breakpoint setting
14617 tests.
14618
14619 2008-02-27 Pierre Muller <muller@ics.u-strasbg.fr>
14620
14621 * gdb.base/args.exp: avoid same output for tests
14622 with single quotes.
14623
14624 2008-02-26 Vladimir Prus <vladimir@codesourcery.com>
14625
14626 * gdb.base/annota1.exp: Adjust for 'info break'
14627 format changes.
14628 * gdb.base/annota3.exp: Likewise.
14629 * gdb.base/break.exp: Likewise.
14630 * gdb.base/condbreak.exp: Likewise.
14631 * gdb.base/pending.exp: Likewise.
14632 * gdb.base/sepdebug.exp: Likewise.
14633 * gdb.base/unload.exp: Likewise.
14634 * gdb.cp/ovldbreak.exp: Likewise.
14635 * gdb.mi/mi-pending.exp: Likewise.
14636
14637 2008-02-07 Doug Evans <dje@google.com>
14638
14639 * gdb.cp/mb-inline.exp: New.
14640 * gdb.cp/mb-inline.h: New.
14641 * gdb.cp/mb-inline1.cc: New.
14642 * gdb.cp/mb-inline2.cc: New.
14643
14644 2008-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
14645
14646 * gdb.pascal/floats.pas: New test program.
14647 * gdb.pascal/floats.exp: New testcase.
14648
14649 2008-02-06 Thiago Jung Bauermann <bauerman@br.ibm.com>
14650
14651 * gdb.base/callfuncs.c (t_float_many_args): New function.
14652 (t_double_many_args): New function.
14653 * gdb.base/callfuncs.exp: Add tests for exceeding float
14654 and double parameters passed through the stack.
14655
14656 2008-02-05 Joel Brobecker <brobecker@adacore.com>
14657
14658 * gdb.ada/complete/pck.ads, gdb.ada/complete/pck.adb,
14659 gdb.ada/complete/foo.adb: New files.
14660 * gdb.ada/complete.exp: New testcase.
14661
14662 2008-02-03 Doug Evans <dje@google.com>
14663
14664 * gdb.base/whatis-exp.exp: Fix expected result of whatis x+y, x-y, x*y.
14665
14666 * gdb.cp/gdb2384.exp: New file.
14667 * gdb.cp/gdb2384.cc: New file.
14668 * gdb.cp/gdb2384-base.h: New file.
14669 * gdb.cp/gdb2384-base.cc: New file.
14670
14671 2008-02-02 Doug Evans <dje@google.com>
14672
14673 * gdb.base/sigall.c (main): Ensure all signals aren't blocked.
14674
14675 2007-02-01 Joel Brobecker <brobecker@adacore.com>
14676
14677 * gdb.ada/sym_print_name: New test program.
14678 * gdb.ada/sym_print_name.exp: New testcase.
14679
14680 2007-02-01 Joel Brobecker <brobecker@adacore.com>
14681
14682 * gdb.ada/nested/hello.adb: New file.
14683 * gdb.ada/nested.exp: New testcase.
14684 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
14685
14686 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14687
14688 * gdb.mi/basic.c (return_1): New function.
14689 * gdb.mi/mi-break.exp: Make sure that failed -break-insert
14690 don't cause future evaluations of function to report
14691 creation of internal breakpoints.
14692
14693 2008-02-01 Vladimir Prus <vladimir@codesourcery.com>
14694
14695 * gdb.mi/mi-break.exp (test_error): New.
14696 Call it.
14697
14698 2008-01-31 Luis Machado <luisgpm@br.ibm.com>
14699
14700 * gdb.arch/ppc64-atomic-inst.c: New testcase source file.
14701 * gdb.arch/ppc64-atomic-inst.exp: New testcase expect file.
14702
14703 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14704
14705 * gdb.pascal/integers.pas: New test program.
14706 * gdb.pascal/integers.exp: New testcase.
14707
14708 2008-01-31 Pierre Muller <muller@ics.u-strasbg.fr>
14709
14710 * gdb.pascal/hello.exp (binfile): Add ${EXEEXT}.
14711
14712 2008-01-30 Luis Machado <luisgpm@br.ibm.com>
14713
14714 * gdb.arch/powerpc-d128-regs.exp: New testcase expect file.
14715 * gdb.arch/powerpc-d128-regs.c: New testcase source file.
14716
14717 2008-01-30 Paul Hilfinger <hilfinger@adacore.com>
14718
14719 * gdb.ada/formatted_ref: New test program.
14720 * gdb.ada/formatted_ref.exp: New testcase.
14721
14722 * gdb.cp/formatted-ref.cc: New file.
14723 * gdb.cp/formatted-ref.exp: New testcase.
14724
14725 2008-01-30 Joel Brobecker <brobecker@adacore.com>
14726
14727 * gdb.base/ptype.exp: Add testing of "ptype $pc".
14728
14729 2008-01-30 Nick Roberts <nickrob@snap.net.nz>
14730
14731 * gdb.mi/mi-file.exp, gdb.mi/mi2-file.exp
14732 (test_file_list_exec_source_file): Update to new macro-info field.
14733
14734 2008-01-30 Paul N. Hilfinger <hilfinger@adacore.com>
14735
14736 * gdb.ada/exprs: New test program.
14737 * gdb.ada/exprs.exp: New testcase.
14738
14739 2008-01-30 Thiago Jung Bauermann <bauerman@br.ibm.com>
14740
14741 * dfp-test.c (DELTA, DELTA_B): New definitions.
14742 (double_val1, double_val2, double_val3, double_val4, double_val5,
14743 double_val6, double_val7, double_val8, double_val9, double_val10,
14744 double_val11, double_val12, double_val13, double_val14, dec32_val1,
14745 dec32_val2, dec32_val3, dec32_val4, dec32_val5, dec32_val6, dec32_val7,
14746 dec32_val8, dec32_val9, dec32_val10, dec32_val11, dec32_val12,
14747 dec32_val13, dec32_val14, dec32_val15, dec32_val16, dec64_val1,
14748 dec64_val2, dec64_val3, dec64_val4, dec64_val5, dec64_val6, dec64_val7,
14749 dec64_val8, dec64_val9, dec64_val10, dec64_val11, dec64_val12,
14750 dec64_val13, dec64_val14, dec64_val15, dec64_val16, dec128_val1,
14751 dec128_val2, dec128_val3, dec128_val4, dec128_val5, dec128_val6,
14752 dec128_val7, dec128_val8, dec128_val9, dec128_val10, dec128_val11,
14753 dec128_val12, dec128_val13, dec128_val14, dec128_val15,
14754 dec128_val16): New global variables.
14755 (decimal_dec128_align): New function.
14756 (decimal_mixed): Likewise.
14757 (decimal_many_args_dec32): Likewise.
14758 (decimal_many_args_dec64): Likewise.
14759 (decimal_many_args_dec128): Likewise.
14760 (decimal_many_args_mixed): Likewise.
14761 * dfp-test.exp: Add tests calling new inferior functions.
14762
14763 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14764
14765 * gdb.server/ext-attach.c, gdb.server/ext-attach.exp,
14766 gdb.server/ext-run.exp: New files.
14767 * lib/gdbserver-support.exp (gdbserver_download): New.
14768 (gdbserver_start): New. Update gdbserver expected
14769 output.
14770 (gdbserver_spawn): Use them.
14771 (gdbserver_start_extended): New.
14772
14773 2008-01-29 Daniel Jacobowitz <dan@codesourcery.com>
14774
14775 * gdb.base/foll-exec.exp: Update header. Skip on remote targets.
14776 Run on GNU/Linux.
14777 (do_exec_tests): Check for systems which do not support catchpoints.
14778 Do not match START.
14779 * gdb.base/foll-fork.exp: Update header. Skip on remote targets.
14780 Run on GNU/Linux. Enable verbose output.
14781 (check_fork_catchpoints): New.
14782 (explicit_fork_child_follow, catch_fork_child_follow)
14783 (tcatch_fork_parent_follow): Update expected messages.
14784 (do_fork_tests): Use check_fork_catchpoints.
14785 * gdb.base/foll-vfork.exp: Update header. Skip on remote targets.
14786 Run on GNU/Linux. Enable verbose output.
14787 (check_vfork_catchpoints): New.
14788 (vfork_parent_follow_to_bp, tcatch_vfork_then_child_follow): Update
14789 expected messages.
14790 (do_vfork_and_exec_tests): Use check_fork_catchpoints.
14791
14792 2008-01-29 Jim Blandy <jimb@red-bean.com>
14793
14794 * lib/gdbserver-support.exp (gdb_target_cmd): Recognize 'unknown
14795 host' errors.
14796 * lib/mi-support.exp (mi_gdb_target_cmd): Same.
14797
14798 2008-01-29 Jim Blandy <jimb@red-bean.com>
14799
14800 * gdb.threads/sigthread.c: Use barriers to ensure that
14801 child_thread and child_thread_two are always initialized before we
14802 start to use them.
14803
14804 2008-01-29 Vladimir Prus <vladimir@codesourcery.com>
14805
14806 * gdb.base/watchpoint-solib.exp: New.
14807 * gdb.base/watchpoint-solib.c: New.
14808 * gdb.base/watchpoint-solib-shr.c: New.
14809
14810 2008-01-29 Pierre Muller <muller@ics.u-strasbg.fr>
14811
14812 * gdb.base/gdb1056.exp: Add unsigned integer test.
14813
14814 2008-01-28 Doug Evans <dje@google.com>
14815
14816 * gdb.base/maint.exp: Tighten patterns looking for .text/.data/.bss.
14817
14818 2008-01-27 Jim Blandy <jimb@codesourcery.com>
14819
14820 * gdb.base/expand-psymtabs.exp: Doc fix to the doc fix.
14821
14822 * gdb.base/expand-psymtabs.exp: Doc fix.
14823
14824 2008-01-26 Mark Kettenis <kettenis@gnu.org>
14825
14826 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
14827
14828 2008-01-24 Nick Roberts <nickrob@snap.net.nz>
14829
14830 * gdb.mi/mi2-var-display.exp: Add value field to tests for output of
14831 -var-set-format.
14832
14833 2008-01-23 Chris Demetriou <cgd@google.com>
14834
14835 * gdb.threads/thread_events.c: New testcase source file.
14836 * gdb.threads/thread_events.exp: New testcase expect file.
14837
14838 2008-01-23 Nick Roberts <nickrob@snap.net.nz>
14839
14840 * lib/gdb.exp: Add the variable octal.
14841
14842 * gdb.mi/mi-var-display.exp: Add value field to tests for output of
14843 -var-set-format.
14844
14845 2008-01-22 Daniel Jacobowitz <dan@codesourcery.com>
14846 Vladimir Prus <vladimir@codesourcery.com>
14847
14848 * gdb.base/float.exp: Allow missing floating point for m68k and
14849 PowerPC.
14850
14851 2008-01-22 Vladimir Prus <vladimir@codesourcery.com>
14852
14853 * gdb.mi/basics.c: Setup for testing breakpoints
14854 ignore count.
14855 * gdb.mi/mi-break.exp: Test for breakpoint ignore count.
14856 * gdb.mi/mi-cli.exp: Adjust.
14857 * gdb.mi/mi2-cli.exp: Adjust.
14858
14859 2008-01-17 Pedro Alves <pedro@codesourcery.com>
14860
14861 * gdb.mi/mi-var-child.c (do_children_tests): Add 'dummy' integer
14862 and 'dummy_ptr' integer pointer. Initialize struct_declarations
14863 with dummy_ptr's address.
14864 * gdb.mi/var-cmd.c (do_children_tests): Likewise.
14865 * gdb.mi/mi-var-child.exp: int_ptr_ptr is now always "editable" on
14866 all targets.
14867 * gdb.mi/mi2-var-child.exp: Likewise.
14868
14869 2008-01-09 Joel Brobecker <brobecker@adacore.com>
14870
14871 * gdb.ada/null_array: New test program.
14872 * gdb.ada/null_array.exp: New testcase.
14873
14874 2008-01-09 Luis Machado <luisgpm@br.ibm.com>
14875
14876 * gdb.base/printcmds.exp (test_printf_with_dfp): Update printf calls
14877 with required float modifiers.
14878
14879 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14880
14881 * gdb.ada/funcall_param: New test program.
14882 * gdb.ada/funcall_param.exp: New testcase.
14883
14884 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14885
14886 * gdb.ada/arrayparam: New test program.
14887 * gdb.ada/arrayparam.exp: New testcase.
14888
14889 2008-01-08 Joel Brobecker <brobecker@adacore.com>
14890
14891 * gdb.ada/print_pc.exp: Add verification of where gdb_start_cmd
14892 landed. Should also fix random failures in the test following it.
14893
14894 2008-01-07 Thiago Jung Bauermann <bauerman@br.ibm.com>
14895
14896 * gdb.base/dfp-exprs.exp (test_dfp_arithmetic_expressions): Add tests
14897 for expressions with decimal float values.
14898 (test_dfp_conversions): New function to test casts to and from
14899 decimal float types.
14900 Call test_dfp_conversions.
14901 * gdb.base/dfp-test.c (struct decstruct): Add float4 and double8
14902 elements.
14903 (main): Initialize ds.float4 and ds.double8 elements.
14904 * gdb.base/dfp-test.exp (d32_set_tests): Fix typo. Adjust expect
14905 string to new error message.
14906 (d64_set_tests): Likewise.
14907 (d128_set_tests): Likewise.
14908 Add tests for expressions with decimal float variables. Add tests for
14909 conversions to and from decimal float types.
14910
14911 2008-01-05 Joel Brobecker <brobecker@adacore.com>
14912
14913 * gdb.ada/packed_tagged/comp_bug.adb: New file.
14914 * gdb.ada/packed_tagged.exp: New testcase.
14915
14916 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14917
14918 * gdb.ada/homonym/homonym.ads, gdb.ada/homonym/homonym.adb,
14919 gdb.ada/homonym/homonym_main.adb: New files.
14920 * gdb.ada/homonym.exp: New testcase.
14921
14922 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14923
14924 * gdb.ada/packed_array.exp: Add testing of references to
14925 a packed array.
14926
14927 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14928
14929 * gdb.ada/type_coercion/ident.adb, gdb.ada/type_coercion/assign.adb:
14930 New files.
14931 * gdb.ada/type_coercion.exp: New testcase.
14932
14933 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14934
14935 * gdb.ada/tagged/pck.ads, gdb.ada/tagged/pck.adb,
14936 gdb.ada/tagged/foo.adb: New file.
14937 * gdb.ada/tagged.exp: New testcase.
14938
14939 2008-01-04 Joel Brobecker <brobecker@adacore.com>
14940
14941 * gdb.ada/ptype_field/pck.ads, gdb.ada/ptype_field/pck.adb,
14942 gdb.ada/ptype_field/foo.adb: New files.
14943 * gdb.ada/ptype_field.exp: New testcase.
14944
14945 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14946
14947 * gdb.ada/print_pc.exp: New testcase.
14948
14949 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14950
14951 * gdb.ada/taft_type/pck.ads, gdb.ada/taft_type/pck.adb,
14952 gdb.ada/taft_type/p.adb: New files.
14953 * gdb.ada/taft_type.exp: New testcase.
14954
14955 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14956
14957 * gdb.ada/array_bounds/bar.adb: New file.
14958 * gdb.ada/array_bounds.exp: New testcase.
14959
14960 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14961
14962 * gdb.ada/arrayptr/pck.ads, gdb.ada/arrayptr/pck.adb,
14963 gdb.ada/arrayptr/foo.adb: New files.
14964 * gdb.ada/arrayptr.exp: New testcase.
14965
14966 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14967
14968 * gdb.base/set-lang-auto.exp: New testcase.
14969
14970 2008-01-03 Joel Brobecker <brobecker@adacore.com>
14971
14972 * gdb.ada/fun_addr/foo.adb: New file.
14973 * gdb.ada/fun_addr.exp: New testcase.
14974
14975 2008-01-02 Jan Kratochvil <jan.kratochvil@redhat.com>
14976
14977 * gdb.threads/fork-child-threads.exp, gdb.threads/fork-child-threads.c:
14978 New files
14979
14980 2008-01-02 Joel Brobecker <brobecker@adacore.com>
14981
14982 * array_subscript_addr/p.adb: New file.
14983 * array_subscript_addr.exp: New testcase.
14984
14985 2008-01-02 Joel Brobecker <brobecker@adacore.com>
14986
14987 * gdb.ada/str_cmp_ref/pck.ads, gdb.ada/str_cmp_ref/foo.adb:
14988 New files.
14989 * gdb.ada/str_cmp_ref.exp: New testcase.
14990
14991 2008-01-01 Joel Brobecker <brobecker@adacore.com>
14992
14993 * gdb.ada/fun_in_declare/pck.ads, gdb.ada/fun_in_declare/pck.adb,
14994 gdb.ada/fun_in_declare/foo.adb: New files.
14995 * gdb.ada/fun_in_declare.exp: New testcase.
14996
14997 2008-01-01 Joel Brobecker <brobecker@adacore.com>
14998
14999 * gdb.ada/ref_param/foo.adb, gdb.ada/ref_param/pck.adb,
15000 gdb.ada/ref_param/pck.ads: New files.
15001 * gdb.ada/ref_param.exp: New testcase.
15002
15003 2008-01-01 Joel Brobecker <brobecker@adacore.com>
15004
15005 * gdb.ada/interface/types.ads, gdb.ada/interface/types.adb,
15006 gdb.ada/interface/foo.adb: New files.
15007 * gdb.ada/interface.exp: New testcase.
15008
15009 2007-12-31 Jim Blandy <jimb@codesourcery.com>
15010
15011 * gdb.base/multi-forks.exp: Consume all output from child
15012 processes before proceeding to next test.
15013
15014 2007-12-29 Jim Blandy <jimb@codesourcery.com>
15015
15016 * configure: Regenerated.
15017
15018 2007-12-27 Joel Brobecker <brobecker@adacore.com>
15019
15020 * gdb.ada/fixed_cmp/pck.ads, gdb.ada/fixed_cmp/pck.adb,
15021 gdb.ada/fixed_cmp/fixed.adb: New files.
15022 * gdb.ada/fixed_cmp.exp: New testcase.
15023
15024 2007-12-27 Joel Brobecker <brobecker@adacore.com>
15025
15026 * gdb.ada/boolean_expr.exp: New testcase.
15027
15028 2007-12-26 Jim Blandy <jimb@codesourcery.com>
15029
15030 * gdb.base/multi-forks.exp: Doc fix.
15031
15032 2007-12-26 Joel Brobecker <brobecker@adacore.com>
15033
15034 * gdb.ada/Makefile.in (EXECUTABLES): Update list.
15035 * gdb.ada/char_param.exp: Do not compile our test program with
15036 -gnata, this is unnecessary.
15037 * gdb.ada/char_param/pck.ads: Remove unnecessary "with".
15038
15039 2007-12-24 Joel Brobecker <brobecker@adacore.com>
15040
15041 * gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
15042 gdb.ada/print_chars/foo.adb: New files.
15043 * gdb.ada/print_chars.exp: New testcase.
15044
15045 2007-12-24 Joel Brobecker <brobecker@adacore.com>
15046
15047 * gdb.ada/char_param/pck.ads, gdb.ada/char_param/pck.adb,
15048 gdb.ada/char_param/foo.adb: New files.
15049 * gdb.ada/char_param.exp: New testcase.
15050
15051 2007-12-22 Jim Blandy <jimb@codesourcery.com>
15052
15053 * gdb.asm/asm-source.exp: Use gdb_get_line_number, instead of
15054 hard-coding source line numbers into the test.
15055 * gdb.asm/asmsrc1.s, gdb.asm/asmsrc2.s: Add comments for
15056 gdb_get_line_number to find.
15057
15058 2007-12-22 Joel Brobecker <brobecker@adacore.com>
15059
15060 * gdb.base/ptype.c (highest): New struct type.
15061 (the_highest): New variable of that type.
15062 (main): Add dummy assignment to a field of variable the_highest.
15063 * gdb.base/ptype.exp: Test type printing of our new variable.
15064
15065 2007-12-19 Pierre Muller <muller@ics-u-strasbg.fr>
15066
15067 * (gdb.base/watch_thread_num.exp): Add breakpoint at thread_function
15068 and record first explicitly generated thread number.
15069 Use that thread number for thread specific watchpoint test.
15070 Add iteration number to repetitive tests.
15071
15072 2007-12-16 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15073 Jim Blandy <jimb@codesourcery.com>
15074
15075 * gdb.base/expand-psymtabs.c: New testcase
15076 source file.
15077 * gdb.base/expand-psymtabs.exp: New testcase
15078 expect file.
15079
15080 2007-12-17 Luis Machado <luisgpm@br.ibm.com>
15081
15082 * testsuite/gdb.base/watch_thread_num.c: New testcase source file.
15083 * testsuite/gdb.base/watch_thread_num.exp: New testcase expect file.
15084
15085 2007-12-17 Joel Brobecker <brobecker@adacore.com>
15086
15087 * gdb.ada/frame_args/foo.adb: New file.
15088 * gdb.ada/frame_args/pck.ads: New file.
15089 * gdb.ada/frame_args/pck.adb: New file.
15090 * gdb.ada/frame_args.exp: New testcase.
15091
15092 2007-12-17 Joel Brobecker <brobecker@adacore.com>
15093
15094 * gdb.base/frame-args.c: New file.
15095 * gdb.base/frame-args.exp: New testcase.
15096
15097 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com>
15098 Joseph Myers <joseph@codesourcery.com>
15099
15100 * gdb.base/siginfo-addr.exp, gdb.base/siginfo-addr.c: New.
15101
15102 2007-12-14 Vladimir Prus <vladimir@codesourcery.com>
15103
15104 * gdb.mi/mi-pending.exp: New.
15105 * gdb.mi/mi-pending.c: New.
15106 * gdb.mi/mi-pendshr.c: New.
15107
15108 2007-12-06 Jim Blandy <jimb@codesourcery.com>
15109
15110 * gdb.base/default.exp: Update expected output for 'info catch'.
15111
15112 2007-12-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15113
15114 * lib/gdb.exp (build_id_debug_filename_get): OBJCOPY pipe being read
15115 must be set to binary.
15116
15117 2007-12-09 Pedro Alves <pedro_alves@portugalmail.pt>
15118
15119 * lib/gdb.exp (gdb_gnu_strip_debug): Remove debug format test.
15120
15121 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com>
15122
15123 * gdb.server/file-transfer.exp, gdb.server/transfer.txt,
15124 gdb.mi/mi-file-transfer.exp: New.
15125
15126 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com>
15127
15128 * gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
15129
15130 2007-11-22 Maciej W. Rozycki <macro@mips.com>
15131
15132 * gdb.trace/backtrace.exp: Fix a typo.
15133 * gdb.trace/circ.exp: Likewise.
15134 * gdb.trace/collection.exp: Likewise.
15135 * gdb.trace/limits.exp: Likewise.
15136 * gdb.trace/report.exp: Likewise.
15137 * gdb.trace/tfind.exp: Likewise.
15138 * gdb.trace/while-dyn.exp: Likewise.
15139
15140 2007-11-21 Nick Roberts <nickrob@snap.net.nz>
15141
15142 * gdb.mi/mi2-var-child.exp, gdb.mi/mi-var-child.exp: Variables
15143 objects of pointers that can't be dereferenced are now
15144 "noneditable".
15145
15146 2007-11-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15147
15148 * Makefile.in (Makefile): Do not depend on target_makefile_frag.
15149 (target_cpu): Remove.
15150
15151 2007-10-15 Vladimir Prus <vladimir@codesourcery.com>
15152
15153 * gdb.base/ending-run.exp: Expect the list of cleared
15154 breakpoint to come in natural order, not the reversed one.
15155
15156 2007-11-07 Vladimir Prus <vladimir@codesourcery.com>
15157
15158 * gdb.mi/mi-var-child.c (do_child_deletion): New.
15159 * gdb.mi/mi-var-child.exp: Run child_deletion tests.
15160
15161 2007-11-05 Luis Machado <luisgpm@br.ibm.com>
15162
15163 * gdb.base/printcmds.exp: New function
15164 test_printf_with_dfp.
15165
15166 2007-11-02 Doug Evans <dje@google.com>
15167
15168 * gdb.disasm/t01_mov.s: Remove carriage returns.
15169 * gdb.disasm/t02_mova.s: Ditto.
15170 * gdb.disasm/t03_add.s: Ditto.
15171 * gdb.disasm/t04_sub.s: Ditto.
15172 * gdb.disasm/t05_cmp.s: Ditto.
15173 * gdb.disasm/t06_ari2.s: Ditto.
15174 * gdb.disasm/t07_ari3.s: Ditto.
15175 * gdb.disasm/t08_or.s: Ditto.
15176 * gdb.disasm/t09_xor.s: Ditto.
15177 * gdb.disasm/t10_and.s: Ditto.
15178 * gdb.disasm/t11_logs.s: Ditto.
15179 * gdb.disasm/t12_bit.s: Ditto.
15180 * gdb.disasm/t13_otr.s: Ditto.
15181
15182 2007-11-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15183
15184 * gdb.cp/arg-reference.exp, gdb.cp/arg-reference.c: New files.
15185
15186 2007-10-30 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15187
15188 * gdb.base/dfp-test.exp: Fail gracefully if toolchain does not
15189 provide DFP support.
15190
15191 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com>
15192
15193 * gdb.arch/altivec-abi.exp: Run multiple times for GCC on GNU/Linux.
15194 Test "set powerpc vector-abi". Skip auto-detection tests for old
15195 toolchains.
15196
15197 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15198
15199 * lib/gdb.exp, gdb.base/sepdebug.exp: Replace usage of eq and ne
15200 with [string compare].
15201
15202 2007-10-30 Pedro Alves <pedro_alves@portugalmail.pt>
15203
15204 * gdb.base/sepdebug.exp (binfile): Add ${EXEEXT}.
15205 * gdb.base/sepsymtab.exp (binfile): Add ${EXEEXT}.
15206
15207 2007-10-25 Luis Machado <luisgpm@br.ibm.com>
15208
15209 * gdb.opt/clobbered-registers-O2.c: New testcase source file.
15210 * gdb.opt/clobbered-registers-O2.exp: New testcase expect file.
15211 * gdb.opt/Makefile.in: New makefile.
15212 * Makefile.in: Create new directory "gdb.opt".
15213 * configure.ac: Add "gdb.opt" directory.
15214 * configure: Regenerated.
15215
15216 2007-10-25 Doug Evans <dje@google.com>
15217
15218 * gdb.cp/mb-ctor.exp: Check skip_cplus_tests.
15219 * gdb.cp/mb-templates.exp: Check skip_cplus_tests.
15220
15221 2007-10-15 Wu Zhou <woodzltc@cn.ibm.com>
15222 Thiago Jung Bauermann <bauerman@br.ibm.com>
15223
15224 * gdb.base/dfp-exprs.exp: new file adding tests for Decimal
15225 Floating Point expressions.
15226 * gdb.base/dfp-test.exp: new file adding tests for Decimal
15227 Floating Point variables.
15228 * gdb.base/dfp-test.c: new file containing program with Decimal
15229 Floating variables, used by gdb.base/dfp-test.exp.
15230
15231 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com>
15232
15233 * gdb.threads/multi-create.c, gdb.threads/multi-create.exp: New.
15234
15235 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15236
15237 * gdb.arch/altivec-abi.exp (compile_flags): Use -mabi=altivec when
15238 compiling test case with GCC.
15239 * gdb.arch/altivec-regs.exp (compile_flags): Likewise.
15240
15241 2007-10-21 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15242
15243 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15244 format changes.
15245
15246 2007-10-18 Michael Snyder <msnyder@specifix.com>
15247
15248 * gdb.base/dbx.exp: Add missing "-re " operator.
15249
15250 2007-10-16 Gaius Mulley <gaius@glam.ac.uk>
15251
15252 * configure.ac: Added gdb.modula2/Makefile to AC_OUTPUT.
15253 * configure.ac: Removed trailing spaces after backslash.
15254 * gdb.modula2: New directory.
15255 * gdb.modula2/Makefile.in: New file.
15256 * gdb.modula2/unbounded-array.exp: New file.
15257 * gdb.modula2/unbounded1.c: New file.
15258
15259 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com>
15260
15261 * gdb.xml/tdesc-regs.exp: Add PowerPC support.
15262
15263 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr>
15264
15265 * gdb.base/sigstep.c (main): Add checks for
15266 return values for setitimer call.
15267 Call setitimer again with itimer = ITIMER_REAL
15268 if first call to setitimer fails.
15269
15270 2007-10-11 Kazu Hirata <kazu@codesourcery.com>
15271
15272 * lib/gdb.exp (gdb_load_cmd): Print out $loadtimeout instead
15273 of $timeout.
15274
15275 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com>
15276
15277 * gdb.server/server-run.exp: Test for dynamic linker symbols.
15278
15279 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr>
15280
15281 * lib/gdb.exp (gdb_run_cmd): Move comment outside
15282 of gdb_expect call, to avoid interruption.
15283
15284 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt>
15285
15286 * gdb.base/whatis.c (v_long_long, v_signed_long_long)
15287 (v_unsigned_long_long, v_long_long_array)
15288 (v_signed_long_long_array, v_unsigned_long_long_array)
15289 (slong_long_addr, a_slong_long_addr, v_long_long_pointer)
15290 (v_signed_long_long_pointer, v_unsigned_long_long_pointer)
15291 [!NO_LONG_LONG]: New.
15292 (t_struct, v_struct2, t_union, v_union2) [!NO_LONG_LONG]: Add
15293 v_long_long_member.
15294
15295 (v_long_long_func, v_signed_long_long_func)
15296 (v_unsigned_long_long_func) [!NO_LONG_LONG]: New.
15297 (main) [!NO_LONG_LONG]: Initialize long long variants.
15298
15299 * gdb.base/whatis.exp: If board file requests no_long_long, build
15300 test with NO_LONG_LONG defined. Test long long, signed long long,
15301 and unsigned long long variants but only if board file doesn't
15302 disable it.
15303
15304 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
15305 Daniel Jacobowitz <dan@codesourcery.com>
15306
15307 * Makefile.in (ALL_SUBDIRS): Add gdb.pascal.
15308 * configure.ac (AC_OUTPUT): Add gdb.pascal/Makefile.
15309 * configure: Regenerated.
15310 * gdb.pascal/Makefile.in, gdb.pascal/hello.exp, gdb.pascal/hello.pas,
15311 gdb.pascal/types.exp, lib/pascal.exp: New files.
15312
15313 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com>
15314
15315 * gdb.cp/classes.exp (do_tests): Always step to the line after the
15316 call.
15317 * gdb.mi/mi-simplerun.exp (test_controlled_execution): Allow finish
15318 to return to the call.
15319 * gdb.mi/mi2-simplerun.exp (test_controlled_execution): Likewise.
15320 * gdb.mi/mi-return.exp (test_return_simple): Likewise.
15321 * gdb.mi/mi2-return.exp (test_return_simple): Likewise.
15322 * gdb.mi/mi-until.exp (test_until): Likewise.
15323 * gdb.mi/mi2-until.exp (test_until): Likewise.
15324
15325 2007-10-01 Daniel Jacobowitz <dan@codesourcery.com>
15326
15327 * gdb.mi/var-cmd.c (do_locals_tests): Define lcharacter as a
15328 two-char array.
15329 * gdb.mi/mi-var-cmd.exp, gdb.mi/mi2-var-cmd.exp: Use lcharacter[0].
15330
15331 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com>
15332
15333 * gdb.threads/watchthreads.c (thread_function): Sleep between
15334 iterations.
15335 * gdb.threads/watchthreads.exp: Allow two watchpoints to trigger
15336 at once for S/390. Generate matching fails and passes.
15337
15338 2007-09-27 Vladimir Prus <vladimir@codesourcery.com>
15339
15340 * gdb.mi/var-cmd.c (do_children_tests): Initialize
15341 the 'struct_declarations' variable to zeros.
15342
15343 2007-09-24 Vladimir Prus <vladimir@codesourcery.com>
15344
15345 * gdb.cp/mb-ctor.cc: New.
15346 * gdb.cp/mb-ctor.exp: New.
15347 * gdb.cp/mb-templates.cc: New.
15348 * gdb.cp/mb-templates.exp: New.
15349
15350 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com>
15351
15352 * gdb.cp/pass-by-ref.cc, gdb.cp/pass-by-ref.exp: New files.
15353
15354 2007-09-23 Pedro Alves <pedro_alves@portugalmail.pt>
15355
15356 * configure.ac: Do gdb.stabs tests by default on Cygwin and MinGW
15357 targets.
15358 * configure: Regenerate.
15359
15360 2007-09-23 Vladimir Prus <vladimir@codesourcery.com>
15361
15362 * gdb.base/annota1.exp: Adjust for 'info break'
15363 format changes.
15364 * gdb.base/annota3.exp: Likewise.
15365 * gdb.base/break.exp: Likewise.
15366 * gdb.base/condbreak.exp: Likewise.
15367 * gdb.base/pending.exp: Likewise.
15368 * gdb.base/sepdebug.exp: Likewise.
15369 * gdb.base/unload.exp: Likewise.
15370 * gdb.base/ovldbreak.exp: Likewise.
15371
15372 2007-09-22 Vladimir Prus <vladimir@codesourcery.com>
15373
15374 * gdb.base/pending.exp: No longer expect "Pending breakpoint resolved"
15375 messages.
15376 * gdb.base/chng-syms.exp: Likewise.
15377 * gdb.base/unload.exp: Likewise.
15378
15379 2007-09-21 Daniel Jacobowitz <dan@codesourcery.com>
15380
15381 * gdb.base/sepdebug.exp (test_different_dir): Append to pf_prefix.
15382
15383 2007-09-17 Daniel Jacobowitz <dan@codesourcery.com>
15384
15385 * schedlock.c (NUM): Change to 1.
15386 (main): Use args[0] for the main thread.
15387 * schedlock.exp: Only expect two threads. Only issue one pass or fail
15388 regardless of the number of threads.
15389
15390 2007-09-14 Maciej W. Rozycki <macro@mips.com>
15391
15392 * gdb.mi/mi-watch.exp (test_watchpoint_all): Pass the watchpoint
15393 type down.
15394 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15395 test.
15396 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Pass the
15397 watchpoint type down.
15398 (test_watchpoint_triggering): XFAIL the sw watchpoint scope
15399 test.
15400
15401 2007-09-14 Maciej W. Rozycki <macro@mips.com>
15402
15403 * gdb.mi/mi-watch.exp (test_watchpoint_all): New function.
15404 Move all the tests here and run them twice, once using software
15405 watchpoints and once using hardware watchpoints.
15406 * gdb.mi/mi2-watch.exp (test_watchpoint_all): Likewise.
15407
15408 2007-09-12 Daniel Jacobowitz <dan@codesourcery.com>
15409
15410 * gdb.base/solib-weak.exp (do_test): Adjust the file names for each
15411 test.
15412
15413 2007-09-10 Mark Kettenis <kettenis@gnu.org>
15414
15415 * lib/gdb.exp (build_id_debug_filename_get): Improve check for
15416 build-id.
15417
15418 * lib/gdb.exp (gdb_compile): OpenBSD doesn't need -dl, and doesn't
15419 know about $ORIGIN. Calculate output dir from $dest instead of
15420 using ${objdir}/{$subdir}.
15421
15422 2007-09-09 Mark Kettenis <kettenis@gnu.org>
15423
15424 * gdb.base/gcore-buffer-overflow.exp: Check whether gdb supports
15425 gcore, before continuing with the test.
15426
15427 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com>
15428
15429 * gdb.mi/mi2-watch.exp: Set can-use-hw-watchpoints to 0 if required.
15430 * gdb.mi/mi-watch.exp: Likewise.
15431
15432 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15433 Jim Blandy <jimb@codesourcery.com>
15434
15435 * gdb.arch/i386-sse.exp: Do not expect character constants.
15436 * gdb.base/charsign.c, gdb.base/charsign.exp: Delete.
15437 * gdb.base/display.exp: Allow print/s.
15438 * gdb.base/printcmds.exp, gdb.base/setvar.exp: Revert signed
15439 and unsigned char array changes.
15440
15441 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com>
15442
15443 * gdb.base/display.exp: Add tests for printf %p.
15444
15445 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt>
15446
15447 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
15448 the dll name to unicode.
15449
15450 2007-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
15451
15452 * gdb.base/default.exp (show version): Update the version text.
15453 * gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
15454
15455 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15456
15457 * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
15458 New files.
15459
15460 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com>
15461
15462 * lib/gdb.exp (build_id_debug_filename_get): New function.
15463 * gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
15464 Remove the generate DEBUG file for the future testcase runs.
15465 New testcase for the NT_GNU_BUILD_ID retrieval.
15466 Move the final testing step to ...
15467 (test_different_dir): ... a new function.
15468 New parameter XFAIL to XFAIL all the tests performed.
15469 New parameter TEST_DIFFERENT_DIR parametrizing the directory.
15470 New parameter TYPE to PF_PREFIX all the tests performed.
15471
15472 2007-08-31 Vladimir Prus <vladimir@codesourcery.com>
15473
15474 * gdb.mi/mi-var-cp.cc (path_expression): New
15475 function.
15476 * gdb.mi/mi-var-cp.exp: Run path exression tests.
15477
15478 2007-08-27 Markus Deuling <deuling@de.ibm.com>
15479
15480 * gdb.cp/cp-relocate.exp (add-symbol-file): Change addresses
15481 to fit into SPU Local Store memory.
15482
15483 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15484
15485 * gdb.base/default.exp: Adjust the expected output of "info
15486 warranty" after the switch to GPLv3.
15487
15488 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15489
15490 * lib/gdb.exp (default_gdb_init): Increase expect buffer size
15491 to 30000 (from 20000).
15492
15493 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15494
15495 Switch the license of all .exp files to GPLv3.
15496 Switch the license of all .f and .f90 files to GPLv3.
15497 Switch the license of all .s and .S files to GPLv3.
15498
15499 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15500
15501 * configure.ac: Switch license to GPLv3.
15502
15503 2007-08-23 Joel Brobecker <brobecker@adacore.com>
15504
15505 Switch the licensing to GPLv3 for all .ads and .adb files.
15506
15507 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com>
15508
15509 * gdb.base/callfuncs.exp (do_function_calls): Use t_double_int
15510 and t_int_double.
15511 * gdb.base/callfuncs.c (t_double_int, t_int_double): New.
15512
15513 2007-08-17 Joel Brobecker <brobecker@adacore.com>
15514
15515 * gdb.base/step-line.c: Switch license to GPL version 3, and
15516 update copyright year.
15517 * gdb.base/step-line.inp: Likewise.
15518
15519 2007-08-17 Joel Brobecker <brobecker@adacore.com>
15520
15521 * gdb.base/gdb1555.exp: Make expected output immune to formatting
15522 changes inside gdb1555.c.
15523 * gdb.base/pending.exp: Likewise.
15524
15525 2007-08-13 Daniel Jacobowitz <dan@codesourcery.com>
15526
15527 * config/default.exp: New file.
15528
15529 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com>
15530
15531 * gdb.base/prologue.c, gdb.base/prologue.exp: New.
15532 * lib/gdb.exp (gdb_breakpoint): Handle "temporary".
15533
15534 2007-07-30 Maciej W. Rozycki <macro@mips.com>
15535
15536 * gdb.base/dump.exp: Force the correct endianness for binary
15537 formats not carrying this information.
15538
15539 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15540
15541 * gdb.threads/staticthreads.exp: Match .*sem_post.
15542
15543 2007-07-27 Daniel Jacobowitz <dan@codesourcery.com>
15544
15545 * gdb.base/readline.exp (operate_and_get_next): Match the final
15546 prompt.
15547
15548 2007-07-23 Kevin Buettner <kevinb@redhat.com>
15549
15550 * lib/mi-support.exp (mi_gdb_target_load): Do a "kill" prior
15551 to restarting SID.
15552
15553 2007-07-18 Kevin Buettner <kevinb@redhat.com>
15554
15555 * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
15556 prior to `gdb_start'.
15557
15558 2007-07-18 Kevin Buettner <kevinb@redhat.com>
15559
15560 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
15561 return value to be compatible with gdb_run_cmd in lib/gdb.exp.
15562 Remove call to gdb_unload.
15563
15564 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
15565 Daniel Jacobowitz <dan@codesourcery.com>
15566
15567 * gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
15568 for __WIN32__.
15569 (SHLIB_NAME): Delete definition. Always pass dlerror to fprintf.
15570 * gdb.base/unload.exp: Use shared library test routines.
15571
15572 2007-07-03 Markus Deuling <deuling@de.ibm.com>
15573
15574 * gdb.base/solib-symbol.exp: New file (testcase multiple symbol lookup).
15575 * gdb.base/solib-symbol-lib.c: Likewise.
15576 * gdb.base/solib-symbol-main.c: Likewise.
15577
15578 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com>
15579
15580 * config/gdbserver.exp (gdb_reconnect): New.
15581 * gdb.base/so-disc-shr.c, gdb.base/solib-disc.c,
15582 gdb.base/solib-disc.exp: New files.
15583 * lib/gdb.exp (gdb_test_multiple): Allow tests to match "Ending
15584 remote debugging".
15585 (gdb_compile): Add shlib_load flag.
15586 * lib/gdbserver-support.exp (gdbserver_run): Save the protocol and
15587 port.
15588 (gdbserver_reconnect): New.
15589
15590 2007-07-01 Nick Roberts <nickrob@snap.net.nz>
15591 Daniel Jacobowitz <dan@codesourcery.com>
15592
15593 * gdb.base/annota3.exp: Test for if construct.
15594
15595 2007-06-26 Daniel Jacobowitz <dan@codesourcery.com>
15596
15597 * gdb.base/chng-syms.exp: Handle glibc's __GI_exit.
15598
15599 2007-06-21 Chris Dearman <chris@mips.com>
15600 Maciej W. Rozycki <macro@mips.com>
15601
15602 * gdb.base/display.exp: Allow a newline after display/i.
15603 * gdb.base/pc-fp.exp: Likewise.
15604 * gdb.base/sigbpt.exp: Likewise.
15605
15606 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com>
15607
15608 * gdb.xml/tdesc-regs.exp: Add MIPS support. Allow multiple
15609 required features to be included.
15610
15611 2007-06-12 Daniel Jacobowitz <dan@codesourcery.com>
15612
15613 * gdb.threads/manythreads.exp: Prevent expect buffer overflow
15614 in info threads output.
15615
15616 2007-06-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15617 Markus Deuling <deuling@de.ibm.com>
15618
15619 * gdb.arch/spu-info.exp: New testcase.
15620 * gdb.arch/spu-info.c: New file.
15621
15622 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com>
15623
15624 * gdb.arch/thumb-prologue.c: Record the breakpoint address in
15625 tpcs_offset. Restore lr after the call.
15626 * gdb.arch/thumb-prologue.exp: Use tpcs_offset.
15627
15628 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com>
15629
15630 * lib/gdbserver-support.exp (gdbserver_spawn): Only match full_buffer.
15631 (gdbserver_run): Kill any running gdbserver.
15632 * lib/mi-support.exp (mi_gdb_target_load): Likewise.
15633
15634 2007-05-17 Maciej W. Rozycki <macro@mips.com>
15635
15636 * gdb.base/sigbpt.exp: Preset segv_addr.
15637
15638 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com>
15639
15640 * lib/gdb.exp (gdb_compile): Add support for Windows DLLs.
15641 (gdb_compile_shlib): Likewise.
15642 (skip_shlib_tests, gdb_download, gdb_load_shlibs): New.
15643 (default_gdb_init): Clear cleanfiles.
15644 (gdb_finish): Delete recorded cleanfiles.
15645 * lib/gdbserver-support.exp (gdbserver_spawn): Use gdb_download.
15646
15647 * gdb.base/gdb1555.exp: Use skip_shlib_tests and gdb_load_shlibs.
15648 Do not use isnative.
15649 * gdb.base/pending.exp, gdb.base/shlib-call.exp, gdb.base/shreloc.exp,
15650 gdb.base/so-impl-ld.exp: Likewise.
15651 * gdb.base/solib-weak.exp: Likewise. Skip for DLL targets.
15652 * gdb.base/unload.exp: Likewise. Do not pass empty option to
15653 gdb_compile.
15654
15655 2007-05-15 Vladimir Prus <vladimir@codesourcery.com>
15656
15657 * config/unknown.exp: Remove.
15658
15659 2007-05-15 Markus Deuling <deuling@de.ibm.com>
15660
15661 * gdb.base/info-proc.exp: Check is_remote.
15662
15663 2007-05-14 Markus Deuling <deuling@de.ibm.com>
15664
15665 * gdb.base/gcore.exp: Initialize variable core_supported.
15666
15667 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15668
15669 * gdb.threads/linux-dp.exp: Allow non-hexadecimal IDs also.
15670
15671 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15672
15673 * gdb.threads/linux-dp.exp: Expect hexadecimal thread IDs.
15674 * gdb.threads/print-threads.exp (test_all_threads): Allow
15675 negative and hexadecimal thread IDs.
15676
15677 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com>
15678
15679 * gdb.java/jprint.java (public): Avoid invalid call to static
15680 method.
15681
15682 2007-05-14 Denis Pilat <denis.pilat@st.com>
15683
15684 * gdb.mi/mi-console.exp, gdb.mi/gdb669.exp, gdb.mi/mi-cli.exp,
15685 gdb.mi/mi-regs.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp,
15686 gdb.mi/mi2-cli.exp, gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
15687 gdb.mi/mi2-regs.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi-disassemble.exp,
15688 gdb.mi/mi2-syn-frame.exp: Remove commands already run in mi_run_to_main.
15689
15690 2007-05-11 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15691
15692 * gdb.base/overlays.exp: Add support for targets with only code
15693 overlay support, not data overlay. Support spu-*-* target in
15694 this mode.
15695 * gdb.base/ovlymgr.c: Provide stubs for spu target.
15696 * gdb.base/spu.ld: New file.
15697
15698 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com>
15699
15700 * gdb.cp/virtfunc.exp (proc do_tests): Test stepping through a thunk.
15701
15702 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com>
15703
15704 * gdb.fortran/complex.exp, gdb.fortran/complex.f: New files.
15705
15706 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15707
15708 * gdb.java/jmain.exp: Handle demangled names with and without method
15709 signatures.
15710
15711 2007-04-29 Daniel Jacobowitz <dan@codesourcery.com>
15712
15713 * gdb.mi/mi-syn-frame.c (main, foo, bar)
15714 (have_a_very_merry_interrupt): Remove calls to puts.
15715 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
15716 inferior output.
15717 * lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
15718 test names.
15719
15720 2007-04-29 Markus Deuling <deuling@de.ibm.com>
15721 Daniel Jacobowitz <dan@codesourcery.com>
15722
15723 * gdb.base/auxv.exp (core_works): Also check is_remote.
15724 * gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
15725
15726 2007-04-25 Vladimir Prus <vladimir@codesourcery.com>
15727
15728 * gdb.base/sigaltstack.exp: Use 'srcfile' in error
15729 message, not the undefined 'module' variable.
15730 * gdb.base/siginfo.exp: Likewise.
15731 * gdb.base/sigstep.exp: Likewise.
15732 * lib/gdbserver-support.exp (gdb_target_cmd): Quote
15733 serialport.
15734 * lib/mi-support.exp (mi_gdb_target_cmd): Likewise.
15735
15736 2007-04-25 Corinna Vinschen <vinschen@redhat.com>
15737
15738 * config/sim.exp (gdb_target_sim): Just return with -1 when setting
15739 target sim fails. Return 0 otherwise.
15740 (gdb_load): Return prematurely if gdb_target_sim fails.
15741
15742 2007-04-16 Denis Pilat <denis.pilat@st.com>
15743
15744 * gdb.base/setshow.exp: Reset height after having set it to 100.
15745
15746 2007-04-16 Denis Pilat <denis.pilat@st.com>
15747
15748 * gdb.mi/mi2-stack.exp: update from mi-stack.exp.
15749
15750 2007-04-16 Denis Pilat <denis.pilat@st.com>
15751
15752 * gdb.mi/mi2-var-display.exp: Test for the fullname field.
15753
15754 2007-04-14 Vladimir Prus <vladimir@codesourcery.com>
15755
15756 * gdb.mi/mi-var-cmd.exp: Delete varobjs left by previous
15757 tests. Run the frozen varobjs test.
15758 * gdb.mi/var-cmd.c (do_frozen_tests): New.
15759 * lib/mi-support.exp (mi_varobj_update): Fix thinko.
15760
15761 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com>
15762
15763 * gdb.base/type-opaque-lib.c, gdb.base/type-opaque-main.c,
15764 gdb.base/type-opaque.exp: New files.
15765
15766 2007-04-01 Vladimir Prus <vladimir@codesourcery.com>
15767
15768 * gdb.mi/mi-var-child.c
15769 (do_children_tests): User char[2] instead of
15770 char so that automatic printing of pointers to char
15771 don't give unpredicable result.
15772 * gdb.mi/var-cmd.c (do_locals_test): Initialize
15773 local variables.
15774 * gdb.mi/mi-var-child.exp: Step to right line
15775 of do_children_tests.
15776 * gdb.mi/mi2-var-child.exp: Likewise.
15777 * gdb.mi/mi-var-cmd.exp: Step to right line of
15778 do_locals_tests.
15779 (do_children_tests): User char[2] instead of
15780 char so that automatic printing of pointers to char
15781 don't give unpredicable result.
15782 * gdb.mi/mi2-var-cmd.exp: Likewise.
15783 * lib/mi-support.exp (mi_continue_to_line):
15784 Pass test name to mi_wait_for_stop.
15785
15786 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15787
15788 * gdb.asm/asm-source.exp: Remove d10v case.
15789 * lib/gdb.exp (skip_cplus_tests): Likewise.
15790 * gdb.asm/d10v.inc: Deleted.
15791
15792 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15793
15794 * gdb.base/infnan.c, gdb.base/infnan.exp: New files.
15795
15796 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com>
15797
15798 * config/netware.exp: Delete file.
15799
15800 2007-03-29 Joel Brobecker <brobecker@adacore.com>
15801
15802 * gdb.dwarf2/dw2-noloc.S: New file.
15803 * gdb.dwarf2/dw2-noloc.exp: New file.
15804
15805 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt>
15806
15807 * gdb.cp/method2.cc: New test.
15808 * gdb.cp/method2.exp: New test.
15809 * gdb.cp/Makefile.in (EXECUTABLES): Add method2.
15810
15811 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15812
15813 * gdb.ada/exec_changed.exp: Avoid "set confirm off".
15814
15815 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com>
15816
15817 * Makefile.in: Add dummy "pdf" and "install-pdf" targets.
15818
15819 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com>
15820
15821 * config/gdbserver.exp (gdbserver_gdb_load): Update argument list.
15822 (gdb_load): Delete, replace with...
15823 (gdb_reload): ...this.
15824 * gdb.server/server-run.exp: Use gdb_load and gdbserver_run.
15825 * gdb.server/server-mon.exp: Likewise.
15826 * lib/gdb.exp (gdb_run_cmd): Use gdb_reload.
15827 (gdb_start_cmd): New.
15828 (gdb_file_cmd): Save the last loaded file.
15829 (gdb_reload): New.
15830 (gdb_gnu_strip_debug): Use transform.
15831 * lib/gdbserver-support.exp (gdbserver_spawn): Move file download
15832 support here. Use new $last_loaded_file. Check mtime.
15833 (gdb_target_cmd): Handle ObjC failure case.
15834 (infer_host_exec): Delete.
15835 (gdbserver_load): Rename to...
15836 (gdbserver_run): ...this. Simplify.
15837 * lib/mi-support.exp (mi_gdb_file_cmd): Set last_loaded_file.
15838 (mi_gdb_load): Move most contents to a new function...
15839 (mi_gdb_target_load): ...here. Simplify call to gdbserver_gdb_load.
15840 (mi_run_cmd): Use mi_gdb_target_load.
15841 * gdb.base/break.exp, gdb.base/ending-run.exp, gdb.base/pending.exp,
15842 gdb.base/sepdebug.exp, gdb.base/unload.exp, gdb.objc/objcdecode.exp:
15843 Use gdb_run_cmd.
15844 * gdb.base/charsign.exp: Remove incorrect comment.
15845 * gdb.base/dbx.exp (gdb_file_cmd): Set last_loaded_file.
15846 * gdb.ada/exec_changed.exp, gdb.ada/null_record.exp, gdb.ada/start.exp,
15847 gdb.base/start.exp: Use gdb_start_cmd.
15848
15849 2007-03-23 Nigel Stephens <nigel@mips.com>
15850 Maciej W. Rozycki <macro@mips.com>
15851
15852 * gdb.base/sigbpt.exp: Fix the message when skipping test.
15853 * gdb.base/signull.exp: Similarly.
15854
15855 2007-03-16 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15856
15857 * lib/gdb.exp (gdb_run_cmd): Use -notransfer to make start-up
15858 messages available to test cases (like chng-sym.exp).
15859
15860 2007-03-14 Andreas Schwab <schwab@suse.de>
15861
15862 * gdb.arch/altivec-regs.exp (decimal_vector): Adjust for output
15863 format changes.
15864
15865 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com>
15866
15867 * gdb.arch/powerpc-prologue.c (optimized_1_marker, gdb2029_marker)
15868 (optimized_1): New.
15869 (main): Call optimized_1.
15870 (gdb2029): Correct typos. Call gdb2029_marker.
15871 * gdb.arch/powerpc-prologue.exp: Run new test. Use a breakpoint
15872 for gdb2029.
15873
15874 2007-03-12 Mark Kettenis <kettenis@gnu.org>
15875
15876 * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
15877 as tabs. Remove redundant test pattern.
15878
15879 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15880
15881 * gdb.base/long_long.exp: Accept optional symbol name in <...>
15882 for /a format output.
15883
15884 2007-03-09 Daniel Jacobowitz <dan@codesourcery.com>
15885
15886 * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
15887 collect output incrementally.
15888
15889 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15890
15891 * gdb.mi/mi-var-cmd.exp: Allow value without "..." string
15892 for -var-create lpcharacter test.
15893 * gdb.mi/mi2-var-cmd.exp: Likewise.
15894
15895 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15896
15897 * gdb.mi/mi-var-cmd.exp: Allow -var-update null_ptr test to
15898 pass on targets where address zero is readable.
15899
15900 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15901
15902 * gdb.xml/tdesc-arch.exp: Test is unsupported on target with
15903 just a single architecture.
15904
15905 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15906
15907 * gdb.base/callfuncs.exp (do_get_all_registers): Remove.
15908 (fetch_all_registers): New function, uses gdb_test_multiple and
15909 exp_continue to fetch inferior output line-by-line.
15910 Replace all uses of do_get_all_registers by fetch_all_registers.
15911
15912 2007-03-08 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
15913
15914 * gdb.base/relativedebug.exp: Skip test if gdb,nosignals is set
15915 in target_info.
15916
15917 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15918
15919 * gdb.threads/manythreads.exp: Use $message string for
15920 consistancy; add a default (timeout) case.
15921
15922 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15923
15924 * gdb.base/watchpoint.exp: Fix truncated comment.
15925
15926 2007-03-02 Michael Snyder <michael.snyder@palmsource.com>
15927
15928 * Makefile.in: Remove spurious single-quotes from sed command.
15929
15930 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com>
15931
15932 * gdb.mi/mi-var-cmd.exp: Correct test name. Allow any value for
15933 func.
15934 * gdb.mi/mi2-var-cmd.exp: Likewise.
15935
15936 2007-02-27 Joel Brobecker <brobecker@adacore.com>
15937
15938 * gdb.dwarf2/dw2-producer.S: New file.
15939 * gdb.dwarf2/dw2-producer.exp: New testcase.
15940
15941 2007-02-27 Nick Roberts <nickrob@snap.net.nz>
15942
15943 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15944 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15945 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
15946 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
15947 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
15948 Revert tests to use mi_gdb_test and include value field in output
15949 of -var-create.
15950
15951 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15952
15953 * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
15954
15955 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com>
15956
15957 * gdb.base/maint.exp: Remove full paths from test names.
15958 * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp,
15959 gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
15960
15961 2007-02-27 Joel Brobecker <brobecker@adacore.com>
15962
15963 * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.
15964
15965 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15966
15967 * gdb.server/server-mon.exp: New test.
15968
15969 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15970
15971 * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
15972
15973 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com>
15974
15975 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update
15976 register capitalization.
15977
15978 2007-02-13 Denis Pilat <denis.pilat@st.com>
15979
15980 * gdb.mi/mi-var-invalidate.exp: New file.
15981
15982 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15983
15984 * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: New.
15985
15986 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15987
15988 * tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.
15989
15990 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com>
15991
15992 * gdb.xml/single-reg.xml, gdb.xml/tdesc-regs.exp,
15993 gdb.xml/core-only.xml, gdb.xml/extra-regs.xml: New files.
15994
15995 2007-02-08 Nick Roberts <nickrob@snap.net.nz>
15996
15997 * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp
15998 * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp
15999 * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp
16000 * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp
16001 * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp
16002 * gdb.mi/gdb792.exp, lib/mi-support.exp:
16003 Update tests to include value field in output of -var-create.
16004
16005 2007-02-08 Andreas Schwab <schwab@suse.de>
16006
16007 * gdb.mi/mi-var-child.exp: Fix matching display of function value.
16008
16009 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com>
16010
16011 * gdb.xml/bad-include.xml, gdb.xml/inc-2.xml, gdb.xml/inc-body.xml,
16012 gdb.xml/includes.xml, gdb.xml/tdesc-xinclude.exp: New files.
16013
16014 2007-02-02 Denis Pilat <denis.pilat@st.com>
16015
16016 * gdb.threads/threadapply.exp: check that frame is not changed by
16017 the thread apply all command.
16018
16019 2007-01-31 Andreas Schwab <schwab@suse.de>
16020
16021 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add more matches.
16022
16023 * gdb.dwarf2/dup-psym.S: Use .2byte/.4byte instead of .short/.int
16024 in the dwarf sections.
16025 * gdb.dwarf2/mac-fileno.S: Likewise.
16026
16027 * gdb.base/callfuncs.exp (do_get_all_registers): Filter out
16028 bspstore register on ia64.
16029
16030 2007-01-29 Andreas Schwab <schwab@suse.de>
16031
16032 * gdb.cp/annota3.exp ("watch triggered on a.x"): Match optional
16033 "frame-begin" annotation.
16034
16035 * gdb.cp/annota2.exp ("watch triggered on a.x"): Allow arbitrary
16036 number of "frames-invalid" annotations.
16037
16038 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com>
16039
16040 * gdb.base/commands.exp: Call if_commands_test.
16041 (gdb_test_no_prompt, if_commands_test): New.
16042
16043 2007-01-28 Mark Kettenis <kettenis@gnu.org>
16044
16045 * gdb.threads/sigthread.c (NSIGS): Make bigger.
16046
16047 2007-01-27 Andreas Schwab <schwab@suse.de>
16048
16049 * gdb.dwarf2/dw2-basic.S: Use .2byte/.4byte/.8byte instead of
16050 .short/.int/.quad in the dwarf sections.
16051 * gdb.dwarf2/dw2-intercu.S: Likewise.
16052 * gdb.dwarf2/dw2-intermix.S: Likewise.
16053
16054 2007-01-25 Jan Kratochvil <jan.kratochvil@redhat.com>
16055
16056 * gdb.base/charsign.exp, gdb.base/charsign.c: New files.
16057 * gdb.arch/i386-sse.exp: Check $xmm.v16_int8 printing as a number
16058 array.
16059 * gdb.base/printcmds.exp: Sign-provided CHARs now became arrays.
16060 * gdb.base/setvar.exp: Likewise.
16061
16062 2007-01-26 Andreas Schwab <schwab@suse.de>
16063
16064 * gdb.base/corefile.exp: Allow non-empty argument list in reinit
16065 test.
16066
16067 * gdb.base/multi-forks.exp ("restart $i"): Also match
16068 __kernel_syscall_via_break.
16069
16070 2007-01-24 Vladimir Prus <vladimir@codesourcery.com>
16071
16072 * lib/mi-support.exp (mi_delete_varobj): New.
16073 * gdb.mi/mi-var-cp.exp: Run the reference_to_struct
16074 testcase.
16075 * gdb.mi/mi-var-cp.cc (reference_to_struct): New function.
16076 (main): Call the above.
16077 (reference_update_test, base_in_reference_test)
16078 (reference_to_pointer): Delete the created varobjs.
16079
16080 2007-01-23 Daniel Jacobowitz <dan@codesourcery.com>
16081
16082 * Makefile.in (ALL_SUBDIRS): Add gdb.xml.
16083 * configure: Regenerated.
16084 * configure.ac (AC_OUTPUT): Add gdb.xml/Makefile.
16085 * gdb.xml/Makefile.in, gdb.xml/tdesc-arch.exp,
16086 gdb.xml/tdesc-bogus.xml, gdb.xml/tdesc-errors.exp,
16087 gdb.xml/trivial.xml, gdb.xml/tdesc-unknown.xml: New files.
16088 * lib/gdb.exp (gdb_skip_xml_test): New function.
16089
16090 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com>
16091
16092 * gdb.base/sigrepeat.exp: Correct error message.
16093
16094 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16095 Daniel Jacobowitz <dan@codesourcery.com>
16096
16097 * gdb.arch/i386-gnu-cfi.exp, gdb.arch/i386-gnu-cfi.c,
16098 gdb.arch/i386-gnu-cfi-asm.S: New files.
16099
16100 2007-01-14 Jan Kratochvil <jan.kratochvil@redhat.com>
16101
16102 * lib/gdb.exp: Abort on missing `site.exp'.
16103
16104 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16105 Daniel Jacobowitz <dan@codesourcery.com>
16106
16107 * gdb.base/included.c, gdb.base/included.exp,
16108 gdb.base/included.h: New files.
16109
16110 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com>
16111
16112 * gdb.base/bigcore.c (RLIMIT_CAP): Define.
16113 (maximize_rlimit): Reduce limits on 64-bit systems.
16114
16115 2007-01-19 Mark Kettenis <kettenis@gnu.org>
16116
16117 From Marcus Deuling <deuling@de.ibm.com>:
16118 * gdb.arch/altivec-regs.exp: Initialise variable endianness in
16119 every case.
16120
16121 2007-01-13 Nick Roberts <nickrob@snap.net.nz>
16122
16123 * gdb.mi/mi-basics.exp, gdb.mi/mi2-basics.exp (test_dir_specification)
16124 (test_path_specification): Use objdir instead of srcdir to always
16125 get an absolute filename.
16126
16127 2007-01-12 Daniel Jacobowitz <dan@codesourcery.com>
16128
16129 * gdb.cp/member-ptr.cc (class Padding): Make contents public.
16130
16131 2007-01-11 Vladimir Prus <vladimir@codesourcery.com>
16132
16133 * gdb.mi/mi-var-cp.cc (reference_update_tests):
16134 Make sure the variable we're using is in scope.
16135 (reference_to_pointer): Likewise.
16136
16137 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16138
16139 * gdb.ada/catch_ex.exp: Call unsupported and stop if the runtime
16140 has no debug information.
16141
16142 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com>
16143
16144 * gdb.base/annota1.exp: Remove extra send_gdb.
16145
16146 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16147
16148 * gdb.base/relativedebug.c, gdb.base/relativedebug.exp: New files.
16149
16150 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16151
16152 * gdb.arch/i386-size-overlap.c, gdb.arch/i386-size-overlap.exp: New.
16153
16154 2007-01-08 Nick Roberts <nickrob@snap.net.nz>
16155 Daniel Jacobowitz <dan@codesourcery.com>
16156
16157 * gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
16158 lcharacter or linteger change. Correct duplicated test name.
16159 * gdb.mi/mi2-var-cmd.exp: Likewise.
16160
16161 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com>
16162
16163 * gdb.threads/sigthread.c, gdb.threads/sigthread.exp: New.
16164
16165 2007-01-05 Joel Brobecker <brobecker@adacore.com>
16166
16167 * gdb.base/nofield.c: New file.
16168 * gdb.base/nofield.exp: New testcase.
16169
16170 2007-01-05 Nick Roberts <nickrob@snap.net.nz>
16171
16172 * gdb.mi/mi-var-cp.exp: New test for references to pointers.
16173
16174 * gdb.mi/mi-var-cp.cc: (reference_to_pointer): New procedure for above
16175 test.
16176
16177 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16178
16179 * gdb.mi/mi-var-cmd.exp: Add tests for unreadable varobjs.
16180
16181 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com>
16182
16183 * lib/mi-support.exp (mi_runto_helper): Expect two prompts
16184 when continuing.
16185
16186 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16187
16188 * gdb.base/annota3.exp ($binfile): Append $EXEEXT.
16189 Expect ".exe" extension.
16190
16191 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16192
16193 * gdb.base/charset.exp: Add explicit filename to break.
16194 * gdb.base/dbx.exp: Add explicit filename to breaks.
16195
16196 2007-01-04 Pedro Alves <pedro_alves@portugalmail.pt>
16197
16198 * gdb.mi/mi-file.exp: Use mi_gdb_file_cmd instead of mi_gdb_load.
16199 * gdb.mi/mi2-file.exp: Likewise.
16200
16201 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16202
16203 Implement specification of MI tests as comments
16204 in C and C++ sources.
16205 * lib/mi-support.exp (mi_autotest_data): New variable.
16206 (mi_autotest_source): New variable.
16207 (count_newlines, mi_prepare_inline_tests)
16208 (mi_get_inline_test, mi_continue_to_line)
16209 (mi_run_inline_test, mi_tbreak)
16210 (mi_send_resuming_command, mi_wait_for_stop): New functions.
16211 * gdb.mi/mi-var-cp.exp: Move most content to the C file.
16212 Run inline tests.
16213 * gdb.mi/mi-var-cp.cc: Define tests here.
16214
16215 2007-01-04 Vladimir Prus <vladimir@codesourcery.com>
16216
16217 Simplify usage of mi_continue_to.
16218 * lib/mi-support.exp (mi_runto_helper): Renamed
16219 from mi_runto, added new parameter 'run_or_continue'.
16220 (mi_runto): Use mi_runto_helper.
16221 (mi_continue_to): Accept just function name as parameter.
16222 Use mi_runto_helper.
16223 * gdb.mi/mi-var-cmd.exp: Adjust to changes.
16224 * gdb.mi/mi2-var-cmd.exp: Likewise.
16225
16226 2006-01-04 Joel Brobecker <brobecker@adacore.com>
16227
16228 Make this testcase a bit more realistic. The current code
16229 is too simplistic, and allows the compiler to optimize out
16230 some of the entities we need for this testcase.
16231 * gdb.ada/null_record/bar.ads (Void_Star): New type.
16232 (Do_Nothing): Add extra parameter.
16233 * gdb.ada/null_record/bar.adb (Do_Nothing): Likewise.
16234 * gdb.ada/null_record/null_record.adb: Fake use of type Empty
16235 by using a variable of type Void_Star.
16236
16237 2006-01-04 Joel Brobecker <brobecker@adacore.com>
16238
16239 * gdb.ada/catch_ex/foo.adb: New file.
16240 * gdb.ada/catch_ex.exp: New testcase.
16241
16242 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt>
16243
16244 * gdb.base/shreloc.exp: Use ldflags instead of additional_flags to
16245 pass --image-base to linker.
16246
16247 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com>
16248 Daniel Jacobowitz <dan@codesourcery.com>
16249
16250 * gdb.base/readline.exp: Set $TERM. Test arrow keys in
16251 secondary prompts.
16252
16253 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16254
16255 * gdb.cp/classes.exp (test_pointers_to_class_members): Update expected
16256 output. Test the types of members and member pointers.
16257 * gdb.cp/inherit.exp (test_print_mi_member_types): Remove KFAILs for
16258 gdb/2092.
16259 * gdb.cp/member-ptr.exp: Search for a comment instead of a
16260 statement. Enable for GCC. Update expected output for some tests
16261 and add new tests. Remove obsolete GCC KFAILs. Allow GCC's class
16262 layout.
16263 * gdb.cp/member-ptr.cc (Padding, Padding::vspacer, Base, Base::get_x)
16264 (Base::vget_base, Left, Left::vget, Right, Right::vget, Diamond)
16265 (Diamond::vget_base): New.
16266 (main): Add new tests.
16267 * gdb.cp/printmethod.exp: Update expected output for member functions.
16268 * gdb.cp/virtfunc.exp (test_virtual_calls): Add a KFAIL for
16269 print pEe->D::vg().
16270
16271 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com>
16272
16273 * gdb.threads/tls.exp: Allow stops in sem_post.
16274
16275 2006-12-31 Daniel Jacobowitz <dan@codesourcery.com>
16276
16277 * gdb.base/annota1.exp: Allow .*printf in backtraces.
16278 * gdb.base/annota3.exp: Likewise.
16279 * gdb.base/sigstep.exp (advancei): Fail if we hit the breakpoint
16280 again (instead of timing out).
16281 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add an XFAIL for
16282 GCC bug 26475.
16283 * gdb.java/jmisc.exp: Adjust to work with method signatures including
16284 return types. Add kfails for GDB bugs 2214 and 2215. Move exit
16285 test from jmisc1.exp.
16286 * gdb.java/jmisc1.exp: Delete.
16287 * gdb.java/jprint.exp: Adjust to work with method signatures including
16288 return types.
16289 * gdb.objc/basicclass.exp: Update for gobjc 4.1 debug info.
16290 * gdb.threads/linux-dp.exp: Don't be confused by program output.
16291 * lib/java.exp (compile_java_from_source): Pass the correct type
16292 to target_compile.
16293
16294 2006-12-31 Joel Brobecker <brobecker@adacore.com>
16295
16296 * gdb.arch/i386-prologue.c (stack_align_ecx): Renamed from stack_align.
16297 (stack_align_edx): New function.
16298 (stack_align_eax): New function.
16299 (main): Add calls to stack_align_edx and stack_align_eax.
16300 * gdb.arch/i386-prologue.exp: Replace stack_align with stack_align_ecx.
16301 Add testing for the cases where the register used during a stack
16302 realignment is edx. Same for eax.
16303
16304 2006-12-30 Pedro Alves <pedro_alves@portugalmail.pt>
16305
16306 * lib/gdb.exp: Don't pass -fpic to gcc on Cygwin, MinGW
16307 and generic PE targets.
16308
16309 2006-12-29 Joel Brobecker <brobecker@adacore.com>
16310
16311 * gdb.ada/array_return.exp: Update copyright date list.
16312
16313 2006-12-27 Joel Brobecker <brobecker@adacore.com>
16314
16315 * gdb.ada/array_return/pck.ads (Small_Float_Vector): New type.
16316 (Create_Small_Float_Vector): New function.
16317 * gdb.ada/array_return/pck.adb (Create_Small_Float_Vector): Add
16318 function body.
16319 * gdb.ada/array_return/p.adb: Use new type and function from
16320 package Pck.
16321 * gdb.ada/array_return.exp: Add a test verifying that GDB is
16322 able to print the value returned by a function returning an
16323 array of float.
16324
16325 2006-12-20 Joel Brobecker <brobecker@adacore.com>
16326
16327 * gdb.arch/i386-prologue.exp: Remove calls to setup_kfail.
16328 The associated tests should be PASSing.
16329
16330 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16331
16332 Test for base in references.
16333 * gdb.mi/mi-var-cp.cc: Add test code.
16334 * gdb.mi/mi-var-cp.exp: Test for bases in references.
16335 * gdb.mi/mi-watch.exp: Adjust to mi_runto changes.
16336 * gdb.mi/mi2-watch.exp: Likewise.
16337 * lib/mi-support.exp (mi_runto): Use temporary breakpoint.
16338 (mi_list_varobj_children): New function.
16339
16340 2006-12-08 Vladimir Prus <vladimir@codesourcery.com>
16341
16342 * lib/mi-support.exp
16343 (mi_runto): Accept "()" after function name.
16344 (mi_create_varobj): New function.
16345 (mi_varobj_update): New function.
16346 (mi_Check_varobj_value): New function.
16347 * gdb.mi/mi-var-cp.exp: New file.
16348 * gdb.mi/mi-var-cp.cc: New file.
16349
16350 2006-12-01 Daniel Jacobowitz <dan@codesourcery.com>
16351
16352 * gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
16353 gdb.base/weaklib2.c: New files.
16354
16355 2006-11-29 Nathan Sidwell <nathan@codesourcery.com>
16356
16357 * gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
16358 info. Adjust test names.
16359
16360 * gdb.base/break.c (main): Move position of malloc.
16361 * gdb.base/break.exp: Revert mistaken checkin.
16362
16363 2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
16364
16365 * gdb.mi/mi-var-cmd.exp: Check -var-update after
16366 assignement of arrays and function pointers.
16367 * gdb.mi/var-cmd.c: Add declaration necessary for above
16368 tests.
16369
16370 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16371
16372 * gdb.base/break.c (main): Call malloc.
16373
16374 * gdb.threads/linux-dp.exp: Read thread table before and after
16375 creating each philosopher and verify it.
16376
16377 2006-11-27 Nathan Sidwell <nathan@codesourcery.com>
16378 Paul Brook <paul@codesourcery.com>
16379 Daniel Jacobowitz <dan@codesourcery.com>
16380
16381 * gdb.base/ending-run.exp: Flatten expect script stepping out of
16382 main to remove duplication. Add start function of the form
16383 '_*start[1-9]*'. Add RVDS start function.
16384
16385 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16386
16387 * gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
16388
16389 2006-11-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16390
16391 * gdb.asm/asm-source.exp: Add "spu*-*-*" target.
16392 * gdb.asm/spu.inc: New file.
16393 * gdb.base/term.exp: Disable if [target_info exists noargs].
16394 * gdb.gdb/complaints.exp: Disable if ![isnative].
16395 * gdb.gdb/selftest.exp: Likewise.
16396 * gdb.gdb/observer.exp: Likewise.
16397 * gdb.gdb/xfullpath.exp: Likewise.
16398 * gdb.base/attach.exp: Disable on SPU target.
16399 * gdb.cp/bs145503.exp: Likewise.
16400 * gdb.cp/exception.exp: Likewise.
16401 * gdb.cp/userdef.exp: Likewise.
16402
16403 2006-11-22 Daniel Jacobowitz <dan@codesourcery.com>
16404
16405 * gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
16406
16407 2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
16408
16409 * gdb.base/completion.exp: Fix completion tests for
16410 'info' and 'info '.
16411 * gdb.base/help.exp (help_test_raw, test_class_help)
16412 (test_prefix_command_help): Move...
16413 * lib/gdb.exp: Here.
16414 * gdb.base/main.exp: Adjust.
16415 * gdb.cp/maint.exp: Adjust.
16416 * gdb.trace/tracecmd.exp: Use test_help_class.
16417
16418 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16419
16420 * gdb.stabs/weird.exp (print_weird_var): Use
16421 gdb_test_multiple instead of gdb_expect.
16422
16423 2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
16424
16425 * gdb.base/help.exp (help_test_raw): New.
16426 (test_class_help): New.
16427 (test_prefix_command_help): New.
16428 Adjust testcases.
16429
16430 2006-11-09 Christophe Lyon <christophe.lyon@st.com>
16431
16432 * gdb.base/constvars.c (main): Write to crass and crips, so that
16433 they are allocated by the compiler.
16434
16435 2006-10-27 Andreas Schwab <schwab@suse.de>
16436
16437 * gdb.base/multi-forks.exp: Use "detach fork" instead of
16438 "detach-fork".
16439
16440 2006-10-18 Daniel Jacobowitz <dan@codesoucery.com>
16441
16442 * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
16443 of patterns.
16444
16445 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16446
16447 * gdb.base/sepdebug.exp: Remove debug format test.
16448 * lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
16449 Handle no-symtab.
16450 * gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.
16451
16452 2006-10-17 Daniel Jacobowitz <dan@codesourcery.com>
16453
16454 * gdb.threads/manythreads.c (thread_function, main): Don't cast
16455 int to pointer or pointer to int.
16456 * gdb.threads/manythreads.exp: Don't expect the string "LWP".
16457
16458 2006-10-12 Daniel Jacobowitz <dan@codesourcery.com>
16459
16460 * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
16461
16462 2006-10-09 Jan Kratochvil <jan.kratochvil@redhat.com>
16463
16464 * gdb.threads/tls-nodebug.c, gdb.threads/tls-nodebug.exp: New test.
16465
16466 2006-10-09 Daniel Jacobowitz <dan@codesourcery.com>
16467
16468 PR c++/2116
16469 * gdb.cp/call-c.cc, gdb.cp/call-c.exp, gdb.cp/call-c-1.c: New.
16470
16471 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16472
16473 * gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
16474 the corresponding bug has been fixed in GDB (PR/2018).
16475
16476 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16477
16478 * gdb.base/subst.exp: New testcase.
16479
16480 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16481
16482 * gdb.ada/array_return/pck.ads: Add copyright notice.
16483 * gdb.ada/array_return/pck.adb: Likewise.
16484 * gdb.ada/array_return/p.adb: Likewise.
16485 * gdb.ada/exec_changed/first.adb: Likewise.
16486 * gdb.ada/exec_changed/second.adb: Likewise.
16487
16488 2006-10-06 Joel Brobecker <brobecker@adacore.com>
16489
16490 * gdb.ada/watch_arg/watch.adb: New file.
16491 * gdb.ada/watch_arg.exp: New testcase.
16492
16493 2006-10-02 Vladimir Prus <vladimir@codesourcery.com>
16494
16495 * gdb.mi/mi-basics.exp (test_path_specification): Pass orig_path
16496 via string_to_regexp.
16497 * gdb.mi/mi2-basics.exp: Likewise.
16498
16499 2006-09-20 Michael Snyder <michael.snyder@palmsource.com>
16500
16501 * abug.exp, cpu32bug.exp, est.exp hmsirom.exp, nind.exp:
16502 Remove unused / obsolete files.
16503
16504 2006-09-19 Nick Roberts <nickrob@snap.net.nz>
16505
16506 * gdb.base/multi-forks.exp: Include __kernel_vsyscall in regexp.
16507
16508 2006-09-17 Vladimir Prus <vladimir@codesourcery.com>
16509
16510 * gdb.mi/mi-stack.exp (test_stack_args_listing): Test that
16511 HIGH_FRAME argument to -stack-list-arguments can be larger than
16512 the number of frames.
16513
16514 2006-09-15 Daniel Jacobowitz <dan@codesourcery.com>
16515
16516 * gdb.base/args.c (main): Add breakpoint marker.
16517 * gdb.base/args.exp: Use args_test for tests. Add new tests which
16518 really test empty arguments.
16519 (args_load): Delete.
16520 (args_test): New.
16521
16522 2006-09-13 Nick Roberts <nickrob@snap.net.nz>
16523
16524 * gdb.mi/mi-file.exp (test_file_list_exec_source_files): Just
16525 check for one file.
16526
16527 2006-09-07 Vladimir Prus <ghost@vladimir@codesourcery.com>
16528
16529 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Test that
16530 HIGH_FRAME argument to -stack-list-locals can be larger than
16531 the number of frames.
16532
16533 2006-08-18 Fred Fish <fnf@specifix.com>
16534
16535 * lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
16536 '$' in front of skip_vmx_tests_saved when setting that.
16537
16538 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com>
16539
16540 * gdb.base/trace-commands.exp: New file.
16541
16542 2006-08-10 Joel Brobecker <brobecker@adacore.com>
16543 Daniel Jacobowitz <dan@codesourcery.com>
16544
16545 * gdb.base/step-bt.exp: Make hexadecimal address optional in
16546 expected output of the backtrace commands.
16547
16548 2006-08-09 Joel Brobecker <brobecker@adacore.com>
16549
16550 * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
16551 untested followed by return combination.
16552 * gdb.arch/altivec-regs.exp: Likewise.
16553 * gdb.arch/e500-abi.exp: Likewise.
16554 * gdb.arch/e500-regs.exp: Likewise.
16555 * gdb.arch/gdb1291.exp: Likewise.
16556 * gdb.arch/gdb1431.exp: Likewise.
16557 * gdb.arch/gdb1558.exp: Likewise.
16558 * gdb.arch/i386-prologue.exp: Likewise.
16559 * gdb.arch/i386-unwind.exp: Likewise.
16560 * gdb.asm/asm-source.exp: Likewise.
16561 * gdb.base/a2-run.exp: Likewise.
16562 * gdb.base/advance.exp: Likewise.
16563 * gdb.base/all-bin.exp: Likewise.
16564 * gdb.base/annota1.exp: Likewise.
16565 * gdb.base/annota3.exp: Likewise.
16566 * gdb.base/args.exp: Likewise.
16567 * gdb.base/arithmet.exp: Likewise.
16568 * gdb.base/assign.exp: Likewise.
16569 * gdb.base/async.exp: Likewise.
16570 * gdb.base/attach.exp: Likewise.
16571 * gdb.base/bang.exp: Likewise.
16572 * gdb.base/bigcore.exp: Likewise.
16573 * gdb.base/bitfields.exp: Likewise.
16574 * gdb.base/bitfields2.exp: Likewise.
16575 * gdb.base/break.exp: Likewise.
16576 * gdb.base/call-sc.exp: Likewise.
16577 * gdb.base/call-strs.exp: Likewise.
16578 * gdb.base/callfuncs.exp: Likewise.
16579 * gdb.base/checkpoint.exp: Likewise.
16580 * gdb.base/chng-syms.exp: Likewise.
16581 * gdb.base/code-expr.exp: Likewise.
16582 * gdb.base/commands.exp: Likewise.
16583 * gdb.base/completion.exp: Likewise.
16584 * gdb.base/cond-expr.exp: Likewise.
16585 * gdb.base/condbreak.exp: Likewise.
16586 * gdb.base/consecutive.exp: Likewise.
16587 * gdb.base/constvars.exp: Likewise.
16588 * gdb.base/corefile.exp: Likewise.
16589 * gdb.base/cvexpr.exp: Likewise.
16590 * gdb.base/dbx.exp: Likewise.
16591 * gdb.base/define.exp: Likewise.
16592 * gdb.base/detach.exp: Likewise.
16593 * gdb.base/display.exp: Likewise.
16594 * gdb.base/dump.exp: Likewise.
16595 * gdb.base/ena-dis-br.exp: Likewise.
16596 * gdb.base/ending-run.exp: Likewise.
16597 * gdb.base/environ.exp: Likewise.
16598 * gdb.base/eval-skip.exp: Likewise.
16599 * gdb.base/exprs.exp: Likewise.
16600 * gdb.base/fileio.exp: Likewise.
16601 * gdb.base/finish.exp: Likewise.
16602 * gdb.base/float.exp: Likewise.
16603 * gdb.base/foll-exec.exp: Likewise.
16604 * gdb.base/foll-fork.exp: Likewise.
16605 * gdb.base/foll-vfork.exp: Likewise.
16606 * gdb.base/freebpcmd.exp: Likewise.
16607 * gdb.base/funcargs.exp: Likewise.
16608 * gdb.base/gcore.exp: Likewise.
16609 * gdb.base/gdb1090.exp: Likewise.
16610 * gdb.base/gdb1250.exp: Likewise.
16611 * gdb.base/huge.exp: Likewise.
16612 * gdb.base/info-proc.exp: Likewise.
16613 * gdb.base/interrupt.exp: Likewise.
16614 * gdb.base/jump.exp: Likewise.
16615 * gdb.base/langs.exp: Likewise.
16616 * gdb.base/lineinc.exp: Likewise.
16617 * gdb.base/list.exp: Likewise.
16618 * gdb.base/logical.exp: Likewise.
16619 * gdb.base/long_long.exp: Likewise.
16620 * gdb.base/macscp.exp: Likewise.
16621 * gdb.base/maint.exp: Likewise.
16622 * gdb.base/mips_pro.exp: Likewise.
16623 * gdb.base/miscexprs.exp: Likewise.
16624 * gdb.base/multi-forks.exp: Likewise.
16625 * gdb.base/opaque.exp: Likewise.
16626 * gdb.base/overlays.exp: Likewise.
16627 * gdb.base/pc-fp.exp: Likewise.
16628 * gdb.base/pointers.exp: Likewise.
16629 * gdb.base/printcmds.exp: Likewise.
16630 * gdb.base/psymtab.exp: Likewise.
16631 * gdb.base/ptype.exp: Likewise.
16632 * gdb.base/recurse.exp: Likewise.
16633 * gdb.base/relational.exp: Likewise.
16634 * gdb.base/relocate.exp: Likewise.
16635 * gdb.base/remote.exp: Likewise.
16636 * gdb.base/reread.exp: Likewise.
16637 * gdb.base/restore.exp: Likewise.
16638 * gdb.base/return.exp: Likewise.
16639 * gdb.base/return2.exp: Likewise.
16640 * gdb.base/scope.exp: Likewise.
16641 * gdb.base/sect-cmd.exp: Likewise.
16642 * gdb.base/sep.exp: Likewise.
16643 * gdb.base/sepdebug.exp: Likewise.
16644 * gdb.base/setshow.exp: Likewise.
16645 * gdb.base/setvar.exp: Likewise.
16646 * gdb.base/sigall.exp: Likewise.
16647 * gdb.base/sigbpt.exp: Likewise.
16648 * gdb.base/signals.exp: Likewise.
16649 * gdb.base/signull.exp: Likewise.
16650 * gdb.base/sizeof.exp: Likewise.
16651 * gdb.base/solib.exp: Likewise.
16652 * gdb.base/step-line.exp: Likewise.
16653 * gdb.base/step-test.exp: Likewise.
16654 * gdb.base/structs.exp: Likewise.
16655 * gdb.base/structs2.exp: Likewise.
16656 * gdb.base/term.exp: Likewise.
16657 * gdb.base/twice.exp: Likewise.
16658 * gdb.base/until.exp: Likewise.
16659 * gdb.base/varargs.exp: Likewise.
16660 * gdb.base/volatile.exp: Likewise.
16661 * gdb.base/watchpoint.exp: Likewise.
16662 * gdb.base/whatis-exp.exp: Likewise.
16663 * gdb.base/whatis.exp: Likewise.
16664 * gdb.cp/ambiguous.exp: Likewise.
16665 * gdb.cp/annota2.exp: Likewise.
16666 * gdb.cp/annota3.exp: Likewise.
16667 * gdb.cp/bool.exp: Likewise.
16668 * gdb.cp/breakpoint.exp: Likewise.
16669 * gdb.cp/casts.exp: Likewise.
16670 * gdb.cp/class2.exp: Likewise.
16671 * gdb.cp/classes.exp: Likewise.
16672 * gdb.cp/cplusfuncs.exp: Likewise.
16673 * gdb.cp/ctti.exp: Likewise.
16674 * gdb.cp/derivation.exp: Likewise.
16675 * gdb.cp/exception.exp: Likewise.
16676 * gdb.cp/gdb1355.exp: Likewise.
16677 * gdb.cp/hang.exp: Likewise.
16678 * gdb.cp/inherit.exp: Likewise.
16679 * gdb.cp/local.exp: Likewise.
16680 * gdb.cp/m-data.exp: Likewise.
16681 * gdb.cp/m-static.exp: Likewise.
16682 * gdb.cp/member-ptr.exp: Likewise.
16683 * gdb.cp/method.exp: Likewise.
16684 * gdb.cp/misc.exp: Likewise.
16685 * gdb.cp/namespace.exp: Likewise.
16686 * gdb.cp/overload.exp: Likewise.
16687 * gdb.cp/ovldbreak.exp: Likewise.
16688 * gdb.cp/pr-1023.exp: Likewise.
16689 * gdb.cp/pr-1210.exp: Likewise.
16690 * gdb.cp/pr-574.exp: Likewise.
16691 * gdb.cp/printmethod.exp: Likewise.
16692 * gdb.cp/psmang.exp: Likewise.
16693 * gdb.cp/ref-params.exp: Likewise.
16694 * gdb.cp/ref-types.exp: Likewise.
16695 * gdb.cp/rtti.exp: Likewise.
16696 * gdb.cp/templates.exp: Likewise.
16697 * gdb.cp/try_catch.exp: Likewise.
16698 * gdb.cp/userdef.exp: Likewise.
16699 * gdb.cp/virtfunc.exp: Likewise.
16700 * gdb.disasm/am33.exp: Likewise.
16701 * gdb.disasm/h8300s.exp: Likewise.
16702 * gdb.disasm/mn10300.exp: Likewise.
16703 * gdb.disasm/sh3.exp: Likewise.
16704 * gdb.disasm/t01_mov.exp: Likewise.
16705 * gdb.disasm/t02_mova.exp: Likewise.
16706 * gdb.disasm/t03_add.exp: Likewise.
16707 * gdb.disasm/t04_sub.exp: Likewise.
16708 * gdb.disasm/t05_cmp.exp: Likewise.
16709 * gdb.disasm/t06_ari2.exp: Likewise.
16710 * gdb.disasm/t07_ari3.exp: Likewise.
16711 * gdb.disasm/t08_or.exp: Likewise.
16712 * gdb.disasm/t09_xor.exp: Likewise.
16713 * gdb.disasm/t10_and.exp: Likewise.
16714 * gdb.disasm/t11_logs.exp: Likewise.
16715 * gdb.disasm/t12_bit.exp: Likewise.
16716 * gdb.disasm/t13_otr.exp: Likewise.
16717 * gdb.hp/gdb.aCC/optimize.exp: Likewise.
16718 * gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
16719 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
16720 * gdb.hp/gdb.base-hp/dollar.exp: Likewise.
16721 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
16722 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
16723 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
16724 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
16725 * gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
16726 * gdb.hp/gdb.compat/xdb1.exp: Likewise.
16727 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
16728 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
16729 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
16730 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
16731 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
16732 * gdb.mi/gdb701.exp: Likewise.
16733 * gdb.mi/gdb792.exp: Likewise.
16734 * gdb.mi/mi-basics.exp: Likewise.
16735 * gdb.mi/mi-break.exp: Likewise.
16736 * gdb.mi/mi-cli.exp: Likewise.
16737 * gdb.mi/mi-console.exp: Likewise.
16738 * gdb.mi/mi-disassemble.exp: Likewise.
16739 * gdb.mi/mi-eval.exp: Likewise.
16740 * gdb.mi/mi-file.exp: Likewise.
16741 * gdb.mi/mi-read-memory.exp: Likewise.
16742 * gdb.mi/mi-regs.exp: Likewise.
16743 * gdb.mi/mi-return.exp: Likewise.
16744 * gdb.mi/mi-simplerun.exp: Likewise.
16745 * gdb.mi/mi-stack.exp: Likewise.
16746 * gdb.mi/mi-stepi.exp: Likewise.
16747 * gdb.mi/mi-syn-frame.exp: Likewise.
16748 * gdb.mi/mi-until.exp: Likewise.
16749 * gdb.mi/mi-var-block.exp: Likewise.
16750 * gdb.mi/mi-var-child.exp: Likewise.
16751 * gdb.mi/mi-var-cmd.exp: Likewise.
16752 * gdb.mi/mi-var-display.exp: Likewise.
16753 * gdb.mi/mi-watch.exp: Likewise.
16754 * gdb.mi/mi2-basics.exp: Likewise.
16755 * gdb.mi/mi2-break.exp: Likewise.
16756 * gdb.mi/mi2-cli.exp: Likewise.
16757 * gdb.mi/mi2-console.exp: Likewise.
16758 * gdb.mi/mi2-disassemble.exp: Likewise.
16759 * gdb.mi/mi2-eval.exp: Likewise.
16760 * gdb.mi/mi2-file.exp: Likewise.
16761 * gdb.mi/mi2-read-memory.exp: Likewise.
16762 * gdb.mi/mi2-regs.exp: Likewise.
16763 * gdb.mi/mi2-return.exp: Likewise.
16764 * gdb.mi/mi2-simplerun.exp: Likewise.
16765 * gdb.mi/mi2-stack.exp: Likewise.
16766 * gdb.mi/mi2-stepi.exp: Likewise.
16767 * gdb.mi/mi2-syn-frame.exp: Likewise.
16768 * gdb.mi/mi2-until.exp: Likewise.
16769 * gdb.mi/mi2-var-block.exp: Likewise.
16770 * gdb.mi/mi2-var-child.exp: Likewise.
16771 * gdb.mi/mi2-var-cmd.exp: Likewise.
16772 * gdb.mi/mi2-var-display.exp: Likewise.
16773 * gdb.mi/mi2-watch.exp: Likewise.
16774 * gdb.stabs/exclfwd.exp: Likewise.
16775 * gdb.stabs/weird.exp: Likewise.
16776 * gdb.threads/gcore-thread.exp: Likewise.
16777 * gdb.trace/actions.exp: Likewise.
16778 * gdb.trace/backtrace.exp: Likewise.
16779 * gdb.trace/circ.exp: Likewise.
16780 * gdb.trace/collection.exp: Likewise.
16781 * gdb.trace/deltrace.exp: Likewise.
16782 * gdb.trace/infotrace.exp: Likewise.
16783 * gdb.trace/limits.exp: Likewise.
16784 * gdb.trace/packetlen.exp: Likewise.
16785 * gdb.trace/passc-dyn.exp: Likewise.
16786 * gdb.trace/passcount.exp: Likewise.
16787 * gdb.trace/report.exp: Likewise.
16788 * gdb.trace/save-trace.exp: Likewise.
16789 * gdb.trace/tfind.exp: Likewise.
16790 * gdb.trace/tracecmd.exp: Likewise.
16791 * gdb.trace/while-dyn.exp: Likewise.
16792 * gdb.trace/while-stepping.exp: Likewise.
16793
16794 2006-08-08 Joel Brobecker <brobecker@adacore.com>
16795
16796 * gdb.base/step-bt.c: New file.
16797 * gdb.base/step-bt.exp: New testcase.
16798
16799 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com>
16800
16801 * config/monitor.exp (gdb_load): Remove support for obsolete
16802 download-write-size.
16803 * gdb.base/remote.exp: Likewise. Update all callers of
16804 gdb_timed_load.
16805
16806 2006-08-02 Daniel Jacobowitz <dan@codesourcery.com>
16807
16808 * cursal.exp: Pass binfile to gdb_load.
16809
16810 2006-08-01 Nathan Sidwell <nathan@codesourcery.com>
16811
16812 * gdb.base/cursal.exp: Add "" to gdb_load call.
16813
16814 2006-07-29 Mark Kettenis <kettenis@gnu.org>
16815
16816 * gdb.asm/asm-source.exp: Add alpha-*-netbsd* to the list of
16817 NetBSD/ELF targets.
16818
16819 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com>
16820
16821 * gdb.cp/userdef.cc, gdb.cp/userdef.exp: New tests for unary
16822 operator*.
16823
16824 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com>
16825
16826 * gdb.base/completion.exp: Update for change in "file" behavior.
16827 * gdb.stabs/weird.exp: Likewise.
16828 * lib/mi-support.exp (mi_gdb_file_cmd): Likewise.
16829 * lib/gdb.exp (gdb_file_cmd): Likewise. Kill the program explicitly.
16830
16831 2006-07-24 Nathan Sidwell <nathan@codesourcery.com>
16832
16833 * gdb.base/auxv.exp: Skip on non-linux, non-solaris targets.
16834 * gdb.base/cursal.exp: Use gdb_file_cmd first, then separate gdb_load.
16835
16836 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com>
16837
16838 * gdb.base/default.exp: Update source command error message.
16839 * gdb.base/help.exp: Update 'help source' message.
16840
16841 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com>
16842
16843 * gdb.cp/bs15503.exp: Update comment for no longer crashing
16844 test.
16845
16846 2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
16847
16848 * gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
16849
16850 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16851
16852 * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files.
16853
16854 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com>
16855
16856 * gdb.threads/print-threads.exp: Use gdb_breakpoint.
16857
16858 2006-07-17 Mark Kettenis <kettenis@gnu.org>
16859
16860 * gdb.base/long_long.exp (gdb_test_long_long): Exclude
16861 *-*-openbsd* from targets for wich we expect ARM FPA floating
16862 point format.
16863
16864 2006-07-17 Nick Roberts <nickrob@snap.net.nz>
16865
16866 * gdb.cp/annota3.exp: Expect frame-begin annotation.
16867
16868 2006-07-17 Mark Kettenis <kettenis@gnu.org>
16869
16870 * gdb.base/annota3.exp: Expect frame-begin annotation.
16871
16872 2006-07-14 Joel Brobecker <brobecker@adacore.com>
16873
16874 * gdb.base/help.exp: Adjust "help unset" test to accept
16875 any list of unset commands.
16876
16877 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com>
16878 Daniel Jacobowitz <dan@codesourcery.com>
16879
16880 * gdb.cp/ref-params.exp: New test.
16881 * gdb.cp/ref-params.cc: New source file.
16882 * gdb.cp/Makefile.in (EXECUTABLES): Add ref-params.
16883
16884 2006-07-08 Mark Kettenis <kettenis@gnu.org>
16885
16886 * gdb.arch/alpha-step.exp (test_stepi): Do not include trailing
16887 spaces/tabs in regular expressions since they might not be there.
16888
16889 2006-07-07 Andrew Stubbs <andrew.stubbs@st.com>
16890
16891 * gdb.base/ifelse.exp: New file.
16892
16893 2006-07-04 Nathan Sidwell <nathan@codesourcery.com>
16894
16895 * gdb.base/huge.c: Allow CRASH_GDB to be set from command
16896 line.
16897 * gdb.base/huge.exp: Loop over compilation to find a size that
16898 is acceptable.
16899 * gdb.base/remote.exp: Correct expected strings.
16900 * gdb.dwarf2/mac-fileno.S: Avoid # comments.
16901
16902 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16903
16904 * gdb.base/store.exp: Don't use gdb_suppress_entire_file.
16905
16906 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16907
16908 * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
16909 native.
16910
16911 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16912
16913 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
16914 enable stabs testing.
16915
16916 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16917
16918 * gdb.base/auxv.exp: Intercept undefined command messages before
16919 gdb_test_multiple does.
16920
16921 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com>
16922
16923 * Makefile.in (host_alias): Remove.
16924 (target_alias): Use @target_noncanonical@.
16925 (site.exp): Don't set host_alias.
16926 * aclocal.m4: Remove contents. Include acx.m4.
16927 * configure: Regenerated.
16928 * configure.ac: Use ACX_NONCANONICAL_TARGET.
16929
16930 2006-06-13 Nathan Sidwell <nathan@codesourcery.com>
16931
16932 * lib/gdb.exp (gdb_load_cmd): New.
16933
16934 * gdb.base/fileio.c: Add system(NULL) test.
16935 * gdb.base/fileio.exp: Check it.
16936
16937 * gdb.base/break.c: Add 10a breakpoint at }
16938 * gdb.base/break.exp: Add test for breakpoint at }
16939 * gdb.cp/anon-union.cc: Add code at end of function.
16940 * gdb.cp/anon-union.exp: Adjust end of function breakpoint.
16941 * gdb.mi/var-cmd.c: Add code at end of function.
16942 * gdb.mi/mi-var-display.exp: Adjust end of next.
16943 * gdb.mi/mi2-var-display.exp: Likewise.
16944 * gdb.base/fileio.c: Add stop function and insert calls at
16945 stopping places.
16946 * gdb.base/fileio.exp: Breakpoint stop function and remove
16947 explicit line number references.
16948
16949 2006-05-19 Joel Brobecker <brobecker@adacore.com>
16950
16951 * gdb.base/del.exp (test_delete_alias): New function.
16952 Now check that both "del" and "d" work as aliases for "delete".
16953
16954 2006-05-18 Fred Fish <fnf@specifix.com>
16955
16956 * gdb.base/a2-run.exp: Allow part of test to run when args aren't
16957 required. Check for spurious output after program exits normally.
16958
16959 2006-05-17 Fred Fish <fnf@specifix.com>
16960
16961 * gdb.base/relocate.exp: Use gdb_file_cmd rather than
16962 gdb_load, so it works in the simulator.
16963
16964 2006-05-11 Fred Fish <fnf@specifix.com>
16965
16966 * gdb.base/bang.exp: Ignore unexpected output between the
16967 "program exited normally" and the gdb prompt, as many other
16968 tests do.
16969
16970 2006-05-07 Mark Kettenis <kettenis@gnu.org>
16971
16972 * gdb.base/help.exp: Make "delete checkpoint" part option for
16973 "help d" and "help delete" tests.
16974
16975 2006-05-06 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16976
16977 * gdb.mi/mi-basics.exp: Add missing serial number to
16978 expected output in some mi_gdb_test statements.
16979 * gdb.mi/mi2-basics.exp: Likewise.
16980
16981 2006-05-05 Joel Brobecker <brobecker@adacore.com>
16982
16983 * gdb.base/del.c: New file.
16984 * gdb.base/del.exp: New testcase.
16985
16986 2006-05-05 David S. Miller <davem@sunset.davemloft.net>
16987
16988 * gdb.base/break.exp: Do not assume a breakpoint on
16989 main will actually be in $srcfile when optimizing.
16990 * gdb.base/savedregs.exp: Do not require that the dummy
16991 frame location match up to a symbol and source file location.
16992 * gdb.mi/mi-regs.exp (111-data-list-register-values x): "No registers"
16993 will get printed without a mi_cmd_data_list_register_values prefix.
16994 (*-data-list-register-*): Correct regular expressions to expect the new
16995 pseudo d? floating point registers.
16996 * gdb.mi/mi2-regs.exp: Likewise.
16997
16998 2006-05-05 Christophe Lyon <christophe.lyon@st.com>
16999
17000 * gdb.cp/m-static.h (class gnu_obj_4): Add dummy member.
17001 * gdb.cp/m-static.cc (main): Write to test4.dummy, so that test4
17002 is allocated by the compiler.
17003 * gdb.mi/var-cmd.c: (do_special_tests): Write to u, anonu, s,
17004 anons, e, anone to force their allocation by the compiler.
17005
17006 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com>
17007
17008 * gdb.base/help.exp: Update expected text for help d and
17009 help delete.
17010
17011 2006-05-02 Mark Kettenis <kettenis@gnu.org>
17012
17013 * gdb.asm/asm-source.exp: Add powerpc-*-netbsd* to the list of
17014 NetBSD/ELF targets.
17015
17016 2006-04-30 Mark Kettenis <kettenis@gnu.org>
17017
17018 * gdb.base/sigbpt.exp (stepi_out): FAIL when inserting a
17019 single-step breakpoint fails; make this a KFAIL on
17020 sparc*-*-openbsd*.
17021 * gdb.base/siginfo.exp: Likewise.
17022 * gdb.base/sigstep.exp (advance, advancei): Likewise.
17023
17024 2006-04-26 Michael Snyder <msnyder@redhat.com>
17025
17026 * gdb.base/multi-forks.exp: Modify patterns for "run to exit",
17027 which may have to consume output from other forks.
17028 Add tests to make sure that "delete fork" succeeded.
17029
17030 2006-04-20 Michael Snyder <msnyder@redhat.com>
17031
17032 * 2006-03-22 Jim Blandy <jimb@redhat.com>
17033 Add support for the Renesas M32C and M16C.
17034
17035 * gdb.asm/asm-source.exp: Add m32c target.
17036 * gdb.asm/m32c.inc: Support for m32c target.
17037
17038 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
17039
17040 * gdb.base/commands.exp (recursive_source_test): New test.
17041
17042 2006-04-04 David S. Miller <davem@sunset.davemloft.net>
17043
17044 * gdb.base/float.exp: Add pattern for sparc targets.
17045
17046 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com>
17047
17048 * gdb.base/commands.exp (stray_arg0_test): New test.
17049
17050 2006-03-30 Paul Brook <paul@codesourcery.com>
17051
17052 * gdb.mi/mi-until.exp: kfail broken until command.
17053 * gdb.mi/mi2-until.exp: Ditto.
17054
17055 2006-03-27 Nick Roberts <nickrob@snap.net.nz>
17056
17057 * gdb.mi/mi-var-child-f.exp, gdb.mi/array.f: New files.
17058
17059 2006-03-08 Alexandre Oliva <aoliva@redhat.com>
17060
17061 * gdb.base/prelink.exp: Anchor tested-for regular expression
17062 on gdb prompt.
17063
17064 2006-03-07 Paul Brook <paul@codesourcery.com>
17065
17066 * gdb.base/assign.exp: Correct fail message.
17067
17068 2006-03-07 Paul Brook <paul@codesourcery.com>
17069
17070 * lib/compiler.c: Extract armcc version number.
17071 * lib/compiler.cc: Ditto.
17072
17073 2006-03-07 Paul Brook <paul@codesourcery.com>
17074
17075 * gdb.arch/altivec-abi.exp: Use nowarnings instead of
17076 additional_flags=-w.
17077 * gdb.arch/altivec-regs.exp: Ditto.
17078 * gdb.arch/e500-abi.exp: Ditto.
17079 * gdb.arch/e500-regs.exp: Ditto.
17080 * gdb.base/all-bin.exp: Ditto.
17081 * gdb.base/annota1.exp: Ditto.
17082 * gdb.base/annota3.exp: Ditto.
17083 * gdb.base/args.exp: Ditto.
17084 * gdb.base/arithmet.exp: Ditto.
17085 * gdb.base/assign.exp: Ditto.
17086 * gdb.base/async.exp: Ditto.
17087 * gdb.base/bang.exp: Ditto.
17088 * gdb.base/break.exp: Ditto.
17089 * gdb.base/call-rt-st.exp: Ditto.
17090 * gdb.base/completion.exp: Ditto.
17091 * gdb.base/cond-expr.exp: Ditto.
17092 * gdb.base/condbreak.exp: Ditto.
17093 * gdb.base/consecutive.exp: Ditto.
17094 * gdb.base/define.exp: Ditto.
17095 * gdb.base/display.exp: Ditto.
17096 * gdb.base/ena-dis-br.exp: Ditto.
17097 * gdb.base/environ.exp: Ditto.
17098 * gdb.base/eval-skip.exp: Ditto.
17099 * gdb.base/info-proc.exp: Ditto.
17100 * gdb.base/jump.exp: Ditto.
17101 * gdb.base/logical.exp: Ditto.
17102 * gdb.base/long_long.exp: Ditto.
17103 * gdb.base/maint.exp: Ditto.
17104 * gdb.base/miscexprs.exp: Ditto.
17105 * gdb.base/pc-fp.exp: Ditto.
17106 * gdb.base/pointers.exp: Ditto.
17107 * gdb.base/relational.exp: Ditto.
17108 * gdb.base/reread.exp: Ditto.
17109 * gdb.base/sect-cmd.exp: Ditto.
17110 * gdb.base/sep.exp: Ditto.
17111 * gdb.base/sepdebug.exp: Ditto.
17112 * gdb.base/until.exp: Ditto.
17113 * gdb.base/whatis-exp.exp: Ditto.
17114 * gdb.cp/annota2.exp: Ditto.
17115 * gdb.cp/annota3.exp: Ditto.
17116 * gdb.trace/actions.exp: Ditto.
17117 * gdb.trace/backtrace.exp: Ditto.
17118 * gdb.trace/circ.exp: Ditto.
17119 * gdb.trace/collection.exp: Ditto.
17120 * gdb.trace/deltrace.exp: Ditto.
17121 * gdb.trace/infotrace.exp: Ditto.
17122 * gdb.trace/limits.exp: Ditto.
17123 * gdb.trace/packetlen.exp: Ditto.
17124 * gdb.trace/passc-dyn.exp: Ditto.
17125 * gdb.trace/passcount.exp: Ditto.
17126 * gdb.trace/report.exp: Ditto.
17127 * gdb.trace/save-trace.exp: Ditto.
17128 * gdb.trace/tfind.exp: Ditto.
17129 * gdb.trace/tracecmd.exp: Ditto.
17130 * gdb.trace/while-dyn.exp: Ditto.
17131 * gdb.trace/while-stepping.exp: Ditto.
17132 * lib/gdb.exp: Ditto.
17133 (gdb_compile): Handle nowarning option.
17134
17135 2006-03-07 Alexandre Oliva <aoliva@redhat.com>
17136
17137 * gdb.base/prelink.c, gdb.base/prelink-lib.c: Update FSF address.
17138 * gdb.base/prelink.exp: Likewise. Add -q to prelink runs.
17139 Rename executable to prelinkt. Don't re-prelink if we didn't
17140 get a core file. Test prelink -u exit status to tell whether
17141 prelinking failed. Use gdb_test_multiple.
17142
17143 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com>
17144
17145 * gdb.cp/inherit.exp (test_print_mi_member_types): New function.
17146 (do_tests): Call it.
17147
17148 2006-02-28 Alexandre Oliva <aoliva@redhat.com>
17149
17150 * gdb.base/prelink.exp: New test.
17151 * gdb.base/prelink.c, gdb.base/prelink-lib.c: New sources.
17152
17153 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com>
17154
17155 * gdb.fortran/derived-type.f90: New file.
17156 * gdb.fortran/derived-type.exp: New testcase.
17157
17158 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com>
17159
17160 * gdb.base/default.exp: Allow ';' as a directory separator.
17161
17162 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17163
17164 * gdb.base/help.exp (help add-symbol-file): Update.
17165
17166 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com>
17167
17168 * gdb.base/help.exp (help load): Update expected results.
17169
17170 2006-02-19 Fred Fish <fnf@specifix.com>
17171
17172 * gdb.base/pc-fp.exp (get_valueofx): Don't print environment
17173 specifix hex value as part of results.
17174 * gdb.base/shreloc.exp (get_msym_addrs): Ditto.
17175
17176 2006-02-16 Fred Fish <fnf@specifix.com>
17177
17178 * gdb.base/whatis.c: Define variables using typedefs char_addr,
17179 ushort_addr, and slong_addr, so the typedefs are not optimized
17180 away.
17181 * gdb.base/whatis.exp: Add tests using type name for struct type,
17182 union type, enum type, and typedef.
17183
17184 2006-02-13 Mark Kettenis <kettenis@gnu.org>
17185
17186 * gdb.arch/i386-prologue.exp: Add testcase for PR breakpoints/2080.
17187
17188 2006-02-13 Jim Blandy <jimb@redhat.com>
17189
17190 * gdb.base/scope.exp (test_at_main): Remove logic to handle the
17191 case where it takes two "next" commands to skip past the init
17192 call.
17193
17194 2006-02-12 Fred Fish <fnf@specifix.com>
17195
17196 * gdb.base/scope.exp (test_at_main): Use gdb_test_multiple
17197 to handle cases where it takes two "next" commands to skip
17198 past the init call.
17199
17200 2006-02-07 Joel Brobecker <brobecker@adacore.com>
17201
17202 * gdb.ada/array_return.exp: Mark the last test as expected to fail
17203 on hppa32 targets.
17204
17205 2006-02-06 Vladimir Prus <ghost@cs.msu.su>
17206
17207 * gdb.mi/mi-break.exp, gdb.mi/mi2-break.exp: Test for the fullname
17208 field.
17209
17210 2006-01-29 Mark Kettenis <kettenis@gnu.org>
17211
17212 * gdb.cp/bool.cc, gdb.cp/bool.exp: New files.
17213
17214 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com>
17215
17216 * gdb.arch/powerpc-prologue.c, gdb.arch/powerpc-prologue.exp: New
17217 files.
17218
17219 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
17220
17221 * gdb.cp/maint.exp: Set complaints to a positive value.
17222
17223 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17224
17225 * gdb.base/multi-forks.c: Add copyright notice. Include <stdlib.h>.
17226 * gdb.base/multi-forks.exp: Use a loop. Allow "fork" as a stopped
17227 function name.
17228
17229 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com>
17230
17231 * gdb.base/checkpoint.c: Update copyright notice. Include
17232 <stdlib.h>.
17233
17234 2006-01-04 Jim Blandy <jimb@redhat.com>
17235
17236 * gdb.asm/asm-source.exp: Independently provide default values for
17237 asm-flags and debug-flags. Use 'string equal' to do the
17238 comparison, not the implicit expr's '==' operator. Remove
17239 now-unneeded assignments to asm-flags. In h8300 case, place
17240 "-gdwarf-2", not "-gdwarf2", in debug-flags, not asm-flags.
17241
17242 2006-01-04 Michael Snyder <msnyder@redhat.com>
17243
17244 * gdb.base/checkpoint.c: New file.
17245 * gdb.base/checkpoint.exp: New file.
17246 * gdb.base/multi-fork.c: New file.
17247 * gdb.base/multi-fork.exp: New file.
17248 * gdb.base/pi.txt: New file (data for checkpoint.c test).
17249
17250 2006-01-04 Fred Fish <fnf@specifix.com>
17251
17252 * gdb.base/ptype.c (foo): Add typedef.
17253 (intfoo): Add function.
17254 * gdb.base/ptype1.c: New file.
17255 * gdb.base/ptype.exp: Handle compilation and linking with two
17256 source files. Test that proper type for "foo" is found based
17257 on source context rather than first match found in symtabs.
17258
17259 2005-12-28 Mark Kettenis <kettenis@gnu.org>
17260
17261 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
17262 * gdb.asm/openbsd.inc: Indent commands.
17263
17264 2005-12-26 Mark Kettenis <kettenis@gnu.org>
17265
17266 * gdb.base/freebpcmd.exp: Increase timeout.
17267
17268 * gdb.gdb/selftest.exp (test_with_self): Update copyright check.
17269
17270 2005-12-17 Daniel Jacobowitz <dan@codesourcery.com>
17271
17272 * gdb.base/default.exp: Update check for "show version".
17273
17274 2005-12-09 Randolph Chung <tausq@debian.org>
17275
17276 * gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
17277 * gdb.asm/pa64.inc: New file.
17278
17279 2005-12-09 Randolph Chung <tausq@debian.org>
17280
17281 * gdb.asm/common.inc: Indent commands.
17282 * gdb.asm/asmsrc1.s: Likewise.
17283 * gdb.asm/asmsrc2.s: Likewise.
17284
17285 2005-12-09 Randolph Chung <tausq@debian.org>
17286
17287 * gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
17288 (get_addr_of_sym): Remove duplicate print.
17289 (gen_core): xfail hppa*-*-hpux*, update expected output.
17290 * gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
17291 * gdb.arch/pa64-nullify.s: New file.
17292
17293 2005-12-09 Randolph Chung <tausq@debian.org>
17294
17295 * gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.
17296
17297 2005-12-07 Christophe Lyon <christophe.lyon@st.com>
17298
17299 * gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
17300 code generation for these functions.
17301 * gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
17302 error message.
17303
17304 2005-12-02 Andrew Stubbs <andrew.stubbs@st.com>
17305
17306 * gdb.base/help.exp (help b, help br, help bre, help brea)
17307 (help break): Update the expected message.
17308
17309 2005-11-11 Stephane Carrez <stcarrez@nerim.fr>
17310
17311 * gdb.asm/m68hc11.inc: Setup the data section.
17312 * gdb.asm/asm-source.exp (m6811-*-*): Don't use the target board linker
17313 script for this test.
17314 (m6812-*-*): Likewise.
17315
17316 2005-11-09 Randolph Chung <tausq@debian.org>
17317
17318 * gdb.base/structs2.exp: Update xfail to only trigger for gcc-3.x.
17319
17320 2005-11-09 Wu Zhou <woodzltc@cn.ibm.com>
17321
17322 * gdb.base/break.exp: Fix a comment typo.
17323
17324 2005-11-03 Jim Blandy <jimb@redhat.com>
17325
17326 Checked in by Elena Zannoni <ezannoni@redhat.com>
17327
17328 * gdb.dwarf2/mac-fileno.exp, gdb.dwarf2/mac-fileno.S: New tests.
17329
17330 2005-11-02 Corinna Vinschen <vinschen@redhat.com>
17331
17332 * gdb.arch/gdb1558.c: Include stdio.h.
17333
17334 2005-10-31 Mark Kettenis <kettenis@gnu.org>
17335
17336 * gdb.asm/asm-source.exp: Use -e instead of --entry.
17337
17338 2005-10-31 Mark Kettenis <kettenis@gnu.org>
17339
17340 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage.
17341
17342 2005-10-17 Paul Gilliam <pgilliam@us.ibm.com>
17343
17344 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17345 vscr" tests to better match output.
17346
17347 2005-10-12 Jim Blandy <jimb@redhat.com>
17348
17349 * gdb.base/structs.exp (any): New function.
17350 (test_struct_returns): Don't make any assumptions at all about
17351 what value the function returns when GDB can't set the return
17352 value.
17353
17354 2005-10-09 Joel Brobecker <brobecker@adacore.com>
17355
17356 * gdb.ada/arrayidx/p.adb: New file.
17357 * gdb.ada/arrayidx.exp: New testcase
17358
17359 2005-10-09 Joel Brobecker <brobecker@adacore.com>
17360
17361 * gdb.ada/array_return/pck.ads: New file.
17362 * gdb.ada/array_return/pck.adb: New file.
17363 * gdb.ada/array_return/p.adb: New file.
17364 * gdb.ada/array_return.exp: New testcase.
17365
17366 2005-10-03 Joel Brobecker <brobecker@adacore.com>
17367
17368 * gdb.base/arrayidx.c: New file.
17369 * gdb.base/arrayidx.exp: New testcase.
17370
17371 2005-09-29 Nick Roberts <nickrob@snap.net.nz>
17372
17373 * gdb.base/annota3.exp, gdb.cp/annota3.exp: The annotations
17374 frames-invalid and breakpoints-invalid are no longer generated
17375 with level 3 so don't expect them in the output.
17376
17377 2005-09-27 Bob Rossi <bob@brasko.net>
17378
17379 * gdb.mi/mi-disassemble.exp, gdb.mi/mi2-disassemble.exp: Remove .*
17380 from test. Escape the | in mi_gdb_test call.
17381 * gdb.mi/mi-basics.exp, gdb.mi/mi-cli.exp, gdb.mi/mi-disassemble.exp,
17382 gdb.mi/mi-pthreads.exp, gdb.mi/mi-stack.exp, gdb.mi/mi2-basics.exp,
17383 gdb.mi/mi2-cli.exp, gdb.mi/mi2-disassemble.exp,
17384 gdb.mi/mi2-pthreads.exp, gdb.mi/mi2-stack.exp: Add extra details to
17385 expected regex's in mi_gdb_test calls.
17386 * lib/mi-support.exp: Remove arbitrary .* from tests.
17387 (mi_gdb_test): Add string_regex variable. Add anchor to main -re.
17388 Fully anchor GDB/MI expected results in mi_gdb_test.
17389 * lib/gdb.exp (string_to_regexp): Escape the ] character.
17390 * gdb.base/sizeof.exp: Remove escape character. Correct test.
17391
17392 2005-09-26 Paul Brook <paul@codesourcery.com>
17393
17394 * long_long.exp: Exclude eabi targets from arm FPA float format test.
17395
17396 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17397
17398 * bfp-test.c: New file.
17399 * bfp-test.exp: New testcase.
17400
17401 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com>
17402
17403 * gdb.fortran/subarray.exp: New testcase to test the evaluation
17404 of subarray and substring variable.
17405 * gdb.fortran/subarray.f: New source file for the test of subarray
17406 and substring variable evaluation.
17407 * gdb.fortran/exprs.exp: Add four tests for substring evaluation
17408 of string constant.
17409
17410 2005-09-19 Daniel Jacobowitz <dan@codesourcery.com>
17411
17412 * gdb.arch/altivec-regs.exp, gdb.arch/altivec-abi.exp: Update
17413 copyright dates.
17414
17415 2005-09-19 Paul Gilliam <pgilliam@us.ibm.com>
17416
17417 * gdb.arch/altivec-regs.exp (info powerpc altivec): Replace the 'info
17418 powerpc altivec' test with an almost identical 'info vector' test.
17419
17420 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17421
17422 * gdb.arch/altivec-regs.exp: Adjust "info reg vrsave" and "info reg
17423 vscr" tests to match output.
17424
17425 2005-09-13 Paul Gilliam <pgilliam@us.ibm.com>
17426
17427 * gdb.arch/altivec-regs.exp: Adjust "print $vx<i>" tests to match
17428 output.
17429
17430 2005-09-11 Bob Rossi <bob@brasko.net>
17431
17432 * lib/mi-support.exp (mi_gdb_test): Change -re to not be anchored.
17433 * gdb.mi/mi-syn-frame.exp: Call mi_gdb_test twice instead of once for
17434 commands that return an MI output command and an asyncronous MI output
17435 command.
17436 * gdb.mi/mi-console.exp: Ditto.
17437
17438 2005-09-11 Bob Rossi <bob@brasko.net>
17439
17440 * gdb.mi/mi-var-child.c: Include <string.h>.
17441
17442 2005-09-10 Daniel Jacobowitz <dan@codesourcery.com>
17443
17444 * killed.exp: Correct gdb_expect syntax.
17445
17446 2005-08-09 Corinna Vinschen <vinschen@redhat.com>
17447
17448 * lib/mi-support.exp (mi_gdb_load): Fix typo.
17449
17450 2005-08-02 Bob Rossi <bob@brasko.net>
17451
17452 * gdb.mi/mi-basics.exp: Tell mi_gdb_start to use a PTY for inferior.
17453 (test_setshow_inferior_tty): Add global mi_inferior_tty_name to scope.
17454 Change tests to inferior-tty-set/show.
17455 * gdb.mi/mi-console.exp: Tell mi_gdb_start to use a PTY for inferior.
17456 (47-exec-next): Use mi_gdb_test to get GDB and Inferior output.
17457 * gdb.mi/mi-syn-frame.exp: Tell mi_gdb_start to use a PTY for
17458 inferior. Use mi_gdb_test to get GDB and Inferior output.
17459 * lib/mi-support.exp (mi_inferior_spawn_id): Add inferior PTY
17460 descriptor.
17461 (mi_inferior_tty_name): Add inferior PTY file name.
17462 (mi_gdb_start): Add INFERIOR_PTY parameter.
17463 (mi_gdb_test): Add IPATTERN parameter.
17464
17465 2005-08-02 Bob Rossi <bob@brasko.net>
17466
17467 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Add MESSAGE
17468 parameter to mi_gdb_test.
17469 * lib/mi-support.exp (mi_gdb_test): Make MESSAGE parameter necessary.
17470
17471 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17472
17473 * gdb.mi/mi-var-child.c (do_children_tests): Initialize
17474 struct_declarations.
17475 * gdb.mi/mi-var-child.exp: Step over the initialization of
17476 struct_declarations.
17477
17478 2005-07-31 Daniel Jacobowitz <dan@codesourcery.com>
17479
17480 * gdb.mi/basics.c, gdb.mi/var-cmd.c: Revert last change.
17481 * gdb.mi/mi-stack.c: New file, based on gdb.mi/basics.c.
17482 * gdb.mi/mi-var-child.c: New file, based on gdb.mi/var-cmd.c.
17483 * gdb.mi/mi-stack.exp: Update to use mi-stack.c as a source file.
17484 * gdb.mi/mi-var-child.exp: Update to use mi-var-child.c as a source
17485 file.
17486
17487 2005-07-27 Nick Roberts <nickrob@snap.net.nz>
17488
17489 * gdb.mi/var-cmd.c: Give long_array in _struct_decl 12 elements.
17490 (do_children_tests): Assign values to the extra elements.
17491
17492 * gdb.mi/mi-var-child.exp: Adapt tests for extra elements and use
17493 them for tests for "-var-update --no-values" and
17494 "-var-update --all-values".
17495 Add test for "-var-list-children --simple-values".
17496
17497 * gdb.mi/basics.c (callee4): Add integer array D[3]...
17498
17499 * gdb.mi/mi-stack.exp (test_stack_locals_listing): ...to test
17500 "-stack-list-locals --simple-values" Improve doc strings and
17501 comments.
17502
17503 2005-07-18 Mark Kettenis <kettenis@gnu.org>
17504
17505 * gdb.base/sigaltstack.exp (finish_test): KFAIL gdb/1736 on
17506 *-*-openbsd*.
17507 * gdb.base/sigstep.exp (advancei): KFAIL gdb/1736 on *-*-openbsd*.
17508
17509 * gdb.base/sigaltstack.c (main): Use stack_t instead of `struct
17510 sigaltsatck'.
17511
17512 2005-07-14 Bob Rossi <bob@brasko.net>
17513
17514 * gdb.base/default.exp (tty): Changed output of command.
17515 * gdb.base/help.exp (help tty): Ditto.
17516
17517 2005-07-12 Mark Kettenis <kettenis@gnu.org>
17518
17519 * gdb.arch/i386-sse.exp: Compile with -msse when using GCC.
17520
17521 2005-07-10 Mark Kettenis <kettenis@gnu.org>
17522
17523 * gdb.mi/mi2-stack.exp (test_stack_locals_listing): Remove test for
17524 -stack-select-frame without arguments.
17525 (test_stack_frame_listing): Add test for newly implemented command
17526 -stack-info-frame.
17527
17528 2005-07-06 Bob Rossi <bob@brasko.net>
17529
17530 * gdb.mi/mi-basics.exp (test_setshow_inferior_tty): Test MI tty
17531 command.
17532 (Copyright): Update copyright.
17533
17534 2005-07-06 Wu Zhou <woodzltc@cn.ibm.com>
17535
17536 * gdb.fortran/exprs.exp (test_arithmetic_expressions): Add five
17537 tests to evaluate exponentiation expression.
17538
17539 2005-06-29 Andreas Schwab <schwab@suse.de>
17540
17541 * gdb.base/sigrepeat.c: Include <stdlib.h> and add return type for
17542 main to avoid warnings.
17543
17544 * gdb.base/sigrepeat.exp: Fix reference to undefined variable.
17545
17546 2005-06-20 Nick Roberts <nickrob@snap.net.nz>
17547
17548 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Remove test for
17549 -stack-select-frame without arguments.
17550 (test_stack_frame_listing): Add test for newly implemented command
17551 -stack-info-frame.
17552
17553 2005-06-17 Wu Zhou <woodzltc@cn.ibm.com>
17554
17555 * gdb.fortran/array-element.f: New file.
17556 * gdb.fortran/array-element.exp: New testcase.
17557
17558 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17559
17560 * gdb.base/bigcore.exp: Correct checks for systems which can
17561 not dump a large core file.
17562
17563 2005-06-13 Daniel Jacobowitz <dan@codesourcery.com>
17564
17565 * gdb.base/relocate.c: Add a copyright notice.
17566 (dummy): Remove.
17567 * gdb.base/relocate.exp: Test printing the values of variables
17568 from a relocatable file.
17569
17570 2005-06-12 Daniel Jacobowitz <dan@codesourcery.com>
17571
17572 * gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
17573 excess MI output after an error.
17574
17575 2005-05-29 Joel Brobecker <brobecker@adacore.com>
17576
17577 * gdb.arch/alpha-step.c: New file.
17578 * gdb.arch/alpha-step.exp: New testcase.
17579
17580 2005-05-17 Daniel Jacobowitz <dan@codesourcery.com>
17581 Dennis Brueni <dennis@slickedit.com>
17582
17583 * gdb.mi/mi-cli.exp, gdb.mi/mi-return.exp, gdb.mi/mi-stack.exp,
17584 gdb.mi/mi-stepi.exp, gdb.mi/mi-syn-frame.exp, gdb.mi/mi-until.exp,
17585 gdb.mi/mi-var-display.exp, gdb.mi/mi-watch.exp, gdb.mi/mi2-cli.exp,
17586 gdb.mi/mi2-return.exp, gdb.mi/mi2-stack.exp,
17587 gdb.mi/mi2-syn-frame.exp, gdb.mi/mi2-until.exp,
17588 gdb.mi/mi2-var-display.exp: Expect fullname field in stack frames.
17589 * lib/mi-support.exp (mi_runto, mi_execute_to_helper): Likewise.
17590
17591 2005-05-17 Paul Gilliam <pgilliam@us.ibm.com>
17592 Wu Zhou <woodzltc@cn.ibm.com>
17593
17594 * gdb.base/shreloc.exp: Use gdb_compile_shlib. Add support for
17595 IBM's xlc compiler.
17596 * gdb.base/shreloc1.c (fn_1): Reference variable static_var_1.
17597 * gdb.base/shreloc2.c (fn_2): Reference variable static_var_2.
17598
17599 2005-05-13 Jim Blandy <jimb@redhat.com>
17600
17601 * gdb.base/call-ar-st.exp: Call 'untested' and return -1 instead of
17602 calling gdb_suppress_entire_file.
17603 * gdb.base/charset.exp: Same.
17604 * gdb.base/call-rt-st.exp: Same.
17605
17606 2005-05-05 Bob Rossi <bob_rossi@cox.net>
17607
17608 * lib/gdb.exp (fullname_syntax): Added global regex.
17609 (fullname_syntax_POSIX): Ditto.
17610 (fullname_syntax_UNC): Ditto.
17611 (fullname_syntax_DOS_CASE): Ditto.
17612 (fullname_syntax_DOS): Ditto.
17613 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Added
17614 fullname_syntax variable to scope and use it.
17615 (test_file_list_exec_source_files): Ditto.
17616 * gdb.mi/mi2-file.exp (test_file_list_exec_source_file): Ditto.
17617
17618 2005-05-04 Daniel Jacobowitz <dan@codesourcery.com>
17619
17620 * gdb.threads/linux-dp.exp: Check for *-*-linux-gnu*.
17621
17622 2004-05-02 Paul Gilliam <pgilliam@us.ibm.com>
17623
17624 * lib/gdb.exp (skip_altivec_tests): New function, based on
17625 check_vmx_hw_available from the GCC testsuite.
17626 * lib/gdb.arch/altivec-abi.exp: Use skip_altivec_tests.
17627 * lib/gdb.arch/altivec-regs.exp: Likewise.
17628
17629 2005-05-02 Jim Blandy <jimb@redhat.com>
17630
17631 * gdb.base/auxv.exp: Call 'untested' and return -1 instead of
17632 calling gdb_suppress_entire_file.
17633
17634 2005-04-30 Randolph Chung <tausq@debian.org>
17635
17636 * gdb.threads/staticthreads.exp: Override signal to check for hppa.
17637 Slightly relax "sem_post" name checking.
17638
17639 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17640
17641 * gdb.base/unload.exp: Use new shared library infrastructure.
17642
17643 2005-04-29 Paul Gilliam <pgilliam@us.ibm.com>
17644
17645 * gdb.base/so-impl-ld.exp: Use new shared library
17646 infrastructure.
17647
17648 2005-04-29 Corinna Vinschen <vinschen@redhat.com>
17649
17650 * gdb.asm/asm-source.exp: Add h8300 to supported targets.
17651 * gdb.asm/h8300.inc: New file.
17652
17653 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17654
17655 * gdb.base/shlib-call.exp: Change to use new shared library
17656 infrastructure.
17657
17658 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17659
17660 * gdb.base/pending.exp: Change to use new shared library
17661 infrastructure.
17662
17663 2005-04-28 Paul Gilliam <pgilliam@us.ibm.com>
17664
17665 * gdb.base/nodebug.exp: Allow for compiling by IBM's xlc compiler,
17666 use test_compiler_info instead of gcc_compiled, and update copyright.
17667
17668 2005-04-27 Paul Gilliam <pgilliam@us.ibm.com>
17669
17670 * gdb.base/annota1.exp : Deal with messages caused by breakpoints in
17671 shared objects being adjusted and update copyright years.
17672
17673 2005-04-27 Daniel Jacobowitz <dan@codesourcery.com>
17674
17675 * ChangeLog: Correct some 2003-01-13 dates.
17676 * gdb.base/sigbpt.exp, gdb.base/signull.exp, gdb.cp/bs15503.exp,
17677 gdb.cp/exception.exp, gdb.cp/userdef.cc, gdb.cp/userdef.exp,
17678 gdb.mi/mi-console.exp, gdb.mi/mi2-console.exp,
17679 gdb.trace/collection.exp, gdb.trace/passc-dyn.exp,
17680 gdb.trace/tfind.exp: Update copyright years.
17681
17682 2005-04-14 Paul Gilliam <pgilliam@us.ibm.com>
17683 Daniel Jacobowitz <dan@codesourcery.com>
17684
17685 * lib/gdb.exp (gdb_compile): Handle shlib=.
17686 (gdb_compile_shlib): New function.
17687
17688 2005-04-12 Paul Gilliam <pgilliam@us.ibm.com>
17689
17690 * lib/gdb.exp (test_compiler_info): Give argument a default value.
17691
17692 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17693
17694 * Makefile.in (ALL_SUBDIRS): Replace gdb.gdbserver with
17695 gdb.server.
17696 * configure.ac: Likewise.
17697 * configure: Regenerated.
17698 * gdb.gdbserver/Makefile.in: Moved to...
17699 * gdb.server/Makefile.in: ... here.
17700 * gdb.gdbserver/server.c: Moved to...
17701 * gdb.server/server.c: ... here.
17702 * gdb.gdbserver/server-run.exp: Moved to...
17703 * gdb.server/server-run.exp: ... here.
17704
17705 2005-04-08 Daniel Jacobowitz <dan@codesourcery.com>
17706
17707 * Makefile.in (ALL_SUBDIRS): Add gdb.gdbserver.
17708 * configure.ac: Create gdb.gdbserver/Makefile.
17709 * configure: Regenerated.
17710 * lib/gdbserver-support.exp: New file, derived from
17711 config/gdbserver.exp.
17712 * config/gdbserver.exp: Use gdbserver-support.exp.
17713 * gdb.gdbserver/Makefile.in: New file.
17714 * gdb.gdbserver/server.c: New file.
17715 * gdb.gdbserver/server-run.exp: New file.
17716
17717 2005-04-06 Paul Gilliam <pgilliam@us.ibm.com>
17718
17719 * lib/gdb.exp (test_compiler_info): Return compiler_info
17720 if no arguments are given.
17721
17722 2005-04-01 Paul Gilliam <pgilliam@us.ibm.com>
17723
17724 * gdb.arch/altivec-abi.exp: Check for compiler and set
17725 use altivec' flag accordingly.
17726 * gdb.arch/altivec-regs.exp: Likewise.
17727
17728 2005-03-29 Daniel Jacobowitz <dan@codesourcery.com>
17729
17730 * gdb.base/ptr-typedef.exp, gdb.base/ptr-typedef.c: New files.
17731
17732 2005-03-27 Andreas Schwab <schwab@suse.de>
17733
17734 * gdb.base/bigcore.c (main): Add missing mode argument in open
17735 call.
17736
17737 2005-03-25 Daniel Jacobowitz <dan@codesourcery.com>
17738
17739 * lib/mi-support.exp (mi_gdb_load): Use /tmp for gdbserver
17740 downloads.
17741 * config/gdbserver.exp (gdb_load): Likewise.
17742
17743 2005-03-14 Paul Brook <paul@codesourcery.com>
17744
17745 * lib/mi-support.exp: Use mi_gdb_target_cmd to connect to remote
17746 targets.
17747
17748 2005-03-09 Joel Brobecker <brobecker@adacore.com>
17749
17750 * gdb.dwarf2/dup-psym.S: New file.
17751 * gdb.dwarf2/dup-psym.exp: New testcase.
17752
17753 2005-03-09 Joel Brobecker <brobecker@adacore.com>
17754
17755 * gdb.ada/exec_changed/first.adb: New file.
17756 * gdb.ada/exec_changed/second.adb: New file.
17757 * gdb.ada/exec_changed.exp: New testcase.
17758
17759 2005-03-08 Nathan Sidwell <nathan@codesourcery.com>
17760
17761 * gdb.cp/userdef.cc (A1::operator+): New unary plus.
17762 (A2): New class.
17763 (main): Test operator+.
17764 * gdb.cp/userdef.exp: Test unary plus. Use A2::operator+ for
17765 breakpoint test.
17766
17767 * gdb.base/sigbpt.exp: Disable if gdb,nosignals.
17768 * gdb.base/signull.exp: Disable if gdb,nosignals.
17769 * gdb.cp/bs15503.exp: Disable if skip_cplus_tests
17770 * gdb.cp/exception.exp: Disable if skip_cplus_tests.
17771 * gdb.mi/mi-console.exp: Disable hello test if gdb,noinferiorio.
17772 * gdb.mi/mi2-console.exp: Likewise.
17773 * gdb.trace/collection.exp (run_trace_experiment): Consume the
17774 continue output at start.
17775 (gdb_collect_locals_test): Robustify regexp.
17776 * gdb.trace/passc-dyn.exp: Fix comment typo.
17777 * gdb.trace/tfind.exp: Don't enable optimization. Remove stray ']'.
17778
17779 2005-03-08 Corinna Vinschen <vinschen@redhat.com>
17780
17781 * gdb.asm/asm-source.exp: Add iq2000 case.
17782 * gdb.asm/iq2000.inc: New file.
17783
17784 2005-03-07 Manoj Iyer <manjo@austin.ibm.com>
17785
17786 * gdb.base/command.exp: Change hardcoded value to regular expression.
17787 * gdb.base/float.exp: Add powerpc to the list of targets checked.
17788
17789 2005-03-07 Daniel Jacobowitz <dan@codesourcery.com>
17790
17791 * gdb.asm/alpha.inc, gdb.asm/frv.inc, gdb.asm/i386.inc,
17792 gdb.asm/ia64.inc, gdb.asm/m68hc11.inc, gdb.asm/m68k.inc,
17793 gdb.asm/mips.inc, gdb.asm/pa.inc, gdb.asm/powerpc.inc,
17794 gdb.asm/s390.inc, gdb.asm/s390x.inc, gdb.asm/sh.inc,
17795 gdb.asm/x86_64.inc: Use .purgem before redefining macros.
17796
17797 2005-03-05 Mark Kettenis <kettenis@gnu.org>
17798
17799 * gdb.cp/ovldbreak.exp: Adjust regular expression for recent
17800 changes.
17801
17802 2004-03-03 Paul Gilliam <pgilliam@us.ibm.com>
17803
17804 * lib/compiler.c: Add test for IBM's xlc compiler.
17805 * lib/compiler.cc: Likewise.
17806
17807 2004-02-24 Joel Brobecker <brobecker@adacore.com>
17808
17809 * gdb.ada/fixed_points.exp: Create compilation object directory
17810 before running the test.
17811 * gdb.ada/null_record.exp: Likewise.
17812 * gdb.ada/packed_array.exp: Likewise.
17813 * gdb.ada/start.exp: Likewise.
17814
17815 2005-02-15 Joel Brobecker <brobecker@adacore.com>
17816
17817 * gdb.ada/packed_array/pa.adb: New file.
17818 * gdb.ada/packed_array.exp: New testcase.
17819
17820 2005-02-10 Mark Kettenis <kettenis@gnu.org>
17821
17822 * gdb.dwarf2/dw2-intermix.exp, gdb.dwarf2/dw2-intermix.S: New
17823 files.
17824
17825 * gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/dw2-intercu.exp: Run tests
17826 on *-*-openbsd*. Correctly match whitespace in regukar
17827 expressions.
17828
17829 2005-02-10 Daniel Jacobowitz <dan@debian.org>
17830
17831 From Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>:
17832 PR exp/1821
17833 * gdb.base/gdb1821.c: New test file.
17834 * gdb.base/gdb1821.exp: New test file.
17835
17836 2005-02-09 Joel Brobecker <brobecker@adacore.com>
17837
17838 * gdb.base/start.c: New file.
17839 * gdb.base/start.exp: New testcase.
17840
17841 2005-02-09 Joel Brobecker <brobecker@adacore.com>
17842
17843 * gdb.ada/start/dummy.adb: New file.
17844 * gdb.ada/start.exp: New testcase.
17845
17846 2005-02-09 Corinna Vinschen <vinschen@redhat.com>
17847
17848 * maint.exp: Raise timeout to give Cygwin targeted GDBs more time
17849 for printing symbols and statistics.
17850 Add test for using relative pathnames in "maint print msymbols" test.
17851 Mark "maint info sections DATA" XFAIL on Cygwin.
17852 Remove Cygwin XFAIL mark on "help maint dump-me" and "maint dump-me"
17853 tests.
17854
17855 2005-02-09 Andreas Schwab <schwab@suse.de>
17856
17857 Committed by Andrew Cagney <cagney@gnu.org>
17858 * gdb.base/remotetimeout.exp: New file.
17859
17860 2005-02-07 Mark Kettenis <kettenis@gnu.org>
17861
17862 * gdb.base/interp.exp: Remove trailing \n in gdb_test commands.
17863
17864 2005-02-03 Joel Brobecker <brobecker@adacore.com>
17865
17866 * gdb.ada/gnat_ada.gpr: New file.
17867 * gdb.ada/gnat_ada.gin: Delete, no longer used.
17868 * lib/ada.exp (gdb_compile_ada): Minor adaptation to new project file.
17869 * configure.ac: No longer generate gnat_ada.gpr.
17870 * configure: Regenerate.
17871 * gdb.ada/Makefile.in: Minor adaptations due to new project file.
17872 * gdb.ada/null_record/null_record.adb: Moved here from gdb.ada.
17873 * gdb.ada/null_record/bar.ads: Likewise.
17874 * gdb.ada/null_record/bar.adb: Likewise.
17875 * gdb.ada/fixed_points/fixed_points.adb: Likewise.
17876 * gdb.ada/null_record.exp (testdir): New variable.
17877 (testfile): executable is now in testdir subdirectory.
17878 (srcfile): Use full path to the main compilation unit.
17879 * gdb.ada/fixed_points.exp: Same changes as above.
17880
17881 2005-02-03 Nick Roberts <nickrob@snap.net.nz>
17882
17883 * gdb.base/interp.exp: New test.
17884
17885 2005-01-24 Andrew Cagney <cagney@gnu.org>
17886
17887 * gdb.base/sigrepeat.exp, gdb.base/sigrepeat.c: New test.
17888
17889 2005-01-19 Andrew Cagney <cagney@gnu.org>
17890
17891 * gdb.stabs/Makefile.in (Makefile): Update dependencies -
17892 configure.ac not configure.in.
17893
17894 * gdb.base/scope.exp (test_at_main): Delete any XFAIL and/or KFAIL
17895 of powerpc*-*-*.
17896 * gdb.hp/gdb.base-hp/callfwmall.exp (do_function_calls): Ditto.
17897 * gdb.base/list.exp (test_list_function)
17898 (test_list_filename_and_function): Ditto.
17899 * gdb.base/callfuncs.exp (do_function_calls): Ditto.
17900
17901 2005-01-16 Andrew Cagney <cagney@gnu.org>
17902
17903 * gdb.base/source.exp: Delete KFAIL gdb/1846, simplify.
17904
17905 * gdb.base/source-error.gdb, gdb.base/source.exp: New files.
17906
17907 2005-01-14 Andrew Cagney <cagney@gnu.org>
17908
17909 * gdb.mi/mi-var-cmd.exp: Adjust "create int" test to match output.
17910 * gdb.mi/mi2-var-cmd.exp: Ditto.
17911
17912 2005-01-10 Corinna Vinschen <vinschen@redhat.com>
17913
17914 * gdb.base/fileio.c: Include unistd.h as required for lseek(2).
17915
17916 2005-01-07 Andrew Cagney <cagney@gnu.org>
17917
17918 * configure.ac: Rename configure.in, require autoconf 2.59.
17919 * configure: Re-generate.
17920 * gdb.stabs/configure.ac: Rename configure.in, require autoconf 2.59.
17921 * gdb.stabs/configure: Re-generate.
17922 * gdb.hp/configure.ac: Rename configure.in, require autoconf 2.59.
17923 * gdb.hp/configure: Re-generate.
17924 * gdb.hp/gdb.objdbg/configure.ac: Rename configure.in, require
17925 autoconf 2.59.
17926 * gdb.hp/gdb.objdbg/configure: Re-generate.
17927 * gdb.hp/gdb.defects/configure.ac: Rename configure.in, require
17928 autoconf 2.59.
17929 * gdb.hp/gdb.defects/configure: Re-generate.
17930 * gdb.hp/gdb.compat/configure.ac: Rename configure.in, require
17931 autoconf 2.59.
17932 * gdb.hp/gdb.compat/configure: Re-generate.
17933 * gdb.hp/gdb.base-hp/configure.ac: Rename configure.in, require
17934 autoconf 2.59.
17935 * gdb.hp/gdb.base-hp/configure: Re-generate.
17936 * gdb.hp/gdb.aCC/configure.ac: Rename configure.in, require
17937 autoconf 2.59.
17938 * gdb.hp/gdb.aCC/configure: Re-generate.
17939
17940 2004-12-15 Jim Blandy <jimb@redhat.com>
17941
17942 * gdb.threads/linux-dp.exp: Fix output regexp to handle output
17943 under NPTL when there is debugging info available for libpthread.
17944
17945 2004-12-13 Jerome Guitton <guitton@gnat.com>
17946
17947 * gdb.ada/fixed_points.c: New file.
17948 * gdb.ada/fixed_points.exp: New file.
17949
17950 2004-12-03 Randolph Chung <tausq@debian.org>
17951
17952 * gdb.arch/pa-nullify.exp: New file.
17953 * gdb.arch/pa-nullify.s: New file.
17954
17955 2004-11-30 Randolph Chung <tausq@debian.org>
17956
17957 * gdb.threads/thread_check.exp: Use ${srcfile} for test program name
17958 instead of "tbug". Fix regexp to work properly with gdb_test.
17959
17960 2004-11-29 Paul Hilfinger <Hilfinger@gnat.com>
17961
17962 * gdb.base/bitfields2.exp: New test.
17963 * gdb.base/bitfields2.c: New file.
17964
17965 2004-11-28 Richard Earnshaw <rearnsha@arm.com>
17966
17967 * config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
17968
17969 2004-11-16 Randolph Chung <tausq@debian.org>
17970
17971 * gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
17972
17973 2004-11-14 Daniel Jacobowitz <dan@debian.org>
17974
17975 * gdb.threads/threadapply.exp: Correct "macro details" test.
17976
17977 2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
17978
17979 * gdb.threads/threadapply.exp: New test.
17980 * gdb.threads/threadapply.c: New file.
17981
17982 2004-11-07 Mark Kettenis <kettenis@gnu.org>
17983
17984 * gdb.base/savedregs.exp: Correct pattern used for sigtramp
17985 frames.
17986
17987 2004-11-05 Felix Lee <felix+log1@specifixinc.com>
17988
17989 * gdb.base/cursal.exp: New file.
17990 * gdb.base/cursal.c: New file.
17991
17992 2004-11-03 Andrew Cagney <cagney@gnu.org>
17993
17994 * gdb.base/savedregs.exp, gdb.base/savedregs.c: New files.
17995
17996 2004-10-30 Mark Kettenis <kettenis@gnu.org>
17997
17998 * gdb.asm/asm-source.exp: Add mips*-*-netbsd* to the list of
17999 NetBSD/ELF targets.
18000
18001 2004-10-29 Joel Brobecker <brobecker@gnat.com>
18002
18003 * gdb.threads/bp_in_thread.c: New file, copied from
18004 pthread_cond_wait.c.
18005 * gdb.threads/bp_in_thread.c: Use bp_in_thread.c as the source
18006 file, rather than reusing the .c file from another testcase.
18007
18008 2004-10-20 Joel Brobecker <brobecker@gnat.com>
18009
18010 * gdb.ada/null_record.exp: Check where we stopped after
18011 sending the start command, instead of where the associated
18012 temporary breakpoint was inserted.
18013
18014 2004-10-14 Andrew Cagney <cagney@gnu.org>
18015
18016 * gdb.mi/gdb701.c (main): Return 0.
18017
18018 2004-10-13 Daniel Jacobowitz <dan@debian.org>
18019
18020 * gdb.dwarf2/dw2-intercu.S, gdb.dwarf2/dw2-intercu.exp: New files.
18021
18022 2004-10-12 Jeff Johnston <jjohnstn@redhat.com>
18023
18024 * gdb.threads/schedlock.c: Add comment markers to use to find
18025 line numbers.
18026 * gdb.threads/schedlock.exp: Adjust regex to handle the new
18027 comments.
18028 * gdb.threads/watchthreads.exp: Use gdb_get_line_number to find
18029 breakpoint lines.
18030
18031 2004-10-12 Daniel Jacobowitz <dan@debian.org>
18032
18033 * gdb.dwarf2/dw2-basic.exp: Run on Hurd also.
18034
18035 2004-10-12 Daniel Jacobowitz <dan@debian.org>
18036
18037 * configure.in: Add gdb.dwarf2.
18038 * configure: Regenerated.
18039 * Makefile.in: Add gdb.dwarf2.
18040 * gdb.dwarf2/Makefile.in, gdb.dwarf2/dw2-basic.S,
18041 gdb.dwarf2/dw2-basic.exp, gdb.dwarf2/main.c,
18042 gdb.dwarf2/file1.txt: New files.
18043
18044 2004-10-11 Orjan Friberg <orjanf@axis.com>
18045
18046 * gdb.threads/bp_in_thread.exp: Use runto_main and "continue" instead
18047 of "run", since the latter doesn't work with remote targets. Adjust
18048 the breakpoint numbering accordingly.
18049 * gdb.threads/pthread_cond_wait.exp: Ditto.
18050
18051 2004-10-08 Michael Chastain <mec.gnu@mindspring.com>
18052
18053 * gdb.base/overlays.exp: Update copyright years.
18054
18055 2004-10-08 Kei Sakamoto <sakamoto.kei@renesas.com>
18056
18057 * gdb.base/overlays.exp: Disable if target is Linux.
18058
18059 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
18060
18061 * config/gdbserver.exp (gdb_load): Use right filename on remote.
18062
18063 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
18064
18065 * gdb.asm/asm-source.exp: Add m32r-linux target.
18066 * gdb.asm/m32r-linux.inc: New file.
18067
18068 2004-09-24 Andrew Cagney <cagney@redhat.com>
18069 David Anderson <anderson@redhat.com>
18070
18071 * gdb.base/bigcore.exp (extract_heap): If the expect "file size"
18072 command fails, assume things will work.
18073 * gdb.base/bigcore.c: Include <sys/stat.h> and <fcntl.h>.
18074 (_GNU_SOURCE): Define.
18075 (print_unsigned, print_hex): Change parameter to "long long".
18076 (print_byte_count): New function, use to print byte counts.
18077 (large_off_t, large_lseek, O_LARGEFILE): Define dependant on
18078 O_LARGEFILE.
18079 (main): Compute an upper bound on a corefile in max_core_size.
18080 Limit memory chunk size to max_core_size. Limit total memory
18081 allocated to max_core_size.
18082
18083 2004-09-23 Andrew Cagney <cagney@gnu.org>
18084
18085 * gdb.base/bigcore.exp: Replace the code that creates a corefile
18086 from a separate process with code that creates a corefile by
18087 making the inferior dump core.
18088
18089 2004-09-23 Mark Kettenis <kettenis@gnu.org>
18090
18091 * gdb.base/sigstep.exp: Avoid comments withing gdb_test_multiple
18092 block.
18093
18094 2004-09-23 Michael Chastain <mec.gnu@mindspring.com>
18095
18096 * gdb.base/constvars.exp (local_compiler_xfail_check_2):
18097 New proc. Accept both gcc 3.x.x and gcc 4.x.x.
18098 * gdb.base/volatile.exp (local_compiler_xfail_check_2):
18099 Likewise.
18100
18101 2004-09-20 Jeff Johnston <jjohnstn@redhat.com>
18102
18103 * gdb.java/jprint.exp: New test case for java inferior call.
18104 * gdb.java/jprint.java: Ditto.
18105
18106 2004-09-15 Joel Brobecker <brobecker@gnat.com>
18107
18108 * gdb.base/bigcore.exp: Deactivate on IRIX targets.
18109
18110 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18111
18112 * gdb.threads/killed.c: Include <stdlib.h>.
18113 * gdb.threads/pthreads.c: Likewise.
18114
18115 2004-09-14 Michael Chastain <mec.gnu@mindspring.com>
18116
18117 * gdb.threads/killed.c: Add copyright notice.
18118
18119 2004-09-10 Jason Molenda (jmolenda@apple.com)
18120
18121 * gdb.base/define.exp: Two new tests to verify zero space chars
18122 after 'if' and 'while' commands in a user-defined command is correctly
18123 parsed.
18124
18125 2004-09-08 Andrew Cagney <cagney@gnu.org>
18126
18127 * gdb.base/signals.exp (signal_tests_1): Delete. Merge signal
18128 delivery test with duplicate at end of file.
18129
18130 2004-09-06 Mark Kettenis <kettenis@jive.nl>
18131
18132 * gdb.base/unload.exp: Link with -dl on *-*-solaris*.
18133
18134 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18135
18136 * config/hppro.exp: Removed.
18137
18138 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18139
18140 * config/sparclet.exp: Removed.
18141
18142 2004-09-05 Michael Chastain <mec.gnu@mindspring.com>
18143
18144 * config/udi.exp: Removed.
18145
18146 2004-09-02 Michael Chastain <mec.gnu@mindspring.com>
18147
18148 * gdb.base/sigstep.exp (advance): Use "-continue_timer" option
18149 of "exp_continue".
18150 (advancei): Likewise.
18151
18152 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18153
18154 * gdb.base/unload.exp: Fix so messages aren't duplicated.
18155
18156 2004-09-01 Manoj Iyer <manjo@austin.ibm.com>
18157
18158 * gdb.gdb/complaints.exp (setup_test): Use new gdb.exp functionality
18159 to check for nodebug in executable.
18160 * gdb.gdb/observer.exp (setup_test): Likewise.
18161 * gdb.gdb/selftest.exp (test_with_self): Likewise.
18162 * gdb.gdb/xfullpath.exp (setup_test): Likewise.
18163
18164 2004-09-01 Andrew Cagney <cagney@gnu.org>
18165
18166 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18167 files.
18168
18169 2004-09-01 Jeff Johnston <jjohnstn@redhat.com>
18170
18171 * gdb.base/unload.exp: Fix expected warning message to match
18172 latest format.
18173
18174 2004-09-01 Corinna Vinschen <vinschen@redhat.com>
18175
18176 * gdb.base/call-rt-st.exp: Fix typos.
18177
18178 2004-08-31 Manoj Iyer <manjo@austin.ibm.com>
18179
18180 * gdb.threads/thread_check.exp: New testcase.
18181 * gdb.threads/thread_check.c: New testcase.
18182
18183 2004-08-31 Andrew Cagney <cagney@gnu.org>
18184
18185 * gdb.base/sigstep.exp (breakpoint_to_handler_entry)
18186 (skip_to_handler_entry): New procedures. Test stepping into a
18187 handler when the breakpoint is at the handler's entry point.
18188
18189 2004-08-30 Andrew Cagney <cagney@gnu.org>
18190
18191 * gdb.base/sigstep.exp (breakpoint_over_handler): Remove kfail
18192 gdb/1757.
18193
18194 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18195
18196 With code from Manoj Iyer <manjo@austin.ibm.com>:
18197 * lib/gdb.exp (gdb_file_cmd): Return more information in the
18198 return value. Add an arm for "no debugging symbols found".
18199 Change a stray "error" to "perror".
18200 (gdb_run_cmd): Adapt to new return value.
18201 * gdb.base/remote.exp: Adapt to new return value.
18202 * gdb.gdb/complaints.exp: Likewise.
18203 * gdb.gdb/observer.exp: Likewise.
18204 * gdb.gdb/selftest.exp: Likewise.
18205 * gdb.gdb/xfullpath.exp: Likewise.
18206
18207 2004-08-27 Joel Brobecker <brobecker@gnat.com>
18208
18209 * gdb.threads/bp_in_thread.exp: New testcase.
18210
18211 2004-08-27 Michael Chastain <mec.gnu@mindspring.com>
18212
18213 Fix PR testsuite/1735.
18214 * gdb.threads/schedlock.c (thread_function): Add a cast
18215 to suppress a gcc warning.
18216 * gdb.threads/thread-specific.c (thread_function): Likewise.
18217
18218 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18219
18220 * gdb.base/unload.c: Include <stdlib.h>.
18221
18222 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18223
18224 From Paul Gilliam <pgilliam@us.ibm.com>:
18225 * gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
18226 synchronized after the "return".
18227
18228 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18229
18230 * gdb.mi/basics.c: Include <stdio.h>.
18231 * gdb.mi/pthreads.c: Include <stdlib.h>.
18232 * gdb.mi/var-cmd.c: Include <stdlib.h>.
18233
18234 2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
18235
18236 * gdb.threads/schedlock.c: Add copyright notice.
18237
18238 2004-08-25 Andrew Cagney <cagney@gnu.org>
18239
18240 * gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
18241 (skip_over_handler, breakpoint_over_hander): New test procedures.
18242 (advance, advancei): Add a proper prefix, do not use
18243 rerun_to_main.
18244 * gdb.base/sigstep.c (main): Change to use an infinite loop.
18245
18246 2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
18247
18248 * gdb.mi/basics.c: Add copyright notice.
18249 * gdb.mi/var-cmd.c: Add copyright notice.
18250
18251 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18252
18253 * lib/gdb.exp: Remove signed_keyword_not_used.
18254 * lib/compiler.c: Likewise.
18255 * lib/compiler.cc: Likewise.
18256
18257 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18258
18259 * gdb.base/whatis.c: Remove conditional disabling of "signed".
18260 * gdb.base/whatis.exp: Remove signed_keyword_not_used.
18261
18262 2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
18263
18264 * gdb.base/whatis.c: Add copyright notice.
18265
18266 2004-08-20 Mark Kettenis <kettenis@gnu.org>
18267
18268 * gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
18269 it to skip the breakpoints encoded in the inline assembly.
18270
18271 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18272
18273 * Makefile.in: Add gdb.fortran.
18274
18275 2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
18276
18277 * gdb.base/call-sc.exp (test_scalar_returns):
18278 Fix cut-and-paste glitch in "Make fun return now".
18279
18280 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18281
18282 * configure.in: Add gdb.fortran.
18283 * configure: Regenerate.
18284 * gdb.fortran/Makefile.in: New file.
18285 * lib/gdb.exp (skip_fortran_tests): New procedure.
18286
18287 2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
18288
18289 * gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
18290 reference to bug-gnu@prep.ai.mit.edu.
18291 * gdb.mi/mi-var-child.exp: Likewise.
18292 * gdb.mi/mi-var-cmd.exp: Likewise.
18293 * gdb.mi/mi-var-display.exp: Likewise.
18294 * gdb.mi/mi2-var-block.exp: Likewise.
18295 * gdb.mi/mi2-var-child.exp: Likewise.
18296 * gdb.mi/mi2-var-cmd.exp: Likewise.
18297 * gdb.mi/mi2-var-display.exp: Likewise.
18298
18299 2004-08-15 Mark Kettenis <kettenis@gnu.org>
18300
18301 * gdb.base/unload.c (main): Make local variable msg const.
18302
18303 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18304
18305 * gdb.mi/mi-cli.exp: Use gdb_get_line_number. Remove reference
18306 to bug-gnu@prep.ai.mit.edu.
18307 * gdb.mi/mi-disassemble.exp: Likewise.
18308 * gdb.mi/mi-eval.exp: Likewise.
18309 * gdb.mi/mi-file.exp: Likewise. Also, add comment about the
18310 default line number.
18311 * gdb.mi/mi-return.exp: Likewise.
18312 * gdb.mi/mi-simplerun.exp: Likewise.
18313 * gdb.mi/mi-stack.exp: Likewise.
18314 * gdb.mi/mi-stepi.exp: Likewise. Also, replace wildcarded line
18315 number with explicit range test.
18316 * gdb.mi/mi-watch.exp: Likewise.
18317 * gdb.mi/mi2-break.exp: Likewise.
18318 * gdb.mi/mi2-cli.exp: Likewise.
18319 * gdb.mi/mi2-disassemble.exp: Likewise.
18320 * gdb.mi/mi2-eval.exp: Likewise.
18321 * gdb.mi/mi2-file.exp: Likewise. Also, add comment about the
18322 default line number.
18323 * gdb.mi/mi2-return.exp: Likewise.
18324 * gdb.mi/mi2-simplerun.exp: Likewise.
18325 * gdb.mi/mi2-stack.exp: Likewise.
18326 * gdb.mi/mi2-stepi.exp: Likewise. Also, replace wildcarded line
18327 number with explicit range test.
18328 * gdb.mi/mi2-watch.exp: Likewise.
18329
18330 2004-08-15 Michael Chastain <mec.gnu@mindspring.com>
18331
18332 * gdb.cp/ctti.exp: Tweak srcfile and objfile to have no slashes.
18333 * gdb.cp/m-static.exp: Likewise.
18334 * gdb.cp/rtti.exp: Likewise.
18335
18336 2004-08-14 Mark Kettenis <kettenis@gnu.org>
18337
18338 * gdb.base/bigcore.c: Include <sys/types.h> and <sys/time.h>.
18339
18340 2004-08-14 Eli Zaretskii <eliz@gnu.org>
18341
18342 * ChangeLog: Prefix Local Variables with semi-colons and indent
18343 the reference to older ChangeLog files, to fix fontification in
18344 Emacs.
18345
18346 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18347
18348 * gdb.mi/mi-break.exp: Use gdb_get_line_number.
18349 * gdb.mi/mi2-break.exp: Likewise.
18350
18351 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18352
18353 * gdb.gdb/selftest.exp: Revert removal of call to init_malloc.
18354
18355 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18356
18357 * gdb.cp/inherit.exp: Use cp_test_ptype_class.
18358
18359 2004-08-13 Michael Chastain <mec.gnu@mindspring.com>
18360
18361 * gdb.cp/classes.exp: Remove unused declarations. Just let
18362 test names default instead of providing special names. Remove
18363 extraneous demangler test.
18364
18365 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
18366
18367 * gdb.base/unload.exp: New test for breakpoints in dynamically
18368 loaded libraries.
18369 * gdb.base/unload.c: Ditto.
18370 * gdb.base/unloadshr.c: Ditto.
18371
18372 2004-08-12 Michael Chastain <mec.gnu@mindspring.com>
18373
18374 * gdb.cp/classes.exp (test_ptype_class_objects): Call
18375 cp_test_ptype_class.
18376 (test_enums): Likewise.
18377
18378 2004-08-10 Andrew Cagney <cagney@gnu.org>
18379
18380 * gdb.threads/staticthreads.c, gdb.threads/staticthreads.exp: New
18381 files.
18382
18383 2004-08-10 Andrew Cagney <cagney@gnu.org>
18384
18385 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove code to skip
18386 init_malloc call.
18387
18388 2004-08-10 Michael Chastain <mec.gnu@mindspring.com>
18389
18390 * ChangeLog: Add copyright notice. The notice is copied
18391 from emacs 21.3 top level ChangeLog.
18392
18393 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18394
18395 * lib/cp-support.exp: New file.
18396 * lib/cp-support.exp (cp_test_type_class): New function.
18397 * gdb.cp/derivation.exp: Use cp_test_ptype_class.
18398 * gdb.cp/virtfunc.exp (test_one_ptype): Removed.
18399 * gdb.cp/virtfunc.exp (test_ptype_of_classes): Use
18400 cp_test_ptype_class.
18401
18402 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18403
18404 * gdb.mi/mi2-basics.exp, gdb.mi/mi2-break.exp,
18405 gdb.mi/mi2-console.exp, gdb.mi/mi2-disassemble.exp,
18406 gdb.mi/mi2-eval.exp, gdb.mi/mi2-file.exp, gdb.mi/mi2-hack-cli.exp,
18407 gdb.mi/mi2-read-memory.exp, gdb.mi/mi2-regs.exp,
18408 gdb.mi/mi2-return.exp, gdb.mi/mi2-simplerun.exp,
18409 gdb.mi/mi2-stack.exp, gdb.mi/mi2-stepi.exp, gdb.mi/mi2-until.exp,
18410 gdb.mi/mi2-var-block.exp, gdb.mi/mi2-var-child.exp,
18411 gdb.mi/mi2-var-cmd.exp, gdb.mi/mi2-var-display.exp,
18412 gdb.mi/mi2-watch.exp: Update copyright years.
18413
18414 2004-08-09 Mark Kettenis <kettenis@gnu.org>
18415
18416 * gdb.base/sigaltstack.exp: Provide proper anchoring.
18417
18418 2004-08-09 Michael Chastain <mec.gnu@mindspring.com>
18419
18420 * gdb.mi/gdb792.exp, gdb.mi/mi-basics.exp, gdb.mi/mi-break.exp,
18421 gdb.mi/mi-console.exp, gdb.mi/mi-disassemble.exp,
18422 gdb.mi/mi-eval.exp, gdb.mi/mi-file.exp, gdb.mi/mi-hack-cli.exp,
18423 gdb.mi/mi-read-memory.exp, gdb.mi/mi-regs.exp,
18424 gdb.mi/mi-return.exp, gdb.mi/mi-simplerun.exp,
18425 gdb.mi/mi-stack.exp, gdb.mi/mi-stepi.exp, gdb.mi/mi-until.exp,
18426 gdb.mi/mi-var-block.exp, gdb.mi/mi-var-child.exp,
18427 gdb.mi/mi-var-cmd.exp, gdb.mi/mi-var-display.exp,
18428 gdb.mi/mi-watch.exp: Update copyright years.
18429
18430 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18431
18432 PR gdb/1738
18433 * gdb.base/signals.exp (signal_tests_1): KFAIL bug in continuing
18434 from a breakpoint with a pending signal.
18435
18436 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18437
18438 PR gdb/1736
18439 * lib/gdb.exp (gdb_test_multiple): Handle return -code return.
18440 * gdb.base/sigaltstack.exp (finish_test): Consume output until
18441 the prompt.
18442 * gdb.base/sigstep.exp: Add KFAIL for gdb/1736.
18443
18444 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18445
18446 * gdb.cp/templates.exp: Handle (char)115 for template argument 's'.
18447
18448 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18449
18450 PR gdb/1736
18451 * gdb.base/sigaltstack.exp (finish_test): New procedure. KFAIL
18452 for i?86-*-linux*.
18453
18454 2004-08-08 Daniel Jacobowitz <dan@debian.org>
18455
18456 * gdb.arch/i386-prologue.exp: Compile without debug information.
18457
18458 2004-08-08 Michael Chastain <mec.gnu@mindspring.com>
18459
18460 * lib/gdb.exp (gdb_get_line_number): Rewrite with native tcl
18461 rather than asking gdb to search.
18462
18463 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18464
18465 * gdb.base/gcore.c: Include <string.h>.
18466
18467 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18468
18469 * gdb.base/gcore.c: Add copyright notice.
18470
18471 2004-08-05 Michael Chastain <mec.gnu@mindspring.com>
18472
18473 * gdb.base/freebpcmd.c: Include <stdio.h>.
18474 * gdb.base/long_long.c: Include <string.h>.
18475 * gdb.base/sigaltstack.c: Include <stdlib.h> <string.h>.
18476 * gdb.base/siginfo.c: Include <string.h>.
18477 * gdb.base/sigstep.c: Include <string.h>.
18478
18479 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18480
18481 * gdb.base/complex.c: Include <stdlib.h>.
18482
18483 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18484
18485 * gdb.base/complex.c: Add copyright notice.
18486
18487 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18488
18489 * gdb.base/charset.c: Include <stdlib.h>.
18490
18491 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18492
18493 * gdb.base/auxv.c: Include <stdlib.h>.
18494
18495 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18496
18497 * gdb.base/auxv.c: Add copyright notice.
18498
18499 2004-08-04 Michael Chastain <mec.gnu@mindspring.com>
18500
18501 * gdb.base/coremaker.c: Add copyright notice.
18502 * gdb.base/coremaker2.c: Add copyright notice.
18503
18504 2004-08-04 Andrew Cagney <cagney@gnu.org>
18505
18506 * gdb.base/store.exp: Update copyright.
18507 (check_set, up_set, check_struct, up_struct): Add a prefix to test
18508 names, do not import gdb_prompt.
18509
18510 2004-08-01 Andrew Cagney <cagney@gnu.org>
18511
18512 Fix PR testsuite/1729.
18513 * gdb.base/dump.exp: Add test name to callers of capture_value, do
18514 not use capture_value with value 4.
18515 (capture_value): Add optional test name parameter.
18516 (test_reload_saved_value, test_restore_saved_value): Use $msg as
18517 the prefix, pass to capture_value.
18518
18519 2004-08-01 Mark Kettenis <kettenis@gnu.org>
18520
18521 * gdb.arch/i386-prologue.exp: Add testcase for standard prolgue.
18522 * gdb.arch/i386-prologue.c (standard): New prototype and function.
18523 (main): Call new function.
18524
18525 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18526
18527 * gdb.cp/namespace.exp: Accept more varieties of ptype output.
18528
18529 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18530
18531 * gdb.cp/virtfunc.exp: Accept more varieties of ptype output.
18532
18533 2004-07-31 Michael Chastain <mec.gnu@mindspring.com>
18534
18535 * gdb.cp/inherit.exp: Accept more varieties of ptype output.
18536 Accept more values of vtbl pointer. Remove some messages
18537 about "obsolete gcc or gdb".
18538
18539 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18540
18541 * gdb.cp/classes.exp: Accept more varieties of ptype output.
18542
18543 2004-07-30 Michael Chastain <mec.gnu@mindspring.com>
18544
18545 * gdb.base/asm-source.exp: Properly convert target board
18546 debug flags from gcc format to binutils format.
18547
18548 2004-07-28 Mark Kettenis <kettenis@gnu.org>
18549
18550 * gdb.arch/i386-prologue.exp: Remove KFAIL of "backtrace in
18551 gdb1718". PR backtrace/1718 partially fixed.
18552
18553 2004-07-27 Jeff Johnston <jjohnstn@redhat.com>
18554
18555 * gdb.threads/watchthreads.exp: New test for threaded watchpoints.
18556
18557 2004-07-26 Nick Clifton <nickc@redhat.com>
18558
18559 * gdb.asm/asm-source.exp (debug-flags): New variable. If a known
18560 good default value for a specific architecture is available then
18561 set it to that value. Otherwise default to the -gstabs switch.
18562 Remove the -g... switches from the asm-flags variable. Allow the
18563 target board info to override the value if it wants to. Pass the
18564 switch on the assembler command line.
18565
18566 2004-07-23 Mark Kettenis <kettenis@gnu.org>
18567
18568 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1718.
18569 * gdb.arch/i386-prologue.c (gdb1718): New prototype and function.
18570 (main): Call new function.
18571
18572 2004-07-22 Michael Chastain <mec.gnu@mindspring.com>
18573
18574 Test for PR exp/1715.
18575 * gdb.base/radix.exp: Refactor common procedures. Make all
18576 test names unique. Change XFAIL to KFAIL.
18577
18578 2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
18579
18580 * gdb.ada/gnat_ada.gpr.in: Rename from here ...
18581 * gdb.ada/gnat_ada.gin: ... to here.
18582 * configure.in: Use gnat_ada.gin.
18583 * configure: Regenerate.
18584
18585 2004-07-20 Andrew Cagney <cagney@gnu.org>
18586
18587 * gdb.base/signals.exp: Replace send_gdb and gdb_expect with
18588 gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
18589 XFAILs. Clean up test messages and comments. Check backtraces.
18590 Delete re-sync code.
18591
18592 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18593
18594 Fix PR cli/740.
18595 * gdb.base/annota1.exp: Honor gdb,nosignals.
18596 * gdb.base/annota3.exp: Likewise.
18597
18598 2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
18599
18600 * lib/java.exp: Update copyright notice.
18601
18602 2004-07-19 Andrew Cagney <cagney@gnu.org>
18603
18604 * gdb.base/selftest.exp: Copy file from here ...
18605 * gdb.gdb/selftest.exp: ... to here.
18606
18607 2004-07-16 Andrew Cagney <cagney@redhat.com>
18608
18609 * lib/insight-support.exp: Delete file.
18610 * lib/java.exp (java_init): Fix copyright.
18611
18612 2004-07-16 Andrew Cagney <cagney@gnu.org>
18613
18614 * gdb.base/restore.c: Append "prologue" to comments marking the a
18615 function's prologue.
18616 * gdb.base/restore.exp: Update copyright, re-indent.
18617 (restore_tests): Use gdb_test_multiple. Add "calleeN calls
18618 callerN" prefix where needed. Update patterns that match a
18619 function's prologue.
18620
18621 2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
18622
18623 * gdb.base/restore.c: Add copyright notice.
18624
18625 2004-07-16 Andrew Cagney <cagney@gnu.org>
18626
18627 * gdb.base/logical.exp: Update copyright.
18628 (evaluate): New procedure. Use to re-implement tests using
18629 several tables.
18630
18631 2004-07-14 Martin Hunt <hunt@redhat.com>
18632
18633 * lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
18634 which fixes some problems where init.tcl was not found.
18635
18636 2004-07-13 Andrew Cagney <cagney@gnu.org>
18637
18638 * gdb.base/sizeof.exp: Skip test when no inferior I/O.
18639 (check_sizeof, check_valueof): Do not include the output in the
18640 test name. Use gdb_test.
18641 (get_valueof): Use gdb_test_multiple.
18642
18643 * gdb.base/step-test.exp: Update copyright. Use
18644 gdb_test_multiple. Ensure that test names do not include
18645 architecture dependent output.
18646
18647 * gdb.gdb/observer.exp: Update copyright.
18648 (setup_test): Use gdb_test_multiple.
18649 (attach_first_observer, attach_second_observer)
18650 (attach_third_observer, detach_first_observer)
18651 (detach_second_observer, detach_third_observer)
18652 (reset_counters, check_counters): Make $message a prefix.
18653 (test_normal_stop_notifications): Add "args" parameter - a list of
18654 init functions to be called. Make $message a prefix,
18655 (test_observer_normal_stop): Change the message prefixes so that
18656 they are unique, pass the attach / detach procedures to
18657 test_normal_stop_notifications.
18658
18659 * gdb.base/signull.exp (test_segv): Prefix all tests with
18660 "${name}". Clean up test messages.
18661
18662 * gdb.base/annota3.exp, gdb.base/annota1.exp: Update copyright.
18663
18664 * gdb.base/ena-dis-br.exp: Update copyright.
18665 (break_at): New function. Replace send_gdb with gdb_test,
18666 break_at, and gdb_test_multiple. Replace XFAIL of "continue with
18667 ignore count, not stopped at bpt", with KFAIL.
18668
18669 2004-07-13 Corinna Vinschen <vinschen@redhat.com>
18670
18671 * gdb.base/attach.exp: Remove cleanupfile handling.
18672
18673 2004-07-12 Andrew Cagney <cagney@gnu.org>
18674
18675 * gdb.base/annota1.exp: Cleanup corefile test name.
18676 * gdb.base/annota3.exp: Ditto.
18677
18678 2004-07-12 Andrew Cagney <cagney@gnu.org>
18679
18680 * gdb.base/signals.exp: Clean up copyright, re-indent.
18681
18682 * gdb.base/attach.exp: Replace send_gdb and gdb_expect with
18683 gdb_test and gdb_test_multiple.
18684
18685 2004-07-08 Jeff Johnston <jjohnstn@redhat.com>
18686
18687 * gdb.java/jmain.exp: Fix expected line number for main to
18688 break at. Set XFAIL for break at main test since gcj does not
18689 provide line number info for first statement in main.
18690
18691 2004-07-08 Andrew Cagney <cagney@gnu.org>
18692
18693 * gdb.base/attach.exp: Cleanup copyright. Re-indent.
18694
18695 * gdb.base/sigbpt.exp: Make the common part of each test name a
18696 prefix instead of suffix.
18697
18698 2004-07-07 Bob Rossi <bob_rossi@cox.net>
18699
18700 * gdb.mi/mi2-file.exp: Revert to version 1.1, except changed name of
18701 test from test_tbreak_creation_and_listing to
18702 test_file_list_exec_source_file
18703 * gdb.mi/mi-file.exp: Add test for -file-list-exec-source-files
18704 Changed name of test from test_tbreak_creation_and_listing to
18705 test_file_list_exec_source_file
18706
18707 2004-07-07 Jeff Johnston <jjohnstn@redhat.com>
18708
18709 * gdb.java/jmisc.exp: Fix expected output of ptype to look for
18710 the jmisc() constructor instead of <init>.
18711 * gdb.java/jmisc1.exp: Ditto.
18712
18713 2004-07-07 Andrew Cagney <cagney@gnu.org>
18714
18715 * gdb.base/sigbpt.exp (stepi_out): Check for a single step
18716 corrupting the PC.
18717
18718 2004-07-06 Michael Chastain <mec.gnu@mindspring.com>
18719
18720 * gdb.cp/templates.exp: Accept whitespace change in demangler
18721 output.
18722
18723 2004-07-06 Andrew Cagney <cagney@gnu.org>
18724
18725 * gdb.base/sigbpt.exp, gdb.base/sigbpt.c: New test.
18726
18727 2004-07-02 Michael Chastain <mec.gnu@mindspring.com>
18728
18729 * lib/compiler.c: Accept __HP_CXD_SPP for old hp ansi c compiler.
18730 * lib/compiler.cc: Likewise.
18731
18732 2004-06-30 Michael Chastain <mec.gnu@mindspring.com>
18733
18734 * lib/compiler.cc: Work around string preprocessing problem
18735 with old hp c++ compiler.
18736 * lib/compiler.c: Likewise.
18737
18738 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
18739
18740 * gdb.arch/i386-prologue.c: Add copyright header. Use preprocessor
18741 directives to conditionalize symbol prefixing.
18742 * gdb.arch/i386-prologue.exp: Allow symbol prefixing by adding
18743 additional_flags handling. Add underscore prefix for Cygwin.
18744 * gdb.arch/i386-unwind.c: Use preprocessor directives to
18745 conditionalize symbol prefixing.
18746 * gdb.arch/i386-unwind.exp: Allow symbol prefixing by adding
18747 additional_flags handling. Add underscore prefix for Cygwin.
18748
18749 2004-06-29 Corinna Vinschen <vinschen@redhat.com>
18750
18751 * gdb.base/bigcore.exp: Skip test on Cygwin.
18752
18753 2004-06-28 Michael Chastain <mec.gnu@mindspring.com>
18754
18755 * gdb.hp/gdb.base-hp/reg.exp: Accept both old and new gdb output
18756 formats for "info register". Use gdb_test_multiple. Fix
18757 the "invalid register" test.
18758
18759 2004-06-28 Corinna Vinschen <vinschen@redhat.com>
18760
18761 * gdb.base/attach.exp: Fix copyright date. Set testpid to Windows
18762 PID for Cygwin. Add Cygwin specific strings to check for in some
18763 tests.
18764 (do_attach_tests): Add a test for user interaction when attaching
18765 to a process with no matching symbol table already loaded.
18766
18767 2004-06-26 Andrew Cagney <cagney@gnu.org>
18768
18769 Test PR java/1567 and PR java/1565.
18770 * gdb.java/jmain.exp, gdb.java/jmain.java: New files.
18771 * gdb.java/jmisc2.exp: Delete file.
18772
18773 2004-06-26 Michael Chastain <mec.gnu@mindspring.com>
18774
18775 * gdb.hp/gdb.base-hp/reg.exp: Update copyright notice.
18776
18777 2004-06-25 Corinna Vinschen <vinschen@redhat.com>
18778
18779 * gdb.base/attach.exp (do_attach_tests): Don't forget to kill second
18780 attach process.
18781
18782 2004-06-23 Michael Chastain <mec.gnu@mindspring.com>
18783
18784 * gdb.cp/pr-1553.exp: Remove.
18785
18786 2004-06-22 Michael Chastain <mec.gnu@mindspring.com>
18787
18788 * gdb.cp/pr-1553.cc: Remove.
18789 * gdb.cp/pr-1553.exp: Disable this test.
18790
18791 2004-06-20 Jim Blandy <jimb@redhat.com>
18792
18793 Fix PR testsuite/1680.
18794 * gdb.arch/i386-sse.exp: Properly quote curly braces in
18795 regular expressions.
18796
18797 2004-06-19 Michael Chastain <mec.gnu@mindspring.com>
18798
18799 Fix PR testsuite/1679.
18800 * gdb.arch/i386-sse.exp: Do not call gdb_suppress_entire_file.
18801 Issue an UNSUPPORTED result instead.
18802
18803 2004-06-18 Jim Blandy <jimb@redhat.com>
18804
18805 * gdb.base/charset.exp: Only send a control-C if we see a new
18806 prompt and incomplete command.
18807
18808 2004-06-18 Michael Chastain <mec.gnu@mindspring.com>
18809
18810 * gdb.cp/pr-574.cc: Add copyright notice.
18811
18812 2004-06-17 Jim Blandy <jimb@redhat.com>
18813
18814 * gdb.base/charset.exp: Don't refer to $expect_out(1,string) in
18815 cases where the regexp has no groups; this grabs random text from
18816 the previous test suite, whatever that was.
18817
18818 2004-06-17 Michael Chastain <mec.gnu@mindspring.com>
18819
18820 * gdb.cp/printmethod.cc: Add copyright notice.
18821
18822 2004-06-16 Michael Chastain <mec.gnu@mindspring.com>
18823
18824 * gdb.cp/psmang1.cc, gdb.cp/psmang2.cc: Add copyright notice.
18825
18826 2004-06-16 Andrew Cagney <cagney@gnu.org>
18827
18828 * gdb.base/signull.c: Update copyright. Include <string.h>.
18829 (bowler): Replace data_pointer with data_read
18830 and data_write cases. Add code_descriptor case.
18831 (zero, desc): New array and pointer.
18832 (data, code): Change to simple pointers.
18833 * gdb.base/signull.exp: Fix probe pattern matching a function
18834 descriptor SIGSEGV. Replace data_pointer with data_read and
18835 data_write tests.
18836
18837 2004-06-16 Andrew Cagney <cagney@gnu.org>
18838
18839 * gdb.base/long_long.exp, gdb.base/long_long.c: Rewrite.
18840
18841 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18842
18843 * gdb.base/long_long.c: Add copyright notice.
18844
18845 2004-06-15 Michael Chastain <mec.gnu@mindspring.com>
18846
18847 * gdb.base/long_long.exp: Remove reference to
18848 bug-gdb@prep.ai.mit.edu. Change line-number-specific breakpoint
18849 to gdb_breakpoint and gdb_continue_to_breakpoint.
18850
18851 2004-06-14 Jim Blandy <jimb@redhat.com>
18852
18853 * gdb.arch/e500-regs.exp: Fix up 'print' pattern for the little-
18854 endian case.
18855
18856 2004-06-14 Andrew Cagney <cagney@gnu.org>
18857
18858 * gdb.base/gcore.exp (capture_command_output): Delete the always
18859 passing tests containing inferior values.
18860 * gdb.base/ending-run.exp: Do not include the breakpoint address
18861 in the test message. Update copyright.
18862 * gdb.base/sizeof.exp (check_sizeof): Do not include the type's
18863 size in the test name, use gdb_test_multiple. Update copyright.
18864
18865 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18866
18867 * gdb.cp/ref-types.cc: Add copyright notice.
18868
18869 2004-06-14 Michael Chastain <mec.gnu@mindspring.com>
18870
18871 * lib/compiler.c: Remove gcc_compiled, hp_cc_compiler,
18872 hp_aCC_compiler.
18873 * lib/compiler.cc: Likewise.
18874 * lib/gdb.exp (get_compiler_info): Eval lines only if they are
18875 'set' commands. Log diagnostics for other lines. Set
18876 gcc_compiled, hp_cc_compiler, and hp_aCC_compiler.
18877
18878 2004-06-13 Michael Chastain <mec.gnu@mindspring.com>
18879
18880 * gdb.cp/try_catch.cc: Add copyright notice.
18881
18882 2004-06-12 Michael Chastain <mec.gnu@mindspring.com>
18883
18884 * gdb.cp/userdef.cc: Add copyright notice.
18885
18886 2004-06-11 Michael Chastain <mec.gnu@mindspring.com>
18887
18888 * gdb.cp/virtfunc.cc: Add copyright notice.
18889
18890 2004-06-11 Randolph Chung <tausq@debian.org>
18891
18892 * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
18893 problem.
18894
18895 2004-06-10 Andrew Cagney <cagney@gnu.org>
18896
18897 * lib/compiler.cc, lib/compiler.c: Append either
18898 __GNUC_PATCHLEVEL__, or "unknown" to the compiler_info.
18899 * gdb.base/structs.exp (test_struct_calls): Check for gcc-3-3-*
18900 instead of gcc-3-3.
18901
18902 2004-06-09 Andrew Cagney <cagney@gnu.org>
18903
18904 * gdb.base/structs.exp (test_struct_calls): Fix KFAIL for
18905 gdb/1455, bug is specific to "long long" and "double".
18906
18907 * gdb.base/structs.exp (test_struct_returns, test_struct_returns)
18908 (test_struct_calls): Remove KFAIL of "long double" on i*86-*-*,
18909 x86_64-*-*, sparc64-*-*, and sparc*-*-solaris2*. PR tdep/1447
18910 fixed.
18911
18912 2004-06-09 Andrew Cagney <cagney@gnu.org>
18913
18914 * gdb.base/structs.exp (test_struct_returns): Replace
18915 "return_value_unknown" and "finish_value_unknown" by
18916 "return_value_known" and "finish_value_known". Instead of
18917 "return_value_unknown" iff "finish_value_unknown", check
18918 "return_value_known" implies "finish_value_known".
18919
18920 2004-06-08 Martin Hunt <hunt@redhat.com>
18921
18922 * gdb.base/float.exp: Add pattern for mips targets.
18923
18924 2004-06-08 Randolph Chung <tausq@debian.org>
18925
18926 * gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
18927 message for unknown architectures more clear.
18928
18929 2004-06-08 Joel Brobecker <brobecker@gnat.com>
18930
18931 * gdb.ada/null_record.exp: Use "start" instead of "begin" to
18932 start the execution of the program.
18933
18934 2004-06-07 Jim Blandy <jimb@redhat.com>
18935
18936 * gdb.arch/i386-sse.exp, gdb.arch/i386-sse.c: New tests.
18937 * gdb.arch/i386-cpuid.h: New helper file.
18938
18939 2004-06-07 Randolph Chung <tausq@debian.org>
18940
18941 * gdb.base/shlib-call.exp: Allow breakpoint to be added after inferior
18942 has started.
18943
18944 2004-06-04 Roland McGrath <roland@redhat.com>
18945
18946 Fix PR gdb/1647.
18947 * gdb.base/auxv.exp (fetch_auxv): Revert last change and fix it
18948 differently to be robust to output buffering differences.
18949
18950 2004-06-04 Michael Chastain <mec.gnu@mindspring.com>
18951
18952 * gdb.threads/pthreads.exp: Update copyright years.
18953 (check_control_c): Change asynchronous 'after' to synchronous.
18954
18955 2004-06-04 Roland McGrath <roland@redhat.com>
18956
18957 * gdb.base/auxv.exp (fetch_auxv): Consume output fully through
18958 next gdb prompt.
18959
18960 2004-06-02 Michael Chastain <mec.gnu@mindspring.com>
18961
18962 Fix PR gdb/1636.
18963 * gdb.threads/manythreads.exp: Change asynchronous 'after'
18964 calls to synchronous.
18965
18966 2004-05-26 Jim Blandy <jimb@redhat.com>
18967
18968 * gdb.arch/e500-prologue.exp, gdb.arch/e500-prologue.c: New tests.
18969
18970 2004-05-24 Randolph Chung <tausq@debian.org>
18971
18972 * gdb.asm/asm-source.exp: Enable test for hppa-linux target.
18973 * gdb.asm/pa.inc: New file.
18974
18975 2004-05-22 Mark Kettenis <kettenis@gnu.org>
18976
18977 * gdb.base/signull.c: Use sigjmp_buf instead of jmp_buf.
18978
18979 2004-05-21 Joel Brobecker <brobecker@gnat.com>
18980 Daniel Jacobowitz <drow@mvista.com>
18981
18982 * lib/gdb.exp (gdb_test_multiple): Improve regexp matching the
18983 GDB prompt.
18984
18985 2004-05-20 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18986
18987 * gdb.base/signull.c: Use sigsetjmp/siglongjmp instead of
18988 setjmp/longjmp. Use sigaction instead of signal.
18989
18990 2004-05-19 J. Brobecker <brobecker@gnat.com>
18991 Michael Snyder <msnyder@redhat.com>
18992
18993 * gdb.threads/pthread_cond_wait.c: New file.
18994 * gdb.threads/pthread_cond_wait.exp: New testcase.
18995
18996 2004-05-13 Andrew Cagney <cagney@redhat.com>
18997
18998 * gdb.base/signull.exp, gdb.base/signull.c: New files.
18999 * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
19000
19001 2004-05-11 Andrew Cagney <cagney@redhat.com>
19002
19003 * gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
19004 fixed but revealed gdb/1639.
19005
19006 2004-05-10 Andrew Cagney <cagney@redhat.com>
19007
19008 * gdb.base/signals.exp (signal_tests_1): Simplify "continue to
19009 func1" and "next to 2nd alarm", kernel bug avoided.
19010
19011 2004-05-10 Daniel Jacobowitz <dan@debian.org>
19012
19013 PR external/1568
19014 * gdb.base/bigcore.exp: Check the size of the dumped core file.
19015 XFAIL if it is smaller than bytes_allocated.
19016 * gdb.base/bigcore.c (bytes_allocated): Make static and unsigned.
19017 (main): Make chunks_allocated unsigned. Correct comment.
19018
19019 2004-05-07 Joel Brobecker <brobecker@gnat.com>
19020
19021 * gdb.arch/powerpc-aix-prologue.c: New file.
19022 * gdb.arch/powerpc-aix-prologue.exp: New file.
19023
19024 2004-05-07 Jim Blandy <jimb@redhat.com>
19025
19026 * gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
19027 gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.
19028
19029 2004-05-06 Joel Brobecker <brobecker@gnat.com>
19030
19031 * gdb.base/sep.exp: No longer setup_kfail when the program was
19032 built with dwarf2.
19033
19034 2004-05-05 Jim Ingham <jingham@apple.com>
19035
19036 * gdb.base/pending.exp: Make sure pending breakpoints
19037 preserve the ignore count.
19038
19039 2004-04-27 Jerome Guitton <guitton@gnat.com>
19040
19041 * i386-prologue.exp: Add testcase for jump instruction as first
19042 instruction of the real code.
19043 * i386-prologue.c (jump_at_beginning): New function.
19044
19045 2004-04-28 Mark Kettenis <kettenis@gnu.org>
19046
19047 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1624 on
19048 x86_64-*-*.
19049
19050 2004-04-28 Mark Kettenis <kettenis@gnu.org>
19051
19052 * gdb.base/call-sc.exp: Remove patterns to KFAIL PR gdb/1623 on
19053 i*86-*-*.
19054
19055 2004-04-25 Mark Kettenis <kettenis@gnu.org>
19056
19057 * gdb.base/call-sc.exp (start_scalars_test): Fix regular
19058 expression that checks the return type.
19059
19060 2004-04-23 Andrew Cagney <cagney@redhat.com>
19061
19062 * gdb.base/call-sc.exp: New test of scalar call/return values.
19063 * gdb.base/call-sc.c: Ditto.
19064
19065 2004-04-23 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19066
19067 * gdb.threads/manythreads.c: Reduce thread stack size.
19068
19069 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
19070
19071 * gdb.threads/manythreads.c: Add copyright notice.
19072
19073 2004-04-23 Andrew Cagney <cagney@redhat.com>
19074
19075 * gdb.base/siginfo.exp: Better handle step out of signal.
19076 * gdb.base/sigstep.exp: Ditto.
19077
19078 2004-04-22 Jeff Johnston <jjohnstn@redhat.com>
19079 Daniel Jacobowitz <drow@mvista.com>
19080
19081 * gdb.threads/manythreads.c: New testcase.
19082 * gdb.threads/manythreads.exp: Ditto.
19083
19084 2004-04-22 Jim Blandy <jimb@redhat.com>
19085
19086 * gdb.stabs/exclfwd.exp, gdb.stabs/exclfwd1.c,
19087 gdb.stabs/exclfwd2.c, gdb.stabs/exclfwd.h: New test.
19088
19089 2004-04-21 Michael Chastain <mec.gnu@mindspring.com>
19090
19091 * gdb.stabs/weird.exp: Accept full pathname for $binfile.
19092
19093 2004-04-21 Andrew Cagney <cagney@redhat.com>
19094
19095 * gdb.base/sigstep.c: New file.
19096 * gdb.base/sigstep.exp: New file.
19097
19098 2004-04-16 Joel Brobecker <brobecker@gnat.com>
19099
19100 * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
19101 call to observer_notify_normal_stop.
19102
19103 2004-04-15 Andrew Cagney <cagney@redhat.com>
19104
19105 * gdb.base/siginfo.c: New file.
19106 * gdb.base/siginfo.exp: New file.
19107
19108 2004-04-12 J. Brobecker <brobecker@gnat.com>
19109
19110 * gdb.base/sep.exp: Fix typo in comment.
19111
19112 2004-04-12 J. Brobecker <brobecker@gnat.com>
19113
19114 * gdb.base/sep.c: New file.
19115 * gdb.base/sep-proc.c: New file.
19116 * gdb.base/sep.exp: New testcase.
19117
19118 2004-04-09 Mark Kettenis <kettenis@gnu.org>
19119
19120 * gdb.base/bigcore.exp: Disable on Solaris; no sparse core file
19121 support.
19122
19123 2004-04-05 Andrew Cagney <cagney@redhat.com>
19124
19125 * gdb.base/sigaltstack.c: New file.
19126 * gdb.base/sigaltstack.exp: New file.
19127
19128 2004-04-04 Joel Brobecker <brobecker@gnat.com>
19129
19130 * gdb.base/foll-fork.exp: Update the expected output for
19131 "help set follow-fork-mode", to match a change that was made
19132 to the help of this variable on 2004-01-13.
19133
19134 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19135
19136 * lib/ada.exp: Add copyright notice.
19137 * bar.ads: Likewise.
19138 * bar.adb: Likewise.
19139 * null_record.adb: Likewise.
19140 * null_record.exp: Likewise.
19141 * gnat_ada.gpr.in: Likewise. Fix typo in a comment, clarify another.
19142
19143 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19144
19145 * configure.in: Generate gdb.ada/Makefile and gdb.ada/gnat_ada.gpr.
19146 * configure: Regenerate.
19147
19148 2004-04-01 Joel Brobecker <brobecker@gnat.com>
19149
19150 * lib/ada.exp (gdb_compile_ada): Emit UNSUPPORTED if we failed
19151 to build the application. Remove the message printed when in
19152 verbose mode, redundant with the UNSUPPORTED message above.
19153
19154 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19155
19156 * gdb.ada (bar.ads, bar.adb, null_record.adb): New files.
19157 * gdb.ada (null_record.exp): New testcase.
19158
19159 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19160
19161 * Makefile.in (ALL_SUBDIRS) Add gdb.ada.
19162
19163 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19164
19165 * gdb.ada: New subdirectory.
19166 * gdb.ada/Makefile.in: New file.
19167 * gdb.ada/gnat_ada.gpr.in: New file.
19168
19169 2004-03-31 Joel Brobecker <brobecker@gnat.com>
19170
19171 * lib/ada.exp: New file.
19172
19173 2004-03-24 Daniel Jacobowitz <drow@mvista.com>
19174
19175 * gdb.base/gdb1250.exp: Use runto {allow-pending}.
19176 * lib/gdb.exp (runto, gdb_breakpoint): Support {allow-pending}.
19177
19178 2004-03-22 Andrew Cagney <cagney@redhat.com>
19179
19180 * gdb.base/watchpoint.exp (test_stepping): Delete bogus XFAILs
19181 hiding problems with DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET.
19182 Problem identified by Ulrich Weigand.
19183
19184 2004-03-17 David Carlton <carlton@kealia.com>
19185
19186 * gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
19187 PR c++/826.
19188
19189 2004-03-16 Roland McGrath <roland@redhat.com>
19190
19191 * gdb.base/auxv.exp: New file.
19192 * gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
19193
19194 2004-03-12 David Carlton <carlton@kealia.com>
19195
19196 * gdb.cp/pr-1553.exp: New. Tests for PR c++/1553.
19197 * gdb.cp/pr-1553.cc: Ditto.
19198 * gdb.cp/local.exp (ptype NestedInnerLocal): Add comment, third
19199 pass branch.
19200
19201 2004-03-12 Michael Chastain <mec.gnu@mindspring.com>
19202
19203 * gdb.cp/templates.exp: Accept more template types.
19204
19205 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19206
19207 From Corinna Vinschen with modifications.
19208 * gdb.cp/classes.cc (enums1): Add a line to extend scope of
19209 local variable obj_with_enum.
19210 * gdb.cp/classes.exp (test_enums): Remove TODO note about FAIL
19211 results with obj_with_enum.
19212
19213 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19214
19215 * gdb.cp/classes.cc: New file, copied from misc.cc.
19216 * gdb.cp/classes.exp: Use classes.cc rather than misc.cc.
19217
19218 2004-03-09 Michael Chastain <mec.gnu@mindspring.com>
19219
19220 * gdb.cp/misc.cc: Add copyright notice.
19221
19222 2004-03-05 David Carlton <carlton@kealia.com>
19223
19224 * gdb.cp/rtti.exp: Add 'print *obj3' test.
19225 * gdb.cp/rtti.h: Update copyright.
19226 (namespace n2::n3): New.
19227 * gdb.cp/rtti1.cc: (refer_to (n2::n3::C3 *)): New.
19228 (n2::n3::func3): New.
19229 (main): Call n2::n3::func3.
19230 * gdb.cp/rtti2.cc: Update copyright.
19231 (n2::create3): New.
19232
19233 2004-03-04 Mark Kettenis <kettenis@gnu.org>
19234
19235 * gdb.asm/openbsd.inc: Fix typo.
19236
19237 2004-03-03 Fred Fish <fnf@redhat.com>
19238
19239 * gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
19240 "val" instead of unused "size". Update copyright year.
19241
19242 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
19243
19244 * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
19245 to use unsigned char.
19246 * gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
19247 gdb.cp/cttiadd3.c: Change type of variable to unsigned char.
19248
19249 2004-02-29 Daniel Jacobowitz <drow@mvista.com>
19250
19251 * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
19252 line of output.
19253
19254 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
19255
19256 * gdb.base/relocate.c (dummy): Initialize.
19257
19258 2004-02-28 Daniel Jacobowitz <drow@mvista.com>
19259
19260 * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
19261 a breakpoint at exit.
19262
19263 2004-02-27 Fred Fish <fnf@redhat.com>
19264
19265 * gdb.base/chng-syms.exp: Add expect condition to match failing
19266 case that isn't a timeout.
19267
19268 2004-02-27 Andrew Cagney <cagney@redhat.com>
19269
19270 * gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
19271 support.
19272
19273 2004-02-26 Fred Fish <fnf@redhat.com>
19274
19275 * gdb.arch/gdb1431.c: Remove.
19276 * gdb.arch/gdb1431.s: New file, copy of gdb1291.s
19277 * gdb.arch/gdb1431.exp: Use "advance" correctly instead
19278 of "until" incorrectly.
19279
19280 2004-02-26 J. Brobecker <brobecker@gnat.com>
19281
19282 * gdb.cp/class2.cc (empty): New class.
19283 (refer): New function.
19284 (main): Declare an object of type empty and use it.
19285 * gdb.cp/class2.exp: Print the value of an object of type empty.
19286
19287 2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
19288
19289 * gdb.base/langs.exp: Update query string to match the
19290 new nquery format used for pending breakpoints.
19291
19292 2004-02-26 Andrew Cagney <cagney@redhat.com>
19293
19294 Fix PR i18n/1570.
19295 * gdb.base/charset.c: Update copyright notice.
19296 (main, init_string): Remove the escape character '\e' tests.
19297 * gdb.base/printcmds.exp (test_print_all_chars): Ditto.
19298 * gdb.base/charset.exp (valid_host_charset): Ditto.
19299 * gdb.base/setvar.exp: Ditto.
19300
19301 2004-02-24 Andrew Cagney <cagney@redhat.com>
19302
19303 * gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
19304 mmapped data in core file" PASS and FAIL messages consistent.
19305
19306 * gdb.java/jmisc.exp: Use the fully quallified name of "main" when
19307 setting a breakpoint. Work around PR java/1565.
19308
19309 2004-02-23 Jeff Johnston <jjohnstn@redhat.com>
19310
19311 * lib/gdb.exp (gdb_breakpoint): Update query string to match
19312 new nquery format.
19313 * gdb.base/pending.exp: Ditto.
19314
19315 2004-02-22 Mark Kettenis <kettenis@gnu.org>
19316
19317 * configure.in: Run stabs tests on *BSD.
19318 * configure: Regenerated.
19319
19320 2004-02-21 Mark Kettenis <kettenis@gnu.org>
19321
19322 * gdb.base/bigcore.exp: Bail out on *BSD instead of only NetBSD.
19323
19324 2004-02-20 Fred Fish <fnf@redhat.com>
19325
19326 * gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
19327 blank in test for "returns short", for consistency with other
19328 "returns xxx" tests. Update copyright year.
19329
19330 2004-02-19 Fred Fish <fnf@redhat.com>
19331
19332 New testcase for PR breakpoint/1558.
19333 * gdb.arch/gdb1558.exp: New file.
19334 * gdb.arch/gdb1558.c: New file.
19335
19336 2004-02-19 Elena Zannoni <ezannoni@redhat.com>
19337
19338 * gdb.base/nodebug.exp: Fix typo.
19339
19340 2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19341
19342 Committed by Jim Blandy <jimb@redhat.com>.
19343
19344 * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
19345
19346 * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
19347
19348 * gdb.base/float.exp: Support s390*-*-* targets.
19349
19350 2004-02-17 Adam Fedor <fedor@gnu.org>
19351
19352 * gdb.base/gdb1555.exp: New file.
19353 * gdb.base/gdb1555-main.c, gdb.base/gdb1555.c: New files.
19354
19355 2004-02-17 Elena Zannoni <ezannoni@redhat.com>
19356
19357 * gdb.base/selftest.exp (do_steps_and_nexts): Add comment.
19358
19359 2004-02-16 Fred Fish <fnf@redhat.com>
19360
19361 * gdb.arch/gdb1291.c: Remove
19362 * gdb.arch/gdb1291.s: New test input file.
19363 * gdb.arch/gdb1291.exp: Expand test to check case that should not
19364 fail. Test for correct result, known incorrect result, other
19365 failures and timeouts.
19366
19367 2004-02-16 Andrew Cagney <cagney@redhat.com>
19368
19369 * gdb.base/bigcore.exp: New file.
19370 * gdb.base/bigcore.c: New file.
19371
19372 2004-02-13 Andrew Cagney <cagney@redhat.com>
19373
19374 * gdb.mi/mi1-basics.exp, gdb.mi/mi1-break.exp: Delete file.
19375 * gdb.mi/mi1-console.exp, gdb.mi/mi1-disassemble.exp: Delete file.
19376 * gdb.mi/mi1-eval.exp, gdb.mi/mi1-hack-cli.exp: Delete file.
19377 * gdb.mi/mi1-pthreads.exp, gdb.mi/mi1-read-memory.exp: Delete file.
19378 * gdb.mi/mi1-regs.exp, gdb.mi/mi1-return.exp: Delete file.
19379 * gdb.mi/mi1-simplerun.exp, gdb.mi/mi1-stack.exp: Delete file.
19380 * gdb.mi/mi1-stepi.exp, gdb.mi/mi1-symbol.exp: Delete file.
19381 * gdb.mi/mi1-until.exp, gdb.mi/mi1-var-block.exp: Delete file.
19382 * gdb.mi/mi1-var-child.exp, gdb.mi/mi1-var-cmd.exp: Delete file.
19383 * gdb.mi/mi1-var-display.exp, gdb.mi/mi1-watch.exp: Delete file.
19384
19385 2004-02-11 Jeff Johnston <jjohnstn@redhat.com>
19386
19387 * gdb.asm/ia64.inc (gdbasm_startup): Make sure first instruction
19388 executed is an alloc instruction.
19389
19390 2004-02-11 David Carlton <carlton@kealia.com>
19391
19392 * gdb.cp/breakpoint.exp: New.
19393 * gdb.cp/breakpoint.cc: New.
19394
19395 2004-02-11 Michael Chastain <mec.gnu@mindspring.com>
19396
19397 Partial fix for PR gdb/1543.
19398 * gdb.cp/ambiguous.exp, gdb.cp/annota2.exp, gdb.cp/annota3.exp,
19399 gdb.cp/anon-union.exp, gdb.cp/casts.exp, gdb.cp/classes.exp,
19400 gdb.cp/cplusfuncs.exp, gdb.cp/ctti.exp, gdb.exp/demangle.exp,
19401 gdb.cp/derivation.exp, gdb.cp/exception.exp, gdb.cp/hang.exp,
19402 gdb.cp/inherit.exp, gdb.cp/local.exp, gdb.cp/maint.exp,
19403 gdb.cp/member-ptr.exp, gdb.cp/method.exp, gdb.cp/misc.exp,
19404 gdb.cp/namespace.exp, gdb.cp/overload.exp, gdb.cp/ovldbreak.exp,
19405 gdb.cp/psmang.exp, gdb.cp/ref-types.exp, gdb.cp/templates.exp,
19406 gdb.cp/userdef.exp, gdb.cp/virtfunc.exp: Remove reference
19407 to bug-gdb@prep.ai.mit.edu .
19408 * gdb.cp/bs15503.cc, gdb.cp/class2.cc, gdb.cp/cttiadd.cc,
19409 gdb.cp/cttiadd1.cc, gdb.cp/cttiadd2.cc, gdb.cp/cttiadd3.cc,
19410 gdb.cp/exception.cc, gdb.cp/member-ptr.cc, gdb.cp/namespace1.cc:
19411 Likewise.
19412
19413 2004-02-10 Andrew Cagney <cagney@redhat.com>
19414
19415 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
19416 using gdb_internal_error_resync.
19417
19418 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
19419
19420 * gdb.threads/thread-specific.exp: Stop early if no threads are
19421 found.
19422
19423 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
19424
19425 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
19426
19427 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
19428
19429 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
19430 breakpoints.
19431
19432 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
19433
19434 * config/sim.exp (gdb_load): Handle $arg == "".
19435 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
19436 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
19437
19438 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
19439
19440 * gdb.base/maint.exp: Update test to reflect
19441 obstack changes.
19442
19443 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
19444
19445 * gdb.base/pendshr.c (pendfunc): New function that calls
19446 pendfunc1.
19447 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
19448
19449 2004-02-04 Fred Fish <fnf@redhat.com>
19450
19451 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
19452 function symbols and update copyright years.
19453 * gdb.arch/gdb1291.c: Ditto.
19454
19455 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19456
19457 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
19458
19459 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19460
19461 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
19462
19463 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
19464
19465 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
19466
19467 2004-02-02 Fred Fish <fnf@redhat.com>
19468
19469 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
19470 remote targets. Update copyright years.
19471
19472 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19473
19474 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
19475 support.
19476 * gdb.base/langs.exp: Fix test which attempts to create
19477 breakpoint on non-existent function to handle new pending
19478 support.
19479 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
19480 a breakpoint.
19481 * gdb.base/pending.exp: New test.
19482 * gdb.base/pending.c: New file.
19483 * gdb.base/pendshr.c: Ditto.
19484
19485 2004-02-02 David Carlton <carlton@kealia.com>
19486
19487 * gdb.cp/overload.exp: Add overloadNamespace tests.
19488 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
19489 (overloadNamespace, XXX): New.
19490 (main): Call XXX::marker2.
19491
19492 2004-02-01 Fred Fish <fnf@redhat.com>
19493
19494 * gdb.base/dump.exp: Use runto_main instead of "runto main".
19495 * gdb.base/finish.exp: Ditto.
19496 * gdb.base/gcore.exp: Ditto.
19497 * gdb.base/huge.exp: Ditto.
19498 * gdb.base/info-proc.exp: Ditto.
19499 * gdb.base/return2.exp: Ditto.
19500 * gdb.threads/gcore-thread.exp: Ditto.
19501
19502 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19503
19504 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
19505
19506 2004-02-01 Mark Kettenis <kettenis@gnu.org>
19507
19508 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
19509 that opening the file succeeds on OpenBSD.
19510
19511 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19512
19513 * gdb.threads/thread-specific.c: New file.
19514 * gdb.threads/threads-specific.exp: New test script.
19515 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
19516 to expect_out.
19517
19518 2004-02-01 Mark Kettenis <kettenis@gnu.org>
19519
19520 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
19521 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
19522 only on the "print_small_structs from print_long_arg_list" test.
19523
19524 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
19525
19526 * gdb.base/completion.exp: Kill a stray backslash.
19527
19528 From Jim Ingham <jingham@apple.com>:
19529 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
19530 agrees with the result from sending a tab.
19531
19532 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
19533
19534 * gdb.base/chng-syms.exp: Remove stray newline.
19535
19536 2004-01-31 Mark Kettenis <kettenis@gnu.org>
19537
19538 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
19539 *-*-openbsd*.
19540 * gdb.asm/openbsd.inc: New file.
19541
19542 2004-01-30 Mark Kettenis <kettenis@gnu.org>
19543
19544 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
19545 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
19546 *-*solaris2*. Remove commented out default settings for
19547 asm-flags. Replace gdb_compile with target_link.
19548
19549 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
19550
19551 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
19552 for all tests. Remove old hp-ux and cygnus xfail cases.
19553
19554 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
19555
19556 * gdb.base/chng-syms.exp: New file.
19557 * gdb.base/chng-syms.c: New file.
19558
19559 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19560
19561 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
19562 Provide arms for current output in all my configurations.
19563
19564 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
19565
19566 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
19567 * lib/compiler.cc: Likewise.
19568 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
19569 get the right preprocessor. Eval the output directly. Remove
19570 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
19571 hp_f77_compiler and hp_f90_compiler completely.
19572 (gdb_preprocess): Delete.
19573 (get_compiler): Delete.
19574
19575 2004-01-24 Mark Kettenis <kettenis@gnu.org>
19576
19577 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
19578 <string.h>.
19579
19580 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
19581
19582 * gdb.mi/mi-stack.exp: Update copyright.
19583
19584 2004-01-23 David Carlton <carlton@kealia.com>
19585
19586 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
19587 test for cp_lookup_transparent_type.
19588 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
19589 call them.
19590
19591 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
19592
19593 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
19594 after -var-update.
19595
19596 2004-01-23 David Carlton <carlton@kealia.com>
19597
19598 * gdb.cp/namespace.cc (C::ensureRefs): New.
19599 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
19600
19601 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
19602
19603 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
19604 case "-stack-list-locals 2".
19605 * gdb.mi/mi-var-child.exp: Test for case
19606 "-var-list-children --all-values NAME".
19607
19608 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
19609
19610 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
19611
19612 2004-01-18 Mark Kettenis <kettenis@gnu.org>
19613
19614 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
19615 used with gdb_test_multiple.
19616
19617 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
19618 read at address 0. This fixes PR testsuite/1504.
19619
19620 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
19621
19622 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
19623 Remove downloading, guessing the host executable, the calls to
19624 gdb_file_cmd and gdb_target_cmd, and "load" support.
19625 (infer_host_exec): New function broken out from gdb_load.
19626 (gdb_load): New wrapper for gdbserver_gdb_load.
19627 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
19628 gdb_target_cmd. Use -target-select.
19629 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
19630 Download binaries to the host. Clear last_mi_remote_file when
19631 we load a new binary.
19632 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
19633 call gdbserver_gdb_load and mi_gdb_target_cmd.
19634
19635 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19636
19637 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
19638 type patterns.
19639
19640 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
19641
19642 * gdb.cp/templates.exp: Fix typo in test name of
19643 "print Foo<volatile char*>::foo".
19644
19645 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19646
19647 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
19648
19649 2004-01-16 Ben Elliston <bje@wasabisystems.com>
19650
19651 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
19652 (clean mostlyclean): Remove empty rm.
19653
19654 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
19655
19656 * gdb.base/setvar.exp: Add copyright years.
19657
19658 2004-01-14 David Carlton <carlton@bactrian.org>
19659
19660 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
19661 PR c++/1511 and update coment.
19662 * gdb.cp/templates.exp: Update patterns to match current output.
19663 If changes involve something other than whitespace, KFAIL
19664 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
19665
19666 2004-01-14 David Carlton <carlton@kealia.com>
19667
19668 * gdb.cp/namespace.exp: Add tests involving classes defined within
19669 namespaces.
19670 * gdb.cp/namespace.cc (C::CClass): New.
19671 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
19672
19673 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
19674
19675 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
19676 what debug info we have. Print a better message if something goes
19677 wrong while producing the separate debug info file.
19678
19679 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19680
19681 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
19682
19683 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
19684
19685 * gdb.base/callfuncs.c: Add copyright notice.
19686
19687 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
19688
19689 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
19690 inheritance. PR gdb/1498, PR gcc/13539.
19691
19692 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
19693
19694 * gdb.threads/gcore-thread.exp: Prefix name of binary with
19695 test specific name.
19696 * gdb.mi/gdb669.exp: Ditto.
19697 * gdb.mi/mi-pthreads.exp: Ditto.
19698 * gdb.mi/mi1-pthreads.exp: Ditto.
19699 * gdb.mi/mi2-pthreads.exp: Ditto.
19700
19701 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19702
19703 * gdb.cp/member-ptr.cc: Add copyright notice.
19704
19705 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
19706
19707 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
19708 some patterns for recent versions of gcc and hpacc. Delete
19709 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
19710 Delete tests that access a NULL pointer-to-member-data. This
19711 script is still disabled for gcc.
19712
19713 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
19714
19715 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
19716 escaped correctly.
19717
19718 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
19719
19720 * gdb.base/sepdebug.exp: New file.
19721 * gdb.base/sepdebug.c: New file.
19722 * lib/gdb.exp (separate_debug_filename): New procedure.
19723 (gdb_gnu_strip_debug): New procedure.
19724
19725 2004-01-12 Andrew Cagney <cagney@redhat.com>
19726
19727 * gdb.mi/ChangeLog: Delete file. Renamed to ...
19728 * gdb.mi/ChangeLog-1999-2003: New file.
19729
19730 2004-01-12 Andrew Cagney <cagney@redhat.com>
19731
19732 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
19733 "Renaming a directory to a non-empty directory returns ENOTEMPTY
19734 or EEXIST", treat EBUSY as an XFAIL.
19735
19736 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
19737
19738 * gdb.base/scope.exp: Remove obsolete setup_xfail for
19739 hp_cc_compiler.
19740
19741 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19742
19743 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
19744 decorations.
19745
19746 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
19747
19748 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
19749 and "(aCC)" decorations. Remove obsolete doco about old
19750 test results.
19751
19752 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19753
19754 * gdb.cp/exception.exp: Fix typo in doco.
19755
19756 2004-01-09 Mark Kettenis <kettenis@gnu.org>
19757
19758 * gdb.base/gdb1476.exp: Fix typo.
19759
19760 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19761
19762 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
19763 file.
19764
19765 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
19766
19767 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
19768 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
19769 Use gdb_compile. Remove restriction on gcc. Add some patterns
19770 for recent version of gdb. Delete second half, which was a copy
19771 of the first half with different build flags. This test is
19772 still disabled because it is still not ready for production.
19773
19774 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19775
19776 * gdb.cp/exception.cc: Add copyright notice.
19777 * gdb.cp/exception.exp: Add a notice that this file is broken
19778 because of line number changes caused by addition of copyright
19779 notice.
19780
19781 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19782
19783 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
19784 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
19785
19786 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19787
19788 * gdb.cp/classes.exp: Accept gnu abi 2.
19789 * gdb.cp/derivation.exp: Likewise.
19790 * gdb.cp/overload.exp: Likewise.
19791 * gdb.cp/virtfunc.exp: Likewise.
19792
19793 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
19794
19795 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
19796 semicolon after end of function.
19797
19798 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19799
19800 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
19801 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
19802 boilerplate code for compiling and running the program under
19803 test. Add some string method tests.
19804
19805 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19806
19807 * gdb.cp/bs15503.cc: Add copyright notice.
19808 * gdb.cp/bs15503.exp: Adjust line number.
19809
19810 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19811
19812 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
19813 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
19814
19815 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19816
19817 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
19818 hp_cc_compiler.
19819
19820 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19821
19822 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
19823 * gdb.cp/ctti.exp: Use the marker instead of "next".
19824 With gcc, run further before bailing.
19825
19826 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19827
19828 * gdb.cp/cttiadd.cc: Add copyright notice.
19829 * gdb.cp/cttiadd1.cc: Likewise.
19830 * gdb.cp/cttiadd2.cc: Likewise.
19831 * gdb.cp/cttiadd3.cc: Likewise.
19832
19833 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19834
19835 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
19836 Use gdb_test, gdb_test_multiple. Use floating-point values that
19837 have exact representations in IEEE-ish formats.
19838
19839 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19840
19841 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
19842 compilers. Delete duplicate call to get_compiler_info.
19843 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
19844 * gdb.base/volatile.exp: Likewise.
19845
19846 2004-01-07 Mark Kettenis <kettenis@gnu.org>
19847
19848 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
19849 memory at address 0.
19850
19851 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
19852
19853 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
19854 to test for hp-ux assembler. Fix copyright years.
19855
19856 2004-01-07 Andrew Cagney <cagney@redhat.com>
19857
19858 * gdb.base/fileio.c (strerrno): Add "EBUSY".
19859
19860 2004-01-07 Andrew Cagney <cagney@redhat.com>
19861
19862 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
19863 when creating the read-only file. From analysis by Roland McGrath
19864 and Elena Zannoni.
19865
19866 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19867
19868 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
19869
19870 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19871
19872 * gdb.base/cvexpr.c: Be type-safe with function pointers and
19873 data pointers.
19874
19875 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19876
19877 * gdb.cp/m-static.exp: Compile one source file at a time.
19878 Delete unused call to get_compiler_info.
19879
19880 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
19881
19882 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
19883 * gdb.base/call-rt-st.exp: Likewise.
19884 * gdb.base/nodebug.exp: Likewise.
19885 * gdb.base/volatile.exp: Likewise.
19886 * gdb.cp/ref-types.exp: Likewise.
19887 * gdb.cp/templates.exp: Likewise.
19888
19889 2004-01-05 Mark Kettenis <kettenis@gnu.org>
19890
19891 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
19892
19893 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
19894
19895 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
19896 hppa*-hp-hpux*.
19897
19898 2004-01-04 Mark Kettenis <kettenis@gnu.org>
19899
19900 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19901 x86_64-*-*.
19902
19903 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
19904 sparc64-*-* and sparc*-solaris2*.
19905
19906 2004-01-04 Mark Kettenis <kettenis@gnu.org>
19907
19908 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
19909 return ${tests}" test. The ${tests} already mentions the
19910 filename.
19911
19912 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19913
19914 * gdb.cp/local.exp: Accept gcc abi 2.
19915
19916 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19917
19918 * gdb.cp/templates.exp: Accept gcc abi 2.
19919
19920 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
19921
19922 * lib/compiler.cc: Remove supports_template_debugging.
19923 * gdb.cp/templates.exp: Do not test supports_template_debugging.
19924
19925 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19926
19927 * gdb.cp/namespace.exp: Accept gcc abi 2.
19928
19929 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19930
19931 * gdb.cp/method.exp: Accept gcc abi 2.
19932
19933 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19934
19935 * gdb.cp/classes.exp: Generate identical results as old version.
19936 * gdb.cp/derivation.exp: Likewise.
19937 * gdb.cp/overload.exp: Likewise.
19938 * gdb.cp/virtfunc.exp: Likewise.
19939
19940 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19941
19942 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
19943 mysterious bug with sourceware version of expect.
19944
19945 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19946
19947 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
19948 current versions of gcc, including gcc abi 2. Remove gratuitous
19949 restart of test program. Use gdb_test_multiple and gdb_test for
19950 all tests. Add patterns to xfail missing "const" in "const char *"
19951 and kfail PR gdb/1155.
19952
19953 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
19954
19955 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
19956 current versions of gcc, including gcc abi 2. Remove gratuitous
19957 restart of test program. Use gdb_test_multiple and gdb_test for
19958 all tests. Add patterns to kfail PR gdb/1498.
19959
19960 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
19961
19962 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
19963 current versions of gcc, including gcc abi 2. Use "breakpoint"
19964 and "continue" instead of restarting the target program. Use
19965 gdb_test_multiple and gdb_test for all tests.
19966
19967 2004-01-01 Mark Kettenis <kettenis@gnu.org>
19968
19969 * gdb.asm/asm-source.exp: Update copyright year. Link statically
19970 for *-*-solaris2*.
19971
19972 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
19973
19974 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
19975 current versions of gcc, including gcc abi 2. Use "breakpoint"
19976 and "continue" instead of restarting the target program several
19977 times. Use gdb_test_multiple and gdb_test for all tests.
19978
19979 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
19980
19981 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
19982 source files.
19983
19984 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19985
19986 * gdb.base/environ.exp: Handle compiling test case from multiple
19987 source files.
19988
19989 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
19990
19991 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
19992
19993 2003-12-17 Jim Blandy <jimb@redhat.com>
19994
19995 * gdb.base/freebpcmd.c: Add copyright notice.
19996
19997 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
19998
19999 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
20000
20001 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
20002
20003 2003-12-13 Jim Blandy <jimb@redhat.com>
20004
20005 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
20006
20007 2003-12-12 Kevin Buettner <kevinb@redhat.com>
20008
20009 * gdb.asm/frv.inc: New file.
20010 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
20011
20012 2003-12-09 Fred Fish <fnf@redhat.com>
20013
20014 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
20015 functions to break1.c and leave prototypes behind. Add more
20016 "set breakpoint NN here" comments.
20017 * gdb.base/break1.c: New file.
20018
20019 * gdb.base/break.exp: Handle compiling test case from multiple
20020 source files and change source file references as needed.
20021 * gdb.base/completion.exp: Ditto.
20022 * gdb.base/condbreak.exp: Ditto.
20023 * gdb.base/define.exp: Ditto.
20024 * gdb.base/ena-dis-br.exp: Ditto.
20025 * gdb.base/info-proc.exp: Ditto.
20026 * gdb.base/maint.exp: Ditto.
20027 * gdb.base/until.exp: Ditto.
20028
20029 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
20030 hardcoded line numbers.
20031 * gdb.base/define.exp: Ditto.
20032 * gdb.base/ena-dis-br.exp: Ditto.
20033 * gdb.base/maint.exp: Ditto.
20034 * gdb.base/until.exp: Ditto.
20035
20036 * gdb.base/completion.exp: Use "break1" for completion tests since
20037 "break" is no longer a unique prefix.
20038
20039 2003-12-06 Andrew Cagney <cagney@redhat.com>
20040
20041 * gdb.base/structs.exp (test_struct_returns): When applicable, set
20042 "return_value_unimplemented". When an unimplemented struct return
20043 architecture, report incorrect values as a KFAIL
20044
20045 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20046
20047 * gdb.cp/rtti.exp: Accept new wording of warning from
20048 cp_lookup_rtti_type.
20049
20050 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
20051
20052 Partial fix for PR testsuite/1456.
20053 * gdb.base/scope.exp (test_at_main): Replace references to
20054 gcc_compiled with calls to test_compiler_info.
20055 (test_at_foo): Likewise.
20056 (test_at_bar): Likewise.
20057
20058 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
20059
20060 Partial fix for PR testsuite/1456.
20061 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
20062 to test_compiler_info.
20063
20064 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
20065
20066 * gdb.base/so-impl-ld.exp: Update copyright notice.
20067
20068 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
20069
20070 Partial fix for PR testsuite/1456.
20071 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
20072 to test_compiler_info.
20073
20074 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20075
20076 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
20077 from current versions of gdb. Clean up regular expressions.
20078 Delete redundant timeout case.
20079
20080 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20081
20082 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
20083 from current versions of gdb. Clean up regular expressions.
20084 Delete redundant timeout case.
20085
20086 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
20087
20088 Partial fix for PR testsuite/1456.
20089 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
20090 gcc_compiled with call to test_compiler_info.
20091
20092 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
20093
20094 Partial fix for PR testsuite/1456.
20095 * gdb.base/list.exp (test_list_function): Delete unused declaration
20096 of gcc_compiled.
20097
20098 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
20099
20100 Partial fix for PR testsuite/1456.
20101 * gdb.base/complex.exp: Replace reference to gcc_compiled with
20102 call to test_compiler_info.
20103
20104 2003-11-29 Mark Kettenis <kettenis@gnu.org>
20105
20106 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
20107 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
20108 it to create the appropriate note.inc.
20109 * gdb.asm/asmsrc1.s: Include "note.inc".
20110 * gdb.asm/netbsd.inc: New file.
20111 * gdb.asm/empty.inc: New file.
20112
20113 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
20114
20115 Partial fix for PR testsuite/1456.
20116 * gdb.base/constvars.exp: Replace references to gcc_compiled with
20117 calls to test_compiler_info.
20118
20119 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
20120
20121 Partial fix for PR testsuite/1456.
20122 * gdb.base/volatile.exp: Replace references to gcc_compiled with
20123 calls to test_compiler_info.
20124
20125 2003-11-27 Mark Kettenis <kettenis@gnu.org>
20126
20127 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
20128 pattern for the KFAILs.
20129
20130 2003-11-25 Adam Fedor <fedor@gnu.org>
20131
20132 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
20133 * gdb.objc/objcdecode.m: New file.
20134
20135 2003-11-25 Adam Fedor <fedor@gnu.org>
20136
20137 * gdb.objc/nondebug.exp: Test for PR objc/1236.
20138 * gdb.objc/nondebug.m: New file.
20139
20140 2003-11-26 Ben Elliston <bje@wasabisystems.com>
20141
20142 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20143 NetBSD as it does on FreeBSD. Modelled on a similar change by
20144 Mark Kettenis on 2003-05-30.
20145 (link-flags): Set to "--entry _start" regardless of target.
20146 Special linker flags are to be appended to $link-flags.
20147 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
20148
20149 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20150
20151 * gdb.cp/method.exp: Accept output of new demangler.
20152
20153 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20154
20155 * gdb/class2.exp: New file.
20156 * gdb/class2.cc: New file.
20157
20158 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
20159
20160 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
20161 of new demangler.
20162
20163 2003-11-23 Mark Kettenis <kettenis@gnu.org>
20164
20165 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
20166 of gdb_test "run".
20167
20168 2003-11-23 Mark Kettenis <kettenis@gnu.org>
20169
20170 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
20171 "continue" into "run".
20172
20173 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20174
20175 Partial fix for PR testsuite/1456.
20176 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
20177 call to test_compiler_info.
20178 * gdb.cp/ctti.exp: Likewise.
20179 * gdb.cp/derivation.exp: Likewise.
20180 * gdb.cp/member-ptr.exp: Likewise.
20181 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
20182 reference to gcc_compiled.
20183
20184 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
20185
20186 Fix PR testsuite/1463.
20187 * gdb.base/structs.exp (start_structs_test): Call
20188 get_debug_format before using the debug format.
20189
20190 2003-11-22 Andrew Cagney <cagney@redhat.com>
20191
20192 * lib/gdb.exp (gdb_test_multiple): Add simple example.
20193 * gdb.base/structs.exp: Use gdb_test_multiple.
20194
20195 2003-11-20 Andrew Cagney <cagney@redhat.com>
20196
20197 * gdb.base/structs.exp: Handle and recover from internal errors.
20198 Replace "foo${n}" with "foo<n>" in test messages.
20199
20200 * gdb.base/structs.exp: Update copyright. Rewrite.
20201 * gdb.base/structs.c: Update copyright. Rewrite.
20202
20203 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
20204 resync count exceeded.
20205
20206 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
20207 from the internal error.
20208 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
20209 Original from Jim Blandy.
20210 (gdb_test_multiple): Use gdb_internal_error_resync.
20211
20212 2003-11-19 Andrew Cagney <cagney@redhat.com>
20213
20214 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
20215 KFAIL.
20216
20217 2003-11-17 Mark Kettenis <kettenis@gnu.org>
20218
20219 New testcase for PR backtrace/1435.
20220 * gdb.arch/i386-unwind.exp: New file.
20221 * gdb.arch/i386-unwind.c: New file.
20222
20223 2003-11-17 Andrew Cagney <cagney@redhat.com>
20224
20225 * lib/gdb.exp (compiler_info): New global.
20226 (test_compiler_info): New function.
20227 (get_compiler_info): Set compiler_info.
20228 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
20229 "compiler_info" to gcc-<major>-<minor>.
20230
20231 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
20232
20233 * gdb.trace/configure: Remove.
20234
20235 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
20236
20237 * gdb.base/break.c: Add comments to aid finding line numbers for
20238 breakpoints.
20239 * gdb.base/break.exp: Remove all references to explicit line
20240 numbers.
20241
20242 2003-11-11 Nick Clifton <nickc@redhat.com>
20243
20244 * gdb.base/shreloc.exp: Do not run for targets which do not
20245 support shared objects.
20246
20247 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
20248
20249 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
20250 Don't run tests if nofileio flag is given.
20251
20252 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
20253
20254 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
20255 as well as 'Watchpoint'.
20256
20257 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
20258
20259 Reported by Jim Ingham <jingham@apple.com>:
20260 * gdb.base/annota1.exp: Match at least one occurrence of the
20261 signal handler annotation.
20262
20263 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
20264
20265 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
20266 as well as 'Watchpoint'.
20267
20268 2003-11-05 Michael Chastain <mec@shout.net>
20269
20270 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
20271
20272 2003-11-03 Kris Warkentin <kewarken@qnx.com>
20273
20274 * gdb.arch/gdb1291.c: New test file.
20275 * gdb.arch/gdb1291.exp: New test script.
20276 * gdb.arch/gdb1431.c: New test file.
20277 * gdb.arch/gdb1431.exp: New test script.
20278
20279 2003-10-22 Michael Chastain <mec@shout.net>
20280
20281 * gdb.mi/pthreads.c: Add copyright notice.
20282
20283 2003-10-22 Michael Chastain <mec@shout.net>
20284
20285 * gdb.threads/pthreads.c: Add copyright notice.
20286
20287 2003-10-20 Michael Chastain <mec@shout.net>
20288
20289 * gdb.base/gdb1056.exp: New test script.
20290
20291 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
20292
20293 * gdb.threads/killed.exp: Use gdb_run_cmd.
20294
20295 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
20296
20297 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
20298 create a core file.
20299 * gdb.threads/gcore-thread.exp: Likewise.
20300
20301 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
20302
20303 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
20304 type, based on char type.
20305 (struct bit_flags_short_t): New bitfield type, based on short type.
20306 (init_bit_flags_char): New fuction.
20307 (init_bit_flags_short): Ditto.
20308 (print_bit_flags_char): Ditto.
20309 (print_bit_flags_short): Ditto.
20310 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
20311
20312 2003-10-11 Michael Chastain <mec@shout.net>
20313
20314 * gdb.base/call-rt-st.exp: Update copyright year.
20315
20316 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
20317
20318 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
20319 * gdb.disasm/sh3.s: Ditto.
20320
20321 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
20322
20323 * gdb.threads/switch-threads.exp: New test.
20324 * gdb.threads/switch-threads.c: New source file.
20325
20326 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
20327
20328 * gdb.base/ending-run.exp: Add sh specific case.
20329
20330 2003-10-06 Andrew Cagney <cagney@redhat.com>
20331
20332 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
20333 * gdb.disasm/mn10200.exp: Delete obsolete file.
20334
20335 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
20336
20337 * ChangeLog: Correct an entry command.exp -> commands.exp.
20338 * gdb.base/commands.exp (bp_deleted_in_command_test)
20339 (temporary_breakpoint_commands): Check noargs.
20340
20341 2003-09-25 David Carlton <carlton@kealia.com>
20342
20343 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
20344 of some print tests, where appropriate. Add tests for C::D::cd,
20345 E::ce, F::cXfX, G::XgX.
20346 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
20347
20348 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
20349
20350 * lib/java.exp (java_init): Import target_alias before using it.
20351
20352 2003-09-25 David Carlton <carlton@kealia.com>
20353
20354 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
20355
20356 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
20357
20358 * gdb.base/selftest.exp: Accomodate more instruction reordering
20359 weirdness.
20360
20361 2003-09-17 Michael Chastain <mec@shout.net>
20362
20363 * gdb.cp/gdb1355.exp: New file.
20364 * gdb.cp/gdb1355.c: New file.
20365
20366 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
20367
20368 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
20369 * gdb.asm/sh.inc: New file.
20370
20371 2003-09-11 David Carlton <carlton@kealia.com>
20372
20373 * gdb.cp/namespace.exp: Add tests for namespace types.
20374 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
20375 (test_namespace): New.
20376
20377 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
20378
20379 * gdb.base/relocate.exp: Handle new gdb output at startup.
20380 * gdb.stabs/weird.exp: Ditto.
20381
20382 2003-09-08 Michael Chastain <mec@shout.net>
20383
20384 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
20385
20386 2003-09-07 Michael Chastain <mec@shout.net>
20387
20388 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
20389 'parse error'.
20390
20391 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
20392
20393 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
20394
20395 2003-08-30 Michael Chastain <mec@shout.net>
20396
20397 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
20398 * gdb.gdb/observer.exp: Ditto.
20399 * gdb.gdb/xfullpath.exp: Ditto.
20400
20401 2003-08-29 Mark Kettenis <kettenis@gnu.org>
20402
20403 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
20404 *-*-*bsd*.
20405
20406 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
20407
20408 * gdb.base/dump.exp: Skip for ia64.
20409
20410 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
20411
20412 * gdb.asm/asm-source.exp: Add ia64 support.
20413 * gdb.asm/ia64.inc: New file.
20414
20415 2003-08-22 Michael Chastain <mec@shout.net>
20416
20417 * gdb.cp: New directory.
20418 * gdb.cp/*: Copy from gdb.c++/*.
20419 * gdb.c++/*: Remove.
20420 * Makefile.in: Change gdb.c++ to gdb.cp.
20421 * configure.in: Ditto.
20422 * configure: Regnerate.
20423
20424 2003-08-18 Mark Kettenis <kettenis@gnu.org>
20425
20426 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
20427 * gdb.arch/i386-prologue.c (gdb1338): Add function.
20428
20429 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
20430
20431 * mi-var-display.exp (-var-list-children weird): Accept function
20432 pointers with argument types.
20433 * mi1-var-display.exp (-var-list-children weird): Likewise.
20434 * mi2-var-display.exp (-var-list-children weird): Likewise.
20435
20436 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
20437
20438 * gdb.base/annota3.exp: Add missing newline.
20439
20440 2003-08-06 Michael Chastain <mec@shout.net>
20441
20442 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
20443
20444 2003-08-12 Michael Snyder <msnyder@redhat.com>
20445
20446 * gdb.base/float.exp: Add test for SH.
20447
20448 2003-08-10 Mark Kettenis <kettenis@gnu.org>
20449
20450 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
20451
20452 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20453
20454 * gdb.base/completion.exp: Remove reduntant completion test
20455 on filename.
20456
20457 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20458
20459 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
20460 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
20461 gdb.trace/save-trace.exp: Make sure that full pathnames are
20462 escaped correctly.
20463
20464 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
20465
20466 * configure.in: Don't generate config.h from config.hin.
20467 * configure: Regenerate.
20468 * config.hin: Remove file.
20469 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
20470 * gdb.threads/pthreads.c: Ditto.
20471
20472 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
20473
20474 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20475 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
20476 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
20477 Replace ld24 with seth/add3.
20478
20479 2003-08-02 Andrew Cagney <cagney@redhat.com>
20480
20481 * gdb.base/annota3.exp: New file.
20482 * gdb.base/annota3.c: New file.
20483 * gdb.c++/annota3.exp: New file.
20484 * gdb.c++/annota3.cc: New file.
20485
20486 2003-07-29 Michael Chastain <mec@shout.net>
20487
20488 * gdb.threads/tls.c (spin): Check errno only if sem_wait
20489 actually failed.
20490 (do_pass): Likewise.
20491 * gdb.threads/tls.exp: Always initialize no_of_threads.
20492
20493 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
20494
20495 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
20496 pattern.
20497 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
20498 * gdb.threads/tls.exp: Recognize one case of the host library not
20499 supporting TLS.
20500
20501 2003-07-27 Andrew Cagney <cagney@redhat.com>
20502
20503 * gdb.base/fileio.exp: Use SH when running commands using
20504 remote_exec.
20505
20506 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
20507
20508 From Kei Sakamoto <sakamoto.kei@renesas.com>:
20509 * gdb.base/relocate.c (dummy): New padding array.
20510
20511 2003-07-22 Michael Snyder <msnyder@redhat.com>
20512
20513 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
20514
20515 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
20516 patterns to be more general, accepting old and new output.
20517 Some output chars (such as '+') also must be quoted.
20518 Some addresses are displayed numerically instead of
20519 symbolically.
20520
20521 2003-07-23 Michael Snyder <msnyder@redhat.com>
20522
20523 * gdb.base/return2.exp: Don't test long-long return.
20524
20525 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
20526 * gdb.disasm/t01_mov.exp: Ditto.
20527 * gdb.disasm/t02_mova.s: Ditto.
20528 * gdb.disasm/t02_mova.exp: Ditto.
20529 * gdb.disasm/t03_add.s: Ditto.
20530 * gdb.disasm/t03_add.exp: Ditto.
20531 * gdb.disasm/t04_sub.s: Ditto.
20532 * gdb.disasm/t04_sub.exp: Ditto.
20533 * gdb.disasm/t05_cmp.s: Ditto.
20534 * gdb.disasm/t05_cmp.exp: Ditto.
20535 * gdb.disasm/t06_ari2.s: Ditto.
20536 * gdb.disasm/t06_ari2.exp: Ditto.
20537 * gdb.disasm/t07_ari3.s: Ditto.
20538 * gdb.disasm/t07_ari3.exp: Ditto.
20539 * gdb.disasm/t08_or.s: Ditto.
20540 * gdb.disasm/t08_or.exp: Ditto.
20541 * gdb.disasm/t09_xor.s: Ditto.
20542 * gdb.disasm/t09_xor.exp: Ditto.
20543 * gdb.disasm/t10_and.s: Ditto.
20544 * gdb.disasm/t10_and.exp: Ditto.
20545 * gdb.disasm/t11_logs.s: Ditto.
20546 * gdb.disasm/t11_logs.exp: Ditto.
20547 * gdb.disasm/t12_bit.s: Ditto.
20548 * gdb.disasm/t12_bit.exp: Ditto.
20549 * gdb.disasm/t13_otr.s: Ditto.
20550 * gdb.disasm/t13_otr.exp: Ditto.
20551
20552 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
20553
20554 * gdb.threads/tls.exp :Add kfail for 'info address' case.
20555
20556 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
20557
20558 * gdb.threads/tls.c : New file.
20559 * gdb.threads/tls.exp : New file.
20560 * gdb.threads/tls-main.c : New file.
20561 * gdb.threads/tls-shared.c : New file.
20562 * gdb.threads/tls-shared.exp : New file.
20563
20564 2003-07-22 Andreas Schwab <schwab@suse.de>
20565
20566 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
20567
20568 2003-07-20 Andreas Schwab <schwab@suse.de>
20569
20570 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
20571 due to insn reordering.
20572
20573 2003-07-15 Andrew Cagney <cagney@redhat.com>
20574
20575 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
20576
20577 2003-07-15 Michael Chastain <mec@shout.net>
20578
20579 * gdb.base/gdb1250.exp: New file.
20580 * gdb.base/gdb1250.c: New file.
20581
20582 2003-07-09 Michal Ludvig <mludvig@suse.cz>
20583
20584 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
20585 expansion of size_t to 'unsigned long', not only to 'unsigned'.
20586
20587 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
20588
20589 * gdb.threads/tls.c: New file.
20590 * gdb.threads/tls.exp: New file.
20591 * gdb.threads/tls-main.c: New file.
20592 * gdb.threads/tls-shared.c: New file.
20593 * gdb.threads/tls-shared.exp: New file.
20594
20595 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
20596
20597 * gdb.base/annota1.exp: Make sure that we properly escape the
20598 full path of the source file. Xfail more permissive patterns,
20599 due to a compiler debug info problem.
20600
20601 2003-07-07 Andreas Schwab <schwab@suse.de>
20602
20603 * gdb.asm/m68k.inc: New file.
20604 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
20605
20606 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
20607 arguments"): Also match negative number.
20608
20609 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
20610
20611 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
20612
20613 * gdb.base/store.c (charest): New typedef.
20614 (add_char): Rename to add_charest, update.
20615 (wack_char): Rename to wack_charest, update types. Return l + r
20616 to keep r live across the call.
20617 (wack_short, wack_int, wack_long, wack_longest, wack_float)
20618 (wack_double, wack_doublest): Return l + r to keep r live across
20619 the call.
20620 * gdb.base/store.exp: Accomodate store.c changes.
20621
20622 2003-06-30 David Carlton <carlton@kealia.com>
20623
20624 * gdb.c++/maint.exp (test_invalid_name): New.
20625 (test_first_component): Add tests for invalid names.
20626
20627 2003-06-29 Michael Chastain <mec@shout.net>
20628
20629 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
20630 output of '<VTT for class>' for virtual base classes.
20631
20632 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20633
20634 * gdb.base/completion.exp: Tab-complete "complet" instead of
20635 "compl".
20636 * gdb.base/complex.exp, gdb.base/complex.c: New files.
20637
20638 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20639
20640 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
20641 * gdb.base/volatile.exp: Likewise.
20642
20643 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
20644
20645 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
20646 gdb/1265.
20647
20648 2003-06-28 Michael Chastain <mec@shout.net>
20649 Daniel Jacobowitz <drow@mvista.com>
20650
20651 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
20652 initial line count of 'captured_main' from 26 to 32.
20653 (test_with_self): Allow xmalloc call to be interleaved with the
20654 preceding two lines.
20655
20656 2003-06-24 Joel Brobecker <brobecker@gnat.com>
20657
20658 * gdb.base/bang.exp: New testcase.
20659
20660 2003-06-23 Joel Brobecker <brobecker@gnat.com>
20661
20662 * gdb.base/langs.exp: Add some tests for the "minimal" language
20663 support.
20664
20665 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
20666
20667 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
20668 the testcase.
20669
20670 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
20671
20672 * gdb.base/relocate.exp: Test add-symbol-file with a variable
20673 offset.
20674
20675 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
20676
20677 * gdb.c++/pr-1210.cc: New file.
20678 * gdb.c++/pr-1210.exp: New file.
20679
20680 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
20681
20682 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
20683 000-exec-continue.
20684
20685 2003-06-15 Mark Kettenis <kettenis@gnu.org>
20686
20687 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
20688 on *-*-*bsd* instead of *-*-freebsd*.
20689
20690 2003-06-14 Andrew Cagney <cagney@redhat.com>
20691
20692 * gdb.base/store.exp: Test longest and doublest. Test all
20693 parameters. Weaken return statement match.
20694 * gdb.base/store.c: Add longest and doublest - aka long long and
20695 long double functions. Put all parameters into local register
20696 variables. Use negative values.
20697
20698 2003-06-14 Andrew Cagney <cagney@redhat.com>
20699
20700 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
20701 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
20702 exit status.
20703 * gdb.base/fileio.exp: Disable target when nointerrupts and
20704 noinferiorio, instead of limiting it to remote. Use remote_exec
20705 instead of system.
20706
20707 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
20708
20709 * gdb.base/float.exp: Add ia64 support.
20710
20711 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
20712
20713 * gdb.base/fileio.exp: Run only on remote targets.
20714
20715 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
20716
20717 * gdb.base/fileio.c: New file, testing File-I/O.
20718 * gdb.base/fileio.exp: Ditto.
20719
20720 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
20721
20722 * gdb.base/shreloc.exp: New file, check symbol values obtained from
20723 shared objects after relocation at load time (gdb PR/1132).
20724 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
20725 as above, part of the shared object relocation test.
20726
20727 2003-06-08 Mark Kettenis <kettenis@gnu.org>
20728
20729 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
20730 fully filled history list.
20731 * gdb.base/gdb_history: New file.
20732
20733 * gdb.base/signals.exp: XFAIL "continue to func1" on
20734 i*86-*-freebsd*.
20735
20736 * gdb.base/attach.exp: When trying to attach to a nonexistent
20737 process, make it possible to specify the PID based on the target,
20738 and do so for *-*-freebsd*.
20739
20740 2003-06-02 Richard Henderson <rth@redhat.com>
20741
20742 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
20743
20744 2003-06-02 Richard Henderson <rth@redhat.com>
20745
20746 * gdb.base/selftest.exp: Next over lim_at_start initialization.
20747
20748 2003-06-02 Richard Henderson <rth@redhat.com>
20749
20750 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
20751
20752 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
20753
20754 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
20755 of globalvar.
20756
20757 2003-06-01 Mark Kettenis <kettenis@gnu.org>
20758
20759 * gdb.asm/asm-source.exp: Check for memory read errors in
20760 disassembler test on *BSD too.
20761
20762 2003-06-01 Richard Henderson <rth@redhat.com>
20763
20764 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
20765 for .frame.
20766 (gdbasm_call): Lose ldgp.
20767 (gdbasm_startup): Add frame information.
20768 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
20769
20770 2003-05-31 Mark Kettenis <kettenis@gnu.org>
20771
20772 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
20773 i?86-*-*.
20774
20775 2003-05-30 Mark Kettenis <kettenis@gnu.org>
20776
20777 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
20778 FreeBSD.
20779
20780 2003-05-29 Richard Henderson <rth@redhat.com>
20781
20782 * gdb.asm/alpha.inc: New file.
20783 * gdb.asm/asm-source.exp: Use it.
20784
20785 2003-05-29 Jim Blandy <jimb@redhat.com>
20786
20787 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
20788 'core.PID'.
20789
20790 2003-05-22 Jim Blandy <jimb@redhat.com>
20791
20792 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
20793 backtrace.
20794
20795 2003-05-20 David Carlton <carlton@math.stanford.edu>
20796
20797 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
20798 this time.
20799
20800 2003-05-19 David Carlton <carlton@bactrian.org>
20801
20802 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
20803 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
20804
20805 2003-05-19 David Carlton <carlton@bactrian.org>
20806
20807 * gdb.c++/namespace.exp: Add namespace scope and anonymous
20808 namespace tests.
20809 Bump copyright date.
20810 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
20811 (main): Call C::D::marker2.
20812 * gdb.c++/namespace1.cc: New file.
20813
20814 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
20815
20816 Roland McGrath <roland@redhat.com>
20817 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
20818 there is no manager thread.
20819
20820 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
20821
20822 * gdb.threads/schedlock.exp: Remove assumption that all threads
20823 will run in a particular small time slice. Also ensure we break
20824 in one of the child threads rather than the main thread.
20825
20826 2003-05-07 Jim Blandy <jimb@redhat.com>
20827
20828 Add support for assembly source testing on the s390x.
20829 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
20830 architecture.
20831 * gdb.asm/s390x.inc: New file.
20832
20833 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
20834 succession of 'if' statements.
20835
20836 2003-05-05 Andrew Cagney <cagney@redhat.com>
20837
20838 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
20839
20840 2003-05-05 Andrew Cagney <cagney@redhat.com>
20841
20842 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
20843 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
20844
20845 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
20846
20847 * gdb.base/charset.exp: Update based on new behavior of set/show
20848 charset commands.
20849
20850 2003-05-01 Andrew Cagney <cagney@redhat.com>
20851
20852 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
20853 variable do not give memory errors.
20854
20855 2003-04-30 Adam Fedor <fedor@gnu.org>
20856
20857 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
20858 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
20859 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
20860 gdb.objc/basicclass.m: : New files
20861
20862 * lib/gdb.exp (gdb_compile_objc): New procedure.
20863
20864 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
20865
20866 * gdb.base/signals.exp: Make backtrace tests more specific.
20867
20868 2003-04-23 David Carlton <carlton@bactrian.org>
20869
20870 * gdb.c++/maint.exp (test_first_component): Add tests for
20871 'operator' in more locations.
20872
20873 2003-04-16 Kevin Buettner <kevinb@redhat.com>
20874
20875 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
20876
20877 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
20878
20879 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
20880 func marke' instead. Update test name.
20881
20882 2003-04-15 David Carlton <carlton@math.stanford.edu>
20883
20884 * gdb.c++/maint.exp: New file.
20885
20886 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
20887
20888 * gdb.threads/schedlock.c: Change type of thread function argument
20889 to long, to avoid warnings on 64-bit platforms.
20890
20891 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
20892
20893 * gdb.base/attach.exp: Add new message from ptrace in case of
20894 attaching to nonexistent process.
20895
20896 2003-04-11 Jim Blandy <jimb@redhat.com>
20897
20898 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20899 gdb.c++/userdef.cc: Place comments on the lines to which the
20900 marker function might return.
20901 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20902 gdb.c++/userdef.exp: Look for those comments to check that we've
20903 returned to the right place, instead of checking line numbers.
20904
20905 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
20906
20907 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
20908 match on sourcefile name, instead of directory name.
20909
20910 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
20911
20912 * gdb.base/completion.exp: Use string_to_regexp to match the
20913 working directory name.
20914
20915 2003-04-09 Jim Blandy <jimb@redhat.com>
20916
20917 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
20918 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
20919 after an inferior function call, report the failure, but allow the
20920 test to continue.
20921
20922 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20923
20924 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20925 with -DPROTOTYPES.
20926
20927 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
20928
20929 * gdb.base/break.exp: Revert last patch.
20930
20931 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
20932
20933 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
20934 with -DPROTOTYPES.
20935
20936 2003-04-02 Andrew Cagney <cagney@redhat.com>
20937
20938 * gdb.base/callfuncs.exp: Make "print add" messages unique.
20939 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
20940 matching directories by the name breakpoint.
20941 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
20942 Make "continue to marker1" consistent.
20943 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
20944 message consistent.
20945 * lib/gdb.exp: Put "the program is no longer running", and "the
20946 program exited" in parenthesis.
20947 * lib/mi-support.exp: Ditto.
20948
20949 2003-04-02 Bob Rossi <bob_rossi@cox.net>
20950
20951 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
20952
20953 2003-03-29 Andrew Cagney <cagney@redhat.com>
20954
20955 * gdb.base/sizeof.c (main): Print the value of '\377'.
20956 * gdb.base/sizeof.exp: Check the sign of '\377'.
20957
20958 2003-03-27 Michael Chastain <mec@shout.net>
20959
20960 * gdb.base/gdb1090.exp: New file.
20961 * gdb.base/gdb1090.cc: New file.
20962
20963 2003-03-27 J. Brobecker <brobecker@gnat.com>
20964
20965 * gdb.gdb/observer.exp: New regression test.
20966
20967 2003-03-27 Michael Chastain <mec@shout.net>
20968
20969 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
20970 * gdb.base/ptype.exp: Likewise.
20971
20972 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
20973
20974 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
20975
20976 2003-03-26 Michael Chastain <mec@shout.net>
20977
20978 * gdb.base/ptype.exp: Actually use some typedef'd types.
20979
20980 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
20981
20982 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
20983 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
20984
20985 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
20986
20987 * gdb.base/default.exp: Fix regular expression.
20988
20989 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
20990
20991 * gdb.base/args.exp: Fix regular expression.
20992
20993 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
20994
20995 * gdb.base/help.exp: Allow Win32 child process.
20996
20997 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
20998
20999 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
21000 when stepping out of main().
21001
21002 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21003
21004 * gdb.base/default.exp: Check for win32 specific message when calling
21005 "run" without executable.
21006
21007 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21008
21009 * gdb.base/args.exp: Expect .exe in output.
21010
21011 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
21012
21013 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
21014 Cygwin native.
21015
21016 2003-03-17 Andrew Cagney <cagney@redhat.com>
21017
21018 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
21019 vector registes.
21020 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
21021 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
21022
21023 2003-03-17 David Carlton <carlton@math.stanford.edu>
21024
21025 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
21026 test, for PR breakpoints/38.
21027 Call test_watchpoint_and_breakpoint.
21028 * gdb.base/watchpoint.c (func3): New function.
21029 (main): Call func3.
21030
21031 2003-03-04 David Carlton <carlton@math.stanford.edu>
21032
21033 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
21034 Garply<Garply<char> >:: garply".
21035 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
21036 with respect to PR c++/1111; note also PR c++/1113.
21037 (test_template_breakpoints): KFAIL "constructor breakpoint" with
21038 respect to PR c++/1062.
21039 KFAIL "destructor breakpoint" with respect to PR c++/1112.
21040
21041 2003-03-03 David Carlton <carlton@math.stanford.edu>
21042
21043 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
21044 with respect to PR c++/57.
21045 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
21046 c++/826.
21047 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
21048 respect to PR c++/57.
21049
21050 2003-03-03 David Carlton <carlton@math.stanford.edu>
21051
21052 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
21053 respect to PR c++/33 into FAILs.
21054
21055 2003-03-03 Michael Chastain <mec@shout.net>
21056
21057 * configure.in: Update copyright years.
21058
21059 2003-03-03 Michael Chastain <mec@shout.net>
21060
21061 * Makefile.in: Update copyright years.
21062
21063 2003-02-28 David Carlton <carlton@math.stanford.edu>
21064
21065 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
21066 print class instead of struct and/or superfluous protection
21067 specifiers, as long as the resulting output is equivalent to the
21068 source code.
21069 Delete FIXME from end of messages on tests that don't need
21070 fixing.
21071
21072 2003-02-28 David Carlton <carlton@math.stanford.edu>
21073
21074 * gdb.c++/templates.exp (do_tests): Allow const in the two
21075 Foo<volatile char *>::foo tests.
21076
21077 2003-02-27 Michael Snyder <msnyder@redhat.com>
21078
21079 * gdb.base/restore.c (main): Return zero, so exit code
21080 will be consistant.
21081
21082 2003-02-26 David Carlton <carlton@math.stanford.edu>
21083
21084 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
21085 char *>::foo" test with respect to PR c++/33. Create a new test
21086 which is identical to that one except that it doesn't put the
21087 space between the "char" and the "*"; KFAIL it, too.
21088
21089 2003-02-26 David Carlton <carlton@math.stanford.edu>
21090
21091 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
21092 template types into either PASSes or KFAILs (corresponding to PR
21093 c++/57). Tweak indentation. Update copyright.
21094
21095 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
21096
21097 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
21098
21099 2003-02-13 Michael Chastain <mec@shout.net>
21100
21101 * gdb.base/exprs.exp: Remove i960 remnants.
21102 * gdb.base/funcargs.exp: Likewise.
21103 * gdb.base/list.exp: Likewise.
21104 * gdb.base/ptype.exp: Likewise.
21105
21106 2003-02-14 David Carlton <carlton@math.stanford.edu>
21107
21108 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
21109 pEe->D::vg()" from XFAIL to KFAIL.
21110
21111 2003-02-13 Jason Molenda (jmolenda@apple.com)
21112
21113 * gdb.base/maint.exp: Update maint print statistics regexp to include
21114 new entries.
21115
21116 2003-02-13 Michael Chastain <mec@shout.net>
21117
21118 * gdb.c++/inherit.exp: Remove call to get_debug_format.
21119
21120 2003-02-12 Michael Chastain <mec@shout.net>
21121
21122 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
21123 * gdb.c++/inherit.exp: Likewise.
21124 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
21125 * gdb.c++/templates.exp: Likewise.
21126 * gdb.c++/virtfunc.exp: Likewise.
21127
21128 2003-02-06 Jason Molenda (jason-cl@molenda.com)
21129
21130 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
21131 why the code is written that way.
21132
21133 2003-02-05 Michael Chastain <mec@shout.net>
21134
21135 * gdb.base/dump.exp: Add missing copyright line.
21136
21137 2003-02-05 Jason Molenda (jason-cl@molenda.com)
21138
21139 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
21140 at the beginning so the breakpoint doesn't get set on the loop.
21141
21142 2003-02-05 Michael Chastain <mec@shout.net>
21143
21144 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
21145 output for configurations with gcc 2.95.3.
21146
21147 2003-02-05 Keith Seitz <keiths@redhat.com>
21148 Andrew Cagney <ac131313@redhat.com>
21149
21150 * gdb.mi/mi-cli.exp: New file.
21151
21152 2003-02-04 Michael Chastain <mec@shout.net>
21153
21154 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
21155 Call perror and then continue.
21156
21157 2003-02-03 Michael Chastain <mec@shout.net>
21158
21159 * gdb.c++/pr-1023.cc: New file.
21160 * gdb.c++/pr-1023.exp: New file.
21161
21162 2003-02-05 Jim Blandy <jimb@redhat.com>
21163
21164 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
21165 it's local to foobar. Check for it there, and check that it's not
21166 present in main.
21167 * gdb.c++/local.cc (marker2): New function.
21168 (foobar): Call marker1.
21169 (main): Call marker2 instead of marker1.
21170
21171 2003-02-04 Andrew Cagney <ac131313@redhat.com>
21172
21173 * gdb.disasm/mn10200.exp: Obsolete file.
21174 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
21175 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
21176 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
21177
21178 2003-02-04 David Carlton <carlton@math.stanford.edu>
21179
21180 * gdb.c++/overload.exp: Test intToChar(1).
21181 * gdb.c++/overload.cc (intToChar): New.
21182 (main): Call intToChar.
21183
21184 2003-02-03 David Carlton <carlton@math.stanford.edu>
21185
21186 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
21187 'might_kfail' arg.
21188 KFAIL some of the continue_to_bp_overloaded calls, according to
21189 PR c++/1025.
21190
21191 2003-02-01 Michael Chastain <mec@shout.net>
21192
21193 * gdb.base/advance.c (marker1): New marker function.
21194 * gdb.base/advance.exp: When the 'advance' command lands on the
21195 return breakpoint, it can legitimately stop on either the
21196 current line or the next line. Accommodate both outcomes.
21197 * gdb.base/until.exp: Likewise.
21198
21199 2003-02-02 Andrew Cagney <ac131313@redhat.com>
21200
21201 2002-11-10 Jason Molenda (jason-cl@molenda.com):
21202 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
21203 now a list, not a tuple.
21204 * gdb.mi/mi-var-display.exp: Ditto.
21205 * gdb.mi/gdb792.exp: Ditto.
21206
21207 2003-02-01 Andrew Cagney <ac131313@redhat.com>
21208
21209 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
21210 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
21211 stack backtraces.
21212 * gdb.mi/mi-syn-frame.c: Part of same.
21213
21214 2003-02-01 Mark Kettenis <kettenis@gnu.org>
21215
21216 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21217 gdb.mi/mi1-pthreads.exp: Return instead of calling
21218 gdb_suppress_entire_file.
21219
21220 2003-02-01 Mark Salter <msalter@redhat.com>
21221
21222 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
21223
21224 2003-01-31 Mark Salter <msalter@redhat.com>
21225
21226 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
21227 Support empty arg.
21228
21229 2003-01-30 Michael Chastain <mec@shout.net>
21230
21231 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
21232 This was a workaround for a UTF-8 bug in readline 4.3. The bug
21233 has been fixed in gdb/readline on 2003-01-09.
21234
21235 2003-01-29 Michael Snyder <msnyder@redhat.com>
21236
21237 * gdb.base/maint.exp: Allow for leading underscore in symbol.
21238 * gdb.base/display.exp: Allow for leading underscore in symbol.
21239 * gdb.base/args.exp: Skip if target does not support args passing.
21240
21241 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
21242
21243 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
21244 gdb_test. Accept a list of expect arguments as the third
21245 parameter.
21246 (gdb_test): Use it.
21247
21248 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
21249
21250 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
21251 allow for different test tree configurations. Update some
21252 tescases accordingly.
21253 * gdb.arch/altivec-regs.exp: Ditto.
21254 * gdb.asm/asm-source.exp: Ditto.
21255 * gdb.base/advance.exp: Ditto.
21256 * gdb.base/display.exp: Ditto.
21257 * gdb.base/long_long.exp: Ditto.
21258 * gdb.base/mips_pro.exp: Ditto.
21259 * gdb.base/overlays.exp: Ditto.
21260 * gdb.base/relocate.exp: Ditto.
21261 * gdb.base/setshow.exp: Ditto.
21262 * gdb.base/step-line.exp: Ditto.
21263 * gdb.base/step-test.exp: Ditto.
21264 * gdb.base/until.exp: Ditto.
21265 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
21266
21267 2003-01-17 David Carlton <carlton@math.stanford.edu>
21268
21269 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
21270 corresponding to PR c++/945.
21271 Update copyright.
21272
21273 2003-01-17 David Carlton <carlton@math.stanford.edu>
21274
21275 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
21276 corresponding to PR c++/68.
21277
21278 2003-01-17 David Carlton <carlton@math.stanford.edu>
21279
21280 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
21281 (test_paddr_hairy_functions): Call print_addr_2_kfail for
21282 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
21283
21284 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
21285
21286 * gdb.base/break.exp: Fix change of default location, because of
21287 removal of until tests.
21288 * gdb.base/help.exp: Update test for new 'until' help message.
21289 Add test for help on 'advance'.
21290 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
21291
21292 2003-01-15 Mark Kettenis <kettenis@gnu.org>
21293
21294 * gdb.base/default.exp: Adapt "info float" test for recent changes
21295 to that command. Add test for "info vector".
21296 * gdb.base/float.exp: New file. Add test for "info float" that
21297 resembles the old test in gdb.base/default.exp.
21298
21299 2003-01-15 David Carlton <carlton@math.stanford.edu>
21300
21301 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
21302
21303 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
21304
21305 * gdb.base/break.exp: Move the tests of until command from here...
21306 * gdb.base/until.exp: ... to here. New file. Add other tests.
21307 * gdb.base/advance.c: New file.
21308 * gdb.base/advance.exp: New file.
21309
21310 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
21311
21312 * gdb.base/args.c: New file.
21313 * gdb.base/args.exp: New file.
21314
21315 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21316
21317 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
21318
21319 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21320
21321 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
21322
21323 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
21324
21325 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
21326 dates.
21327
21328 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21329
21330 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
21331
21332 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21333
21334 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
21335 (ptype &*"foo").
21336 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
21337
21338 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21339
21340 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
21341 * gdb.mi/mi1-console.exp: Likewise.
21342
21343 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21344
21345 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
21346 * gdb.mi/mi1-console.exp: Likewise.
21347
21348 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
21349
21350 * gdb.c++/overload.exp: Remove some fixed XFAILs.
21351
21352 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
21353
21354 * gdb.base/detach.exp: New test.
21355
21356 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
21357
21358 * Makefile.in (ALL_SUBDIRS): New variable.
21359 (subdirs, clean, distclean): Use it.
21360 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
21361 regenerating Makefile, since it is generated from the top level.
21362 * gdb.asm/Makefile.in: Likewise.
21363 * gdb.base/Makefile.in: Likewise.
21364 * gdb.c++/Makefile.in: Likewise.
21365 * gdb.disasm/Makefile.in: Likewise.
21366 * gdb.java/Makefile.in: Likewise.
21367 * gdb.mi/Makefile.in: Likewise.
21368 * gdb.threads/Makefile.in: Likewise.
21369 * gdb.trace/Makefile.in: Likewise.
21370
21371 2003-01-09 David Carlton <carlton@math.stanford.edu>
21372
21373 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
21374 Add copyright year 2003.
21375
21376 2003-01-06 Michael Chastain <mec@shout.net>
21377
21378 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
21379 When selecting a thread, 'line' and 'file' are optional.
21380 * gdb.mi/mi1-pthreads.exp: Likewise.
21381
21382 2003-01-06 Andreas Schwab <schwab@suse.de>
21383
21384 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
21385 failures.
21386
21387 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21388
21389 Fix PR gdb/844
21390 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
21391 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
21392
21393 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
21394 instead of calling gdb_suppress_entire_file.
21395 * gdb.threads/print-threads.exp: Likewise.
21396 * gdb.threads/schedlock.exp: Likewise.
21397
21398 * gdb.threads/killed.exp: Return instead of calling
21399 gdb_suppress_entire_file.
21400 * gdb.threads/linux-dp.exp: Likewise.
21401 * gdb.threads/pthreads.exp: Likewise.
21402
21403 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21404
21405 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
21406 stabs.
21407 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
21408 * gdb.base/whatis.exp: Always allow (void) after function names.
21409
21410 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
21411
21412 * gdb.c++/casts.exp: Correct regexp.
21413
21414 2003-01-04 Mark Kettenis <kettenis@gnu.org>
21415
21416 * configure.in: Call AC_CONFIG_HEADER. Don't call
21417 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
21418 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
21419 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
21420 aforementioned directories in the AC_OUPUT call.
21421 * config.hin: New file.
21422 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
21423 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
21424 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
21425 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
21426 pass -I$objdir instead of -I$objdir/$subdir in compilation.
21427 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
21428 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
21429 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
21430 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
21431 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
21432 gdb.threads/configure.in, gdb.threads/configure,
21433 gdb.threads/config.in, gdb.trace/configure.in,
21434 gdb.trace/configure: Removed.
21435
21436 2003-01-03 Michael Chastain <mec@shout.net>
21437
21438 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
21439 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
21440
21441 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
21442
21443 * gdb.base/store.exp: Fix regular expressions.
21444
21445 2002-12-28 Mark Kettenis <kettenis@gnu.org>
21446
21447 * configure.in: Rewrite.
21448 * configure: Regenerated.
21449
21450 2003-01-03 David Carlton <carlton@math.stanford.edu>
21451
21452 * gdb.base/psymtab.exp: New file.
21453 * gdb.base/psymtab1.c: Ditto.
21454 * gdb.base/psymtab2.c: Ditto.
21455
21456 2002-12-23 Adam Fedor <fedor@gnu.org>
21457
21458 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
21459
21460 2002-12-23 David Carlton <carlton@math.stanford.edu>
21461
21462 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
21463 and current_directory initialization.
21464
21465 2002-12-22 Jim Blandy <jimb@redhat.com>
21466
21467 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
21468 rather than as part of the output file name.
21469
21470 * gdb.base/attach.exp: There's no need to copy the test program to
21471 /tmp; that was only ever necessary on HP/UX, and this test is
21472 entirely disabled there anyway.
21473
21474 2002-12-21 Jim Blandy <jimb@redhat.com>
21475
21476 * gdb.c++/psmang.exp: Doc fix.
21477
21478 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
21479 test.
21480
21481 2002-12-20 David Carlton <carlton@math.stanford.edu>
21482
21483 * gdb.c++/annota2.exp: KFAIL annotate-quit.
21484
21485 2002-12-18 Michael Chastain <mec@shout.net>
21486
21487 * gdb.c++/annota2.exp: Add copyright year 2002.
21488
21489 2002-12-17 David Carlton <carlton@math.stanford.edu>
21490
21491 * gdb.c++/try_catch.cc: Add marker comments.
21492 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
21493 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
21494 * gdb.c++/m-static.cc: Ditto.
21495 * gdb.c++/m-static1.cc: Ditto.
21496 * gdb.c++/try_catch.cc: Ditto.
21497
21498 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
21499
21500 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
21501 to see whether we are using the new -environment-directory
21502 command which resets via -r or the old version of the command
21503 which may prompt the user. Part of fix for gdb/741.
21504
21505 2002-12-13 Andrew Cagney <ac131313@redhat.com>
21506
21507 * gdb.fortran/types.exp: Update obsolete comment.
21508 * gdb.fortran/exprs.exp: Ditto.
21509 * lib/gdb.exp: Delete obsolete code.
21510 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
21511 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
21512 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
21513 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
21514 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
21515 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
21516 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
21517 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
21518 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
21519 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
21520 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
21521 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
21522 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
21523 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
21524 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
21525 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
21526 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
21527 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
21528 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
21529 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
21530 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
21531 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
21532 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
21533 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
21534 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
21535 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
21536 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
21537 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
21538 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
21539 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
21540 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
21541 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
21542 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
21543 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
21544 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
21545 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
21546 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
21547
21548 2002-12-11 David Carlton <carlton@math.stanford.edu>
21549
21550 * gdb.c++/m-data.exp: Add test for members that shadow global
21551 variables: see PR gdb/804.
21552 * gdb.c++/m-data.cc: Ditto.
21553
21554 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
21555
21556 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
21557
21558 2002-12-06 David Carlton <carlton@math.stanford.edu>
21559
21560 * gdb.base/store.c: Don't declare functions static.
21561
21562 2002-12-04 Andrew Cagney <ac131313@redhat.com>
21563
21564 * gdb.base/store.exp, gdb.base/store.c: New files.
21565
21566 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21567
21568 * gdb.base/selftest.exp: Update for current gdb.
21569
21570 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21571
21572 * gdb.base/maint.exp: Only dump symbols from one source file
21573 or objfile.
21574
21575 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
21576
21577 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
21578 function call.
21579
21580 2002-11-25 Jim Blandy <jimb@redhat.com>
21581
21582 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
21583 function appearing in error message.
21584
21585 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
21586
21587 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
21588
21589 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
21590
21591 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
21592 for mi1 and current mi is in correct format. New mi startup message
21593 should be in mi console format. This is part of fix for PR gdb/604.
21594
21595 2002-09-18 Fernando Nasser <fnasser@redhat.com>
21596
21597 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
21598 which explicitly prints the zero offset as "+0".
21599
21600 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
21601
21602 * gdb.threads/schedlock.c (args): Make unsigned.
21603
21604 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
21605
21606 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
21607 numbers. Allow "foo2|selected stack frame".
21608 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
21609 * gdb.asm/asmsrc2.s: Likewise.
21610 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
21611 comments.
21612 * gdb.asm/mips.inc: New file.
21613
21614 2002-10-18 Adam Fedor <fedor@gnu.org>
21615
21616 * gdb.base/default.exp: Update expected output to include 'ObjC'.
21617 * gdb.base/help.exp: Likewise.
21618
21619 2002-10-17 Kevin Buettner <kevinb@redhat.com>
21620
21621 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
21622 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
21623
21624 2002-10-02 Jim Blandy <jimb@redhat.com>
21625
21626 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
21627
21628 2002-10-01 Andrew Cagney <ac131313@redhat.com>
21629
21630 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
21631 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
21632 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
21633 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
21634 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
21635 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
21636 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
21637
21638 2002-09-29 Andrew Cagney <ac131313@redhat.com>
21639
21640 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
21641 * mi0-disassemble.exp, mi0-eval.exp: Delete.
21642 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
21643 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
21644 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
21645 * mi0-var-block.exp, mi0-var-child.exp: Delete.
21646 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
21647
21648 2002-09-27 Kevin Buettner <kevinb@redhat.com>
21649
21650 * gdb.base/annota1.exp (info break): Make directory components of
21651 path optional since not all compilers emit this debug information.
21652
21653 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
21654 step ends up stepping out of the function instead of stopping on
21655 the epilogue.
21656
21657 2002-09-26 Keith Seitz <keiths@redhat.com>
21658
21659 * lib/insight-support.exp (gdbtk_start): Figure out where
21660 the insight executable is based on where gdb is. Use this
21661 executable to start insight instead of gdb.
21662
21663 2002-09-25 Andrew Cagney <cagney@redhat.com>
21664
21665 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
21666
21667 2002-09-24 Andrew Cagney <ac131313@redhat.com>
21668
21669 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
21670 test_isolated_complaints.
21671 (test_empty_complaint): New function.
21672 (test_empty_complaints): New function. Check no output when no
21673 complaints.
21674
21675 2002-09-19 Jim Blandy <jimb@redhat.com>
21676
21677 * gdb.base/charset.exp, gdb.base/charset.c: New files.
21678
21679 2002-09-19 Andrew Cagney <ac131313@redhat.com>
21680
21681 * gdb.gdb/complaints.exp: New file.
21682
21683 2002-09-18 Andrew Cagney <ac131313@redhat.com>
21684
21685 * gdb.base/maint.exp: Check `help maint internal-warning'.
21686
21687 2002-09-18 David Carlton <carlton@math.stanford.edu>
21688
21689 * gdb.c++/m-static.exp: Remove breakpoints depending on line
21690 numbers, and replace them by a single breakpoint after the
21691 constructors are all finished.
21692 Add test 4.
21693 * gdb.c++/m-static.cc: Add test 4.
21694 * gdb.c++/m-static.h: New file.
21695 * gdb.c++/m-static1.cc: New file.
21696
21697 * gdb.c++/printmethod.exp: New file.
21698 * gdb.c++/printmethod.cc: New file.
21699
21700 * gdb.c++/pr-574.exp: New file.
21701 * gdb.c++/pr-574.cc: New file.
21702
21703 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21704
21705 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
21706 embedded targets which never actually exit.
21707
21708 2002-09-18 Fernando Nasser <fnasser@redhat.com>
21709
21710 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
21711 "don't step after run" as unresolved or unsupported, instead of xfail.
21712
21713 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21714
21715 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
21716 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
21717 Add newline to expected string in "step out of main (status wrapper)"
21718 case.
21719
21720 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
21721
21722 * lib/gdb.exp (rerun_to_main): Allow restarting application.
21723 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
21724
21725 2002-09-17 Tom Tromey <tromey@redhat.com>
21726
21727 * gdb.base/printcmds.exp (test_print_string_constants): Expect
21728 \000, not \0, in double-quoted string.
21729
21730 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
21731
21732 * gdb.base/commands.exp: Don't expect a "Program exited normally"
21733 string after running the commands execution on breakpoint tests.
21734
21735 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
21736
21737 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
21738
21739 2002-09-12 Joel Brobecker <brobecker@gnat.com>
21740
21741 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
21742
21743 2002-09-10 Keith Seitz <keiths@redhat.com>
21744
21745 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
21746 runto proc.
21747 (mi_run_to_main): Use mi_runto.
21748 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
21749
21750 2002-09-10 Keith Seitz <keiths@redhat.com>
21751
21752 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
21753 regexp for stopping at main. Could have multiple event notifications.
21754 Don't assume that main was declared with no parameters.
21755 (mi_next): Use mi_step_to.
21756 (mi_step): Use mi_next_to.
21757
21758 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
21759
21760 * gdb.base/default.exp: Fix expected string in `info float' test.
21761
21762 2002-09-09 Ben Elliston <bje@redhat.com>
21763
21764 * config/mips.exp: Update comments.
21765 * config/mips-idt.exp: Likewise.
21766 * config/nind.exp: Likewise.
21767 * config/slite.exp: Likewise.
21768 * config/sparclet.exp: Likewise.
21769 * config/udi.exp: Likewise.
21770 * config/vx.exp: Likewise.
21771 * config/vxworks29k.exp: Likewise.
21772
21773 2002-09-05 Jim Blandy <jimb@redhat.com>
21774
21775 * gdb.threads/killed.exp: Fix test failure message.
21776
21777 2002-09-04 Keith Seitz <keiths@redhat.com>
21778
21779 * lib/mi-support.exp: Update copyright.
21780 (mi_gdb_test): Increase the priority of the expected pattern
21781 so that it matches gdb_test.
21782
21783 2002-09-03 Keith Seitz <keiths@redhat.com>
21784
21785 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
21786 Use integer comparison instead of string comparison for testing
21787 whether binary was built.
21788
21789 2002-09-03 Jim Blandy <jimb@redhat.com>
21790
21791 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
21792
21793 2002-08-29 Jim Blandy <jimb@redhat.com>
21794
21795 * gdb.threads/pthreads.exp: Move the portable thread compilation
21796 code into a function in lib/gdb.exp, and call that from here.
21797 * lib/gdb.exp (gdb_compile_pthreads): New function.
21798
21799 2002-08-29 Keith Seitz <keiths@redhat.com>
21800
21801 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
21802 expect_out so that callers can get at it.
21803
21804 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
21805
21806 * gdb.threads/print-threads.c: New file.
21807 * gdb.threads/print-threads.exp: New file.
21808 * gdb.threads/schedlock.c: New file.
21809 * gdb.threads/schedlock.exp: New file.
21810
21811 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
21812
21813 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
21814 not altivec.c.
21815
21816 2002-08-17 Mark Kettenis <kettenis@gnu.org>
21817
21818 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
21819 targets. The problem should be fixed now.
21820
21821 2002-08-15 Mark Kettenis <kettenis@gnu.org>
21822
21823 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
21824 2002-07-24 change that removes final dots from error messages.
21825
21826 2002-08-13 Tom Tromey <tromey@redhat.com>
21827
21828 * gdb.base/readline.exp: New file.
21829
21830 2002-08-01 Andrew Cagney <ac131313@redhat.com>
21831
21832 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
21833 supress message.
21834
21835 2002-08-01 Andrew Cagney <cagney@redhat.com>
21836
21837 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
21838 CHILL_FOR_TARGET and CHILL_LIB.
21839 * configure.in (configdirs): Remove gdb.chill.
21840 * configure: Regenerate.
21841 * lib/gdb.exp: Obsolete references to chill.
21842 * gdb.fortran/types.exp: Ditto.
21843 * gdb.fortran/exprs.exp: Ditto.
21844
21845 2002-07-30 Kevin Buettner <kevinb@redhat.com>
21846
21847 * gdb.base/shlib-call.exp (additional_flags): Conditionally
21848 set Irix-specific compile and link flags.
21849
21850 2002-07-29 Kevin Buettner <kevinb@redhat.com>
21851
21852 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
21853 source files. The ``-o'' option doesn't work with the ``-E'' option
21854 when using the Irix compiler.
21855
21856 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
21857
21858 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
21859 Improve support for reusing an exec file. Copy exec file
21860 to target, and run gdbserver on the target instead of on the host.
21861
21862 2002-07-18 Jim Blandy <jimb@redhat.com>
21863
21864 * gdb.base/ending-run.exp: Don't expect to see the program end in
21865 some orderly fashion when we're running on a real stand-alone
21866 board.
21867
21868 * gdb.base/interrupt.exp: Correct logic for skipping tests on
21869 targets that don't support interrupts.
21870
21871 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
21872
21873 * gdb.base/attach.exp: Add patterns to match output from /proc-based
21874 systems.
21875 Move comments in expect statements to inside the actions, so that they
21876 don't get matched against.
21877
21878 2002-07-10 Mark Kettenis <kettenis@gnu.org>
21879
21880 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
21881 function when asleep" test.
21882
21883 2002-07-10 Andrew Cagney <ac131313@redhat.com>
21884
21885 * gdb.base/page.exp: Rewrite to handle problems with very long
21886 `info set' output. Update copyright.
21887
21888 2002-06-26 Andrew Cagney <ac131313@redhat.com>
21889
21890 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
21891 gdb.threads-hp.
21892 * gdb.hp/configure: Regenerate.
21893 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
21894 * gdb.hp/gdb.threads-hp/configure: Delete file.
21895 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
21896
21897 2002-06-22 Andrew Cagney <ac131313@redhat.com>
21898
21899 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
21900 setlocale, bindtextdomain and textdomain.
21901
21902 2002-06-11 Jim Blandy <jimb@redhat.com>
21903
21904 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
21905 preprocessor macro information is present.
21906
21907 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
21908 tests.
21909
21910 2002-06-06 Michael Snyder <msnyder@redhat.com>
21911
21912 * gdb.base/overlays.exp: Record addresses of overlay
21913 functions in TCL variables rather than in GDB variables,
21914 to avoid having GDB convert them to pointers (with loss
21915 of information).
21916
21917 * gdb.base/d10v.ld: Merge in several years worth of
21918 default linker script changes.
21919 * gdb.base/long_long.exp: Add check for sizeof (long double).
21920
21921 2002-06-06 Michal Ludvig <mludvig@suse.cz>
21922
21923 * gdb.asm/asm-source.exp: Add x86-64 target.
21924 * gdb.asm/x86_64.inc: New.
21925
21926 2002-05-30 Michael Chastain <mec@shout.net>
21927
21928 From Benjamin Kosnik <bkoz@redhat.com>:
21929 * gdb.c++/m-static.cc: New file.
21930 * gdb.c++/m-static.exp: New file.
21931
21932 2002-05-28 Michael Snyder <msnyder@redhat.com>
21933
21934 * gdb.base/call-ar-st.exp: Allow for reduced floating point
21935 precision.
21936
21937 2002-05-27 Michael Chastain <mec@shout.net>
21938
21939 From Benjamin Kosnik <bkoz@redhat.com>:
21940 * gdb.c++/m-data.cc: New file.
21941 * gdb.c++/m-data.exp: New file.
21942
21943 2002-05-27 Michael Chastain <mec@shout.net>
21944
21945 From Benjamin Kosnik <bkoz@redhat.com>:
21946 * gdb.c++/try_catch.cc: New file.
21947 * gdb.c++/try_catch.exp: New file.
21948
21949 2002-05-27 Michael Chastain <mec@shout.net>
21950
21951 * gdb.c++/local.exp: Accept more nested types in output.
21952
21953 2002-05-26 Michael Chastain <mec@shout.net>
21954
21955 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
21956
21957 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
21958
21959 * lib/gdb.exp (gdb_wrapper_init): Just because
21960 gdb_wrapper_file exists, this does not mean that the file
21961 should not be rebuilt. That is what gdb_wrapper_initialized
21962 is for.
21963 (default_gdb_init): Reset gdb_wrapper_initialized.
21964
21965 2002-05-23 Michael Snyder <msnyder@redhat.com>
21966
21967 * gdb.base/all-bin.exp: Revise previous patch by just reducing
21968 the precision of the floating point test results.
21969 * gdb.base/call-rt-st.exp: Ditto.
21970
21971 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
21972 * gdb.base/call-rt-st.exp: Ditto.
21973
21974 2002-05-19 Michael Chastain <mec@shout.net>
21975
21976 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
21977
21978 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
21979
21980 * configure.in (configdirs): Add gdb.arch.
21981 * configure: Regenerate.
21982
21983 2002-05-17 Jim Blandy <jimb@redhat.com>
21984
21985 * gdb.base/completion.exp: Recognize the more detailed error
21986 messages produced by the macro expander's lexical analyzer.
21987
21988 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
21989
21990 * gdb.arch/altivec-abi.c: New file.
21991 * gdb.arch/altivec-abi.exp: New file.
21992 * gdb.arch/altivec-regs.c: New file.
21993 * gdb.arch/altivec-regs.exp: New file.
21994
21995 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
21996
21997 * gdb.base/maint.exp (maint print type): Update for new type
21998 structure.
21999
22000 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
22001
22002 * gdb.arch: New directory.
22003 * gdb.arch/configure.in: New file.
22004 * gdb.arch/configure: New file.
22005 * gdb.arch/Makefile.in: New file.
22006
22007 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
22008
22009 * gdb.asm/asm-source.exp: Add v850 as supported target.
22010 * gdb.asm/v850.inc: New file.
22011
22012 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
22013
22014 * gdb.c++/annota2.exp (annotate-quit): Add comment.
22015
22016 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
22017
22018 * gdb.base/break.exp: Check 'break "marker2"'.
22019
22020 2002-05-10 Michael Snyder <msnyder@redhat.com>
22021
22022 * gdb.base/long_long.exp: Fix typo.
22023
22024 2002-05-10 Jim Blandy <jimb@redhat.com>
22025
22026 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
22027 a bug.
22028
22029 * gdb.base/printcmds.exp (test_integer_literals_rejected):
22030 Recognize more detailed error message produced by the macro
22031 expander's lexical analyzer.
22032 * lib/gdb.exp (test_print_reject): Same.
22033
22034 2002-05-09 Mark Kettenis <kettenis@gnu.org>
22035
22036 * gdb.c++/method.exp: Fix typo.
22037
22038 2002-05-08 Michael Snyder <msnyder@redhat.com>
22039
22040 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
22041 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
22042 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
22043 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
22044 Add iftarget clause for strongarm.
22045
22046 2002-05-06 Michael Snyder <msnyder@redhat.com>
22047
22048 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
22049 (gdb_continue_to_end): Accept output from status wrapper.
22050 * gdb.base/ending-run.exp: Add case for output from status wrapper.
22051 Clean up fail messages to match pass messages.
22052
22053 Enable the "needs_status_wrapper" testsuite feature.
22054 * lib/gdb.exp (gdb_wrapper_init): New procedure.
22055 (gdb_compile): Conditionally call gdb_wrapper_init.
22056 * gdb.base/a2-run.exp: Recognize output from status wrapper.
22057 * gdb.c++/method.exp: Recognize output from status wrapper.
22058
22059 2002-05-06 Ben Elliston <bje@redhat.com>
22060 From Graydon Hoare <graydon@redhat.com>
22061
22062 * config/sid.exp: Include support for "rawsid" protocol.
22063
22064 2002-05-03 Jim Blandy <jimb@redhat.com>
22065
22066 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
22067 * gdb.c++/hang3.C: New file.
22068
22069 2002-05-04 Andrew Cagney <ac131313@redhat.com>
22070
22071 * gdb.base/default.exp: Remove obsolete code.
22072 * gdb.c++/misc.exp: Ditto. Update copyright.
22073 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
22074 * gdb.base/whatis.exp: Ditto. Update copyright.
22075 * gdb.base/scope.exp: Ditto. Update copyright.
22076 * gdb.base/ptype.exp: Ditto. Update copyright.
22077 * gdb.base/printcmds.exp: Ditto. Update copyright.
22078 * gdb.base/opaque.exp: Ditto. Update copyright.
22079 * gdb.base/list.exp: Ditto.
22080 * gdb.base/funcargs.exp: Ditto. Update copyright.
22081 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
22082 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
22083 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
22084 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
22085 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
22086 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
22087
22088 2002-05-02 Michael Snyder <msnyder@redhat.com>
22089
22090 * gdb.base/watchpoint.exp: Add xscale target.
22091 * gdb.base/long_long.exp: Add xscale target.
22092 * gdb.base/default.exp: Add xscale target.
22093
22094 2002-05-01 Jim Blandy <jimb@redhat.com>
22095
22096 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
22097 gdb.c++/hang.exp: New test.
22098
22099 2002-05-01 Fred Fish <fnf@redhat.com>
22100
22101 * gdb.base/completion.exp: Handle completions of "./Make" for
22102 more than one completion possibility, as is the case when we
22103 build and test in the source tree.
22104
22105 2002-04-29 Anthony Green <green@redhat.com>
22106
22107 * gdb.java/jmisc1.exp: New file.
22108 * gdb.java/jmisc2.exp: New file.
22109
22110 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
22111
22112 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
22113
22114 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
22115
22116 * gdb.base/help.exp: Change 'help status' to allow for target
22117 dependent output differences.
22118
22119 2002-04-22 Michael Chastain <mec@shout.net>
22120
22121 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
22122
22123 2002-04-22 Michael Chastain <mec@shout.net>
22124
22125 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
22126
22127 2002-04-17 David S. Miller <davem@redhat.com>
22128
22129 * gdb.asm/sparc64.inc: New file.
22130 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
22131
22132 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
22133
22134 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
22135 instruction file directly into the build tree. Clean up at end of
22136 test.
22137
22138 2002-04-18 David S. Miller <davem@redhat.com>
22139
22140 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
22141 handle 64-bit platforms correctly.
22142 * gdb.base/maint.exp: Likewise.
22143
22144 2002-04-18 Kevin Buettner <kevinb@redhat.com>
22145
22146 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
22147 ``-fpic'' when compiling files comprising a shared library, but
22148 it does need additional linker flags in order to find shared
22149 libraries at run time.
22150
22151 2002-04-18 Kevin Buettner <kevinb@redhat.com>
22152
22153 * gdb.base/cvexpr.c (use): New function.
22154 (main): Invoke use() on all global variables to prevent
22155 some linkers from deleting these otherwise unused symbols.
22156
22157 2002-04-17 Michael Chastain <mec@shout.net>
22158 From David S. Miller <davem@redhat.com>
22159
22160 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
22161 handle 64-bit platforms correctly.
22162
22163 2002-04-12 Michael Snyder <msnyder@redhat.com>
22164 From Jim Blandy <jimb@redhat.com>
22165 * gdb.base/foo.c (foox): Remove section attribute; the linker
22166 script can handle this instead.
22167 * gdb.base/bar.c (barx): Same.
22168 * gdb.base/baz.c (bazx): Same.
22169 * gdb.base/grbx.c (grbxx): Same.
22170
22171 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
22172 manager doesn't automatically unmap overlays unnecessarily.
22173
22174 2002-04-10 Martin M. Hunt <hunt@redhat.com>
22175
22176 * gdb.base/ending-run.exp: Fix pattern for Mips targets
22177 stepping out of main.
22178
22179 2002-04-09 Michael Chastain <mec@shout.net>
22180
22181 * gdb.c++/local.cc (main): Move call to marker1() inside nested
22182 scope so that the nested scope tests will make sense.
22183 * gdb.c++/local.exp: Write patterns that actually work with gcc
22184 (the HP patterns "were never known to work with gcc").
22185 Keep the old aCC patterns too.
22186
22187 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
22188
22189 * gdb.base/attach.exp: Correct target board test.
22190
22191 2002-04-08 Michael Chastain <mec@shout.net>
22192
22193 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
22194 in a const method. Add some xfail and fail cases for configurations
22195 that do not emit the "const ...".
22196
22197 2002-04-07 Michael Chastain <mec@shout.net>
22198
22199 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
22200 Accept "A * const" and "const A * const" as type of "this".
22201 Fix spelling of getFunky throughout. Make messages uniform.
22202
22203 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
22204
22205 Work around for PR gdb/285:
22206 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
22207
22208 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
22209
22210 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
22211 instructions file at run time instead of configure time.
22212 Sometimes we run the test in a directory that is not the one we
22213 configured in.
22214 * gdb.asm/configure.in: Delete creation of symlink.
22215 * gdb.asm/configure: Regenerate.
22216
22217 2002-04-05 J. Brobecker <brobecker@gnat.com>
22218
22219 * gdb.gdb/xfullpath.exp: New test, to exercise the new
22220 xfullpath () function.
22221
22222 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
22223
22224 * gdb.asm/Makefile.in: Correct dependencies.
22225
22226 * gdb.asm/powerpc.inc: New file.
22227 * gdb.asm/asm-source.exp: Add PowerPC.
22228 * gdb.asm/configure.in: Likewise.
22229 * gdb.asm/configure: Regenerated.
22230
22231 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
22232
22233 * gdb.base/relocate.exp: New file.
22234 * gdb.base/relocate.c: New file.
22235
22236 2002-04-04 Fred Fish <fnf@redhat.com>
22237
22238 * gdb.base/step-test.exp: Update comment regarding stopping in
22239 memcpy/bcopy calls inserted as part of the compiler runtime.
22240
22241 2002-04-04 Michael Snyder <msnyder@redhat.com>
22242
22243 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
22244
22245 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
22246
22247 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
22248 (gdb_expect): Remove $notransfer hack.
22249
22250 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
22251
22252 * gdb.c++/classes.exp ("calling method for small class"): Match
22253 updated register output.
22254
22255 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
22256
22257 Fix PR gdb/452
22258 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
22259 when finished. Make gdb_file_cmd send "exec-file" when
22260 appropriate.
22261
22262 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
22263
22264 * gdb.base/attach.exp: Remove extra setup_xfail.
22265
22266 2002-03-26 Michael Snyder <msnyder@redhat.com>
22267
22268 * gdb.base/default.exp: Add tests for dump, append, and restore.
22269 * gdb.base/help.exp: Add tests for dump, append, and restore.
22270 * gdb.base/dump.exp: New file, test dump, append and restore.
22271 * gdb.base/dump.c: New file.
22272
22273 2002-03-27 Michael Snyder <msnyder@redhat.com>
22274
22275 * gdb.base/help.exp: Modify expect strings to reflect
22276 clean-ups in help messages.
22277
22278 2002-03-26 Fred Fish <fnf@redhat.com>
22279
22280 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
22281 have debugging info for those functions and the compiler uses them
22282 internally to copy structs around.
22283
22284 2002-03-26 Fred Fish <fnf@redhat.com>
22285
22286 * gdb.base/list.exp: Revert the change made yesterday and add note
22287 about why we don't list the default lines for remote targets.
22288
22289 2002-03-25 Michael Snyder <msnyder@redhat.com>
22290
22291 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
22292
22293 2002-03-25 Fred Fish <fnf@redhat.com>
22294
22295 * gdb.base/list.exp: This test works on remote targets so remove
22296 the short circuit for remote targets. Update copyright.
22297
22298 2002-03-25 Fred Fish <fnf@redhat.com>
22299
22300 * gdb.base/attach.exp: Fix logic error that was suppressing this
22301 test for all non hppa*-*-hpux* targets, instead of the hp target.
22302 Move comments closer to the suppression point. Also now need to
22303 check that we are running natively.
22304
22305 2002-03-22 Michael Snyder <msnyder@redhat.com>
22306
22307 * gdb.base/default.exp: Add test for gcore. Update copyright.
22308 * gdb.base/help.exp: Add test for gcore. Update copyright.
22309
22310 2002-03-06 Fred Fish <fnf@redhat.com>
22311
22312 * gdb.base/funcargs.c: Remove extraneous ';' character.
22313 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
22314
22315 2002-03-04 Michael Chastain <mec@shout.net>
22316
22317 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
22318 accommodate gcc v3 function signature.
22319 * gdb.mi/mi0-var-cmd-exp: Ditto.
22320
22321 2002-02-24 Andrew Cagney <ac131313@redhat.com>
22322
22323 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
22324 ``GNU/Linux'' or ``Linux kernel''
22325 * testsuite/gdb.threads/pthreads.c: Ditto.
22326
22327 2002-02-24 Michael Chastain <mec@shout.net>
22328
22329 * gdb.threads/pthreads.c (thread1): Add a return statement.
22330 (thread2): Likewise.
22331 (foo): Likewise.
22332
22333 2002-02-23 Michael Chastain <mec@shout.net>
22334
22335 * gdb.threads/linux-dp.c (philosopher): Add a return statement
22336 to placate gcc.
22337
22338 2002-02-23 Michael Chastain <mec@shout.net>
22339
22340 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
22341 test "ptype bint". The test passes on all my stabs configurations.
22342
22343 2002-02-21 Jim Blandy <jimb@redhat.com>
22344
22345 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
22346 filename at a time, and watch for the ones we want to see.
22347
22348 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
22349 types of pointers to prototyped functions.
22350
22351 2002-02-20 Andrew Cagney <ac131313@redhat.com>
22352
22353 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
22354 signed, unsigned and straight char.
22355 (padding_char, padding_short, padding_int, padding_long,
22356 padding_long_long, padding_float, padding_double,
22357 padding_long_double): New global variables.
22358 (fill, fill_structs): New functions.
22359
22360 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
22361 for correctly sized writes. Update copyright.
22362 (get_valueof): New procedure.
22363 (get_sizeof): Call get_valueof.
22364 (check_valueof): New procedure.
22365 (check_padding): New procedure.
22366
22367 2002-02-20 Michael Chastain <mec@shout.net>
22368
22369 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
22370 to setup_xfail. Document some of the remaining calls.
22371
22372 2002-02-18 Michael Chastain <mec@shout.net>
22373
22374 * gdb.c++/userdef.exp: Update copyright year.
22375
22376 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
22377
22378 * gdb.c++/userdef.exp: Test overloaded operators properly.
22379 Remove xfails.
22380
22381 2002-02-14 Michael Snyder <msnyder@redhat.com>
22382
22383 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
22384
22385 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
22386
22387 * gdb.base/a2-run.exp: Check for a remote target properly.
22388 * gdb.base/annota1.exp: Likewise.
22389 * gdb.base/list.exp: Likewise.
22390 * gdb.base/reread.exp: Likewise.
22391 * gdb.base/scope.exp: Likewise.
22392 * gdb.base/shlib-call.exp: Likewise.
22393 * gdb.base/term.exp: Likewise.
22394 * gdb.c++/annota2.exp: Likewise.
22395
22396 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
22397
22398 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
22399
22400 2002-02-10 Michael Chastain <mec@shout.net>
22401
22402 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
22403 (call_after_alloca): Ditto.
22404
22405 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
22406
22407 * gdb.base/ending-run.exp: Guard "cont" test with
22408 gdb_skip_stdio_test.
22409
22410 2002-02-06 Jim Blandy <jimb@redhat.com>
22411
22412 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
22413 from here...
22414 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
22415 To here. Disable this test on non-HP platforms. Add big comment.
22416
22417 2002-02-04 Michael Snyder <msnyder@redhat.com>
22418
22419 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
22420 other than d10v and m32r.
22421
22422 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
22423
22424 * gdb.base/default.exp: Rewrite test patterns to reduce time
22425 taken to match them.
22426
22427 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22428
22429 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
22430 Allow a start function above main.
22431 * gdb.threads/linux-dp.exp: Fix copyright date.
22432
22433 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22434
22435 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
22436 (check_philosopher_stack): Check for manager thread before checking
22437 for a just-starting thread.
22438
22439 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
22440
22441 From Neil Booth <neil@daikokuya.demon.co.uk>:
22442 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
22443 warnings.
22444
22445 2002-01-21 Fred Fish <fnf@redhat.com>
22446
22447 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
22448 not caller.
22449
22450 2002-01-21 Jim Blandy <jimb@redhat.com>
22451
22452 * gdb.base/reread.exp: Check that GDB properly re-reads the
22453 executable file when it changes while no inferior is running.
22454
22455 2002-01-21 Fred Fish <fnf@redhat.com>
22456
22457 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
22458 optionally accept the "shlib events" variation.
22459
22460 2002-01-21 Jim Blandy <jimb@redhat.com>
22461
22462 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
22463 call `fflush' after every `printf', so that the output is produced
22464 at predictable points, regardless of whatever buffering does (or
22465 doesn't) take place.
22466 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
22467 at different points.
22468
22469 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
22470
22471 * gdb.c++/inherit.exp: Update copyright years.
22472 * gdb.c++/method.exp: Likewise.
22473
22474 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
22475
22476 * gdb.c++/classes.exp: Update for improved v3 support and skipping
22477 artificial methods/arguments.
22478 * gdb.c++/derivation.exp: Likewise.
22479 * gdb.c++/inherit.exp: Likewise.
22480 * gdb.c++/method.exp: Likewise.
22481 * gdb.c++/virtfunc.exp: Likewise.
22482
22483 2002-01-18 Andrew Cagney <ac131313@redhat.com>
22484
22485 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
22486 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
22487 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
22488 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
22489 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
22490 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
22491
22492 2002-01-17 Jim Blandy <jimb@redhat.com>
22493
22494 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22495 anchoring the pattern matching the entry point symbol's name.
22496
22497 2002-01-17 Andrew Cagney <ac131313@redhat.com>
22498
22499 * gdb.base/maint.exp: Update ``maint internal-error'' to match
22500 continue/quit query. Update copyright.
22501
22502 2002-01-14 Michael Snyder <msnyder@redhat.com>
22503
22504 * gdb.base/gcore.exp: Remove extra debugging output.
22505
22506 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
22507
22508 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
22509 for slightly dubious v2 mangled string.
22510
22511 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
22512
22513 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
22514
22515 2002-01-10 Jason Merrill <jason@redhat.com>
22516
22517 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
22518
22519 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
22520 constructors.
22521 * gdb.c++/derivation.exp: Likewise.
22522 * gdb.c++/templates.exp: Likewise.
22523 * gdb.c++/virtfunc.exp: Likewise.
22524
22525 2002-01-10 Michael Snyder <msnyder@redhat.com>
22526
22527 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
22528
22529 2002-01-08 Michael Snyder <msnyder@redhat.com>
22530
22531 * gdb.base/gcore.exp: New test for generate-core-file command.
22532 * gdb.base/gcore.c: Testcase for above.
22533 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
22534
22535 2002-01-08 Jason Merrill <jason@redhat.com>
22536
22537 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
22538
22539 2002-01-07 Fred Fish <fnf@redhat.com>
22540
22541 * gdb.c++/overload.exp: Remove unconditional xfails for:
22542 print foo_instance1.overloadargs(1)
22543 print foo_instance1.overloadargs(1, 2)
22544 print foo_instance1.overloadargs(1, 2, 3)
22545 print foo_instance1.overloadargs(1, 2, 3, 4)
22546 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
22547 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
22548 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
22549 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
22550 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
22551 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
22552 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
22553 print foo_instance1.overload1arg()
22554 print foo_instance1.overload1arg((char)arg2)
22555 print foo_instance1.overload1arg((signed char)arg3)
22556 print foo_instance1.overload1arg((unsigned char)arg4)
22557 print foo_instance1.overload1arg((int)arg7)
22558 print foo_instance1.overload1arg((unsigned int)arg8)
22559 print foo_instance1.overload1arg((float)arg11)
22560 print foo_instance1.overload1arg((double)arg12)
22561
22562 2002-01-07 Michael Snyder <msnyder@redhat.com>
22563
22564 * gdb.base/huge.exp: New test. Print a very large target data object.
22565 (skip_huge_test): New test variable. Define if you want to skip this
22566 test. The test reads an 8 megabyte data object from the target, so it
22567 might be very time consuming on remote targets with a slow connection.
22568 * gdb.base/huge.c: New file. Test case for above.
22569
22570 2002-01-07 Fred Fish <fnf@redhat.com>
22571
22572 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
22573 g_instance.bfoo, and g_instance.cfoo.
22574
22575 2002-01-07 Jeffrey A Law <law@redhat.com>
22576
22577 * gdb.base/break.c (multi_line_if_conditional): New function.
22578 (multi_ilne_while_conditional): Likewise.
22579 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
22580 IF or WHILE condition puts the breakpoint at the start of
22581 the condition.
22582
22583 * gdb.base/selftest.exp (backtrace through signal handler): Remove
22584 hppa*-*-hpux* expected failure.
22585 * gdb.base/structs.exp (do_function_calls): Similarly.
22586
22587 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
22588 watchpoints.
22589
22590 2002-01-06 Andrew Cagney <ac131313@redhat.com>
22591
22592 Fix PR gdb/66.
22593 * gdb.base/structs.exp: Replace skip for a29k with skip for
22594 gdb,cannot_call_functions.
22595 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
22596 * gdb.base/callfuncs.exp: Ditto.
22597 * gdb.base/call-rt-st.exp: Ditto.
22598 * gdb.base/call-strs.exp: Ditto.
22599 * gdb.base/callfwmall.exp: Ditto.
22600 * gdb.base/scope.exp: Obsolete xfail a29k.
22601 * gdb.c++/misc.exp: Ditto.
22602 * gdb.c++/cplusfuncs.exp: Ditto.
22603 * gdb.base/ptype.exp: Ditto.
22604 * gdb.base/printcmds.exp: Ditto.
22605 * gdb.base/opaque.exp: Ditto.
22606 * gdb.base/list.exp: Ditto.
22607 * gdb.base/funcargs.exp: Ditto.
22608 * gdb.base/default.exp: Ditto.
22609
22610 2002-01-04 Michael Snyder <msnyder@redhat.com>
22611
22612 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
22613 * gdb.base/maint.exp: Add tests for maint info sections options.
22614
22615 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
22616
22617 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
22618
22619 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
22620
22621 * gdb.asm/arm.inc: New file.
22622 * gdb.asm/asm-source.exp: Add arm targets.
22623 * gdb.asm/configure.in: Ditto.
22624 * gdb.asm/configure: Recreated from configure.in.
22625
22626 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
22627
22628 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
22629 with HP's compiler.
22630 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
22631 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
22632 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
22633 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
22634
22635 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
22636 either HP's compilers or GCC.
22637
22638 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
22639 a SIGBUS or SIGSEGV.
22640
22641 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
22642
22643 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
22644 can be compiled with either HP's compiler or GCC.
22645
22646 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
22647 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
22648 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
22649
22650 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
22651 to match current gdb output. Update due to using auto-solib-limit
22652 for limiting instead of overloading auto-solib-add.
22653 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
22654 test program.
22655
22656 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
22657 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
22658 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
22659 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
22660 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
22661 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
22662 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
22663 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
22664 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
22665 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
22666 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
22667 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
22668 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
22669
22670 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
22671 a SIGTRAP to the inferior.
22672
22673 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
22674
22675 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
22676 Substitute call to target_link by call to gdb_compile.
22677
22678 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
22679
22680 * gdb.base/break.exp: Fix HP specific search string when testing
22681 backtracing in a called function.
22682
22683 * gdb.base/constvars.exp: Only set lang to C++ if we're
22684 compiling the test with HP's compilers.
22685 * gdb.base/volatile.exp: Similarly.
22686
22687 2001-12-19 Jim Blandy <jimb@redhat.com>
22688
22689 * gdb.base/printcmds.exp: Expect the null character to be printed
22690 as '\0', and the '\013' to be printed as '\v'.
22691 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
22692 * gdb.base/setvar.exp: Same.
22693
22694 2001-12-17 Jim Blandy <jimb@redhat.com>
22695
22696 * gdb.base/completion.exp: Rather than completing very long
22697 filenames, which can make the readline library produce output we
22698 don't recognize, cd to the directory first, and then complete
22699 using nice, short relative paths.
22700
22701 * gdb.base/completion.exp: On some systems, there is, in fact, a
22702 variable named `b' in scope, since GDB treats all static
22703 variables as being in scope. So use `no_var_named_this'
22704 instead of `b'.
22705
22706 * gdb.base/corefile.exp: Recognize the message saying that GDB
22707 can't find the core file's registers as a failure.
22708
22709 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
22710
22711 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
22712 test expect string more specific.
22713
22714 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
22715
22716 * gdb.asm/asm-source.exp: Add support for xstormy16.
22717 * gdb.asm/configure.in: Ditto.
22718 * gdb.asm/configure: Rebuild.
22719 * gdb.asm/xstormy16.inc: New file.
22720
22721 2001-12-10 Fred Fish <fnf@redhat.com>
22722
22723 * gdb.base/maint.exp: Update to match changes in type dumping code.
22724
22725 2001-12-10 Jim Blandy <jimb@redhat.com>
22726
22727 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
22728 matching the entry point symbol's name at the beginning of the
22729 line.
22730
22731 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
22732
22733 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
22734 gdb.c++/inherit.exp, gdb.c++/method.exp,
22735 gdb.c++/namespace.exp, gdb.c++/templates.exp,
22736 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
22737 and class layout support.
22738
22739 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
22740
22741 * gdb.c++/classes.exp: Add test for static member function.
22742 * gdb.c++/misc.cc: Add class with static member function.
22743
22744 2001-12-07 Jim Blandy <jimb@redhat.com>
22745
22746 If GDB says it can't find the struct the function returned, report
22747 those tests as `unsupported'.
22748 * gdb.base/call-rt-st.exp (print_struct_call): New function.
22749 Rewrite subsequent tests to use it.
22750
22751 If GDB says it can't find the struct the function returned, report
22752 those tests as `unsupported'.
22753 * gdb.base/structs.exp (call_struct_func): New function.
22754 (do_function_calls): Use call_struct_func to call the functions
22755 returning structs.
22756
22757 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
22758 whether functions are prototyped or not, so we can't possibly pass
22759 arguments to t_float_values2 properly.
22760
22761 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
22762 value of `timeout' for targets other than the mips*tx39-*.
22763
22764 2001-12-06 Michael Snyder <msnyder@redhat.com>
22765
22766 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
22767 and detect whether the start symbol has a leading underscore.
22768
22769 2001-12-04 Jim Blandy <jimb@redhat.com>
22770
22771 * gdb.base/completion.exp: Clarify indentation.
22772
22773 2001-12-03 Jim Blandy <jimb@redhat.com>
22774
22775 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
22776 variables on the S/390, not `.word'.
22777
22778 2001-11-30 Jim Blandy <jimb@redhat.com>
22779
22780 Add assembly-source tests for s390-ibm-linux.
22781 * gdb.asm/s390.inc: New file.
22782 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
22783 the S/390 architecture.
22784 * gdb.asm/configure: Regenerated.
22785
22786 2001-11-30 Michael Snyder <msnyder@redhat.com>
22787
22788 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
22789 next, info source, info sources, info line, global and static
22790 variables, and static functions.
22791 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
22792 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
22793 * gdb.asm/asmsrc1.s: Add a static function and some variables.
22794 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
22795 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
22796 (gdbasm_leave): Restore frame pointer.
22797 (gdbasm_startup): Copy stack set-up from crt0.S.
22798
22799 2001-11-26 Fernando Nasser <fnasser@redhat.com>
22800
22801 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
22802 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
22803 to a local (non-static) variable. Copy tstruct.a to a static buffer
22804 and return a pointer to that buffer.
22805 * gdb.base/callfwmall.c (t_structs_a): Ditto.
22806
22807 2001-11-24 Mark Kettenis <kettenis@gnu.org>
22808
22809 * gdb.asm/configure.in: Fix recognition of ix86 target.
22810 * gdb.asm/configure: Regenerate.
22811
22812 2001-11-21 Michael Snyder <msnyder@redhat.com>
22813
22814 * gdb.asm/sparc.inc: New file.
22815 * gdb.asm/asm-source.exp: Recognize sparc target.
22816 * gdb.asm/configure.in: Recognize sparc target.
22817 * gdb.asm/configure: Regenerate.
22818
22819 2001-11-21 Michael Snyder <msnyder@redhat.com>
22820
22821 * gdb.asm/m32r.inc: New file.
22822 * gdb.asm/asm-source.exp: Recognize m32r target.
22823 * gdb.asm/configure.in: Recognize m32r target.
22824 * gdb.asm/configure: Regenerate.
22825
22826 2001-11-20 Michael Snyder <msnyder@redhat.com>
22827
22828 * gdb.asm/i386.inc: New file.
22829 * gdb.asm/asm-source.exp: Recognize ix86 target.
22830 * gdb.asm/configure.in: Recognize ix86 target.
22831 * gdb.asm/configure: Regenerate.
22832
22833 * gdb.c++/namespace.exp: Fix quotes in output messages.
22834
22835 2001-11-14 Michael Snyder <msnyder@redhat.com>
22836
22837 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
22838 qualifier in a type cast expression, to designate an address
22839 in the instruction space (Harvard architecture).
22840
22841 2001-11-13 Michael Snyder <msnyder@redhat.com>
22842
22843 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
22844 Tests for expressions using 'const' and 'volatile'.
22845
22846 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
22847
22848 * gdb.asm/asm-sources.exp: Allow defining linker flags.
22849
22850 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
22851
22852 * lib/mi-support.exp (mi_run_to_helper): Move comments
22853 outside of gdb_expect.
22854
22855 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
22856
22857 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
22858 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
22859 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
22860 mi0_run_to): New functions.
22861 * gdb.mi/mi-simplerun.exp: Use them.
22862 * gdb.mi/mi0-simplerun.exp: Likewise.
22863 * gdb.mi/mi-var-cmd.exp: Likewise.
22864 * gdb.mi/mi0-var-cmd.exp: Likewise.
22865
22866 2001-11-10 Andrew Cagney <ac131313@redhat.com>
22867
22868 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
22869 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
22870
22871 2001-11-09 Andrew Cagney <ac131313@redhat.com>
22872
22873 * gdb.base/restore.exp: Include $expected value in restored test
22874 message.
22875
22876 2001-11-09 Andrew Cagney <ac131313@redhat.com>
22877
22878 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
22879 implemented.
22880
22881 2001-11-08 Michael Snyder <msnyder@redhat.com>
22882
22883 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
22884 Add pass/fail message for stop at breakpoint in call dummy function.
22885
22886 2001-11-07 Michael Snyder <msnyder@redhat.com>
22887
22888 * gdb.c++/templates.exp (test_template_breakpoints):
22889 If we get an overload menu, but it does not match what
22890 we expect, we still need to issue the "cancel" command.
22891 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
22892 making the whitespace optional. Argument for "new" may be
22893 "unsigned" as well as "unsigned int/long".
22894 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
22895 making the whitespace optional. Also replace "(void) with
22896 "((void|)), making the keyword "void" optional.
22897 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
22898 making the whitespace optional. Also replace "(void) with
22899 "((void|)), making the keyword "void" optional.
22900 * gdb.base/callfuncs.c (t_float_values): This function must
22901 _not_ be prototyped, and the following function (t_float_values2)
22902 must be prototyped (if the compiler supports it), so that GDB
22903 can be tested against both cases. Usually one case involves
22904 promotion of float to double, while the other does not.
22905 * gdb.base/callfwmall.c: Ditto.
22906 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
22907 includes a stack frame for "start".
22908
22909 2001-11-05 Jim Blandy <jimb@redhat.com>
22910
22911 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
22912 pointers are 32 bits long, and that offsets of relocs are always
22913 stored in the data (REL-style), and not in the reloc entry itself
22914 (RELA-style).
22915 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
22916 stabs.
22917
22918 2001-11-01 Michael Snyder <msnyder@redhat.com>
22919
22920 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
22921 and regular expression operators by using quoting.
22922
22923 2001-10-31 Michael Snyder <msnyder@redhat.com>
22924
22925 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
22926 depending on what the symbol table contains.
22927 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
22928 the output of the ptype command. Similarly, accept both "const &"
22929 and "const&".
22930
22931 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
22932
22933 * gdb.base/miscexprs.c (main): Add usage of preprocessor
22934 symbol `STORAGE' to allow to choose the storage class of
22935 the local datastructures.
22936 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
22937 compiler directive.
22938
22939 2001-10-30 Michael Snyder <msnyder@redhat.com>
22940
22941 * gdb.base/jump.exp: Allow it to run for all targets.
22942
22943 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
22944
22945 * gdb.base/call-ar-st.c (print_double_array): Match for loop
22946 with new double_array size.
22947 (main): Change storage class of all local variables to static.
22948 Reduce size of double_array to 9.
22949 * gdb.base/call-ar-st.exp: Increase timeout value.
22950 Change expected output for double array to match new size in
22951 call-ar-st.c.
22952
22953 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
22954
22955 * gdb.base/ending-run.exp: Create identical output when passing
22956 `step to end of run' case. Add regular expression branch satisfying
22957 Stormy16 target.
22958
22959 2001-10-28 Mark Kettenis <kettenis@gnu.org>
22960
22961 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
22962 that we catch the expected failure under Linux/x86.
22963
22964 2001-10-29 Orjan Friberg <orjanf@axis.com>
22965
22966 * gdb.base/setvar.exp: Escape curly braces.
22967 * gdb.stabs/weird.exp: Ditto.
22968
22969 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
22970
22971 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
22972 * gdm.mi/mi0-hack-cli.exp: Likewise.
22973
22974 2001-10-25 Andrew Cagney <ac131313@redhat.com>
22975
22976 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
22977 messages.
22978
22979 2001-10-21 Andrew Cagney <ac131313@redhat.com>
22980
22981 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
22982 checking MI enabled.
22983
22984 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
22985
22986 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
22987
22988 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
22989
22990 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
22991 if gdb child process crashes, just signal an error.
22992
22993 2001-10-02 Jim Blandy <jimb@redhat.com>
22994
22995 * lib/gdb.exp (test_xfail_format): Simplify.
22996
22997 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
22998 front of the variable name `format'. Simplify `if'.
22999
23000 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
23001
23002 * gdb.threads/pthreads.exp: Wait for output and delay
23003 before sending ^C.
23004
23005 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
23006
23007 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
23008 some incorrect output instead of timing out.
23009 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
23010
23011 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
23012
23013 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
23014 check to allow additional `int'.
23015
23016 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
23017
23018 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
23019 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
23020
23021 2001-09-27 Michael Snyder <msnyder@redhat.com>
23022
23023 * lib/gdb.exp (test_debug_format): New proc.
23024 (setup_xfail_format): Use new proc test_debug_format.
23025 * gdb.base/constvars.exp (local_compiler_xfail_check): New
23026 proc; use new service proc test_debug_format.
23027 Replace all other "gcc_compiled" tests with this test.
23028 * gdb.base/volatile.exp (local_compiler_xfail_check): New
23029 proc; use new service proc test_debug_format.
23030 Replace all other "gcc_compiled" tests with this test.
23031
23032 2001-09-27 Michael Snyder <msnyder@redhat.com>
23033
23034 * gdb.base/cvexpr.exp: New file.
23035 * gdb.base/cvexpr.c: New file
23036 Test for expressions using const and volatile keywords.
23037
23038 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
23039
23040 * gdb.base/constvars.exp: Check for different orders of keywords
23041 and additional "int" strings in output.
23042
23043 2001-09-22 Andrew Cagney <ac131313@redhat.com>
23044
23045 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
23046 responses from "help maint".
23047
23048 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
23049
23050 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
23051 to localhost:NNN instead of :NNN, in case Xvfb is listening
23052 only on TCP.
23053
23054 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
23055
23056 * gdb.base/recurse.exp: When checking leaving the watchpoint
23057 scope, recognize when gdb is in function's epilogue and pass.
23058
23059 2001-09-18 Keith Seitz <keiths@redhat.com>
23060
23061 * lib/insight-support.exp (_gdbtk_export_target_info): Add
23062 support for running tests against sid targets.
23063 (gdbtk_done): Ditto.
23064
23065 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
23066
23067 * gdb.base/ending-run.c (main): Set stdout buffersize
23068 to the same reasonable value for any target.
23069 * gdb.base/ending-run.exp: Add a regular expression
23070 to make testsuite happy on Sanyo Stormy16 target.
23071
23072 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
23073
23074 * gdb.base/display.c (do_loops): Add float variable `f'.
23075 Increment f in loop.
23076 * gdb.base/display.exp: Increment timeout by 60 seconds.
23077 Change float display test to use variable `f'.
23078
23079 2001-09-17 Jim Blandy <jimb@redhat.com>
23080
23081 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
23082 overflowing the limited breakpoint tables on some ROM monitors
23083 (like the ROM68K).
23084
23085 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
23086
23087 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
23088 the "-ac" (disable access control) flag.
23089
23090 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
23091
23092 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
23093 ints.
23094
23095 2001-08-30 Keith Seitz <keiths@redhat.com>
23096
23097 * lib/gdb.exp: Move all insight-related functionality into
23098 separate file.
23099 * lib/insight-support.exp: New file.
23100
23101 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
23102
23103 * config/sid.exp (sid_start): Never set sid verbosity; disable
23104 expect_background {} that consumed its stdout; tolerate </dev/null.
23105 Attempt to set endianness override in "sid" protocol mode. Cleanup.
23106
23107 2001-08-18 Andrew Cagney <ac131313@redhat.com>
23108
23109 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
23110 CLI jump command to start it.
23111 (mi_run_to_main): Fail immediatly when unexpected output.
23112
23113 2001-08-18 Andrew Cagney <ac131313@redhat.com>
23114
23115 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
23116 beginning of function. Fix PR gdb/191.
23117
23118 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
23119
23120 * config/sid.exp (sid_start): Don't warn if we cannot figure out
23121 what to force sid endianness to.
23122
23123 2001-08-15 Keith Seitz <keiths@redhat.com>
23124
23125 * lib/gdb.exp (gdbtk_start): Don't set environment
23126 variables for TCL_LIBRARY and friends. Insight will
23127 now figure these out for itself.
23128
23129 2001-08-02 Michael Snyder <msnyder@redhat.com>
23130
23131 * gdb.base/completion.exp: Remove the symbol "a64l" from
23132 the expect string; this is target-specific, and not related
23133 to what is being tested.
23134
23135 2001-08-02 Dave Brolley <brolley@redhat.com>
23136
23137 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
23138
23139 2001-07-25 Michael Snyder <msnyder@redhat.com>
23140
23141 * gdb.base/consecutive.exp: New file. Test stepping over
23142 breakpoints on consecutive instructions.
23143 * gdb.base/consecutive.c: New file.
23144
23145 * gdb.base/call-rt-st.exp: Use double-backslash to quote
23146 curly braces in regular expressions.
23147
23148 2001-07-25 Michael Snyder <msnyder@redhat.com>
23149
23150 * gdb.base/ending-run.exp: Accept "Program exited normally" as
23151 legitimate output from stepping out of main.
23152
23153 2001-07-22 Keith Seitz <keiths@redhat.com>
23154
23155 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
23156 the empty string, do not run the tests.
23157
23158 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23159
23160 * gdb.base/long_long.exp: Detect size of pointer. Take into
23161 account 2-byte pointers when testing for p/a results.
23162
23163 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23164
23165 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
23166 and defined to 1K for m68hc11.
23167 (random_data): Reduce table to 1K for embedded platforms (68hc11).
23168 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
23169 (sizeof_random_data): New variable to tell the size of the data table;
23170 don't test past this size; always run to main.
23171
23172 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23173
23174 * gdb.base/return2.exp: return of long long and double fails for
23175 68HC11; don't execute these tests on that platform.
23176 * gdb.base/return.exp: Return of a double fails for 68hc11.
23177
23178 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
23179
23180 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
23181 tests that print a float.
23182 * call-rt-st.exp: Likewise.
23183
23184 2001-07-12 Mark Kettenis <kettenis@gnu.org>
23185
23186 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
23187 running this test on Linux.
23188
23189 2001-06-24 Michael Chastain <chastain@redhat.com>
23190
23191 * gdb.base/arithmet.exp: Remove some tests to make all test names
23192 unique.
23193
23194 2001-07-03 Michael Snyder <msnyder@redhat.com>
23195
23196 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
23197 the output of the ptype command.
23198
23199 2001-07-02 Michael Snyder <msnyder@redhat.com>
23200
23201 * gdb.base/completion.exp: Don't assume that break.c is the only
23202 source file that may contain functions named "marker".
23203 * gdb.base/corefile.exp: Quote the curly braces in regexp.
23204
23205 2001-06-28 Andrew Cagney <ac131313@redhat.com>
23206
23207 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
23208 of files to delete.
23209
23210 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
23211 * gdb.disasm/h8300s.exp: New file.
23212 gdb.disasm/h8300s.s: Likewise.
23213
23214 2001-06-27 Andrew Cagney <ac131313@redhat.com>
23215
23216 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
23217 empty breakpoint tables.
23218
23219 2001-06-25 Andrew Cagney <ac131313@redhat.com>
23220
23221 * lib/mi-support.exp: Update args=... part of stop-reason
23222 patterns. Accept either a list or a tuple.
23223
23224 2001-06-23 Andrew Cagney <ac131313@redhat.com>
23225
23226 * lib/mi-support.exp: Remove local emacs variable defining
23227 change-log-default-name.
23228
23229 2001-06-22 Michael Chastain <chastain@redhat.com>
23230
23231 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
23232 This is operationally compatible with the previous version.
23233
23234 2001-06-13 Jim Blandy <jimb@redhat.com>
23235
23236 * lib/gdb.exp (gdb_test): Doc fix.
23237
23238 2001-06-10 Michael Chastain <chastain@redhat.com>
23239
23240 * gdb.base/exprs.exp: Remove a duplicate test.
23241
23242 2001-06-06 Jim Blandy <jimb@redhat.com>
23243
23244 * gdb.base/return2.exp (main): Use values to test float and double
23245 returns that are not NaN's, to avoid being confused by IEEE
23246 comparison rules.
23247
23248 2001-06-04 Michael Snyder <msnyder@redhat.com>
23249
23250 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
23251 non-zero if control_c fails. Terminate the test on failure,
23252 rather than wait for 12 more tests to time out.
23253
23254 2001-06-06 Jim Blandy <jimb@redhat.com>
23255
23256 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
23257 Don't forget to match the GDB prompt.
23258
23259 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
23260
23261 2001-06-04 Jim Blandy <jimb@redhat.com>
23262
23263 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
23264 command.
23265
23266 2001-05-31 Kevin Buettner <kevinb@redhat.com>
23267
23268 * gdb.base/annota1.exp (info break): Match four or more spaces
23269 after "Address".
23270
23271 2001-05-31 Michael Chastain <chastain@redhat.com>
23272
23273 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
23274 (dm_type_int_star): Likewise.
23275 (dm_type_long_star): Likewise.
23276 (dm_type_void_star): Likewise.
23277
23278 2001-05-29 Kevin Buettner <kevinb@redhat.com>
23279
23280 * gdb.base/completion.exp (INPUTRC): Set this environment variable
23281 to a known value in order to get consistent results regardless
23282 of the setting of INPUTRC or the presence or contents of .inputrc.
23283
23284 2001-05-24 Michael Snyder <msnyder@redhat.com>
23285
23286 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
23287 Don't require that the main thread and the manager thread are the
23288 first in the list.
23289
23290 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
23291 debugging. If test fails, issue an "unsupported" not a "fail".
23292
23293 2001-05-24 Jim Blandy <jimb@redhat.com>
23294
23295 Don't assume that short is shorter than int.
23296 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
23297 assume that shorts are smaller than ints. On a 16-bit machine,
23298 this isn't true.
23299 ("print unsigned char == (~0)"): Add test that verifies that ~0,
23300 an int, is not equal to ~0 stored in an unsigned char. This tests
23301 the same thing that the previous test meant to, but works on
23302 16-bit machines, too.
23303 ("print unsigned char != (~0)"): Same test, complemented.
23304
23305 2001-05-24 Michael Snyder <msnyder@redhat.com>
23306
23307 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
23308 test for (full_coverage == 0). This makes the test run faster,
23309 and prevents dejagnu getting out of step.
23310
23311 2001-05-23 Kevin Buettner <kevinb@redhat.com>
23312
23313 * gdb.base/finish.exp (finish_void): Revise pattern for
23314 stopping on the call statement to not permit stopping at
23315 the start of the instructions comprising the call sequence.
23316
23317 2001-05-19 Michael Chastain <chastain@redhat.com>
23318
23319 * gdb.base/callfuncs.exp: Make all test names unique.
23320 * gdb.base/commands.exp: Make all test names unique.
23321 * gdb.base/condbreak.exp: Make all test names unique.
23322 * gdb.base/dbx.exp: Make all test names unique.
23323 * gdb.base/default.exp: Make all test names unique.
23324 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
23325 and TIMEOUT messages to their corresponding PASS message.
23326 * gdb.base/ending-run.exp: Make all test names unique.
23327 * gdb.base/long_long.exp: Remove duplicate test.
23328
23329 2001-05-21 Kevin Buettner <kevinb@redhat.com>
23330
23331 * gdb.base/finish.exp (finish_void): Allow "finish" command to
23332 stop on the call statement as well as the statement after the
23333 call.
23334
23335 2001-05-21 Michael Snyder <msnyder@redhat.com>
23336
23337 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
23338
23339 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
23340
23341 * gdb.base/completion.exp: Revamp test. Make it execute on all
23342 platforms.
23343
23344 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
23345
23346 * config/gdbserver.exp (gdb_load): Handle the case
23347 in which the arguments to gdbserver are given in the
23348 baseboard configuration file.
23349 Also handle the case in which the server needs to do a
23350 load.
23351
23352 2001-05-07 Keith Seitz <keiths@cygnus.com>
23353
23354 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
23355 set up the display for testing.
23356 (gdbtk_start): Convert all paths to paths that tcl will like.
23357 Export target information to environment.
23358 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
23359 necessary.
23360 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
23361 (to_tcl_path): New proc to convert a given pathname into
23362 a path acceptible as an argument to a tcl command.
23363 (_gdbtk_export_target_info): New proc to export target info
23364 into the environment for gdbtk testing.
23365 (gdbtk_done): New proc to signal end-of-test.
23366
23367 2001-05-06 Jim Blandy <jimb@redhat.com>
23368
23369 * restore.c: Make the code of caller0 correspond to its comment.
23370
23371 2001-05-03 Michael Snyder <msnyder@redhat.com>
23372
23373 * config/sid.exp (gdb_target_sid): Check for error messages.
23374 On error or timeout, don't make expect exit (which will terminate
23375 all subsequent tests); instead just make gdb exit.
23376 (gdb_load): Check for error messages. On error or timeout,
23377 return a negative value.
23378
23379 2001-04-24 Jim Blandy <jimb@redhat.com>
23380
23381 * gdb.c++/templates.exp: If we see the prompt for the overload
23382 list, but we haven't recognized any of the longer patterns,
23383 arrange for this test to fail, not hang.
23384
23385 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
23386 variations.
23387
23388 2001-04-22 Michael Chastain <chastain@redhat.com>
23389
23390 * gdb.c++/local.exp: Use the 'runto' library function.
23391 * gdb.c++/namespace.exp: Likewise.
23392 * gdb.c++/overload.exp: Likewise.
23393
23394 2001-03-26 Kevin Buettner <kevinb@redhat.com>
23395
23396 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
23397 * gdb.base/step-line.exp: New file. Test step/next in presence of
23398 #line directives.
23399 * gdb.base/step-line.c: New file. Test program for the above.
23400 * gdb.base/step-line.inp: New file. We pretend that this file has
23401 been transformed by some other tool into step-line.c.
23402
23403 2001-03-21 Jim Blandy <jimb@redhat.com>
23404
23405 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
23406 unmangled operator names.
23407
23408 2001-03-20 Jim Blandy <jimb@redhat.com>
23409
23410 * gdb.threads/linux-dp.exp: Recognize an additional message
23411 generated by GDB when it doesn't understand how to debug threads
23412 on the target system.
23413
23414 2001-03-19 Andrew Cagney <ac131313@redhat.com>
23415
23416 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
23417
23418 2001-03-12 Michael Chastain <chastain@redhat.com>
23419
23420 * gdb.c++/derivation.exp: Use the 'runto' library function.
23421
23422 2001-03-12 Michael Chastain <chastain@redhat.com>
23423
23424 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
23425
23426 2001-02-24 Michael Chastain <chastain@redhat.com>
23427
23428 * gdb.c++/ref-types.exp: Change handwritten code to library
23429 function 'runto'.
23430
23431 2001-03-16 Orjan Friberg <orjanf@axis.com>
23432
23433 * gdb.base/signals.exp: Set count to 0 explicitly.
23434
23435 2001-03-15 Mark Salter <msalter@redhat.com>
23436
23437 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
23438 (gdb_target_monitor): Add check of gdb_target_cmd return value.
23439 (gdb_load): Add support for additional target_info: gdb_download_size
23440 and gdb_load_timeout.
23441
23442 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
23443
23444 * gdb.base/annota1.exp: Move test of isnative to earlier in the
23445 file -- to prevent failing when the compile fails but we have no
23446 intention of running the tests anyway.
23447
23448 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
23449 tests if set.
23450
23451 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
23452 integers.
23453
23454 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
23455 * gdb.c++/namespace.exp: Ditto.
23456
23457 2001-03-07 Orjan Friberg <orjanf@axis.com>
23458
23459 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
23460 * gdb.base/pointers.exp: Relax pattern match of decimals.
23461
23462 2001-03-06 Kevin Buettner <kevinb@redhat.com>
23463
23464 * Makefile.in, config/abug.exp, config/cfdbug.exp,
23465 config/cpu32bug.exp, config/dve.exp, config/est.exp,
23466 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
23467 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
23468 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
23469 config/sh.exp, config/sid.exp, config/slite.exp,
23470 config/sparclet.exp, config/udi.exp, config/unknown.exp,
23471 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
23472 config/vxworks.exp, config/vxworks29k.exp,
23473 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
23474 gdb.base/all-bin.exp, gdb.base/annota1.exp,
23475 gdb.base/arithmet.exp, gdb.base/assign.exp,
23476 gdb.base/async.exp, gdb.base/attach.exp,
23477 gdb.base/bitfields.exp, gdb.base/bitops.exp,
23478 gdb.base/break.exp, gdb.base/call-ar-st.exp,
23479 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
23480 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
23481 gdb.base/commands.exp, gdb.base/completion.exp,
23482 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
23483 gdb.base/constvars.exp, gdb.base/corefile.exp,
23484 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
23485 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
23486 gdb.base/ending-run.exp, gdb.base/environ.exp,
23487 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
23488 gdb.base/finish.exp, gdb.base/foll-exec.exp,
23489 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
23490 gdb.base/funcargs.exp, gdb.base/help.exp,
23491 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
23492 gdb.base/logical.exp, gdb.base/long_long.exp,
23493 gdb.base/maint.exp, gdb.base/mips_pro.exp,
23494 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
23495 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
23496 gdb.base/pointers.exp, gdb.base/printcmds.exp,
23497 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
23498 gdb.base/regs.exp, gdb.base/relational.exp,
23499 gdb.base/remote.exp, gdb.base/reread.exp,
23500 gdb.base/restore.exp, gdb.base/return2.exp,
23501 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
23502 gdb.base/selftest.exp, gdb.base/setshow.exp,
23503 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
23504 gdb.base/sigall.exp, gdb.base/signals.exp,
23505 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
23506 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
23507 gdb.base/step-test.exp, gdb.base/structs.c,
23508 gdb.base/structs.exp, gdb.base/structs2.exp,
23509 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
23510 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
23511 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
23512 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
23513 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
23514 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
23515 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
23516 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
23517 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
23518 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
23519 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
23520 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
23521 gdb.fortran/types.exp, gdb.java/jmisc.exp,
23522 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
23523 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
23524 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
23525 gdb.trace/circ.exp, gdb.trace/collection.exp,
23526 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
23527 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
23528 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
23529 gdb.trace/report.exp, gdb.trace/save-trace.exp,
23530 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
23531 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
23532 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
23533 notices.
23534
23535 2001-02-27 Michael Snyder <msnyder@cygnus.com>
23536
23537 * gdb.base/varargs.c (find_max_double): Fix printf format string:
23538 first arg is int not float.
23539
23540 2001-02-22 Michael Snyder <msnyder@cygnus.com>
23541
23542 * gdb.base/reread.exp: Unsupported for non-native targets;
23543 doesn't work for remote debugging.
23544
23545 2001-02-19 Fernando Nasser <fnasser@redhat.com>
23546
23547 From Drew Moseley <dmoseley@redhat.com>
23548 * gdb.base/ending-run.exp: Properly handle the BSP state when
23549 stepping past the end of main.
23550
23551 2001-02-19 John Moore <jmoore@redhat.com>
23552
23553 * gdb.base/commands.exp (infrun_breakpoint_command_test):
23554 Converted HPUX fix for non-expected items following multiple
23555 step commands into general solution for all platforms.
23556
23557 2001-02-18 Michael Chastain <chastain@redhat.com>
23558
23559 * gdb.c++/classes.exp (do_tests): Change runto statements
23560 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23561 statements demangler agnostic.
23562 * gdb.c++/virtfunc.exp (do_tests): Likewise.
23563 (gdb_virtfunc_restart): Likewise.
23564
23565 2001-02-14 Michael Chastain <chastain@redhat.com>
23566
23567 * gdb.c++/inherit.exp (do_tests): Change runto statements
23568 from "runto 'foo(void)'" to "runto 'foo'". This makes the
23569 statements demangler agnostic.
23570
23571 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
23572
23573 * gdb.threads/pthreads.exp: Unify pass/fail messages for
23574 ``continue to bkpt at common_routine in thread 2'' and ``stopped
23575 before calling common_routine 15 times'' tests.
23576
23577 2001-02-11 Michael Chastain <chastain@redhat.com>
23578
23579 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
23580 Helps the test script figure out which demangler is in use.
23581 (dm_type_foo_ref): Ditto.
23582 (dm_type_int_star): Ditto.
23583 (dm_type_long_star): Ditto.
23584 (dm_type_unsigned_int): Ditto.
23585 (dm_type_void): Ditto.
23586 (dm_type_void_star): Ditto.
23587 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
23588 Probe the gdb demangler and set variables to accommodate
23589 formatting differences.
23590 (info_func_regexp): New function. Same as info_func, but
23591 matches against a regexp.
23592 (info_func): Match against a literal string.
23593 (print_addr_2): New function. Match against a literal string,
23594 which can be different from the input to gdb.
23595 (print_addr): Simply call print_addr_2 with the same argument twice.
23596 (test_lookup_operator_functions): Use demangler formatting variables.
23597 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
23598 the tests in the same order as the C++ class declaration.
23599 (test_paddr_operator_functions): Ditto.
23600 (test_paddr_overloaded_functions): Ditto.
23601 (test_paddr_hairy_functions): Use demangler formatting variables.
23602 Add reference to gdb/19 for related tests.
23603 (do_tests): Call probe_demangler.
23604
23605 2001-01-30 Kevin Buettner <kevinb@redhat.com>
23606
23607 * gdb.c++/templates.cc (printf): Remove unused function definition.
23608
23609 2001-01-26 Felix Lee <flee@redhat.com>
23610
23611 * sid.exp (sid_exit): Pass host, not target, to remote_close.
23612
23613 2001-01-25 matthew green <mrg@redhat.com>
23614
23615 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
23616 up sid.
23617 (sid_exit): Call `remote_pop_conn' after GDB is gone.
23618
23619 2001-01-25 matthew green <mrg@redhat.com>
23620
23621 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
23622 Deprecate $sid_spawn_id.
23623 (sid_exit): Remove code necessary only for `spawn.'
23624
23625 2001-01-25 matthew green <mrg@redhat.com>
23626
23627 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
23628
23629 2001-01-28 Michael Chastain <chastain@redhat.com>
23630
23631 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
23632 to call when tests fail. It takes gdb out of the overloaded
23633 function choice menu back to the main prompt, so that the test
23634 program stays synchronized.
23635 (set_bp_overloaded): New proc to collect all the common
23636 code for setting a breakpoint on an overloaded name. Calls
23637 take_gdb_out_of_choice_menu when needed.
23638 (menu_overload1arg): New variable to collect the repeated
23639 instances of the expected menu for an overloaded name. Change
23640 the regular expression to handle changes in g++ type encoding:
23641 "void" can be either "void" or "", and "unsigned int" can be
23642 either "unsigned int" or "unsigned".
23643 (continue_to_bp_overloaded): Change regular expressions to handle
23644 changes in g++ type encoding.
23645 (no proc): Call take_gdb_out_of_choice_menu when needed.
23646 Remove redundant calls to "info break". Accept either "canceled"
23647 or "cancelled". Change regular expressions in "info break"
23648 calls to handle changes in g++ type encoding. Give all tests
23649 unique strings.
23650
23651 2001-01-17 Ben Elliston <bje@redhat.com>
23652
23653 * config/sid.exp: New file.
23654
23655 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
23656
23657 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
23658
23659 2000-12-21 Michael Snyder <msnyder@cygnus.com>
23660
23661 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
23662 Add a RE to accept a non-ascii char if one is ever presented.
23663
23664 2000-12-20 Fernando Nasser <fnasser@redhat.com>
23665
23666 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
23667
23668 2000-12-18 Michael Snyder <msnyder@cygnus.com>
23669
23670 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
23671 in regexp. One '\' does not suffice on Linux.
23672
23673 2000-12-09 Michael Chastain <chastain@redhat.com>
23674
23675 * gdb.base/break.exp (test_clear_command): Use a marker function
23676 rather than 'main' for the test function. Also move this
23677 test to an execution point where the marker function names are
23678 guaranteed to be bound to functions. (Executing tests after a
23679 'finish' from main runs into name conflicts with local names
23680 in __libc_start_main).
23681
23682 2000-12-07 Michael Snyder <msnyder@cygnus.com>
23683
23684 * gdb.base/finish.exp: New test for gdb's "finish" command.
23685 * gdb.base/return2.exp: New test for gdb's "return" command.
23686 * gdb.base/return2.c: New source file for above.
23687
23688 2000-12-05 Michael Snyder <msnyder@cygnus.com>
23689
23690 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
23691 * gdb.base/miscexprs.exp: Ditto.
23692 * gdb.base/pointers.exp: Ditto.
23693 * gdb.c++/derivation.exp: Ditto.
23694 * gdb.c++/local.exp: Ditto.
23695 * gdb.c++/namespace.exp: Ditto.
23696 * gdb.c++/overload.exp: Ditto.
23697 * gdb.c++/ref-types.exp: Ditto.
23698
23699 2000-12-05 Michael Snyder <msnyder@cygnus.com>
23700
23701 * gdb.base/constvars.exp: Test result of "up" command.
23702 * gdb.base/miscexprs.exp: Ditto.
23703 * gdb.base/pointers.exp: Ditto.
23704 * gdb.base/scope.exp: Ditto.
23705 * gdb.c++/derivation.exp: Ditto.
23706 * gdb.c++/local.exp: Ditto.
23707 * gdb.c++/namespace.exp: Ditto.
23708 * gdb.c++/overload.exp: Ditto.
23709 * gdb.c++/ref-types.exp: Ditto.
23710
23711 2000-11-22 Michael Chastain <chastain@redhat.com>
23712
23713 * mips_pro.exp: Accept either "middle -> top -> main" or
23714 "middle -> main" in the backtrace, because gcc can optimize
23715 tail calls to jumps. Remove setup_xfail for the hppa case.
23716 Add a comment with the original warning messages from PR 3016,
23717 which was filed in 1993, to preserve them for posterity.
23718
23719 2000-11-17 Nick Duffek <nsd@redhat.com>
23720
23721 * lib/gdb.exp (gdb_test): Override timeout with board info.
23722
23723 2000-11-17 Nick Duffek <nsd@redhat.com>
23724
23725 * gdb.base/display.exp: Don't kill running stub. Add "again" to
23726 the second kill and detach messages.
23727
23728 2000-11-17 Nick Duffek <nsd@redhat.com>
23729
23730 * configure.in: Add AC_EXEEXT.
23731 * configure: Regenerate.
23732 * Makefile.in (just-check): Export EXEEXT.
23733 * lib/gdb.exp ($EXEEXT): Import from environment.
23734 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
23735 expect "maint dump-me" on Cygwin.
23736 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
23737 $EXEEXT.
23738
23739 2000-11-17 Nick Duffek <nsd@redhat.com>
23740
23741 * gdb.base/break.exp: Test backtrace and finish from called
23742 function on all platforms, not just HP-UX.
23743
23744 2000-11-03 Michael Snyder <msnyder@cygnus.com>
23745
23746 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
23747 code from gdb_target_monitor, so it can be used independantly
23748 for gdbserver. Also comment out an unnecessary PUTS.
23749
23750 2000-11-03 Michael Snyder <msnyder@cygnus.com>
23751
23752 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
23753 * gdb.base/corefile.exp: Expect the message "Program is being
23754 debugged already" when we send the "corefile" command, since
23755 the preceeding gdb_load may have connected gdb to a remote target.
23756 * gdb.base/display.exp: Disable hardware watchpoints if new
23757 board info variable "no_hardware_watchpoints" is true.
23758 Replace single-letter commands with more readable ones.
23759 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
23760 if new board info variable "no_hardware_watchpoints" is true.
23761 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
23762 to see if stdio (printf) testing is possible.
23763 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
23764 board info variable "no_hardware_watchpoints" is true. Use new
23765 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
23766
23767 2000-11-13 Fernando Nasser <fnasser@redhat.com>
23768
23769 From Orjan Friberg <orjanf@axis.com>:
23770 * gdb.base/printcmds.exp: Escape curly braces followed by a number
23771 in array print pattern match.
23772
23773 2000-11-09 Fernando Nasser <fnasser@redhat.com>
23774
23775 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
23776 spelling "cancelled" to U.S. spelling "canceled" to match changes
23777 made to gdb.
23778 * gdb.c++/ovldbreak.exp: Ditto.
23779
23780 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
23781
23782 * gdb.base/callfuncs.c (main): Moved to end of file, call
23783 t_double_values to initialize the FPU before inferior calls are made.
23784 * gdb.base/callfuncs.exp: Test for register preservation after calling
23785 inferior functions. Add tests for continuining, finishing and
23786 returning from a stop in a call dummy.
23787
23788 2000-10-24 Michael Snyder <msnyder@cygnus.com>
23789
23790 * gdb.base/commands.exp: Break up long lines, and re-indent.
23791
23792 2000-10-19 Michael Snyder <msnyder@cygnus.com>
23793
23794 * config/gdbserver.exp: Rewritten from the ground up, to make it
23795 compatible with the current dejagnu tree, and to make it work with
23796 the new "gdbserver" in libremote.
23797
23798 2000-10-16 Michael Snyder <msnyder@cygnus.com>
23799
23800 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
23801 * gdb.base/varargs.exp: Skip entire test if no printf support.
23802 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
23803 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
23804
23805 2000-10-13 Michael Snyder <msnyder@cygnus.com>
23806
23807 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
23808 no floating point support.
23809 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
23810 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
23811 * gdb.base/call-rt-st.exp: Ditto.
23812 * gdb.base/call-strs.exp: Ditto.
23813
23814 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
23815
23816 * gdb.base/sizeof.c: include <stdio.h>.
23817
23818 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
23819 'finish', otherwise uncaptured gdb_prompt would potentially
23820 throw remaining test points out of sync.
23821
23822 2000-07-26 Scott Bambrough <scottb@netwinder.org>
23823
23824 * gdb.base/recurse.exp: Run tests for all targets.
23825 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
23826 gnu-oldld case on ARM.
23827 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
23828 for ARM targets.
23829
23830 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
23831
23832 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
23833 * gdb.java/configure: Rebuild.
23834
23835 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
23836
23837 * gdb.java/jv-exp.exp: New file.
23838
23839 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
23840
23841 * configure: Rebuilt.
23842 * configure.in (configdirs): Add gdb.java.
23843 * gdb.java/jmisc.java: New file.
23844 * gdb.java/jmisc.exp: New file.
23845 * gdb.java/Makefile.in: New file.
23846 * gdb.java/configure: Rebuilt.
23847 * gdb.java/configure.in: New file.
23848 * lib/java.exp: New file.
23849
23850 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
23851
23852 * gdb.base/exprs.exp: Test casts to a pointer including over and
23853 underflow.
23854
23855 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
23856
23857 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
23858 and the compilers sizes.
23859
23860 2000-07-09 Nick Duffek <nsd@redhat.com>
23861
23862 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
23863 (use_methods): New function.
23864 (main): Call use_methods().
23865 * gdb.c++/classes.exp (test_method_param_class): New procedure.
23866 (do_tests): Call test_method_param_class.
23867
23868 2000-07-09 Nick Duffek <nsd@redhat.com>
23869
23870 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
23871 spelling.
23872 (test_enums): New procedure. Move enum tests from end of script
23873 to here. Set breakpoint on function name instead of line number.
23874 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
23875 (enums2): New marker function.
23876 (enums1): New function.
23877 (main): Call enums1(). Move enum tests to enums1().
23878
23879 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
23880
23881 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
23882 compile/link program. Update line numbers.
23883 * gdb.asm/d10v.inc: Define ``startup''.
23884 * gdb.asm/asmsrc1.s: Add definition of _start.
23885
23886 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
23887
23888 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
23889
23890 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23891
23892 * gdb.base/maint.exp: Add 'maint print architecture' item to output
23893 of 'help maint print' command.
23894
23895 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
23896
23897 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
23898 they use gdb_expect_list.
23899
23900 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
23901
23902 * gdb.base/commands.exp: Use ``set remote
23903 memory-read-packet-size'' instead of ``set endian big'' to test
23904 long commands.
23905
23906 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
23907
23908 * gdb.c++/templates.exp (do_tests): Make all of these work under
23909 g++, and stop skipping them.
23910
23911 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
23912 work under g++.
23913
23914 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
23915 initialization.
23916
23917 2000-06-02 Michael Snyder <msnyder@cygnus.com>
23918
23919 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
23920 the regular expression: accept an (almost) arbitrary sequence of
23921 "frames-invalid" and "breakpoints-invalid" messages both before
23922 and after the "starting" message.
23923
23924 2000-06-02 Michael Snyder <msnyder@cygnus.com>
23925
23926 * gdb.c++/local.exp: This test has never been known to work with g++.
23927
23928 2000-05-18 Michael Snyder <msnyder@cygnus.com>
23929
23930 * gdb.base/annota1.exp (annotate-signal-handler-caller):
23931 Relax the regular expression a little, make it pass on Solaris 8.
23932
23933 2000-05-12 Kevin Buettner <kevinb@redhat.com>
23934
23935 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
23936 a call, do not require that gdb stop on the line after the call.
23937 Instead, it is permissible for gdb to stop on the line of the
23938 call itself.
23939
23940 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
23941
23942 * gdb.base/break.exp (bp on small function, optimized file):
23943 Add a second pass pattern. The behavior differs here between stabs
23944 and dwarf for one-line functions. Stabs preserves two line symbols
23945 (one before the prologue and one after) with the same line number,
23946 but dwarf regards these as duplicates and discards one of them.
23947 Therefore the address after the prologue (where the breakpoint is)
23948 has no exactly matching line symbol, and GDB reports the breakpoint
23949 as if it were in the middle of a line rather than at the beginning.
23950
23951 2000-05-08 Michael Snyder <msnyder@cygnus.com>
23952
23953 * gdb.base/interrupt.exp: Make "pass" message say "send"
23954 rather than "send_gdb" (for consistancy).
23955
23956 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
23957
23958 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
23959 * gdb.c++/templates.cc: Properly check for GCC version number.
23960 * lib/compiler.cc: Likewise
23961
23962 2000-04-28 Michael Snyder <msnyder@cygnus.com>
23963
23964 * gdb.base/break.exp: When compiled with -O2 optimization,
23965 gdb may not stop at the first line of main, due to code motion.
23966
23967 2000-04-26 Michael Snyder <msnyder@cygnus.com>
23968
23969 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
23970 This test depends on parsing the printf output from the target.
23971 Since the sparclet stub doesn't do stdio, this will never work.
23972 * gdb.base/call-rt-st.exp: ditto.
23973 * gdb.base/call-strs: ditto.
23974
23975 2000-04-24 Michael Snyder <msnyder@cygnus.com>
23976
23977 * gdb.base/miscexprs.exp: make sizeof long array test portable.
23978
23979 * gdb.base/ending-run.exp: After connecting to a remote target,
23980 but before running, the target will appear to be in a random
23981 location. Specify both a file and a line for breakpoints.
23982 Also, the function that calls main may be called 'init'
23983 rather than 'start'.
23984
23985 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
23986
23987 * gdb.base/help.exp: Update output for add-symbol-file command.
23988
23989 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
23990
23991 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23992 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
23993
23994 2000-04-07 J.T. Conklin <jtc@redback.com>
23995
23996 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
23997
23998 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
23999
24000 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
24001
24002 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
24003 values that can be represented exactly.
24004 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
24005 above change, and to not check against the directory part of the source
24006 file name.
24007 (step into print_long_arg_list): Likewise.
24008 (print print_small_structs from print_long_arg_list): Likewise.
24009 (print print_long_arg_list): Likewise.
24010
24011 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24012
24013 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
24014
24015 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
24016
24017 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
24018
24019 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
24020
24021 * gdb.base/commands.exp (deprecated_command_test): Add test for
24022 deprecate with no arguments.
24023
24024 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
24025
24026 * gdb.base/break.exp: Add new test for setting breakpoints on
24027 optimized code so we can test breakpoints work even when function
24028 prologues may be optimized away
24029
24030 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
24031
24032 From David Whedon <dwhedon@gordian.com>
24033 * gdb.base/commands.exp : Added command deprecator tests.
24034
24035 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
24036
24037 * gdb.base/help.exp: Added test for new apropos command.
24038
24039 2000-03-21 Kevin Buettner <kevinb@redhat.com>
24040
24041 * gdb.base/pointers.c (usevar): New function.
24042 (main): Make sure that global variables v_int_pointer2, rptr,
24043 and y are all referenced someplace in the program by calling
24044 usevar() on them. [Some linkers delete symbols which are
24045 never referenced. The space remains, but there's no way to
24046 get a (symbolic) handle on the variable from the debugger.]
24047
24048 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24049
24050 * gdb.base/printcmds.c: Add typedeffed arrays.
24051
24052 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
24053 procedure to test arrays that are typedef'd.
24054
24055 2000-03-13 James Ingham <jingham@leda.cygnus.com>
24056
24057 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
24058 the library directories.
24059
24060 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
24061
24062 * configure.in (configdirs): Add sub directory gdb.mi.
24063 * configure: Re-generate.
24064
24065 * gdb.mi: New directory.
24066
24067 2000-02-25 Scott Bambrough <scottb@netwinder.org>
24068
24069 * gdb.base/long_long.exp: Correct test suite failure when printing
24070 a long long value as a double on ARM platforms.
24071
24072 2000-02-16 Jim Blandy <jimb@redhat.com>
24073
24074 * gdb.base/break.exp ("breakpoint line number"): Make sure the
24075 default source file is set properly before running this test.
24076
24077 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24078
24079 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
24080 gdbtk/library directory, not in gdbtcl2.
24081
24082 2000-02-04 Jim Blandy <jimb@redhat.com>
24083
24084 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
24085 backslash from regexp pattern.
24086
24087 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
24088 procedure. Use it to run all the "continue to bp overloaded"
24089 tests. Note that this changes the names of the tests slightly.
24090 If the breakpoint hit message includes a hex PC value, because
24091 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
24092 from the real source code, still consider that a pass.
24093
24094 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
24095 XFAIL here if the breakpoint message contains a hex address. Note
24096 similar change on 1999-11-02.
24097
24098 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
24099
24100 * gdb.base/ptype.exp: Establish a default source file before
24101 calling get_debug_format.
24102
24103 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
24104
24105 * gdb.base/watchpoint.exp: Remove duplication of test messages.
24106
24107 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24108
24109 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
24110 of successive stepi commands -- while in the prologue we should see
24111 the function entry bracket.
24112
24113 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
24114
24115 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
24116 reach __change_mode() when stepping through the end of main().
24117
24118 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
24119
24120 * gdb.base/default.exp: Fix expected pattern.
24121 * gdb.base/help.exp: Same.
24122
24123 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24124
24125 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
24126 Don't use xfail's because that affects only the following test.
24127
24128 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
24129 solaris or linux.
24130
24131 * gdb.base/selftest.exp: Update to reflect changes to main.c.
24132
24133 2000-01-07 Michael Snyder <msnyder@cygnus.com>
24134
24135 * gdb.base/display.exp: Some yacc parsers like to say
24136 "A syntax error" rather than "A parse error". Accept both.
24137
24138 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
24139
24140 * gdb.base/default.exp: Remove OS dependent string from "target
24141 remote" test.
24142 * gdb.base/help.exp: Same for "help target remote" test.
24143
24144 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24145
24146 From Jim Kingdon <kingdon@redhat.com>:
24147
24148 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
24149 prompt (cleanup rather than necessity, but still might keep output
24150 from spilling to next test).
24151
24152 2000-01-02 Fred Fish <fnf@cygnus.com>
24153
24154 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
24155 AIX, which defines them in <sys/types.h>.
24156
24157 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
24158
24159 * gdb.base/default.exp: Match arm* etc instead of arm in "info
24160 float" test.
24161
24162 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
24163
24164 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
24165
24166 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
24167 outermost frame disallowed".
24168
24169 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
24170
24171 * gdb.base/setvar.exp: New tests for setting the value of a struct
24172 with a constant list.
24173
24174 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24175
24176 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
24177 require the user to type a cast before setting the value of a struct.
24178
24179 1999-12-06 Jim Blandy <jimb@cygnus.com>
24180
24181 * gdb.base/default.exp: Expect the new 'info float' command on
24182 all i386 platforms.
24183
24184 * gdb.threads/linux-dp.exp: Expand our ability to recognize
24185 LinuxThreads libraries that don't support debugging.
24186
24187 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24188
24189 * gdb.base/remote.c: Fill the buffer with truely random data.
24190 Change the buffer type to ``unsigned char'' to simplify size
24191 arithmetic.
24192
24193 * gdb.base/remote.exp: Reduce download numbers by one. Typical
24194 stub only handles 400-1 byte packets. Verify that the download
24195 worked.
24196
24197 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
24198
24199 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
24200 tests, using UNRESOLVED for the untested cases. Also, does not wait
24201 for a timeout if the prompt was received before a recognizable pattern.
24202
24203 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
24204
24205 * lib/gdb.exp (gdb_expect_list): Fix spelling.
24206
24207 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24208
24209 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
24210 watchpoints.
24211
24212 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
24213
24214 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
24215
24216 * gdb.c++/local.exp: Be more flexible in recognizing local class
24217 name mangling. Don't allow horribly truncated method names.
24218 * gdb.c++/derivation.exp: Expect protected inheritance.
24219 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
24220 * gdb.c++/virtfunc.exp: Likewise.
24221 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
24222 when printing a nested enum.
24223
24224 1999-11-22 Jim Blandy <jimb@cygnus.com>
24225
24226 * gdb.base/step-test.exp: Properly await GDB's response to setting
24227 a breakpoint on the call to large_struct_by_value.
24228
24229 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
24230 just because we have debug info for the `start' function.
24231
24232 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
24233
24234 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
24235 "Unknown signal" messages, which indicate (on LinuxThreads) that
24236 GDB doesn't know how to debug threads on this system. This is
24237 better than hanging while philosopher 0 dumps chatter into gdb.log.
24238
24239 1999-11-18 Tom Tromey <tromey@cygnus.com>
24240
24241 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
24242
24243 1999-11-18 Fred Fish <fnf@cygnus.com>
24244
24245 * gdb.base/coremaker2.c: Add sample program for generating
24246 cores that is more self contained than coremaker.c. Eventually
24247 I'll add more code to this and tie it into the testsuite.
24248
24249 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
24250
24251 * gdb.base/dollar.exp: Remove, now in gdb.hp.
24252
24253 1999-11-10 Jimmy Guo <guo@cup.hp.com>
24254
24255 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
24256 from $srcdir/lib/.
24257 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
24258 and gdb.c++/.
24259
24260 * gdb.c++/derivation.exp: remove redundant get compiler info code.
24261
24262 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
24263 'continue with watch' test point.
24264
24265 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
24266
24267 Merged from p2linux-990323-branch:
24268
24269 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
24270
24271 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
24272
24273 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
24274 {limit,fixed}''. Test ``set download-write-size''.
24275
24276 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
24277
24278 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
24279 gdb_expect_list.
24280
24281 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
24282
24283 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
24284
24285 1999-11-03 Mark Salter <msalter@cygnus.com>
24286
24287 * gdb.base/break.exp: Fix "stub continue" pattern.
24288
24289 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
24290
24291 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
24292
24293 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
24294
24295 * gdb.base/display.exp ("finish"): Add timeout clause.
24296
24297 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
24298 plain prompt clause, so this doesn't have to time out in order to
24299 fail.
24300
24301 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
24302 breakpoint hit messages include an address.
24303
24304 * gdb.base/display.exp: Don't forget to escape parens in regular
24305 expressions. Unix regexp notatation sucks.
24306
24307 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24308
24309 * gdb.base/annota1.exp: Test for annotate-signalled: change output
24310 order for 'signalled' message.
24311
24312 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
24313
24314 From Jimmy Guo <guo@cup.hp.com>:
24315 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
24316 * gdb.base/annota1.c: Add code for tests to work with.
24317
24318 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
24319
24320 * gdb.base/remote.exp: New test for remote downloading settings.
24321 * gdb.base/remote.c: New file with large .data.
24322
24323 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
24324
24325 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
24326 for LinuxThreads support, merged from the Code Fusion branch.
24327
24328 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
24329
24330 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
24331 containing exp_continue into a while within an expect. Don't
24332 attempt a start more than three times. Check return value from
24333 gdb_load.
24334
24335 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
24336
24337 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
24338 a pass case.
24339
24340 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
24341
24342 * gdb.base/break.c (main): Added a statement that we can step
24343 off of.
24344 * gdb.base/break.exp: Added tests for setting a breakpoint
24345 at an offset and stepping onto a breakpoint.
24346
24347 1999-10-01 Fred Fish <fnf@cygnus.com>
24348
24349 * gdb.base/help.exp (help add-symbol-file): Update to match current
24350 gdb output.
24351
24352 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
24353
24354 * gdb.base/break.exp: Code locations are in hex, don't forget!
24355 (For HP-UX.)
24356
24357 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
24358
24359 * condbreak.exp: Use break.c as test program.
24360 * condbreak.c: Remove, redundant with break.c.
24361
24362 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
24363
24364 * config/monitor.exp (gdb_target_monitor): Disable X- and
24365 Z-packets if the target needs it.
24366
24367 1999-09-13 James Ingham <jingham@leda.cygnus.com>
24368
24369 * gdb.c++/overload.exp: Added tests for listing overloaded
24370 functions with function pointers in the arg, explicitly calling
24371 out the version you want.
24372
24373 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
24374
24375 * long_long.exp: Add variations of test cases that work for
24376 targets with 16-bit ints and 32-bit doubles.
24377
24378 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
24379
24380 * break.c (main): Compare a possibly-uninitialized argc with an
24381 unlikely value that fits in 16 bits.
24382
24383 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
24384
24385 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
24386 0xfeeb, don't want negative numbers if ints are 16 bits.
24387
24388 * lib/gdb.exp (skip_cplus_tests): New proc.
24389 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
24390 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
24391 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
24392 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
24393 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
24394 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
24395 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
24396 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
24397
24398 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
24399
24400 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
24401
24402 * gdb.base/corefile.exp (up): Allow a parameter to appear
24403 in the frame that we're going up to.
24404
24405 From Jim Blandy <jimb@cygnus.com>:
24406
24407 * gdb.base/default.exp (info float): Expect some output now.
24408
24409 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
24410 returning floating-point values to fail on the x86.
24411 * gdb.base/callfwmall.exp (do_function_calls): Same.
24412
24413 * gdb.base/list.exp (test_listsize): Correct expectations for
24414 listing line 1 with listsize 2. Also, listing a single line
24415 works now, as does listing three lines. [Kevin's note: There
24416 were a number of other cases fixed too where the expectations
24417 differed...]
24418
24419 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
24420
24421 * gdb.base/selftest.exp: Add case for when version prints as
24422 constant string instead of char pointer.
24423
24424 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
24425
24426 * gdb.base/ending-run.exp: Add Solaris case for what happens when
24427 stepping out of main.
24428
24429 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
24430 G++ used.
24431
24432 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
24433 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
24434
24435 * gdb.c++/ovldbreak.exp: Update match string in test that
24436 includes a warning of multiple breakpoints.
24437
24438 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
24439
24440 * gdb.base/display.exp: Improve precision of step-after-finish
24441 added yesterday.
24442
24443 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
24444 test.
24445
24446 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
24447 configs when using G++, not just hppa*.
24448
24449 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24450
24451 * gdb.base/async.c: New file.
24452 * gdb.base/async.exp: New file.
24453
24454 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
24455
24456 * gdb.base/break.exp: Tweak PA specific tests to properly handle
24457 PA64.
24458
24459 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
24460
24461 * gdb.base/display.exp: "finish" can leave us mid-line on many
24462 targets, deal with it. Add a small constant to main, instead of
24463 1000 since main+1000 may not be a valid address in the target.
24464
24465 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
24466 on hpux11.
24467
24468 * gdb.base/attach.exp: Handle another hpux11 error message variant
24469 when attaching to a process that does not exist.
24470
24471 1999-08-19 J.T. Conklin <jtc@redback.com>
24472
24473 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
24474 characters in 'continue to 1241' test.
24475
24476 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
24477
24478 * gdb.base/call-ar-st.exp: Add a shorter match case for the
24479 stop in print_long_arg_list, define and use a whitespace
24480 variable in print_small_structs test, add an XFAIL for Solaris.
24481 * gdb.base/dbx.exp: XFAIL func commands until somebody is
24482 interested enough to fix.
24483
24484 1999-08-13 Keith Seitz <keiths@cygnus.com>
24485
24486 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
24487 (dbx_gdb_load): Remove. Use gdb_load instead, since that
24488 proc knows about targets other than the natives.
24489 (test_assign): Use "gdb_run_cmd" to "run" the target.
24490 Check that we've actually hit the breakpoint at main.
24491 When we attempt to assign a value to a local variable, check
24492 that the variable is in the current scope, i.e., don't use
24493 a test with an empty result.
24494
24495 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
24496
24497 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
24498 command.
24499
24500 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
24501
24502 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24503 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
24504 gdb.compat, gdb.threads-hp.
24505 gdb.hp/configure, gdb.hp/configure.in: New files.
24506 gdb.hp/Makefile.in: Recurse into new subdirs.
24507 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
24508 gdb.hp/gdb.objdbg: New directory, tests for debugging info
24509 in object files.
24510 gdb.hp/tools: New directory, aux tools for HP-specific tests.
24511
24512 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
24513
24514 * gdb.base/display.exp: Help expect by putting a newline in the
24515 funky printf, remove a bogus p/a test.
24516
24517 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24518
24519 * gdb.base/display.exp: Make sure that when we say 'run', we are
24520 connected to the target. This is necessary when running not
24521 natively.
24522
24523 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
24524
24525 * gdb.base/step-test.exp: Removed some extraneous messages.
24526
24527 * gdb.base/long_long.exp: Don't run memory examination tests
24528 on little-endian targets (they will need a different set of
24529 results to match).
24530
24531 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
24532
24533 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
24534 until somebody decides to fix GDB.
24535
24536 * gdb.base/long_long.c: Stop compiler complaint by specifying long
24537 constant as "ULL".
24538 * gdb.base/long_long.exp: Loosen x/c test, add partial result
24539 matches for a couple x/2 commands.
24540
24541 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
24542
24543 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
24544 by merging in ref-types2 tests.
24545 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
24546
24547 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24548 * gdb.c++/Makefile.in: Add standard actions.
24549 (EXECUTABLES): Rename from PROGS, update list.
24550 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
24551 from gdb.hp.
24552 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
24553 foo and bar locals.
24554 * gdb.c++/anon-union.exp: Fix tests to match.
24555 * gdb.c++/classes.exp: Run if HP compiler used, add extra
24556 expect matches to handle output variations.
24557 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
24558 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
24559 output, add HP alternatives for new and delete prints.
24560 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
24561 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
24562 * gdb.c++/demangle.exp: Use $style when reporting failure.
24563 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
24564 * gdb.c++/inherit.exp: Run if HP compiler used, add some
24565 match alternatives.
24566 * gdb.c++/local.exp: Add match alternatives or xfails for HP
24567 compilers.
24568 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
24569 * gdb.c++/method.exp: Add match alternatives.
24570 * gdb.c++/misc.cc: Add bool types.
24571 * gdb.c++/misc.exp: Add tests for bool types.
24572 * gdb.c++/overload.exp: Add xfails.
24573 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
24574 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
24575 add some more template parameter tests (only for HP currently).
24576 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
24577 * gdb.c++/virtfunc.cc: Add return type and value for main.
24578 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
24579 match alternatives.
24580
24581 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24582
24583 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
24584
24585 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
24586
24587 * gdb.base/signals.exp: Don't expect getting a backtrace from
24588 within a signal handler to fail on Linux.
24589
24590 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
24591
24592 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24593 * lib/gdb.exp: Remove some gratuitious semicolons.
24594 (delete_breakpoints): Increase timeout.
24595 (gdb_expect): Add -notransfer option.
24596 (gdb_test): Use -notransfer option.
24597 (get_compiler_info): Add f77 case.
24598 (get_compiler): New proc, split out from gdb_preprocess, add f77
24599 case.
24600 (gdb_preprocess): Call get_compiler.
24601
24602 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
24603 * gdb.base/attach.exp, gdb.base/display.exp,
24604 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
24605 gdb.base/long_long.exp, gdb.base/printcmds.exp,
24606 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
24607 third arg to gdb_test.
24608 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
24609 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
24610 HP-UX xfails, add others.
24611 * gdb.base/completion.exp: Reflect name change of self-test.
24612 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
24613 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
24614 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
24615 HP failure number.
24616 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
24617 useless HP-UX 10.30 references.
24618 * gdb.base/maint.exp: Loosen matches.
24619 * gdb.base/pointers.c (main): Declare more_code.
24620 * gdb.base/pointers.exp: Match on output of a `next'.
24621 * gdb.base/structs.c: Add prototypes.
24622 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
24623 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
24624
24625 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24626
24627 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
24628 command.
24629
24630 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24631
24632 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
24633 Fix run to main failures. Watchpoint can be hardware watchpoint.
24634
24635 * gdb.base/annota1.exp: Clean up some more, in case printf has
24636 debug info. Deal with lack of signal hanlder info in stack.
24637
24638 From Jim Kingdon <kingdon@redhat.com>:
24639 * gdb.base/annota1.exp: If printf has debug info, deal with it.
24640
24641 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
24642
24643 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
24644 gdb.base/foll-vfork.exp: Don't run for crosses.
24645
24646 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
24647
24648 * gdb.base/configure.in: Check for gdbvars.exp instead of
24649 a1-selftest.exp.
24650 * gdb.base/configure: Re-generate.
24651
24652 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
24653
24654 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
24655 in trying to run first and name is too long.
24656
24657 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
24658 pointers2.c and pointers2.exp, respectively.
24659 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
24660 doschk happier.
24661
24662 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
24663
24664 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
24665 callfuncs2.c and callfuncs2.exp.
24666
24667 * gdb.base/list.exp: Remove mistaken xfails.
24668 * gdb.base/list0.h: Add optional prototypes.
24669
24670 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
24671
24672 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
24673 calling malloc.
24674 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
24675 * ptype.exp: Move test for get_debug_format to before its first
24676 use.
24677
24678 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24679
24680 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
24681 * gdb.base/annota2.cc, annota2.exp: Move from here.
24682 * gdb.c++/annota2.cc, annota2.exp: To here.
24683 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
24684
24685 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
24686
24687 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
24688 a consistent format.
24689
24690 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
24691
24692 From Jimmy Guo <guo@cup.hp.com> and others at HP:
24693 * lib/gdb.exp (get_compiler_info): Add detection for assorted
24694 HP compilers, also set the globals $true and $false.
24695
24696 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
24697 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
24698 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
24699 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
24700 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
24701 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
24702 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
24703 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
24704 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
24705 whatis.c} Add C++ compatible function definitions and return
24706 types, add includes for library functions.
24707 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
24708 * gdb.base/step-test.c (myglob): Rename from glob.
24709 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
24710 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
24711 files, move here from gdb.hp.
24712 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
24713 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
24714 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
24715 Adjust line numbers in regexps.
24716
24717 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
24718 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
24719 instead of 0/1.
24720
24721 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
24722 foll-vfork.exp: New files, move here from gdb.hp.
24723 * gdb.base/page.exp: New file, test of pagination command.
24724
24725 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
24726 recursion test.
24727 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
24728
24729 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
24730 gdb.base/solib.exp: Fix compiler invocation process.
24731
24732 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
24733 HP-UX 11, turn off overload resolution explicitly.
24734 * gdb.base/commands.exp: Set argument list explicitly, add
24735 watchpoint test.
24736 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
24737 them work.
24738 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
24739 expressions properly.
24740 * gdb.base/corefile.exp: Loosen the match slightly.
24741 * gdb.base/default.exp: Allow "Error accessing memory" message
24742 also.
24743 * gdb.base/display.exp: Skip over x/0 j if PA64.
24744 * gdb.base/funcargs.exp: Add xfails for HP-UX.
24745 * gdb.base/interrupt.exp: Ditto.
24746 * gdb.base/langs.exp: Add symbolic matches governed by compiler
24747 in use.
24748 * gdb.base/list.exp: Add xfails for HP-UX.
24749 * gdb.base/long_long.exp: Refine some of the numeric matches.
24750 * gdb.base/mips_pro.exp: Xfail on HP-UX.
24751 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
24752 * gdb.base/nodebug.exp: Succeed on more varieties of output.
24753 * gdb.base/opaque.exp: Remove some HP-UX xfails.
24754 * gdb.base/ptype.exp: Succeed on more varieties of output.
24755 * gdb.base/scope.exp: Add xfails for HP-UX.
24756 * gdb.base/sect-cmd.exp: Add more cases.
24757 * gdb.base/setvar.exp: Add xfails for HP-UX.
24758 * gdb.base/shlib-call.exp: Loosen some matches slightly.
24759 * gdb.base/signals.exp: Match on void symbolically.
24760 * gdb.base/step-test.exp: Add case for PA64.
24761 * gdb.base/term.exp: Add exit and restart.
24762 * gdb.base/twice.exp: Clean up after self.
24763 * gdb.base/varargs.exp: Disable overload resolution explicitly.
24764 * gdb.base/whatis.exp: Allow more ways to pass tests.
24765
24766 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
24767 no longer useful.
24768
24769 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
24770
24771 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
24772 list of patterns.
24773 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
24774 print_double_array(double_array)", "continuing to breakpoint
24775 1018", "print print_double_array(array_d)" and "continuing to
24776 1034" tests.
24777
24778 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
24779
24780 * Makefile.in: Add empty html and install-html targets.
24781
24782 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
24783
24784 * config/mt-*: Remove, these haven't been used since 1996.
24785
24786 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
24787
24788 * gdb.base/call-strs.c, gdb.base/ending-run.c,
24789 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
24790 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
24791
24792 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
24793
24794 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
24795 simpler match case for the ptype of the big class.
24796
24797 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24798
24799 * gdb.exp: Fix test for gdb_prompt existence.
24800
24801 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24802
24803 * gdb.exp (gdb_test): Add fail after calls to perror.
24804
24805 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24806
24807 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
24808
24809 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
24810
24811 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
24812
24813 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
24814
24815 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
24816 malloc() is linked in.
24817
24818 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
24819
24820 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
24821 step at end.
24822
24823 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
24824
24825 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
24826
24827 * gdb.java/jv-print.exp: New file. (Our first Java test!)
24828
24829 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
24830
24831 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
24832 * gdb.base/mips_pro.exp: Likewise.
24833
24834 1999-06-02 Keith Seitz <keiths@cygnus.com>
24835
24836 * gdb.c++/templates.cc: Change all "new" operators to throw
24837 an exception.
24838 * gdb.c++/cplusfuncs.cc: Likewise.
24839
24840 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
24841
24842 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
24843
24844 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
24845 * gdb.base/ending-run.exp: When stepping out of main, accept a
24846 step into an arbitrary assembler file.
24847
24848 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24849
24850 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
24851 "breakpoint-invalid" to be printed.
24852 * gdb.base/annota2.exp: Revise line number for main
24853 breakpoint. Allow any number of "frames-invalid" and
24854 "breakpoint-invalid" to be printed.
24855 * gdb.base/annota2.cc: Initialize a.x to 0.
24856
24857 1999-05-17 Keith Seitz <keiths@cygnus.com>
24858
24859 * gdb.base/call-ar-st.exp: Skip
24860 "print print_double_array (double_array)" when "skip_float_tests" set.
24861 Ditto for "print print_double_array(array_d)",
24862 "print print_small_structs", "print print_ten_doubles", and
24863 "step into print_long_arg_list".
24864 Don't assume we can step into "print_long_arg_list": we could step
24865 into memcpy.
24866 * gdb.base/call-rt-st.exp: Don't run float-related tests when
24867 "skip_float_tests" is set: "print print_one_double(*d1)"
24868 and "print print_two_floats(*f3)".
24869 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
24870 "skip_float_tests" is set.
24871 * gdb.base/varargs.exp: Skip
24872 "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)" when
24873 "skip_float_tests" set.
24874
24875 1999-05-06 Keith Seitz <keiths@cygnus.com>
24876
24877 * gdb.base/annota2.cc: Include stdio.h.
24878
24879 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
24880
24881 * gdb.base/crossload.exp: Remove, this has been disabled ever
24882 since BFD stopped including all targets, and cross-GDB gets
24883 plenty of testing anyway.
24884 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
24885 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
24886 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
24887 * gdb.base/README: Remove, was doc for this.
24888 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
24889 needed.
24890
24891 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24892
24893 * gdb.base/call-ar-st.exp: Fix one regular expression in test
24894 output.
24895
24896 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
24897 * gdb.base/annota2.exp: New file. More annotation tests.
24898 * gdb.base/annota1.c: New file. Source file for annota1.exp.
24899 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
24900
24901 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
24902
24903 * config/cfdbug.exp: New file.
24904
24905 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
24906
24907 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
24908 Marcus Daniel's and Dale Hawkins's demangler crashes.
24909
24910 * gdb.c++/demangle.exp (test_gnu_style_demangling,
24911 test_lucid_style_demangling, test_arm_style_demangling,
24912 test_hp_style_demangling): Try Tom Tromey's core-dumping
24913 identifier under each demangling style.
24914
24915 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
24916
24917 * gdb.c++/demangle.exp: Include the current demangling style
24918 in all test names.
24919 (current_demangling_style): New global variable.
24920 (set_demangling_style, test_demangling_core, test_demangling,
24921 test_demangling_exact): New functions.
24922 (test_gnu_style_demangling, test_lucid_style_demangling,
24923 test_arm_style_demangling, test_hp_style_demangling): Use those,
24924 instead of calling gdb_test and gdb_test_exact directly.
24925 (catch_demangling_errors): New function, which reports errors
24926 signalled by the demangling test functions in an orderly way.
24927 (do_tests): Use catch_demangling_errors.
24928
24929 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
24930
24931 * gdb.base/signals.exp (test_handle_all_print): Use () for
24932 grouping in expressions, not {}.
24933
24934 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
24935 initialized yet.
24936
24937 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
24938
24939 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
24940 are listed.
24941
24942 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
24943
24944 * gdb.stabs/weird.exp: Test for CC being defined before
24945 looking at its value.
24946
24947 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
24948
24949 * gdb.base/call-ar-st.exp: Remove stray '#'.
24950 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
24951 "short int" and "long int".
24952 * gdb.c++/overload.cc: Cast the string added in the previous
24953 change, to mollify finicky HP compiler.
24954 * gdb.hp/reg-test.exp (testfile): Fix file name.
24955 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
24956
24957 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
24958 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
24959 alternate form of enum ptype.
24960
24961 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
24962
24963 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
24964 * gdb.hp/*.exp: Change all to run compiler probe only after
24965 passing skip_hp_tests, so as not to waste time on guaranteed
24966 failure.
24967
24968 * gdb.c++/overload.cc: Pass string instead of char addr, always
24969 init ccpfoo.
24970 * gdb.c++/templates.cc: Fix syntax error.
24971
24972 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
24973
24974 * gdb.base/commands.exp: Add test for correct position of '>'
24975 when issuing the 'commands' command after a 'while' or 'if'
24976 command.
24977
24978 1999-03-18 James Ingham <jingham@cygnus.com>
24979
24980 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
24981
24982 * gdb.c++/method.exp: It was testing an uninitialized int on the
24983 stack and assuming it was positive.
24984
24985 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
24986
24987 * gdb.base/step-test.exp: Catch a case where finish is broken and
24988 keep it from killing the rest of the tests.
24989 Use gdb_continue_to_end.
24990
24991 * gdb.base/sigall.exp: use gdb_continue_to_end.
24992
24993 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
24994
24995 * gdb.base/display.exp: use runto_main, not run.
24996
24997 * gdb.base/default.exp: Check for the current error message in the
24998 r abbreviation test.
24999 Add strongarm to the targets that know info float.
25000
25001 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
25002 run which doesn't work with monitors.
25003
25004 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to
25005 1034 test.
25006
25007 * gdb.base/break.exp: use the gdb_continue_to_end proc.
25008
25009 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the
25010 end of a program. Traps the case (in Cygmon) when the program
25011 never really exits. Same as Mark's continue_to_exit, but I had
25012 put it in a lot more places, so I used my name. Sorry Mark...
25013
25014 * config/monitor.exp (gdb_target_monitor): added another
25015 target_info parameter: remotebinarydownload. This will set the
25016 remotebinarydownload flag if this is causing some boards trouble.
25017
25018 1999-03-18 Mark Salter <msalter@cygnus.com>
25019
25020 * lib/gdb.exp (continue_to_exit): New function.
25021
25022 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
25023 * gdb.base/ending-run.exp: Ditto.
25024 * gdb.base/step-test.exp: Ditto.
25025
25026 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
25027
25028 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
25029 (suggested by Art Haas <ahaas@neosoft.com>).
25030
25031 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
25032
25033 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
25034
25035 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
25036
25037 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
25038 descriptions of types (short unsigned int vs unsigned short, etc).
25039
25040 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
25041
25042 * gdb.base/call-strs.exp: Don't assume that `step' will step over
25043 a call to strlen; sometimes we do have sources.
25044
25045 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25046
25047 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
25048 character, so GDB won't print garbage after its end.
25049
25050 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
25051 breakpoint there instead. Sometimes GCC emits memcpy to handle
25052 the large structures being passed by value, so we step into that
25053 instead of sum_array_print, which obscures what we're really testing.
25054 * gdb.base/step-test.exp: However, we do want a test that notices
25055 the bizarre steps into memcpy, so do that here. Add check for
25056 stepping into function calls that pass large structures by value.
25057 ("Is that a noun clause, or are you just happy to see me?")
25058 Remove all references to specific line numbers.
25059 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
25060 New type and function.
25061 (main): Call large_struct_by_value, passing it a large struct by value.
25062 * lib/gdb.exp (gdb_get_line_number): New function.
25063
25064 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
25065 more portable.
25066
25067 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
25068
25069 * lib/gdb.exp: Doc fixes.
25070
25071 1999-03-05 Nick Clifton <nickc@cygnus.com>
25072
25073 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
25074
25075 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
25076
25077 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
25078 commands. They're not germane to this test, and they don't work
25079 that way on remote targets.
25080
25081 1999-03-01 James Ingham <jingham@cygnus.com>
25082
25083 * Changelog entries merged over from gdb development branch.
25084
25085 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
25086
25087 * lib/gdb.exp (gdbtk_analyze_results): Generic function
25088 for outputting results of test run.
25089
25090 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
25091
25092 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
25093
25094 1999-02-25 Felix Lee <flee@cygnus.com>
25095
25096 * lib/gdb.exp (debug_format): initialize
25097
25098 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
25099
25100 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
25101 * gdb.base/call-rt-st.c: Ditto.
25102
25103 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
25104
25105 * gdb.threads/pthreads.exp (horiz): New variable.
25106 (test_startup): Fix regexps that capture thread numbers.
25107
25108 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
25109
25110 * gdb.base/smoke.exp: Disambiguate two test case names (both
25111 called ``print'').
25112
25113 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25114
25115 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
25116 compilation.
25117
25118 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25119
25120 * gdb.base/miscexprs.exp: Change patterns to match GDB's
25121 actual output formatting.
25122 * gdb.base/smoke.exp: GDB removes leading 0's.
25123 * gdb.base/volatile.exp: Don't check type of remuneration;
25124 that variable is no longer defined in constvars.c.
25125 * gdb.base/step-test.c (main): Exit with explicit exit code.
25126 * gdb.base/step-test.exp: Remove two nexti checks--they are
25127 not portable.
25128
25129 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
25130
25131 * gdb.base/help.exp ("help delete display"): Fix test to match
25132 gdb's output.
25133
25134 * gdb.base/long_long.c (known_types): Initialize values to zero.
25135 * gdb.base/long_long.exp: Step one more line
25136 so 'dec' is initialized in "get to known place". GDB removes
25137 leading zeros. Explicitly ask for hex formatting. Use
25138 unique test case names.
25139
25140 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25141
25142 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
25143
25144 * gdb.c++/method.exp: Add missing close brace.
25145
25146 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
25147
25148 * gdb.base/maint.exp: Use 'set height 0' to disable page
25149 prompting, not 'set height 400'.
25150
25151 Fix a bunch of timeouts.
25152 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25153 four separate tests, so expect doesn't take forever to match a ton
25154 of text against a regexp with lots of .* forms.
25155 ("maint print psymbols", "maint print symbols"): Make some of
25156 these greps more selective, so that expect doesn't try to wade
25157 through huge piles of output and time out.
25158
25159 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
25160
25161 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
25162 tests: one which doesn't expect shlib events to be reported, and
25163 another which does, but is XFAIL for all platforms other than
25164 HP/UX.
25165
25166 * gdb.base/break.exp: Teach the test suite that the `catch
25167 fork', `catch vfork', and `catch exec' commands produce error
25168 messages on platforms that don't provide these features.
25169
25170 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
25171
25172 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
25173 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
25174 (shortening names from solib_threshold.exp etc), won't run on
25175 anything but HP-UX for the foreseeable future.
25176 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
25177 reflect move.
25178
25179 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
25180
25181 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
25182 gdb.trace/Makefile.in (clean): Remove all test executables.
25183
25184 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
25185
25186 * gdb.base/shlib-call.exp: add test cases to verify that gdb
25187 successfully re-sets breakpoints in shared libraries.
25188 * gdb.base/shmain.c (main): return 0, don't fall off the end.
25189
25190 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
25191
25192 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
25193 and compiled w/o GCC.
25194
25195 * gdb.hp/watch-cmd.exp: ditto.
25196
25197 * gdb.hp/watch-hp.exp: ditto.
25198
25199 * gdb.hp/xdb1.exp: ditto.
25200
25201 * gdb.hp/xdb2.exp: ditto.
25202
25203 * gdb.hp/dbx.exp: ditto.
25204
25205 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
25206
25207 * constvars.c: Remove C++-isms.
25208 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
25209 with GCC.
25210
25211 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
25212
25213 The following changes are part of the HP merge.
25214
25215 * gdb.base/break.exp: new tests to verify that catchpoints for
25216 fork, vfork, and exec don't trigger inappropriately.
25217
25218 * gdb.base/opaque.exp: compile one file at a time, then link.
25219
25220 * gdb.base/signals.exp: be more restrictive about which hppa
25221 systems receive a setup_xfail. new tests.
25222
25223 * gdb.base/solib_threshold.build: new file.
25224 * gdb.base/solib_threshold.exp: new file.
25225 * gdb.base/solib_threshold.link_opts: new file.
25226 * gdb.base/solib_threshold.mk: new file.
25227 * gdb.base/gen_solib_threshold.c: new file.
25228
25229 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
25230 tests. New tests for enums inside classes.
25231
25232 * gdb.c++/compiler.cc: indicate support of template debugging.
25233
25234 * gdb.c++/demangle.exp: run hp style demangling tests.
25235
25236 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
25237 tests.
25238
25239 * gdb.c++/misc.cc: changes to support new tests.
25240
25241 * gdb.c++/templates.cc: changes to support HP's compiler; changes
25242 to support new tests.
25243
25244 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
25245 gcc, then skip these tests.
25246
25247 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
25248
25249 The following files are part of the HP merge; some had longer
25250 names at HP, but have been renamed to be no more than 14
25251 characters in length.
25252
25253 * gdb.hp/ambiguous.cc: new file.
25254 * gdb.hp/ambiguous.exp: new file.
25255 * gdb.hp/attach.exp: new file.
25256 * gdb.hp/attach2.exp: new file.
25257 * gdb.hp/classes-hp.exp: new file.
25258 * gdb.hp/ctti.exp: new file.
25259 * gdb.hp/ctti-add.cc: new file.
25260 * gdb.hp/ctti-add1.cc: new file.
25261 * gdb.hp/ctti-add2.cc: new file.
25262 * gdb.hp/ctti-add3.cc: new file.
25263 * gdb.hp/dbx.exp: new file.
25264 * gdb.hp/exception.cc: new file.
25265 * gdb.hp/exception.exp: new file.
25266 * gdb.hp/foll-exec.c: new file.
25267 * gdb.hp/foll-exec.exp: new file.
25268 * gdb.hp/foll-fork.c: new file.
25269 * gdb.hp/foll-fork.exp: new file.
25270 * gdb.hp/foll-vfork.c: new file.
25271 * gdb.hp/foll-vfork.exp: new file.
25272 * gdb.hp/inherit-hp.exp: new file.
25273 * gdb.hp/more-steps.exp: new file.
25274 * gdb.hp/namespace.cc: new file.
25275 * gdb.hp/namespace.exp: new file.
25276 * gdb.hp/optimize.exp: new file.
25277 * gdb.hp/pxdb.c: new file.
25278 * gdb.hp/pxdb.exp: new file.
25279 * gdb.hp/quicksort.exp: new file.
25280 * gdb.hp/reg-test.exp: new file.
25281 * gdb.hp/reg-test.s: new file.
25282 * gdb.hp/sized-enum.c: new file.
25283 * gdb.hp/sized-enum.exp: new file.
25284 * gdb.hp/start-stop.exp: new file.
25285 * gdb.hp/templ-hp.cc: new file.
25286 * gdb.hp/templ-hp.exp: new file.
25287 * gdb.hp/thr-lib.c: new file.
25288 * gdb.hp/thr-lib.exp: new file.
25289 * gdb.hp/thr-lib.h: new file.
25290 * gdb.hp/thr-liblib.c: new file.
25291 * gdb.hp/virtfun-hp.c: new file.
25292 * gdb.hp/virtfun-hp.exp: new file.
25293 * gdb.hp/watch-cmd.exp: new file.
25294 * gdb.hp/watch-hp.exp: new file.
25295 * gdb.hp/xdb1.exp: new file.
25296 * gdb.hp/xdb2.exp: new file.
25297 * gdb.hp/xdb3.exp: new file.
25298
25299 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
25300
25301 The following files are part of the HP merge; some had longer
25302 names at HP, but have been renamed to be no more than 14
25303 characters in length.
25304
25305 * gdb.base/ss.h: new file.
25306 * gdb.base/call-ar-st.c: new file.
25307 * gdb.base/call-ar-st.exp: new file.
25308 * gdb.base/call-rt-st.c: new file.
25309 * gdb.base/call-rt-st-exp: new file.
25310 * gdb.base/call-strs.exp: new file.
25311 * gdb.base/ena-dis-br.exp: new file.
25312 * gdb.base/environ.exp: new file.
25313 * gdb.base/long_long.exp: new file.
25314 * gdb.base/sect-cmd.exp: new file.
25315 * gdb.base/shlib-cl2.exp: new file.
25316 * gdb.base/smoke.exp: new file.
25317 * gdb.base/so-impl-ld.c: new file.
25318 * gdb.base/so-impl-ld.exp: new file.
25319 * gdb.base/so-indr-cl.c: new file.
25320 * gdb.base/so-indr-cl.exp: new file.
25321 * gdb.base/varargs.exp: new file.
25322 * gdb.base/volatile.exp: new file.
25323 * gdb.base/whatis-exp.exp: new file.
25324 * gdb.base/display.exp: new file.
25325 * gdb.c++/derivation.exp: new file.
25326 * gdb.c++/local.exp: new file.
25327 * gdb.c++/member-ptr.exp: new file.
25328 * gdb.c++/overload.exp: new file.
25329 * gdb.c++/ovldbreak.exp: new file.
25330 * gdb.c++/ref-types.exp: new file.
25331 * gdb.c++/ref-types2.exp: new file.
25332 * gdb.c++/userdef.exp: new file.
25333
25334 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
25335
25336 * gdb.base/default.exp: Reflect wording change in remote.c.
25337
25338 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
25339
25340 * gdb.base/help.exp: Update to reflect current text.
25341
25342 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
25343
25344 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
25345 they're stack variables and contain garbage.
25346 * gdb.c++/anon-union.exp: new file.
25347
25348 The following changes were made by David Taylor
25349 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25350 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25351 in changes by HP.
25352
25353 * gdb.base/bitops.exp: new file.
25354 * gdb.base/default.exp: change expected messages for catch and
25355 info catch tests to reflect HP merge changes.
25356 * gdb.base/enable-disable-break.exp
25357 * gdb.base/ending-run.c: new file.
25358 * gdb.base/long_long.c: new file.
25359 * gdb.base/maint.exp: new file.
25360 * gdb.base/pointers2.exp: new file.
25361 * gdb.base/shlib-call2.exp: new file.
25362 * gdb.base/solib.exp: new file.
25363 * gdb.base/step-test.c: new file.
25364 * gdb.c++/anon-union.cc: new file.
25365 * gdb.c++/local.cc: new file.
25366 * gdb.c++/member-pointer.cc: new file.
25367 * gdb.c++/method.cc: new file.
25368 * gdb.c++/ref-types.cc: new file.
25369 * gdb.c++/ref-types2.cc: new file.
25370 * gdb.c++/userdef.cc: new file.
25371
25372 * gdb.base/scope.exp: compile one file at a time, then link.
25373 * gdb.base/langs.exp: ditto.
25374 * gdb.base/list.exp: ditto.
25375
25376 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
25377
25378 The following changes were made by David Taylor
25379 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
25380 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
25381 in changes by HP.
25382
25383 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
25384 skip tests. When compiling pass c++ flag to gdb_compile.
25385 * gdb.c++/
25386
25387 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
25388 test for on hppa*-*-hpux*; use args to see if c++ was specified.
25389 (skip_hp_tests): new function.
25390 (gdb_preprocess): new function.
25391
25392 * configure.in (hpdir): decide whether to configure gdb.hp.
25393 * configure: regenerated.
25394
25395 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
25396 to delete on clean.
25397 (EXECUTABLES): update to reflect new additions.
25398 * gdb.base/commands.exp: update message expected.
25399 * gdb.base/default.exp: add copyright notice.
25400 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
25401 * gdb.base/help.exp: update messages to reflect current text.
25402 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
25403 targets for recurse tests.
25404 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
25405 skip this file.
25406
25407 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
25408 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
25409 compilation.
25410 * gdb.c++/misc.exp: ditto.
25411 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
25412 run the tests. tell gdb_compile that it's a c++ compilation.
25413
25414 * gdb.threads/pthreads.exp: fix typo in message.
25415
25416 * gdb.base/all-bin.exp: new file.
25417 * gdb.base/arithmet.exp: new file.
25418 * gdb.base/assign.exp: new file.
25419 * gdb.base/completion.exp: new file.
25420 * gdb.base/cond-expr.exp: new file.
25421 * gdb.base/condbreak.exp: new file.
25422 * gdb.base/define.exp: new file.
25423 * gdb.base/dollar.exp: new file.
25424 * gdb.base/environment.exp: new file.
25425 * gdb.base/eval-skip.exp: new file.
25426 * gdb.base/jump.exp: new file.
25427 * gdb.base/logical.exp: new file.
25428 * gdb.base/pointers.exp: new file.
25429 * gdb.base/relational.exp: new file.
25430 * gdb.base/section_command.exp: new file.
25431 * gdb.base/whatis-expr.exp: new file.
25432
25433 * gdb.base/all-types.c: new file.
25434 * gdb.base/call-array-struct.c: new file.
25435 * gdb.base/call-return-struct.c: new file.
25436 * gdb.base/call-strings.c: new file.
25437 * gdb.base/callfuncs2.c: new file.
25438 * gdb.base/condbreak.c: new file.
25439 * gdb.base/constvars.c: new file.
25440 * gdb.base/display.c: new file.
25441 * gdb.base/int-type.c: new file.
25442 * gdb.base/jump.c: new file.
25443 * gdb.base/miscexprs.c: new file.
25444 * gdb.base/pointers.c: new file.
25445 * gdb.base/pointers2.c: new file.
25446 * gdb.base/shmain.c: new file.
25447 * gdb.base/shr1.c: new file.
25448 * gdb.base/shr2.c: new file.
25449 * gdb.base/solib.c: new file.
25450 * gdb.base/solib1.c: new file.
25451 * gdb.base/solib2.c: new file.
25452 * gdb.base/varargs.c: new file.
25453 * gdb.c++/derivation.cc: new file.
25454 * gdb.c++/overload.cc: new file.
25455 * gdb.c++/ovldbreak.cc: new file.
25456 * gdb.hp/attach.c: new file.
25457 * gdb.hp/attach2.c: new file.
25458 * gdb.hp/average.c: new file.
25459 * gdb.hp/compiler.c: new file.
25460 * gdb.hp/compiler.cc: new file.
25461 * gdb.hp/execd-program.c: new file.
25462 * gdb.hp/follow-exec.c: new file.
25463 * gdb.hp/follow-fork.c: new file.
25464 * gdb.hp/follow-vfork-and-exec.c: new file.
25465 * gdb.hp/misc-hp.cc: new file.
25466 * gdb.hp/more-steps.c: new file.
25467 * gdb.hp/optimize.c: new file.
25468 * gdb.hp/quicksort.c: new file.
25469 * gdb.hp/run-hp.c: new file.
25470 * gdb.hp/start-stop.c: new file.
25471 * gdb.hp/sum.c: new file.
25472 * gdb.hp/templates-hp.cc: new file.
25473 * gdb.hp/thread-local-in-lib.c: new file.
25474 * gdb.hp/thread-local-in-lib.h: new file.
25475 * gdb.hp/thread-local-in-lib.lib.c: new file.
25476 * gdb.hp/vforked-program.c: new file.
25477 * gdb.hp/virtfunc-hp.cc: new file.
25478 * gdb.hp/watchpoint-hp.c: new file.
25479 * gdb.hp/xdb.c: new file.
25480 * gdb.hp/xdb0.c: new file.
25481 * gdb.hp/xdb0.h: new file.
25482 * gdb.hp/xdb1.c: new file.
25483
25484 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
25485
25486 The following change was made by Edith Epstein
25487 <eepstein@cygnus.com> as part of a project to merge in changes
25488 originally made by HP; HP did not create ChangeLog entries.
25489
25490 * gdb.c++/demangle.exp: changed the expected output for some
25491 ARM-style mangling -- removed second reference to datatype.
25492 For example, maint demangle __dt__11T1__pt__2_cFv
25493 T1<char>::~T1<char>(void)
25494 becomes,
25495 maint demangle __dt__11T1__pt__2_cFv
25496 T1<char>::~T1(void)
25497
25498 (test_hp_style_demangling): new hp specific demangling test cases.
25499
25500 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
25501
25502 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
25503 * gdb.trace/backtrace.exp: Likewise.
25504 * gdb.trace/circ.exp: Likewise.
25505 * gdb.trace/collection.exp: Likewise.
25506 * gdb.trace/deltrace.exp: Likewise.
25507 * gdb.trace/infotrace.exp: Likewise.
25508 * gdb.trace/limits.exp: Likewise.
25509 * gdb.trace/packetlen.exp: Likewise.
25510 * gdb.trace/passc-dyn.exp: Likewise.
25511 * gdb.trace/passcount.exp: Likewise.
25512 * gdb.trace/report.exp: Likewise.
25513 * gdb.trace/save-trace.exp: Likewise.
25514 * gdb.trace/tfind.exp: Likewise.
25515 * gdb.trace/tracecmd.exp: Likewise.
25516 * gdb.trace/while-dyn.exp: Likewise.
25517 * gdb.trace/while-stepping.exp: Likewise.
25518
25519 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
25520
25521 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
25522
25523 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
25524
25525 From Brendan Kehoe:
25526 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
25527 int return types.
25528
25529 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
25530
25531 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
25532 remote dos host testing right.
25533
25534 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
25535
25536 * gdb.base/corefile.exp: remove some xfails.
25537
25538 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
25539
25540 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
25541 have different timestamps.
25542
25543 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
25544
25545 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
25546 gdb.base/default.exp: Replace "exec" with "executable".
25547
25548 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
25549
25550 * gdb.base/default.exp: Change else if to elseif from previous
25551 delta.
25552
25553 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
25554
25555 * gdb.base/default.exp: Add brace missing from previous delta.
25556
25557 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
25558
25559 * gdb.base/default.exp: Support test for info float for all
25560 varieties of arm toolchain.
25561
25562 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
25563
25564 * gdb.trace/*.exp: remove "remote_download" command.
25565
25566 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
25567
25568 * gdb.trace/*.exp: remove -gdwarf from compile.
25569
25570 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
25571
25572 * gdb.trace/configure.in(AC_INIT): typo
25573 * gdb.trace/configure: regenerated
25574
25575 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
25576
25577 * config/m68k-emc.exp: New file.
25578 * lib/<emc-support.exp trace-support.exp}: New files.
25579 * configure.in: add new test directory gdb.trace.
25580 * gdb.trace/{configure configure.in Makefile.in}: New files.
25581 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
25582 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
25583 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
25584 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
25585 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
25586 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
25587 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
25588
25589 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
25590
25591 * gdb.c++/classes.exp: Change all regular expressions to match
25592 arbitrary combinations of newline/carriage-return, so that they
25593 will work equally well on Unix and Windows.
25594 * gdb.c++/inherit.exp: ditto.
25595 * gdb.c++/virtfunc.exp: ditto.
25596
25597 1998-08-11 Dawn Perchik <dawn@cygnus.com>
25598
25599 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
25600
25601 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
25602
25603 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
25604 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
25605 to use a0-a3/d0-d3 as needed.
25606
25607 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
25608
25609 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
25610 * gdb.disasm/am33.exp: Corresponding changes.
25611
25612 1998-07-11 Felix Lee <flee@cygnus.com>
25613
25614 * gdb.base/callfuncs.exp: add cmp10 test.
25615 * gdb.base/callfuncs.c (cmp10): new function.
25616
25617 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
25618
25619 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
25620 into two parts to get around a synchronization problem in expect.
25621
25622 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
25623
25624 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
25625
25626 * configure.in: Add options for gdbtk testsuite.
25627
25628 * configure: Regenerate.
25629
25630 * gdb.gdbtk: New directory to hold gdbtk tests.
25631
25632 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25633
25634 * gdb.fortran/types.exp: Escape brackets in expect patterns
25635 for test_float_literal_types_accepted tests.
25636 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
25637 before run test.
25638
25639 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
25640
25641 * am33.exp: Just compile, do not link the testcase.
25642 * am33.s: Add ".am33" pseudoop to force am33 mode.
25643
25644 1998-06-25 Felix Lee <flee@cygnus.com>
25645
25646 * gdb.base/setshow.exp: make sure $pc is sane.
25647
25648 * gdb.stabs/weird.exp: split expect patterns properly.
25649
25650 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
25651
25652 * gdb.disasm/am33.s: New disassembler testfile for the am33.
25653 * gdb.disasm/am33.exp: Run it.
25654
25655 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
25656
25657 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
25658 match processing (and eliminate spurious timeouts when running).
25659
25660 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
25661
25662 * gdb.base/signals.exp (test_handle_all_print): put back Mach
25663 exception test, but conditionalize it on target [mach | gnu].
25664
25665 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
25666
25667 * gdb.base/overlays.exp: fixup compile line for linker script.
25668
25669 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
25670
25671 * gdb.fortran/types.exp: don't guess at float size.
25672
25673 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
25674
25675 * gdb.base/exprs.exp: delete test that depends on int size.
25676
25677 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
25678
25679 * config/sim.exp: Removed checks for target triplets.
25680 (gdb_target_sim): Use gdb,target_sim_options.
25681
25682 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
25683
25684 * gdb.base/reread.exp: New file.
25685 * gdb.base/reread1.c: New file.
25686 * gdb.base/reread2.c: New file.
25687
25688 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
25689
25690 * config/sim.exp: Use 'target sim -sparclite' when running
25691 SPARClite programs.
25692
25693 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
25694
25695 * gdb.base/structs2.exp: New file.
25696 * gdb.base/structs2.c: New file.
25697
25698 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
25699
25700 * gdb.asm/common.inc: New file.
25701 * gdb.asm/d10v.inc: New file.
25702 * asm-source.exp: Pass -I's to gas to find .inc files.
25703 Update line numbers in expected output.
25704 * asmsrc1.s: Rewrite.
25705 * asmsrc2.s: Rewrite.
25706 * configure.in: Create arch.inc symlink.
25707 * configure: Regenerate.
25708 * Makefile.in (distclean): Delete arch.inc.
25709
25710 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
25711
25712 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
25713 (t_enum_value2): ditto
25714 (t_enum_value3): ditto
25715 (main): ditto
25716 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
25717
25718 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
25719 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
25720 change.
25721 Use gdb_test instead of send_gdb/gdb_expect sequences.
25722
25723 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
25724
25725 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
25726 not void.
25727
25728 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
25729
25730 * gdb.base/branches.c: Code with lots of loops and
25731 subroutines. Used to test gdbs ability to single step through PC
25732 changes, especially to test mips-tdep.c:mips_next_pc
25733
25734 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
25735
25736 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
25737 more rigorous EGCS C++ error checking.
25738
25739 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
25740
25741 * gdb.base/help.exp: Clean up `help set args' and `help show args'
25742 tests.
25743 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
25744 function when asleep.
25745 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
25746 for i*86 Linux and SVR4 signal handling problems.
25747 Remove linux xfail for `next to handler in signals_tests_1', fixed
25748 by recent infrun.c change.
25749 Limit backtrace to 10 frames to avoid timeout problems with infinite
25750 stack backtraces.
25751 Adjust expect pattern in `handle all print' test to match Apr 28 1997
25752 target.[ch] change.
25753
25754 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
25755
25756 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
25757 for a newline from gdb before continuing.
25758 (default_gdb_exit): Just look for y or n.
25759 (gdb_test): Detect abnormal exit from GDB running on DOS; if
25760 it does, fail the rests of the tests in the file.
25761
25762 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
25763
25764 * config/cygmon.exp: New file.
25765
25766 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
25767
25768 * gdb.base/list.exp: Fix problem with "list default lines around
25769 main" test on remote targets.
25770
25771 * gdb.base/scope.exp: Fix problem with filelocal_bss before
25772 run test on remote targets.
25773
25774 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
25775
25776 * gdb.asm: New directory.
25777 * configure.in: Configure it.
25778 * configure: Regenerate.
25779 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
25780 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
25781
25782 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
25783
25784 * config/mn10300-eval.exp: New file to support MN10300 eval board.
25785
25786 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
25787
25788 * gdb.base/overlays (several files): Merge the two overlay
25789 managers into one. Change variables (foox, barx, bazx, grbxx)
25790 back into ints but force them to load in their proper sections.
25791
25792 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
25793
25794 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
25795 on-chip insn memory and IMAP1 to upper 128k.
25796 (D10VCopy): Handle memory regions crossing 16k boundaries.
25797 (D10VCopy): Transfer data in 32 bit chunks.
25798
25799 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
25800
25801 * gdb.base/overlays.c (main): Exit normally when result is
25802 correct.
25803
25804 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
25805 map. Include space for printf in .text segment.
25806
25807 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
25808 updated d10v memory VMA/LMA map.
25809 (D10VCopy): Call D10VTranslate.
25810
25811 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
25812
25813 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
25814
25815 * gdb.base/bar.c (barx, bar): Change variable to small array so
25816 that it won't be put into the .sdata - small data -
25817 section. Update reference.
25818 * gdb.base/baz.c (bazx, baz): Ditto.
25819 * gdb.base/foo.c (foox, foo): Ditto.
25820 * gdb.base/grbx.c (grbxx, grbx): Ditto.
25821
25822 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
25823 to be arrays.
25824
25825 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
25826
25827 * gdb.base/overlays.exp: fix up and get working again.
25828 Add tests for backtraces from an overlay function.
25829
25830 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
25831
25832 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
25833 "calling function with watchpoint enabled".
25834
25835 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
25836
25837 * gdb.base/break.exp (test_next_with_recursion): Remove
25838 gdb_suppress_tests for d10v-*-*.
25839 * lib/gdb.exp (gdb_suppress_tests): Disable this function
25840 pending review of whether it is useful or not.
25841
25842 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
25843
25844 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
25845
25846 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
25847
25848 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
25849 * config/dve.exp: New file to support Densan boards.
25850
25851 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
25852
25853 * gdb.base/interrupt.exp: Document problem of simulators, signals,
25854 reads and BSD.
25855
25856 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
25857
25858 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
25859 response.
25860
25861 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
25862
25863 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
25864
25865 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
25866 test.
25867
25868 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
25869 target_sizeof_long and target_bigendian_p.
25870 (structs_by_value, structs_by_reference): Check values according
25871 to targets word size and endianess.
25872
25873 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
25874
25875 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
25876 output.
25877
25878 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
25879
25880 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
25881 Update test of set args help to match source change.
25882
25883 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
25884
25885 * gdb.base/default.exp: Expect help system output to be in
25886 alphabetical order.
25887 * gdb.base/help.exp: Ditto.
25888
25889 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
25890
25891 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
25892 "i*86-pc-linux-gnu*".
25893 * gdb.base/interrupt.exp: Ditto.
25894 * gdb.base/corefile.exp: Ditto.
25895
25896 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
25897 define vxworks when building the testcase.
25898
25899 * gdb.base/ptype.exp: Fix testnames to be unique.
25900 * gdb.base/radix.exp: Ditto.
25901 * gdb.base/term.exp: Ditto.
25902 * gdb.base/whatis.exp: Ditto.
25903 * gdb.c++/classes.exp: Ditto.
25904
25905 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
25906
25907 * gdb.base/callfuncs.exp: Fix indentation.
25908
25909 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
25910 suppress_flag has been set.
25911 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
25912 target feature.
25913
25914 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
25915
25916 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
25917 the testcase.
25918
25919 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
25920 set_debug_traps() and breakpoint().
25921 * gdb.c++/misc.cc (main): Ditto.
25922 * gdb.c++/templates.cc (main): Ditto.
25923 * gdb.c++/virtfunc.cc (main): Ditto.
25924
25925 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
25926
25927 * lib/gdb.exp(gdb_step_for_stub): New function.
25928 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
25929 exists, reload the executable and do a "continue" instead of
25930 doing a jump.
25931 (runto_main): Use gdb_step_for_stub.
25932
25933 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
25934 tests to have unique names.
25935 * gdb.base/callfuncs.exp: Ditto.
25936 * gdb.base/commands.exp: Ditto.
25937 * gdb.base/default.exp: Ditto.
25938 * gdb.base/help.exp: Ditto.
25939 * gdb.base/list.exp: Ditto.
25940 * gdb.base/opaque.exp: Ditto.
25941 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
25942 similar tests.
25943
25944 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
25945 * gdb.c++/cplusfuncs.cc: Ditto.
25946 * gdb.c++/virtfunc.cc: Ditto.
25947
25948 * config/monitor.exp: Keep track of the last file we saw, rather
25949 than trying to get the info from gdb.
25950
25951 * gdb.fortran/types.exp: Move comment to previous line.
25952
25953 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
25954
25955 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
25956 target mode.
25957
25958 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
25959
25960 From Bob Manson:
25961 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
25962 string from GDB when it connects.
25963
25964 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
25965
25966 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
25967
25968 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
25969 if we can't get a debug format from GDB (we may be testing an
25970 older GDB). Use a 10 second timeout when checking for the format.
25971
25972 * gdb.stabs/weird.exp: Fix quoting.
25973
25974 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
25975
25976 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
25977
25978 * config/arm-ice.exp: New file.
25979
25980 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
25981
25982 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
25983 until it has been modified to work with the new testsuite.
25984
25985 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
25986 testcase won't compile, cause all of the testcases in the file to
25987 fail instead.
25988
25989 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
25990 (gdb_clear_suppressed): New procedure.
25991 (gdb_stop_suppressing_tests): Only clear suppress_flag if
25992 it contains a positive value.
25993
25994 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
25995
25996 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
25997
25998 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
25999
26000 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
26001
26002 * lib/gdb.exp (setup_xfail_format): New function.
26003 (get_debug_format): New function to get debug format.
26004 (debug_format): New global variable to hold last value set
26005 by get_debug_format.
26006 * gdb.base/list.exp: Call get_debug_format and expect some
26007 tests to fail for DWARF 1 and COFF formats.
26008 * gdb.c++/ptype.exp: Ditto.
26009 * gdb.c++/classes.exp: Ditto.
26010 * gdb.c++/cplusfuncs.exp: Ditto.
26011 * gdb.c++/inherit.exp: Ditto.
26012 * gdb.c++/templates.exp: Ditto.
26013 * gdb.c++/virtfunc.exp: Ditto.
26014
26015 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
26016
26017 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
26018 host doesn't have a currently-open connection.
26019
26020 * config/sparclet.exp: Cleanups and fixes to make it generic for
26021 any gdb stub target. Handle cases where gdb doesn't respond when
26022 interrupted in a sane fashion.
26023
26024 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
26025 same thing in a totally different way.
26026
26027 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
26028 setting "timeout".
26029 (gdb_start): We set the global gdb_prompt variable in
26030 default_gdb_init now.
26031
26032 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
26033
26034 * gdb.base/printcmds.exp: Fix "check for floating addition"
26035 regexp to accept results within approx +/- .01 of exact value.
26036 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
26037
26038 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
26039
26040 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
26041 properly.
26042 (gdb_expect): Add optional timeout parameter, and add timeout
26043 value to various calls.
26044 (gdb_suppress_tests): Only give one warning message per group.
26045
26046 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
26047
26048 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
26049 global variables. Handle getting a value for $timeout more
26050 gracefully.
26051
26052 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26053
26054 * lib/gdb.exp: Close connection to remote host if gdb doesn't
26055 initialize.
26056 (default_gdb_init): New procedure; allow gdb_init to be overridden
26057 by a target configuration file.
26058 (gdb_expect): Pass the timeout to remote_expect.
26059
26060 * config/monitor.exp(gdb_load): Fix typo in regexp.
26061
26062 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
26063
26064 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
26065
26066 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
26067
26068 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
26069 here. Call gdb_target_exec before rebooting the target, to make
26070 sure the connection to the target is closed.
26071 (gdb_load): Pass the name of the executable to gdb_target_monitor.
26072 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
26073 Also detect "Timeout reading from remote" error.
26074
26075 * config/gdbserver.exp: Pass the executable being loaded to
26076 gdb_target_monitor. Don't call gdb_file_cmd here; let
26077 gdb_target_monitor do it.
26078
26079 * gdb.disasm/hppa.exp: Don't use exec_output.
26080
26081 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
26082
26083 * gdb.base/list.exp: If we're debugging a non-native target,
26084 try to set the pc register to point to the start of the
26085 program before doing the first list command.
26086
26087 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
26088 test_calls after restarting.
26089
26090 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
26091 reloading.
26092
26093 * gdb.base/watchpoint.exp: Fix typo.
26094
26095 * gdb.base/setshow.exp: Check for use_gdb_stub.
26096
26097 * gdb.base/break.exp: Fix continue until exit test for the gdb
26098 stub case.
26099 * gdb.base/langs.exp: Ditto.
26100
26101 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
26102 gdb_load_offset. If we weren't given a file to load, figure out
26103 what the current file is and use it.
26104
26105 * config/i386-bozo.exp: New file.
26106
26107 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
26108
26109 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
26110 feature.
26111
26112 * config/proelf.exp: New entry.
26113
26114 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
26115
26116 * lib/gdb.exp: Remove spurious .* patterns at the beginning
26117 of regexps.
26118
26119 * gdb.base/watchpoint.exp: Don't run the test_stepping
26120 tests if gdb can't call functions on the target.
26121
26122 * gdb.base/setshow.exp: Don't run the set prompt tests if
26123 the board has gdb_prompt set.
26124
26125 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
26126
26127 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
26128 * gdb.base/commands.exp: Likewise.
26129 * gdb.base/setshow.exp: Likewise.
26130
26131 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
26132
26133 * config/monitor.exp(gdb_start): Look for gdb_prompt target
26134 feature.
26135
26136 * config/i960.exp: New file.
26137
26138 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
26139
26140 * gdb.base/funcargs.exp: Check for gdb,short_int target
26141 feature instead of looking for explicit target triplets.
26142
26143 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
26144
26145 * gdb.base/printcmds.exp: add a couple more tests a la
26146 "p 123DEADBEEF", to check parse_number.
26147 * top.c: change "to enable to enable" to "to enable" in a couple
26148 of help strings.
26149
26150 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
26151
26152 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
26153 on the mn10300.
26154
26155 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
26156
26157 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
26158 where the test executable is run with explicit args.
26159 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
26160
26161 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
26162
26163 * gdb.base/run.c: Use FAKEARGV to build test executable that
26164 does not require a command line arg, since most simulators
26165 don't currently support passing such an arg into the simulated
26166 program.
26167 * gdb.base/commands.exp: Change tests to insert the proper
26168 value as the arg to the first recursive factorial call. Change
26169 compilation line to define FAKEARGV at compile time.
26170
26171 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
26172
26173 * gdb.base/recurse.exp: Enable these tests for the mn10300.
26174 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
26175 function with watchpoint enabled" test.
26176
26177 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
26178
26179 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
26180 Don't call gdb_test when the command doesn't return to a gdb prompt.
26181
26182 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
26183 "Tests restarted" messages.
26184
26185 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
26186
26187 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
26188
26189 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
26190
26191 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
26192 for INFO SYMBOL; add help tests for OVERLAY commands.
26193 * gdb.base/default.exp: add tests for INFO SYMBOL command;
26194 add tests for OVERLAY commands
26195 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
26196 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
26197 * gdb.base/sigall.c: add usestubs code frag
26198 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
26199
26200 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
26201
26202 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
26203 failures.
26204 (gdb_stop_suppressing_tests): Note that tests have restarted.
26205
26206 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
26207
26208 * config/h8300.exp: New file.
26209
26210 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
26211
26212 * gdb.base/setshow.exp: Check for the existence of a
26213 feature, not its value.
26214
26215 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
26216
26217 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
26218
26219 * gdb.base/scope.exp: It's now init0(), not init().
26220
26221 * gdb.base/scope0.c: For now, change init() to be init0().
26222
26223 * config/monitor.exp: Use gdb_serial in preference to serial
26224 or netport.
26225
26226 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
26227 and it's not already set.
26228
26229 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
26230
26231 * gdb.base/setshow.exp: Only test the run command if the target
26232 isn't using a stub and if it supports argument passing.
26233
26234 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
26235
26236 * config/udi.exp(gdb_start): Make sure UDICONF is set
26237 properly before starting gdb.
26238
26239 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
26240
26241 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
26242 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
26243 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
26244
26245 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
26246
26247 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
26248 specialized code to reboot the board, use remote_reboot instead.
26249
26250 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
26251
26252 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
26253
26254 * config/monitor.exp: Make sure we disconnect from the target.
26255 Also, try a reboot/reload cycle instead of failing if the
26256 load fails.
26257
26258 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
26259
26260 * gdb.base/default.exp: Don't set match_max.
26261 * gdb.base/help.exp: Ditto.
26262 * gdb.base/list.exp: Ditto.
26263 * gdb.base/signals.exp: Ditto.
26264
26265 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
26266 set, use remote_ld to download the testcase instead of
26267 the GDB loader.
26268
26269 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
26270
26271 * config/vr5000.exp: New file.
26272
26273 * config/monitor.exp(gdb_target_monitor): Add pattern for
26274 "Ending remote" to detect errors in connecting.
26275
26276 * gdb.base/setshow.exp: Add .* within auto language test.
26277
26278 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
26279 target feature.
26280
26281 * config/monitor.exp(gdb_load): Check for a failure when loading,
26282 and reboot the board if necessary.
26283
26284 * gdb.base/setvar.exp(test_set): Handle multiple prints within
26285 a set of tests. Remove print.* from the patterns being checked.
26286
26287 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
26288
26289 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
26290 refer to gdb_spawn_id.
26291
26292 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
26293 longer used.
26294 * config/sparclet.exp: Ditto.
26295 * config/sparclet-old.exp: Ditto.
26296 * config/slite.exp: Ditto.
26297 * config/sim.exp: Ditto.
26298 * gdb.base/funcargs.exp: Ditto.
26299
26300 * lib/gdb.exp:Remove references to gdb_spawn_id.
26301 (gdb_expect): Move to remote.exp.
26302
26303 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
26304
26305 * config/monitor.exp: Detect the "Couldn't establish connection"
26306 message from GDB.
26307
26308 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
26309
26310 * gdb.base/bitfields.exp: Use runto instead of explicit
26311 gdb_run_cmd/gdb_expect sequences.
26312
26313 * gdb.base/break.exp(text_next_with_recursion): Add match for
26314 gdb_expect call.
26315
26316 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
26317 We also need to handle the "A program is being debugged already"
26318 prompt from gdb. Use gdb_test to set the baud rate.
26319
26320 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
26321 to 20000. Really. I mean it.
26322
26323 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
26324
26325 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
26326 fails. If suppress_flag is set, skip perror message about not
26327 being able to send to GDB.
26328 (send_gdb): If suppress_flag is set, don't try to send commands to
26329 GDB.
26330 (gdb_expect): If suppress_flag is set, always fail immediately.
26331 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
26332 (gdb_init): Call gdb_stop_suppressing_tests.
26333 (default_gdb_exit): Ditto.
26334 (default_gdb_start): Ditto.
26335
26336 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
26337 gdb_stop_suppressing_tests as appropriate.
26338 * gdb.base/break.exp: Ditto.
26339 * gdb.base/callfuncs.exp: Ditto.
26340 * gdb.base/commands.exp: Ditto.
26341 * gdb.base/exprs.exp: Ditto.
26342 * gdb.base/funcargs.exp: Ditto.
26343 * gdb.base/list.exp: Ditto.
26344 * gdb.base/recurse.exp: Ditto.
26345 * gdb.base/scope.exp: Ditto.
26346 * gdb.base/structs.exp: Ditto.
26347 * gdb.c++/inherit.exp: Ditto.
26348
26349 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
26350
26351 * config/vr4300.exp: New file.
26352
26353 * gdb.*/*.exp: Call gdb_expect instead of expect.
26354
26355 * lib/gdb.exp(gdb_expect): New function.
26356
26357 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
26358
26359 * lib/gdb.exp(gdb_init): New function.
26360
26361 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
26362 for each individual variable set.
26363
26364 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
26365 name.
26366
26367 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
26368
26369 * gdb.base/scope.exp: Use gdb_test.
26370
26371 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
26372 aborting; the testsuite driver will do that for us (see
26373 gdb_finish). Also, use gdb_test in a few more places.
26374
26375 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
26376
26377 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
26378
26379 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
26380
26381 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
26382 and "add_tests" are not at the same address.
26383
26384 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
26385
26386 * gdb.base/ptype.exp: Use gdb_test.
26387
26388 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
26389
26390 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
26391 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
26392 left in. No longer expect them to fail.
26393
26394 * gdb.stabs/*.mt; Deleted, no longer used.
26395 * gdb.stabs/configure.in: Remove references to target makefile
26396 frags.
26397 * gdb.stabs/configure: Rebuilt.
26398
26399 * gdb.disasm/*.mt: Deleted, no longer used.
26400 * gdb.disasm/configure.in: Remove references to target makefile
26401 frags. Use "sh3.s" as the unique filename for this directory.
26402 * gdb.disasm/configure: Rebuilt.
26403
26404 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
26405 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
26406 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
26407
26408 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
26409
26410 * config/udi.exp: Use mondfe,name instead of remote_host.
26411
26412 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
26413
26414 * gdb.base/watchpoint.exp: Don't expect a failure when calling
26415 a function with a watchpoint enabled on the mn10200.
26416
26417 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
26418 before trying to create it!
26419
26420 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
26421
26422 * config/vx.exp: Use hostname instead of netport.
26423
26424 * config/vxworks.exp: New file.
26425
26426 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
26427
26428 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
26429 gdb before assuming everything worked. Send a ^C if a timeout
26430 occurs.
26431
26432 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
26433 $gdb_spawn_id directly.
26434 (gdb_run_cmd): Try _start as well as start. Use the target feature
26435 gdb,start_symbol as the symbol to start from when jumping.
26436
26437 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
26438
26439 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
26440 redundant) test.
26441
26442 * gdb.base/recurse.exp: Relax final value test for 'b' so that
26443 it doesn't lose for 16bit integer systems.
26444
26445 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
26446
26447 * gdb.fortran/types.exp: If the target doesn't support "double"
26448 data types, then expect "real" types to only be 4 bytes.
26449
26450 * gdb.c++/virtfunc.exp: Expect failure for virtual function
26451 call tests if the target doesn't support inferior function calls.
26452
26453 * gdb.base/printcmds.exp: Allow minor deviation in FP values
26454 in printf tests.
26455
26456 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
26457
26458 * gdb.base/help.exp: Disable "help set", "help show", and
26459 "help support". Simplify regexp for "help stack".
26460
26461 * gdb.base/default.exp: Set match_max to 5000 and the timeout
26462 to 60 seconds. Temporarily set match_max to 15000 around the
26463 "info copying" test.
26464
26465 * gdb.base/nodebug.exp: Don't try to do an inferior function
26466 call if the target doesn't support them.
26467 * gdb.base/printcmds.exp: Likewise.
26468 * gdb.base/setvar.exp: Likewise.
26469 * gdb.base/structs.exp: Likewise.
26470 * gdb.c++/templates.exp: Likewise.
26471 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
26472
26473 * gdb.base/recurse.exp: Enable for the mn10200.
26474
26475 * configure.in: Do configure gdb.stabs directory for *-*-elf
26476 targets.
26477 * configure: Rebuilt.
26478
26479 * gdb.base/break.exp: Check for gdb,noresults before testing
26480 exit status and/or results from the target.
26481 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
26482 * lib/gdb.exp: Remove old (now bogus) initialization of
26483 noinferior, noargs, noresults and nosignals.
26484
26485 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
26486
26487 * config/sh.exp: New file.
26488
26489 * config/slite.exp: Try to connect multiple times to the board
26490 before rebooting. Only send a "monitor run" if need_monitor_run
26491 is set.
26492
26493 * gdb.base/break.exp: Don't do the "stub continue" test if
26494 the target has gdb_stub set.
26495
26496 * gdb.base/callfuncs.exp: Increase the timeout.
26497
26498 * gdb.base/interrupt.exp: Don't even try to compile the testcase
26499 if the target has gdb,noinferiorio set.
26500
26501 * gdb.base/list.exp: Increase match_max to 10000 characters.
26502
26503 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
26504
26505 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
26506 target.
26507
26508 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
26509
26510 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
26511
26512 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
26513 trying to delete the copy of gdb. Catch the file delete so we
26514 don't die if the delete fails; also, the file should be copied to
26515 the host, not to the build.
26516
26517 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
26518
26519 * lib/gdb.exp(gdb_test): Surround the result pattern with
26520 parenthesis in case it contains multiple regexps separated
26521 with |.
26522
26523 * gdb.base/watchpoint.exp: Use gdb_test.
26524 * gdb.base/default.exp: Ditto.
26525
26526 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
26527
26528 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
26529
26530 * gdb.base/scope.exp: Use gdb_test.
26531 * gdb.c++/classes.exp: Ditto.
26532 * gdb.c++/inherit.exp: Ditto.
26533
26534 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
26535
26536 * gdb.base/crossload.exp: Don't use execute_anywhere, use
26537 remote_exec instead.
26538 * gdb.base/corefile.exp: Don't be ridiculous.
26539 * gdb.base/*.c: Add missing stub invocations.
26540
26541 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
26542
26543 * config/slite.exp: Miscellaneous fixes.
26544
26545 * lib/gdb.exp: Fix runto.
26546
26547 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
26548 the target.
26549
26550 * gdb.base/watchpoint.exp: Fix regexp.
26551
26552 * lib/gdb.exp(default_gdb_exit): Add a catch to the
26553 close and wait commands, as the descriptor may now be
26554 invalid. Always call "remote_close host".
26555
26556 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
26557
26558 Major rewrite for testsuite revision.
26559
26560 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
26561 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
26562 instead of relying on spawn_id to always contain a valid
26563 spawn id.
26564 (get_compiler_info): New procedure to build the ${binfile}.ci
26565 file, instead of replicating this in N different places.
26566 (gdb_compile): New procedure.
26567
26568 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
26569 appropriate arguments) instead of compile. Use gdb_test in a lot
26570 more places. Use send_gdb instead of send. Always run gdb_start
26571 at the start of a testcase, as this is no longer done magically.
26572
26573 config/*-gdb.exp: Rename without the -gdb suffix.
26574
26575 config/mips.exp: Use remote_close instead of exit_remote_shell.
26576 config/monitor.exp: Use target_info instead of looking at
26577 baud, timeout, etc.
26578 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
26579
26580 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26581
26582 * gdb.c++/templates.exp (test_ptype_of_templates),
26583 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
26584 Update expect patterns for destructors and assignment operators
26585 to match corresponding c-typeprint.c changes.
26586 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
26587 to destructor breakpoint test, GDB should be able to set the
26588 destructor breakpoint without specifying arguments.
26589
26590 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
26591
26592 * gdb.threads/pthreads.exp: Change result for failure to compile due
26593 to lack of pthreads runtime support from an error to simply an
26594 unsupported test, per dejagnu standards.
26595
26596 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26597
26598 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
26599 where GDB exits to reduce pattern match time.
26600 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
26601
26602 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
26603
26604 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
26605
26606 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
26607 * gdb.base/default.exp: ditto.
26608 * gdb.base/nodebug.exp: ditto.
26609 * gdb.base/printcmds.exp: ditto.
26610 * gdb.base/ptype.exp: ditto.
26611 * gdb.base/setvar.exp: ditto.
26612 * gdb.base/structs.exp: ditto.
26613 * gdb.base/setshow.c: Guard against uninitialized values of argc.
26614
26615 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
26616
26617 * configure, */configure: Rebuild with autoconf 2.12.
26618
26619 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
26620
26621 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
26622 use new i*86-pc-linux*-gnu quads.
26623 * gdb.base/corefile.exp: Ditto.
26624 * gdb.base/signals.exp: Ditto.
26625 * gdb.base/sigall.exp: Ditto.
26626 * gdb.base/interrupt.exp: Ditto.
26627
26628 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
26629 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
26630 RedHat 4.0.
26631
26632 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
26633 linux. This allows the test case to at least compile on latest
26634 linux, but still not run due to missing the threads runtime library.
26635
26636 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26637
26638 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
26639 directory to search gdb directory. Accept and step over conditional
26640 stack alignment code. Consume $prompt in failure cases.
26641 Reset timeout to $oldtimeout instead of some arbitrary value.
26642 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
26643 timeout problems with infinite stack backtraces.
26644 * gdb.base/ptype.exp (ptype struct link, union tu_link):
26645 Accept function parameters for linkfunc member.
26646
26647 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
26648
26649 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
26650 (CXXFLAGS): Remove, unreferenced.
26651 (B_OPTIONS): Add for -B options and add code to initialize with
26652 previous -B options and also add -B option to pick up cross compiled
26653 runtime.
26654 (TARGET_INCLUDES): Add for -I options and add code to initialize when
26655 doing cross compiles.
26656 (target_alias): Declare global.
26657 (xgcc): Set variable to full path of gcc in build tree. Use findfile
26658 to verify that gcc exists in build tree, and if so set CC to that
26659 gcc and to use B_OPTIONS and TARGET_INCLUDES.
26660
26661 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
26662
26663 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
26664 ptype test for anonymous union. Fixup testcase to match
26665 current gcc debug output.
26666
26667 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
26668
26669 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
26670 force argument to an unsigned long type.
26671
26672 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
26673
26674 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
26675 tests and anonymous union print/ptype tests.
26676 * gdb.base/list.exp (test_forward-search): Increase timeout by
26677 5 minutes for the "search extremely long line" case.
26678 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
26679 completely optional and that the pass/fail messages use the command as
26680 the message if that third arg is a null string.
26681 (gdb_test_exact): Arrange that a null string pattern means match a
26682 null string output rather than any output, which might include random
26683 errors.
26684 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
26685 backtrace test.
26686 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
26687 always failing and failure is now exposed by gdb.exp changes.
26688
26689 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
26690
26691 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
26692 weren't being noted.
26693
26694 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
26695
26696 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
26697 * gdb.stabs/weird.exp: Remove v_comb xfails.
26698
26699 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
26700
26701 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
26702 list.exp scope.exp watchpoint.exp]
26703 Make all timeout error msgs explicitly say "(timeout)".
26704
26705 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
26706
26707 * config/monitor.exp: Increase download timeout to 1000 seconds.
26708
26709 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
26710
26711 * config/m32r.exp: Increase timeout to 120 seconds.
26712
26713 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
26714
26715 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
26716 and accept older ordering as obsolescent gcc or gdb.
26717 * gdb.c++/templates.exp: Ditto.
26718 * gdb.c++/virtfunc.exp: Ditto.
26719
26720 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
26721
26722 * gdb.base/coremaker.c: Add code to mmap some data so we
26723 can check that it ends up in the core file.
26724 * gdb.base/corefile.exp: Add test to read mmapped data
26725 from core file.
26726
26727 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
26728
26729 * config/m32r.exp: New file.
26730
26731 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
26732
26733 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
26734 that cflags can contains -gstabs, and work correctly for other tests.
26735
26736 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
26737
26738 * gdb.base/setshow.exp: New file, tests show and set.
26739 * gdb.base/setshow.c: New file, tests show and set.
26740 * gdb.base/help.exp: Add test for help set|show annotate.
26741 * gdb.base/default.exp: Add test for set|show annotate.
26742
26743 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
26744
26745 * testsuite/gdb.base/break.exp: Make backtrace from factorial
26746 errors unique.
26747 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
26748 explicitly.
26749
26750 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
26751
26752 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
26753 and width commands. This is done elsewhere.
26754 * (gdb_start): Don't call gdb_start_sim here. That's already
26755 done in gdb_load. This fixes lots of failures in default.exp.
26756
26757 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
26758
26759 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
26760 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
26761 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
26762 in the same we we treat other failures (since it may be an expected
26763 condition), rather than as an error.
26764 * gdb.base/signals.exp (test_handle_all_print): Revert back to
26765 old test format.
26766
26767 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
26768
26769 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
26770 (distclean maintainer-clean realclean): No need to remove files
26771 twice. Nuke the duplicates.
26772 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
26773 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
26774 Remove config.h along with other config files.
26775
26776 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
26777
26778 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
26779 "p func1 ()" and note that rests of tests are skipped.
26780 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
26781 setup_xfails for "print func2::coremaker_local".
26782 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
26783 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
26784 affected by the previous run test.
26785 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
26786 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
26787 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
26788 "pass int powerset tuple" and "pass modeless int powerset tuple".
26789 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
26790 "real write 4" and "real write 8".
26791 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
26792 setup_xfails for "print vs1 after tuple assign 2",
26793 "print \$i after tuple assign 2", and
26794 "print vs2 after tuple assign 2".
26795 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
26796 meaningful error message and return -1 so the caller can
26797 suppress further tests and avoid a cascade of errors.
26798
26799 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
26800
26801 * gdb.base/a1-selftest.exp: Tweak tests to account for new
26802 format for printing version.
26803 * gdb.base/default.exp: Ditto.
26804 * gdb.base/interrupt.exp: Fix problem with cascade of
26805 errors if child process dies while calling a function.
26806
26807 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
26808
26809 * Makefile.in (VPATH): Add
26810 * Makefile.in (Makefile, config.status): Fix rules so things get
26811 remade when necessary.
26812
26813 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
26814
26815 * Makefile.in (just-check): Add path to sibling expect dir
26816 to environment variable specified by RPATH_ENVVAR.
26817
26818 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
26819
26820 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
26821 (just-check): Add shared library paths for libstdc++, tk,
26822 tcl, bfd, and opcodes to the environment variable specified
26823 in RPATH_ENVVAR.
26824 * configure.in: Add support to recognize --enable-shared flag
26825 and generate correct value for RPATH_ENVVAR.
26826 * configure: Regenerated with autoconf.
26827
26828 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
26829
26830 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
26831 include all osf versions.
26832 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
26833 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
26834 when target is linux. When failing to build pthreads test
26835 executable, give more meaningful message.
26836 * gdb.threads/pthreads.c: Hpux also uses old definition of second
26837 arg for pthread_create.
26838
26839 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
26840
26841 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
26842 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
26843 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
26844 and -lpthreads (everybody else).
26845 (test_startup): Fail gracefully if threads are not supported.
26846 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
26847 "p/c array_index("abcdef",2)" when not gcc compiled.
26848 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
26849 "print func2::coremaker_local" when not gcc compiled.
26850 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
26851 "ptype on opaque struct tagname (statically)",
26852 "ptype on opaque struct tagname (dynamically) 1", and
26853 "ptype on opaque struct tagname (dynamically) 2"
26854 for not compiled with gcc.
26855 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
26856 backtrace when compiled with gcc.
26857 * lib/gdb.exp (runto_main): Return result of "runto main" rather
26858 than always return success.
26859
26860 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
26861
26862 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
26863
26864 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
26865
26866 * gdb.base/structs.exp: Undo last change.
26867
26868 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
26869
26870 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
26871 encapsulate all the steps/nexts done during self test, starting
26872 at main, and makes them less sensitive to optimization issues.
26873 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
26874 signal handler" test.
26875 * gdb.threads/pthreads.exp: Only run this for native configs.
26876 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
26877 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
26878 tests.
26879 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
26880 for "runto test_calls(void)" test.
26881
26882 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
26883
26884 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
26885 and don't expect address info in breakpoint confirmations.
26886
26887 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
26888
26889 * gdb.base/list.exp (test_forward_search): Increase timeout
26890 temporarily by 60 seconds for searching extremely long line,
26891 and then reset to old value when done. Increase expect input
26892 buffer to 10000.
26893
26894 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
26895
26896 * gdb.base/list.exp (test_forward_search): Fix to handle very
26897 long source line without overflowing expect's input buffer.
26898
26899 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
26900
26901 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
26902 "buffer_full".
26903
26904 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
26905 "buffer_full".
26906
26907 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
26908 "buffer_full".
26909
26910 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
26911 "buffer_full".
26912
26913 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
26914
26915 * configure.in (configdirs): Add gdb.threads.
26916 * configure: Regenerated with autoconf.
26917 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
26918 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
26919 * gdb.threads/configure: New, generated with autoconf.
26920
26921 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
26922
26923 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
26924
26925 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
26926
26927 * gdb.base/signals.exp (test_handle_all_print): Test separately for
26928 each signal's status in the output of "handle all print".
26929 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
26930 the \r\n sequence that immediately precedes the gdb prompt.
26931 * gdb.base/a1-selftest.exp: Save original timeout and restore
26932 after test.
26933
26934 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
26935
26936 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
26937 symbol.
26938
26939 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
26940
26941 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
26942
26943 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
26944
26945 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
26946 timeout by 60 seconds.
26947
26948 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
26949
26950 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
26951 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
26952 error return.
26953
26954 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
26955
26956 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
26957 gdb initialization, also report how long dejagnu waited. Restore
26958 old timeout before doing error return. Temporarily increase timeout
26959 by 3 minutes to allow for slow startups over heavy NFS use.
26960
26961 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
26962
26963 * lib/gdb.exp: Report timeout value for verbosity level 2.
26964 * config/gdbserver.exp: Ditto.
26965 * config/hppro.exp: Ditto.
26966 * config/mips-gdb.exp: Ditto.
26967 * config/monitor.exp: Ditto.
26968 * config/netware.exp: Ditto.
26969 * config/sim-gdb.exp: Ditto.
26970 * config/slite-gdb.exp: Ditto.
26971 * config/udi-gdb.exp: Ditto.
26972 * config/unix-gdb.exp: Ditto.
26973 * config/vx-gdb.exp: Ditto.
26974 * gdb.base/a1-selftest.exp: Ditto.
26975 * gdb.base/a2-run.exp: Ditto.
26976 * gdb.base/break.exp: Ditto.
26977 * gdb.base/corefile.exp: Ditto.
26978 * gdb.base/list.exp: Ditto.
26979 * gdb.base/recurse.exp: Ditto.
26980 * gdb.base/scope.exp: Ditto.
26981 * gdb.base/signals.exp: Ditto.
26982
26983 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
26984
26985 * gdb.threads/Makefile.in (docdir): Removed.
26986
26987 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
26988
26989 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
26990 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
26991 @srcdir@.
26992 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
26993 autoconf 2.5 or higher.
26994 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
26995
26996 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
26997
26998 * configure: Regenerated.
26999 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
27000 avoid name clashes with SunOS headers.
27001
27002 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
27003
27004 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
27005
27006 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
27007
27008 * gdb.base/callfuncs.exp: Finish last change -- make sure the
27009 prototype information ends up in the compiler info file.
27010
27011 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
27012
27013 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
27014 attempting to regenerate it. Eliminate use of a temporary file
27015 and just generate the info file directly. Source it immediately,
27016 for consistency of use.
27017 * gdb.base/corefile.exp: Ditto
27018 * gdb.base/exprs.exp: Ditto.
27019 * gdb.base/funcargs.exp: Ditto.
27020 * gdb.base/langs.exp: Ditto.
27021 * gdb.base/list.exp: Ditto.
27022 * gdb.base/mips_pro.exp: Ditto.
27023 * gdb.base/nodebug.exp: Ditto.
27024 * gdb.base/opaque.exp: Ditto.
27025 * gdb.base/ptype.exp: Ditto.
27026 * gdb.base/scope.exp: Ditto.
27027 * gdb.base/setvar.exp: Ditto.
27028 * gdb.base/signals.exp: Ditto.
27029 * gdb.base/whatis.exp: Ditto.
27030 * gdb.c++/templates.exp: Ditto.
27031 * gdb.c++/virtfunc.exp: Ditto.
27032 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
27033 whether or not to add -lstdc++ to the compile command line args.
27034
27035 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27036
27037 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
27038 it got fixed by the recent lookup_minimal_symbol_by_pc change.
27039 Increase timeout, a lot of single stepping might be needed if the
27040 target has no hardware watchpoints.
27041
27042 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
27043
27044 * gdb.base/break.exp: Ignore compiler warnings when compiling
27045 break.c.
27046 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
27047 * gdb.base/default.exp: Add h8300 xfails. Handle messages
27048 from remote-sim.
27049 * gdb.base/exprs.exp: Add h8300 xfails.
27050 * gdb.base/funcargs.exp: Likewise.
27051 * gdb.base/nodebug.exp: Likewise.
27052 * gdb.base/printcmds.exp: Likewise.
27053 * gdb.base/ptype.exp: Likewise.
27054 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
27055 h8300 xfails.
27056 * gdb.base/return.exp: Handle float/double precision problems
27057 on the h8300.
27058 * gdb.base/funcargs.c: Explicitly make last constant argument to
27059 call_after_alloca_subr an unsigned long type.
27060 * gdb.base/return.c: Include stdio.h.
27061
27062 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
27063
27064 * config/abug.exp: New file for the older Motorola Bug monitor
27065 that runs on the mvme13x series VME boards.
27066 * config/monitor.exp: Use the new config array for target settings
27067 if they exist.
27068
27069 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
27070
27071 * sim-gdb.exp: Make the SH simulator allocate less space when
27072 it is targeted.
27073
27074 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
27075
27076 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
27077 test.
27078
27079 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
27080
27081 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
27082 "rs6000-*-*" for "list function in include file" when gcc compiled.
27083 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
27084 for "p ctable1[120]".
27085 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
27086 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
27087 Remove setup_xfail for "rs6000-*-*" for
27088 "print 'scope0.c'::filelocal before run".
27089 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
27090 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
27091 since some compilers don't allow both options to be given
27092 on the same command line. Create object file and move it.
27093
27094 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
27095
27096 * gdb.base/corefile.exp: Always regenerate the core file, since
27097 we always regenerate the coremaker program. Detect special case
27098 where registers cannot be read from core file.
27099
27100 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
27101
27102 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
27103 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
27104 * gdb.c++/templates.exp: Only match on basename of file since
27105 some formats like xcoff don't encode directory information.
27106 * gdb.stabs/weird.exp: Use the right sed script for powerpc
27107 and rs6000 AIX xcoff targets.
27108 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
27109 * configure: Regenerate.
27110 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
27111 here, rather than in distclean.
27112
27113 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
27114
27115 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
27116 defined, and use it to compile the test case with -O2. The
27117 native compilation still uses no optimization.
27118 * gdb.base/mips_pro.c: Remove inline assembly code since
27119 it is compiled PIC by default, which results in assembler
27120 warnings that make the testsuite think the compilation
27121 was unsuccessful.
27122
27123 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
27124
27125 * gdb.c++/misc.exp: Add note to message for
27126 "print s.a for foo struct" that this is a known gcc 2.7.2
27127 and earlier bug.
27128
27129 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
27130
27131 * gdb.base/break.exp: Fix pattern for matching "Delete all
27132 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
27133 setup_xfail for deleting all breakpoints test. Fix various
27134 timeout messages to include "(timeout)".
27135 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
27136 for "p t_float_values2(3.14159,float_val2)".
27137 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
27138 for "continue to call2g" when gcc compiled.
27139 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
27140 "up to foo in langs.exp", "show language at foo in langs.exp",
27141 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
27142 and "show language at fsub in langs.exp".
27143 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
27144 "list line 1 in include file", "list message for lines past EOF",
27145 "list function in include file", "list list0.h:foo", and
27146 "list filename:function; nonexistant function".
27147 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
27148 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
27149 and "ptype t_char_array" to be for native cc only.
27150
27151 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
27152
27153 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
27154 setup_xfail for "print coremaker_bss", "print coremaker_ro",
27155 "print func2::coremaker_local", and "backtrace in corefile.exp".
27156
27157 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
27158
27159 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
27160 "bt in signals.exp". This problem only appears when running
27161 the testsuite, and then only intermittently.
27162
27163 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
27164
27165 * gdb.base/return.exp (return_tests): Differentiate between
27166 two tests of continuing.
27167
27168 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
27169
27170 * */Makefile.in (maintainer-clean): Remove config.log.
27171 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
27172 * gdb.c++/Makefile.in (PROGS): Add inherit.
27173 (clean): Remove *.ci.
27174
27175 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
27176
27177 * gdb.c++/misc.cc: Add test code from Mike Stump.
27178 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
27179
27180 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
27181
27182 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
27183 to "alpha-*-osf2*" and add comment.
27184 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
27185 setup_xfail for "step over execarg initialization" and
27186 "step over corearg initialization".
27187 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
27188 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27189 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
27190 gcc compiled for "print coremaker_bss", "print coremaker_ro",
27191 "print func2::coremaker_local", and "backtrace in corefile.exp".
27192 * gdb.base/signals.exp: Build and source signals.ci.
27193 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
27194 to be for gcc only.
27195 * lib/gdb.exp: Move verbose statements outside conditionals.
27196
27197 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27198
27199 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
27200 Feb 3 procfs.c change.
27201
27202 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
27203
27204 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
27205
27206 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
27207
27208 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
27209 from dejagnu's apparent default of 10 seconds, which gives random
27210 results when running the tests over NFS on moderately loaded systems.
27211 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
27212
27213 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
27214
27215 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
27216 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
27217 result reports.
27218
27219 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
27220
27221 * configure.in (CY_AC_PATH_TCLH): Remove.
27222 * configure: Regenerate.
27223
27224 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
27225
27226 * gdb.c++/Makefile.in (clean): Add missing '{'.
27227
27228 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
27229
27230 * lib/gdb.exp: Provide a default value for noinferior.
27231
27232 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
27233 Load libgloss.exp.
27234
27235 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
27236
27237 * gdb.disasm/hppa.exp: Compile directly into an executable, use
27238 the executable, not the .o to run the tests from.
27239
27240 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
27241
27242 * gdb.base/break.exp: Don't test for program exit or exit status
27243 if $noresults if nonzero.
27244 * gdb.base/langs.exp: Likewise.
27245 * gdb.base/watchpoint.exp: Likewise.
27246
27247 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
27248 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
27249 trying to compile the testcase.
27250
27251 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
27252
27253 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
27254 * gdb.base/signals.exp (continue to handler): Likewise.
27255
27256 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
27257
27258 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
27259
27260 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
27261
27262 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
27263
27264 * gdb.base/corefile.exp: Recognize "not found" as failure
27265 when trying to determine if a core file was generated.
27266 If no core file was generate the first time, try again without
27267 the ulimit -c to work around braindamaged shells.
27268
27269 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
27270
27271 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
27272 [] tests with "test" and enclose string in quotes.
27273 * gdb.stabs/configure: Rebuild
27274
27275 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
27276
27277 Changes in sync with expect:
27278 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
27279 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
27280 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
27281 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
27282 argument to AC_REQUIRE.
27283 * configure: Regenerated.
27284
27285 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
27286
27287 * gdb.base/corefile.exp: When generating a core, discard any
27288 error messages about ulimit not found and the "core dumped"
27289 message from the shell that runs the coredumper.
27290
27291 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
27292
27293 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
27294
27295 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
27296 which sed script to run. Expect failure for v_comb test
27297 on PA targets too.
27298
27299 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
27300
27301 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
27302 "print func2::coremaker_local" and for "backtrace in corefile.exp"
27303
27304 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
27305
27306 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
27307 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
27308 "sparc-sun-solaris*" xfails for "p v_comb".
27309 * lib/gdb.exp (default_gdb_start): Fix typo.
27310 * gdb.base/corefile.exp: Allow "Core was generated by ..."
27311 messages to not include the full program name that caused
27312 the core dump since some systems (such as solaris) apparently
27313 truncate this path to about 80 characters.
27314 When generating a core file first try increasing the core file
27315 size limit to unlimited since some systems may default it to
27316 zero, and it is harmless to try it. Move the test for failing
27317 to generate a core file to where it will actually get executed.
27318 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
27319 new gdb result from g++ debug info improvements and make old
27320 pattern obsolescent. Also account for size_t differences
27321 (may be int or long).
27322 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
27323 initialization before function call is placed in the delay slot
27324 and thus appears to be skipped over by commands such as "next".
27325
27326 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
27327
27328 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
27329
27330 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
27331
27332 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27333 input source file; fix code to compile test to deal with this
27334 convention.
27335 * gdb.c++/*.exp: Likewise.
27336
27337 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
27338
27339 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
27340 "bt in signals.exp".
27341
27342 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
27343
27344 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
27345 "step over execarg initialization" and
27346 "step over corearg initialization".
27347
27348 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
27349
27350 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
27351 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
27352
27353 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
27354
27355 From Rob Savoye (rob@poseidon.cygnus.com)
27356 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
27357 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
27358 configure.in}, gdb.disasm/{Makefile.in, configure.in},
27359 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
27360 configure.in}: Major reworking for autoconfig.
27361 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
27362 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
27363 New files.
27364 * config/unix-gdb.exp: Make GDB global.
27365 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
27366 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
27367 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
27368 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
27369 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
27370 term.exp, twice.exp, watchpoint.exp, whatis.exp},
27371 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
27372 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
27373 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
27374 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
27375 pr-8136.exp, result.exp, string.exp, tuples.exp},
27376 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
27377 to returns as necessary, arrange for test to compile own testcase
27378 executable.
27379 * lib/gdb.exp: Changes for testsuite to compile own test cases.
27380
27381 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
27382
27383 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
27384 clear_xfail at end of test which might not call either pass or fail.
27385 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
27386 "backtrace through signal handler".
27387
27388 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27389
27390 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
27391 continuing from a job control stop signal.
27392 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
27393
27394 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
27395
27396 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
27397 * gdb.base/corefile.exp: Likewise.
27398 * gdb.base/funcargs.exp: Likewise.
27399
27400 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
27401
27402 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
27403 * config/monitor.exp: Add support for setting baud rate.
27404
27405 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
27406
27407 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
27408 i*86-*-linux* xfails for "backtrace through signal handler".
27409 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
27410 "print func2::coremaker_local".
27411 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
27412 alpha-dec-osf2* xfail for
27413 "delete all breakpoints when none".
27414
27415 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
27416
27417 * gdb.base/break.exp: Change test that deletes all breakpoints
27418 when no user breakpoints are installed. A post 4.15 change
27419 causes gdb to no longer prompt in this case.
27420
27421 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
27422
27423 * gdb.base/return.exp (return_tests): Change xfail for test
27424 "correct value returned double test" to stop xfailing at
27425 Solaris 2.5. Apparently the bug has been fixed.
27426
27427 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
27428
27429 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
27430 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
27431
27432 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
27433
27434 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
27435 * gdb.disasm/hppa.s: Corresponding changes.
27436
27437 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
27438
27439 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
27440 makefile fragment.
27441 * config/mt-hpux: Deleted.
27442
27443 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
27444
27445 * Many files: When warning about suppressed tests due to a
27446 nonexistant test binary, avoid incrementing the warning count.
27447
27448 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
27449
27450 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
27451
27452 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27453
27454 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
27455 "sparc-*-solaris2*".
27456
27457 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27458
27459 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
27460 Add global and local variables and initialize them.
27461 * gdb.base/corefile.exp: Test correct mapping of corefile sections
27462 by printing variables. Remove rs6000 and powerpc xfails, BFD now
27463 extracts the file name and terminating signal from the core file.
27464 * TODO: Remove note about tests for correct mapping of corefile.
27465 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
27466 from optimizing it away.
27467 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
27468 handles common blocks.
27469
27470 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
27471
27472 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
27473 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
27474
27475 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
27476
27477 * Makefile.in (maintainer-clean): New target, synonym for
27478 realclean.
27479 * gdb.base/Makefile.in (maintainer-clean): Likewise.
27480 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
27481 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
27482 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
27483 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
27484 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
27485
27486 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
27487
27488 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
27489 xfails when not gcc compiled for "print foo::funclocal".
27490 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
27491 "print foo::funclocal at foo",
27492 "print 'scope1.c'::foo::funclocal at foo",
27493 "print foo::funclocal_bss at foo",
27494 "print 'scope1.c'::foo::funclocal_bss at foo",
27495 "print foo::funclocal_ro at foo",
27496 "print 'scope1.c'::foo::funclocal_ro at foo",
27497 "print bar::funclocal at foo" and
27498 "print 'scope1.c'::bar::funclocal at foo".
27499 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
27500 gcc compiled for "print foo::funclocal at bar".
27501 Expand all messages to ensure that they identify that
27502 the test is at bar().
27503 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
27504 gcc compiled for:
27505 "ptype on opaque struct pointer (statically)",
27506 "ptype on opaque struct tagname (statically)",
27507 "ptype on opaque struct pointer (dynamically) 1",
27508 "ptype on opaque struct tagname (dynamically) 1",
27509 "ptype on opaque struct pointer (dynamically) 2" and
27510 "ptype on opaque struct tagname (dynamically) 2
27511 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
27512 gcc compiled for:
27513 "p datalocal"
27514 "whatis datalocal",
27515 "ptype datalocal",
27516 "p bsslocal",
27517 "whatis bsslocal", and
27518 "ptype bsslocal".
27519 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
27520 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
27521 when not gcc compiled.
27522 * gdb.base/funcargs.exp (float_and_integral_args): Add
27523 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
27524 compiled.
27525 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
27526 "backtrace from call6a" when not gcc compiled.
27527 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
27528 "backtrace from call7a" when not gcc compiled.
27529 * gdb.base/callfuncs.exp (do_function_calls):
27530 Add "hppa*-*-hpux*" xfail when not gcc compiled for
27531 "p t_char_array_values(char_array_val2,char_array_val1)",
27532 "p t_char_array_values(char_array_val1,char_array_val2)",
27533 "p t_char_array_values("carray 1","carray 2")",
27534 "p t_char_array_values("carray 1",char_array_val2)",
27535 "p t_char_array_values(char_array_val1,"carray 2")",
27536 "p sum_args(1,{2})",
27537 "p sum_args(2,{2,3})",
27538 "p sum_args(3,{2,3,4})",
27539 "p sum_args(4,{2,3,4,5})"
27540 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
27541 "backtrace in corefile.exp" when not gcc compiled.
27542
27543 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27544
27545 * gdb.base/signals.exp: Rewrite `handle all print' test as
27546 a procedure. Accept blanks or TABs as whitespace, increase
27547 timeout and expect input buffer size for the large output
27548 from the command. Remove "i*86-*-bsdi2.0" xfail.
27549
27550 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27551
27552 * gdb.base/setvar.exp: Add new testcases for truncation when
27553 assigning invalid values to bitfields.
27554
27555 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
27556
27557 * gdb.base/callfuncs.exp (do_function_calls): Remove
27558 mips-sgi-irix* xfail for
27559 "call inferior func with struct - returns char *"
27560 and fix test so that an optional (unsigned char *) cast is
27561 accepted in the result.
27562
27563 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
27564
27565 * gdb.base/funcargs.exp (float_and_integral_args): Remove
27566 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27567 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
27568 * gdb.base/signals.exp: Remove duplicate "handle all print" test
27569 that accidentally got checked in.
27570
27571 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
27572
27573 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
27574 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
27575 compiled test.
27576 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
27577 Add mips-sgi-irix5* xfail for not gcc compiled.
27578 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
27579 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc
27580 compiled for "p top", "whatis top", "p middle", and "whatis
27581 middle".
27582 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
27583 "whatis signed char" for not gcc compiled.
27584 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
27585 "set variable signed char=-1 (-1)" and
27586 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
27587 * gdb.base/funcargs.exp (float_and_integral_args):
27588 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
27589 Add mips-sgi-irix* xfail when not gcc compiled for
27590 "continue to call2b".
27591 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
27592 "continue to call2g".
27593 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc
27594 compiled for "backtrace from call6a"
27595 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc
27596 compiled for "backtrace from call7k". Add mips-sgi-irix5* xfail
27597 when not gcc compiled for "backtrace from call7a".
27598 (localvars_after_alloca): Fix gdb_test cmds for
27599 "print * after runto ...".
27600 Remove rs6000-*-* xfails for
27601 "print i after runto localvars_after_alloca" and
27602 "print l after runto localvars_after_alloca"
27603 for all compilers.
27604 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
27605 when not compiled with gcc, for:
27606 "print signed char == (minus)",
27607 "print signed char != (minus)",
27608 "print signed char < (minus)",
27609 "print signed char > (minus)".
27610 * gdb.base/callfuncs.exp (do_function_calls):
27611 Add mips-sgi-irix* xfail, when compiled with native compiler, for
27612 "call inferior func with struct - returns char *".
27613 * gdb.base/return.exp (return_tests): Change xfail for
27614 "correct value returned double test" to include Solaris 2.4.
27615 * gdb.base/funcargs.exp (float_and_integral_args):
27616 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
27617
27618 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27619
27620 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
27621 enumeration bitfields if compiling with GNU C.
27622 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
27623 to empty' prompt.
27624
27625 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
27626
27627 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
27628 test for PRO targets.
27629
27630 * gdb.base/funcargs.exp: Avoid ever setting more than 8
27631 breakpoints in the inferior at any given time by making
27632 two groups of breakpoints for call2*, call6* and call7*
27633 tests.
27634
27635 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27636
27637 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
27638 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
27639 from optimizing it away.
27640 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
27641 "call inferior func with struct".
27642
27643 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
27644
27645 * configure.in: Only configure gdb.chill for particular targets.
27646
27647 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
27648
27649 * gdb.base/Makefile.in: Add action to .c.o transformation
27650 rule that generates a .ci file for each .o file and remove
27651 explicit .c.o rules except for callfuncs.o.
27652 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
27653 generates a .ci file for each .o file and remove explicit
27654 .cc.o rules.
27655 (clean): Remove *.tmp *.ci files.
27656 (EXECUTABLES): Remove templ-info.exp.
27657 * gdb.base/compiler.c: New file.
27658 * gdb.c++/compiler.cc: New file
27659 * gdb.base/scope.exp: Source gdb.base/scope.ci.
27660 Change rs6000-*-* xfail for
27661 "print 'scope0.c'::filelocal_ro" and
27662 "print 'scope1.c'::filelocal" and
27663 "print 'scope1.c'::filelocal_bss" and
27664 "print 'scope1.c'::filelocal_ro" and
27665 "print 'scope1.c'::foo::funclocal" and
27666 "print 'scope1.c'::foo::funclocal_ro" and
27667 "print 'scope1.c'::bar::funclocal" and
27668 "print 'scope0.c'::filelocal_ro" and
27669 "print 'scope1.c'::filelocal at foo" and
27670 "print 'scope1.c'::filelocal_bss at foo" and
27671 "print 'scope1.c'::filelocal_ro at foo" and
27672 "print 'scope1.c'::foo::funclocal at foo" and
27673 "print 'scope1.c'::foo::funclocal_bss at foo" and
27674 "print 'scope1.c'::foo::funclocal_ro at foo" and
27675 "print 'scope1.c'::bar::funclocal at foo" and
27676 "print 'scope0.c'::filelocal_ro" and
27677 "print 'scope1.c'::filelocal" and
27678 "print 'scope1.c'::filelocal_bss" and
27679 "print 'scope1.c'::filelocal_ro" and
27680 "print 'scope1.c'::foo::funclocal" and
27681 "print 'scope1.c'::foo::funclocal_bss" and
27682 "print 'scope1.c'::foo::funclocal_ro" and
27683 "print 'scope1.c'::bar::funclocal" and
27684 "print 'scope1.c'::bar::funclocal_bss"
27685 to only be xfail'd when not compiled with gcc.
27686 Add rs6000-*-* xfail for
27687 "print 'scope0.c'::filelocal_bss before run"
27688 when compiled with gcc.
27689 (test_at_main): Add rs6000-*-* xfail for
27690 "print filelocal_ro in test_at_main"
27691 when compiled with gcc.
27692 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
27693 Add rs6000-*-aix* xfail for
27694 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
27695 "ptype t_char_array", not compiled with gcc.
27696 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
27697 xfail for "list foo (in include file)" when gcc compiled.
27698 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
27699 (integral_args): Add rs6000-*-* xfail for
27700 "run to call0a" if not compiled with gcc.
27701 (unsigned_integral_args): Add rs6000-*-* xfail for
27702 "run to call1a" if not compiled with gcc.
27703 (float_and_integral_args): Add rs6000-*-* xfail for
27704 "run to call2a" if not compiled with gcc and for
27705 "continue to call2b" for any compiler.
27706 Add rs6000-*-* xfail to
27707 "print f1 after run to call2a" for gcc compiled.
27708 (discard_and_shuffle): Add rs6000-*-* xfail for
27709 "run to call6a".
27710 (shuffle_round_robin): Add rs6000-*-* xfail for
27711 "backtrace from call7a" if not compiled with gcc.
27712 Add rs6000-*-* xfail for
27713 "backtrace from call7b" if compiled with gcc.
27714 (call_after_alloca): Add rs6000-*-* xfail for
27715 "print c in call_after_alloca" and
27716 "print s in call_after_alloca" and
27717 "backtrace from call_after_alloca_subr"
27718 if not compiled with gcc.
27719 (localvars_in_indirect_call): Add rs6000-*-* xfail for
27720 "print c in localvars_in_indirect_call" and
27721 "print c in localvars_in_indirect_call" and
27722 "backtrace in indirectly called function" and
27723 "stepping into indirectly called function"
27724 if not compiled with gcc.
27725 (localvars_after_alloca): Add rs6000-*-* xfail for
27726 "print c after runto localvars_after_alloca" and
27727 "print s after runto localvars_after_alloca" and
27728 "print i after runto localvars_after_alloca" and
27729 "print l after runto localvars_after_alloca"
27730 for all compilers.
27731 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
27732 than whatis-info.exp.
27733 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
27734 than opaque-info.exp.
27735 Setup rs6000-*-* xfail for
27736 "ptype on opaque struct pointer (statically)" and
27737 "ptype on opaque struct pointer (dynamically)" when
27738 not compiled with gcc.
27739 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
27740 rather than callf-info.exp.
27741 (do_function_calls): Add clear_xfail for rs6000-*-* for
27742 "p t_float_values2(3.14159,float_val2)". Seems to work
27743 fine there, both with xlc and gcc. Need to find out what
27744 it is doing right and fix other platforms.
27745 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
27746 "call inferior func with struct - returns int",
27747 "call inferior func with struct - returns long",
27748 "call inferior func with struct - returns float",
27749 "call inferior func with struct - returns double",
27750 "call inferior func with struct - returns char *",
27751 but only if not gcc compiled (presumes xlc compiled).
27752 Change rs6000-*-* xfails for
27753 "call inferior func with struct - returns char" and
27754 " call inferior func with struct - returns short" to only
27755 xfail if not using gcc.
27756 (clean mostlyclean): Remove *.ci and *.tmp files.
27757 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
27758 than templ-info.exp.
27759 * gdb.base/langs.exp: Source gdb.base/langs.ci.
27760 Add rs6000-*-* xfail for "up to foo in langs.exp"
27761 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
27762 when not gcc compiled.
27763
27764 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27765
27766 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
27767 * gdb.base/corefile.exp: Likewise.
27768 * gdb.base/list.exp: Likewise.
27769 * gdb.base/scope.exp: Likewise.
27770 * gdb.base/siganls.exp: Likewise.
27771
27772 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
27773 compiler output.
27774 * gdb.base/whatis.exp: Likewise.
27775
27776 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
27777
27778 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
27779 failure (opcode table has been fixed to match reality).
27780
27781 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
27782
27783 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
27784 "call inferior func with struct - returns char",
27785 "call inferior func with struct - returns short"
27786
27787 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
27788 "print 'scope0.c'::filelocal at main",
27789 "print 'scope0.c'::filelocal_bss in test_at_main",
27790 "print 'scope0.c'::filelocal at foo",
27791 "print 'scope0.c'::filelocal_bss in test_at_foo",
27792 "print 'scope0.c'::filelocal at bar",
27793 "print 'scope0.c'::filelocal_bss in test_at_bar"
27794
27795 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
27796 in source file 1". This bug seems to have been fixed with both
27797 gcc and native cc (was native assembler bug?).
27798
27799 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
27800
27801 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
27802 "backtrace through signal handler" to "i*86-*-sysv4*".
27803 * gdb.base/signals.exp: Add xfail for "'next' behaved as
27804 continue" case. Add "known SVR4 bug" to fail message.
27805 Add "i*86-*-bsdi2.0" xfail for "handle all print".
27806 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
27807 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
27808 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
27809 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
27810 "up to foo in langs.exp", "show language at foo in
27811 langs.exp", "up to cppsub_ in langs.exp", "show
27812 language at cppsub_ in langs.exp", "up to fsub in
27813 langs.exp", and "show language at fsub in langs.exp".
27814 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
27815 "bactrace in corefile.exp".
27816 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
27817 "call inferior function with struct - returns float" and
27818 "call inferior function with struct - returns double".
27819
27820 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
27821
27822 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
27823 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
27824 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
27825 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
27826
27827 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
27828
27829 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
27830 (or overriden) "CHILL" macro rather then bare "gcc".
27831 Also look for ../../gcc/xgcc since that is what we will
27832 actually need, not "Makefile". Remove following assignment
27833 of CHILL to CHILL_FOR_TARGET because that results in
27834 recursive definition.
27835
27836 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
27837
27838 * gdb.base/corefile.exp: Change xfail for backtrace in
27839 corefile.exp from linuxaout to all linux.
27840 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
27841 cases where we miss the breakpoint at the signal handler
27842 for some reason. Setup xfail for linuxoldld/linuxaout and
27843 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
27844 hitting SIGURG breakpoint.
27845 * gdb.base/signals.exp: Setup xfail for "next" acting like
27846 continue to add linuxoldld. Setup xfail for all linux for
27847 "next to handler in signals_tests_1", "backtrace in
27848 signals_tests_1", "continue to func1", "pass SIGUSR1",
27849 and continue to handler".
27850
27851 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
27852
27853 * Update all FSF addresses except those in COPYING* files.
27854
27855 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
27856
27857 * gdb.base/a2-run.exp: Change messages to be more explicit about
27858 the status of args, and quote binfile in results.
27859
27860 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
27861
27862 * gdb.base/callfuncs.exp: Add tests for passing structs to
27863 inferior functions and return various types.
27864 * gdb.base/callfuncs.c: Add functions to receive a struct
27865 and return a member of the struct, in various types.
27866
27867 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27868
27869 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
27870
27871 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
27872
27873 * config/vxworks29k.exp: New file, sources vxworks.exp.
27874
27875 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27876
27877 * config/gdbremote.exp: New file. Testing framework using
27878 gdbserver.
27879
27880 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
27881
27882 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
27883 "call function when asleep" and "send end of file".
27884 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
27885 for "backtrace in corefile.exp".
27886 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
27887 for "backtrace through signal handler".
27888 * gdb.base/corefile.exp: Make sure we actually generate a core file
27889 before trying the core tests. Some systems allow the user to suppress
27890 generation of core files and default to that (linux for example).
27891 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
27892 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
27893
27894 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27895
27896 * gdb.threads: New directory with some crude multi-threaded
27897 gdb tests (step.exp and step2.exp).
27898 * config/mt-lynx (STEP_EXECUTABLE): Define.
27899 (THREADFLAGS): Define.
27900
27901 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
27902
27903 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
27904
27905 * gdb.base/signals.exp: Disable whole file for lynx until
27906 further notice.
27907
27908 * gdb.base/signals.exp: xfail test where "next" acts like
27909 "continue" for lynx.
27910
27911 * gdb.base/interrupt.exp: xfail test for calling function while
27912 inferior is asleep for lynx.
27913
27914 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
27915 than one cr-lf after each command.
27916
27917 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27918
27919 * configure.in: Reinstate setting of stabsdirs variable, fix
27920 typo in setting up configdirs for native builds.
27921
27922 * gdb.base/return.exp: Fix typo in return double test.
27923 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
27924 compiler from optimizing them away.
27925
27926 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
27927
27928 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
27929 sequences to be echo'd by gdb when using gdb_test.
27930 * gdb.chill/chexp.exp: Likewise.
27931 * gdb.fortran/exprs.exp: Likewise
27932
27933 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
27934
27935 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
27936 after the inferior gdb has started.
27937
27938 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
27939 after each command.
27940 * gdb.base/funcargs.exp: Likewise.
27941 * gdb.base/gdbvars.exp: Likewise.
27942 * gdb.base/interrupt.exp: Likewise.
27943 * gdb.base/list.exp: Likewise.
27944 * gdb.base/watchpoint.exp: Likewise.
27945 * gdb.c++/demangle.exp: Likewise.
27946 * gdb.c++/inherit.exp: Likewise.
27947 * gdb.chill/chexp.exp: Likewise.
27948 * gdb.fortran/exprs.exp: Likewise.
27949
27950 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
27951 test if we can't handle IO to/from the inferior.
27952
27953 * gdb.c++/misc.exp: Always check for a program already being
27954 started after sending a "run" command to gdb.
27955
27956 * gdb.base/twice.exp: Start with a fresh gdb.
27957
27958 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
27959 only depend on gdb's expression code, not the chill runtime.
27960
27961 * gdb.base/return.c: Put return values into variables so we
27962 can have gdb print them rather than depending on the program
27963 to print them.
27964 * gdb.base/return.exp: Corresponding changes.
27965
27966 * lib/gdb.exp: Provide default value for noinferiorio.
27967 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
27968 the inferior.
27969
27970 * gdb.base/break.exp: Always check for a program already being
27971 started after sending a "run" command to gdb.
27972 (text_next_with_recursion): Don't check the output from the
27973 program's printf statement. Instead just make sure the program
27974 exited.
27975
27976 * gdb.base/commands.exp: Protect tests which need arguments with
27977 $noargs conditionals.
27978
27979 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
27980
27981 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
27982 of structure member arrays to match gdb/valops.c:value_addr change.
27983
27984 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
27985
27986 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
27987 cases.
27988
27989 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
27990
27991 * configure.in (configdirs): Remove gdb.chill from default list
27992 of subdirs and then add it back in only if doing a native build.
27993 The current chill compiler does not yet work in any cross build.
27994 * Revert all signal changes from Jul 6.
27995 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
27996 for sh-hms targets, allowing these tests to link, with no other
27997 changes. Testing is suppressed by setting "nosignals" in site.exp.
27998
27999 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
28000
28001 * configure.in (signaldirs): Define and add to configdirs for all
28002 targets except some specific ones that are known to not support signals.
28003 Also clean up formatting.
28004 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
28005 (signals, sigall): Remove rules to build.
28006 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
28007 Moved to new gdb.signals directory.
28008 * gdb.signals: New test directory.
28009 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
28010 signals.c signals.exp}: New or moved files.
28011
28012 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
28013
28014 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28015
28016 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
28017
28018 * gdb.base/return.exp: Xfail `return double' test failure
28019 on at least Solaris 2.3 and handle future/past versions on
28020 a case by case basis as appropriate. Also update message
28021 to include i*86 failures.
28022
28023 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28024
28025 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
28026
28027 * lib/gdb.exp: Fix comment which erroneously identified
28028 gdb_file_cmd as gdb_load (the 19 May change was in fact to
28029 gdb_file_cmd not gdb_load).
28030 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
28031
28032 * gdb.base/setvar.exp: Make test names consistent between pass and
28033 fail cases. Use gdb_test more.
28034
28035 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28036
28037 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
28038
28039 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28040
28041 * gdb.base/help.exp: Fix expected help string for `show commands'.
28042
28043 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
28044
28045 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
28046
28047 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
28048 of a text section.
28049
28050 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
28051
28052 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
28053 that loop eventually terminates. Fix Connection refused logic so
28054 that testsuite will expire nicely.
28055
28056 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
28057
28058 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
28059 config/rom68k.exp: New tcl glue for the appropriate monitors.
28060 These all just end up calling monitor.exp.
28061 * config/monitor.exp (gdb_target_monitor): Handle `Connection
28062 refused' by retrying. Cleanup some timeout issues.
28063 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
28064 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
28065 callers don't have to set/restore global timeout variable.
28066
28067 * The following set of changes centralizes management of the global
28068 timeout variable. This way, it can be set in one target dependent
28069 place instead of dozens of places scattered throughout the test suite.
28070 If you need to lengthen a timeout, then you should either set timeout
28071 in one of the config/{target}.exp files, or multiply it by a factor.
28072 Setting it to an absolute value is always going to lose for some
28073 targets.
28074 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
28075 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
28076 * gdb.base/funcargs.exp: Don't set timeout.
28077 * gdb.base/list.exp (test_forward_search): Only use local timeout.
28078 * gdb.base/printcmds.exp (test_print_string_constants
28079 test_print_array_constants): Don't set timeout.
28080 * gdb.base/ptype.exp: Don't set timeout.
28081 * gdb.base/recurse.exp: Don't set timeout.
28082 * gdb.base/return.exp: Don't set timeout.
28083 * gdb.base/watchpoint.exp: Don't set timeout.
28084 * gdb.c++/classes.exp (do_tests): Don't set timeout.
28085 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
28086
28087 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
28088
28089 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
28090
28091 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28092
28093 * lib/gdb.exp: Disable chill tests for irix5.
28094
28095 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28096
28097 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
28098 each test pass or fail.
28099
28100 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28101
28102 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
28103 xlc not gcc.
28104
28105 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
28106
28107 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
28108
28109 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
28110
28111 * config/est.exp: Fix copyright and comments. Remove dead code.
28112 Use targetname, serialport and baud variables instead of fixed
28113 constants.
28114 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
28115 * config/cpu32bug.exp: New file to support cpu32bug monitors.
28116
28117 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28118
28119 * gdb.base/watchpoint.exp: Don't run
28120 test_watchpoint_triggered_in_syscall for sunos.
28121
28122 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28123
28124 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
28125 they don't seem to exist. Do include stdio.h.
28126
28127 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28128
28129 * gdb.base/a1-selftest.exp: Add alpha xfail.
28130
28131 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28132
28133 * gdb.base/watchpoint.c (main): Prompt before calling read().
28134 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
28135 Revise accordingly. Remove cruft about sending "123" several
28136 times, until it gets noticed. Clean up the "print buf[0]" stuff
28137 so that it passes or fails, and waits for prompts in the usual way.
28138
28139 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28140
28141 * gdb.base/recurse.exp: Fix comment.
28142
28143 * TODO: Remove item about printing variables in nodebug.exp. Add
28144 item about enabling tests which are only run on some targets.
28145
28146 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
28147 fail, make test names unique, use new gdb_test convention
28148 regarding pattern, use gdb_test more, etc.).
28149
28150 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
28151 fail, make test names unique, etc.).
28152
28153 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28154
28155 * gdb.base/nodebug.c: Change return type of top and middle to
28156 short.
28157 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
28158 are fixed by the recent mdebugread.c changes. Allow `short ()'
28159 as type for top and middle.
28160
28161 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28162
28163 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
28164 nearly as I can tell, the whole thing was an accident in Stu's
28165 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
28166 to replace a send/expect pair with gdb_test, but ended up only
28167 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
28168 of 30 Mar 1995 took care of it, but left this vestigial comment
28169 which I am now nuking.
28170
28171 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28172
28173 * gdb.base/break.exp: Look for different line number for
28174 breakpoint at main depending on usestubs.
28175
28176 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28177
28178 * gdb.base/list.exp: Adjust some alternate expect patterns to
28179 match recent list0.c change. Add alternate expect pattern for
28180 output from `list default lines around main' for optimizing
28181 compilers.
28182
28183 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28184
28185 * lib/gdb.exp: If nosignals is not set, set it to 0.
28186
28187 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
28188
28189 * config/slite-gdb.exp: Responds to load symbol table prompt.
28190 * gdb.base/break.exp: Adjust line number, fix rerun.
28191 * gdb.base/langs0.c: Add #ifdef usestubs.
28192
28193 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
28194
28195 * gdb.base/list.exp: Adjust line contents after adding new lines in
28196 list0.c. Also fix a syntax error.
28197
28198 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
28199 * gdb.base/break.exp: ditto.
28200 * gdb.base/list.exp: ditto.
28201 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
28202 * gdb.base/run.c: ditto.
28203 * gdb.base/list0.c: ditto.
28204 * gdb.base/funcargs.c: ditto.
28205
28206 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
28207
28208 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
28209 $targetname, $serialport and $baud instead of hardwired variables.
28210 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
28211 target doesn't support signals.
28212
28213 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
28214
28215 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
28216
28217 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28218
28219 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
28220 Don't rely on the value of an auto variable before it has been
28221 initialized. Use gdb_test more.
28222
28223 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28224
28225 * lib/gdb.exp (default_gdb_version): A version number must start
28226 with a digit, but other than that contains all characters up to
28227 the first whitespace character.
28228
28229 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28230
28231 * gdb.base/commands.exp (breakpoint_command_test): New tests.
28232
28233 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28234
28235 * gdb.c++/*.exp: Warn if executable does not exist. The original
28236 reason for skipping the warning was that configure.in sometimes
28237 intentionally skipped building the executables but the tcl code
28238 had no way of knowing. That (a) was always bogus with respect to
28239 error handling, (b) is no longer true (right now there is no way
28240 to skip C++ tests).
28241
28242 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
28243
28244 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28245
28246 * gdb.base/list.exp: Add expect patterns for output from
28247 SunPRO compiled executables.
28248 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
28249 types.
28250
28251 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28252
28253 * gdb.base/break.exp (test_next_with_recursion): Accept any line
28254 number (we are already testing that the correct source line text
28255 gets printed).
28256
28257 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
28258 that is what is intended, but something needed to be done to get
28259 sunos4 native working again.
28260
28261 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
28262
28263 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
28264 apparently went with a (very) old xfail.
28265
28266 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
28267
28268 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
28269 runto_main is a proc in gdb.exp that will do 'step' for target use
28270 stubs.
28271 * gdb.base/exprs.exp: ditto.
28272 * gdb.base/interrupt.exp: ditto.
28273 * gdb.base/opaque.exp: ditto.
28274 * gdb.base/printcmds.exp: ditto.
28275 * gdb.base/ptype.exp: ditto.
28276 * gdb.base/scope.exp: ditto.
28277 * gdb.base/setvar.exp: ditto.
28278 * gdb.base/signals.exp: ditto.
28279 * gdb.base/twice.exp: ditto.
28280 * gdb.c++/classes.exp: ditto.
28281 * gdb.c++/inherit.exp: ditto.
28282 * gdb.c++/templates.exp: ditto.
28283 * gdb.base/break.exp: no run and hit main for stubs. Change line
28284 numbers for breakpoints and info breakpoint.
28285 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
28286 breakpoint().
28287 * gdb.base/callfuncs.c: ditto.
28288 * gdb.base/exprs: ditto.
28289 * gdb.base/interrupt.c: ditto.
28290 * gdb.base/opaque0.c: ditto.
28291 * gdb.base/printcmds.c: ditto.
28292 * gdb.base/ptype.c: ditto.
28293 * gdb.base/scope0.c: ditto.
28294 * gdb.base/setvar.c: ditto.
28295 * gdb.base/signals.c: ditto.
28296 * gdb.base/twice.c: ditto.
28297 * gdb.c++/misc.cc: ditto.
28298 * gdb.c++/templates.cc: ditto.
28299
28300 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28301
28302 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
28303
28304 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
28305 somewhere between `read' and `main.c'. I'm pretty sure the
28306 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
28307 and it isn't particularly useful.
28308
28309 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
28310
28311 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28312
28313 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
28314
28315 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
28316
28317 * config/mt-slite: add LIBS and -nostdlib.
28318 * config/slite-gdb.exp: add this new file to support sparclite target.
28319
28320 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
28321
28322 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
28323
28324 * gdb.base/a2-run.exp: Change argument to istarget from
28325 "*-*-vxworks" to "*-*-vxworks*".
28326 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
28327
28328 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
28329
28330 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
28331 will not runto main but do a 'step' to step out of breakpoint().
28332 * config/mt-slite: add -Dusestubs.
28333
28334 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28335
28336 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
28337 instead of just @.
28338
28339 * gdb.base/signals.exp: Add test for "handle all print".
28340 * TODO: Remove "handle all print". Also remove item about
28341 checking copyright date (I don't like the idea of a spurious FAIL
28342 based on when we run the tests).
28343
28344 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
28345 for SunOS4 (reason for failure not investigated). Remove
28346 redundant test for $binfile.
28347
28348 * gdb.base/nodebug.c (array_index): Call malloc.
28349
28350 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
28351
28352 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
28353
28354 * gdb.base/recurse.exp: Update gdb_test invocation to use new
28355 conventions and slightly simplify the matching regexp.
28356
28357 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28358
28359 * gdb.base/break.exp: Update gdb_test invocation to use new
28360 convention.
28361
28362 * lib/gdb.exp: If noargs is not set, set it to 0.
28363
28364 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
28365 tests unique.
28366
28367 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
28368
28369 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28370
28371 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
28372 one argument of type "<non-float parameter>".
28373
28374 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
28375
28376 * config/rom68k.exp: New file to support Motorola IDP board.
28377 * gdb.base/a2-run.exp: Skip this file if noargs is set.
28378 * gdb.base/break.c: Change things around so that this program
28379 doesn't depend upon args. This is necessary to make remote
28380 targets work (in general, they can't take args).
28381 * gdb.base/break.exp: Don't try to send args to program. Don't
28382 expect output. Also, replace lots of code with gdb_test.
28383
28384 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28385
28386 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
28387 printing of '\'' (which is what the comment says we are testing,
28388 even though we were not), not '''.
28389 (test_integer_literals_rejected): Test that printing ''' is an error.
28390
28391 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28392 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
28393 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
28394 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
28395 Use gdb_test not test_print_accept.
28396 * lib/gdb.exp: Remove test_print_accept.
28397
28398 * gdb.base/signals.exp (signal_tests_1): Make pass message
28399 consistent with fail message.
28400
28401 * gdb.base/whatis.exp: Remove xfails for printing char vs.
28402 unsigned char; the bug (PR 1821) is fixed.
28403
28404 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
28405
28406 * gdb.base/scope.exp (test_at_localscopes): Call pass for
28407 successful tests--makes xfailing them work right.
28408
28409 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28410
28411 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
28412 only \r\n, not .*. The test can pass .* as the last thing in
28413 $pattern if that is what it wants. In addition to providing this
28414 flexibility, this change should speed up pattern matching in cases
28415 where the pattern already ended with .* (there were a number of
28416 them). This change also helps catch bad patterns--in the old
28417 scheme the typo "char \*" instead of "char \\*" would pass. Now
28418 it is caught.
28419 * Many .exp files: Update callers.
28420
28421 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
28422 clearer and does not spuriously match multiple ('s. Likewise for
28423 ) and *.
28424
28425 * gdb.base/nodebug.exp: Test ability to call a function and pass
28426 it a string (even with no debugging info).
28427
28428 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
28429 "p '\'", which is the same as "p ''" once tcl gets done with
28430 quoting, to "p '\\'", which I suspect is what is intended (one
28431 backslash gets sent to GDB).
28432
28433 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
28434
28435 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28436
28437 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
28438 1817) was fixed literally years ago.
28439
28440 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28441
28442 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
28443 test, it causes stepping out of call_after_alloca_subr with
28444 optimizing compilers.
28445 (localvars_in_indirect_call): Consume GDB prompt if `finish'
28446 fails.
28447
28448 * gdb.c++/templates.exp: Source templ-info.exp only if
28449 the templates executable exists.
28450
28451 * gdb.c++/misc.cc (class Contains_static_instance,
28452 class Contains_nested_static_instance),
28453 gdb.c++/classes.exp (test_static_members): Test printing of
28454 a class that contains a static instance of the class.
28455
28456 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28457
28458 * gdb.base/langs2.c (cppsub_): Don't prototype.
28459 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
28460 only, I believe).
28461
28462 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28463
28464 * lib/gdb.exp (skip_chill_tests): New procedure.
28465
28466 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
28467
28468 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
28469
28470 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
28471 each expect pattern. Cuts runtime from 12 to about 4 seconds.
28472
28473 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28474
28475 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
28476
28477 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
28478 disassemble 8, not 16, instructions for part 4.
28479
28480 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
28481 support the latter anymore.
28482
28483 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
28484 -DNO_PROTOTYPES.
28485 * gdb.base/callfuncs.c: Control use of prototypes based on
28486 NO_PROTOTYPES, not __STDC__.
28487 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
28488 t_float_values2 tests if prototypes in use.
28489
28490 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
28491 t_double_values): When checking differences against DELTA, check
28492 that difference is within the range (-DELTA,DELTA), not just
28493 (-infinity,DELTA).
28494
28495 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
28496
28497 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
28498 'file' command firts, then 'target', then 'load', this is due to gdb
28499 target set up.
28500 * config/mips-gdb.exp: Fix a couple regular exp bugs.
28501
28502 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
28503
28504 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
28505 FP load/store variants.
28506 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
28507
28508 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28509
28510 * gdb.base/term.exp: Do not give a warning if not native, it is
28511 not an abnormal condition.
28512
28513 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
28514
28515 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
28516 t_char_array".
28517
28518 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
28519
28520 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
28521 are getting the version number.
28522
28523 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
28524 if not native, it is not an abnormal condition.
28525
28526 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28527
28528 * lib/gdb.exp: Just use "file exists", rather than undocumented
28529 dejagnu procedure "findfile".
28530
28531 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28532
28533 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
28534 (LDFLAGS): Set to -Xlinker -Ur.
28535
28536 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
28537 Removed, these values are set by lib/gdb.exp.
28538
28539 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
28540
28541 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
28542
28543 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
28544 of replicating gdb startup code.
28545
28546 * config/mt-vxworks (LDFLAGS): Set to -r.
28547 (CFLAGS_FOR_TARGET): Removed.
28548
28549 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
28550 (gdb) and gdb for vxworks uses (vxgdb).
28551
28552 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
28553 executable is not in the tree and host != target, use sed and
28554 program_transform_name to determine the gdb name used by the
28555 target.
28556
28557 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
28558 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
28559
28560 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28561
28562 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
28563 floats, chars, and shorts where there are ANSI-style function
28564 definitions.
28565
28566 * gdb.base/langs.exp, gdb.base/langs*: New test.
28567 * gdb.base/Makefile.in: Build it.
28568 * TODO: Remove item about checking that C names don't get C++
28569 demangling applied; this test tests it.
28570
28571 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28572
28573 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
28574 went with the const70 xfail. The xfail went away a year ago.
28575
28576 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
28577
28578 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
28579 for hp300.
28580
28581 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
28582
28583 * gdb.base/a1-selftest.exp: Don't run on hp300.
28584
28585 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28586
28587 * Makefile.in (site.exp): Set host_alias and target_alias as well
28588 as host_triplet and target_triplet.
28589
28590 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28591
28592 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
28593
28594 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
28595 places as other ecoff systems).
28596
28597 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
28598 ultrix.
28599
28600 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28601
28602 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
28603 remove them.
28604 * gdb.base/nodebug.exp: Accept "function" in addition to "text
28605 variable and "variable" in addition to "data variable".
28606 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
28607
28608 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
28609 2.
28610 * gdb.base/list1.c (long_line): Add additional statement at start
28611 of function.
28612 * gdb.base/list.exp (test_forward_search): Update line number to
28613 reflect new statement.
28614
28615 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28616
28617 * gdb.base/signals.exp: Reinitialize searched source directories
28618 after gdb_start call.
28619
28620 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
28621
28622 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
28623 * gdb.stabs/Makefile.in: Likewise.
28624
28625 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
28626 change. Instead split the tests into smaller pieces.
28627 * gdb.disasm/hppa.s: Corresponding changes.
28628
28629 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28630
28631 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28632 Quote ^C when passing it to stty. For some shells ^ is a pipe.
28633
28634 * gdb.base/funcargs.exp: Modify many tests so that every test
28635 either passes or fails. Make some test names unique.
28636
28637 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28638
28639 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
28640 Call stty to set interrupt character.
28641
28642 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
28643 for HP assembler versus GNU assembler based on actual behavior of
28644 $(CC), rather than assuming that $(AS) is always the GNU assembler.
28645
28646 * TODO: Suggest a few more stepping tests.
28647
28648 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
28649
28650 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
28651 restart GDB for h8300 after a continue.
28652 (return): Add pattern to match a29k-udi behavior.
28653 * gdb.base/nodebug.exp: Remove obsolete comment.
28654 * gdb.base/regs.exp: New file, testing of register displays.
28655 * gdb.base/return.exp: Fix typo in reference to $objdir.
28656 * gdb.base/whatis.exp: Always start with a fresh GDB.
28657
28658 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28659
28660 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
28661 higher, these tests generate a lot of output.
28662
28663 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28664
28665 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
28666 code following the catch silently ignored some errors; without the
28667 catch they should be thrown like any other tcl error. Also, the
28668 catch used "" instead of {} which meant all the callers who wanted
28669 to include one of the characters "[]$ had to quote it an extra time.
28670 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
28671 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
28672 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
28673 Remove extra quoting.
28674
28675 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
28676
28677 * gdb.base/commands.exp: Make test names unique; every test either
28678 passes or fails. Update some comments.
28679
28680 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
28681
28682 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28683
28684 The following fixes a FAIL caused by the fact that the alpha stabs
28685 configuration didn't use the ".if alpha" code in weird.def.
28686 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
28687 bit pointer, so the 32 bit version works even on the alpha.
28688 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
28689 Remove the stuff which allowed us to have separate versions for
28690 alpha and everything else.
28691
28692 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
28693 regexp which "info func operator\[\](" is supposed to match. Fix
28694 string to send to GDB. Note that GDB still doesn't work right. Add a
28695 new test for "info func .perator\[\](" which GDB does handle correctly.
28696
28697 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
28698
28699 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28700
28701 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
28702 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
28703 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
28704 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
28705 it makes the tests harder to understand and confuses test-o-matic.
28706 The preferred style is that each test provides a PASS or a FAIL,
28707 and has a unique message (e.g. "continue #54" not just "continue")
28708 which is the same for the pass and the fail.
28709 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
28710 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
28711 to lib/gdb.exp.
28712 * gdb.base/printcmds.exp: Use test_print_accept. Remove
28713 prt_accept which was basically the same thing. Likewise for
28714 test_print_reject and prt_reject.
28715 * lib/gdb.exp (test_print_reject): Add some more error message
28716 patterns to match from the former printcmds.exp (prt_reject).
28717 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
28718 One defect of the passcount stuff is that some of it failed to
28719 report XPASS where appropriate.
28720 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
28721 stuff before and after arg in expected pattern.
28722 (test_paddr_operator_functions): Re-do test without print_addr_of;
28723 this is the only test which seems to want extra stuff there.
28724
28725 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28726
28727 * gdb.base/nodebug.exp: Update new tests to reflect improved
28728 wording of gdb output.
28729
28730 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
28731 and "ptype" work on variables in files compiled without -g.
28732 Replaces commented out "maint print msymbol" tests.
28733
28734 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28735
28736 * gdb.base/setvar.c (dummy): Call malloc.
28737
28738 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
28739 losing with the irix4 sed.
28740
28741 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
28742 ALRM" on irix4.
28743
28744 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28745
28746 * TODO: Remove items about corefile.exp testing new exec-file and
28747 backtrace; both are now done. Add items about printing enums.
28748
28749 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28750
28751 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
28752 "get signal $thissig" test fails.
28753
28754 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
28755
28756 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28757
28758 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
28759 compiler warning with dec alpha compiler.
28760
28761 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
28762 extra \n from gdb_test call (this explains why the prompt test
28763 that I removed yesterday was there).
28764 (user_defined_command_test): Remove extra \n and prompt test.
28765
28766 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
28767 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
28768 doesn't exist.
28769 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
28770 Also remove alpha workaround, which turns out to be because
28771 SIGABRT == SIGLOST.
28772
28773 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
28774
28775 * gdb.base/help.exp: Don't test "help show".
28776
28777 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28778
28779 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
28780 "set print address" is on.
28781 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
28782 pass prompt to gdb_test; gdb_test already looks for the prompt.
28783
28784 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
28785
28786 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
28787 was a vestige of the manual TESTSTRATEGY, and the purpose of it
28788 was to make sure that gdb can read a core file. But (a) the "read
28789 the corefile" part didn't make it to a1-selftest.exp, we just
28790 delete the corefile after creating it, and (b) we test reading
28791 corefiles in corefile.exp anyway. Also, this test left around a
28792 xgdb process on Solaris.
28793
28794 * gdb.base/corefile.exp: Also test backtrace.
28795
28796 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
28797
28798 * gdb.base/commands.exp: Test a simple user defined command with
28799 arguments and if/while statements; verify the full user command is
28800 printed by "show user".
28801
28802 * gdb.base/commands.exp: Test if/while commands as part of a
28803 breakpoint command list; verify they appear in breakpoint
28804 information.
28805
28806 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28807
28808 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
28809 than by dividing by zero.
28810
28811 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
28812
28813 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
28814 performing an inferior call with watchpoints enabled.
28815 * gdb.base/watchpoint.c (main): Delete second unnecessary read
28816 call.
28817
28818 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28819
28820 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
28821 of "file" command.
28822
28823 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
28824 Add additional pattern for when "int operator int(void);" appears
28825 in a different order.
28826
28827 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
28828
28829 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
28830
28831 * gdb.base/help.exp: Replace most of docstrings for "info signals"
28832 and "signal" with ".*".
28833
28834 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
28835
28836 * TODO: Add note about "handle all nostop".
28837
28838 * gdb.base/{sigall.c, sigall.exp}: New test.
28839 * gdb.base/Makefile.in: Add it.
28840
28841 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
28842
28843 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
28844 when invoking GDB, suppresses any windowing interface.
28845
28846 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
28847
28848 * config/sim-gdb: New file, simulator testing support.
28849
28850 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
28851
28852 * gdb.base/interrupt.exp: Test calling func1 twice.
28853
28854 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
28855
28856 * gdb.base/list.exp (test_forward_search): Set timeout higher
28857 when we'll be getting lots of output from gdb.
28858
28859 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
28860 "init_malloc" to after the expect statement. Run it if that
28861 regexp is taken, but also for two others which happen if source
28862 cannot be found.
28863
28864 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28865
28866 * gdb.base/printcmds.exp: New test, for printing register before
28867 program is running.
28868
28869 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28870
28871 * gdb.base/list.exp: Correct some alternate expect patterns
28872 to reflect changes in list1.c.
28873
28874 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28875
28876 * TODO: Add item regarding large frames.
28877
28878 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
28879
28880 * TODO: Remove item about enabling return.exp; it
28881 is enabled. Suggest a few more "return" tests.
28882
28883 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28884
28885 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
28886 anonymous unions.
28887
28888 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28889
28890 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
28891 and pr-5646.o, so "make" is the same as "make all", not "make
28892 pr-4975.o".
28893
28894 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
28895
28896 * gdb.base/list.exp: Adjust expectations to reflect changes in
28897 list1.c.
28898 (test_forward_search): New test proc.
28899 * gdb.base/list1.c (long_line): New function, has long source line.
28900
28901 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
28902
28903 * gdb.base/a1-selftest.exp: Change initial stepping to know about
28904 additional line of code that was added.
28905
28906 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
28907
28908 * gdb.disasm/hppa.s: Break the large branching tests into smaller
28909 tests so as not to overflow expect's input buffers.
28910 * gdb.disasm/hppa.exp: Corresponding changes.
28911
28912 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28913
28914 Beginnings of template debugging tests.
28915 * gdb.c++/templ-info.cc: New file to test for template
28916 debugging capability of the compiler.
28917 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
28918 templ-info.cc.
28919 * gdb.c++/templates.cc: Add explicit template instantiations
28920 to enable compiling with -fno-implicit-templates. Add destructor
28921 and 'value' method to T5 class for template tests.
28922 * gdb.c++/templates.exp: Add testcases for printing of template
28923 types, setting breakpoints on template methods and calling a
28924 template method.
28925
28926 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
28927
28928 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
28929 branch target since some assemblers (gas-2.5) may emit a
28930 relocation for the branch instead of resolving it in the
28931 assembler.
28932
28933 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28934
28935 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
28936 through signal handler.
28937
28938 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
28939
28940 * configure.in (*-*-netware): Use config/mt-netware.
28941
28942 * config/mt-netware: New file.
28943 * config/mt-i386-netware: Removed, separate configs for different
28944 netware architectures are no longer needed now that we have
28945 --with-headers.
28946
28947 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28948
28949 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
28950 by the recent changes to use ANSI C arithmetic conversions.
28951
28952 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
28953
28954 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
28955 bug involving using inferior_pid to figure out whether to select a
28956 frame.
28957
28958 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
28959
28960 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
28961 match the current disassembler output.
28962
28963 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
28964
28965 * gdb.fortran/exprs.exp: Expect VOID instead of void.
28966 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
28967 types, expect "int" as type of integer values (for now).
28968
28969 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
28970
28971 * gdb.base/commands.exp: New tests for if/while commands.
28972
28973 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
28974
28975 * lib/gdb.exp (runto): Replace sub-pattern for hex value
28976 by .*, since hex values have different syntax in Chill mode.
28977
28978 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28979
28980 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
28981 linefeed from expect pattern for repeated types with indices > 9.
28982
28983 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
28984
28985 First part of Fortran test suite.
28986 * gdb.fortran: New directory.
28987 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
28988
28989 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
28990
28991 * gdb.base/default.exp: Update expect pattern for load command
28992 without arguments.
28993
28994 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
28995
28996 * configure.in: Change i386 to i[345]86.
28997 * gdb.base/configure.in: Likewise.
28998 * gdb.c++/configure.in: Likewise.
28999 * gdb.chill/configure.in: Likewise.
29000
29001 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
29002
29003 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
29004 patterns, since that is not a valid context for comments.
29005
29006 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
29007
29008 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
29009 repeated types and repeated types with indices > 9.
29010
29011 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
29012
29013 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
29014 2417; old bug has been fixed.
29015
29016 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
29017
29018 * gdb.base/interrupt.exp: When trying to wake up the inferior,
29019 send the newline ourselves instead of assuming gdb_test will do
29020 so when passed an empty input string.
29021
29022 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
29023 stabs testcode.
29024
29025 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29026
29027 * lib/gdb.exp (gdb_test): Don't send anything if the first
29028 argument is an empty string. This makes cases where we want to
29029 match output that is already in expect's buffers (for example,
29030 matching a breakpoint after gdb_run_cmd has been called) work
29031 reliably.
29032
29033 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29034
29035 * config/netware.exp: New file.
29036
29037 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29038
29039 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
29040 the -B and -L prefixes so we can find the debugging stub.
29041
29042 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
29043 there and we are using the gcc from the tree.
29044
29045 * gdb.base/types.c: Removed.
29046
29047 * gdb.base/configure.in: Look for makefile fragments in ../config.
29048 Recognize i386-*-netware.
29049 * gdb.c++/configure.in: Likewise.
29050
29051 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29052
29053 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
29054 the correct TCL syntax.
29055
29056 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29057
29058 * gdb.base/opaque.exp: use runto instead of messing around with
29059 breakpoints. Simplify by using gdb_test.
29060
29061 * gdb.base/bitfields.exp: restart between tests on netware targets
29062 because breakpoints aren't relocated after target death. Run
29063 processes to completion.
29064
29065 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
29066
29067 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
29068
29069 * Makefile.in: Remove extra tabs that confuse some versions
29070 of "make". Use the newly built gdb to test with by default,
29071 rather than the first one in the tester's search path.
29072
29073 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
29074
29075 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
29076
29077 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
29078 condition help.
29079
29080 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29081
29082 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
29083
29084 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
29085 running.
29086 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
29087 * gdb.base/funcargs.exp: Likewise.
29088
29089 * gdb.base/bitfields.exp: Simplify by using gdb_test.
29090 * gdb.base/funcargs.exp: Likewise.
29091
29092 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
29093 message is "".
29094
29095 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29096
29097 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
29098 return,signals,twice}.exp: Handle non-existant binaries
29099 consistantly.
29100
29101 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
29102 * gdb.base/Makefile.in: Don't try to generate a core dump, we
29103 might testing a cross development system.
29104
29105 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29106
29107 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
29108 runtest script is relative to ${srcdir}, not ${rootdir}.
29109
29110 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
29111
29112 * gdb.base/signals.exp: Allow for optionality of breakpoint
29113 address.
29114
29115 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29116
29117 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
29118
29119 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
29120
29121 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
29122 for size_t definition.
29123 * gdb.c++/templates.cc: Likewise
29124
29125 * config/mt-i386-netware: New file.
29126
29127 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
29128 defined.
29129
29130 * gdb.base/Makefile.in: Added support for systems that name core
29131 files by appending "core" to the program name.
29132 * gdb.base/a1-selftest.exp: Likewise.
29133
29134 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29135
29136 * gdb.base/return.exp: Add comment and message for `return double'
29137 test failure on Sparc Solaris.
29138
29139 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
29140
29141 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
29142
29143 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29144
29145 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
29146 from optimizing them away.
29147 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
29148 patterns to include default constructors and assignment operators,
29149 to match gcc versions beyond 2.5.8. Accept any cplus demangling
29150 character in the output of the virtual base pointer.
29151
29152 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29153
29154 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
29155 expression match in print_addr_of to avoid unintented matches.
29156 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
29157 versions up to 2.5.8.
29158
29159 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29160
29161 * gdb.base/list.exp: Tweak alternate pattern for listing of an
29162 included file to run under newer versions of expect.
29163 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
29164 consecutive >'s in templates to accomodate recent cplus-dem.c change.
29165 Remove xfail for the virtual table of BDDHookV.
29166
29167 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
29168
29169 * lib/gdb.exp (string_to_regexp): Set a default result.
29170 (default_gdb_start): Fix misleading message.
29171
29172 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
29173
29174 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
29175 Remove all CC, etc definitions.
29176 * config/mt-hpux: New file.
29177 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
29178 (CFLAGS, LDFLAGS): Define.
29179 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
29180
29181 * Makefile.in (site.exp): Don't insert host_os, etc.
29182 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
29183 (distclean): Check existence of subdir.
29184 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
29185 * gdb.base/Makefile.in: General cleanup and simplification.
29186 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29187 to build executables. Use default rule to build .o files.
29188 (EXPECT, RUNTEST, CC): Fix relative pathname.
29189 (site.exp): Don't insert host_os, etc.
29190 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
29191 and/or SIGUSR1 defined.
29192 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
29193 * gdb.c++/Makefile.in: General cleanup and simplification.
29194 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
29195 (CFLAGS): Remove.
29196 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
29197
29198 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
29199
29200 * gdb.base/recurse.exp: Misc changes to get tests running again
29201 after Kung's changes to the watchpoint code.
29202 * gdb.base/watchpoint.exp: Likewise.
29203
29204 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
29205
29206 * lib/gdb.exp (string_to_regexp): Convert {\} also.
29207
29208 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
29209
29210 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
29211 * lib/gdb.exp (default_gdb_start): Define.
29212 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
29213 gdb.base/funcargs.exp, gdb.base/opaque.exp,
29214 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
29215 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
29216 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
29217 Don't call gdb_target_udi in between tests.
29218
29219 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29220
29221 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
29222 (which was basically just a local version of the same thing). In
29223 addition to avoiding duplication, gdb_test_exact is faster.
29224 * lib/gdb.exp (gdb_test_exact): Fix typo.
29225
29226 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
29227 don't give an error.
29228
29229 * gdb.base/term.exp: Call delete_breakpoints before starting.
29230
29231 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
29232 (t10): Add comment.
29233
29234 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29235
29236 Reorganization of the GDB Test Suite.
29237
29238 * gdb.base: New directory, contains all the basic tests.
29239 * gdb.c++: New directory, tests specific to C++.
29240 * gdb.chill: New directory, tests specific to Chill.
29241 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
29242 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
29243 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
29244 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
29245 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
29246 t30-31 to chill).
29247 * */gdbme.*: Rename to match appropriate expect scripts.
29248 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
29249 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
29250 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
29251 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
29252 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
29253 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
29254 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
29255 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
29256 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
29257 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
29258 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
29259 gdb.c++/virtfunc.cc: New names of C++ files.
29260 * gdb.chill/chillvars.ch: New name of Chill file.
29261 * gdb.base/configure.in, gdb.c++/configure.in,
29262 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
29263 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
29264 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
29265 * configure.in (configdirs): Update to reflect directory changes.
29266 (target_abbrev): No longer define for any configuration.
29267 * Makefile.in: Cosmetic improvements to header comments.
29268
29269 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
29270
29271 Various changes to gdb.t31:
29272
29273 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
29274 * gdbme.ch: Make all key-words and predefineds be upper-case.
29275 * chillvars.exp: Expect key-words and predefinds in upper-case.
29276
29277 * chillvars.exp: Use gdb_test_exact many places.
29278 Change expected output for arrays (which now includes index labels).
29279
29280 * pr-5020.exp, gdme.ch (module PR_5020):
29281 New test, for PR-5020.
29282
29283 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
29284
29285 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
29286 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
29287
29288 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
29289
29290 * Makefile.in: Fix bit-rot in definitions of CHILL,
29291 CHILL_FOR_TARGET and Chill_LIB.
29292 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
29293 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
29294 CHILL, and CHILL_LIB.
29295
29296 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
29297
29298 * Revert the previous changes. Please see Rob's directory
29299 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
29300
29301 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
29302
29303 * Makefile.in, configure.in, config/mips-gdb.exp,
29304 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
29305 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
29306 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
29307 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
29308 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
29309 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
29310 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
29311 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
29312 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
29313 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
29314 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
29315 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
29316 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
29317 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
29318 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
29319 changes from 94Q1.
29320
29321 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
29322
29323 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
29324 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
29325 Rob's new testing fragments.
29326
29327 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
29328
29329 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
29330 lib/gdb.exp: Replace error proc calls with perror.
29331
29332 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
29333
29334 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
29335 version also, match on casted version strings, and match on
29336 gdb startup case where the line numbers might be messed up.
29337
29338 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
29339
29340 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
29341 (CFLAGS): Delete it from here.
29342
29343 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
29344
29345 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
29346
29347 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
29348
29349 * Makefile.in (RUNTEST): Default to just "runtest".
29350
29351 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29352
29353 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
29354 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
29355 the code has been restructured.
29356
29357 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29358
29359 * gdb.t00/default.exp (set write): Allow any number of \r and/or
29360 \n, not just one of each.
29361
29362 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
29363 /bin/cc gives a warning if you do.
29364
29365 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
29366
29367 * gdb.t24/demangle.exp: change expect pattern of
29368 __t10ListS_link1ZUiRCUiPT0
29369
29370 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29371
29372 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
29373 on local variables in recursive functions.
29374
29375 * gdb.t07/Makefile.in: Build the new test.
29376
29377 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29378
29379 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
29380 directly. Instead compare the return values from actual calls.
29381
29382 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
29383
29384 * Makefile.in (check): Set TCL_LIBRARY for runtest.
29385
29386 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29387
29388 * From Peter Schauer with minor modifications.
29389 * gdb.t15/return.exp (return_tests): Handle targets where "return"
29390 stops in mid-line in the caller. Add xfail for returning a float
29391 value on X86 targets.
29392
29393 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29394
29395 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
29396 to avoid expect lossage.
29397 (fmem_LRbug_tests): Likewise.
29398 * gdb.disasm/hppa.s: Corresponding changes.
29399
29400 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
29401 conditions to work with latest dejagnu/expect.
29402
29403 * gdb.t15/funcargs.exp (finish from indirect call): No longer
29404 expected to fail on the PA.
29405 (backtrace in call with trampolines): Explicitly require main
29406 to be frame #1 (no trampolines should show up in backtrace).
29407
29408 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
29409 "continue -expect".
29410 * gdb.t06/break.exp: Likewise.
29411 * gdb.t07/watchpoint.exp: Likewise.
29412 * gdb.t13/bitfields.exp: Likewise.
29413 * gdb.t15/{funcargs,return}.exp: Likewise.
29414 * gdb.stabs/weird.exp: Likewise.
29415 * config/{mips,udi}-gdb.exp: Likewise.
29416
29417 * hppa.sed: Enclose comments within a sed command to avoid
29418 losing with the old OSF1 sed.
29419
29420 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29421
29422 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
29423 sequent dynix.
29424 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
29425 * gdb.t15/funcargs.exp: Conditionally step again to really
29426 finish from marker_call_with_trampolines. Handle the case where
29427 the first step from within call_with_trampolines already steps
29428 us back to main.
29429 * gdb.t15/gdbme.c: Add comment to closing brace of
29430 call_with_trampolines for funcargs.exp.
29431
29432 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29433
29434 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
29435 Fix typo(s).
29436
29437 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29438
29439 * gdb.t07/gdbme.c: More code for watchpoint testing.
29440
29441 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
29442 "Hardware watchpoint" throughout file.
29443 (test_watchpoint_triggered_in_syscall): New test.
29444 (test_complex_watchpoint): New test.
29445
29446 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29447
29448 * gdbme.c (call_with_trampolines): New function to try and step
29449 into. Tests trampoline problems on the PA.
29450
29451 * funcargs.exp (localvars_in_indirect_call): No longer expect
29452 stepping into indirect call to fail on PAs.
29453 (test_stepping_over_trampolines): New test.
29454
29455 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29456
29457 * TODO: Add suggestions for static member function tests, and
29458 completion tests.
29459
29460 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29461
29462 * TODO: Add suggestions for "p/a" tests.
29463
29464 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
29465 (default_gdb_exit): Replace all the hair with sending "quit" to
29466 the process with a simple close.
29467
29468 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29469
29470 * TODO: Add suggestions for shared library tests.
29471
29472 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29473
29474 * TODO: Add suggestions for x/s tests.
29475
29476 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29477
29478 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
29479 "enable once", and "enable breakpoints once" with ".*".
29480
29481 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29482
29483 * TODO: Add suggestions about structure passing tests.
29484
29485 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29486
29487 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
29488 the primary1 test, use work around if __GNUC__ < 2.
29489 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
29490 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
29491 Test for bad output rather than waiting for timeout. Issue
29492 second continue only if first continue failed.
29493
29494 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29495
29496 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
29497 operator[] test with gdb_test because the old code didn't seem to
29498 be getting the quoting right with the new dejagnu.
29499
29500 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
29501
29502 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
29503 one from the path.
29504 * Makefile.in: Use a fresh expect if there is one, use runtest
29505 from the src tree if there is one.
29506
29507 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29508
29509 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
29510 next over recursive call. Revise the tests from that point on
29511 (which had been skipped) to match GDB's actual (correct) output.
29512
29513 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
29514 with next over a breakpoint whose condition is false.
29515
29516 * gdb.t00/help.exp: Comment out "help set print" tests just like
29517 (and for same reason as) "help set" test.
29518
29519 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29520
29521 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
29522 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
29523
29524 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29525
29526 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
29527 necessary gdb_target_udi.
29528
29529 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
29530
29531 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
29532 1838 and 2417; they are fixed.
29533
29534 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
29535 gdb.t03/ptype.exp (ptype structure, ptype union):
29536 Remove xfails; the test is looser than when the xfails were added.
29537
29538 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
29539 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
29540
29541 * gdb.t01/run.exp: Only run shell test if isnative.
29542
29543 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
29544 since "run" automatically loads if necessary. Call gdb_target_udi
29545 after the "file" since "file" kills any execution target.
29546
29547 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
29548 GDB. GDB doesn't work that way (not anymore at least) on UDI.
29549 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
29550 argument for UDI.
29551
29552 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
29553
29554 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
29555
29556 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
29557
29558 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29559
29560 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
29561 properly quoting regexps. This makes the second argument to
29562 demangle a fixed string, which matches the callers, instead of a
29563 shell-style pattern which is what the previous implementation
29564 used. Update some of the callers.
29565
29566 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29567
29568 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
29569 (comib_nullified_tests): Fix typo.
29570 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
29571 strings. No longer expected to fail.
29572
29573 * gdb.disasm/hppa.s (addib_tests): Fix typo.
29574 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
29575 strings. No longer expected to fail.
29576
29577 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
29578 string. No longer expected to fail.
29579
29580 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29581
29582 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
29583 No longer expected to fail.
29584
29585 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
29586 string. No longer expected to fail.
29587
29588 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29589
29590 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
29591 only in the names (I probably got most of them). I was even
29592 generous with some which differed in underscores in names, and
29593 probably missed a few, and I *still* was able to remove almost a
29594 third of the file with almost no impact on testsuite coverage.
29595
29596 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29597
29598 * gdb.t00/default.exp: Match udi_attach error message as well as
29599 the one from child_attach.
29600
29601 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
29602
29603 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
29604
29605 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
29606 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
29607
29608 * Move test with enums and partial symbols back to
29609 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
29610 Reverts the change of 26 May 93. Per today's change to
29611 stabs.texinfo, the behavior that weird.exp was expecting was
29612 unreasonable; what is important is that the compiler+gdb get
29613 things right, which happens with a recent gcc. Also fix the test
29614 to deal with native compilers which put out the stab gdb can't
29615 deal with.
29616
29617 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29618
29619 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
29620 in the names. The main thing these accomplish is to slow things down.
29621 Many more such duplicates surely remain.
29622
29623 * gdb.t00/help.exp: Comment out "help support" test just like
29624 (and for same reason as) "help set" test.
29625
29626 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
29627
29628 * gdb.t06/break.exp: Remove setup_xfails for
29629 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
29630 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
29631 about known bug in gcc to include up through 2.5.8.
29632 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
29633 well as "_vb$".
29634 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
29635 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
29636 with latest gcc and gdb.
29637 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
29638 well as "_vb$".
29639
29640 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29641
29642 * configure.in (hppa*-*-*): Also configure and build stabs-only
29643 tests.
29644
29645 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29646
29647 * gdb.t10/hppa.mt: A makefile fragment for the PA.
29648 * gdb.t10/configure.in (hppa*-*-*): Use it.
29649
29650 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29651
29652 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
29653
29654 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29655
29656 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
29657 versions prior to 1.13.5.
29658
29659 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29660
29661 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
29662 the prompt is at the start of a line.
29663
29664 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
29665
29666 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
29667 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
29668 in the copr tests now.
29669 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
29670 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
29671 expected to fail.
29672
29673 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
29674
29675 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
29676 gdb.t31/chillvars.exp, lib/gdb.exp:
29677 Tweak to run under either version of expect.
29678 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
29679 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
29680 * gdb.t11/list.exp: Remove extraneous whitespace.
29681
29682 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29683
29684 * gdb.t16/printcmds.exp (test_print_strings): Accept
29685 "(unsigned char *) " before the string.
29686
29687 * TODO: Add notes about printing of fancy types and GDB expressions.
29688
29689 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
29690
29691 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
29692 * gdb.t06/configure.in: Don't try to compile signals test program
29693 if doing mips-idt-ecoff.
29694
29695 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
29696
29697 * Most .exp files: Tweak to run under either version of expect.
29698
29699 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29700
29701 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
29702 xfails; I'm not sure why they are failing, but not because of PR 1806.
29703
29704 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
29705
29706 * config/unix-gdb.exp: Remove gdb_unload cause it's already
29707 defined in lib/gdb.exp.
29708
29709 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29710
29711 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
29712 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
29713 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
29714 have to be typeless.
29715
29716 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
29717
29718 * TODO: Add suggestion for copyright year test.
29719
29720 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
29721
29722 * configure.in (*-*-lynxos*): Add stabs tests.
29723
29724 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29725
29726 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
29727 so insert a tab before any assembler directive in column zero.
29728
29729 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
29730 stores.
29731 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
29732 stores.
29733 (fpu_short_memory_tests): Likewise.
29734
29735 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29736
29737 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
29738 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
29739 .stabs directives in comments.
29740
29741 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29742
29743 * TODO: New file, describing tests we could write.
29744 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
29745
29746 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29747
29748 * gdb.t06/signals.exp: Add kludge to force re-sync.
29749
29750 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
29751 to xgdb instead of gdb, get out of gdb.
29752
29753 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
29754
29755 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
29756 for info.
29757
29758 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
29759
29760 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
29761 * gdb.stabs/configure.in (hppa*-*-*): Use it.
29762 * gdb.stabs/hppa.sed: New sed script for the PA.
29763
29764 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29765
29766 * gdb.stabs: Re-write weird.def and configuration to use sed
29767 instead of cpp. sed is portable and POSIX; cpp is neither.
29768
29769 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29770
29771 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
29772
29773 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29774
29775 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
29776
29777 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29778
29779 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
29780 "_vb$".
29781 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
29782 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
29783
29784 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29785
29786 * lib/gdb.exp: Comment out code which depends on non-existent
29787 `transform' procedure.
29788
29789 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
29790
29791 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
29792 * lib/gdb.exp: Transform tool name.
29793 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
29794 1.1's new error handling system.
29795
29796 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29797
29798 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
29799
29800 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29801
29802 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
29803 They made pattern matching so slow that timeouts happened on
29804 heavily loaded systems. Now any output from "show print" which
29805 gets us back to the GDB prompt is a PASS.
29806
29807 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
29808
29809 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
29810
29811 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29812
29813 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
29814
29815 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
29816 It is not from PR 3220.
29817
29818 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29819
29820 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
29821 just started failing because they depended on the order the
29822 subcommands are presented, or exact docstring text. This kind of
29823 test is a pain and has minimal benefit.
29824
29825 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29826
29827 * gdb.t09/corefile.exp: At end of test, use "core" command with
29828 no arguments.
29829
29830 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
29831
29832 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
29833 17}/Makefile.in: Make it possible to run the testsuite with Sun
29834 make and CC = cross gcc by adding explicit build rules for .o
29835 files.
29836
29837 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29838
29839 * gdb.t15/funcargs.exp: Don't put comments on same line as
29840 setup_xfail (@#$*%& tcl braindamage!).
29841
29842 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29843
29844 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
29845
29846 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
29847
29848 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
29849 * gdb.t20/inherit.exp: remove three dumplicate entries.
29850
29851 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29852
29853 * gdb.t06/break.exp: For "next over recursive call", fail on any
29854 incorrect output, not just on "factorial (value=2)".
29855
29856 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29857
29858 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
29859 working now. Add an xfail if accesing a bss variable causes
29860 a memory error if the target is not yet run.
29861
29862 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29863
29864 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
29865 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
29866 name of __st* demangling (2 strings). Did Kung really get the
29867 more than 95 others right without testing them?
29868
29869 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
29870
29871 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
29872
29873 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
29874
29875 * configure.in (configdirs): Add gdb.disasm
29876 * gdb.disasm: New directory for GDB disassembler tests.
29877 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
29878
29879 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29880
29881 * gdb.t00/help.exp: Don't test "help set".
29882
29883 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
29884 from within expect statements. None of these happen anymore and
29885 they cause regressions to be silently unnoticed.
29886
29887 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
29888 messages) about known failures with gcc cygnus-2.4.5-930417.
29889
29890 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
29891 comp-info.exp so it gets built if it doesn't exist.
29892
29893 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
29894 it is no longer used.
29895 * gdb.t13/comp-info.c: Removed.
29896
29897 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
29898
29899 * gdb.t06/signals.exp: Add xfail for sun3.
29900
29901 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29902
29903 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
29904 relevant because ^C doesn't get sent but failure can be reproduced
29905 interactively).
29906
29907 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29908
29909 * gdb.stabs/alpha.mt: New configuration file for alpha.
29910 * gdb.stabs/configure.in: Use it.
29911 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
29912 sharing with alpha.mt, redefine long to word via preprocessor.
29913 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
29914 for alpha.
29915 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
29916 native cc.
29917 * gdb.t00/teststrategy.exp: Change expect string so that we
29918 consume the `(xgdb)' from the command echo and from the gdb prompt.
29919 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
29920 gdb currently compares all values as long, so this failure probably
29921 applies to any configuration where LONGEST is bigger than a target int.
29922 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
29923 with gcc.
29924 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
29925 to handle opaque pointers, gcc is.
29926 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
29927 as first argument. Include <sys/types.h> and change all operator
29928 new definitions to use size_t.
29929 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
29930 now that we use size_t.
29931
29932 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29933
29934 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
29935 a long or float array cast all array members to the same type.
29936 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
29937 with 64 bit longs.
29938 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
29939 on alpha.
29940 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
29941
29942 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29943
29944 * gdb.t24 (demangle.exp): Constructors of templates have names like
29945 vector<int>::vector(int) not vector<int>::vector<int>(int). See
29946 section 14.6 of the ARM.
29947
29948 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
29949 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
29950 accomplish little and slow down the testsuite.
29951
29952 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
29953 Accept spaces various places.
29954
29955 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
29956
29957 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
29958 with watchpoint enabled.
29959
29960 * Makefile.in: Remove definition of CC and remove the second
29961 definition of CXX (the "CXX = gcc" one remains). These definitions
29962 were causing backquotes to be expanded within backquotes, which
29963 doesn't work.
29964
29965 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
29966
29967 * gdb.t17/callfuncs.exp: Add "return 0" to end.
29968
29969 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
29970
29971 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
29972 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
29973 by mips cc and contains no stabs entries.
29974
29975 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
29976
29977 * config/vx-gdb.exp: Use fake device to load files rather than
29978 NFS.
29979 * lib/gdb.exp: New proc to do "file" command.
29980 * config/unix-gdb.exp: Use new "file" proc.
29981
29982 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
29983
29984 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
29985 Rework board rebooting slightly.
29986 (gdb_exit): Don't exit from the remote shell; there isn't one.
29987 * gdb.stabs/weird.exp: If a program is being debugged already,
29988 kill it.
29989 * gdb.t04/setvar.exp: Stop and restart gdb.
29990 * gdb.t05/expr.exp: Likewise.
29991 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
29992 restart gdb and reload the program.
29993 * gdb.t08/opaque.exp: Likewise.
29994 * gdb.t12/scope.exp: Likewise.
29995 * gdb.t13/bitfields.exp: Likewise.
29996 * gdb.t15/funcargs.exp: Likewise.
29997 * gdb.t20/classes.exp: Likewise.
29998 * gdb.t03/ptype.exp: Increase timeout.
29999 * gdb.t16/printcmds.exp (test_print_string_constants,
30000 test_print_array_constants): Likewise.
30001 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
30002 * gdb.t20/classes.exp (do_tests): Likewise.
30003 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
30004
30005 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
30006
30007 * gdb.stabs: Renamed *wierd* to *weird*.
30008
30009 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30010
30011 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
30012 for timeout. Add "known gcc 2.4.5 bug" to failure message.
30013
30014 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
30015
30016 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
30017 (do_tests): Remove xfail for whatis on one_var and two_var.
30018
30019 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
30020
30021 * Makefile.in: Made cross building work better by adding
30022 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
30023
30024 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30025
30026 * gdb.t15/{return.c,return.exp,Makefile.in}:
30027 New test, currently commented out.
30028
30029 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
30030
30031 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
30032 still running and removes the leftover named socket so GDb can do
30033 clean restarts.
30034
30035 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
30036
30037 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
30038 console, not GDB.
30039 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
30040 cross testing works better with "make check"
30041 * config/unix-gdb: Use default procedures for exit and version.
30042 * config/vx-gdb.exp: Cleaned up and massaged back to working order
30043 with the newest VxWorks.
30044
30045 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30046
30047 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
30048 old form.
30049
30050 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
30051 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
30052
30053 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
30054
30055 * config/unix-gdb.exp: Remove this version of gdb_exit
30056 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
30057 Rob says he'll look at it when he gets back to testing boards.
30058
30059 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
30060
30061 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
30062 an expected fail for certain ptype commands.
30063
30064 * gdb.t20/classes.exp: Update expected results of "ptype class
30065 Base1" to account for the constructor that now appears in the type.
30066
30067 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
30068
30069 * configure.in (configdirs): Restore gdb.t04, which mysteriously
30070 disappeared from list.
30071 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
30072 "alldone" proc with call to cleanup and exit.
30073 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
30074 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
30075 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
30076 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
30077 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
30078 "alldone" proc with simple returns that suppress remaining
30079 tests. The alldone proc went away many months ago.
30080
30081 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30082
30083 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
30084
30085 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
30086
30087 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30088
30089 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
30090 as vax gdb will display them.
30091
30092 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30093
30094 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
30095 optimizers.
30096
30097 * scope.exp: Change "bad value for localval" messages so each one
30098 is unique.
30099
30100 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
30101 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
30102
30103 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
30104
30105 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30106
30107 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
30108 doesn't exist (due to optimization).
30109
30110 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30111
30112 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
30113 contains \r because the filename is long.
30114
30115 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
30116 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
30117
30118 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30119
30120 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
30121 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
30122 Ultrix.
30123 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
30124 int tests.
30125 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
30126
30127 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
30128
30129 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
30130
30131 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
30132 to match does not match the passing case but still matches the
30133 failing case.
30134
30135 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30136
30137 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
30138
30139 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
30140
30141 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
30142 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
30143 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
30144 Remove various versions of gdb_exit.
30145 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
30146 gdb_exit.
30147 * config/unix-gdb.exp: gdb_exit remains here, and should override
30148 the generic version, since it's doing a lot of wierd stuff that
30149 the other versions aren't. FIXME, fold it in, or abandon this
30150 version.
30151
30152 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30153
30154 * gdb.t24/demangle.exp: Add tests for PR 3220.
30155
30156 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30157
30158 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
30159
30160 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
30161
30162 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
30163 "i386-*-*". Works for i486 as well.
30164
30165 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
30166 bug, and expand domain of xfail to all SVR4 systems, since the
30167 actual problem is likely to be in generic SVR4 /proc support.
30168
30169 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30170
30171 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
30172
30173 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
30174
30175 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
30176 xfails for other systems. Match a missing 'Continuing.' as an
30177 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
30178
30179 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
30180 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
30181 Only issue warning for missing executables if -all option is used.
30182
30183 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
30184 file if -all option is used. It's like an unpredictable XFAIL.
30185
30186 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30187
30188 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
30189 for dynamically linked binaries.
30190
30191 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
30192
30193 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30194
30195 * gdb.t20/inherit.exp: Change message for "print tagless struct"
30196 to state that this is a known bug in old versions of g++.
30197
30198 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30199
30200 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
30201 while waiting for `Continuing'.
30202
30203 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
30204
30205 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
30206 in text, data, and bss.
30207 * gdb.t10/nodebug.c: Add local and global test variables for
30208 initialized and uninitialized data.
30209
30210 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30211
30212 * config/unix-gdb.exp (gdb_exit): Add "wait".
30213
30214 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30215
30216 * gdb.t06/signals.exp: xfail the continue from the handler for all
30217 targets.
30218
30219 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
30220 function with watchpoints enabled, the i386 call dummy starts with
30221 a call.
30222
30223 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
30224 386 bsd names its corefiles.
30225
30226 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
30227
30228 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
30229 compilers don't grok it.
30230 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
30231 with small octal ints rather than character constants, which
30232 are signed and might not fit if first promoted to int.
30233
30234 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
30235
30236 * gdb.t09/Makefile.in (clean): Remove corefile.
30237
30238 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30239
30240 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
30241
30242 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30243 and Jim Kingdon (kingdon@cygnus.com)
30244
30245 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
30246 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
30247 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
30248
30249 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30250
30251 * gdb.t17/interrupt.exp: Add xfail for hppa.
30252
30253 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30254
30255 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
30256 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
30257 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
30258 to determine signed-ness of bitfields and use the result to setup
30259 the xfail.
30260 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
30261 * gdb.t15/funcargs.exp: Use them to step until the second indirect
30262 call line is reached if necessary.
30263
30264 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30265
30266 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
30267
30268 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30269
30270 * gdb.t06/break.exp: Also test `clear' command.
30271
30272 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30273
30274 * gdb.t00/teststrategy.exp: Remove extra quote.
30275
30276 * gdb.t07/watchpoint.exp: Change xfail for calling function with
30277 watchpoint enabled to be for all non-68k machines.
30278
30279 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
30280
30281 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30282
30283 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
30284 targets use aout.mt instead of ecoff.mt as gas understands
30285 standard aout format.
30286
30287 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
30288
30289 * lib/gdb.exp (runto): Don't insist that function we are running to
30290 was compiled with -g.
30291
30292 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
30293
30294 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
30295 to get back into the read system call.
30296 Accept leading newline in case where we woke it up.
30297
30298 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30299
30300 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
30301 to make the stabs test work on ecoff systems using gcc and -with-stabs.
30302 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
30303 enable ecoff configuration.
30304
30305 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30306
30307 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
30308
30309 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30310
30311 * gdb.t16/printcmds.exp: Add another printf test.
30312
30313 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
30314
30315 * configure.in: If configured -with-stabs on any target, add
30316 stabsdirs to configdirs.
30317
30318 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30319
30320 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
30321 fun" so pattern does not match the command itself.
30322
30323 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30324
30325 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
30326
30327 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30328
30329 * gdb.t17/interrupt.exp: Test for more things.
30330
30331 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30332
30333 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
30334 compiler arranges the code and line numbers.
30335
30336 * gdb.t17/interrupt.exp: Don't send \n after ^C.
30337
30338 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30339
30340 * gdb.t00/help.exp: Increase expect input buffer size.
30341
30342 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30343
30344 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
30345
30346 * gdb.t07/watchpoint.exp: Add xfail for hppa.
30347
30348 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
30349
30350 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
30351 [0-9]*, not just [0-9].
30352
30353 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30354
30355 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
30356
30357 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
30358
30359 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30360
30361 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
30362
30363 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30364
30365 * gdb.t06/signals.c: Add xfails for sun3.
30366
30367 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
30368
30369 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
30370 test_stepping tests.
30371
30372 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30373
30374 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
30375
30376 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
30377
30378 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
30379 rather than actually putting it through cpp twice.
30380
30381 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
30382
30383 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
30384
30385 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
30386 no longer needed.
30387
30388 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30389
30390 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
30391
30392 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
30393 C++ features prints as "struct", make it a pass, not an xfail.
30394
30395 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30396
30397 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
30398 Don't require VA to print as "class" rather than "struct".
30399
30400 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
30401
30402 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
30403
30404 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30405
30406 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
30407
30408 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30409
30410 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
30411 order.
30412
30413 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30414
30415 * gdb.t16/printcmds.exp: Add printf tests.
30416
30417 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
30418
30419 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
30420
30421 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
30422
30423 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
30424 pass counts, to counteract any existing or future setup_xfails.
30425
30426 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30427
30428 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
30429 {BEGIN,END}_COMMON for common block instead of STAB.
30430 * gdb.stabs/wierd.exp: Add xfail for rs6000.
30431
30432 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
30433 intp_var should be N_GSYM not N_LSYM.
30434 wierd-aout.S: Use a label for the value of the N_SO.
30435 wierd.def: Remove all backslashes.
30436 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
30437
30438 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30439
30440 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
30441 get the expected next to inheritance3.
30442
30443 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30444
30445 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
30446 now that gcc-2.4 gets it right.
30447
30448 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30449
30450 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
30451
30452 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
30453 generating comp-info.exp which works for cross-compilation.
30454
30455 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
30456
30457 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
30458 "*-*-sysv4.*".
30459
30460 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
30461
30462 * gdb.t01/run.exp: Start with a fresh gdb.
30463 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
30464 SVR4.x.
30465
30466 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
30467
30468 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
30469 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
30470 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
30471 Makefile.in (distclean, realclean): Remove gdbme.c from list of
30472 things to remove.
30473
30474 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
30475
30476 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
30477 test cases from bug reports.
30478
30479 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
30480
30481 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
30482 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
30483 avoid spurious xfails.
30484 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
30485 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
30486 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
30487
30488 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
30489
30490 * gdb.t00/teststrategy.exp: Rework to provide more useful
30491 description of each test, fix problem with systems that define
30492 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
30493 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
30494 results for "next over recursive call" so timeouts aren't taken
30495 by error.
30496
30497 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
30498
30499 * gdb.t12/scope.exp: Test printing of variables before run.
30500
30501 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
30502 printed in wrong order due to sorting.
30503
30504 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
30505
30506 * gdb.t00/teststrategy.exp: Fix expected results for printing
30507 user entered string constant. Is array of char, prints with no
30508 address.
30509
30510 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
30511 commands.
30512 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
30513 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
30514 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
30515 of struct of char arrays.
30516 * gdb.t00/radix.exp: New tests for radix commands.
30517
30518 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
30519
30520 * gdb.t16/printcmd.exp: Print a variable before running program
30521 (with xfail for AIX).
30522
30523 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
30524
30525 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
30526
30527 * gdb.t16/printcmd.exp: Don't print variables before running program.
30528
30529 * gdb.t06/break.exp: Don't require envp argument to main.
30530
30531 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
30532
30533 * gdb.t02/whatis.exp, gdb.t11/list.exp:
30534 Add xfails for rs6000.
30535
30536 * gdb.t02/whatis.exp: Change other tests not to re-test something
30537 we already tested.
30538
30539 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
30540 each type used has a variable of that type.
30541
30542 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
30543
30544 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
30545
30546 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
30547
30548 * configure.in: change srctrigger to be a file, not a directory
30549
30550 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
30551
30552 * configure.in (mips-idt-ecoff*): Added trailing '*'.
30553
30554 * gdb.t11/list.exp: Fixed a couple of typos.
30555
30556 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
30557
30558 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
30559 is fixed and PR is closed.
30560 * gdb.t16 (gdbme.c): Add simple test string variable.
30561 * gdb.t16 (printcmds.exp): Add tests with simple test string
30562 variable, primarily for boundaries on "set print elements".
30563
30564 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
30565
30566 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
30567 Make leading 0's optional and don't expect a tab in the middle
30568 of the number.
30569
30570 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
30571
30572 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
30573 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
30574 don't end command passed to gdb_test with newline.
30575
30576 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
30577 signed keyword away, don't expect signed bitfields to be signed.
30578
30579 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
30580 printing with only as many 1's as are in the field as well as printing
30581 with 32 1's (see comment).
30582
30583 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
30584
30585 * gdb.t00/default.exp: Start with a fresh gdb.
30586 * configure.in (configdirs): Remove gdb.t31 until the chill
30587 compiler works again. It no longer is able to find chillrt0
30588 since it isn't in libchill.a anymore.
30589 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
30590 wierd.o, make more modular.
30591 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
30592 spurious newlines that caused problems.
30593
30594 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30595
30596 * Move test with enums and partial symbols from gdb.t03/ptype.exp
30597 to gdb.stabs/wierd.exp since GCC has worked around the bug.
30598 gdb.stabs/wierd.{exp,def}: Many new tests.
30599
30600 * gdb.t00/default.exp: update info line for new message.
30601
30602 * gdb.t02/{whatis.exp,gdbme.c}:
30603 Test that "char *" doesn't print as "caddr_t".
30604
30605 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30606
30607 * gdb.t00/help.exp: Use .* in place of some help messages which
30608 just changed.
30609 gdb.t00/default.exp: Update "info frame" test for new message.
30610 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
30611 Remove some xfails
30612
30613 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30614
30615 * gdb.t03/{gdbme.c,ptype.exp}:
30616 Add tests for typedef'd struct and union without tags.
30617 Also check "whatis" on a variable of a typedef'd enum without a tag.
30618
30619 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
30620 PRMS 1823; the bug still exists but isn't reproduced by this test
30621 anymore), and remove rs6000 XFAIL (the bug is fixed).
30622
30623 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
30624 duplicated from whatis.exp. For those that are left, accept
30625 "long", "long int", or "int" for long variables (whatis.exp already
30626 has an XFAIL for "int", so no need to fail it here).
30627
30628 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
30629 Deal with GCC's names for types now that GDB uses the compiler's names.
30630
30631 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
30632 setup_xfail's for sunos4. If we #defined the signed keyword away,
30633 don't expect GDB to know that char it is signed.
30634
30635 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
30636
30637 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
30638
30639 * configure.in (configdirs): Add gdb.t24 for C++ tests that
30640 should work on any system, regardless of debugging format.
30641 * gdb.t21/demangle.exp: Move to gdb.t24.
30642 * gdb.t24/demangle.exp: Move from gdb.t21.
30643 * gdb.t24/{Makefile.in, configure.in}: New files.
30644
30645 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30646
30647 * configure.in: Do gdb.stabs and C++ tests only for stabs.
30648 * gdb.stabs: New directory.
30649
30650 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
30651
30652 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
30653 not just "Quit anyway?".
30654
30655 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
30656
30657 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
30658 that all setup_xfails are immediately followed by clear_xfails.
30659
30660 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
30661
30662 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
30663 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
30664 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
30665 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
30666 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
30667 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30668 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30669 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
30670 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
30671 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
30672 gdb.t31/chillvars.exp, lib/gdb.exp:
30673 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
30674 bug-gdb@prep.ai.mit.edu.
30675
30676 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
30677
30678 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
30679 with 0.0, not integer 0.
30680
30681 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
30682
30683 * gdb.t06/break.exp: Update for "Kill the program" message change.
30684
30685 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
30686
30687 * Makefile.in (GDBFLAGS): Set to -nx.
30688 * Makefile.in (site.exp): Use GDBFLAGS.
30689
30690 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30691
30692 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
30693 Makefiles.
30694 (check): depend on just-check.
30695 (just-check): added so that tests can be run without a noop
30696 build pass.
30697
30698 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
30699
30700 Switch to using configure's configdirs.
30701 * Makefile.in (Makefile): add configure.in dependency.
30702 (SUBDIRS): removed redundant assignment.
30703 * configure.in: switch subdirs assignment to configdirs.
30704 * gdb.t*/configure.in: new files.
30705
30706 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
30707
30708 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
30709 works.
30710
30711 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
30712
30713 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
30714 in explicit rules. Apparently this is not supported by some makes.
30715
30716 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
30717
30718 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
30719
30720 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30721
30722 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
30723 disappeared.
30724
30725 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
30726
30727 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
30728
30729 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
30730
30731 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
30732 watchpoint problem that is now fixed.
30733 * gdb.t30/chexp.exp: Remove setup_xfail for printing
30734 uninitialized convenience variables.
30735 * gdb.t31/chillvars.exp: Fix expected patterns for printing
30736 structures.
30737
30738 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30739
30740 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
30741 which causes expect to get out of sync with gdb on long output
30742 from help set.
30743 * gdb.t09/corefile.exp: Make expected pattern for core file
30744 failing signal and frame output format less sun specific.
30745
30746 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
30747
30748 * gdb.t31/chillvars.exp: Add and remove initial dummy
30749 breakpoint, so that symbol table is forced in.
30750 (Needed at least on Sunos4, though it seems not SVR4.)
30751 * gdb.t31/chillvars.exp: Update for changed output format.
30752
30753 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
30754
30755 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
30756
30757 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
30758
30759 * Makefile.in: Added --srcdir when invoking runtest, removed the
30760 need for a local config file. (optional now)
30761
30762 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
30763
30764 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
30765 failure count used to force early termination. Add some more
30766 expected failures for gnu style demangling.
30767
30768 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30769
30770 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
30771 pmi variable from gdb.t20/gdbme to get optimized away.
30772 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
30773 Check for written corefile upon timeout _and_ eof.
30774
30775 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30776
30777 * config/unix-gdb.exp: Add missing return 0.
30778
30779 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
30780
30781 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
30782 test termination.
30783
30784 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
30785
30786 * configure.in (subdirs): Put back gdb.t17 which mysteriously
30787 disappeared.
30788
30789 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
30790
30791 * gdb.t10/crossload.exp: Disable the i860-elf test until such
30792 time as i860 support works.
30793
30794 * gdb.t15/funcargs.exp: Fix expected outputs to include
30795 "backtrace 100\r" rather than just "backtrace\r", to match last
30796 change.
30797
30798 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
30799
30800 * config/udi-gdb.exp (gdb_exit): Remove close command.
30801 (gdb_target_udi): New procedure to set the UDI target.
30802 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
30803 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
30804 Added waits for prompts after several question responses. Added
30805 some more responses used by a29k-amd-udi-gdb.
30806 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
30807 pass different arguments, restart UDI connection after program
30808 completion.
30809 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
30810 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
30811 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
30812 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
30813 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
30814 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
30815 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
30816 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
30817 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
30818 after program completion.
30819 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
30820 compiled with a SELECT_VECS setting.
30821 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
30822 infinite recursion.
30823
30824 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
30825 Added checks for COFF results, and made them expected failures for
30826 all targets. It would be better to make them expected failures
30827 for COFF targets only.
30828
30829 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
30830
30831 * Makefile.in: add null dvi target, don't bother to recurse
30832 through test directories for info and install-info; rename
30833 $(datadir) to be dejagnu instead of deja-gnu
30834
30835 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
30836
30837 * gdb.t31/gdbme.ch: Re-enable code that previously caused
30838 compiler to coredump.
30839 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
30840 code.
30841
30842 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
30843
30844 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
30845 coredump.
30846 * gdb.t31/chillvars.exp: Comment out tests that depend on that
30847 code.
30848
30849 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
30850
30851 * gdb.t03/ptype.exp: tests for return code from gdb_test.
30852 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
30853 which in a shell. Deletes xgdb when done.
30854 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
30855 Tests the return from the "set height" or "set width" commands.
30856 Added a few return codes where needed.
30857
30858 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
30859
30860 * Makefile.in (SUBDIRS): Add gdb.t17.
30861 * configure.in (subdirs): Add gdb.t17.
30862 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
30863 files to test gdb's calling of functions in the inferior with
30864 the correct arguments and gdb's ability to retrieve any
30865 result returned.
30866
30867 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
30868
30869 * config/unix-gdb.exp (gdb_exit): Remove close commands that
30870 may be called after gdb goes away. Previous versions of expect
30871 needed these to avoid file descriptor leaks, but they cause
30872 errors with the current revision of expect.
30873 * gdb.t00/gdbvars.exp: Use -re on expected output after
30874 setting sevenbit-strings.
30875 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
30876 to set sevenbit-strings consistent across tests.
30877 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
30878 set sevenbit-strings consistent across tests.
30879
30880 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
30881
30882 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
30883 expected output to match current "expect" expectations.
30884
30885 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
30886
30887 * gdb.t00/default.exp: Change expected output for default "source"
30888 command, to match new gdb behavior which requires a filename to
30889 source.
30890
30891 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
30892
30893 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
30894 expected fail for i486-*-* that misses the marker2 function.
30895 * gdb.t10/crossload.exp (bfddefault): Allow successful
30896 recognition of a format to pass even if no symbols are found.
30897 Explicitly catch failures where the format is not recognized
30898 or is ambiguous, and add the reason to the fail message.
30899 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
30900 the cause is and invalid target and add reason to failure message.
30901 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
30902 elf32-i386, elf32-sparc, and elf32-i860.
30903 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
30904 Set up expected failure for 'filename'::variable scope resolution,
30905 which is now apparently broken on all targets.
30906 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
30907 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
30908 gdb.t23/templates.exp: Change failure for missing binfile into
30909 just a warning.
30910 gdb.t21/demangle.exp: Change all cfront references to 'arm'
30911 references.
30912
30913 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
30914
30915 * gdb.t00/default.exp: Add expected output for default "source"
30916 command, to match new gdb behavior.
30917 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
30918
30919 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
30920
30921 * config/*-gdb.exp: returns an error, rather than exiting on
30922 internal errors.
30923
30924 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
30925
30926 * gdb.t03/gdbme.c: Add pointer to struct variable.
30927 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
30928 referencing struct members.
30929
30930 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
30931
30932 * configure.in (mips-idt-ecoff): New target.
30933 * config/mips-gdb.exp: New file for remote board using MIPS remote
30934 debugging protocol.
30935
30936 * Redid configuration scheme. Removed gdb.t*/configure.in.
30937 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
30938 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
30939 distclean targets. Built executables via .o files. Adjusted
30940 tests to account for source files in $(srcdir) rather than
30941 $(objdir).
30942 * lib/gdb.exp (runto): Don't expect () after the function name,
30943 because it may have arguments.
30944
30945 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
30946
30947 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
30948 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
30949 expected failures for mips-idt-* and mips-sgi-*.
30950 * gdb.t00/default.exp (attach): Kill process if requested.
30951 * gdb.t00/help.exp (help target core, help target): Accept a gdb
30952 that does not read core files.
30953 * gdb.t01/run.exp: Removed checks for exit status code.
30954 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
30955 it is linked in.
30956 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
30957 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
30958 appropriate, rather than doing it by hand.
30959 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
30960 execution.
30961 * gdb.t10/crossload.exp: Kill existing program if needed.
30962 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
30963 appropriate, rather than doing it by hand. Always increase
30964 timeout for this test, not just for VxWorks.
30965
30966 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
30967
30968 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
30969 of Chill STRUCT types and STRUCT values.
30970 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
30971 than "char".
30972 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
30973 struct2): New struct definitions and initializations to test
30974 simple Chill STRUCT types.
30975
30976 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
30977
30978 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
30979 the null byte at the end of strings.
30980 * gdb.t00/default.exp: Make show version insensitive to copyright
30981 date.
30982 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
30983 to avoid dependencies on target char signedness.
30984 * gdb.t16/printcmds.exp: Update expected results for explicitly
30985 unsigned char.
30986 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
30987 now work.
30988 * gdb.t21/demangle.exp: Add many more patterns for template
30989 demangling, most of them being expected failures.
30990 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
30991 string we are matching for, to match on the whole string.
30992 * gdb.t21/demangle.exp: Add many new test strings to demangle,
30993 and fix a whole bunch that had incorrect expected output but were
30994 passing anyway because of the bug in "proc demangle".
30995 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
30996 type.
30997 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
30998
30999 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
31000
31001 * gdb/testsuite: made modifications to testcases, etc., to allow
31002 them to work properly given the reorganization of deja-gnu and the
31003 relocation of the testcases from deja-gnu to a "tool" subdirectory.
31004
31005 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
31006
31007 * gdb/testsuite: Initial creation of gdb/testsuite.
31008 Migrated dejagnu testcases and support files for testing nm to
31009 gdb/testsuite from deja-gnu. These files were moved "as is"
31010 with no modifications. This migration is part of a major overhaul
31011 of dejagnu. The modifications to these testcases, etc., which
31012 will allow them to work with the new version of dejagnu will be
31013 made in a future update.
31014
31015 For additional changes see gdb.mi/ChangeLog-1999-2003.
31016 \f
31017 ;; Local Variables:
31018 ;; mode: change-log
31019 ;; left-margin: 8
31020 ;; fill-column: 74
31021 ;; version-control: never
31022 ;; End:
31023
31024 Copyright 1993-2013 Free Software Foundation, Inc.
31025 Copying and distribution of this file, with or without modification,
31026 are permitted provided the copyright notice and this notice are preserved.